SLAVE APPARATUS, RELAY APPARATUS, MASTER-SLAVE SYSTEM, SLAVE CONTROL METHOD, RELAY METHOD, AND NON-TRANSITORY COMPUTER READABLE MEDIUM
20230124290 · 2023-04-20
Assignee
Inventors
Cpc classification
H04J3/0638
ELECTRICITY
H04L7/0008
ELECTRICITY
H04J3/0667
ELECTRICITY
International classification
Abstract
A slave apparatus (300) includes a clock extraction unit (310) and a time-point management unit (350). As long as the slave apparatus (300) receives serial data, the clock extraction unit (310) extracts a communication clock from the serial data being received. The time-point management unit (350) includes a timekeeper (351) driven based on the communication clock.
Claims
1. A slave apparatus which is, in a wired manner, connected to a master apparatus and which receives from the master apparatus, using a communication clock, as reception serial data, data generated by performing serialization on master transmission data transmitted by the master apparatus, the master apparatus being equipped with an oscillator producing a clock signal as the communication clock, the slave apparatus comprising: processing circuitry to extract the communication clock as a reception-side communication clock, from the reception serial data, as long as the slave apparatus receives the reception serial data; and to include a slave timekeeper driven based on the reception-side communication clock, and wherein the master apparatus is equipped with a master timekeeper driven based on the clock signal produced by the oscillator, wherein the slave apparatus receives as the reception serial data, search serial data obtained by performing serialization on master transmission data including information which means a search, wherein the processing circuitry generates response data including information which means a response to the search serial data, and generates slave time-point synchronization information to be used for synchronizing the slave timekeeper to the master timekeeper, and generates response serial data by performing serialization on the response data based on the reception-side communication clock, and transmits the response serial data to the master apparatus, wherein the slave apparatus receives as the reception serial data, synchronization serial data obtained by performing serialization on master transmission data including master time-point synchronization information to be used for synchronizing the slave timekeeper to the master timekeeper, wherein the processing circuitry synchronizes the slave timekeeper to the master timekeeper based on the slave time-point synchronization information and the master time-point synchronization information, and generates reception-side data clock by dividing a frequency of the reception-side communication clock, wherein the slave timekeeper is driven by the reception-side data clock, wherein the master transmission data has been encoded so as to include a constituent of a master data clock generated by dividing a frequency of the communication clock, wherein the processing circuitry generates transmission data to be transmitted to a network to which the master apparatus belongs, generates deserialized reception data by performing deserialization on the reception serial data, using the reception-side communication clock, and decodes the deserialized reception data, using the reception-side data clock, generates a transmission-side communication clock by multiplying the frequency of the reception-side communication clock by an even number, generates a transmission-side data clock by dividing a frequency of the transmission-side communication clock, and generates encoded transmission data including a constituent of the transmission-side data clock by encoding the transmission data, using the transmission-side data clock, generates transmission serial data by performing serialization on the encoded transmission data, using the transmission-side communication clock, and transmits the transmission serial data.
2. The slave apparatus according to claim 1, wherein the master time-point synchronization information includes a time point 1 indicated by the master timekeeper at a time when the master apparatus transmits the search serial data, and a time point 4 indicated by the master timekeeper at a time when the master apparatus receives the response serial data, wherein the slave time-point synchronization information includes a time point 2 indicated by the slave timekeeper at a time when the slave apparatus receives the search serial data, and a time point 3 indicated by the slave timekeeper at a time when the slave apparatus transmits the response serial data, and wherein the processing circuitry synchronizes the slave timekeeper to the master timekeeper, using the time point 1, the time point 2, the time point 3, and the time point 4.
3. The slave apparatus according to claim 1, which has an identifier for identifying the slave apparatus, wherein the processing circuitry generates as the transmission data, identification data including information on the identifier, and generates identification serial data as the transmission serial data, using the identification data.
4. The slave apparatus according to claim 3, which is connected, in a wired manner, to another slave apparatus having the same function as that of the slave apparatus, wherein when the slave apparatus receives the identification serial data, the processing circuitry generates as the transmission data, time-point data including information on a time point indicated by the slave timekeeper at a time when the slave apparatus receives the identification serial data, and wherein the processing circuitry generates as the transmission serial data, time-point serial data, using the time-point data.
5. The slave apparatus according to claim 3, wherein the processing circuitry executes communication according to a regular process which does not need to be based on highly accurate time-point synchronization, and wherein when the regular process is executed, the processing circuitry does not operate.
6. A relay apparatus which is, in a wired manner, connected to a master apparatus and which receives from the master apparatus, using a communication clock, as reception serial data, data generated by performing serialization on master transmission data transmitted by the master apparatus, the master apparatus being equipped with an oscillator producing a clock signal as the communication clock, the relay apparatus comprising: processing circuitry to extract the communication clock as a reception-side communication clock, from the reception serial data, as long as the relay apparatus receives the reception serial data; and to include a relay timekeeper driven based on the reception-side communication clock, and wherein the master apparatus is equipped with a master timekeeper driven based on the clock signal produced by the oscillator, wherein the relay apparatus receives as the reception serial data, search serial data obtained by performing serialization on master transmission data including information which means a search, wherein the processing circuitry generates response data including information which means a response to the search serial data, and generates slave time-point synchronization information to be used for synchronizing the relay timekeeper to the master timekeeper, and generates response serial data by performing serialization on the response data based on the reception-side communication clock, and transmits the response serial data to the master apparatus, wherein the relay apparatus receives as the reception serial data, synchronization serial data obtained by performing serialization on master transmission data including master time-point synchronization information to be used for synchronizing the relay timekeeper to the master timekeeper, wherein the processing circuitry synchronizes the relay timekeeper to the master timekeeper based on the slave time-point synchronization information and the master time-point synchronization information, and generates reception-side data clock by dividing a frequency of the reception-side communication clock, wherein the relay timekeeper is driven by the reception-side data clock, wherein the master transmission data has been encoded so as to include a constituent of a master data clock generated by dividing a frequency of the communication clock, wherein the processing circuitry generates transmission data to be transmitted to a network to which the master apparatus belongs, generates deserialized reception data by performing deserialization on the reception serial data, using the reception-side communication clock, and decodes the deserialized reception data, using the reception-side data clock, generates a transmission-side communication clock by multiplying the frequency of the reception-side communication clock by an even number, generates a transmission-side data clock by dividing a frequency of the transmission-side communication clock, and generates encoded transmission data including a constituent of the transmission-side data clock by encoding the transmission data, using the transmission-side data clock, generates transmission serial data by performing serialization on the encoded transmission data, using the transmission-side communication clock, and transmits the transmission serial data.
7. A master-slave system comprising: a master apparatus equipped with an oscillator producing a clock signal as a communication clock; and a plurality of slave apparatuses according to claim 1, wherein the master apparatus and the plurality of slave apparatuses are connected in a wired manner so as not to form a closed loop.
8. The master-slave system according to claim 7, comprising: at least one relay apparatus according to claim 6; and the plurality of slave apparatuses according to claim 1, wherein the master apparatus, the plurality of slave apparatuses, and at least one relay apparatus are connected in a wired manner so as not to form a closed loop, and wherein a slave apparatus connected to the master apparatus via one of at least one relay apparatus treats the one of at least one relay apparatus as the master apparatus and is connected to the one of at least one relay apparatus.
9. A slave control method by a slave apparatus which is, in a wired manner, connected to a master apparatus and which receives from the master apparatus, using a communication clock, as reception serial data, data generated by performing serialization on master transmission data transmitted by the master apparatus, the master apparatus being equipped with an oscillator producing a clock signal as the communication clock, the slave control method comprising: extracting, by a clock extraction unit, the communication clock as a reception-side communication clock, from the reception serial data, as long as the slave apparatus receives the reception serial data; including, by a time-point management unit, a slave timekeeper driven based on the reception-side communication clock, and wherein the master apparatus is equipped with a master timekeeper driven based on the clock signal produced by the oscillator, and wherein the slave apparatus receives as the reception serial data, search serial data obtained by performing serialization on master transmission data including information which means a search; generating, by a control unit, response data including information which means a response to the search serial data, and generating slave time-point synchronization information to be used for synchronizing the slave timekeeper to the master timekeeper; generating, by a serial-signal transmission unit, response serial data by performing serialization on the response data based on the reception-side communication clock, and transmitting the response serial data to the master apparatus, and wherein the slave apparatus receives as the reception serial data, synchronization serial data obtained by performing serialization on master transmission data including master time-point synchronization information to be used for synchronizing the slave timekeeper to the master timekeeper, and wherein the control unit synchronizes the slave timekeeper to the master timekeeper based on the slave time-point synchronization information and the master time-point synchronization information; generating, by a reception-side frequency division unit, reception-side data clock by dividing a frequency of the reception-side communication clock, and wherein the slave timekeeper is driven by the reception-side data clock, wherein the master transmission data has been encoded so as to include a constituent of a master data clock generated by dividing a frequency of the communication clock, and wherein the control unit generates transmission data to be transmitted to a network to which the master apparatus belongs; generating, by a serial-signal reception unit, deserialized reception data by performing deserialization on the reception serial data, using the reception-side communication clock, and decoding the deserialized reception data, using the reception-side data clock; generating, by a frequency multiplication unit, a transmission-side communication clock by multiplying the frequency of the reception-side communication clock by an even number; and generating, by a transmission-side frequency division unit, a transmission-side data clock by dividing a frequency of the transmission-side communication clock, and wherein the serial-signal transmission unit generates encoded transmission data including a constituent of the transmission-side data clock by encoding the transmission data, using the transmission-side data clock, generates transmission serial data by performing serialization on the encoded transmission data, using the transmission-side communication clock, and transmits the transmission serial data.
10. A non-transitory computer readable medium storing a slave control program which causes a computer which is, in a wired manner, connected to a master apparatus and which receives from the master apparatus, using a communication clock, as reception serial data, data generated by performing serialization on master transmission data transmitted by the master apparatus, the master apparatus being equipped with an oscillator producing a clock signal as the communication clock: to extract the communication clock as a reception-side communication clock, from the reception serial data, as long as the computer receives the reception serial data; and to drive a slave timekeeper based on the reception-side communication clock, and wherein the master apparatus is equipped with a master timekeeper driven based on the clock signal produced by the oscillator, and wherein the computer receives as the reception serial data, search serial data obtained by performing serialization on master transmission data including information which means a search, and the slave control program causing the computer: to generate response data including information which means a response to the search serial data, and generate slave time-point synchronization information to be used for synchronizing the slave timekeeper to the master timekeeper; and to generate response serial data by performing serialization on the response data based on the reception-side communication clock, and to transmit the response serial data to the master apparatus, and wherein the computer receives as the reception serial data, synchronization serial data obtained by performing serialization on master transmission data including master time-point synchronization information to be used for synchronizing the slave timekeeper to the master timekeeper, and the slave control program causing a computer: to synchronize the slave timekeeper to the master timekeeper based on the slave time-point synchronization information and the master time-point synchronization information; and to generate reception-side data clock by dividing a frequency of the reception-side communication clock, and wherein the slave timekeeper is driven by the reception-side data clock, and wherein the master transmission data has been encoded so as to include a constituent of a master data clock generated by dividing a frequency of the communication clock, and the slave control program causing the computer: to generate transmission data to be transmitted to a network to which the master apparatus belongs; to generate deserialized reception data by performing deserialization on the reception serial data, using the reception-side communication clock, and to decode the deserialized reception data, using the reception-side data clock; to generate a transmission-side communication clock by multiplying the frequency of the reception-side communication clock by an even number; to generate a transmission-side data clock by dividing a frequency of the transmission-side communication clock; and to generate encoded transmission data including a constituent of the transmission-side data clock by encoding the transmission data, using the transmission-side data clock, to generate transmission serial data by performing serialization on the encoded transmission data, using the transmission-side communication clock, and to transmit the transmission serial data.
11. A relay method by a relay apparatus which is, in a wired manner, connected to a master apparatus and which receives from the master apparatus, using a communication clock, as reception serial data, data generated by performing serialization on master transmission data transmitted by the master apparatus, the master apparatus being equipped with an oscillator producing a clock signal as the communication clock, the relay method comprising: extracting, by a clock extraction unit, the communication clock as a reception-side communication clock, from the reception serial data, as long as the relay apparatus receives the reception serial data; including, by a time-point management unit, a relay timekeeper driven based on the reception-side communication clock, and wherein the master apparatus is equipped with a master timekeeper driven based on the clock signal produced by the oscillator, and wherein the relay apparatus receives as the reception serial data, search serial data obtained by performing serialization on master transmission data including information which means a search; generating, by a control unit, response data including information which means a response to the search serial data, and generating slave time-point synchronization information to be used for synchronizing the relay timekeeper to the master timekeeper; generating, by a serial-signal transmission unit, response serial data by performing serialization on the response data based on the reception-side communication clock, and transmitting the response serial data to the master apparatus, and wherein the relay apparatus receives as the reception serial data, synchronization serial data obtained by performing serialization on master transmission data including master time-point synchronization information to be used for synchronizing the relay timekeeper to the master timekeeper, and wherein the control unit synchronizes the relay timekeeper to the master timekeeper based on the slave time-point synchronization information and the master time-point synchronization information; generating, by a reception-side frequency division unit, reception-side data clock by dividing a frequency of the reception-side communication clock, and wherein the relay timekeeper is driven by the reception-side data clock, wherein the master transmission data has been encoded so as to include a constituent of a master data clock generated by dividing a frequency of the communication clock, and wherein the control unit generates transmission data to be transmitted to a network to which the master apparatus belongs; generating, by a serial-signal reception unit, deserialized reception data by performing deserialization on the reception serial data, using the reception-side communication clock, and decoding the deserialized reception data, using the reception-side data clock; generating, by a frequency multiplication unit, a transmission-side communication clock by multiplying the frequency of the reception-side communication clock by an even number; and generating, by a transmission-side frequency division unit, a transmission-side data clock by dividing a frequency of the transmission-side communication clock, and wherein the serial-signal transmission unit generates encoded transmission data including a constituent of the transmission-side data clock by encoding the transmission data, using the transmission-side data clock, generates transmission serial data by performing serialization on the encoded transmission data, using the transmission-side communication clock, and transmits the transmission serial data.
12. A non-transitory computer readable medium storing a relay program which causes a computer which is, in a wired manner, connected to a master apparatus and which receives from the master apparatus, using a communication clock, as reception serial data, data generated by performing serialization on master transmission data transmitted by the master apparatus, the master apparatus being equipped with an oscillator producing a clock signal as the communication clock: to extract the communication clock as a reception-side communication clock, from the reception serial data, as long as the computer receives the reception serial data; and to drive a relay timekeeper based on the reception-side communication clock, and wherein the master apparatus is equipped with a master timekeeper driven based on the clock signal produced by the oscillator, and wherein the computer receives as the reception serial data, search serial data obtained by performing serialization on master transmission data including information which means a search, and the relay program causing the computer: to generate response data including information which means a response to the search serial data, and generate slave time-point synchronization information to be used for synchronizing the relay timekeeper to the master timekeeper; and to generate response serial data by performing serialization on the response data based on the reception-side communication clock, and to transmit the response serial data to the master apparatus, and wherein the computer receives as the reception serial data, synchronization serial data obtained by performing serialization on master transmission data including master time-point synchronization information to be used for synchronizing the relay timekeeper to the master timekeeper, and the relay program causing a computer: to synchronize the relay timekeeper to the master timekeeper based on the slave time-point synchronization information and the master time-point synchronization information; and to generate reception-side data clock by dividing a frequency of the reception-side communication clock, and wherein the relay timekeeper is driven by the reception-side data clock, and wherein the master transmission data has been encoded so as to include a constituent of a master data clock generated by dividing a frequency of the communication clock, and the relay program causing the computer: to generate transmission data to be transmitted to a network to which the master apparatus belongs; to generate deserialized reception data by performing deserialization on the reception serial data, using the reception-side communication clock, and to decode the deserialized reception data, using the reception-side data clock; to generate a transmission-side communication clock by multiplying the frequency of the reception-side communication clock by an even number; to generate a transmission-side data clock by dividing a frequency of the transmission-side communication clock; and to generate encoded transmission data including a constituent of the transmission-side data clock by encoding the transmission data, using the transmission-side data clock, to generate transmission serial data by performing serialization on the encoded transmission data, using the transmission-side communication clock, and to transmit the transmission serial data.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
DESCRIPTION OF EMBODIMENTS
[0037] In descriptions of the embodiments and the drawings, the same reference numerals are assigned to the same elements or corresponding elements. Descriptions of elements assigned the same reference numerals will be omitted or simplified as appropriate. Arrows in the drawings mainly indicate flows of data or flows of processes.
First Embodiment
[0038] Below, details of the present embodiment will be described with reference to the drawings.
Description of Configuration
[0039]
[0040] Each of a plurality of slave apparatuses 300 is, in a wired manner, connected to the one master apparatus 100 by T-shape branching, multidrop connection, or a combination of these. Note that, the master apparatus 100 and the plurality of slave apparatuses 300 are connected by a network cable in a wired manner so as not to form a closed loop. The master-slave system 90 may include a slave apparatus whose configuration is different from that of the slave apparatus 300.
[0041] Note that, each slave apparatus 300 is assumed to have a unique ID (Identification). That is, each slave apparatus 300 has an identifier for identifying each slave apparatus 300. The master apparatus 100 is assumed to know the ID of each slave apparatus 300.
[0042]
[0043] The T-shape branching is not limited to branching into three directions as illustrated in
[0044]
[0045] The number of network cables is not limited to two as illustrated in
[0046] The network cables are not limited to a pair of cables, and may be a set of three or more cables, as illustrated in
[0047]
[0048] The highly accurate oscillation unit 110 generates a transmission-side communication clock 111 and provides the generated transmission-side communication clock 111 for the serial-signal transmission unit 150 and the transmission-side frequency division unit 120. The highly accurate oscillation unit 110 is typically made up of a highly accurate oscillator. A specific example of the highly accurate oscillator is an oscillator which has a characteristic that a difference between a center frequency and a nominal value is small, a characteristic that drift is small, a characteristic that a jitter constituent is a little, and a characteristic of being insusceptible to outside-environment factors such as temperature and humidity. A specific example of the highly accurate oscillator is an oscillator conforming to IEEE (Institute of Electrical and Electronics Engineers) 802.1AS-2011 or IEEE1588-2008.
[0049] The highly accurate oscillator is also referred to as an oscillator. The oscillator produces a clock signal as a communication clock. The oscillator included in the master apparatus 100 is highly accurate compared with an oscillator included in the slave apparatus 300.
[0050] The transmission-side communication clock 111 is a clock signal used when data is serialized.
[0051] The transmission-side frequency division unit 120 receives the transmission-side communication clock 111, generates a transmission-side data clock 121 by dividing a frequency of the transmission-side communication clock 111, and provides the generated transmission-side data clock 121 for the serial-signal transmission unit 150, the time-point management unit 130, and the control unit 140. The transmission-side frequency division unit 120 is typically made up of a frequency divider.
[0052] The transmission-side data clock 121 is a clock signal used for generating a signal including a clock constituent. In some cases, the transmission-side data clock is also referred to as a transmission-side inside data clock.
[0053] The time-point management unit 130 receives the transmission-side data clock 121, and manages a time-point, using the received transmission-side data clock 121. The time-point management unit 130 includes a timekeeper 131.
[0054] The timekeeper 131 operates, using the transmission-side data clock 121 as a reference point, and delivers time-point information to the control unit 140. Further, the control unit 140 performs an operation of adjusting the time point of the timekeeper 131 as necessary. The timekeeper 131 is also referred to as a master timekeeper. The master timekeeper is driven based on the clock signal produced by the oscillator.
[0055] The control unit 140 generates transmission data 141, and delivers the generated transmission data 141 to the serial-signal transmission unit 150. The transmission data 141 is data including information to be transmitted to the slave apparatus 300.
[0056] Further, the control unit 140 receives reception data 181 and processes the received reception data 181 as appropriate. The reception data 181 is data including information received from the slave apparatus 300.
[0057] The control unit 140 may record each of a time point when reception serial data 101 is received, and a time point when transmission serial data 151 is transmitted.
[0058] The serial-signal transmission unit 150 generates the transmission serial data 151, using the transmission-side data clock 121, the transmission-side communication clock 111, and the transmission data 141, and sends out the generated transmission serial data 151 to the network cable.
[0059] The transmission serial data 151 is a serial signal including a clock constituent. A specific example of the serial signal including the clock constituent is a signal encoded according to an 8 b/10 b encoding method or a 128 b/132 b encoding method. The 8 b/10 b encoding method is one of methods of communicating the data and the clock signal through a pair of serial signal lines. The 8 b/10 b encoding method is to add a redundant bit to the data, to avoid a long consecutive sequence of bits having the same values, and then to perform serialization on the data. Performing serialization is the same meaning as serializing.
[0060] The clock extraction unit 160 receives the reception serial data 101, and extracts a reception-side communication clock 161 from the received reception serial data 101. The clock extraction unit 160 is typically made up of a PLL (a Phase-locked loop). The clock extraction unit 160 extracts the reception-side communication clock 161 from the reception serial data 101 transmitted from the slave apparatus 300 through the network cable. The reception serial data 101 includes a clock constituent. The reception-side communication clock 161 is a clock signal used when the serialized data is deserialized.
[0061] The reception-side frequency division unit 170 divides the frequency of the reception-side communication clock 161, generates a reception-side data clock 171, and provides the generated reception-side data clock 171 for the serial-signal reception unit 180. The reception-side frequency division unit 170 is typically made up of a frequency divider.
[0062] The reception-side data clock 171 is a clock signal used for decoding the signal including the clock constituent. In some cases, the reception-side data clock is also referred to as reception-side inside data clock.
[0063] The serial-signal reception unit 180 generates the reception data 181 by decoding reception serial data 182, and gives the generated reception data 181 to the control unit 140. The reception serial data 182 includes a clock constituent.
[0064]
[0065] Below, as an example, a case where the 8 b/10 b encoding method is adopted for the serial-signal transmission unit 150 will be described.
[0066] The encoder 155 is compatible with the 8 b/10 b encoding method, operates by the transmission-side data clock 121, and generates the encoded transmission data of 10 bits by adding redundant data of 2 bits to the given transmission data 141 of 8 bits (1 byte).
[0067] The serializer 156 performs serialization on the encoded transmission data, using the transmission-side communication clock.
[0068] The serial data generated in such a way is the transmission serial data 151 including the clock constituent. Further, when there is no transmission data, the encoder 155 keeps outputting a code of 10 bits which means “no data”. Consequently, the serial data including the clock constituent is constantly output from the serializer.
[0069]
[0070] Below, as an example, the serial-signal reception unit 180 will be described based on an assumption that the serial-signal reception unit 180 receives the data encoded according to the 8 b/10 b encoding method.
[0071] One of methods of retrieving the original data and the communication clock from the serial data including the clock constituent is a method which uses the PLL.
[0072] The deserializer 185 extracts the encoded reception data from the serial data including the clock constituent, using the reception-side communication clock 161 given from the clock extraction unit 160.
[0073] The decoder 186 operates by the reception-side data clock 171, and extracts the reception data of 8 bits which does not include the redundant data, from the encoded reception data, using the reception-side data clock 171. However, when the encoded reception data is a code of 10 bits which indicates “no data”, the decoder 186 does not output the reception data.
[0074] The reception-side data clock 171 is generated from the communication clock by the reception-side frequency division unit 170 and given to the decoder 186. At this time, accuracy of the communication clock extracted by the clock extraction unit 160 depends on accuracy of the communication clock produced by the oscillator on the transmission-side. That is, a reception side can obtain a communication clock whose accuracy is the same as or equivalent to the accuracy of that on a transmission side. The accuracy of the communication clock is also referred to as frequency stability.
[0075]
[0076] Also, a data clock is utilized as an operation clock of a processor and the like.
[0077] The processor 11 is an IC (Integrated Circuit) which performs a computation process, and controls the pieces of hardware included in a computer. A specific example of the processor 11 is a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or a GPU (Graphics Processing Unit).
[0078] The master apparatus 100 may include a plurality of processors which substitute the processor 11. The plurality of processors share a role of the processor 11.
[0079] The memory 12 is typically a volatile storage device. The memory 12 is also referred to as a main storage device or a main memory. A specific example of the memory 12 is a RAM (Random Access Memory). Data stored in the memory 12 is to be stored in the auxiliary storage device 13 as necessary.
[0080] The auxiliary storage device 13 is typically a non-volatile storage device. A specific example of the auxiliary storage device 13 is a ROM (Read Only Memory), an HDD (Hard Disk Drive), or a flash memory. Data stored in the auxiliary storage device 13 is loaded into the memory 12 as necessary.
[0081] The memory 12 and the auxiliary storage device 13 may be configured as a whole.
[0082] A master control process is a process executed by the control unit 140. As a specific example, the master control process is stored in the auxiliary storage device 13 as a program, and executed by the processor 11. The processor 11 accesses the memory 12 or the input/output interface 14 as necessary. The control unit 140 may include a different element.
[0083] The auxiliary storage device 13 stores a master control program. The master control program is a program which causes the computer to realize a function of at least the control unit 140 among the units included in the master apparatus 100. The master control program is loaded into the memory 12 and executed by the processor 11. A function of each of the units included in the slave apparatus 300 may be realized by software.
[0084] The control unit 140 utilizes a storage device as appropriate. As a specific example, the storage device is made up of at least one of the memory 12, the auxiliary storage device 13, a register in the processor 11, and a cash memory in the processor 11. Note that, data and information have the equivalent meanings in some cases. The storage device may be independent from the computer.
[0085] Each of a function of the memory 12 and a function of the auxiliary storage device 13 may be realized by a different storage device.
[0086] A hardware configuration of each of units other than the control unit 140 may be equivalent to the hardware configuration of the control unit 140.
[0087] The master apparatus 100 may be made up of a plurality of computers.
[0088] The master apparatus 100 may include a communication device 15. The communication device 15 is a receiver and a transmitter. A specific example of the communication device 15 is a communication chip or an NIC (Network Interface Card).
[0089] Any programs described in the present specification may be recorded in a non-volatile recording medium which is computer readable. A specific example of the non-volatile recording medium is an optical disc or a flash memory. Any programs described in the present specification may be provided as a program product.
[0090]
[0091] The clock extraction unit 310 receives reception serial data 301, extracts a reception-side communication clock 311 from the received reception serial data 301, and provides the extracted reception-side communication clock 311 for the serial-signal reception unit 360. As long as the slave apparatus 300 receives the reception serial data 301, the clock extraction unit 310 extracts the communication clock from the reception serial data 301, as the reception-side communication clock 311. The clock extraction unit 310 is typically made up of the PLL.
[0092] The reception serial data 301 is a signal transmitted from the master apparatus 100 through the network cable and includes a clock constituent. The reception serial data 301 is data generated by performing serialization on master transmission data, using the communication clock. The master transmission data includes information transmitted by the master apparatus. The master transmission data may be data encoded so that the data includes a constituent of a master data clock. The master data clock is a clock signal generated by dividing the frequency of the communication clock.
[0093] The reception-side communication clock 311 is equivalent to the reception-side communication clock 161. According to a principle described above, clock accuracy of the reception-side communication clock 311 is the same as or equivalent to clock accuracy of the transmission-side communication clock 111.
[0094] The reception-side frequency division unit 320 receives the reception-side communication clock 311, generates a reception-side data clock 321 by dividing the frequency of the reception-side communication clock 311, and provides the generated reception-side data clock 321 for the serial-signal reception unit 360, the time-point management unit 350, and the control unit 370. The reception-side frequency division unit 320 is typically made up of a frequency divider.
[0095] The reception-side data clock 321 is equivalent to the reception-side data clock 171.
[0096] The auxiliary oscillation unit 330 generates an auxiliary clock 331, and provides the generated auxiliary clock 331 for the time-point management unit 350, when the reception-side frequency division unit 320 cannot generate the reception-side data clock 321 due to absence of the reception serial data 301. The auxiliary oscillation unit 330 is typically made up of the oscillator.
[0097] The auxiliary clock 331 is a clock signal whose frequency is at the same level as that of the reception-side data clock 321. It is acceptable if clock accuracy of the auxiliary clock 331 is lower than the clock accuracy of the transmission-side communication clock 111.
[0098] The clock selection unit 340 selects one of the reception-side data clock 321 and the auxiliary clock 331 as the clock signal to be delivered to the time-point management unit 350, following an instruction from the control unit 370.
[0099] The time-point management unit 350 manages the time point, using the reception-side data clock 321. The time-point management unit 350 includes a timekeeper 351.
[0100] The timekeeper 351 operates, using the reception-side data clock 321 as a reference point, and delivers the time-point information to the control unit 370. Further, the control unit 370 performs an operation of adjusting the time point of the timekeeper 351 as necessary. The timekeeper 351 is also referred to as a slave timekeeper. The slave timekeeper is driven based on the reception-side communication clock 311. The slave timekeeper may be driven by the reception-side data clock 321.
[0101] The serial-signal reception unit 360 receives the reception serial data 301, generates reception data 361 by decoding the reception serial data 301, and gives the generated reception data 361 to the control unit 370.
[0102] The serial-signal reception unit 360 may receive search serial data as the reception serial data 301. The search serial data is data obtained by performing serialization on master transmission data including information which means a search.
[0103] The serial-signal reception unit 360 may receive the synchronization serial data as the reception serial data. The synchronization serial data is data obtained by performing serialization on the master transmission data including master time-point synchronization information. The master time-point synchronization information is used for synchronizing the slave timekeeper to the master timekeeper. The master time-point synchronization information may include pieces of information on a time point 1 and a time point 4. The time point 1 is a time point indicated by the master timekeeper at a time when the master apparatus 100 transmits the search serial data. The time point 4 is a time point indicated by the master timekeeper at a time when the master apparatus 100 receives response serial data.
[0104] The serial-signal reception unit 360 may generate deserialized reception data by performing deserialization on the reception serial data 301, using the reception-side communication clock 311, and may decode the deserialized reception data, using the reception-side data clock 321. Performing deserialization has the same meaning as deserializing.
[0105] The control unit 370 is equivalent to the control unit 140. The control unit 370 gives transmission data 371 to the serial-signal transmission unit 400.
[0106] The control unit 370 may generate response data and slave time-point synchronization information. The response data includes information which means a response to the search serial data. The slave time-point synchronization information is used for synchronizing the slave timekeeper to the master timekeeper. The slave time-point synchronization information may include a time point 2 and a time point 3. The time point 2 is a time point indicated by the slave timekeeper at a time when the slave apparatus 300 receives the search serial data. The time point 3 is a time point indicated by the slave timekeeper at a time when the slave apparatus 300 transmits the response serial data.
[0107] The control unit 370 may synchronize the slave timekeeper to the master timekeeper based on the slave time-point synchronization information and the master time-point synchronization information. The control unit 370 may synchronize the slave timekeeper to the master timekeeper, using the time point 1, the time point 2, the time point 3, and the time point 4. In some cases, the time point 1, the time point 2, the time point 3, and the time point 4 are referred to as T1, T2, T3, and T4 respectively.
[0108] The control unit 370 may generate the transmission data. The transmission data includes information to be transmitted to a network to which the master apparatus belongs. The control unit 370 may generate identification data as the transmission data. The identification data includes information on an identifier.
[0109] The frequency multiplication unit 380 generates a transmission-side communication clock 381, and gives the generated transmission-side communication clock 381 to the serial-signal transmission unit 400. The frequency multiplication unit 380 is typically made up of a frequency multiplier. The frequency multiplication unit 380 may generate the transmission-side communication clock 381 by multiplying the frequency of the reception-side communication clock 311 by an even number.
[0110] The transmission-side communication clock 381 is a clock signal whose frequency is obtained by multiplying the frequency of the reception-side communication clock 311 by the even number.
[0111] The transmission-side frequency division unit 390 receives the transmission-side communication clock 381, generates a transmission-side data clock 391 by dividing the frequency of the transmission-side communication clock 381, and gives the generated transmission-side data clock 391 to the serial-signal transmission unit 400. The transmission-side frequency division unit 390 is typically made up of a frequency divider.
[0112] The transmission-side data clock 391 is equivalent to the transmission-side data clock 121.
[0113] The serial-signal transmission unit 400 receives the transmission data 371, the transmission-side communication clock 381, and the transmission-side data clock 391, generates transmission serial data 401, using the received data, and sends out the generated transmission serial data 401 to the network cable.
[0114] The serial-signal transmission unit 400 may generate the response serial data, and transmit the response serial data to the master apparatus 100. The response serial data is data obtained by performing serialization on the response data based on the reception-side communication clock 311.
[0115] The serial-signal transmission unit 400 may generate encoded transmission data by encoding the transmission data, using the transmission-side data clock 391, may generate the transmission serial data 401 by performing serialization on the encoded transmission data, using the transmission-side communication clock 381, and may transmit the transmission serial data 401. The encoded transmission data includes a constituent of the transmission-side data clock 391.
[0116] The serial-signal transmission unit 400 may generate the identification serial data as the transmission serial data 401, using identification data.
[0117] The transmission serial data 401 is equivalent to the transmission serial data 151.
[0118] Configurations of the serial-signal reception unit 360, the control unit 370, and the serial-signal transmission unit 400 are equivalent to the configurations of the serial-signal reception unit 180, the control unit 140, and the serial-signal transmission unit 150 respectively.
[0119] A hardware configuration of the slave apparatus 300 is equivalent to a hardware configuration of the master apparatus 100.
[0120] When the 8 b/10 b encoding method is adopted for the master apparatus 100, each of the transmission data 141 and the reception data 181 is a signal in a unit of 8 bits.
[0121] When the 8 b/10 b encoding method is adopted for the slave apparatus 300, each of the transmission data 371 and the reception data 361 is a signal in a unit of 8 bits.
Description of Operation
[0122] An operation procedure of the master apparatus 100 is equivalent to a master control method. Further, a program which realizes an operation of at least the control unit 140 in the master apparatus 100 is equivalent to the master control program.
[0123] An operation procedure of the slave apparatus 300 is equivalent to a slave control method. Further, a program which realizes an operation of at least the control unit 370 in the slave apparatus 300 is equivalent to a slave control program.
[0124]
[0125] (Process P1)
[0126] The master apparatus 100 starts transmitting the transmission serial data 151 to the slave apparatus 300. When there is no data to be transmitted to the slave apparatus 300, the master apparatus 100 keeps transmitting the code which means “no data”.
[0127] (Process P2)
[0128] Each slave apparatus 300 receives the transmission serial data 151 as the reception serial data 301. When each slave apparatus 300 receives the reception serial data 301, each slave apparatus 300 extracts the data and the reception-side communication clock 311 from the reception serial data 301, generates the reception-side data clock 321, and switches a clock driving the timekeeper 351 and the control unit 370, from the auxiliary clock 331 to the reception-side data clock 321.
[0129] (Process P3)
[0130] The master apparatus 100 selects one slave apparatus 300 as a selected slave apparatus, and notifies the slave apparatus 300 of an ID of the selected slave apparatus, using the transmission serial data 151.
[0131] (Process P4)
[0132] The selected slave apparatus generates the transmission-side communication clock 381, using the reception-side communication clock 311 extracted in Process P2, treats the generated transmission-side communication clock 381 as a communication clock of the selected slave apparatus, and starts transmitting the transmission serial data 401.
[0133] Note that, when there is no data to be transmitted, the selected slave apparatus keeps transmitting the code which means “no data”.
[0134] (Process P5)
[0135] When the master apparatus 100 receives the transmission serial data 401 as the reception serial data 101, the master apparatus 100 transmits the data which means “search”, using the transmission serial data 151.
[0136] The master apparatus 100 records as T1, a time point when the data is transmitted.
[0137] (Process P6)
[0138] When the selected slave apparatus detects the data which means “search”, from the reception serial data 301, the selected slave apparatus records as T2, a time point when the data is received.
[0139] (Process P7)
[0140] The selected slave apparatus transmits data which means “response”, using the transmission serial data 401, and records as T3, a time point when the data is transmitted.
[0141] (Process P8)
[0142] When the master apparatus 100 detects the data which means “response” from the reception serial data 101, the master apparatus 100 records as T4, a time point when the data is received.
[0143] (Process P9)
[0144] The master apparatus 100 transmits pieces of information on T1 and T4, to the selected slave apparatus, using the transmission serial data 151.
[0145] (Process P10)
[0146] When the selected slave apparatus receives the pieces of information on T1 and T4, from the master apparatus 100, the selected slave apparatus collates T2 and T3 recorded by the selected slave apparatus, with the received T1 and T4 respectively, calculates signal transfer times and a difference in a time point from the master apparatus 100, and adjusts the timekeeper 351 based on the calculated results. The signal transfer time is time required for transferring the signal between the selected slave apparatus and the master apparatus 100.
[0147] (Process P11)
[0148] The selected slave apparatus stops transmitting the transmission serial data 401.
[0149] (Process P12)
[0150] The master apparatus 100 executes Process P3 to Process P10 on each of all of the slave apparatuses 300 other than the selected slave apparatus.
[0151] When Process P3 to Process P10 are executed on all of the slave apparatuses 300, the master apparatus 100 proceeds to Process P13.
[0152] (Process P13)
[0153] The master apparatus 100 ends the transmission of the transmission serial data 151.
[0154] (Process P14)
[0155] When the slave apparatus 300 no longer receives the transmission serial data 151, the slave apparatus 300 switches the clock driving the timekeeper 351 and the control unit 370, from the reception-side data clock 321 to the auxiliary clock 331.
Description of Effect of First Embodiment
[0156] As above, according to the present embodiment, the master apparatus 100 provides the highly accurate clock signal of the highly accurate oscillation unit 110 included in the master apparatus 100, for the slave apparatus 300, using the serial data including the clock constituent. The slave apparatus 300 extracts the clock from the serial data received from the master apparatus 100 and uses the extracted clock for the time-point synchronization.
[0157] Therefore, the slave apparatus 300 can perform the highly accurate time-point synchronization even without having the highly accurate oscillator.
[0158] Further, the signal constituent in the 8 b/10 b encoding method has a harmonic obtained by multiplying the communication clock frequency by an odd number. In the present embodiment, the slave apparatus 300 sets the communication clock frequency used by the slave apparatus 300, to the number obtained by multiplying the communication clock frequency used by the master apparatus 100, by an even number.
[0159] Therefore, according to the present embodiment, when the 8 b/10 b encoding method is adopted for the master apparatus 100 and the slave apparatus 300, it is possible to reduce interference between the signal transmitted by the master apparatus 100 and the signal transmitted by the slave apparatus 300.
Other Configurations
First Modification Example
[0160]
[0161] As illustrated in the present diagram, the master apparatus 100 includes a processing circuit 18 instead of at least one of the processor 11, the memory 12, and the auxiliary storage device 13.
[0162] The processing circuit 18 is hardware which realizes at least a part of each of the units included in the master apparatus 100.
[0163] The processing circuit 18 may be dedicated hardware or a processor which executes a program stored in the memory 12.
[0164] When the processing circuit 18 is the dedicated hardware, a specific example of the processing circuit 18 is a single circuit, a composite circuit, a programed processor, a parallel-programed processor, an ASIC (ASIC is an Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination of these.
[0165] The master apparatus 100 may include a plurality of processing circuits which substitute the processing circuit 18. The plurality of processing circuits share a role of the processing circuit 18.
[0166] In the master apparatus 100, a part of functions may be realized by the dedicated hardware, and the rest of the functions may be realized by software or firmware.
[0167] As a specific example, the processing circuit 18 is realized by the hardware, the software, the firmware, or a combination of these.
[0168] The processor 11, the memory 12, the auxiliary storage device 13, and the processing circuit 18 are collectively referred to as “processing circuitry”. That is, a function of each functional component in the master apparatus 100 is realized by the processing circuitry.
[0169] A function of each functional component in the slave apparatus 300 may be realized by the processing circuitry as with the function of each functional component in the master apparatus 100.
[0170] Further, the master apparatuses 100 and the slave apparatuses 300 according to the other embodiments may have configurations equivalent to that in the present modification example.
Second Embodiment
[0171] Below, mainly matters different from the above-described embodiment will be described with reference to the drawings.
[0172] The master-slave system 90 according to the present embodiment can infer network topology, by applying the first embodiment to the present embodiment. In some cases, the network topology is referred to as topology.
Description of Configuration
[0173] The slave apparatus 300 is connected, in a wired manner, to another slave apparatus 300 which has the same function as that of the slave apparatus 300.
[0174] The control unit 140 according to the present embodiment infers the network topology. The control unit 140 may use any technique to infer the network topology.
[0175] When the slave apparatus 300 receives the identification serial data, the control unit 370 generates time-point data as the transmission data. The time-point data includes information on a time point indicated by the slave timekeeper at a time when the slave apparatus 300 receives the identification serial data.
[0176] The serial-signal transmission unit 400 generates the time-point serial data as the transmission serial data 401, using the time-point data.
Description of Operation
[0177]
[0178] The master-slave system 90 performs Process P1 to Process P12.
[0179] (Process P15)
[0180] The master apparatus 100 notifies the slave apparatus 300 that topology inference is started, using the transmission serial data 151.
[0181] (Process P16)
[0182] The master apparatus 100 selects one slave apparatus 300 as a selected slave apparatus, and notifies the slave apparatus 300 of an ID of the selected slave apparatus, using the transmission serial data 151. Below, in descriptions according to the present embodiment, the selected slave apparatus means the slave apparatus 300 selected in the present process.
[0183] (Process P17)
[0184] The selected slave apparatus executes a process equivalent to Process P4.
[0185] (Process P18)
[0186] Each of slave apparatuses 300 other than the selected slave apparatus starts receiving as the reception serial data 301, the transmission serial data 401 transmitted by the selected slave apparatus.
[0187] At this time, the frequency of the reception-side communication clock 311 changes to a number obtained by multiplying the frequency before execution of the present process, by an even number. In each of the slave apparatuses 300 other than the selected slave apparatus, the reception-side frequency division unit 320 divides the frequency of the reception-side communication clock 311 or each of the timekeeper 351 and the control unit 370 divides the frequency of the reception-side data clock 321. Consequently, influence of the data received from the selected slave apparatus is cancelled out.
[0188] (Process P19)
[0189] The selected slave apparatus transmits a current time point and the ID of the selected slave apparatus, using the transmission serial data 401.
[0190] (Process P20)
[0191] Each of all of the slave apparatuses 300 other than the selected slave apparatus receives the transmission serial data 401 transmitted by the selected slave apparatus in Process P17, and records: the current time point and the ID of the selected slave apparatus; and a current time point of each of the slave apparatuses 300 other than the selected slave apparatus at a time when each of all of the slave apparatuses 300 other than the selected slave apparatus receives the transmission serial data 401.
[0192] The master apparatus 100 repeats Process P15 to Process P20 on each of all of the slave apparatuses 300 other than the selected slave apparatus.
[0193] (Process P21)
[0194] The master apparatus 100 infers the topology, and after the topology inference is completed, issues a notification that the topology inference has been completed.
[0195] (Process P22)
[0196] Each slave apparatus 300 aggregates in one place, information on the ID and the current time point acquired in Process P15 to Process P20 and transmitted by the slave apparatuses 300 other than each slave apparatus 300, and information on the current time point of each slave apparatus 300 at the time when each slave apparatus 300 receives the ID and the current time point.
[0197] Each slave apparatus 300 may execute the present process by transmitting the pieces of information subject to the aggregation, using the transmission serial data 401, or may execute the present process by using another means. Further, a place in which the pieces of information are aggregated does not need to be the master apparatus 100.
[0198] When each slave apparatus 300 is notified by the master apparatus 100 that the topology inference has been completed, and when each slave apparatus 300 ends receiving the transmission serial data 151 from the master apparatus 100, each slave apparatus 300 switches the clock driving the timekeeper 351 and the control unit 370, from the reception-side data clock 321 to the auxiliary clock 331.
Description of Effect of Second Embodiment
[0199] The master-slave system 90 according to the present embodiment implements measurement of the signal transfer times between the master apparatus 100 and each slave apparatus 300, and the like, in addition to implementing the operations indicated in the first embodiment. Signal transfer times are aggregated in one place. Based on a premise that the network cable in the wired network is not supposed to form a closed loop, the master apparatus 100 and the slave apparatus 300 can infer the topology of the network, using the signal transfer times.
[0200] Therefore, in the master-slave system 90 according to the present embodiment, although the slave apparatus 300 is not equipped with the highly accurate oscillator, it is possible to infer the topology of the wired network in the master-slave system 90.
Third Embodiment
[0201] Below, mainly matters different from the above-described embodiments will be described with reference to the drawings.
Description of Configuration
[0202]
[0203] An upstream side is made up of the master apparatus 100, and slave apparatuses 300 connected to the master apparatus 100. The downstream side is not connected to the master apparatus 100 and is made up of slave apparatuses 300 connected to the relay apparatus 500.
[0204]
[0205] As illustrated in
[0206] The timekeeper 351 included in the relay apparatus 500 is also referred to as a relay timekeeper.
[0207] A control unit 510 is an appropriate combination of the control unit 140 and the control unit 370.
[0208] A hardware configuration of the relay apparatus 500 is equivalent to the hardware configuration of the master apparatus 100.
Description of Operation
[0209] An operation procedure of the relay apparatus 500 is equivalent to a relay method. Further, a program which realizes an operation of at least the control unit 510 in the relay apparatus 500 is equivalent to a relay program.
[0210] The relay apparatus 500 relays a signal from the upstream side to the downstream side and relays a signal from the downstream side to the upstream side.
[0211] Since operations of the relay apparatus 500 on the upstream side are equivalent to the operations of the slave apparatus 300 except for transmission/reception of the signal to/from the downstream side, descriptions will be omitted.
[0212] Since operations of the relay apparatus 500 on the downstream side are equivalent to the operations of the master apparatus 100 except for transmission/reception of the signal to/from the upstream side, and the use of the signal received from the upstream side as appropriate, descriptions will be omitted.
Description of Effect of Third Embodiment
[0213] As above, the master-slave system 90 according to the present embodiment includes the relay apparatus 500. The relay apparatus 500 utilizes the reception-side communication clock 311 on the upstream side as the transmission-side communication clock 111 on the downstream side.
[0214] In some cases, the master-slave system 90 needs to relay the signal between the networks for some reason. In the present case, when at least only the master apparatus 100 includes the highly accurate oscillation unit 110, the master-slave system 90 can implement the highly accurate time-point synchronization as indicated in the first embodiment and infer the topology as indicated in the second embodiment, by using the relay apparatus 500 according to the present embodiment.
Other Configurations
Second Modification Example
[0215] A configuration of the relay apparatus 500 may be equivalent to the configuration indicated in the modification example in the first embodiment.
[0216] Further, also configurations of the relay apparatuses 500 according to the other embodiments may be equivalent to the configuration in the present modification example.
Fourth Embodiment
[0217] Below, mainly matters different from the above-described embodiments will be described with reference to the drawings.
Description of Configuration
[0218]
[0219] The regular communication unit 190 performs communication according to a regular process. The regular process is a process other than a highly accurate process, which does not need to be based on the highly accurate time-point synchronization. Specific examples of the highly accurate process are a process of executing the highly accurate time-point synchronization, and a process of inferring the topology. A means which consumes less electricity than the serial-signal transmission unit 150 and the serial-signal reception unit 180 is adopted for the regular communication unit 190.
[0220] The regular communication unit 190 receives transmission data 142, generates transmission data 191, using the received transmission data 142, and transmits the generated transmission data 191.
[0221] Further, the regular communication unit 190 receives reception data 102, generates reception data 192, using the received reception data 102, and delivers the generated reception data 192 to the control unit 140. When the master apparatus 100 executes the regular process, the serial-signal reception unit 180 and the serial-signal transmission unit 150 do not have to operate.
[0222] The switching and mixing unit 200 follows an instruction from the control unit 140, and switches the signals or mixes a plurality of signals. As a specific example, the switching and mixing unit 200 mixes a signal according to the regular process and a signal according to the highly accurate process when the master apparatus 100 executes the regular process and the highly accurate process simultaneously. The switching and mixing unit 200 mixes a plurality of signals whose frequencies are different from each other. As a specific example, the switching and mixing unit 200 includes passive mixing equipment or a mixer. Note that, a frequency of the signal to be used in the regular process and a frequency of the signal to be used in the highly accurate process are largely different from each other.
[0223] When the switching and mixing unit 200 receives the data where a plurality of types of signals are mixed, the switching and mixing unit 200 may divide the received data into the signals included therein.
[0224] The control unit 140 generates the transmission data 142, and delivers the generated transmission data 142 to the regular communication unit 190. The transmission data 142 includes information related to the regular process.
[0225]
[0226] The regular communication unit 410 is equivalent to the regular communication unit 190.
[0227] The switching and mixing unit 420 is equivalent to the switching and mixing unit 200.
Description of Operation
[0228] Since an operation according to the master apparatus 100 is equivalent to the operations in the previous embodiments except that the switching and mixing unit 200 switches the signals as appropriate and mixes the signals as appropriate, descriptions will be omitted.
[0229] Since an operation according to the slave apparatus 300 is equivalent to the operations in the previous embodiments as with the operation according to the master apparatus 100, descriptions will be omitted.
Description of Effect of Fourth Embodiment
[0230] When the 8 b/10 b encoding method as a specific example is adopted for the master apparatus 100 and the slave apparatus 300 in the first to third embodiments, transmission of the code meaning “no data” continues as long as absence of data to be transmitted continues. In the present case, the master apparatus 100 and the slave apparatus 300 may occasionally consume too much electricity.
[0231] According to the present embodiment, in this case, it is possible to perform communication in another method, using the regular communication unit 190 and the regular communication unit 410, except when the highly accurate process is performed. Further, since the switching and mixing unit 200 and the switching and mixing unit 420 are included, the 8 b/10 b signal can be used as necessary. Therefore, according to the present embodiment, it is possible to reduce the electricity consumption required for the communication.
Fifth Embodiment
[0232] Below, mainly matters different from the above-described embodiments will be described with reference to the drawings.
Description of Configuration
[0233]
[0234] As illustrated in
Description of Operation
[0235] Since the operation according to the present embodiment is a combination of the operation according to the third embodiment and the operation according to the fourth embodiment as appropriate, descriptions will be omitted.
Description of Effect of Fifth Embodiment
[0236] As above, the relay apparatus 500 according to the present embodiment is like the combination of the relay apparatus 500 according to the third embodiment, and the master apparatus 100 and the slave apparatus 300 according to the fourth embodiment.
[0237] Therefore, the master-slave system 90 according to the present embodiment has both a characteristic indicated in the third embodiment and a characteristic indicated in the fourth embodiment.
Other Embodiments
[0238] Any combination of the above-described embodiments, modification to an arbitrary component in each embodiment, or omission of an arbitrary component in each embodiment is possible.
[0239] Further, the embodiments are not limited to the ones indicated in the first to fifth embodiments, and various types of modification can be made as necessary. Procedures described using flowcharts and the like may be modified as appropriate.
REFERENCE SIGNS LIST
[0240] 11: processor, 12: memory, 13: auxiliary storage device, 14: input/output interface, 15:
[0241] communication device, 18: processing circuit, 19: signal line, 90: master-slave system, 100: master apparatus, 101: reception serial data, 102: reception data, 110: highly accurate oscillation unit, 111: transmission-side communication clock, 120: transmission-side frequency division unit, 121: transmission-side data clock, 130: time-point management unit, 131: timekeeper, 140: control unit, 141, 142: transmission data, 150: serial-signal transmission unit, 151: transmission serial data, 155: encoder, 156: serializer, 160: clock extraction unit, 161: reception-side communication clock, 170: reception-side frequency division unit, 171: reception-side data clock, 180: serial-signal reception unit, 181: reception data, 182: reception serial data, 185: deserializer, 186: decoder, 190: regular communication unit, 191: transmission data, 192: reception data, 200: switching and mixing unit, 210: frequency multiplication unit, 211: transmission-side communication clock, 300: slave apparatus, 301: reception serial data, 302: reception data, 310: clock extraction unit, 311: reception-side communication clock, 320: reception-side frequency division unit, 321: reception-side data clock, 330: auxiliary oscillation unit, 331: auxiliary clock, 340: clock selection unit, 350: time-point management unit, 351: timekeeper, 360: serial-signal reception unit, 361: reception data, 370: control unit, 371, 372: transmission data, 380: frequency multiplication unit, 381: transmission-side communication clock, 390: transmission-side frequency division unit, 391: transmission-side data clock, 400: serial-signal transmission unit, 401: transmission serial data, 410: regular communication unit, 411: transmission data, 412: reception data, 420: switching and mixing unit, 500: relay apparatus, 510: control unit.