Encoder that detects momentary interruption of communication
The encoder system effectively detects momentary communication interruptions by monitoring signal voltage within a termination circuit, addressing the challenge of low reproducibility and facilitating efficient maintenance by distinguishing between hardware-related issues and other causes.
Patent Information
- Application Number
- PCT/JP2023/013324
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-03
AI Technical Summary
Existing communication systems between encoders and motor drive devices in machine tools and robots face challenges in detecting momentary communication interruptions, which are difficult to isolate due to low reproducibility and various causes such as signal line disconnections and noise.
An encoder with a monitoring unit and warning output section that determines if signal voltage within a termination circuit is within a predetermined range for a predetermined time, using a standard or split termination circuit to suppress signal reflection, and outputs a warning signal for detected interruptions.
Enables efficient detection and recording of momentary communication interruptions, facilitating maintenance by distinguishing between hardware-related issues and other causes of communication abnormalities.
Smart Images

Figure JP2023013324_03102024_PF_FP_ABST
Abstract
Description
Encoder that detects momentary interruptions in communication
[0001] The present disclosure relates to an encoder that detects short interruptions in communication.
[0002] Encoders are used to detect the rotational position information of rotating bodies such as the rotating shaft of a motor installed in a machine tool or a robot, or the moving part of a robot. There are various causes of communication errors between an encoder and a motor drive device. Several methods have been proposed to detect breaks in signal lines, which are one cause of communication errors.
[0003] JP 2012-103027 A
[0004] Momentary communication abnormalities between an encoder and a motor drive device include, for example, momentary interruptions in communication (momentary disconnection of communication), momentary interruptions in power supply (momentary disconnection of power supply), and noise. Momentary communication abnormalities have low reproducibility, making it difficult to isolate the cause of the momentary communication abnormality. Accurately identifying the cause of the momentary communication abnormality between an encoder and a motor drive device is extremely important for efficient maintenance work. There is a demand for technology that can easily detect momentary interruptions in communication that occur between an encoder and a motor drive device.
[0005] According to one aspect of the present disclosure, the encoder includes a monitoring unit that performs a monitoring process to determine whether a signal voltage passing through a termination circuit for suppressing signal reflection at the end of a signal line for communicating with a motor drive device is within a predetermined range for a predetermined time, and a warning output unit that outputs a warning signal indicating that communication with the motor drive device has been interrupted if the signal voltage is determined to be within the predetermined range for a predetermined time as a result of monitoring by the monitoring unit.
[0006] FIG. 1 is a diagram illustrating an encoder according to a first embodiment of the present disclosure; FIG. 2 is a timing chart illustrating a signal voltage appearing between a transceiver IC and a calculation unit of the encoder according to the first embodiment of the present disclosure; FIG. 3 is a diagram illustrating a signal voltage waveform when a momentary interruption occurs in a first signal line through which a non-inverting receiver input signal flows while a request signal is being sent from a motor drive device to an encoder by half-duplex communication in the encoder according to the first embodiment of the present disclosure; FIG. 4 is a diagram illustrating a signal voltage waveform of a request signal when a momentary interruption occurs in a second signal line through which an inverting receiver input signal flows while a request signal is being sent from a motor drive device to an encoder by half-duplex communication in the encoder according to the first embodiment of the present disclosure; FIG. 5 is a diagram illustrating a signal voltage waveform of a request signal when a momentary interruption occurs in a first signal line through which a non-inverting receiver input signal flows while a request signal is being sent from a motor drive device to an encoder by simplex communication or full-duplex communication in the encoder according to the first embodiment of the present disclosure; FIG. 6 is a diagram illustrating a signal voltage waveform of a request signal when a momentary interruption occurs in a second signal line through which an inverting receiver input signal flows while a request signal is being sent from a motor drive device to an encoder by simplex communication or full-duplex communication in the encoder according to the first embodiment of the present disclosure. 1 is a flowchart showing the operation flow of a monitoring unit, a warning output unit, and a recording unit in an encoder according to a first embodiment of the present disclosure. FIG. 2 is a diagram showing an encoder according to a second embodiment of the present disclosure. FIG. 3 is a flowchart showing the operation flow of a monitoring unit, a warning output unit, a recording unit, and a trigger generation unit in an encoder according to a second embodiment of the present disclosure. FIG. 4 is a diagram showing an encoder according to a third embodiment of the present disclosure. FIG. 5 is a timing chart illustrating the signal voltage of a non-inverting receiver input signal of an encoder according to the third embodiment of the present disclosure. FIG. 6 is a diagram showing the waveform of a signal voltage when an instantaneous interruption occurs in a first signal line through which a non-inverting receiver input signal flows, during a communication interruption determination period, in an encoder for half-duplex communication according to the third embodiment of the present disclosure. FIG. 7 is a diagram showing the waveform of a signal voltage when an instantaneous interruption occurs in a second signal line through which an inverting receiver input signal flows, during a communication interruption determination period, in an encoder for half-duplex communication according to the third embodiment of the present disclosure.10A and 10B are diagrams illustrating waveforms of the signal voltage of a request signal when a momentary interruption occurs in a first signal line through which a non-inverted receiver input signal flows, during a communication interruption determination period, in an encoder for simplex or full-duplex communication according to a third embodiment of the present disclosure. 10B are diagrams illustrating waveforms of the signal voltage of a request signal when a momentary interruption occurs in a second signal line through which an inverted receiver input signal flows, during a communication interruption determination period, in an encoder for simplex or full-duplex communication according to the third embodiment of the present disclosure. 10C are flowcharts illustrating the operation flow of a monitoring unit, a warning output unit, a recording unit, and a trigger generation unit in an encoder according to the third embodiment of the present disclosure.
[0007] An encoder for detecting momentary interruptions in communication according to an embodiment will be described below with reference to the drawings. In the following description, components having the same or similar functions are designated by the same reference numerals. Duplicate descriptions of these components may be omitted. The scale of the drawings has been adjusted appropriately to facilitate understanding. In the following description, "momentary interruptions in communication" refers to a momentary disconnection of communication. A momentary interruption in communication between an encoder and a motor drive device occurs due to temporary, low-reproducibility factors such as poor contact in a connector connected to a signal line between the encoder and the motor drive device. In the following description, a momentary interruption due to a bend in the signal line between the encoder and the motor drive device and a momentary interruption due to poor contact in a connector connected to this signal line will be collectively referred to as a "momentary interruption in the signal line."
[0008] An encoder according to an embodiment of the present disclosure is attached to a rotating body such as the rotating shaft of a motor provided in a machine tool, a robot, or the like, or a moving part of a robot, and generates rotation information such as the rotational position (rotation angle), rotational speed, etc. The encoder according to an embodiment of the present disclosure may be optical or magnetic.
[0009] First Embodiment FIG. 1 is a diagram showing an encoder according to a first embodiment of the present disclosure.
[0010] First, the configuration of the encoder 1 will be described.
[0011] The encoder 1 according to the first embodiment includes a monitoring unit 11 , a warning output unit 12 , a transceiver IC indicated by reference numeral 13 , a recording unit 14 , a termination circuit 15 , a calculation unit 17 , and a connector 18 .
[0012] Serial communication is performed between the encoder 1 and the motor driver 2 via a first signal line 3-1 and a second signal line 3-2. Serial communication standards include, for example, RS-485, RS-232C, and RS-422A. A request signal is sent from the motor driver 2 to the encoder 1. The voltage of a non-inverted receiver input signal sent from the motor driver 2 to the encoder 1 appears on the first signal line 3-1. The voltage of an inverted receiver input signal, which is opposite in phase to the non-inverted receiver input signal, appears on the second signal line 3-2. Note that the first signal line 3-1 and the second signal line 3-2 may be used for one-way data transmission, such as simplex or full-duplex communication, or for bidirectional data transmission, such as half-duplex communication. The transceiver IC 13 may also have only a receiving function, like a receiver IC.
[0013] A first signal line 3-1 and a second signal line 3-2 are connected to the connector 18 of the encoder 1.
[0014] The termination circuit 15 suppresses signal reflections at the terminations of the first signal line 3-1 and the second signal line 3-2, which are connected via the connector 18. In the first embodiment, the termination circuit 15 has a termination resistor 21 connected between the signal line extending from the first signal line 3-1 and the signal line extending from the second signal line 3-2. A termination circuit 15 having such a configuration is also referred to as a standard termination circuit. In order to suppress signal reflections at the terminations of the first signal line 3-1 and the second signal line 3-2, the impedance of the termination circuit 15 is set to be approximately the same as the impedance of the cable including the signal lines.
[0015] The transceiver IC 13 is connected to a first signal line 3-1, a second signal line 3-2, a termination circuit 15, a monitoring unit 11, and a calculation unit 17.
[0016] The monitoring unit 11 executes a monitoring process to determine whether the signal voltage passing through the termination circuit 15 is within a predetermined range for a predetermined time. The monitoring result by the monitoring unit 11 is sent to the warning output unit 12. The monitoring process by the monitoring unit 11 will be described in detail later.
[0017] If the monitoring unit 11 determines that the signal voltage is within a predetermined range for a predetermined period of time, the warning output unit 12 outputs a warning signal indicating that communication with the motor drive device has been interrupted.
[0018] The recording unit 14 records the output history of the warning signal from the warning output unit 12. The recording unit 14 is configured with an electrically erasable and recordable non-volatile memory such as an EEPROM (registered trademark), or a high-speed read / write random access memory such as a DRAM or SRAM. The output history recorded in the recording unit 14 may be displayed on a display device (not shown). Examples of the display device include a standalone display device, a display device attached to the motor drive device 2, a display device attached to a higher-level control device (e.g., a robot controller or a numerical control device) to which the motor drive device 2 is connected, and a display device attached to a personal computer or a mobile terminal.
[0019] The calculation unit 17 has a function of converting the rotation information of the rotating body detected by the encoder 1 into serial data, a function of comprehensively controlling each process within the encoder 1, and a function of executing other processes. Note that each process of the monitoring unit 11 and the warning output unit 12 may be executed by the calculation unit 17. Examples of the calculation unit 17 include a CPU, an MPU, a DSP, and an FPGA.
[0020] Next, the configuration of the motor drive device 2 will be described.
[0021] The motor drive device 2 to which the encoder 1 is connected is composed of an amplifier (not shown) that supplies drive power to a motor (not shown), etc. The motor drive device 2 includes, as components used for communicating with the encoder 1, a transceiver IC indicated by reference numeral 213, a termination circuit 215, a calculation unit 217, and a connector 218. Note that the transceiver IC 213 may be a driver IC that has only a transmission function.
[0022] A first signal line 3-1 and a second signal line 3-2 are connected to the connector 218 of the motor drive device 2.
[0023] The termination circuit 215 suppresses signal reflection at the terminations of the first signal line 3-1 and the second signal line 3-2 connected via the connector 18. In the first embodiment, the termination circuit 215 is a standard termination circuit having a termination resistor 221 connected between the signal line extending from the first signal line 3-1 and the signal line extending from the second signal line 3-2. In order to suppress signal reflection at the terminations of the first signal line 3-1 and the second signal line 3-2, the impedance of the termination circuit 215 is set to be approximately the same as the impedance of the cable including the signal lines. Note that the termination circuit 215 does not have to be a standard termination circuit as long as the impedance is approximately the same as the impedance of the cable including the signal lines.
[0024] The transceiver IC 213 is connected to a termination circuit 215 and a calculation unit 217. When transmitting a request signal to the encoder 1, the transceiver IC 213 transmits the request signal as a non-inverting driver output signal via a signal line 3-1 and an inverting driver output signal via a signal line 3-2. The non-inverting driver output signal and the inverting driver output signal are the non-inverting receiver input signal and the inverting receiver input signal as seen from the encoder 1 side.
[0025] 1 also shows a calculation unit 217 as a representative component that uses the serial data received from the encoder 1. Examples of the calculation unit 217 include a CPU, MPU, DSP, and FPGA. The serial data received from the encoder 1 is used for various purposes, such as controlling the rotation of the motor by an amplifier in the motor drive device 2, and displaying rotation information on a display device attached to the motor drive device 2 and / or its higher-level control device.
[0026] Next, the monitoring process of the monitoring unit 11 will be described in detail.
[0027] 2 is a timing chart illustrating signal voltages appearing between the transceiver IC and the calculation unit of the encoder according to the first embodiment of the present disclosure. In FIG. 2, the upper row shows normal signal voltages without interruptions or noise, the middle row shows signal voltages where noise occurs, and the lower row shows signal voltages where a communication interruption has occurred. Also in FIG. 2, the signal voltage of the receiver output signal, which is a request signal sent from the motor drive device 2 to the encoder 1, is shown by a bold solid line, and the signal voltage of the driver input signal sent from the encoder 1 to the motor drive device 2 is shown by a bold dotted line.
[0028] 2 assumes that half-duplex serial communication is performed between the encoder 1 and the motor drive device 2, and therefore the signal voltages appearing between the transceiver IC 13 and the calculation unit 17 are request signal, serial data, request signal, serial data, and so on, with a non-communication period between the request signal reception period and the serial data transmission period. Note that in the case of simplex communication or full-duplex communication, only the request signal appears on the first signal line 3-1 and the second signal line 3-2, with a non-communication period between the request signals.
[0029] As illustrated in the upper part of Figure 2, the signal voltage of the receiver output signal output from the transceiver IC 13 to which a normal signal without momentary interruptions or noise is input switches between high and low at a predetermined timing for both the request signal and the serial data.
[0030] 2, in a signal where noise has occurred, the timing at which the receiver output signal of the request signal switches between high and low potentials during the noise occurrence period differs from that of a normal receiver output signal. Because noise changes depending on the situation at the time, the waveform of a request signal where noise has occurred is not reproducible.
[0031] 2, in the signal voltage where a momentary interruption in communication occurs, the inverted receiver input signal is lower in voltage than the non-inverted receiver input signal by the voltage drop across termination resistor 21, so the receiver output signal remains high during the period when the momentary interruption occurs. In the first embodiment, it is determined that a momentary interruption in communication has occurred when the receiver output signal remains high during the period when the request signal is being sent.
[0032] As described above, the monitoring unit 11 performs a monitoring process to determine whether the signal voltage is within a predetermined range for a predetermined time, and the warning output unit 12 outputs a warning signal when it is determined that the signal voltage is within the predetermined range for the predetermined time. In the first embodiment in which the termination circuit 15 is a standard termination circuit, the monitoring unit 11 performs a monitoring process to determine whether the receiver output signal output by the transceiver IC 13 during the transmission of the request signal is greater than a predetermined threshold voltage for the predetermined time. The warning output unit 12 outputs a warning signal when it is determined, as a result of monitoring by the monitoring unit 11, that the receiver output signal is greater than the threshold voltage for the predetermined time.
[0033] In the first embodiment, the "threshold voltage" used in the monitoring process by the monitoring unit 11 is set, for example, to a value close to a high potential (for example, 4.0 V), which is a predetermined maximum potential. Also, the "predetermined time" used in the monitoring process by the monitoring unit 11 is set, for example, to be approximately the same as the expected transmission period of a request signal under normal circumstances. Note that the numerical values given here are merely examples, and other numerical values may be used.
[0034] As described above, in the first embodiment, the receiver output signal output by the transceiver IC 13 is monitored, and a warning signal is output based on the monitoring results. As a modification, the non-inverting receiver input signal and the inverting receiver input signal may be directly monitored, and a warning signal may be output based on the monitoring results. When a momentary interruption occurs in the first signal line 3-1 and / or the connector 18 or 218 connected thereto, the non-inverting receiver input signal input to the transceiver IC 13 will be in phase with the inverting receiver input signal during the momentary interruption. Similarly, when a momentary interruption occurs in the second signal line 3-2 and the connector 18 or 218 connected thereto, the inverting receiver input signal input to the transceiver IC 13 will be in phase with the non-inverting receiver input signal during the momentary interruption. In other words, the non-inverting receiver input signal and the inverting receiver input signal will be in phase during the momentary interruption. Therefore, in a modification of the first embodiment, the monitoring unit 11 performs monitoring processing by determining whether the non-inverting receiver input signal and the inverting receiver input signal, which are signal voltages, are in phase for a predetermined period of time during the reception of the request signal. When the monitoring unit 11 determines that the non-inverted receiver input signal and the inverted receiver input signal are in phase for a predetermined period of time, the warning output unit 12 outputs a warning signal.
[0035] In a modification of the first embodiment, the "predetermined range" used in the monitoring process by the monitoring unit 11 is set to, for example, a range (e.g., 3.0 V to 5.5 V) having a certain voltage width (e.g., 2.5 V) around a high potential (e.g., 5.0 V), which is a predetermined maximum potential, and a range (e.g., −0.5 V to 2.0 V) having a certain voltage width (e.g., 2.5 V) around a low potential (e.g., 0 V), which is a predetermined minimum potential. Furthermore, the "predetermined time" used in the monitoring process by the monitoring unit 11 is set to, for example, a time longer than the time it takes for the request signal and serial data to switch between high and low potentials once, which is expected under normal circumstances. Note that the numerical values given here are merely examples, and other numerical values may be used.
[0036] 3A is a diagram showing signal voltage waveforms when a momentary interruption occurs in a first signal line carrying a non-inverting receiver input signal while a request signal is being sent from the motor drive device to the encoder by half-duplex communication in the encoder according to the first embodiment of the present disclosure. In Fig. 3A, the solid line waveform represents the non-inverting receiver input signal, the dotted line waveform represents the inverting receiver input signal, and the dashed-dotted line waveform represents the receiver output signal.
[0037] There is a non-communication period between the request signal reception period and the serial data transmission period. As shown in Figure 3A, before a momentary interruption occurs, the non-inverting receiver input signal and the inverting receiver input signal are in an opposite phase relationship. When a momentary interruption occurs in the first signal line 3-1 through which the non-inverting receiver input signal flows, the non-inverting receiver input signal becomes in phase with the inverting receiver input signal, so both the non-inverting receiver input signal and the inverting receiver input signal go to low potential, and the inverting receiver input signal goes to a potential lower than the non-inverting receiver input signal by the voltage drop across the termination resistor. As a result, the receiver output signal goes to high potential.
[0038] 3B is a diagram showing signal voltage waveforms when a momentary interruption occurs in the second signal line through which the inverted receiver input signal flows while a request signal is being sent from the motor drive device to the encoder by half-duplex communication in the encoder according to the first embodiment of the present disclosure. In Fig. 3B, the solid line waveform represents the non-inverted receiver input signal, the dotted line waveform represents the inverted receiver input signal, and the dashed-dotted line waveform represents the receiver output signal.
[0039] There is a non-communication period between the request signal reception period and the serial data transmission period. As shown in Figure 3B, before a momentary interruption occurs, the non-inverting receiver input signal and the inverting receiver input signal are in opposite phase. When a momentary interruption occurs on the second signal line 3-2 through which the inverting receiver input signal flows, the inverting receiver input signal becomes in phase with the non-inverting receiver input signal, so both the non-inverting receiver input signal and the inverting receiver input signal go to high potential, and the inverting receiver input signal goes to a potential lower than the non-inverting receiver input signal by the voltage drop across the termination resistor. As a result, the receiver output signal goes to high potential.
[0040] 4A is a diagram showing waveforms of the signal voltage of a request signal when a momentary interruption occurs in a first signal line through which a non-inverting receiver input signal flows while the request signal is being transmitted from the motor drive device to the encoder by simplex or full-duplex communication in the encoder according to the first embodiment of the present disclosure. In Fig. 4A, the solid line waveform represents the non-inverting receiver input signal, the dotted line waveform represents the inverting receiver input signal, and the dashed-dotted line waveform represents the receiver output signal.
[0041] There is a period of no communication between request signals. As shown in Figure 4A, before a momentary interruption occurs, the non-inverting receiver input signal and the inverting receiver input signal are in opposite phase. When a momentary interruption occurs in the first signal line 3-1 through which the non-inverting receiver input signal flows, the non-inverting receiver input signal becomes in phase with the inverting receiver input signal, and the inverting receiver input signal becomes at a lower potential than the non-inverting receiver input signal by the voltage drop across the termination resistor. As a result, the receiver output signal becomes high potential.
[0042] 4B is a diagram showing waveforms of the signal voltage of a request signal when a momentary interruption occurs in the second signal line through which the inverted receiver input signal flows while the request signal is being sent from the motor drive device to the encoder by simplex or full-duplex communication in the encoder according to the first embodiment of the present disclosure. In FIG. 4B, the solid line waveform represents the non-inverted receiver input signal, the dotted line waveform represents the inverted receiver input signal, and the dashed-dotted line waveform represents the receiver output signal.
[0043] There is a period of no communication between request signals. As shown in Figure 4B, before a momentary interruption occurs, the non-inverting receiver input signal and the inverting receiver input signal are in opposite phase. When a momentary interruption occurs on the second signal line 3-2 through which the inverting receiver input signal flows, the inverting receiver input signal becomes in phase with the non-inverting receiver input signal, and the inverting receiver input signal becomes at a lower potential than the non-inverting receiver input signal by the voltage drop across the termination resistor. As a result, the receiver output signal becomes high potential.
[0044] FIG. 5 is a flowchart showing the operation flow of the monitoring unit, warning output unit, and recording unit in the encoder according to the first embodiment of the present disclosure.
[0045] In step S101, the monitoring unit 11 executes a monitoring process to determine whether or not the signal voltage passing through the termination circuit 15 is within a predetermined range for a predetermined time.
[0046] If it is determined in step S101 that the signal voltage is within a predetermined range for a predetermined time, in step S102, the warning output unit 12 outputs a warning signal indicating that communication between the encoder 1 and the motor drive device 2 has been interrupted momentarily.
[0047] In step S103, the recording unit 14 records the output history of the warning signal from the warning output unit 12. After that, the process returns to step S101.
[0048] According to the first embodiment and its modified examples, momentary interruptions in communication between the encoder 1 and the motor drive device 2 can be easily detected. Generally, when any abnormality occurs in communication between the encoder 1 and the motor drive device 2, an alarm is generated in the motor drive device 2 and / or its higher-level control device. Alarms are generated for various reasons, including a failure of the encoder 1, a failure of the motor drive device 2, a physical break in the signal line connecting the encoder 1 and the motor drive device 2, a momentary power interruption, a momentary interruption in communication between the encoder 1 and the motor drive device 2, and noise superimposed on the signal line connecting the encoder 1 and the motor drive device 2. Of these, momentary interruptions in communication between the encoder 1 and the motor drive device 2 are caused by momentary physical abnormalities (such as bending or poor contact) in hardware such as the signal line between the encoder and the motor drive device and the connector 18 or 218 connected thereto, and the signal line quickly returns to a normal state. In other words, because momentary interruptions in communication between the encoder 1 and the motor drive device 2 are difficult to reproducibly, it has traditionally been difficult to determine that the cause of an alarm related to communication between the encoder 1 and the motor drive device 2 is a momentary interruption in communication. In contrast, according to the first embodiment and its modified examples, the output history of the warning signal is recorded in the recording unit 14. For example, if the recording unit 14 records that a warning signal was output continuously for a certain period of time when an alarm is generated, it can be determined that the cause of the alarm was a momentary interruption in communication. This allows the operator to efficiently perform work such as eliminating the cause of the momentary interruption.
[0049] 6 is a diagram illustrating an encoder according to a second embodiment of the present disclosure. The second embodiment is obtained by adding a trigger generation unit 16 that outputs a trigger signal to instruct the monitoring unit 11 to start monitoring to the encoder according to the first embodiment.
[0050] The encoder 1 according to the second embodiment includes a monitoring unit 11, a warning output unit 12, a transceiver IC indicated by reference numeral 13, a recording unit 14, a termination circuit 15, a trigger generation unit 16, a calculation unit 17, and a connector 18.
[0051] The trigger generation unit 16 outputs a trigger signal to the monitoring unit 11 to instruct the monitoring unit 11 to start monitoring at any timing during the period in which a request signal requesting transmission of serial data is being transmitted from the motor drive device 2. The trigger generation unit 16 can determine, via the transceiver IC 13 and the calculation unit 17, that the period in which the request signal is being transmitted is currently being determined.
[0052] The monitoring unit 11 starts the monitoring process when it receives a trigger signal from the trigger generation unit 16. Details of the monitoring process by the monitoring unit 11 are as described in the first embodiment and its modified examples with reference to FIGS.
[0053] The warning output unit 12, transceiver IC 13, recording unit 14, termination circuit 15, calculation unit 17, connector 18, first signal line 3-1, second signal line 3-2, and motor drive device 2 are as described in the first embodiment and its modified example with reference to Figures 1 to 4.
[0054] FIG. 7 is a flowchart showing the operation flow of the monitoring unit, warning output unit, recording unit, and trigger generation unit in the encoder according to the second embodiment of the present disclosure.
[0055] In step S201, the trigger generating unit 16 determines whether or not a request signal requesting transmission of serial data is being transmitted from the motor driving device 2.
[0056] If it is determined in step S201 that the request signal is being transmitted, in step S202 the trigger generation unit 16 outputs a trigger signal to instruct the monitoring unit 11 to start monitoring. Upon receiving the trigger signal, the monitoring unit 11 starts the monitoring process in step S203.
[0057] In step S203, the monitoring unit 11 performs a monitoring process to determine whether at least one of the signal voltages of the receiver output signal voltage, the non-inverted receiver input signal voltage, and the inverted receiver input signal voltage, or the potential difference between the non-inverted receiver input signal and the inverted receiver input signal, is within a predetermined range for a predetermined time.
[0058] If it is determined in step S203 that the signal voltage is within a predetermined range for a predetermined time, in step S204, the warning output unit 12 outputs a warning signal indicating that communication between the encoder 1 and the motor drive device 2 has been interrupted momentarily.
[0059] In step S205, the recording unit 14 records the output history of the warning signal from the warning output unit 12. After that, the process returns to step S201.
[0060] According to the second embodiment, it is possible to achieve the same effects as those of the first embodiment described above.
[0061] 8 is a diagram illustrating an encoder according to a third embodiment of the present disclosure. In the third embodiment, the configuration of the termination circuit 15 of the encoder 1 in the first embodiment is changed from the standard termination circuit to a termination circuit of a split termination type (split termination).
[0062] The encoder 1 according to the third embodiment includes a monitoring unit 11, a warning output unit 12, a transceiver IC indicated by reference numeral 13, a recording unit 14, a termination circuit 15, a trigger generation unit 16, a calculation unit 17, and a connector 18.
[0063] The split termination type termination circuit 15 suppresses signal reflection at the terminations of the first signal line 3-1 and the second signal line 3-2 connected via the connector 18. In the third embodiment, the termination circuit 15 includes a first termination resistor 22, a second termination resistor 23, and a capacitor 24. One end of the first termination resistor 22 is connected to a signal line extending from the first signal line 3-1 through which a non-inverting receiver input signal flows, and the other end is connected to the second termination resistor 23. The second termination resistor 23 has one end connected to the first termination resistor 22 and the other end connected to a signal line extending from the second signal line 3-2 through which an inverting receiver input signal flows. In other words, a series circuit of the first termination resistor 22 and the second termination resistor 23 is connected between the signal line extending from the first signal line 3-1 and the signal line extending from the second signal line 3-2. The capacitor 24 is connected between the ground point and the connection point between the first termination resistor 22 and the second termination resistor 23. In order to suppress signal reflection at the terminations of the first signal line 3-1 and the second signal line 3-2, the impedance of the termination circuit 15 is set to be approximately the same as the impedance of the cable including the signal lines.
[0064] The termination circuit 215 in the motor drive device 2 is also configured as a termination circuit of the split termination type. The termination circuit 215 suppresses signal reflection at the terminations of the first signal line 3-1 and the second signal line 3-2, which are connected via a connector 218. The termination circuit 215 has a first termination resistor 222, a second termination resistor 223, and a capacitor 224. One end of the first termination resistor 222 is connected to a signal line extending from the first signal line 3-1, through which a non-inverted receiver input signal flows, and the other end is connected to the second termination resistor 223. The second termination resistor 223 has one end connected to the first termination resistor 222 and the other end connected to a signal line extending from the second signal line 3-2, through which an inverted receiver input signal flows. That is, a series circuit of a first termination resistor 222 and a second termination resistor 223 is connected between the signal line extending from the first signal line 3-1 and the signal line extending from the second signal line 3-2. A capacitor 224 is connected between the connection point of the first termination resistor 222 and the second termination resistor 223 and the ground point. In order to suppress signal reflection at the terminations of the first signal line 3-1 and the second signal line 3-2, the impedance of the termination circuit 215 is set to be approximately the same as the impedance of the cable including the signal lines. Note that the termination circuit 215 does not need to be a split termination type termination circuit as long as the impedance is approximately the same as the impedance of the cable including the signal lines.
[0065] The warning output unit 12, transceiver IC 13, recording unit 14, calculation unit 17, connector 18, first signal line 3-1, second signal line 3-2, transceiver IC 213, calculation unit 217, and connector 218 are as described in the first embodiment with reference to FIG. 1.
[0066] Monitoring unit 11 executes a monitoring process to determine whether the signal voltage passing through termination circuit 15 or the potential difference between the non-inverted receiver input signal and the inverted receiver input signal is within a predetermined range for a predetermined time. The monitoring result by monitoring unit 11 is sent to warning output unit 12. However, in the third embodiment, termination circuit 15 is configured as a split termination type termination circuit, and therefore the monitoring process by monitoring unit 11 differs from that of the first embodiment in the following respects.
[0067] 9 is a timing chart illustrating the signal voltage of a non-inverting receiver input signal of an encoder according to a third embodiment of the present disclosure. In FIG. 9, the upper part shows a normal signal voltage without any interruption or noise, the middle part shows a signal voltage with noise, and the lower part shows the signal voltage of the non-inverting receiver input signal when a communication interruption occurs. Also in FIG. 9, the transmission period of a request signal sent from the motor drive device 2 to the encoder 1 is indicated by a thick solid line, and the transmission period of serial data sent from the encoder 1 to the motor drive device 2 is indicated by a thick dotted line.
[0068] 9 assumes the case where half-duplex serial communication is performed between the encoder 1 and the motor drive device 2, so the signal voltages appearing between the transceiver IC 13 and the calculation unit 17 are in the order of request signal, serial data, request signal, serial data, and so on, with a non-communication period between the request signal reception period and the serial data transmission period. Note that in the case of simplex communication or full-duplex communication, only the request signal appears on the first signal line 3-1 and the second signal line 3-2, with a non-communication period between the request signals.
[0069] As shown in the upper part of FIG. 9, the signal voltage of the non-inverted receiver input signal, which is a normal signal without interruptions or noise, switches between high and low at a predetermined timing for both the request signal and the serial data.
[0070] 9, in a signal where noise is present, the timing at which the non-inverting receiver input signal switches between high and low potentials during the noise occurrence period differs from that of a normal non-inverting receiver input signal. Because noise changes depending on the situation at the time, the waveform of a request signal affected by noise is not reproducible.
[0071] 9, the signal voltage at which a momentary interruption in communication occurs becomes a potential (e.g., 2.5 V) approximately halfway between a high potential (e.g., 5.0 V), which is a predetermined maximum potential, and a low potential (e.g., 0 V), which is a predetermined minimum potential, during the period when the momentary interruption occurs. When a momentary interruption occurs in the first signal line 3-1 and / or the second signal line during the transmission period of the request signal, the potential of at least one of the non-inverted receiver input signal and the inverted receiver input signal input to the transceiver IC 13 becomes a potential (e.g., 2.5 V) approximately halfway between a high potential (e.g., 5.0 V), which is a predetermined maximum potential, and a low potential (e.g., 0 V), which is a predetermined minimum potential. Note that the numerical values given here are merely examples, and other numerical values may also be used.
[0072] In the third embodiment, in which termination circuit 15 is a split termination type termination circuit, monitoring unit 11 monitors whether the signal voltage of at least one of the non-inverting receiver input signal and the inverting receiver input signal is within a predetermined range for a predetermined time during the transmission of the request signal. Warning output unit 12 outputs a warning signal when monitoring unit 11 determines that the signal voltage is within the predetermined range for the predetermined time. Note that the potential difference between the non-inverting receiver input signal and the inverting receiver input signal may be used as the signal used for monitoring.
[0073] In the third embodiment, the "predetermined range" used in the monitoring process by the monitoring unit 11 is set to a range (e.g., a range from 2V to 3V) having a predetermined width (e.g., 1V) that includes a potential (e.g., 2.5V) approximately midway between a high potential (e.g., 5.0V), which is a predetermined maximum potential, and a low potential (e.g., 0V), which is a predetermined minimum potential. Furthermore, when the potential difference between the non-inverted receiver input signal and the inverted receiver input signal is used in the monitoring process to remove noise superimposed on the signal line, the "predetermined range" is set to a range (e.g., −2.5V to 2.5V) having a certain voltage width (e.g., ±2.5V) around the low potential (e.g., 0V), which is a predetermined minimum potential. Furthermore, the "predetermined time" used in the monitoring process by the monitoring unit 11 is set to, for example, a time longer than the time it takes for the request signal and serial data to switch between high and low potentials, which is expected under normal circumstances. Note that the values given here are merely examples, and other values may be used. Furthermore, the monitoring unit 11 may be provided with a filter circuit and a calculation function for removing noise and the influence of the signal on the other signal line.
[0074] In the third embodiment, a momentary interruption can be detected when a momentary interruption occurs in at least one of the first signal line 3-1 and the second signal line 3-2 while the transceiver IC 213 on the motor drive device side is driving the transmission path. The communication protocol may also include a signal transmission period for determining whether a momentary interruption has occurred (for example, a period during which the potential of the receiver input signal is set to a predetermined value for a predetermined period of time). In this specification, the request signal transmission period and the period during which the transceiver IC 213 on the motor drive device 2 side is driving the transmission path are referred to simply as the "communication momentary interruption determination period."
[0075] The monitoring process by the monitoring unit 11 is initiated based on a trigger signal output from the trigger generation unit 16. The trigger generation unit 16 outputs a trigger signal to the monitoring unit 11 to start monitoring at any timing during the period in which a request signal requesting serial data transmission is being transmitted from the motor drive device 2. The trigger generation unit 16 can determine via the transceiver IC 13 and the calculation unit 17 that a momentary communication interruption determination period is in progress. Note that between the momentary communication interruption determination period and the period in which serial data is transmitted from the motor drive device 2 to the encoder 1, there is a no-communication period in which no communication takes place between the encoder 1 and the motor drive device 2. Since the monitoring process by the monitoring unit 11 cannot be performed during this no-communication period, the timing of outputting the trigger signal by the trigger generation unit 16 is adjusted in advance so that the monitoring process by the monitoring unit 11 can be completed before the no-communication period begins.
[0076] When the monitoring unit 11 receives a trigger signal from the trigger generating unit 16, it starts the monitoring process.
[0077] 10A is a diagram showing signal voltage waveforms when a momentary interruption occurs in a first signal line through which a non-inverted receiver input signal flows during a communication interruption determination period in a half-duplex encoder according to a third embodiment of the present disclosure. In FIG. 10A, the solid line waveform represents the non-inverted receiver input signal, the dotted line waveform represents the inverted receiver input signal, and the dashed-dotted line waveform represents the receiver output signal.
[0078] There is a non-communication period between the request signal reception period and the serial data transmission period. As shown in Figure 10A, before a momentary interruption occurs, the non-inverted receiver input signal and the inverted receiver input signal are in an opposite phase relationship. When a momentary interruption occurs in the first signal line 3-1 through which the non-inverted receiver input signal flows, the non-inverted receiver input signal becomes approximately halfway between a high potential, which is a predetermined maximum potential, and a low potential, which is a predetermined minimum potential.
[0079] 10B is a diagram showing waveforms of signal voltages when a momentary interruption occurs in a second signal line through which an inverted receiver input signal flows during a communication interruption determination period in a half-duplex encoder according to a third embodiment of the present disclosure, in which the solid waveform represents the non-inverted receiver input signal, the dotted waveform represents the inverted receiver input signal, and the dashed-dotted waveform represents the receiver output signal.
[0080] There is a non-communication period between the request signal reception period and the serial data transmission period. As shown in Figure 10B, before a momentary interruption occurs, the non-inverted receiver input signal and the inverted receiver input signal are in an opposite phase relationship. When a momentary interruption occurs in the second signal line 3-2 through which the inverted receiver input signal flows, the inverted receiver input signal becomes approximately halfway between a high potential, which is a predetermined maximum potential, and a low potential, which is a predetermined minimum potential.
[0081] 11A is a diagram showing waveforms of the signal voltage of a request signal when an instantaneous interruption occurs in a first signal line through which a non-inverting receiver input signal flows during a communication interruption determination period in an encoder for simplex or full-duplex communication according to a third embodiment of the present disclosure. In FIG. 11A, the solid line waveform represents the non-inverting receiver input signal, the dotted line waveform represents the inverting receiver input signal, and the dashed-dotted line waveform represents the receiver output signal.
[0082] There is a non-communication period between request signals. As shown in Figure 11A, before a momentary interruption occurs, the non-inverting receiver input signal and the inverting receiver input signal are in an opposite phase relationship. When a momentary interruption occurs in the first signal line 3-1 through which the non-inverting receiver input signal flows, the non-inverting receiver input signal becomes approximately halfway between a high potential, which is a predetermined maximum potential, and a low potential, which is a predetermined minimum potential.
[0083] 11B is a diagram showing waveforms of the signal voltage of a request signal when a momentary interruption occurs in a second signal line through which an inverted receiver input signal flows during a communication interruption determination period in a simplex or full-duplex encoder according to a third embodiment of the present disclosure. In FIG. 11B, the solid line waveform represents the non-inverted receiver input signal, the dotted line waveform represents the inverted receiver input signal, and the dashed-dotted line waveform represents the receiver output signal.
[0084] There is a non-communication period between request signals. As shown in Figure 11B, before a momentary interruption occurs, the non-inverted receiver input signal and the inverted receiver input signal are in an opposite phase relationship. When a momentary interruption occurs in the second signal line 3-2 through which the inverted receiver input signal flows, the inverted receiver input signal becomes approximately halfway between a high potential, which is a predetermined maximum potential, and a low potential, which is a predetermined minimum potential.
[0085] Fig. 10A is a diagram showing waveforms of signal voltages when a momentary interruption occurs in a second signal line through which an inverted receiver input signal flows while a request signal is being sent from a motor drive device to the encoder in an encoder according to a third embodiment of the present disclosure. Fig. 10B is an enlarged view of region R shown in Fig. 10A. In Figs. 10A and 10B, the solid line waveform represents the non-inverted receiver input signal, the dotted line waveform represents the inverted receiver input signal, and the dashed-dotted line waveform represents the receiver output signal.
[0086] 10A and 10B, before a momentary interruption occurs, the non-inverting receiver input signal and the inverting receiver input signal are in an opposite phase relationship. When a momentary interruption occurs in the second signal line 3-2 through which the inverting receiver input signal flows, the inverting receiver input signal becomes approximately halfway between a high potential, which is a predetermined maximum potential, and a low potential, which is a predetermined minimum potential.
[0087] FIG. 12 is a flowchart showing the operation flow of the monitoring unit, warning output unit, recording unit, and trigger generation unit in the encoder according to the third embodiment of the present disclosure.
[0088] In step S301, the trigger generating unit 16 determines whether or not the current period is a period for determining whether a momentary interruption of communication has occurred. The request signal transmission period may include a period during which the transceiver IC is disabled.
[0089] If it is determined in step S301 that the communication is currently in a momentary communication interruption determination period, in step S302 the trigger generation unit 16 outputs a trigger signal to instruct the monitoring unit 11 to start monitoring. Upon receiving the trigger signal, the monitoring unit 11 starts the monitoring process in step S303.
[0090] In step S303, the monitoring unit 11 executes a monitoring process to determine whether the signal voltage passing through the termination circuit 15 is within a predetermined range for a predetermined time.
[0091] If it is determined in step S303 that the signal voltage is within a predetermined range for a predetermined time, in step S304, the warning output unit 12 outputs a warning signal indicating that communication between the encoder 1 and the motor drive device 2 has been interrupted momentarily.
[0092] In step S305, the recording unit 14 records the output history of the warning signal from the warning output unit 12. After that, the process returns to step S301.
[0093] According to the third embodiment, it is possible to achieve the same effects as those of the first embodiment described above.
[0094] Although the present disclosure has been described in detail above, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the spirit of the present disclosure derived from the content of the claims and their equivalents. These embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these. The same applies when numerical values or mathematical expressions are used in the description of the above-described embodiments.
[0095] <Supplementary Notes> The following supplementary notes are further disclosed regarding the above-described embodiment and modifications.
[0096] (Supplementary Note 1) An encoder 1 comprising: a monitoring unit 11 that executes monitoring processing to determine whether a signal voltage passing through a termination circuit 15 for suppressing signal reflection at the terminations of signal lines 3-1 and 3-2 for communicating with a motor drive device 2 is within a predetermined range for a predetermined time, and a warning output unit 12 that outputs a warning signal indicating that communication with the motor drive device 2 has been interrupted when the monitoring by the monitoring unit 11 determines that the signal voltage is within the predetermined range for the predetermined time. (Supplementary Note 2) The encoder 1 according to Supplementary Note 1, wherein the termination circuit 15 has a termination resistor 21 connected between a first signal line 3-1 of the signal lines 3-1 and 3-2 through which a non-inverted receiver input signal flows and a second signal line 3-2 through which an inverted receiver input signal that is opposite in phase to the non-inverted receiver input signal flows. (Supplementary Note 3) The encoder 1 according to Supplementary Note 2 includes a transceiver IC 13 that receives a non-inverting receiver input signal and an inverting receiver input signal and outputs a receiver output signal as a signal voltage, wherein the monitoring unit 11 performs monitoring processing to determine whether the receiver output signal is greater than a predetermined threshold voltage for a predetermined period of time, and the warning output unit 12 outputs a warning signal when it is determined as a result of monitoring by the monitoring unit 11 that the receiver output signal is greater than the threshold voltage for the predetermined period of time. (Supplementary Note 4) The encoder 1 according to Supplementary Note 2 includes a monitoring unit 11 performs monitoring processing to determine whether at least one of the non-inverting receiver input signal and the inverting receiver input signal, which are signal voltages, is within a predetermined range for the predetermined period of time, and the warning output unit 12 outputs a warning signal when it is determined as a result of monitoring by the monitoring unit 11 that at least one of the non-inverting receiver input signal and the inverting receiver input signal is within the predetermined range for the predetermined period of time.(Supplementary Note 5) The encoder 1 according to Supplementary Note 1, wherein the termination circuit 15 has: a first termination resistor 22 having one end connected to a first signal line 3-1 of the signal lines 3-1 and 3-2 through which a non-inverting receiver input signal flows, a second termination resistor 23 connected between the other end of the first termination resistor 22 and a second signal line 3-2 of the signal lines 3-1 and 3-2 through which an inverting receiver input signal of opposite phase to the non-inverting receiver input signal flows, and a capacitor 24 connected between a connection point of the first termination resistor 22 and the second termination resistor 23 and a ground point. (Supplementary Note 6) The encoder 1 according to Supplementary Note 5, wherein the monitoring unit 11 performs a monitoring process to monitor whether at least one of the non-inverting receiver input signal and the inverting receiver input signal, which are signal voltages, is within a predetermined range for a predetermined time, and the warning output unit 12 outputs a warning signal when the monitoring unit 11 determines that the signal voltage is within the predetermined range for a predetermined time. (Supplementary Note 7) The encoder 1 according to Supplementary Note 6, wherein the predetermined range is a range that encompasses a potential that is approximately halfway between a predetermined maximum potential and a predetermined minimum potential of the signal voltage. (Supplementary Note 8) The encoder 1 according to Supplementary Note 7, further comprising a trigger generation unit 16 that outputs a trigger signal to the monitoring unit 11 to instruct the monitoring unit 11 to start monitoring at any timing including a period when a request signal requesting serial data transmission is being transmitted from the motor drive device 2 and a period when the transceiver IC 13 is disabled, and the monitoring unit 11 starts monitoring processing when it receives the trigger signal from the trigger generation unit 16. (Supplementary Note 9) The encoder 1 according to any one of Supplementary Notes 1 to 8, further comprising a recording unit 14 that records a history of warning signal output by the warning output unit 12.
[0097] REFERENCE SIGNS LIST 1 Encoder 2 Motor drive device 3-1 First signal line 3-2 Second signal line 11 Monitoring unit 12 Warning output unit 13 Transceiver IC 14 Recording unit 15 Termination circuit 16 Trigger generation unit 17 Calculation unit 18 Connector 21 Termination resistor 22 First termination resistor 23 Second termination resistor 24 Capacitor 213 Transceiver IC 215 Termination circuit 217 Calculation unit 218 Connector 221 Termination resistor 222 First termination resistor 223 Second termination resistor 224 Capacitor
Claims
1. An encoder comprising: a monitoring unit that executes a monitoring process to determine whether a signal voltage passing through a termination circuit for suppressing signal reflection at the end of a signal line for communicating with a motor drive device is within a specified range for a specified time; and a warning output unit that outputs a warning signal indicating that communication with the motor drive device has been interrupted when the signal voltage is determined to be within the specified range for the specified time as a result of monitoring by the monitoring unit.
2. The encoder of claim 1, wherein the termination circuit has a termination resistor connected between a first signal line among the signal lines through which a non-inverted receiver input signal flows and a second signal line through which an inverted receiver input signal having an opposite phase to the non-inverted receiver input signal flows.
3. The encoder of claim 2, further comprising a transceiver IC which receives the non-inverted receiver input signal and the inverted receiver input signal and outputs a receiver output signal as the signal voltage, wherein the monitoring unit executes the monitoring process to determine whether the receiver output signal is greater than a predetermined threshold voltage for the predetermined time, and the warning output unit outputs the warning signal when the monitoring unit determines that the receiver output signal is greater than the threshold voltage for the predetermined time.
4. The encoder of claim 2, wherein the monitoring unit executes the monitoring process to determine whether at least one of the non-inverted receiver input signal and the inverted receiver input signal, which are the signal voltages, is within the specified range for the specified time, and the warning output unit outputs the warning signal when the monitoring unit determines that at least one of the non-inverted receiver input signal and the inverted receiver input signal is within the specified range for the specified time.
5. The encoder of claim 1, wherein the termination circuit comprises: a first termination resistor having one end connected to a first signal line among the signal lines through which a non-inverted receiver input signal flows; a second termination resistor connected between the other end of the first termination resistor and a second signal line among the signal lines through which an inverted receiver input signal of opposite phase to the non-inverted receiver input signal flows; and a capacitor connected between a connection point between the first termination resistor and the second termination resistor and a ground point.
6. The encoder of claim 5, wherein the monitoring unit executes the monitoring process of monitoring whether at least one of the non-inverted receiver input signal and the inverted receiver input signal, which are the signal voltages, is within the specified range for the specified time, and the warning output unit outputs the warning signal when the monitoring unit determines that the signal voltage is within the specified range for the specified time.
7. The encoder according to claim 6, wherein the predetermined range is a range including a potential substantially midway between a predefined maximum potential and a predefined minimum potential of the signal voltage.
8. An encoder as described in claim 7, further comprising a trigger generating unit which outputs a trigger signal to instruct the monitoring unit to start monitoring at any timing including a period during which a request signal requesting transmission of serial data is being sent from the motor drive device and a period during which a transceiver IC is disabled, and the monitoring unit starts the monitoring process when it receives the trigger signal from the trigger generating unit.
9. The encoder according to any one of claims 1 to 8, further comprising a recording section for recording a history of the output of the warning signal by the warning output section.
Citation Information
Patent Citations
Disconnection sign detection system
JP2012103027A
Elevator control system
JP2017121989A
Cited By
Encoder and motor device
WO2026215959A1
