USPatent applicationPatented

Sensor system and communication method

Granted 6 Nov 2018 · 1 office action

Assignee: Mitsubishi Electric Corporation

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Kunihiko Ogawa · Examiner: Hai Phan · AU 2685 · TC 2600

Life of the application

10 dated events
⤢ drag to zoom20182020202220242026202820302032203420362038ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A sensor system includes a controller and sensors. The controller is to transmit a signal. The sensors are connected to the controller in series via at least one cable to sequentially transfer the signal transmitted from the controller via the at least one cable.

Description

21 parts
›CROSS-REFERENCE TO RELATED APPLICATIONS

The present disclosure contains subject matter related to that disclosed in International Priority Patent Application PCT/JP2014/074686 filed in the Japan Patent Office on Sep. 18, 2014, the entire contents of which are hereby incorporated by reference.

BACKGROUND
›Field of the Invention

The present invention relates to a sensor system and a communication method.

›Description of the Related Art

Japanese Patent No. 4,816,988 discloses a servo system including: a servo motor; and a control device which acquires position data from an encoder and controls the rotation of the servo motor based on the position data.

›SUMMARY

According to one aspect of the disclosure, a sensor system includes a controller and sensors. The controller is to transmit a signal. The sensors are connected to the controller in series via at least one cable to sequentially transfer the signal transmitted from the controller.

According to another aspect of the disclosure, a sensor system includes control means and sensor means. The control means is for transmitting a signal. The sensor means is for sequentially transferring the signal transmitted from the controller via at least one cable.

According to further aspect of the disclosure, a communication method for sensors includes transmitting a signal from a controller to the sensors. The signal is transferred serially via at least one cable among the sensors.

›BRIEF DESCRIPTION OF THE DRAWINGS

A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings, wherein:

FIG. 1 is an explanatory view for explaining an outline of the configuration of an encoder system according to an embodiment;

FIG. 2 is an explanatory view for explaining the configuration of a controller according to the embodiment;

FIG. 3 is an explanatory view for explaining the configuration of an encoder according to the embodiment;

FIG. 4A is an explanatory view for explaining an example of the data structure of a speed change command;

FIG. 4B is an explanatory view for explaining an example of the data structure of a response signal;

FIG. 5 is an explanatory view for explaining control procedures executed by a processing device of the controller;

FIG. 6 is an explanatory view for explaining control procedures executed by the processing device of the controller;

FIG. 7 is an explanatory view for explaining control procedures executed by a processing device of the encoder;

FIG. 8 is an explanatory view for explaining control procedures executed by the processing device of the encoder;

FIG. 9 is an explanatory view for explaining control procedures executed by the processing device of the encoder;

FIG. 10 is an explanatory view for explaining an example of operations of the controller and the encoder up to communication speed change;

FIG. 11 is an explanatory view for explaining an example of the configuration of the controller; and

FIG. 12 is an explanatory view for explaining an example of the configuration of the encoder.

›DESCRIPTION OF THE EMBODIMENTS · 1 of 15

The embodiment(s) will now be described with reference to the accompanying drawings, wherein like reference numerals designate corresponding or identical elements throughout the various drawings.

Hereinafter, an embodiment will be described with reference to the drawings. In the description and the drawings, components having substantially the same function are indicated by the same reference sign in principle, and a duplication of the explanation of these components will be omitted accordingly.

Here, a sensor system according to an embodiment described below is a system including a controller and sensors connected to the controller in series via cables such that the sensors sequentially transfer a signal transmitted from the controller. This sensor system is applicable to sensor systems of various types. However, in the description below, an encoder system in which the sensors include at least one encoder used for a motor is described as an example in order to facilitate the understanding of the at least one sensor system. If this sensor system is applied to sensor systems of other types, proper changes can be made such as replacing the encoder with another sensor. Therefore, such cases will not be described further in detail.

The encoder system can be applied to encoder systems of various types such as rotary type or linear type. However, in the description below, a rotary-type encoder will be employed as an example in order to facilitate the understanding of the encoder system. If this encoder system is applied to encoder systems of other types, proper changes can be added such as replacing a rotary motor with a linear motor or changing the object to be measured from a disk to a linear scale. Therefore, such cases will not be described further in detail.

1. Outline of Configuration of Encoder System

First, an outline of the configuration of an encoder system according to this embodiment will be described with reference to FIG. 1 .

As shown in FIG. 1 , an encoder system ES (corresponding to an example of a sensor system) includes seven servo motors SM 1 , SM 2 , SM 3 , SM 4 , SM 5 , SM 6 , SM 7 , and a controller CT. However, the number of the servo motors in the encoder system ES is not limited to seven and may be any other number. For the sake of convenience of the description, the description will be made in a case where the number of the servomotors SM in the encoder system ES is seven. In the description below, when the servo motors SM 1 to SM 7 are not discriminated from each other, these servo motors are simply referred to as the “servo motors SM”.

Each of the servomotors SM 1 to SM 7 has a motor and an encoder. That is, the servo motor SM 1 has a motor M 1 and an encoder E 1 . The servo motor SM 2 has a motor M 2 and an encoder E 2 . The servo motor SM 3 has a motor M 3 and an encoder E 3 . The servo motor SM 4 has a motor M 4 and an encoder E 4 . The servo motor SM 5 has a motor M 5 and an encoder E 5 . The servomotor SM 6 has a motor M 6 and an encoder E 6 . The servo motor SM 7 has a motor M 7 and an encoder E 7 . In the description below, when the motors M 1 to M 7 are not discriminated from each other, these motors are simply referred to as the “motors M”, and when the encoders E 1 to E 7 are not discriminated from each other, these encoders are simply referred to as the “encoders E”.

Each of the motors M 1 to M 7 is an example of a power generation source not including the encoder E. These motors M 1 to M 7 output a rotational force by rotating a shaft SH about its axial center (not illustrated). In this specification, the rotational force output side of the motors M 1 to M 7 is referred to as a “load side”, and the opposite side is referred to as a “counter-load side”. The motors M 1 to M 7 are not particularly limited and may be any motors whose position, speed and the like can be detected by the encoders E 1 to E 7 .

In some cases, each of the motors M 1 to M 7 may be called a servo motor on its own. However, in this embodiment, the configuration including the encoder E is called the servo motors SM 1 to SM 7 . That is, each of the servo motors SM 1 to SM 7 is corresponding to an example of a motor with an encoder. For the sake of convenience of the description, the description will be made with regard to a case where each motor with an encoder is a servo motor controlled to follow target values of position, speed and the like. However, each motor with an encoder is not limited to a servo motor. Each motor with an encoder may be a motor other than a servo motor provided that the motor is provided with the encoder E, for example, in a case where an output from the encoder E is used only for display.

Each of the motors M 1 to M 7 is not limited to an electric motor which uses electricity as its power source, and may be a motor which uses other power sources, such as a hydraulic motor, pneumatic motor, or steam motor. In the following, a case where each of the motors M 1 to M 7 is an electric motor is described for the sake of convenience of the description.

The encoders E 1 to E 7 are connected to the counter-load side of the shaft SH of the respective motors M 1 to M 7 . However, the connecting position of the encoders E 1 to E 7 is not limited to the counter-load side of the shaft SH of the respective motors M 1 to M 7 and may be the load side of the shaft SH. These encoders E 1 to E 7 detect the position of the shaft SH of the respective motors M 1 to M 7 , thus detect the position (also referred to as “rotational position”, “angle of rotation” or the like) of the respective motors M 1 to M 7 , and output position data indicating this position.

The encoders E 1 to E 7 are not particularly limited and may be any types of encoders that can detect the positions or other physical quantity of the respective motors M 1 to M 7 . As the encoders E 1 to E 7 , for example, magnetic encoders, optical encoders, encoders using both magnetic and optical systems (i.e. hybrid encoders) can be used.

›DESCRIPTION OF THE EMBODIMENTS · 2 of 15

Also, the encoders E 1 to E 7 may detect at least one of the speed (also referred to as “rotational speed”, “angular velocity” or the like) and the acceleration (also referred to as “rotational acceleration”, “angular acceleration” or the like) of the respective motors M 1 to M 7 , in addition to, or instead of, the position of the respective motors M 1 to M 7 . In this case, the speed and the acceleration can be detected by processing such as applying first-order differentiation or second-order differentiation to the positions with time, or counting a detection signal for a predetermined period of time. In the following, a case where physical quantity detected by the encoders E 1 to E 7 is a position is described for the sake of convenience of the description.

Also, in this embodiment, sensors including at least the encoder E are connected to the controller CT in series via cables 10 . The term “in series” in this specification refers to an arrangement that connects the sensors in a row, that is, daisy-chaining the sensors.

Here, the sensors connected to the controller CT may include sensors other than the encoder E, if the sensors include the encoder E. The sensors other than the encoder E may be a torque sensor, pressure sensor, temperature sensor or the like. In the following, a case where the sensors connected to the controller CT includes only the encoders E is described for the sake of convenience of the description. The number of the encoders E connected to the controller CT may be any number equal to or greater than two. In the following, a case where the number of the encoders E connected to the controller CT is seven is described for the sake of convenience of the description.

That is, the encoders E 1 to E 7 are connected to the controller CT in series via the cables 10 . In this case, the encoder E 1 is directly connected to the controller CT via the cable 10 . The encoder E 2 is connected to the encoder E 1 via the cable 10 and thus indirectly connected to the controller CT via the encoder E 1 . The encoder E 3 is connected to the encoder E 2 via the cable 10 and thus indirectly connected to the controller CT via the encoders E 1 and E 2 . The encoder E 4 is connected to the encoder E 3 via the cable 10 and thus indirectly connected to the controller CT via the encoders E 1 to E 3 . The encoder E 5 is connected to the encoder E 4 via the cable 10 and thus indirectly connected to the controller CT via the encoders E 1 to E 4 . The encoder E 6 is connected to the encoder E 5 via the cable 10 and thus indirectly connected to the controller CT via the encoders E 1 to E 5 . The encoder E 7 is connected to the encoder E 6 via the cable 10 and thus indirectly connected to the controller CT via the encoders E 1 to E 6 . That is, the encoder E 1 (a proximal sensor) is corresponding to an example of the sensor connected most closely to the controller CT, while the encoder E 7 (a distal sensor) is corresponding to an example of the sensor connected most distantly to the controller CT.

As described above, the encoders E 1 to E 7 connected to the controller CT in series sequentially transfer a signal transmitted from the controller CT, from the nearest sensor to the controller CT (as will be described below).

The controller CT acquires position data from the respective encoders E 1 to E 7 and controls the operations of the respective motors M 1 to M 7 based on the position data. Therefore, in this embodiment, where electric motors are used as the motors M 1 to M 7 , the controller CT controls the operations of the motors M 1 to M 7 by controlling the current or voltage or the like applied to the motors M 1 to M 7 individually, based on the position data acquired from the respective encoders E 1 to E 7 . Moreover, the controller CT can also acquire a superordinate control signal from a superordinate controller (not illustrated) to control the operations of the respective motors M 1 to M 7 such that the shaft SH outputs a rotational force enough to set the position indicated by the superordinate control signal. If the motors M 1 to M 7 use other power sources such as hydraulic, pneumatic, or steam power sources, the controller CT can control these power supply sources to control the motions of the respective motors M 1 to M 7 .

Here, the configuration of the encoder system ES is not particularly limited provided that the encoder system. ES includes the controller CT and the encoders E 1 to E 7 connected to the controller CT in series such that the encoders E 1 to E 7 sequentially transfer a signal transmitted from the controller CT. In the following, a case where the encoder system ES is configured to be able to change settings about functions of the encoders E is described for the sake of convenience of the description.

2. Configurations of Controller and Encoder

Next, the configurations of the controller CT and the encoders E 1 to E 7 will be described with reference to FIGS. 2 and 3 .

As shown in FIGS. 2 and 3 , the controller CT includes a communicator 150 and a processing device 100 . Meanwhile, each of the encoders E 1 to E 7 includes two communicators 250 , 260 , and a processing device 200 .

The communicator 150 of the controller CT communicates with the encoder E 1 based on a predetermined communication protocol. The communicator 150 of the controller CT can be implemented by a communication device 923 (see FIG. 11 below) provided in the controller CT.

The communicator 250 of each of the encoders E 1 to E 7 communicates via a predetermined communication protocol with the controller CT or a relaying encoder Er provided between the controller CT and the each of the encoders E 1 to E 7 . The communicator 250 of each of the encoders E 1 to E 7 can be implemented by a communication device 823 (see FIG. 12 below) provided in each of the encoders E 1 to E 7 .

The communicator 260 of each of the encoders E 1 to E 7 communicates with a further encoder Ef based on a predetermined communication protocol. The communicator 260 of each of the encoders E 1 to E 7 can be implemented by a communication device 825 (see FIG. 12 below) provided in each of the encoders E 1 to E 7 . In this embodiment, as the encoder E 7 is the encoder E connected most distantly from the controller CT and there is no encoder E following the encoder E 7 , the encoder E 7 may not include the communicator 260 .

›DESCRIPTION OF THE EMBODIMENTS · 3 of 15

The processing device 100 of the controller CT transmits a request signal which causes the acquisition of sensing data at a predetermined timing (corresponding to an example of a second timing) of a sensing target, to the encoder E 1 via the communicator 150 . The request signal is not particularly limited if a request signal is for the acquisition of sensing data at a predetermined timing of the sensing target. For example, a position request command or the like may be employed. The position request command is a request signal which causes the acquisition of position data (corresponding to an example of sensing data) at a predetermined timing (also referred to as a “position latch timing”) of the corresponding motor M (corresponding to an example of a sensing target). For the sake of convenience of the description, the description will be made with regard to a case where the request signal transmitted from the processing device 100 is a position request command.

The position request command transmitted from the controller CT to the encoder E 1 is sequentially transferred up to the encoder E 7 by the encoders E 1 to E 7 . The position request command transmitted from the controller CT to the encoder E 1 may also be sequentially transferred to a target encoder Et that is the target of the position request command, by one or more encoders E from the encoder E 1 to the target encoder Et. In the following, a case where the position request command transmitted from the controller CT to the encoder E 1 is sequentially transferred up to the encoder E 7 by the encoders E 1 to E 7 is described for the sake of convenience of the description.

The processing device 100 of the controller CT is configured to perform control to transmit a command signal to the encoder E 1 via the communicator 150 . The command signal changes the functional settings of the encoder E from the current setting to a target setting. The functional setting of the encoder E may be the mode of communication with the controller CT (for example, the communication speed, transmission channel code and the like with the controller CT), the position latch timing or the like.

The command signal transmitted from the controller CT to the encoder E 1 is sequentially transferred up to the encoder E 7 by the encoders E 1 to E 7 . The command signal transmitted from the controller CT to the encoder E 1 may also be sequentially transferred up to the target encoder Et that is the target of the command signal, by one or more encoders E from the encoder E 1 to the target encoder Et. In the following, a case where the command signal transmitted from the controller CT to the encoder E 1 is sequentially transferred up to the encoder E 7 by the encoders E 1 to E 7 is described for the sake of convenience of the description.

When the processing device 200 of each of the encoders E 1 to E 7 receives the position request command, the processing device 200 acquires position data at the position latch timing of the corresponding motor M and transmits the position data to the controller CT directly or via one or more relaying encoders Er located between the encoder E and the controller CT. Meanwhile, when the processing device 200 of each of the encoders E 1 to E 7 receives the command signal, the processing device 200 changes the functional setting thereof to a predetermined setting (a target setting).

In other words, the processing device 100 of the controller CT and the processing device 200 of each of the encoders E 1 to E 7 are corresponding to an example of means for changing the functional setting of sensors from the current setting to a predetermined setting (the target setting).

In this case, the processing device 100 of the controller CT may generate a command signal designating one encoder E among the encoders E 1 to E 7 to change the functional setting of the encoder E.

When the processing device 200 of an encoder E, which is provided in each of the encoders E 1 to E 7 , receives the command signal designating the encoder E itself and when it determines that the functional setting of the encoder E is changeable to a predetermined setting, the controller 200 may transmit a response signal to the controller CT directly, or via one or more relaying encoders Er located between the encoder E and the controller CT.

The processing device 100 of the controller CT may sequentially transmit command signals which designate the respective encoders E 1 to E 7 , in a sequential order from the command signal designating the encoder E 1 (the proximal sensor E 1 ) to the command signal designating the encoder E 7 (the distal sensor E 7 ). In this case, when the processing device 100 of the controller CT receives a response signal from a previously designated encoder Ep to which the command signal was transmitted, the processing device 100 may transmit a command signal designating the encoder E next to the previously designated encoder Ep in the above sequential order.

The processing device 200 of each of the encoders E 1 to E 7 (synchronized processing sensors E 1 to E 7 ) may synchronize timing of changing the functional setting of the encoder E, which is corresponding to an example of a first timing (hereinafter also referred to as a “timing of change”), with timings of changing of other encoders E, based on the result of reception of a signal from the controller CT. This coordinates the timings of changing the functional settings of the encoders E 1 to E 7 to be substantially the same. In this case, the processing device 200 of each of the encoders E 1 to E 7 may change the setting after the lapse of a predetermined period, which is corresponding to an example of a first period (hereinafter also referred to as a “first period”), by following the reception of the command signal designating the encoder E 7 . More specifically, the processing device 200 of each of the encoders E 1 to E 7 may change the settings respectively in a case of any signal being not received from the controller CT during the first period.

›DESCRIPTION OF THE EMBODIMENTS · 4 of 15

When the processing device 100 of the controller CT receives the response signal from the encoder E 7 , the processing device 100 may change the functional setting of the controller CT from the current setting to a predetermined setting corresponding to the target setting of the encoder E. The functional setting of the controller CT may be communication modes with the encoder E, such as the communication speed, transmission channel code, and other factors with the encoder E. In this case, the processing device 100 of the controller CT may stop the transmission of a signal to the encoder E after transmitting a command signal designating the encoder E 7 , and may change the setting after the lapse of a predetermined period (corresponding to an example of a second period; hereinafter also referred to as a “second period”) that is longer than the first period after transmitting the command signal designating the encoder E 7 .

The processing device 100 of the controller CT may transmit to the encoder E 1 a communication mode change command (corresponding to an example of a first command signal) to change the communication mode with the controller CT (corresponding to an example of the functional setting of the encoder) from the current communication mode (corresponding to an example of the current setting) to a predetermined communication mode (a target communication mode) (corresponding to an example of a predetermined setting), as a command signal. In this case, the processing device 100 of the controller CT may transmit, to the encoder E 1 at a first speed, a speed change command (corresponding to an example of a second command signal) as an example of the communication mode change command, the speed change command being to change the communication speed with the controller CT (corresponding to an example of the communication mode with the controller) to a second speed (corresponding to an example of a predetermined communication mode) that is higher than the current first speed (corresponding to an example of the current communication mode). When the processing device 200 of each of the encoders E 1 to E 7 receives the speed change command, the processing device 200 may change the communication speed with the controller CT to the second speed. In this case, the processing device 100 of the controller CT may set the second speed based on the number of the encoders E connected to the controller CT.

Hereinafter, an example where an example of the configurations of the processing device 100 of the controller CT and the processing device 200 of each of the encoders E 1 to E 7 is implemented more specifically with functional blocks will be described.

2-1. Controller of Controller CT

As shown in FIG. 2 , the processing device 100 of the controller CT includes a request transmitter 128 , a receiver 102 , a command transmitter 110 , a detector 104 , a speed setter 108 , a command generator 106 , a first reception determiner 114 , a transmission controller 116 , a transmission determiner 118 , a transmission stopper 120 , a second period determiner 122 , and a second configurator 126 . A configurator may be also called as a setting changer. These functionalities of the processing device 100 can be implemented by a program executed by a CPU 901 (see FIG. 11 below) provided in the controller CT or by a control device 907 (see FIG. 12 below) provided in the controller CT.

The request transmitter 128 transmits the position request command to the encoder E 1 on a predetermined communication cycle via the communicator 150 . The position request command transmitted from the controller CT to the encoder E 1 is sequentially transferred up to the encoder E 7 by the encoders E 1 to E 7 . The request transmitter 128 may also transmit a position request command which designates one encoder E among the encoders E 1 to E 7 , or may transmit a common position request command to each of the encoders E 1 to E 7 without designating the one encoder E. In the following, a case where the request transmitter 128 transmits a common position request command to each of the encoders E 1 to E 7 is described for the sake of convenience of the description.

The receiver 102 receives a signal (position data, response signal or the like) transmitted from the encoder E 1 via the communicator 150 . Accordingly, the receiver 102 detects reception of the signal from the controller CT by the encoders E 1 to E 7 .

The command transmitter 110 is configured to perform control to transmit the command signal to the encoder E 1 via the communicator 150 . The command signal is not particularly limited provided that the command signal is for changing the functional setting of the encoder E. For example, the command signal can be the communication mode change command, a command signal which causes the position latch timing to be changed, or the like. In the following, a case where the command signal transmitted from the command transmitter 110 is the communication mode change command is described for the sake of convenience of the description. That is, the command transmitter 110 includes a first command transmitter 112 .

The first command transmitter 112 is configured to perform control to transmit the communication mode change command to the encoder E 1 via the communicator 150 . The communication mode change command is not particularly limited provided that the communication mode change command is for changing the communication mode of the encoder E with the controller CT. For example, the communication mode change can be the speed change command, a transmission channel code change command which causes the transmission channel code to be changed, a communication mode change command which causes both the communication speed and the transmission channel code to be changed, or the like. In the following, a case where the communication mode change command transmitted from the first command transmitter 112 is the speed change command is described for the sake of convenience of the description. That is, the first command transmitter 112 transmits the speed change command, as the communication mode change command, to the encoder E 1 via the communicator 150 at the first speed. In short, the first command transmitter 112 is corresponding to an example of a second command transmitter as well.

›DESCRIPTION OF THE EMBODIMENTS · 5 of 15

That is, in this embodiment, the communication speed of the controller CT with the encoder E, that is, the communication speed of the communicator 150 , is changeably set to one of predetermined speeds. The values and number of speeds that can be changeably set as the communication speed of the communicator 150 are not particularly limited. In the following, a case where there are three speeds that can be changeably set as the communication speed of the communicator 150 is described for the sake of convenience of the description. The three speeds are a speed V 1 (4 Mbps, for example), a speed V 2 higher than the speed V 1 (8 Mbps, for example), and a speed V 3 higher than the speed V 2 (16 Mbps, for example). That is, the communicator 150 of the controller CT has its communication speed settable among the three speeds V 1 , V 2 , and V 3 , and executes communication at the set speed.

Similarly, the communication speed of each of the encoders E 1 to E 7 with the controller CT, that is, the communication speed of the communicators 250 and 260 , can be changeably set to one of predetermined speeds. The values and number of speeds that can be changeably set as the communication speed of the communicators 250 and 260 are not particularly limited. In the following, a case where there are three speeds that can be changeably set as the communication speed of the communicators 250 and 260 is described for the sake of convenience of the description. The three speeds are the speed V 1 , speed V 2 , and speed V 3 , similarly to the communication speed of the communicator 150 of the controller CT. That is, the communicators 250 and 260 of each of the encoders E 1 to E 7 have their communication speed settable among the three speeds V 1 , V 2 , and V 3 , and execute communication at the set speed.

The communication speeds of the communicator 150 of the controller CT and the communicators 250 and 260 of each of the encoders E 1 to E 7 may be initially set to any of the speed V 1 , speed V 2 , and speed V 3 . In the following, a case where the communication speeds of the communicator 150 of the controller CT and the communicators 250 and 260 of each of the encoders E 1 to E 7 are initially set to the lowest speed V 1 is described for the sake of convenience of the description.

FIG. 4A shows an example of the data structure of the speed change command.

In the example shown in FIG. 4A , the speed change command includes sixteen data D 0 to D 15 . Content of the data D 0 indicates the speed change command, and that of the data D 1 is blank. Content of the data D 2 contains a speed parameter indicating the second speed. Each of the data D 3 to D 15 has respective content or leaves it as blank, though not described in detail.

The data structure of the speed change command shown in FIG. 4A is only an example. Data structures other than the above may also be employed.

As shown in FIG. 2 , the detector 104 detects the number of the encoders E connected to the controller CT based on the result of reception by the receiver 102 (for example, the number of signals received from the encoder E which responds to the signal from the controller CT). In this embodiment, since the encoders E 1 to E 7 are connected to the controller CT in series, the detector 104 is expected to detect that the number of the encoders E connected to the controller CT is seven. The detector 104 may be omitted if the number of the encoders E connected to the controller CT is predetermined, if the operator inputs the number of the encoders E connected to the controller CT, if the second speed based on the number of the encoders E connected to the controller CT is not set, or the like. In the following, a case where the detector 104 is included in the processing device 100 is described for the sake of convenience of the description.

The speed setter 108 sets the second speed based on the number of the encoders E detected by the detector 104 . The speed setter 108 may be omitted if the operator inputs the second speed, if the second speed is constant, or the like. In the following, a case where the speed setter 108 is present is described for the sake of convenience of the description.

The command generator 106 generates the speed change command to be transmitted from the first command transmitter. At this time, the command generator 106 generates the speed change command to change the communication speed of the communicators 250 and 260 to the second speed set by the speed setter 108 . The command generator 106 may also generate the speed change command to change the communication speed of the communicators 250 and 260 to a predetermined second speed. In the following, a case where the command generator 106 generates the speed change command to change the communication speed of the communicators 250 and 260 to the second speed set by the speed setter 108 is described for the sake of convenience of the description. The command generator 106 also generates the speed change command designating one encoder E among the encoders E 1 to E 7 . The command generator 106 may also generate a common speed change command to each of the encoders E 1 to E 7 without designating any one encoder E. In the following, a case where the command generator 106 generates the speed change command designating one encoder E is described for the sake of convenience of the description. In this embodiment, the command generator 106 generates the speed change command designating one encoder E among the encoders E 1 to E 7 sequentially from the proximal sensor E 1 to the distal sensor E 7 .

The first reception determiner 114 determines whether or not the controller CT receives a response signal from the encoder E to which the speed change command is transmitted by the first command transmitter 112 , based on the result of reception by the receiver 102 . The first reception determiner 114 may be omitted if the encoder E does not transmit any response signal, or the like. In the following, a case where the first reception determiner 114 is included in the processing device 100 is described for the sake of convenience of the description.

›DESCRIPTION OF THE EMBODIMENTS · 6 of 15

The transmission controller 116 controls the first command transmitter 112 in such a way as to sequentially transmit the speed change commands designating the respective encoders E 1 to E 7 generated by the command generator 106 , in the sequential order of the speed change command designating the encoder E 1 , the speed change command designating the encoder E 2 , the speed change command designating the encoder E 3 , the speed change command designating the encoder E 4 , the speed change command designating the encoder E 5 , the speed change command designating the encoder E 6 , and the speed change command designating the encoder E 7 . In this case, if the first reception determiner 114 determines that a response signal is received from the previously designated encoder Ep, the transmission controller 116 controls the first command transmitter 112 in such a way as to transmit the speed change command designating another encoder E subsequently following the previously designated encoder Ep in the above order.

If an encoder E does not transmit a response signal, or the like, the transmission controller 116 may control the first command transmitter 112 in such a way as to sequentially transmit the speed change commands designating the respective encoders E 1 to E 7 on a predetermined cycle in the above order. In the following, a case is described for the sake of convenience of the description in which the transmission controller 116 controls the first command transmitter 112 in such a way as to transmit the speed change command designating another encoder E subsequently following the previously designated encoder Ep in the above order if the first reception determiner 114 determines that a response is received from the previous designated encoder Ep. The transmission controller 116 may be omitted if a common speed change command is transmitted to each of the encoders E 1 to E 7 . In the following, fa case where the transmission controller 116 is included in the processing device 100 is described for the sake of convenience of the description.

In this embodiment, the transmission controller 116 controls the first command transmitter 112 to transmit the speed change command, designating one encoder E, in a repeating manner such as at a predetermined time interval (at an interval of 25 ms or shorter, for example) for a predetermined period (for 75 ms, for example), or at the predetermined time interval for a predetermined number of times (three times, for example). The transmission controller 116 may also control the first command transmitter 112 in such a way as to transmit the speed change command designating one encoder E only once or in a repeating manner until a response signal is received. In the following, a case is described for the sake of convenience of the description in which the transmission controller 116 controls the first command transmitter 112 in such a way as to sequentially transmit the speed change command designating one encoder E at a predetermined time interval or shorter for a predetermined number of times.

The transmission determiner 118 determines whether the speed change command designating the encoder E 7 is transmitted by the first command transmitter 112 or not. The transmission determiner 118 may be omitted if it is not necessary to determine the speed change command designating the encoder E 7 whether it is transmitted or not. In the following, a case where the transmission determiner 118 is included in the processing device 100 is described for the sake of convenience of the description.

The transmission stopper 120 stops the transmission of signals to the encoder E after the first command transmitter 112 transmits the speed change command designating the encoder E 7 . That is, the transmission stopper 120 stops the entire transmissions of signals to the encoder E, including the transmission of the speed change command by the first command transmitter 112 and the transmission of the position request command by the request transmitter 128 . The transmission stopper 120 may stop the transmission of the speed change command by the first command transmitter 112 only. In the following, a case where the transmission stopper 120 stops the entire transmissions of signals to the encoder E is described for the sake of convenience of the description. In this case, the transmission stopper 120 stops the transmission if the transmission determiner 118 determines that the speed change command designating the encoder E 7 is transmitted by the first command transmitter 112 . The transmission stopper 120 may be omitted if it is not necessary to stop the transmission of signals to the encoder E after the controller CT transmits the speed change command designating the encoder E 7 . In the following, a case where the transmission stopper 120 is present is described for the sake of convenience of the description.

The second period determiner 122 determines whether or not the second period (for example, 40 ms) has passed since the first command transmitter 112 transmits the speed change command designating the encoder E 7 . In this case, the second period determiner 122 carries out this determination if the transmission determiner 118 determines that the first command transmitter 112 transmits the speed change command designating the encoder E 7 . The second period determiner 122 may be omitted if it is not necessary to determine whether the second period has passed since the speed change command designating the encoder E 7 is transmitted. In addition, a case where the second period determiner 122 is included in the processing device 100 is described for the sake of convenience of the description.

The second configurator 126 changes the functional setting related to the controller CT from the current setting to a predetermined setting corresponding to the target setting of the encoder E, if the first reception determiner 114 determines that a response signal is received from the encoder E 7 . In this embodiment, where the speed change command is transmitted, as to the functional setting of the controller CT, the second configurator 126 changes the communication speed of the communicator 150 from the current speed (corresponding to an example of the current setting), or from the first speed, to a predetermined speed corresponding to a target speed of the encoder E (corresponding to an example of the predetermined setting corresponding to the target speed of the encoder), or to the second speed set by the speed setter 108 . In any cases, the second configurator 126 changes the communication speed of the communicator 150 to the second speed if the second period determiner 122 determines that the second period has passed. Timing of changing the communication speed of the communicator 150 by the second configurator 126 need not necessarily be after it is determined that the second period has passed, if the timing is after it is determined that a response signal is received from the encoder E 7 . In the following, a case is described for the sake of convenience of the description in which the timing of changing the communication speed of the communicator 150 by the second configurator 126 is after it is determined that the second period has passed. The second configurator 126 may be omitted if the functional setting of the controller CT is not to be changed, or the like.

›DESCRIPTION OF THE EMBODIMENTS · 7 of 15

The controller CT may transmit a command (hereinafter referred to as a “confirmation command”) to the encoder E 1 via the communicator 150 at the second speed the confirmation request command being to request the encoder E 1 to confirm that the communication speed of the communicators 250 and 260 of the encoder E is changed to the second speed (requesting the return of a response signal) after the second configurator changes the communication speed of the communicator 150 to the second speed. The confirmation command transmitted to the encoder E 1 is sequentially transferred up to the encoder E 7 by the encoders E 1 to E 7 . In this case, if a response signal to the confirmation command cannot be received from at least one of the encoders E 1 to E 7 , that is, if the communication speed of the communicators 250 and 260 is not changed to the second speed at least in one encoder E, the controller CT executes predetermined error processing and thus returns the communication speed of the communicators 250 and 260 of the respective encoders E 1 to E 7 , to a previous speed or the speed V 1 , which is the initial value. For example, as for the processing of transmitting a command, returning the communication speed of the communicators 250 and 260 to the previous speed, to the respective encoders E 1 to E 7 , the processing of restarting the respective encoders E 1 to E 7 (power-off the switch and power-on the switch), or the like may be performed. Alternatively, the controller CT may simply notify that there is an encoder E in which the communication speed of the communicators 250 and 260 is not changed to the second speed, thereby the operator may restart the respective encoders E 1 to E 7 (power-off the switch and power-on the switch) to initialize the communication speed of the communicators 250 and 260 of the respective encoders E 1 to E 7 to the speed V 1 , for example.

The configuration and arrangement of each component of the processing device 100 of the controller CT shown in FIG. 2 described above is only an example. The processing device 100 of the controller CT may have another configurations and arrangement.

2-2. Controller of Encoder

As shown in FIGS. 3 and 4 , the processing device 200 of each of the encoders E 1 to E 7 includes two receivers 202 and 204 , a data acquirer 220 , a data transmitter 222 , a third reception determiner 206 , a setting availability determiner 207 , a command responder 208 , a s 210 , and a first configurator 218 . These functionalities of the processing device 200 can be implemented by a program executed by a CPU 801 (see FIG. 12 below) provided in each of the encoders E 1 to E 7 , or by a control device 807 (see FIG. 12 below) provided in each of the encoders E 1 to E 7 .

The receiver 202 receives a signal (speed change command, position request command or the like) transmitted from the controller CT or the relaying encoder Er, via the communicator 250 .

The receiver 204 receives a signal (position data, response signal or the like) transmitted from the further encoder Ef, via the communicator 260 , and transfers the signal to the controller CT or the relaying encoder Er via the communicator 250 . That is, the signal transmitted from each of the encoders E 2 to E 7 is sequentially transferred up to the controller CT by at least one relaying encoder Er provided between the controller CT and the encoder E itself.

The data acquirer 220 acquires position data at the position latch timing of the corresponding motor M, from a detector (for example, light receiving element, magnetic detection element or the like) provided in the encoder E, not illustrated, in response to the position request command received by the receiver 202 .

The data transmitter 222 is configured to perform control to transmit the position data acquired by the data acquirer 220 to the controller CT or the relaying encoder Er via the communicator 250 .

The third reception determiner 206 determines whether an encoder E receives a speed change command designating the encoder E itself or not, based on the result of reception by the receiver 202 . The third reception determiner 206 may be omitted if a common speed change command is transmitted to each of the encoders E 1 to E 7 from the controller CT, or the like. In the following, a case where the third reception determiner 206 is included in the processing device 200 is described for the sake of convenience of the description.

The setting availability determiner 207 determines whether the communication speed of the communicators 250 and 260 can be changed to the second speed specified by the speed change command or not, if the third reception determiner 206 determines that the encoder E receives the speed change designating the encoder E itself. The setting availability determiner 207 may be omitted if the communicators 250 and 260 of the encoder E, or the like can communicate at the second speed specified by the speed change command transmitted from the controller CT. In the following, a case where the setting availability determiner 207 is included in the processing device 200 is described for the sake of convenience of the description.

The command responder 208 is configured to perform control to transmit a response signal to the controller CT or the relaying encoder Er via the communicator 250 if the communication speed of the communicators 250 and 260 can be changed to the second speed by the speed change command in the case where the speed change command designating the encoder E itself is received. In this example, the command responder 208 transmits a response signal, if the third reception determiner 206 determines that the encoder E receives the speed change command designating the encoder E and the setting availability determiner 207 determines that the communication speed of the communicators 250 and 260 can be changed to the second speed. The command responder 208 may be omitted if transmitting a response signal to the controller CT is not necessary. In the following description, a case where the command responder 208 is included in the processing device 200 is described for the sake of convenience of the description.

›DESCRIPTION OF THE EMBODIMENTS · 8 of 15

FIG. 4B shows an example of the data structure of the response signal.

In the example shown in FIG. 4B , the response signal has a data structure in which a status flag is allocated to the data D 1 of the speed change command shown in FIG. 4A . The status flag indicates that the communication speed of the communicators 250 and 260 can be set to the second speed indicated by the speed parameter of the data D 2 .

The data configuration of the response signal shown in FIG. 4B is only an example. Other data configurations may also be employed.

As shown in FIG. 3 , the synchronization controller 210 synchronizes the timing of change at which the first configurator 218 changes the communication speed of the communicators 250 and 260 , so that this timing of change becomes substantially the same as those of the other encoders E, based on the result of reception by the receiver 202 . The synchronization controller 210 may be omitted in a case of the timing of change being not substantially the same among the encoders E 1 to E 7 . In the following, a case where the synchronization controller 210 is included in the processing device 200 is described for the sake of convenience of the description. The configuration of the synchronization controller 210 is not particularly limited and any configuration that enables the synchronization of the timing of change may be employed. For the sake of convenience of the description, a case where the synchronization controller 210 has the following configuration is described. In this configuration, the synchronization controller 210 includes a fourth reception determiner 212 , a first period determiner 216 , and a second reception determiner 214 .

The fourth reception determiner 212 determines whether a speed change command designating the encoder E 7 is received or not, based on the result of reception by the receiver 202 .

If the fourth reception determiner 212 determines that a speed change command designating the encoder E 7 is received by the receiver 202 , the first period determiner 216 determines whether or not the first period (for example, 30 ms) has passed since the speed change command is received.

The second reception determiner 214 determines whether or not a signal is received by the receivers 202 and 204 from the controller CT or a relaying encoder Er before the lapse of the first period, based on the result of reception by the receiver 202 . The second reception determiner 214 is omitted if the speed is to be changed though a signal is received before the lapse of the first period. In the following, a case where the second reception determiner 214 is included in the processing device 200 is described for the sake of convenience of the description.

The first configurator 218 changes the communication speed of the communicators 250 and 260 to the second speed in the speed change command, if the speed change command is received by the receiver 202 . In this case, the first configurator 218 changes the communication speed of the communicators 250 and 260 if the command responder 208 transmits a response signal to the controller CT or the relaying encoder Er. More specifically, the first configurator 218 changes the communication speed of the communicators 250 and 260 if the first period determiner 216 determines that the first period has passed, after the command responder 208 transmits a response signal. Even more specifically, the first configurator 218 changes the communication speed of the communicators 250 and 260 , if the first period determiner 216 determines that the first period has passed and the second reception determiner 214 determines that a signal is not received from the controller CT or a relaying encoder E.

However, the condition for the first configurator 218 to change the communication speed of the communicators 250 and 260 is not limited to that it is determined both that the first period is elapsed and that a signal is not received from the controller CT or the relaying encoder E. The condition for this change may be more simplified such that it is determined that the first period is elapsed. Further, the condition may not be limited to that it is determined that the first period is elapsed, but may be that it is determined that a response signal is transmitted to the controller CT or the relaying encoder Er. Still further, the condition is not limited to that it is determined that a response signal is transmitted to the controller CT or the relaying encoder Er, but may be that it is determined that a speed change command is received. In the following, a case is described for the sake of convenience of the description, in which the condition for the first configurator 218 to change the communication speed of the communicators 250 and 260 is a condition satisfying that it is determined both that the first period has passed and that a signal is not received from the controller CT or another encoder E.

The configuration and arrangement of each component of the processing device 200 of the respective encoders E 1 to E 7 shown in FIG. 3 described above is only an example. The processing device 200 of the respective encoders E 1 to E 7 may have another configurations and arrangement.

3. Operations of Controller and Encoders

Next, the operations of the controller CT and the encoders E 1 to E 7 will be described with reference to FIGS. 5 to 9 .

3-1. Operations of Controller

First, the operations of the controller CT will be described with reference to FIGS. 5 and 6 . The processing shown in FIG. 5 and the processing shown in FIG. 6 are carried out in parallel.

As shown in FIG. 5 , in Step SC 1 , the request transmitter 128 transmits a position request command to the encoder E 1 via the communicator 150 . This Step SC 1 is carries out on a predetermined communication cycle.

Meanwhile, as shown in FIG. 6 , in Step SC 10 , the detector 104 detects the number of the encoders E connected to the controller CT. That is, Step SC 10 is corresponding to an example of a detection step. In this embodiment, since the encoders E 1 to E 7 are connected to the controller CT in series, it is expected to be detected in Step SC 10 that the number of the encoders E connected to the controller CT is seven.

›DESCRIPTION OF THE EMBODIMENTS · 9 of 15

After that, in Step SC 20 , the speed setter 108 sets a second speed based on the number of the encoders E detected in the above Step SC 10 . That is, Step SC 20 is corresponding to an example of a speed setting step.

In Step SC 30 , the command generator 106 generates a speed change command, changing the communication speed of the communicators 250 and 260 to the second speed set in the above Step SC 20 , with designating one encoder E from among the encoders E 1 to E 7 . This Step SC 30 is executed repeatedly and speed change commands designating the encoders E 1 to E 7 , respectively, are generated. That is, Step SC 30 is corresponding to an example of a command generation step.

After that, in Step SC 40 , under the control of the transmission controller 116 , the first command transmitter 112 transmits the speed change commands designating the encoders E 1 to E 7 , respectively, generated in the above Step SC 30 , to the encoder E 1 via the communicator 150 sequentially in the above order and at the first speed. In one cycle of Step SC 40 , only the speed change command designating one encoder E 7 is transmitted, and in the subsequent cycle of Step SC 40 , the speed change command designating the further encoder Ef in the above order is transmitted. That is, Step SC 40 is corresponding to an example of a command transmission step, a first command transmission step, a second command transmission step, and a transmission control step.

Then, in Step SC 50 , the transmission determiner 118 determines whether or not the speed change command designating the encoder E 7 is transmitted in the Step SC 40 that is preceded and executed. If a speed change command designating an encoder E other than the encoder E 7 is transmitted, the determination in Step SC 50 is not satisfied and the processing shifts to Step SC 60 .

In Step SC 60 , the first reception determiner 114 determines whether or not a response signal is received from the encoder E to which the speed change command is transmitted in the Step SC 40 that is preceded and executed, based on the result of reception by the receiver 102 . Until a response signal is received from the encoder E, the determination in Step SC 60 is not satisfied and the processing waits in a loop. When a response signal is received from the encoder E, the determination in Step SC 60 is satisfied and the above Step SC 40 is executed again. Meanwhile, determination of an error is made, for example, if a response signal is not received from the encoder E even after the lapse of a predetermined period, which may be caused by a failure in the communication between the controller CT and the encoder E, or by an inability of the speed change command for changing the communication speed of the encoder E to the second speed.

Meanwhile, if the speed change command designating the encoder E 7 is transmitted in Step SC 50 , the determination in Step SC 50 is satisfied and the processing shifts to Step SC 70 .

In Step SC 70 , the transmission stopper 120 stops the transmission of the signal to the encoder E. That is, Step SC 70 is corresponding to an example of a transmission stop step.

After that, in Step SC 80 , the first reception determiner 114 determines whether or not a response signal is received from the encoder E 7 to which the speed change command is transmitted in the Step SC 40 , which is preceded and executed, based on the result of reception by the receiver 102 . That is, Step SC 60 and Step SC 80 are corresponding to an example of a first reception determination step. Until a response signal is received from the encoder E 7 , the determination in Step SC 80 is not satisfied and the processing waits in a loop. When a response signal is received from the encoder E 7 , the determination in Step SC 80 is satisfied and the processing shifts to Step SC 90 . Also, determination of an error is made, for example, if a response signal is not received from the encoder E 7 even after the lapse of a predetermined period because of failure in the communication between the controller CT and the encoder E 7 or because of the inability to change the communication speed of the encoder E 7 to the second speed by the speed change command, or the like.

In Step SC 90 , the second period determiner 122 determines whether or not a second period has passed since the transmission of the speed change command designating the encoder E 7 in the Step SC 40 executed immediately before. That is, Step SC 90 is corresponding to an example of a second period determination step. Until the second period passes, the determination in Step SC 90 is not satisfies and the processing waits in a loop. When the second period has passed, the determination in Step SC 90 is satisfied and the processing shifts to Step SC 100 .

In Step SC 100 , the second configurator 126 changes the communication speed of the communicator 150 from the first speed to the second speed. That is, Step SC 100 is corresponding to an example of a second setting change step.

3-2. Operations of Encoders

Next, the operations of the respective encoders E 1 to E 7 will be described with reference to FIGS. 7 to 9 . The processing shown in FIG. 7 , the processing shown in FIG. 8 , and the processing shown in FIG. 9 are carried out in parallel.

As shown in FIG. 7 , if the receiver 202 , in Step SE 1 , receives a position request command transmitted from the controller CT or the relaying encoder Er via the communicator 250 , the receiver 202 transfers the position request command to the further encoder Ef via the communicator 260 in Step SE 2 . In the encoder E 7 , Step SE 2 is not executed.

Then, in Step SE 3 , the data acquirer 220 acquires position data at a position latch timing of the corresponding motor M in response to the position request command received in the above Step SE 1 . That is, Step SE 3 is corresponding to an example of a data acquisition step.

After that, in Step SE 4 , the data transmitter 222 transmits the position data acquired in the above Step SE 3 to the controller CT or the relaying encoder Er via the communicator 250 . That is, Step SE 4 is corresponding to an example of a data transmission step.

›DESCRIPTION OF THE EMBODIMENTS · 10 of 15

As shown in FIG. 8 , if the receiver 204 , in Step SE 10 , receives position data transmitted from the further encoder Ef via the communicator 260 , the receiver 204 stores the position data in Step SE 20 . These Steps SE 10 and SE 20 are executed repeatedly.

Then, after transmitting the position data in the above Step SE 4 , the receiver 202 , in Step SE 30 , transmits one or more position data stored in the above Step SE 20 to the controller CT or the relaying encoder Er sequentially from the position data corresponding to the encoder E that is closest to the controller CT.

In the encoder E 7 , the processing shown in FIG. 8 is not executed.

As shown in FIG. 9 , if the receiver 202 , in Step SE 110 , receives a speed change command transmitted from the controller CT or the relaying encoder Er via the communicator 250 , the receiver 202 transfers the speed change command to the further encoder Ef via the communicator 260 in Step SE 120 . In the encoder E 7 , Step SE 120 is not executed.

After that, in Step SE 130 , the third reception determiner 206 determines whether the speed change command received in the above Step SE 110 , which is preceded and executed, is a speed change command designating the encoder E itself or not, based on the result of reception by the receiver 202 . If the speed change command designates the encoder E itself, the determination in Step SE 130 is satisfied and the processing shifts to Step SE 140 .

In Step SE 140 , the setting availability determiner 207 determines whether or not the communication speed of the communicators 250 and 260 can be changed to the second speed by the speed change command received in the above Step SE 110 . If the communication speed of the communicators 250 and 260 can be changed to the second speed by the speed change command, the determination in Step SE 140 is satisfied and the processing shifts to Step SE 150 .

In Step SE 150 , the command responder 208 transmits a response signal to the controller CT or the relaying encoder Er via the communicator 250 . That is, Step SE 150 is corresponding to an example of a command response step. After that, the processing returns to Step SE 110 and repeats similar procedures.

Meanwhile, if the communication speed cannot be changed to the second speed by the speed change command in Step SE 140 , the determination in Step SE 140 is not satisfied. The processing returns to Step SE 110 and repeats similar procedures.

If the speed change command does not designate the encoder E itself in Step SE 130 , the determination in Step SE 130 is not satisfied and the processing shifts to Step SE 160 .

In Step SE 160 , the fourth reception determiner 212 determines whether the speed change command received in the above Step SE 110 executed immediately before is a speed change command designating the encoder E 7 or not, based on the result of reception by the receiver 202 . If the speed change command does not designate the encoder E 7 , the determination in Step SE 160 is not satisfied. The processing returns to Step SE 110 and similar procedures are repeated. Meanwhile, if the speed change command designates the encoder-E 7 , the determination in Step SE 160 is satisfied and the processing shifts to Step SE 170 .

In Step SE 170 , the first period determiner 216 determines whether or not a first period has passed since the reception of the speed change command designating the encoder E 7 in the above Step SE 110 executed immediately before. If the first period has not passed, the determination in Step SE 170 is not satisfied and the processing shifts to Step SE 180 .

In Step SE 180 , the second reception determiner 214 determines whether or not a signal is received by the receivers 202 and 204 from the controller CT or another encoder E, based on the result of reception by the receiver 202 . If a signal is not received, the determination in Step SE 180 is not satisfied. The processing returns to Step SE 170 and similar procedures are repeated. Meanwhile, if a signal is received, the determination in Step SE 180 is satisfied and no change is made to the communication speed of the communicators 250 and 260 (the current first speed is maintained). The processing shown in FIG. 9 thus ends.

That is, Steps SE 160 , SE 170 , and SE 180 are corresponding to an example of a synchronization control step. Of these steps, Step SE 170 is corresponding to an example of a first period determination step, and Step SE 180 is corresponding to an example of a second reception determination step.

Meanwhile, if the first period has passed in Step SE 170 , the determination in Step SE 170 is satisfied and the processing shifts to Step SE 190 .

In Step SE 190 , the first configurator 218 changes the communication speed of the communicators 250 and 260 to the second speed by the speed change command received in the above Step SE 110 . That is, Step SE 190 is corresponding to an example of a first setting change step.

The operations of the controller CT and the encoders E 1 to E 7 shown in FIGS. 5 to 9 described above are only an example. Other operations may also be employed.

4. Example of Operations up to Communication Speed Change in Controller and Encoders

Next, an example of the operations up to communication speed change in the controller CT and the encoders E 1 to E 7 will be described with reference to FIG. 10 in order to facilitate the understanding of particularly advantageous effects of the encoder system ES. FIG. 10 schematically shows the operations up to communication speed change in the controller CT and the encoders E 1 to E 7 , with a time axis taken horizontally in the illustration.

As shown in FIG. 10 , at time t 0 , the communication speed of each of the controller CT and the encoders E 1 to E 7 is initially set to the speed V 1 .

Then, at time t 1 , a speed change command designating the encoder E 1 (described as “C#1” in the illustration; here also referred to as a ‘speed change command “C#1”’) is transmitted from the controller CT to the encoder E 1 at the speed V 1 . The speed change command “C#1” transmitted from the controller CT is sequentially transferred to the encoders E 1 to E 7 at the speed V 1 . In this case, from the encoder E 1 receiving the speed change command “C#1” designating the encoder E 1 itself, a response signal (described as “R#1” in the illustration; here also referred to as a ‘response signal “R#1”’) is transmitted to the controller CT at the speed V 1 and received by the controller CT at the speed V 1 .

›DESCRIPTION OF THE EMBODIMENTS · 11 of 15

After that, at time t 2 , a speed change command designating the encoder E 2 (described as “C#2” in the illustration; here also referred to as a ‘speed change command “C#2”’) is transmitted from the controller CT to the encoder E 1 at the speed V 1 . The speed change command “C#2” transmitted from the controller CT is sequentially transferred to the encoders E 1 to E 7 at the speed V 1 . In this case, from the encoder E 2 receiving the speed change command “C#2” designating the encoder E 2 itself, a response signal (described as “R#2” in the illustration; here also referred to as a ‘response signal “R#2”’) is transmitted to the encoder E 1 at the speed V 1 . The response signal “R#2” transmitted from the encoder E 2 is transferred to the encoder E 1 at the speed V 1 and is subsequently transmitted from the encoder E 1 to the controller Ct at the speed V 1 and received by the controller CT at the speed V 1 .

Then, at time t 3 , a speed change command designating the encoder E 3 (described as “C#3” in the illustration; here also referred to as a ‘speed change command “C#3”’) is transmitted from the controller CT to the encoder E 1 at the speed V 1 . The speed change command “C#3” transmitted from the controller CT is sequentially transferred to the encoders E 1 to E 7 at the speed V 1 . In this case, from the encoder E 3 receiving the speed change command “C#3” designating the encoder E 3 itself, a response signal (described as “R#3” in the illustration; here also referred to as a ‘response signal “R#3”’) is transmitted to the encoder E 2 at the speed V 1 . The response signal “R#3” transmitted from the encoder E 3 is transferred in order of the encoders E 2 and E 1 at the speed V 1 and is subsequently transmitted from the encoder E 1 to the controller CT at the speed V 1 and received by the controller CT at the speed V 1 .

After that, though not illustrated, at time after time t 3 (here also referred to as “time t 4 ”), a speed change command designating the encoder E 4 (here also referred to as a ‘speed change command “C#4”’) is transmitted from the controller CT to the encoder E 1 at the speed V 1 . Also, at time after time t 4 (here also referred to as “time t 5 ”), a speed change command designating the encoder E 5 (here also referred to as a ‘speed change command “C#5”’) is transmitted from the controller CT to the encoder E 1 at the speed V 1 . At time after time t 5 (here also referred to as “time t 6 ”), a speed change command designating the encoder E 6 (here also referred to as a ‘speed change command “C#6”’) is transmitted from the controller CT to the encoder E 1 at the speed V 1 . At time t 7 after time t 6 , a speed change command designating the encoder E 7 (described as “C#7” in the illustration; here also referred to as a ‘speed change command “C#7”’) is transmitted from the controller CT to the encoder E 1 at the speed V 1 . In this case, though not illustrated, the encoders E 1 to E 7 behave similarly to the above.

Then, when a first period T 11 has passed since time t 8 when the encoder E 1 receives the speed change command “C#7”, the communication speed of the encoder E 1 is changed from the speed V 1 to the speed V 3 . Also, when a first period T 12 has passed since time t 9 when the encoder E 2 receives the speed change command “C#7”, the communication speed of the encoder E 2 is changed from the speed V 1 to the speed V 3 . When a first period T 13 has passed since time t 10 when the encoder E 3 receives the speed change command “C#7”, the communication speed of the encoder E 3 is changed from the speed V 1 to the speed V 3 . Although not particularly illustrated, when a first period has passed since the time when the respective encoders E 4 to E 6 receive the speed change command “C#7”, the communication speed of the respective encoders E 4 to E 6 is changed from the speed V 1 to the speed V 3 . Also, when a first period T 17 has passed since time t 11 when the encoder E 7 receives the speed change command “C#7”, the communication speed of the encoder E 7 is changed from the speed V 1 to the speed V 3 . In this case, the timing of change when the communication speed of each of the encoders E 1 to E 7 is changed is substantially the same, that is, time t 13 .

After that, at time t 14 when a second period T 2 has passed since time t 7 when the controller Ct transmits the speed change command “C#7”, the communication speed of the controller CT is changed from the speed V 1 to the speed V 3 .

5. Example of Advantageous Effects of This Embodiment

As described above, in the encoder system ES according to this embodiment, the encoders E 1 to E 7 are connected to the controller CT in series via the cables 10 and sequentially transfer a signal transmitted from the controller CT. Thus, compared with the case where the controller CT and each of the encoders E 1 to E 7 are connected via a cable on a one-to-one basis, the wiring between the controller CT and the encoders E can be reduced or streamlined significantly.

In the embodiment, in the case where the command transmitter 110 of the controller CT transmits to the encoder E a command signal that changes this setting to the predetermined setting and then the first configurator 218 of the encoder E receives the command signal to change the functional setting of an encoder E from the current setting to a predetermined setting, the following effect may be obtained. For the sake of the above configuration, functional setting of the encoder E can be changed to an optimal setting according to the system configuration. Accordingly, various system configurations can be flexibly applicable.

In the embodiment, in the case where the command generator 106 of the controller CT generates a command signal designating one encoder E of the encoders E 1 to E 7 to change the above setting, the following effect may be obtained. That is, for the sake of the above configuration, it is possible to designate a specific encoder E to change the setting, to set the order of the encoders in which the setting is changed regardless of the arrangement of the encoders E, or to do the like.

›DESCRIPTION OF THE EMBODIMENTS · 12 of 15

In the embodiment, in a case where the command responder 208 of an encoder E transmits a response signal to the controller CT after receiving a command signal designating the encoder E itself and it determines that the current setting can be changed to a predetermined setting, thereby the first configurator 218 changes the setting, the following effect may be obtained. That is, for the sake of the above configuration, it is possible to designate a specific encoder E to change the setting with confirming whether communication is available. Therefore, the setting change of the encoder E can be secured. Also, since the controller CT needs not have any function to determine whether a desired setting change is applicable to the encoder E, the configurations (functional configuration and hardware configuration) of the controller CT can be simplified.

In the embodiment, in the case where the transmission controller 116 of the controller CT controls the command transmitter 110 to sequentially transmit a command signal designating each of the encoders E 1 to E 7 in a sequential order from the command signal designating the encoder E 1 to the command signal designating the encoder E 7 , the following effect may be obtained. That is, for the sake of the above configuration, it is possible to specify a position where a communication malfunction is occurring in the following manner. For examples, the communication malfunction (the influence of a wiring defect, noise or the like) is occurring between the controller CT and the encoder E 1 if there is no response signal from the encoder E 1 , or a communication malfunction (the influence of a wiring defect, noise or the like) is occurring between the encoder E 6 and the encoder E 7 if there is no response signal from the encoder E 7 though a response signal is sent back from the encoders E 1 to E 6 .

In the embodiment, in the case where the first reception determiner 114 of the controller CT determines whether or not a response signal is received from the encoder E to which a command signal is transmitted, and the transmission controller 116 controls the command transmitter 110 to transmit a command signal designating the further encoder Ef next to the encoder E in the above order if the first reception determiner 114 determines that a response signal is received from the encoder E, the following effect may be obtained. That is, for the sake of the above configuration, it is possible to confirm communication availability separately for each of the encoders E 1 to E 7 from the side closer to the controller CT to change the setting. Therefore, reliability of changing the setting of the encoder E can be enhanced. Also, it is possible to stop changing the setting in the encoder E in the middle to execute another process such as outputting an alarm.

Here, if timing of changing the setting of the communication mode with the controller CT is different among encoders E, namely, between the controller CT and each one of the encoders E 1 to E 7 that are connected to the controller CT in series, communication may not be possibly established during that period. That is, the setting of the communication mode needs to be changed simultaneously for all of the encoders E. In the embodiment, in a case where the synchronization controller 210 of an encoder E synchronizes the timing of change so that the timing of change when the first configurator 218 changes the setting is substantially the same as that of the other encoders E, based on the result of reception by the receiver 102 , the following effect may be obtained. That is, with the above configuration, the synchronization controller 210 can substantially synchronize the timing of setting change among the encoders E 1 to E 7 , even in the case of transmitting a command signal while confirming communication availability separately for each of the encoders E 1 to E 7 from the side closer to the controller CT. Thus, the influence caused by the difference in the timing of setting change can be lowered and the reliability of the system may be enhanced.

Here, the command signal designating the encoder E 7 is transmitted at last from the controller CT to pass through all the encoders E, thereby the command signal is received by this encoder E 7 . At this time, the receivers 202 of the respective encoders E 1 to E 7 receive the command signal substantially simultaneously. Therefore, in the embodiment, in the case where the first period determiner 216 of the synchronization controller 210 determines whether the first period has passed since the reception by the receiver 202 of the command signal designating the encoder E 7 , and where the first configurator 218 changes the setting if the first period determiner 216 determines that the first period has passed, the following effect may be obtained. That is, with the above configuration, the timings of setting change among the encoders E 1 to E 7 can be more accurately synchronized.

Here, when changing the setting of an encoder E, if the first configurator 218 is executing certain processing (transmission/reception of a signal or the like), there is a possibility that the setting cannot be changed normally. In the embodiment, in the case where the first configurator 218 changes the setting, the second reception determiner 214 determines that a signal is not received by the receiver 202 from the controller CT. Accordingly, the non-processing state of the first configurator 218 can be secured during the passage of the first period, and after that, the change of the setting can be executed. Therefore, the setting change can be more likely to be secured.

In the embodiment, in the case where the second configurator 126 of the controller CT changes the functional setting of the controller CT from the current setting to a predetermined setting corresponding to the target setting of the encoder E if the first reception determiner 114 determines that a response signal is received from the encoder E 7 , the following effect may be obtained. That is, since the above configuration enables the setting of the controller CT to be changed to a corresponding setting after it is determined that all the encoders E can cope with a desired setting change, the controller CT and the encoders E can cooperatively change the setting.

›DESCRIPTION OF THE EMBODIMENTS · 13 of 15

In the embodiment, in the case where the transmission stopper 120 of the controller CT stops the transmission of a signal to the encoder E after the command transmitter 110 transmits a command signal designating the encoder E 7 , then the second period determiner 122 determines whether or not the second period has passed since the command transmitter 110 transmits the command signal designating the encoder E 7 , and the second configurator 126 changes the setting if the second period determiner 122 determines that the second period has passed, the following effect may be obtained. That is, with the above configuration, the non-processing state of the second configurator 126 of the controller CT can be secured until the second period has passed, and after that, the change of the setting can be executed. Therefore, the setting change of the controller CT is more likely to be secured. Also, since the second period from the transmission of the command signal corresponding to the encoder E 7 connected most distantly from the controller CT to the change of the setting is set to be longer than the first period, the time for changing the setting in the encoder E can be secured and reliability of the change of setting in the encoder E is more likely to be enhanced.

In the embodiment, in the case where the first command transmitter 112 of the command transmitter 110 transmits to the encoder E a speed change command to change the communication speed to the second speed, and the first configurator 218 receives the speed change command to change the communication speed with the controller CT to the second speed, the following effect may be obtained. That is, since the system configuration optimizes the communication speed between the controller CT and the encoder E, various system configurations can be flexibly applicable. More specifically, the command transmitter 110 of the controller CT is configured to perform control to transmit the command signal to the encoder E at the first speed. That is, in the case of changing the communication speed of the encoder E, the controller CT communicates at a lower speed to change the communication speed of the encoder E to a higher speed. When the communication speed becomes higher, a communication delay arises due to the influence of physical specifications to cause a detection error. Therefore, compared with the case where the controller CT communicates at a higher speed to change the communication speed of the encoder E to a lower speed, for example, the reliability of communication at the time of transmitting a command signal can be enhanced.

Here, the communication cycle of the controller CT and the encoder E depends on the control cycle of the controller CT. Therefore, the communication cycle is constant regardless of the number of the encoders E. Accordingly, as the number of the encoders E connected to the controller CT becomes greater, the communication speed needs to be increased to shorten the data transfer time for each encoder E, because the position data needs to be collected from the greater number of encoders E in the constant communication cycle. In the embodiment, in the case where the speed setter 108 sets the second speed based on the number of the encoders E, the communication speed between the controller CT and the encoder E can be optimized according to the system configuration. Thus, various system configurations can be flexibly applicable.

6. Modifications

Although the embodiments are described above in detail with reference to the accompanying drawings, the scope of the technical idea described in the claims is not limited to these embodiments. A person skilled in the arts may contemplate various changes, modifications, combinations and the like within the scope of the technical idea. Therefore, as a matter of course, the disclosed technique with such changes, modifications, combinations and the like should fall within the scope of the technical idea. Such modifications and the like will be described below.

6-1. Case of Changing Transmission Channel Code

In the embodiment, the case where the communication speed of the encoders E 1 to E 7 with the controller CT is changed is described as an example. However, the transmission channel code between the respective encoders E 1 to E 7 and the controller CT can be changed as well. The transmission channel code may be, for example, RZ code, NRZ code, NRZI code, AMI code, CMI code, Manchester code or the like.

In this modification, the first command transmitter 112 of the command transmitter 110 of the controller CT transmits the transmission channel code change command to the encoder E 1 via the communicator 150 . The transmission channel code change command transmitted from the controller CT to the encoder E 1 is sequentially transferred up to the encoder E 7 by the encoders E 1 to E 7 . Then, if the first configurator 218 of each of the encoders E 1 to E 7 receives the transmission channel code change command, the first configurator 218 changes the transmission channel code of the communicators 250 and 260 to the predetermined transmission channel code by the transmission channel code change command.

According to this modification, since the transmission channel code between the controller CT and the encoder E can be changed to an optimal transmission channel code according to the system configuration, various system configurations can be flexibly dealt with.

6-2. Case of Changing Position Latch Timing

In the embodiments and the modifications, changing the communication speed or changing the transmission channel code between the encoders E 1 to E 7 and the controller CT are described as the examples of changing the communication mode. However, the position latch timing of the encoders E 1 to E 7 can be changed as well.

In this modification, a third command transmitter (not illustrated) of the command transmitter 110 of the controller CT is configured to perform control to transmit to the encoder E 1 a timing change command (corresponding to an example of a third command signal) which changes the position latch timing from the current timing to a predetermined timing. The timing change command transmitted from the controller CT to the encoder E 1 is sequentially transferred up to the encoder E 7 by the encoders E 1 to E 7 . Then, if the first configurator 218 of each of the encoders E 1 to E 7 receives the timing change command, the first configurator 218 changes the position latch timing to the predetermined timing by the timing change command.

›DESCRIPTION OF THE EMBODIMENTS · 14 of 15

According to this modification, the following effect can be achieved. That is, when the encoders E 1 to E 7 are connected to the controller CT in series, the timing of receiving the position request command transmitted from the controller CT may be delayed at the encoder E that is more distanced from the controller CT. Therefore, when the encoders E 1 to E 7 acquire position data in response to the position request command, the position latch timing of acquiring the position data differs among the encoders E 1 to E 7 , which turns out lowering the reliability of the position data. In this modification, since the timing of acquiring the position data can be coordinated among the respective encoders E 1 to E 7 , the reliability of the position data can be enhanced.

7. Example of Configurations of Controller and Encoders

7-1. Example of Configuration of Controller

Hereinafter, an example of the configuration of the controller CT which realizes the processing by the processing device 100 according to the above embodiment and modifications will be described with reference to FIG. 11 .

As shown in FIG. 11 , the controller CT includes, for example, a CPU 901 , a ROM 903 , a RAM 905 , a control device 907 such as a dedicated integrated circuit for a specific purpose like AISC or FPGA, or another electric circuit, an input device 913 , an output device 915 , a storage device 917 , a drive 919 , a connection port 921 , and a communication device 923 . These components are connected in such a way as to be able to communicate signals with each other via a bus 909 and an input/output interface 911 .

A program can be recorded in recording devices such as the ROM 903 , the RAM 905 , and the storage device 917 .

A program can be also recorded temporarily or permanently on a removable storage medium 925 like a magnetic disk such as a flexible disk, an optical disk various kinds of CDs, MO disks, and DVDs, or a semiconductor memory. Such a removable storage medium 925 can be also provided as so-called packaged software. In this case, the program recorded on the removable storage medium 925 may be read out by the drive 919 and recorded in the above recording device via the input/output interface 911 and the bus 909 or the like.

A program can be also recorded at a download site, another computer, another recording medium and the like (not illustrated). In this case, the program is transferred via a network NW such as a LAN or the internet, and the communication device 923 receives this program. The program received by the communication device 923 may be recorded in the above recording device via the input/output interface 911 and the bus 909 or the like.

A program can be also recorded in a suitable external connection device 927 . In this case, the program may be transferred via a suitable connection port 921 and recorded in the above recording device via the input/output interface 911 and the bus 909 or the like.

By the CPU 901 executing various kinds of processing according to the program recorded in the recording device, the processing by the processing device 100 can be implemented. At this time, for example, the CPU 901 may directly read out and execute the program from the recording device, or may temporarily load the program on the RAM 905 and subsequently execute the program. Moreover, for example, if the CPU 901 receives the program via the communication device 923 , the drive 919 , or the connection port 921 , the CPU 901 may directly execute the received program without recording the program in the recording device.

The CPU 901 may also carry out various kinds of processing based on a signal or information inputted from the input device 913 such as a mouse, keyboard, or microphone (not illustrated), for example, according to need.

The CPU 901 may also output the result of executing the processing from the output device 915 such as a display device or audio output device. Moreover, the CPU 901 may transmit the result of the processing via the communication device 923 or the connection port 921 according to need, or may record the result of the processing in the recording device or the removable storage medium 925 .

While the case where the processing by the processing device 100 is implemented by the program executed by the CPU 901 is described above, a part or the entirety of the processing may be executed by the control device 907 .

7-2. Example of Configuration of Encoders

Hereinafter, an example of the configuration of each of the encoders E 1 to E 7 implementing the processing by the processing device 200 according to the above embodiment and modifications will be described with reference to FIG. 12 .

As shown in FIG. 12 , each of the encoders E 1 to E 7 includes, for example, a CPU 801 , a ROM 803 , a RAM 805 , a control device 807 such as a dedicated integrated circuit for a specific purpose like AISC or FPGA, or another electric circuit, an input device 813 , an output device 815 , a storage device 817 , a drive 819 , a connection port 821 , and communication devices 823 and 825 . These components are connected in such a way as to be able to communicate signals with each other via a bus 809 and an input/output interface 811 .

A program can be recorded in recording devices such as the ROM 803 , the RAM 805 , and the storage device 817 .

A program can be also recorded temporarily or permanently on a removable storage medium 825 like a magnetic disk such as a flexible disk, an optical disk such as various kinds of CDs, MO disks, and DVDs, or a semiconductor memory. Such a removable storage medium 825 can be also provided as so-called packaged software. In this case, the program recorded on the removable storage medium 825 may be read out by the drive 819 and recorded in the above recording device via the input/output interface 811 and the bus 809 or the like.

A program can be also recorded at a download site, another computer, another recording medium and the like (not illustrated). In this case, the program is transferred via a network NW such as a LAN or the internet, and the communication devices 823 and 825 receive this program. The program received by the communication device 823 may be recorded in the above recording device via the input/output interface 811 and the bus 809 or the like.

›DESCRIPTION OF THE EMBODIMENTS · 15 of 15

A program can be also recorded in a suitable external connection device 827 . In this case, the program may be transferred via a suitable connection port 821 and recorded in the above recording device via the input/output interface 811 and the bus 809 or the like.

By the CPU 801 executing various kinds of processing according to the program recorded in the recording device, the processing by the processing device 200 can be implemented. At this time, for example, the CPU 801 may directly read out and execute the program from the recording device, or may temporarily load the program on the RAM 805 and subsequently execute the program. Moreover, for example, if the CPU 801 receives the program via the communication device 823 , the drive 819 , or the connection port 821 , the CPU 801 may directly execute the received program without recording the program in the recording device.

The CPU 801 may also carry out various kinds of processing based on a signal or information inputted from the input device 813 such as a mouse, keyboard, or microphone (not illustrated), for example, according to need.

The CPU 801 may also output the result of executing the processing from the output device 815 such as a display device, audio output device or the like. Moreover, the CPU 801 may transmit the result of the processing via the communication device 823 or the connection port 821 according to need, or may record the result of the processing in the recording device or the removable storage medium 825 .

While the case where the processing by the processing device 200 is implemented by the program executed by the CPU 801 is described above, a part or the entirety of the processing may be executed by the control device 807 .

The arrows shown in FIGS. 2, 3, 11, and 12 indicate examples of flows of signals and should not limit the directions in which the signals flow.

The steps described in the flowcharts of FIGS. 5 to 9 include processing steps that are not necessarily carried out in time series but executed in parallel or individually, as well as processing steps carried out in time series in the described orders. Also, in some cases, the order of processing steps carried out in time series can be changed suitably.

Techniques according to the embodiments and modifications may be suitably combined, other than those described above.

Although not described specifically with an example, various changes can be made to the embodiment and modifications without departing from the scope of the disclosure.

It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and alterations may occur depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.

Obviously, numerous modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein.

Claims as granted

16 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section G — Physics
  • G01D5/244
  • G01D5/00
  • G08C19/20
Section H — Electricity
  • H04Q9/00

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomApr 2017Jul 2017Oct 2017Jan 2018Apr 2018Jul 2018Oct 2018Jan 2019USPTOApplicantNon-final rejectionResponse after non-finalNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
1.6 y
599 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Hai Phan
art unit 2685 · TC 2600
Citations: 20 back · 1 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20182020202220242026202820302032203420362038Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock