WO2005048550A1 - Data receiving apparatus, data transmitting apparatus, data transmitting/receiving apparatus, and data transmission system - Google Patents
Data receiving apparatus, data transmitting apparatus, data transmitting/receiving apparatus, and data transmission system Download PDFInfo
- Publication number
- WO2005048550A1 WO2005048550A1 PCT/JP2004/016737 JP2004016737W WO2005048550A1 WO 2005048550 A1 WO2005048550 A1 WO 2005048550A1 JP 2004016737 W JP2004016737 W JP 2004016737W WO 2005048550 A1 WO2005048550 A1 WO 2005048550A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- signal
- data
- unit
- data transmission
- transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
- H04L7/041—Speed or phase control by synchronisation signals using special codes as synchronising signal
- H04L7/046—Speed or phase control by synchronisation signals using special codes as synchronising signal using a dotting sequence
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0054—Detection of the synchronisation error by features other than the received signal transition
- H04L7/007—Detection of the synchronisation error by features other than the received signal transition detection of error based on maximum signal power, e.g. peak value, maximizing autocorrelation
Definitions
- Data receiving apparatus data transmitting apparatus, data transmitting / receiving apparatus, and data transmission system
- the present invention relates to a data receiving device, a data transmitting device, a data transmitting / receiving device, and a data transmission system, and more specifically, in a ring network in which a plurality of devices are connected in a ring, according to a predetermined protocol.
- the present invention relates to a data receiving device, a data transmitting device, and a data transmitting and receiving device included in a system that transmits data in one direction, and the data transmission system.
- a physical topology is one ring topology, and a plurality of nodes are connected in one ring topology to form a one-way ring LAN, audio equipment, navigation Aiming for integrated connection with devices or information terminals.
- a communication protocol of the information system used in the ring LAN for example, Media Oriented Systems Transport (hereinafter referred to as MOST).
- MOST Media Oriented Systems Transport
- the MOST refers to the method of constructing a distributed system that is unique only to the communication protocol.
- the data of the MOST network is transmitted on a frame-by-frame basis, and frames are transmitted in the negative direction one after another in each node.
- the radiation noise may cause a malfunction to another electronic device mounted in a car or the like, and the influence of the radiation noise on other devices. It is also necessary to transmit correctly without receiving Therefore, in a conventional ring-type LAN using MO ST, each node is connected by an optical fiber cable. The noise resistance is improved while preventing the generation of electromagnetic waves.
- telecommunication is performed using an inexpensive cable such as a twisted pair wire or coaxial cable, and radiation noise is reduced and noise resistance is reduced.
- FIG. 19 is a block diagram showing the configuration of the data transmission system.
- the data transmission system includes data transmission devices 100a-100— and transmission paths 300a-3000005.
- the data transmission device 100a is set as a master for clock synchronization, and the other data transmission devices 100b to 100 ⁇ are set as slaves.
- the respective data transmission devices 100a-100 ⁇ are connected in a ring shape by the transmission paths 300a-300 ⁇ . Data is transmitted in the direction of the arrow according to the communication protocol of the MOST between each data transmission device 100 a-100 ⁇ .
- the data transmission using the 8-value mapped digital data refers to multi-level data transmission in which data is transmitted by allocating data of 1 bit or more to the signal level as one data symbol, and the signal level is allocated in 8 stages. It is a method of transmission (for details, refer to WO 02Z30077 pamphlet).
- data transmission scheme using four-value mapping or data using five-value mapped data is also conceivable.
- a data transmission system that switches the data transmission method in accordance with the use situation becomes necessary.
- Such switching of the data transmission scheme is generally performed based on the sequences as shown in FIG. 20 and FIG.
- the switching of the data transmission method will be described in detail below with reference to FIGS. 20 and 21.
- the data transmission device 100a which is a master, is connected to another data transmission device and a clock.
- a lock signal for synchronization is generated and transmitted to the data transmission apparatus 100b.
- the data transmission device 100b having received the lock signal regenerates the acquired lock signal and establishes clock synchronization with the data transmission device 100a.
- the data transmission device 100b generates a lock signal and transmits it to the data transmission device 100c.
- the data transmission device 100c-100n performs the same operation as the data transmission device 100b.
- the lock signal transmitted by the data transmission device 100 ⁇ reaches the data transmission device 100a, and the data transmission device 100a receiving the lock signal reproduces the lock signal acquired and establishes clock synchronization with the data transmission device 100 ⁇ . Do.
- clock synchronization is established between the data transmission devices 100a and 100 ⁇ .
- the data transmission device 100a creates a training signal for setting a determination level which is a reference of data determination, and transmits the training signal to the data transmission device 100b.
- the training signal transmitted here may be a training signal for eight-value mapping or a training signal for another system, but here, a training signal for eight-value mapping is used. It is assumed that a second signal is transmitted.
- the data transmission apparatus 100b having received the training signal uses the acquired training signal to set a determination level as a reference of data determination for 8-value mapping. Then, the data transmission device 100b creates a training signal for 8-value mapping and transmits it to the next data transmission device 100c. Thereafter, the data transmission device 100 c-100 ⁇ performs the same operation as the data transmission device 100 b.
- the training signal transmitted from the data transmission device 100 ⁇ reaches the data transmission device 100 a, and using the acquired training signal, the judgment level which is the reference of the data judgment for the data transmission device 100 a for eight-value mapping is Set As a result, the data transmission device 100 a-100 ⁇ in the data transmission system sets a determination level which is a reference of data determination for 8-value mapping.
- data transmission apparatus 100a transmits an identification signal for notifying another data transmission apparatus 100b-100 eta whether data transmission is to be performed by eight-value mapping or another method.
- Send to The data transmission apparatus 100b that has received the identification signal determines which method is used to transmit data based on the received identification signal.
- the data transmission device 100b determines whether the Generates an identification signal and transmits it to the data transmission apparatus 100c.
- the data transmission device 100 c-100 ⁇ performs the same operation as the data transmission device 100 b.
- the identification signal transmitted from the data transmission device 100 ⁇ ⁇ is received by the data transmission device 100 a.
- each data transmission device 100a-100 ⁇ in the data transmission system recognizes the data transmission method.
- the data transmission device 100a creates a training signal of the data transmission method recognized by each data transmission device, and transmits it to the data transmission device 100b. Thereafter, in each data transmission device, the same processing as the above-mentioned training processing is performed. As a result, the determination level that is the basis of the data determination of the data transmission method used for communication is set to each data transmission device 100a-100. After that, communication of data is started in the data transmission system.
- the first training process is performed after the synchronization process by the lock signal, and the data transmission method is performed using the determination level set by the training process.
- An identification process to notify is performed.
- the second training process is performed with the training signal for the data transmission method identified in the identification process, and the force data communication is started. That is, in the conventional data transmission system, two training processes were required. This is a force that the conventional data transmission system described above can not perform the identification process for identifying the data transmission method until after the training process is performed.
- an identification process for notifying a data transmission method at the time of clock synchronization process For example, by performing clock synchronization processing using a lock signal in which identification information is embedded in advance before the first training processing is performed, data transmission in which the data transmission apparatus 100a-10 On performs data communication with the identification information is performed. It is conceivable to notify the method. In this case, the first training process is performed with the training signal for the data transmission method indicated by the identification information, and data communication in the data transmission system is started. [0015] For example, two types of patterns are considered as a lock signal in which the identification information is embedded.
- the first lock signal is a signal in which one cycle has eight symbol powers and signal levels “+1” and “one 1” are alternately repeated in each symbol.
- the second lock signal has eight cycles per symbol, and the signal level "+1” and “one 1” are alternately repeated for each symbol, and the fifth symbol is the signal level "+7",
- the sixth symbol is a signal whose signal level is “one seven”. If the two types of patterns of such lock signals can be distinguished by the data transmission apparatus on the receiving side, the above identification processing can be performed in the clock synchronization processing.
- FIG. 22 is an example of transmission waveforms of a lock signal, a training header signal, a training signal, and transmission data transmitted between the data transmission device 100a and ⁇ .
- the transmission waveform shown in FIG. 22 is provided with a training header signal to distinguish between the lock signal and the training signal.
- the training header signal is also 3 symbol power, and is a signal in which the same signal level "+ 7" is continuous to distinguish from other signals.
- the mouth signal is the above-mentioned second lock signal.
- the symbol received by the difference value with respect to the previous symbol value in order to cancel the overall signal level change (voltage change) when transmitting from the transmitting side. Determine the value.
- the determination level is not set. That is, each data transmission apparatus can not make detailed determination of the signal level of data. Therefore, each data transmission apparatus needs to distinguish the first and second lock signals by the determination of the signal level of the data being larger or smaller than the threshold value.
- the difference value “14” between the signal levels “+7” and “one 7” is a large value
- the difference value “2” between the signal levels “+2” and “one two” is a small value It is necessary to set a threshold that can be determined to identify the pattern of the lock signal.
- the state of the transmission line 300a-300 ⁇ ⁇ provided between each data transmission device 100a-100 ⁇ is bad, etc., and the data transmission environment is bad!
- the signal level of the received training header signal may fluctuate. . That is, since the difference value with respect to the training header signal fluctuates from "0", it may exceed the threshold for discriminating from the lock signal, and the training header signal may not be detected.
- the data transmission apparatus since the data transmission apparatus can not detect the training signal, the setting of the determination level can not be set, and data communication between the data transmission apparatuses can not be performed.
- Similar problems may occur in the case of using the mouth signal having a section in which the adjacent symbols have the minimum difference value according to the force mapping method described using the example in which the identification information is embedded in the lock signal.
- an object of the present invention is to provide a data receiving apparatus, a data transmitting apparatus, and a data transmitting and receiving apparatus capable of reliably detecting a training header signal for discriminating between a lock signal and a trailing signal transmitted in initialization processing. To provide an apparatus and a data transmission system.
- the present invention adopts the following configuration.
- the reference numerals in parentheses, step numbers, and the like indicate correspondence relationships with the embodiments described later to facilitate understanding of the present invention, and do not limit the scope of the present invention.
- the data reception device (5) of the present invention is connected to another data transmission device (1) via the transmission line (80), and each symbol of transmission data is transmitted at a plurality of signal levels (eight values), It is mapped to one side and receives the transmitted signal.
- the data receiving apparatus includes a training signal in which at least a plurality of signal levels of the transmission signal is formed with a known variation pattern and a header signal (training header signal) given at the beginning of the training signal. ) Is transmitted from another data transmission device (S19, S59). 0 Data receiver The difference between the signal level corresponding to the symbol in the received transmission signal and the signal level of the symbol immediately before that symbol.
- the absolute value of the difference value calculated by the difference calculation unit (54) that calculates (dd) in the order of reception, and the difference calculation unit are each set against a predetermined threshold. At least two of the results (582) in which the magnitude determination unit classifies into two values, and the variation pattern of the training signal or the header signal. And a training signal detection unit (58) for detecting reception of a training signal or a header signal by detecting (583) a match with the part (584).
- the training signal detection unit is a numerical value string (582) in which the magnitude judgment unit distinguishes into two values and is arranged in the order of reception, and a difference value for at least a part of the variation pattern of the header signal.
- the absolute value is compared with the header pattern (584) described in advance by a predetermined number of large or small binary values (583), and when both match, the reception of the header signal is detected.
- the variation pattern of the header signal may be generated by being mapped to the same signal level a predetermined number of times consecutively after being mapped to the maximum and minimum levels a predetermined number of times alternately among a plurality of signal levels (FIG. 4). ). In this case, the header pattern is described at least once, after the large of the two values is described a predetermined number of times consecutively (FIG. 15 (b)).
- the variation pattern of the header signal is alternately mapped to the maximum and minimum levels of the plurality of signal levels a predetermined number of times, and then mapped to the same signal level a predetermined number of times in succession and generated.
- the training signal detection unit distinguishes the large / smallness determination unit continuously into at least a plurality of large binary values at least a plurality of times
- the training signal detection unit detects the reception of the header signal when the large / small determination unit distinguishes the binary value Do.
- the header signal and the training signal are formed with a first variation pattern in which a plurality of signal levels are known, and a clock component for establishing synchronization with another data transmission device.
- the first lock signal including the power does not hold even if it is continuously transmitted after being transmitted from another data transmission device (S16, S57).
- the data receiving apparatus reproduces the clock component of the first lock signal to establish synchronization with another data transmission apparatus, and a plurality of binary values distinguished by the magnitude determination section.
- the apparatus further comprises a lock signal identification unit (71) that identifies the first lock signal by detecting a result and a match with at least a portion of the first variation pattern.
- the variation pattern of the header signal is alternately mapped to the maximum and minimum levels of a plurality of signal levels a predetermined number of times, and then mapped to the same signal level a predetermined number of times consecutively and generated.
- the detection unit detects the reception of the header signal when the magnitude judgment unit distinguishes at least 4 times after the magnitude judgment unit distinguishes at least 4 times as large.
- the header signal and the training signal are formed with a first variation pattern in which a plurality of signal levels are known, and a clock component for establishing synchronization with another data transmission device.
- a second lock signal which is formed with a first lock signal including the second lock pattern or a second variation pattern different from the first variation pattern, and includes a clock component, and is transmitted continuously after being transmitted by another data transmission device. I will not hesitate even if it is done.
- the data receiving apparatus reproduces the clock component of the first or second lock signal to establish synchronization with another data transmission apparatus;
- a lock signal identification unit for identifying the first or second lock signal by detecting a match between the result of the first and second fluctuation patterns and at least a part of the first and second fluctuation patterns.
- the maximum and minimum levels among the plurality of signal levels are generated after a predetermined number of consecutive mapping operations in which the difference value is the minimum and the positive and negative of the plurality of signal levels are alternated.
- the second variation pattern is generated by repeating the pattern to be mapped once each (Fig.
- the second variation pattern is a series of mapping in which the difference value is the smallest among the multiple signal levels and the positive and negative of the difference are alternating.
- Figure 5 Generated ( Figure 5).
- the variation pattern of the header signal is alternately mapped to the maximum and minimum levels of the plurality of signal levels a predetermined number of times, and then mapped to the same signal level a predetermined number of times consecutively and generated.
- the large / small judging unit distinguishes at least 4 times of the large binary value consecutively, the reception of the header signal is detected when the large / small judgment unit distinguishes small binary.
- a determination level setting unit (57) for setting a determination level for distinguishing and determining the difference values calculated by the difference calculation unit using the training signal, and the difference calculation unit A difference value determination unit (54) that distinguishes and determines each of the calculated difference values based on the determination level set by the determination level setting unit, and reversely maps and transmits the determination result output by the difference value determination unit. Decode transmit data symbols sent in the signal Even if the reverse mapping unit (55) is further provided, it does not force. Also, when the training signal is transmitted for a predetermined time from transmission of the header signal (fixed length), the data receiving apparatus sets the determination level in response to the training signal detection unit detecting reception of the header signal.
- the semi-IJ fixed reflector setting unit detects the end of the training signal based on the count by the counter (S22, S61), and sets the final judgment level.
- the transmission data is a signal of a data format defined by MOST (Media Oriented Systems Transport).
- MOST Media Oriented Systems Transport
- the data transmission apparatus (6) of the present invention is connected to another data transmission apparatus via a transmission path, and transmission symbols are formed by mapping each symbol of transmission data to! / Send
- the data transmission apparatus transmits a first lock signal that transmits a first lock signal including a clock component for forming a plurality of signal levels with a known first variation pattern and establishing synchronization with another data transmission apparatus.
- Section (671) a header signal transmission section (673) for transmitting a header signal having a plurality of signal levels formed in a third variation pattern different from the first variation pattern, and a plurality of signal levels known.
- a training signal transmission unit (674) for transmitting a training signal formed by the fourth variation pattern, a transmission data signal transmission unit (61 to 66) for transmitting a transmission data signal to which transmission data is mapped, and A control unit (676) for selecting a first lock signal to be transmitted to another data transmission device based on a predetermined condition, and a first lock signal selected by the control unit being transmitted to the other data transmission device;
- the head A transmission unit (675, 63-66) for continuously transmitting to the other data transmission apparatus in the order of the signal, the training signal, and the transmission data signal, and the third variation pattern is the maximum and minimum among the plurality of signal levels.
- the present invention is characterized in that it is mapped to the level a predetermined number of times alternately and then mapped to the same signal level a predetermined number of times in succession.
- the maximum is selected among the plurality of signal levels. And it is generated by repeating the pattern that is mapped once to the minimum level respectively.
- a second lock signal transmission unit (672) for transmitting a second lock signal including a clock component in which a plurality of signal levels are formed with a second fluctuation pattern different from the first fluctuation pattern is provided. Even if it prepares, it does not use power.
- the control unit selects one of the first and second lock signals to be transmitted to another data transmission apparatus based on a predetermined condition, and the transmission unit selects the first and second lock signals selected by the control unit. After transmitting one of the signals to the other data transmission apparatus, the transmission data signal is transmitted to the other data transmission apparatus successively in the order of the header signal, the training signal, and the transmission data signal.
- the maximum and minimum levels among the plurality of signal levels are
- the second variation pattern is generated by repeating the pattern to be mapped, and the second variation pattern is continuously generated mapping in which the difference value between the adjacent symbols of the plurality of signal levels is minimum and the positive and negative of the difference value is alternated.
- the control unit may further control the timing at which the transmission unit switches each signal to be transmitted to another data transmission apparatus.
- the control unit controls the transmission unit to transmit a header signal (S19).
- the control unit transmits the header signal to another data transmission apparatus (S19), and after a predetermined time has elapsed (S22), transmits the transmission data signal (S22).
- S23 controls the transmission unit.
- the transmission data is a signal of a data format defined by MOST.
- the data transmission / reception device (1) of the present invention is connected to another data transmission device via a transmission path in a ring configuration, and each symbol of transmission data is mapped to a plurality of signal levels.
- the data transmitting / receiving apparatus includes a test signal including a training signal in which at least a plurality of signal levels of the transmission signal are respectively formed with known variation patterns and a header signal attached to the beginning of the training signal.
- Signal transmitter (67) that transmits the signal to another data transmission device, the signal level corresponding to the symbol in the transmission signal received by the other data transmission device and the signal of the symbol immediately before that symbol
- a difference calculation unit that calculates difference values with the level in the order of reception, and an absolute value of the difference value calculated by the difference calculation unit is greater than or equal to a predetermined threshold.
- a training signal is detected by detecting coincidence between a plurality of small / high / low judging units for discriminating with small binary values, a plurality of results obtained by the large / small judgment units for binary discrimination, and a variation pattern of the training signal or the header signal. Or a training signal detection unit for detecting reception of a header signal.
- the test signal transmission unit maps the variation pattern of the header signal alternately to the maximum and minimum levels of a plurality of signal levels a predetermined number of times, and then maps the same signal level a predetermined number of times consecutively.
- the training signal detection unit detects the reception of the header signal when the magnitude determination unit determines that the binary magnitude is at least a plurality of times consecutively and then determines that the magnitude determination unit classifies the binary magnitude.
- the test signal transmission unit is configured to generate a first lock signal including a clock component for forming synchronization with another data transmission device, in which a plurality of signal levels are formed with a known first variation pattern.
- the header signal and training signal may be transmitted continuously.
- the data transmission / reception device reproduces the clock component of the first lock signal received by the transmission data signal transmission unit that transmits the transmission data signal obtained by mapping the transmission data to the other data transmission device and the other data transmission device.
- a clock recovery unit that establishes synchronization with the data transmission apparatus; and a first lock signal by detecting a match between a plurality of results that the magnitude determination unit classifies into two values and at least a portion of the first variation pattern.
- an inverse mapping unit for decoding a symbol of the transmission data transmitted with the determination result in the inverse mapping to transmission signals, further comprising.
- test signal transmission unit is formed with a first variation pattern in which a plurality of signal levels are known, and a first lock signal including a clock component for establishing synchronization with another data transmission device.
- the header signal and the training signal may not be continuously transmitted after the second lock signal which is formed with the second fluctuation pattern different from the first fluctuation pattern and contains the clock component.
- the data transmission / reception device A transmission data signal transmission unit for transmitting the transmitted transmission data signal to another data transmission device, and the clock component of the first or second lock signal received by the other data transmission device, to be transmitted to the data transmission device
- the first or second lock signal is detected by detecting coincidence between a clock recovery unit that establishes synchronization, a plurality of results of which the magnitude determination unit distinguishes into two values, and at least a part of the first and second fluctuation patterns.
- the lock signal identification unit for identification, the determination level setting unit for setting the determination level for separately determining the difference value calculated by the difference calculation unit using the training signal, and the difference calculation unit A difference value determination unit that distinguishes and determines each of the calculated difference values based on the determination level set by the determination level setting unit and a determination result output from the difference value determination unit And an inverse mapping unit for decoding a symbol of the transmission data transmitted by the transmission signal Te Ngushi comprises the further.
- the test signal transmission unit transmits the first synchronization signal after the synchronization with the reference clock is established.
- the second lock signal is transmitted to another data transmission apparatus (S16), and after the clock recovery unit establishes synchronization with the other data transmission apparatus (S18), a header signal and a trailing signal are transmitted (S19).
- the transmission data signal transmission unit transmits the transmission data signal after setting the determination level (S21) using the training signal that the determination level setting unit also receives (S20) other data transmission device power (S21). S23).
- the test signal transmission unit receives the data transmission device power received by the clock recovery unit (S52). After establishing synchronization with another data transmission apparatus using the first or second lock signal (S53), the same signal as the received first or second lock signal is selected (S55, S56) and transmitted (S57) After the training signal detection unit detects the reception of another data transmission device power header signal (S58), the header signal and the training signal are transmitted (S59), and the transmission data signal transmission unit sets the determination level. The transmission data signal is transmitted after the unit respectively sets the determination level (S60) using the training signal received by the other data transmission apparatus (S62).
- the test signal transmission unit also transmits the training signal and the transmission power of the header signal for a predetermined time. Even if you send it, it won't go wrong.
- the data transmission / reception device further includes a counter that counts a predetermined time for transmitting the training signal in response to the training signal detection unit detecting reception of the header signal (S20, S58), and the determination level
- the setting unit detects the end of the training signal received by the other data transmission device based on the count by the counter (S22, S61), sets the final determination level, and the transmission data signal transmission unit After the determination level setting unit sets the final determination level, the transmission data signal is transmitted.
- the transmission data is a signal of a data format defined by MOST.
- the data transmission system of the present invention includes a plurality of data transmission devices connected in a ring shape via a transmission line, and each data transmission device mutually transmits each symbol of transmission data to a plurality of signal levels. Transmits / receives the transmission signal mapped in any way.
- the data transmission device includes a training signal in which at least a plurality of signal levels of the transmission signal are respectively formed with a known variation pattern and a header signal added to the head of the training signal at each initial operation.
- a test signal transmission unit that transmits a test signal to another data transmission device, and a difference value between the signal level corresponding to the symbol in the transmission signal received from the other data transmission device and the signal level of the symbol immediately before that symbol
- the difference calculation unit calculates the reception order in the order of reception, the size determination unit that distinguishes the absolute value of the difference value calculated by the difference calculation unit with a large or small binary value with respect to a predetermined threshold, and the size determination unit distinguishes into two values. By detecting a match between the multiple results and at least a portion of the variation pattern of the training signal or the header signal. And a training signal detection unit for detecting reception of the training signal or the header signal.
- the test signal transmission unit maps the variation pattern of the header signal alternately to the maximum and minimum levels of the plurality of signal levels a predetermined number of times, and then maps and generates the same signal level a predetermined number of times in succession. Even if I do not use force.
- the training signal detection unit detects the reception of the header signal when the magnitude determination unit distinguishes the binary value at least a plurality of times consecutively and then distinguishes the magnitude value of the magnitude determination unit.
- the test signal transmission unit is formed with a first variation pattern in which a plurality of signal levels are known, and includes a first lock signal including a clock component for establishing synchronization with the data transmission apparatus. After transmitting the signal, it is not difficult to transmit the header signal and the training signal continuously.
- the data transmission apparatus transmits a transmission data signal to which another transmission data is mapped to another data transmission apparatus, and the clock component of the first lock signal received by the other data transmission apparatus.
- a clock recovery unit that establishes synchronization with the data transmission apparatus, and detects a match between a plurality of results that the magnitude determination unit distinguishes into two values and at least a part of the first variation pattern.
- a lock signal identification unit that identifies a lock signal, and a determination level setting unit that sets a determination level for separately determining the difference value calculated by the difference calculation unit using the training signal
- a difference value determination unit that determines the difference value calculated by the difference calculation unit based on the determination level set by the determination level setting unit
- an inverse mapping unit for decoding a symbol of the transmission data transmitted in the transmission signal by inverse mapping the judgment result of force, further comprising.
- a test signal transmission unit of a data transmission device set as a master that transmits a transmission signal synchronized to a held reference clock to another data transmission device is a reference clock and After synchronization is established, the first lock signal is transmitted to the other data transmission device, and after the clock recovery unit establishes synchronization with the other data transmission device, the header signal and training signal are transmitted and set as the master.
- the transmission data signal transmission unit of the data transmission apparatus transmits the transmission data signal after the determination level setting unit sets the determination level using the training signal received from the other data transmission apparatus.
- the same signal as the received first lock signal is selected and transmitted, and the training signal detection unit transmits the other data.
- Device power After detecting the reception of the header signal, the transmission data signal transmitter of the data transmission device that transmits the header signal and the training signal and is set as the slave receives the judgment level setting unit from another data transmission device. After setting the judgment level using the training signal, the transmission data signal is Send.
- the test signal transmission unit is a first lock signal having a plurality of signal levels formed with a known first variation pattern and including a clock component for establishing synchronization with the data transmission apparatus, or
- the header signal and the training signal are not continuously transmitted after transmitting the second lock signal which is formed with the second fluctuation pattern different from the first fluctuation pattern and contains the power clock component.
- the data transmission apparatus transmits a transmission data signal, to which each transmission data is mapped, to the other data transmission apparatus, and a transmission data signal transmission unit, and the other data transmission apparatus receives the first or second lock signal received.
- a clock regenerating unit that reproduces a clock component to establish synchronization with the data transmission apparatus, a plurality of results that the magnitude determination unit classifies into two values, and coincidence with at least a part of the first and second variation patterns Set a judgment level to distinguish and judge the difference value calculated by the difference calculation unit using the lock signal identification unit that identifies the first or second lock signal by detecting the signal and the training signal. And the difference value calculated by the difference calculation unit, based on the determination level set by the determination level setting unit. Value determination unit, and an inverse mapping unit which demaps the determination result difference value determination unit outputs to decode the symbols of the transmission data transmitted in the transmission signal, comprising the further.
- a test signal transmission unit of a data transmission device set as a master that transmits a transmission signal synchronized to a held reference clock to another data transmission device is a reference clock and After synchronization is established, the first or second lock signal is transmitted to the other data transmission apparatus, and after the clock recovery unit establishes synchronization with the other data transmission apparatus, the header signal and the training signal are transmitted.
- the transmission data signal transmission unit of the data transmission device set as the master transmits the transmission data signal after the judgment level setting unit respectively sets the judgment level using the training signal received from the other data transmission device. .
- the test signal transmission unit of the data transmission device in which the other data transmission device is set as a slave of the clock synchronization as the master of the clock synchronization Device power Use the received first or second lock signal to After synchronization with the data transmission device is established, the same signal as the received first or second lock signal is selected and transmitted, and the training signal detection unit detects the reception of the header signal of the other data transmission device receiver.
- the transmission data signal transmission unit of the data transmission apparatus which transmits the header signal and the training signal and is set to the slave uses the training signal received by the determination level setting unit to the other data transmission apparatus power. After each setting, transmit data signal.
- the transmission data is a signal of a data format defined by MOST.
- the data receiving apparatus of the present invention it is possible to reliably detect a header signal or a training signal for distinguishing between the lock signal and the training signal transmitted in the initial operation. This is because the header signal can be identified by the determination whether the absolute value of the difference value for each data signal level is larger or smaller than the threshold value, even before the data receiving apparatus performs training processing. Therefore, even if the difference value with respect to the header signal to be received fluctuates, since the margin can be formed with respect to the threshold value, the header signal can be detected surely.
- the training signal detection unit compares the header pattern with a numerical value sequence that is classified into binary values by the magnitude determination unit and arranged in a predetermined number in the reception order, and when both match, detects reception of the header signal. Can be easily obtained by the above configuration.
- the training signal detection unit can easily receive the header signal by detecting that the magnitude determination unit has made a distinction between binary values after the magnitude determination unit has made a distinction between binary magnitudes at least a plurality of times consecutively. It can be detected reliably.
- the header signal can be reliably detected while identifying the type of the lock signal.
- the final determination level can be determined according to the end of the training signal.
- the data transmitting apparatus of the present invention it is possible to transmit a test signal which can reliably detect a header signal by the data receiving apparatus described above.
- training processing can be started after clock synchronization processing with the other data transmission device is completed. Furthermore, when the header signal and the training signal each have a fixed length, the training process can be terminated by time control to start data communication.
- FIG. 1 is a block diagram showing a configuration of a data transmission system according to an embodiment of the present invention.
- FIG. 2 is a functional block diagram showing a configuration of the data transmission apparatus 1 of FIG.
- FIG. 3 is a block diagram showing a configuration of a test signal generation unit 67 of FIG.
- FIG. 4 is a diagram for explaining an example of transmission waveforms of a test signal TS composed of a lock signal, a training header signal, and a training signal.
- FIG. 5 is a diagram for explaining an example of a transmission waveform of a first lock signal.
- FIG. 6 is a diagram for explaining an example of a transmission waveform of a second lock signal.
- FIG. 7 is a view for explaining an example of a transmission waveform of a training signal.
- FIG. 8 is a diagram showing a first example of a transmission waveform pattern in which the second lock signal and the training header signal are output without interruption.
- FIG. 9 is a diagram showing a second example of a transmission waveform pattern in which the second lock signal and the training header signal are output without interruption.
- FIG. 10 is a diagram showing a third example of the transmission waveform pattern in which the second lock signal and the training header signal are output without interruption.
- FIG. 11 is a block diagram showing a configuration of the pattern identification unit 71 of FIG.
- FIG. 12 shows the difference value dd output from the difference calculation unit 54 of FIG. 2 and the first RO of FIG.
- FIG. 13 is a diagram for explaining the operation of the shift register 712 of FIG.
- FIG. 14 is a block diagram showing a configuration of a training signal detection unit 58 of FIG.
- 15 is a diagram showing the difference value dd output from the difference calculation unit 54 of FIG. 2 and data stored in the ROM 584 of FIG.
- FIG. 16 is a diagram for explaining the operation of the shift register 582 of FIG.
- FIG. 17 is a flowchart showing the initialization operation of the first half performed by the data transmission apparatus 1 set as the master and the slave in the data transmission system of FIG.
- FIG. 18 is a flow chart showing a second half initialization operation performed by the data transmission apparatus 1 set as a master and a slave in the data transmission system of FIG.
- FIG. 19 is a block diagram showing the configuration of a conventional data transmission system.
- FIG. 20 is a sequence diagram of the first half showing a conventional data transmission method switching method.
- FIG. 21 is a sequence diagram of the second half showing a conventional data transmission method switching method.
- FIG. 22 is a diagram showing an example of transmission waveforms of the lock signal, training header signal, training signal, and transmission data transmitted between the data transmission device 100a and ⁇ in FIG.
- the data transmission system includes a plurality of data transmission devices, and a transmission / reception unit including a transmission unit and a reception unit is configured in each of the data transmission devices.
- a transmission / reception unit including a transmission unit and a reception unit is configured in each of the data transmission devices.
- FIG. 1 is a block diagram showing the configuration of the data transmission system.
- the data transmission system has a physical topology as a ring 'topology, and forms a one-way ring LAN by connecting a plurality of nodes in a ring' topology.
- each node is configured by six stages of data transmission devices la-If, and transmission paths 80a-80f are respectively connected in a ring type, and data to be transmitted is transmitted through transmission paths 80a-80f.
- a system will be described which is transmitted in one direction via
- Each data transmission device la-If performs processing based on the data transmitted from the data transmission system, and outputs the result to the data transmission system (for example, audio equipment, navigation equipment, or Information terminal equipment) 10a to 10f are connected.
- the respective data transmission devices la-If and the connected devices 10a-10f are physically configured.
- MO Data to be transmitted using ST as a communication protocol is transmitted using a frame as a basic unit, and frames are transmitted in the-direction one after another between each data transmission apparatus 1. That is, the data transmission device la outputs data to the data transmission device lb through the transmission line 80a. Also, the data transmission device lb outputs data to the data transmission device lc via the transmission line 80b. Also, the data transmission device lc outputs data to the data transmission device Id via the transmission line 80c. Also, the data transmission device Id outputs data to the data transmission device le via the transmission line 80d.
- MOST Media Oriented Systems Transport
- the data transmission device le outputs data to the data transmission device If via the transmission line 80e. Then, the data transmission device If outputs data to the data transmission device la via the transmission path 80f.
- the transmission paths 80a-80f inexpensive cables such as twisted wire pairs or coaxial cables are used, and the data transmission devices 1 communicate with each other.
- the data transmission device la is a master that transmits data by the clock of the own device, and the other data transmission device lb-If has a frequency based on the clock generated by the master. It is a slave to lock.
- FIG. 2 is a functional block diagram showing the configuration of the data transmission apparatus 1. Note that the plurality of data transmission devices la-If described above have the same configuration, respectively, and these are collectively referred to as the data transmission device 1.
- the data transmission device 1 includes a controller 2, a microcomputer (MPU) 3, and a transmission / reception unit 4.
- MPU microcomputer
- MOST transmission / reception unit 4
- a connected device 10 Connected to the controller 2 is a connected device 10 that performs processing based on data transmitted through the data transmission system and outputs the result to the data transmission system. Then, as one of the functions, the controller 2 converts data from the connected connected device 10 into a protocol defined by the MOST, and outputs digital data TX to the transmission / reception unit 4. In addition, the controller 2 receives the digital data RX output from the transmission / reception unit 4 and transmits the data to the connected connection device 10.
- the MPU 3 transmits the controller 2 based on each transmission mode of the data transmission apparatus 1.
- the receiver 4 and the connection device 10 are controlled.
- the MPU 3 controls the reset function of the data transmission apparatus 1, transmission method control (switching of 8-value Z4 mapping etc.), power control (switching of energy saving mode), master Z slave selection processing, scramble transmission function, etc. Do.
- the transmission / reception unit 4 is typically constituted by an LSI, and includes a reception unit 5, a transmission unit 6, and a clock control unit 7.
- the receiver 5 receives an electrical signal from another data transmission apparatus 1 input from the transmission path 80, converts the electrical signal into a digital signal RX, and outputs the digital signal RX to the controller 2. Further, the receiver 5 reproduces the clock component contained in the electric signal and outputs the clock component to the clock controller 7.
- the transmitting unit 6 converts the digital data TX output from the controller 2 into an electrical signal based on the clock of the clock control unit 7, and outputs the electrical signal to another data transmission apparatus 1 via the transmission path 80. .
- the clock control unit 7 controls the system clock of the data transmission apparatus 1.
- the clock used by the transmission / reception unit 4 is output based on the clock used by the data transmission device 1 of the previous stage reproduced by the reception unit 5 or the clock of the controller 2.
- the clock control unit 7 outputs the clock reproduced by the transmission PLL (Phase Locked Loop), and when the data transmission device 1 is a slave, the clock controller 7 reproduces the clock by the reception PLL. Output the clock.
- the transmission PLL Phase Locked Loop
- Transmitter 6 includes selector 61, S / P (serial Z parallel) converter 62, mapping unit 63, roll-off filter 64, DAC (digital 'analog' converter) 65, differential driver 66, and a test signal.
- the generator 67 is included.
- the transmitter 6 converts the digital data TX output from the controller 2 into an analog electrical signal having a signal level obtained by multi-value mapping (for example, 8-value mapping or 4-value mapping), and outputs the converted signal to the transmission path 80.
- multi-value mapping for example, 8-value mapping or 4-value mapping
- Selector 61 selects data (for example, digital data TX or digital data RX) to be transmitted from transmission unit 6 based on the clock controlled by clock control unit 7 and outputs it to SZP conversion unit 62. .
- the SZP conversion unit 62 converts serial digital data output from the selector 61 into parallel data for every two bits in order to perform multi-level transmission.
- the mapping unit 63 maps the parallel data of every 2 bits converted by the S / P conversion unit 62 to any one of! / Total 8 symbols based on the above system clock, and outputs it to the roll-off filter 64. Do. In this mapping, in order to perform clock recovery in the other data transmission apparatus 1 arranged on the receiving side, parallel data of every 2 bits are alternately divided into upper 4 symbols and lower 4 symbols among 8 symbols.
- mapping is performed by the difference with the previous value.
- the mapping unit 63 maps the test signal TS output from the test signal generation unit 67 as it is or based on the above-mentioned system clock to! /, Or one of the eight-valued symbols, to perform the rolloff filter 64.
- Output to As to whether or not the mapping unit 63 maps the test signal TS it may be determined according to the test signal TS output from the test signal generation unit 67.
- the eight-value mapping method in order to enable reception regardless of variations or differences in DC components among the respective data transmission devices 1, parallel data of the previous symbol value and the above-mentioned two bits ( Determination (mapping) of transmission symbol values based on transmission data).
- the transmission symbol values are “+7”, “+5”, “+3”, “+1”, “ ⁇ 1”, “ ⁇ 1”, “ ⁇ 3”, “one five”, and “one seven”. It is defined to map to any of the signal levels. For example, when the previous symbol value is “one 1” and the transmission data “00” is mapped, the transmission symbol value is “+7” and the difference value with the previous symbol value is “+8”.
- the transmission symbol values are mapped to alternate with the polarity of the previous symbol value so that their positive and negative values are alternated. Also, the transmission data is mapped to be uniquely determined for the difference value with the previous symbol value.
- the roll-off filter 64 is a waveform shaping filter for suppressing band limitation of the electric signal to be transmitted and intersymbol interference.
- the roll-off filter 64 is configured of an FIR filter.
- the DAC 65 converts the band-limited signal by the roll-off filter 64 into an analog signal.
- the differential driver 66 amplifies the strength of the analog signal output from the DAC 65, converts it into a differential signal, and sends it to the transmission line 80.
- the differential driver 66 has two lines 1 of the transmission line 80 The electric signal to be sent is sent to one side (plus side) of the transmission line 80 to the set of conductors, and a signal that is opposite in polarity to the electric signal is sent to the other side (minus side) of the transmission line 80.
- the electrical signals of the positive side and the negative side are transmitted as one pair in the transmission path 80, the electrical signals of the respective electrical signals cancel each other's changes, and the transmission path 80 Noise and external power can be reduced.
- the test signal generation unit 67 generates a test signal TS in order to perform initialization in cooperation with another data transmission apparatus 1 at the time of initialization processing such as when the power is turned on.
- the test signal TS includes a clock recovery signal (hereinafter referred to as a lock signal) for establishing synchronization on the receiving side, a trailing header signal (for example, the maximum or minimum signal level continues for a predetermined period), and reception And a training signal for setting a determination level as a reference of data determination with another data transmission apparatus 1 disposed on the side.
- the training signal is a known data pattern among the data transmission devices 1 and includes all the above-mentioned transmission symbol values.
- the test signal TS generated by the test signal generation unit 67 is sent to the mapping unit 63. The details and the like of the transmission waveform of the test signal TS will be described later.
- the receiver 5 includes a clock recovery unit 50, a differential receiver 51, an ADC (analog-digital 'converter) 52, a roll-off filter 53, a difference calculation unit 54, a reverse mapping unit 55, and a PZS (parallel Z serial). ) A conversion unit 56, a determination level setting unit 57, a training signal detection unit 58, a teacher signal generation unit 59, a pattern identification unit 71, and a determination unit 72.
- a conversion unit 56 A conversion unit 56, a determination level setting unit 57, a training signal detection unit 58, a teacher signal generation unit 59, a pattern identification unit 71, and a determination unit 72.
- the differential receiver 51 converts the differential signal input from the transmission line 80 into a voltage signal and outputs the voltage signal to the ADC 52.
- positive and negative electrical signals are transmitted as one pair with respect to one pair of conducting wires of the transmission line 80, and the differential receiver 51 has the bus side and the negative side. It is effective against external electrical influences in order to judge the difference signal.
- the ADC 52 converts the voltage signal output from the differential receiver 51 into a digital signal.
- the roll-off filter 53 is an FIR filter for waveform shaping that removes noise from the digital signal output from the ADC 52, and is combined with the above-described roll-off filter 64 on the transmission side to provide a roll-off characteristic without intersymbol interference.
- the difference calculation unit 54 uses a roll-off filter 53 based on the data symbol timing detected by the clock reproduction unit 50 described later. The difference value dd between the received symbol value output and the previous symbol value is also calculated. Then, the difference calculation unit 54 performs data determination for each difference value dd based on the determination level set by the determination level setting unit 57, and outputs the determination value to the reverse mapping unit 55. In this way, the DC voltage difference between the devices when transmitting from the transmitting side to the receiving side data transmission device 1 is canceled by determining the received symbol value by the difference value dd from the previous symbol value. be able to.
- the reverse mapping unit 55 decodes the data before mapping by the mapping unit 63 on the transmission side using the above determination value. By the reverse mapping process in the reverse mapping unit 55, the judgment value is converted into parallel data.
- the PZS conversion unit 56 converts the parallel data converted by the reverse mapping unit 55 into serial digital data RX, and outputs it to the controller 2
- Clock recovery unit 50 recovers the clock of the transmission path by recovering the clock component of the signal received from transmission path 80 output from ADC 52, and becomes the maximum or minimum point of the transmission waveform described above. Detect data symbol timing.
- the clock regenerated by the clock regeneration unit 50 is used as a clock for the entire reception unit 5.
- the clock regenerated by the clock regeneration unit 50 is output to the clock control unit 7 and used as a reference clock input of the receiving PLL.
- the determination level setting unit 57 sets a determination level for determining the difference value dd as a threshold with respect to the difference value dd calculated by the difference calculation unit 54.
- the training signal detection unit 58 detects a training header signal included in the test signal TS transmitted from the other data transmission device 1 and detects a training signal received following this training header signal. The detailed configuration of the training signal detection unit 58 will be described later.
- the teacher signal generation unit 59 has the same data pattern as the training signal received subsequently to the training header signal, and is in synchronization with the training signal. Output MS to the judgment level setting unit 57.
- the determination level setting unit 57 calculates the determination level based on the teacher signal MS and the difference value dd calculated with respect to the trailing signal.
- the pattern identification unit 71 and the determination unit 72 pattern-identify the information embedded in the lock signal transmitted from the data transmission apparatus connected to the previous stage, and determine the information based on the identification result. Do. Specifically, the pattern identification unit 71 identifies the pattern of the lock signal to be transmitted on the basis of a combination of magnitudes with respect to the absolute value of the difference value. Then, the determination unit 72 determines whether the lock signal transmitted is the first lock signal or the second lock signal based on the identification result output from the pattern identification unit 71, and the determination result is generated as a test signal. Output to part 67. For example, the information embedded in the lock signal can notify the data transmission method (8-value Z4 value mapping).
- FIG. 3 is a block diagram showing the configuration of the test signal generator 67
- FIGS. 4 and 10 are diagrams for explaining an example of a transmission waveform of the test signal TS.
- test signal generating unit 67 includes first lock signal generating unit 671, second lock signal generating unit 672, training header signal generating unit 673, training signal generating unit 674, selector 675, and switching instruction. It has a part 676.
- the test signal generator 67 outputs data (data (data) representing each signal in order to transmit the test signal TS composed of the lock signal, the training header signal, and the training signal shown in FIG. The symbol is output to the mapping unit 63.
- the first lock signal generation unit 671 outputs data for generating the first lock signal as shown in FIG. 5 to the selector 675.
- FIG. 5 is a graph showing the transmission waveform of the first lock signal output from the data transmission device 1.
- the first lock signal is for each data transmission device
- This signal is used when one-power S clock synchronization is taken, and information for notifying the data transmission system 1 of the data transmission method is embedded.
- the first lock signal notifies the lower data transmission apparatus 1 that communication is to be performed using eight-level mapped data.
- the first lock signal is a signal in which one cycle is also eight symbol power, and the signal level "+1" and "one 1" are alternately repeated in each symbol.
- Second lock signal generation unit 672 outputs data for generating a second lock signal as shown in FIG. 6 to selector 675.
- 6 shows the data output from the data transmission apparatus 1.
- 2 is a graph showing a transmission waveform of a lock signal.
- the second lock signal is also a signal used when each data transmission apparatus 1 obtains clock synchronization, and information in which the data transmission system is notified to each data transmission apparatus 1 is embedded. It is For example, the second lock signal notifies the lower data transmission apparatus 1 that communication is to be performed using 4-value mapped data.
- the second lock signal has eight symbol powers in one cycle, and the signal level “+1” and “one 1” are alternately repeated in each symbol, and the seventh symbol is signal level “+7”, The eighth symbol is a signal whose signal level is “one seven”.
- the training header signal generator 673 outputs data for generating a training header signal as shown in FIG. 4 to the selector 675.
- the training header signal is disposed between the mouth signal and the training signal, and is a signal provided to distinguish between the two.
- the training header signal consists of 12 symbols, and in the 1st symbol to the 9th symbol, the signal levels “1” and “7” are alternately repeated, and the 10th symbol to the 12th symbol is the signal level “ It is a signal that has become constant at + 7J.
- the training signal generator 674 outputs data for generating a training signal as shown in FIG. 7 to the selector 675.
- FIG. 7 is a graph showing the transmission waveform of the training signal output from the data transmission device 1.
- the training signal is a signal for setting the determination level for four-value mapping or setting the determination level for eight-value mapping in the data transmission apparatus 1 in the subsequent stage.
- the training signal generation unit 674 creates a training signal for 4-value mapping or 8-value mapping according to the instruction from the MPU 3 when the own device is a master, and when the own device is a slave. According to the instruction of the determination unit 72, a tracing signal for 4-value mapping or 8-value mapping is created.
- Fig. 7 shows a training signal for 8-value mapping.
- a training signal is generated by S / P conversion of an M series (xl7 + x3 + 1: initial value: 1100000000 0000000) and mapping to eight values.
- the training signal is transmitted for 65,536 symbols (216 symbols), and the training signal to be transmitted has a fixed length.
- the selector 675 selects and maps one of the first lock signal, the second lock signal, the training header signal, and the training signal according to the instruction from the switching instruction unit 676. Output to section 63.
- the selection order for outputting the test signal TS is the order of the second lock signal, the trailing header signal, and the training signal in order. These are uninterrupted mapping without breaking the law of alternately mapping the upper and lower symbols. Output to section 63.
- switching instruction unit 676 determines the type of signal selected by selector 675.
- a transmission waveform pattern in which the second lock signal and the training header signal are output without interruption will be described with reference to FIG. 8 to FIG.
- the training header signal is sent out after clock synchronization has been established using the lock signal.
- the lock signal is switched to the training header signal and output to the subsequent data transmission device.
- the lock signal is switched to the training header signal and output to the subsequent data transmission device in response to the reception detection of the data transmission device power training header signal of the former stage (each detailed The operation will be described later).
- the lock signal does not have a fixed length, and in the case of the second lock signal in particular, a plurality of patterns occur in the portion connected to the training header signal.
- the connection portion between the training header signal and the training signal has a fixed pattern since both have a fixed length.
- the difference to the signal level “one seven” of the start symbol of the training header signal The value changes from “2” ⁇ “8” ⁇ “14” (state in Figure 8). Also, when the signal level up to the final symbol of the second lock signal is “+7” ⁇ “one seven” ⁇ “+1”, the difference value up to the signal level “one seven” of the start symbol of the training header signal is It changes from “14” ⁇ “8” ⁇ “8” (state in Figure 9).
- the difference value up to the signal level “one 7” of the start symbol of the training header signal is “ It changes from 2 ” ⁇ “ 2 ” ⁇ “ 8 ”(state in Figure 10).
- FIG. 11 is a block diagram showing the configuration of the pattern identification unit 71
- FIG. 12 is a diagram showing the difference value dd from which the difference calculation unit 54 is also output and the data stored in the first ROM 714 and the second ROM 717.
- FIG. 13 is a diagram for explaining the operation of the shift register 712. is there.
- pattern identification unit 71 includes magnitude determination unit 711, shift register 712, first comparator 713, first ROM 714, first counter 715, second comparator 716, second ROM 717, and second counter. Includes 718.
- the difference calculation unit 54 reads the value of the symbol of the digital signal output from the ADC 52 based on the clock regenerated by the clock regeneration unit 50, and reads it immediately before the value of the symbol read.
- the difference value dd with the value of the symbol is calculated, and the difference value dd is output to the magnitude determination unit 711. More specifically, since the first lock signal shown in FIG. 5 is such that the signal levels “+1” and “one 1” are alternately repeated for each symbol, the difference calculation unit 54 , The difference value dd shown in FIG. 12 (a) is output.
- the difference calculation unit 54 outputs the difference value dd shown in FIG. 12 (b).
- the magnitude determination unit 711 determines whether the absolute value of the difference value dd output from the difference calculation unit 54 is larger than a predetermined threshold value. More specifically, for example, when the threshold value is 5 and the difference value dd shown in FIG. 12 (a) is input, the magnitude judgment unit 711 outputs the input difference value dd. Data “S” indicating that the absolute value of “is smaller than the threshold value” is output to shift register 712. On the other hand, when the difference value dd shown in FIG. 12 (b) has been input, the magnitude determination unit 711 determines that the difference value dd is smaller than the threshold value at “+2” and “one”.
- the data “S” indicating “V,” is output to the shift register 712, and the data “L” indicating “greater than the threshold value” is output to the part where the difference value dd is “+8” and “1-14”. Is output to the shift register 712. Note that, typically, the magnitude judgment unit 711 outputs data “0” in the case of data “S” and outputs data “1” in the case of data “L”.
- the shift register 712 stores data of a predetermined number of bits, and erases data by one bit from the old one each time data is newly input from the size determination unit 711 (FIF O Method) to update internal data. More specifically, as shown in FIG. 13, in this embodiment, shift register 712 can store 8-bit data. Then, as shown in FIG. 13 (a) -FIG. 13 (c), when a bit indicating data "S" is newly input to shift register 712, data "S" is the oldest data. Discard the bit that indicates the other The area storing the bits is sequentially advanced.
- FIG. 12 (c) shows data stored in the first ROM 714.
- the first ROM 714 stores data for detecting that the lock signal received by the data transmission device 1 is the first lock signal.
- eight bits of data “S” are stored in series in the first ROM 714.
- the first comparator 713 determines whether the data stored in the shift register 712 matches the data stored in the first ROM 714 each time 1-bit data is input to the shift register 712. Determine if When the two data match, the first comparator 713 outputs data “1” indicating that the two match to the first counter 715. On the other hand, when the two data do not match, the first comparator 713 outputs, to the first counter 715, data “0” indicating that the two do not match.
- the first counter 715 counts the number of data “1” output from the first comparator 713, and when the number of counts reaches a predetermined number (for example, 16), outputs that effect to the determination unit 72. .
- FIG. 12 (d) shows data stored in the second ROM 717.
- the second ROM 717 stores data for detecting that the lock signal received by the data transmission device 1 is the second lock signal.
- 8-bit data is stored in the second ROM 717
- the fifth and seventh data "X" 1S sixth data “L” 1S other data "S” Are stored in series
- the data "X” indicates that the data of the shift register 712 for judging coincidence may be either "S” or "L”. This is because, as shown in FIG. 12 (b), the absolute value of the difference value before and after the difference value “1 14” is “8”, and the data “L” or “S” is set according to the setting of the threshold value.
- the second comparator 716 determines whether the data stored in the shift register 712 matches the data stored in the second ROM 717 every time 1-bit data is input to the shift register 712. Determine if Then, if the two data match, the second comparator 716 , And outputs to the second counter 718 data "1" indicating that there is a match. On the other hand, if the two data do not match, the second comparator 716 outputs, to the second counter 718, data “0” indicating that the two do not match.
- Second counter 718 counts the number of data “1” output from second comparator 716, and when the number of counts reaches a predetermined number (for example, 16), outputs that effect to determination unit 72. .
- the determination unit 72 determines that the lock signal transmitted from the data transmission device in the previous stage is the first one. 1 Determine whether it is the lock signal or the second lock signal. That is, based on the information embedded in the lock signal, the determination unit 72 determines a data transmission method (eight-value Z4-value mapping) or the like to perform communication.
- the data transmission apparatus 1 discriminates the first lock signal and the second lock signal by a powerful judgment that the absolute value of the difference value for each signal level is larger or smaller than the threshold. doing.
- FIG. 14 is a block diagram showing the configuration of the training signal detection unit 58
- FIG. 15 is a diagram showing the data output from the difference calculation unit 54 and the data stored in the ROM 584. These are diagrams for explaining the operation of the shift register 582.
- the training signal detection unit 58 includes a magnitude determination unit 581, a shift register 582, a comparator 583, a ROM 584, and a counter 585.
- the difference calculation unit 54 reads the value of the symbol of the digital signal output from the ADC 52 based on the clock regenerated by the clock regeneration unit 50, and reads it immediately before the value of the symbol read. A difference value dd with the value of the symbol is calculated, and the difference value dd is output to the magnitude judgment unit 581. More specifically, the first lock signal shown in FIG. Since the signal levels “+1” and “one 1” are alternately repeated for each symbol, the difference calculator 54 outputs the data shown in FIG. 15 (a). On the other hand, the training header signal shown in FIG. 4 changes to signal levels “+7”, “one seven”, “+7”, “one seven”, “+7”, “+7”. Therefore, the difference calculation unit 54 outputs the data shown in FIG. 15 (a).
- the magnitude determination unit 581 determines whether the absolute value of the difference value dd output from the difference calculation unit 54 is larger than a predetermined threshold. More specifically, for example, if the data shown in FIG. 15 (a) is input, assuming that the above threshold is 5, the magnitude judgment unit 581 determines that the difference value dd is “one 14” and “one”. For the part of “+14”, data “L” indicating “more than threshold” is output to shift register 582, and when the absolute value of difference value dd is “0”, “less than threshold”! Data “L” indicating “/,” is output to shift register 582. Note that, typically, the magnitude judgment unit 581 outputs data “0” in the case of data “S”, and outputs data “1” in the case of data “L”.
- shift register 582 stores data of a predetermined number of bits, and 1 bit from the old one each time data is newly input from size determination unit 581. Erases data by the amount (FIFO method) and updates internal data. More specifically, as shown in FIG. 16, in this embodiment, the shift register 582 can store 5-bit data. Then, as shown in FIG. 16 (a) -FIG. 16 (c), when a bit indicating data "L” or "S" is newly input to shift register 582, data which is the oldest data is input. The bits indicating "L” are discarded, and the area storing the other bits is sequentially advanced.
- FIG. 15 (b) shows data stored in the ROM 584.
- the ROM 584 stores data for detecting that the signal received by the data transmission device 1 is a training header signal. As shown in FIG. 15 (b), 5-bit data is stored in the ROM 584. Fifth, data "S” and data “L” are stored in series.
- the comparator 583 determines whether or not the data stored in the shift register 582 matches the data stored in the ROM 584 each time 1-bit data is input to the shift register 582. Do. Then, when the two data match, the comparator 583 outputs data “1” indicating that the data match to the counter 585, the teacher signal generation unit 59, and the MPU 3. On the other hand, if the two data do not match, the comparator 583 sets the counter 585 and And outputs to the teacher signal generation unit 59 data “0” indicating that the force has not matched.
- the counter 585 starts counting in response to the input of the data “1” output from the comparator 583. Then, the counter 585 detects the end of reception of the training signal having a fixed length by counting, and when reception of the training signal is ended, outputs that effect to the determination level setting unit 57. For example, the counter 585 detects the end of the training signal by counting 65536 symbols that the training signal has.
- the data transmission apparatus 1 identifies the training header signal by the determination of the absolute value of the difference value for each signal level being greater than or less than the threshold! There is. That is, even if the difference value with respect to the received training header signal fluctuates by “0” force, the training header signal can be detected with certainty because it has a margin for the threshold.
- the shift register 582 described above can store 5-bit data, the reason will be described. In order to reliably detect the training header signal, it must be distinguished from the second lock signal. As shown in FIG. 12 (b), in the second lock signal, the difference value before and after the difference value "14" is "+ 8", and the absolute value "8" of the difference value is the setting of the above threshold. Is a value that can be fluidly changed to data "L” or "S". That is, when the second lock signal is determined by the magnitude determination unit 581, the data “S” may be input to the shift register 582 after the data “L” continues three times.
- shift register 582 does not use the determination of data of 6 bits or more, which is sufficient if it can store at least 5 bits of data.
- the detection of the training header signal does not have to be the method as described above.
- the teacher signal generation unit 59 outputs a teacher signal MS synchronized with the training signal to the determination level setting unit 57.
- the determination level setting unit 57 receives the difference value dd calculated for the training signal by the difference calculation unit 54, and the determination level setting unit 57 uses the input difference value dd and the teacher signal MS. The setting of the determination level is started. Then, when the determination level setting unit 57 outputs from the counter 585 that the reception of the training signal is completed, the setting of the determination level ends.
- FIGS. 17 and 18 are flowcharts showing initialization operations performed by the data transmission apparatus 1 set as the master and the slave in the data transmission system.
- the data transmission device la is a master and the other data transmission device lb-In is a slave and only the respective constituent elements are shown
- reference symbols a- n are used for the respective reference numerals. To distinguish.
- each component is referred to generically, it shall be described without a-n attached to the reference code.
- the power of the data transmission system is turned on by turning on the power of all the data transmission devices la-In connected to the data transmission system (steps S11 and S51).
- the processes in steps S11 and S51 may be processes in which the reset state of the data transmission system is released or the like in addition to the power on of the entire system.
- the MPU 3a of the master data transmission device la determines a data transmission method for data communication in the data transmission system (step S12).
- the MPU 3a determines one of the four-value mapping and the eight-value mapping! / As the data transmission method.
- the master data transmission device la is the MPU of its own device.
- step 3a it is determined whether or not the data transmission scheme value value mapping determined in step SI 2 is satisfied (step S13). Then, the MPU 3a proceeds the process to the next step S14 if it is an eight-value mapping, and advances the process to the next step S15 if it is a four-value mapping.
- step S14 the master data transmission device la selects the first lock signal in which the information to start the communication based on the 8-value mapped data is selected, and the process proceeds to the next step S16.
- the operation performed in the data transmission device la in step S14 will be described in detail.
- the MPU 3a When communication based on eight-value mapped data is started, the MPU 3a notifies the switching instruction unit 676a of the test signal generating unit 67a to that effect. In response to this notification, the switching instruction unit 676a controls the selector 675a to output the first lock signal output from the first lock signal generation unit 671a. Thereby, the test signal generation unit 67a selects the first lock signal.
- step S15 the master data transmission device la selects the second lock signal in which the information to start communication by the 4-value mapped data is selected, and the process proceeds to the next step S16. Advance. The operation performed in the data transmission device la in step S15 will be described in detail below.
- the MPU 3a When communication based on the four-value mapped data is started, the MPU 3a notifies the switching instruction unit 676a of the test signal generation unit 67a to that effect. In response to this notification, the switching instructing unit 676a controls the selector 675a to output the second lock signal output from the second lock signal generating unit 672a. Thereby, the test signal generation unit 67a selects the second lock signal.
- step S16 the master data transmission device la establishes synchronization with its own reference clock, and then transmits the lock signal selected in step S14 or S15 using the clock with which synchronization has been established.
- the lock signal output from the selector 675a is subjected to mapping processing in the mapping unit 63a, and given processing is performed between the roll-off filter 64a and the differential driver 66a, and the data transmission device lb in the subsequent stage is processed. Sent to.
- step S51 the slave data transmission apparatus lb is Waiting for reception of the lock signal transmitted from the data transmission device la (step S52). Then, when the data transmission device lb receives the lock signal transmitted from the master data transmission device la, the process proceeds to the next step S53.
- step S53 the data transmission apparatus lb of the slave performs clock synchronization processing using the received lock signal.
- step S54 determines whether the received lock signal is the first lock signal. Then, if the data transmission device lb is the first lock signal, the process proceeds to the next step S55, and if it is not the first lock signal, the process proceeds to the next step S56.
- the processing performed in the slave data transmission apparatus lb will be described in detail below in steps S53 and S54.
- the lock signal transmitted from the data transmission device la in the previous stage is subjected to predetermined processing by the differential receiver 5 lb of the data transmission device lb and the ADC 52 b, and the clock recovery unit 50 b and the roll-off filter 53 b are processed. It is output.
- the clock recovery unit 50 recovers the clock component included in the received lock signal. By establishing this clock as a reception clock to be used by the receiver 5 and the clock controller 7, clock synchronization processing in step S53 is performed.
- roll-off filter 53b performs a predetermined process and outputs a lock signal to difference calculation unit 54b.
- the difference calculating unit 54b calculates the difference value dd between the symbols of the lock signal based on the clock reproduced by the clock reproducing unit 50b, and outputs the difference value dd to the pattern identifying unit 71b and the training signal detecting unit 58b. .
- the magnitude determination unit 71 lb of the pattern identification unit 71 b determines whether the absolute value of each difference value dd output from the difference calculation unit 54 b is larger than the above-described threshold value, and shifts the determination result. Output to register 712b. Specifically, when the above threshold value is 5, the magnitude judgment unit 71 lb outputs data “S” eight times as the judgment result for the difference value dd shown in FIG. 12 (a). In addition, the size determination unit 711b outputs data "S" four times as a determination result for the difference value dd shown in FIG. 12B, and then outputs data "L” three times, and then outputs data "S". Is output once. In response to these, one of the above two types of determination results is output to the shift register 712 b one bit at a time.
- the first comparator 713 b includes data indicating the first lock signal stored in the 1st ROM 714 b, and The data stored in the shift register 712 b is compared every time 1 bit of data is input, and if they match, the data “1” is output to the first counter 715 b.
- the second comparator 716b compares the data indicating the second lock signal stored in the second ROM 717b with the data stored in the shift register 712b every time one bit of data is input, If so, the data "1" is output to the second counter 718b.
- the first counter 715 b counts the number of data “1” output from the first comparator 713 b.
- the second counter 718 b counts the number of data “1” output from the second comparator 716 b. Then, when the number of counted data “1” reaches the predetermined number of times, both counters notify the determination unit 72 b to that effect.
- the determination unit 72b determines whether the shift counter force has been notified as well. Then, when notified by the first counter 715b, the determination unit 72b determines that the first lock signal has been received, and recognizes that communication using data mapped to eight values is performed in the data transmission system. On the other hand, when notified by the second counter 718b, the judging unit 72b judges that the second lock signal has been received, and the data transmission system communicates with the four-value mapped data. Recognize. Then, the determination unit 72b notifies each component in the data transmission apparatus lb such as the test signal generation unit 67b and the MPU 3b of the recognition result. The same difference value dd is also output to the training signal detection unit 58b. As described above, since the lock signal is not confused with the training header signal, the training signal detection unit 58b outputs the lock signal. Do not detect the training header signal while receiving
- step S55 test signal generation unit 67b selects the first lock signal, and the process proceeds to the next step S57.
- test signal generation unit 67b selects the second lock signal, and the process proceeds to the next step S57.
- the processes performed in steps S55 and S56 are the same as steps S14 and S15 except that the instruction from MPU 3a is changed to the notification from determination unit 72b, so detailed description will be omitted. Do.
- step S57 the lock signal selected by the test signal generation unit 67b is output from the transmission / reception unit 4b of the data transmission device lb to the data transmission device lc in the subsequent stage. Also in the slave data transmission device lc-In, the above-described state described in the operation of the data transmission device lb is The processes in steps S52 to S57 are similarly performed. Then, the data transmission device In outputs the lock signal to the data transmission device la of the master.
- step S16 the data transmission device la of the master waits for the reception of the lock signal transmitted from the data transmission device In at the previous stage (step S17).
- step S18 clock synchronization processing is performed using the received lock signal (step S18).
- step S18 is the same as the process of step S53, and thus the detailed description will be omitted.
- the data transmission apparatus la of the master outputs a training header signal and a training signal according to the data transmission method determined in step S12 above to the data transmission apparatus lb of the subsequent stage (step S19). .
- the operation performed in the data transmission device la in step S19 will be described in detail below.
- the MPU 3a After confirming the completion of the clock synchronization process of step S18, the MPU 3a first performs a process of transmitting a tracing header signal from the data transmission device la.
- the MPU 3a notifies the switching instructing unit 676a of the test signal generating unit 67a that the training header signal is to be selected.
- the switching instruction unit 676a controls the selector 675a to output the training header signal output from the training header signal generator 673a.
- the test signal generation unit 67a selects a training header signal.
- the MPU 3a performs processing of transmitting a training header signal from the data transmission device la, and transmits processing of a training signal from the data transmission device la after a predetermined time has elapsed.
- the training header signal has a fixed length (for example, 12 symbols)
- switching to processing for transmitting a training signal is automatically performed based on the passage of time.
- the MPU 3a notifies the switching instructing unit 676a of the test signal generating unit 67a that the training signal is to be selected.
- the switching instructing unit 676a controls the selector 675a to output the training signal output from the training signal generating unit 674a.
- the test signal generation unit 67a selects a training signal.
- Training header signals and training signals output from these selectors 675a are sequentially mapped by the mapping section 63a, subjected to predetermined processing between the roll-off filter 64a and the differential driver 66a, and transmitted to the data transmission apparatus lb of the subsequent stage.
- step S57 the slave data transmission apparatus lb waits for reception of the training header signal transmitted from the data transmission apparatus la of the preceding stage (step S58).
- step S58 the process proceeds to the next step S59.
- the process performed in the slave data transmission apparatus lb in step S58 will be described in detail.
- the training header signal transmitted from the data transmission device la of the previous stage is subjected to predetermined processing by the differential receiver 51b of the data transmission device lb, the ADC 52b, and the roll-off filter 53b, and the difference calculator 54b. Output. Difference calculation unit 54b calculates the difference value dd between the symbols of the training header signal based on the established reception clock, and outputs the difference value dd to pattern identification unit 71b and training signal detection unit 58b. It will
- the magnitude determination unit 581b of the training signal detection unit 58b determines whether the absolute value of each difference value dd output from the difference calculation unit 54b is larger than the above-described threshold value, and shifts the determination result. Output to register 582b. Specifically, when the threshold value is 5, the magnitude determination unit 581b outputs data “L” four times as a determination result for the difference value dd shown in FIG. Is output once. In response to these, one of the above two types of determination results is output to the shift register 582b one bit at a time.
- the comparator 583b compares the data indicating the training header signal stored in the ROM 584b with the data stored in the shift register 582b every time 1 bit of data is input, and when the data match, the data It outputs “1” to the teacher signal generation unit 59 b, the counter 585 b, and the MPU 3 b. Then, in response to receiving data "1" from the comparator 583b, the teacher signal generation unit 59b outputs a teacher signal MS synchronized with the training signal to the determination level setting unit 57b. On the other hand, the counter 585b starts counting in response to the input of the data "1" output from the comparator 583b.
- the same differential value dd is output to the pattern identification unit 71b, as described above, the training header signal is mixed with the lock signal. Because they are not the same, the pattern identification unit 71b does not detect the first or second lock signal while receiving the training header signal.
- step S59 the data transmission apparatus lb outputs a training header signal and a training signal according to the data transmission method notified in step S54 to the data transmission apparatus lc in the subsequent stage, and the process is performed in the next step. Proceed to S60.
- the process performed in step S59 is the same as that in step S19 except that the process is performed in response to the input of data "1" output from the comparator 583b by the MPU 3b, and thus the detailed description is omitted.
- the slave data transmission device lc-In the processes of steps S58 and S59 described above in the operation of the data transmission device lb are similarly performed. Then, the data transmission device In outputs the training header signal and the training signal to the data transmission device la of the master.
- step S60 the data transmission apparatus lb sets the determination level, and the process proceeds to the next step S61.
- the operations performed in the data transmission apparatus lb in step S60 will be described in detail.
- the teacher signal generation unit 59b In response to receiving the data “1” from the comparator 583b, the teacher signal generation unit 59b outputs a teacher signal MS synchronized with the training signal to the determination level setting unit 57b.
- the determination level setting unit 57b receives the difference value dd calculated for the training signal by the difference calculation unit 54b, and the determination level setting unit 57b uses the input difference value dd and the teacher signal MS to execute the above. Start setting the judgment level.
- step S61 the counter 585b of the data transmission apparatus lb determines whether or not the count started from the process of step S58 has reached a specified number. For example, the signal processing unit 585b detects the end of the training signal by setting the count number corresponding to 65,536 symbols of the training signal to the above specified number. Then, if the count of the counter 585b has not reached the specified number, the data transmission apparatus lb returns the process to the above step S60 and continues the determination level setting. On the other hand, when the count of the counter 585b reaches the specified number, the data transmission apparatus lb determines that the reception of the training signal transmitted from the data transmission apparatus la in the previous stage is completed, and the process proceeds to the next step S62. Advance.
- step S19 the master data transmission device la waits for reception of the training header signal transmitted from the data transmission device In of the preceding stage (step S20). Then, when the data transmission device la receives the training header signal to which the data transmission device In power is also transmitted, the process proceeds to the next step S21.
- the process of step S20 is the same as the process of step S58, and thus the detailed description is omitted.
- step S21 the data transmission device la sets the determination level and proceeds to the next step.
- the counter 585a of the data transmission apparatus la determines whether or not the count started from the process of step S20 has reached a specified number. Then, when the count of the counter 585a has not reached the specified number, the data transmission device la returns the process to the above-mentioned step S21 and continues the determination level setting. On the other hand, when the count of the counter 585a reaches the specified number, the data transmission device la determines that the reception of the training signal transmitted from the data transmission device In in the previous stage is completed, and the process proceeds to the next step S23.
- steps S21 and S22 are the same as the processes of steps S60 and S61, and thus detailed description will be omitted.
- the training header signal for distinguishing between the lock signal and the training signal transmitted in the initialization process can be detected reliably.
- the training header signal can be roughly determined based on whether the absolute value of the difference value for each data signal level is larger or smaller than the threshold value, even before the data transmission device is training processing. This is because identification is possible, and even if the difference value for the received training header signal fluctuates from "0", the training header signal must be detected reliably because it has a margin for the threshold. it can.
- the minimum difference value between adjacent symbols for example, the difference value “1 2” or “+2”.
- the training signal detection unit 58 and the pattern identification unit 71 do not use force even if they configure some components in common.
- the respective size determination units 581 and 711 perform the same operation in parallel in the initialization operation of the data transmission device 1.
- the shift registers 582 and 712 have been described with different numbers of stored bits, they can be configured with the same number of bits, in which case the same is true in the initialization operation of the data transmission apparatus 1. The actions will be done in parallel. Therefore, the training signal detection unit 58 and the pattern identification unit 71 can be realized with a configuration in which the size determination unit and the shift register are common components. In this case, the same operation as described above can be performed by configuring three comparators that compare the data stored in the common shift register with the data stored in each of the three ROMs.
- the training signal detector 58 detects the training header signal. However, other signals may be detected depending on the configuration of the test signal TS. For example, the training signal detection unit 58 detects a part of the training signal.
- the master data transmission device la determines in the MPU 3a of its own device whether or not the data transmission method power value mapping determined in step S12 is a force or not, and the MPU 3a If it is 8-value mapping, the process proceeds to the next step S14. If it is 4-value mapping, the process proceeds to the next step S15. Also, the data transmission device lb of the slave performs clock synchronization processing using the received lock signal, and determines whether the received lock signal is the first lock signal or not, and is the first lock signal. If so, the process proceeds to the next step S55, and if it is not the first lock signal, the process proceeds to the next step S56. However, when the data transmission method is determined in advance, the step of making these determinations is unnecessary.
- the test signal generation unit 67 shown in FIG. 3 may include only one of the first port lock signal generation unit 671 and the second lock signal generation unit 672.
- the pattern identification unit 71 and the determination unit 72 shown in FIG. 2 also pattern-identify the information embedded in the lock signal transmitted from the data transmission device connected in the previous stage, and based on the identification result, the information It goes without saying that there is no need to have the function to determine Industrial applicability
- the data receiving apparatus, data transmitting apparatus, data transmitting / receiving apparatus, and data transmission according to the present invention use lock signals and training signals in the initialization operation of performing communication using multilevel electric signals and the like.
- Devices included in the system that can reliably detect the header signal transmitted between them, connect each device by a transmission path with a ring type etc., set the determination level to each other, and perform one-way electrical communication And it is useful as the said system etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Dc Digital Transmission (AREA)
- Small-Scale Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
明 細 書 Specification
データ受信装置、データ送信装置、データ送受信装置、およびデータ伝 送システム 技術分野 Data receiving apparatus, data transmitting apparatus, data transmitting / receiving apparatus, and data transmission system
[0001] 本発明は、データ受信装置、データ送信装置、データ送受信装置、およびデータ 伝送システムに関し、より特定的には、複数の装置がリング状に接続されたリング型 ネットワークにおいて、所定のプロトコルに従って、一方向にデータを送信するシステ ムに含まれるデータ受信装置、データ送信装置、およびデータ送受信装置、並びに 当該データ伝送システムに関する。 The present invention relates to a data receiving device, a data transmitting device, a data transmitting / receiving device, and a data transmission system, and more specifically, in a ring network in which a plurality of devices are connected in a ring, according to a predetermined protocol. The present invention relates to a data receiving device, a data transmitting device, and a data transmitting and receiving device included in a system that transmits data in one direction, and the data transmission system.
背景技術 Background art
[0002] 近年、カーナビゲーシヨンや ITS (Intelligent Transport Systems)といったィ ンターネットや画像情報を自動車内等の空間において伝送する場合、大容量かつ高 速な通信が要求される。このようなデジタルィ匕した映像や音声データ、あるいはコンビ ユータデータ等のデジタルデータを伝送するための通信方式の検討が盛んに行われ [0002] In recent years, when Internet and image information such as car navigation and ITS (Intelligent Transport Systems) are to be transmitted in a space such as in a car, large-capacity and high-speed communication is required. Communication methods for transmitting digital data such as such digital video and audio data or computer data have been actively studied.
、 自動車内等の空間においてもデジタルデータを伝送するネットワークの導入が本 格化してきている。この車内ネットワークは、例えば、物理的なトポロジを 1本のリング · トポロジとし、複数のノードを 1本のリング'トポロジで接続させることによって一方向の リング型 LANを形成し、オーディオ機器、ナビゲーシヨン機器、あるいは情報端末機 器等対して統合ィ匕した接続を目指して 、る。上記リング型 LANで用いられる情報系 の通信プロトコノレとしては、例えば、 Media Oriented Systems Transport (以 下、 MOSTと記載する)がある。この MOSTでは、通信プロトコルだけでなぐ分散シ ステムの構築方法まで言及しており、 MOSTネットワークのデータは、フレームを基 本単位として伝送され、各ノードを次々にフレームがー方向に伝送される。 The introduction of networks that transmit digital data in spaces such as automobiles has become a reality. In this in-vehicle network, for example, a physical topology is one ring topology, and a plurality of nodes are connected in one ring topology to form a one-way ring LAN, audio equipment, navigation Aiming for integrated connection with devices or information terminals. As a communication protocol of the information system used in the ring LAN, for example, Media Oriented Systems Transport (hereinafter referred to as MOST). The MOST refers to the method of constructing a distributed system that is unique only to the communication protocol. The data of the MOST network is transmitted on a frame-by-frame basis, and frames are transmitted in the negative direction one after another in each node.
[0003] ところで、車内等に設けられるリング型 LANの場合、放射ノイズが自動車等に搭載 された他の電子機器に対する誤動作の原因になることがあり、また、他の機器力もの 放射ノイズの影響を受けることなく正確に伝送する必要もある。このため、従来の MO STを用いたリング型 LANでは、各ノードを光ファイバ一ケーブルで接続することによ つて、電磁波の発生を防止しながら耐ノイズ性を向上させている。一方、例えば国際 公開第 02/30079号パンフレットで開示されて 、るように、ツイストペア線や同軸ケ 一ブルのような安価なケーブルを用いた電気通信を行 、、放射ノイズが少なく耐ノィ ズ性を向上しながら 20Mbpsを超えるような高速なデータ伝送を可能にしているもの もめる。 [0003] Incidentally, in the case of a ring LAN provided in a car or the like, the radiation noise may cause a malfunction to another electronic device mounted in a car or the like, and the influence of the radiation noise on other devices. It is also necessary to transmit correctly without receiving Therefore, in a conventional ring-type LAN using MO ST, each node is connected by an optical fiber cable. The noise resistance is improved while preventing the generation of electromagnetic waves. On the other hand, as disclosed in, for example, WO 02/30079 pamphlet, telecommunication is performed using an inexpensive cable such as a twisted pair wire or coaxial cable, and radiation noise is reduced and noise resistance is reduced. Some are enabling high-speed data transmission exceeding 20 Mbps while improving the
[0004] ここで、上述したような各ノードが安価なケーブルで接続されたデータ伝送システム について、図面を参照しながら説明する。図 19は、当該データ伝送システムの構成 を示したブロック図である。 [0004] Here, a data transmission system in which each node as described above is connected by an inexpensive cable will be described with reference to the drawings. FIG. 19 is a block diagram showing the configuration of the data transmission system.
[0005] 図 19において、当該データ伝送システムは、データ伝送装置 100a— 100ηと、伝 送路 300a— 300ηとを備える。データ伝送装置 100aは、クロック同期のマスタとして 設定され、他のデータ伝送装置 100b— 100ηは、それぞれスレーブとして設定され ている。各データ伝送装置 100a— 100ηは、伝送路 300a— 300ηによりリング状に 接続されている。各データ伝送装置 100a— 100ηの間では、 MOSTの通信プロトコ ルに従って矢印の方向にデータが伝送される。 [0005] In FIG. 19, the data transmission system includes data transmission devices 100a-100— and transmission paths 300a-3000005. The data transmission device 100a is set as a master for clock synchronization, and the other data transmission devices 100b to 100 は are set as slaves. The respective data transmission devices 100a-100 は are connected in a ring shape by the transmission paths 300a-300η. Data is transmitted in the direction of the arrow according to the communication protocol of the MOST between each data transmission device 100 a-100 η.
[0006] ここで、上述したデータ伝送システムでは、通常いわゆる 8値マッピングされたデジ タルデータが用いられたデータ伝送が行われて 、る。当該 8値マッピングされたデジ タルデータによるデータ伝送とは、 1ビット以上のデータを 1データシンボルとして信 号レベルに割り当ててデータ伝送する多値ィ匕伝送において、信号レベルを 8段階に 割り当ててデータ伝送する方法である(詳しくは、国際公開第 02Z30077号パンフ レット参照)。これに対して、 8値マッピングされたデータを用いたデータ伝送の他に、 例えば 4値マッピングや 5値マッピングされたデータを用いたデータ伝送と 、つたデ ータ伝送方式も想定される。そして、このような様々な種類のデータ伝送方式が登場 したことにより、その使用状況に応じて、データ伝送方式を切り替えるデータ伝送シス テムが必要になる。 Here, in the above-described data transmission system, data transmission using digital data on which so-called eight-value mapping is performed is usually performed. The data transmission using the 8-value mapped digital data refers to multi-level data transmission in which data is transmitted by allocating data of 1 bit or more to the signal level as one data symbol, and the signal level is allocated in 8 stages. It is a method of transmission (for details, refer to WO 02Z30077 pamphlet). On the other hand, in addition to data transmission using eight-value mapped data, for example, data transmission scheme using four-value mapping or data using five-value mapped data is also conceivable. And, with the advent of such various types of data transmission methods, a data transmission system that switches the data transmission method in accordance with the use situation becomes necessary.
[0007] このようなデータ伝送方式の切り替えは、一般的に図 20および図 21に示されるよう なシーケンスに基づいて行われる。以下、図 20および図 21を参照して、当該データ 伝送方式の切り替えにつ 、て詳述する。 Such switching of the data transmission scheme is generally performed based on the sequences as shown in FIG. 20 and FIG. The switching of the data transmission method will be described in detail below with reference to FIGS. 20 and 21.
[0008] 図 20において、マスタであるデータ伝送装置 100aは、他のデータ伝送装置とクロ ック同期を取るためのロック信号を発生し、データ伝送装置 100bに送信する。ロック 信号を受信したデータ伝送装置 100bは、取得したロック信号を再生して、データ伝 送装置 100aとクロック同期を確立する。次に、データ伝送装置 100bは、ロック信号 を発生し、データ伝送装置 100cに送信する。その後、データ伝送装置 100c— 100 nは、データ伝送装置 100bと同様の動作を行う。そして、データ伝送装置 100ηが送 信したロック信号がデータ伝送装置 100aに到達し、ロック信号を受信したデータ伝 送装置 100aが取得したロック信号を再生して、データ伝送装置 100ηとクロック同期 を確立する。これにより、各データ伝送装置 100a— 100ηの間でクロック同期が確立 する。 In FIG. 20, the data transmission device 100a, which is a master, is connected to another data transmission device and a clock. A lock signal for synchronization is generated and transmitted to the data transmission apparatus 100b. The data transmission device 100b having received the lock signal regenerates the acquired lock signal and establishes clock synchronization with the data transmission device 100a. Next, the data transmission device 100b generates a lock signal and transmits it to the data transmission device 100c. Thereafter, the data transmission device 100c-100n performs the same operation as the data transmission device 100b. Then, the lock signal transmitted by the data transmission device 100η reaches the data transmission device 100a, and the data transmission device 100a receiving the lock signal reproduces the lock signal acquired and establishes clock synchronization with the data transmission device 100η. Do. As a result, clock synchronization is established between the data transmission devices 100a and 100η.
[0009] 次に、データ伝送装置 100aは、データ判定の基準となる判定レベルの設定のため のトレーニング信号を作成して、データ伝送装置 100bに送信する。なお、ここで送信 されるトレーニング信号は、 8値マッピング用のトレーニング信号であってもよいし、そ の他の方式用のトレーニング信号であってもよいが、ここでは 8値マッピング用のトレ 一二ング信号が送信されるものとする。 Next, the data transmission device 100a creates a training signal for setting a determination level which is a reference of data determination, and transmits the training signal to the data transmission device 100b. The training signal transmitted here may be a training signal for eight-value mapping or a training signal for another system, but here, a training signal for eight-value mapping is used. It is assumed that a second signal is transmitted.
[0010] トレーニング信号を受信したデータ伝送装置 100bは、取得したトレーニング信号を 用いて、 8値マッピング用のデータ判定の基準となる判定レベルを設定する。そして、 データ伝送装置 100bは、 8値マッピング用のトレーニング信号を作成して、次のデー タ伝送装置 100cに送信する。この後、データ伝送装置 100c— 100ηは、データ伝 送装置 100bと同様の動作を行う。そして、データ伝送装置 100ηから送信されたトレ 一ユング信号は、データ伝送装置 100aに到達し、取得したトレーニング信号を用い てデータ伝送装置 100aが 8値マッピング用のデータ判定の基準となる判定レベルを 設定する。これにより、データ伝送システム内のデータ伝送装置 100a— 100ηは、 8 値マッピング用のデータ判定の基準となる判定レベルを設定する。 The data transmission apparatus 100b having received the training signal uses the acquired training signal to set a determination level as a reference of data determination for 8-value mapping. Then, the data transmission device 100b creates a training signal for 8-value mapping and transmits it to the next data transmission device 100c. Thereafter, the data transmission device 100 c-100 動作 performs the same operation as the data transmission device 100 b. Then, the training signal transmitted from the data transmission device 100 到達 reaches the data transmission device 100 a, and using the acquired training signal, the judgment level which is the reference of the data judgment for the data transmission device 100 a for eight-value mapping is Set As a result, the data transmission device 100 a-100 内 in the data transmission system sets a determination level which is a reference of data determination for 8-value mapping.
[0011] 図 21において、データ伝送装置 100aは、 8値マッピングまたはその他の方式のい ずれでデータ伝送を行うのかを他のデータ伝送装置 100b— 100ηに通知するため の識別信号をデータ伝送装置 100bに対して送信する。識別信号を受信したデータ 伝送装置 100bは、受信した識別信号に基づいて、いずれの方式によってデータ伝 送が行われるのかを判定する。その後、データ伝送装置 100bは、判定結果に基づ いて、識別信号を発生し、データ伝送装置 100cに対して送信する。この後、データ 伝送装置 100c— 100ηは、データ伝送装置 100bと同様の動作を行う。そして、デー タ伝送装置 100ηから送信された識別信号は、データ伝送装置 100aで受信される。 これにより、データ伝送システム内の各データ伝送装置 100a— 100ηは、データの 伝送方式を認識する。 [0011] In FIG. 21, data transmission apparatus 100a transmits an identification signal for notifying another data transmission apparatus 100b-100 eta whether data transmission is to be performed by eight-value mapping or another method. Send to The data transmission apparatus 100b that has received the identification signal determines which method is used to transmit data based on the received identification signal. Thereafter, the data transmission device 100b determines whether the Generates an identification signal and transmits it to the data transmission apparatus 100c. Thereafter, the data transmission device 100 c-100 動作 performs the same operation as the data transmission device 100 b. Then, the identification signal transmitted from the data transmission device 100 受 信 is received by the data transmission device 100 a. Thus, each data transmission device 100a-100η in the data transmission system recognizes the data transmission method.
[0012] 次に、データ伝送装置 100aは、各データ伝送装置が認識したデータ伝送方式のト レーニング信号を作成して、データ伝送装置 100bに送信する。この後、各データ伝 送装置では、前述のトレーニング処理と同様の処理が行われる。これにより、各デー タ伝送装置 100a— 100ηに、通信に用いられるデータ伝送方式のデータ判定の基 準となる判定レベルが設定される。その後、データ伝送システム内でデータの通信が 開始される。 Next, the data transmission device 100a creates a training signal of the data transmission method recognized by each data transmission device, and transmits it to the data transmission device 100b. Thereafter, in each data transmission device, the same processing as the above-mentioned training processing is performed. As a result, the determination level that is the basis of the data determination of the data transmission method used for communication is set to each data transmission device 100a-100. After that, communication of data is started in the data transmission system.
発明の開示 Disclosure of the invention
発明が解決しょうとする課題 Problem that invention tries to solve
[0013] このように、上記従来のデータ伝送システムでは、ロック信号による同期処理の後に 、 1回目のトレーニング処理が行われ、当該トレーニング処理により設定された判定レ ベルを用いて、データ伝送方式を通知する識別処理が行われる。そして、上記識別 処理で識別されたデータ伝送方式用のトレーニング信号で 2回目のトレーニング処 理が行われて力 データ通信が開始される。つまり、従来のデータ伝送システムでは 、 2回のトレーニング処理が必要となっていた。これは、上記従来のデータ伝送システ ムでは、トレーニング処理が行われた後でなければ、データ伝送方式を識別するた めの識別処理ができな力つた力 である。 As described above, in the above-described conventional data transmission system, the first training process is performed after the synchronization process by the lock signal, and the data transmission method is performed using the determination level set by the training process. An identification process to notify is performed. Then, the second training process is performed with the training signal for the data transmission method identified in the identification process, and the force data communication is started. That is, in the conventional data transmission system, two training processes were required. This is a force that the conventional data transmission system described above can not perform the identification process for identifying the data transmission method until after the training process is performed.
[0014] このような 2回のトレーニング処理を行うことを回避するために、クロック同期処理の 際に、データ伝送方式を通知する識別処理を行うことが考えられる。例えば、 1回目 のトレーニング処理が行われる前に予め識別情報が埋め込まれたロック信号を用い てクロック同期処理を行うことによって、当該識別情報でデータ伝送装置 100a— 10 Onがデータ通信を行うデータ伝送方式を通知することが考えられる。この場合、上記 識別情報が示すデータ伝送方式用のトレーニング信号で 1回目のトレーニング処理 を行って、データ伝送システム内のデータ通信が開始される。 [0015] 例えば、上記識別情報が埋め込まれたロック信号として、 2種類のパターンを考える 。第 1ロック信号は、 1周期が 8シンボル力 なっており、各シンボルで信号レベル「 + 1」と「一 1」とが交互に繰り返された信号である。また、第 2ロック信号は、 1周期が 8シ ンボルカ なっており、各シンボルで信号レベル「 + 1」と「一 1」とが交互に繰り返され 、 5シンボル目が信号レベル「 + 7」、 6シンボル目が信号レベル「一 7」となった信号で ある。このようなロック信号の 2種類のパターンを受信側のデータ伝送装置で区別す ることができれば、クロック同期処理の際に上記識別処理を行うことが可能となる。 In order to avoid performing such two training processes, it is conceivable to perform an identification process for notifying a data transmission method at the time of clock synchronization process. For example, by performing clock synchronization processing using a lock signal in which identification information is embedded in advance before the first training processing is performed, data transmission in which the data transmission apparatus 100a-10 On performs data communication with the identification information is performed. It is conceivable to notify the method. In this case, the first training process is performed with the training signal for the data transmission method indicated by the identification information, and data communication in the data transmission system is started. [0015] For example, two types of patterns are considered as a lock signal in which the identification information is embedded. The first lock signal is a signal in which one cycle has eight symbol powers and signal levels “+1” and “one 1” are alternately repeated in each symbol. The second lock signal has eight cycles per symbol, and the signal level "+1" and "one 1" are alternately repeated for each symbol, and the fifth symbol is the signal level "+7", The sixth symbol is a signal whose signal level is “one seven”. If the two types of patterns of such lock signals can be distinguished by the data transmission apparatus on the receiving side, the above identification processing can be performed in the clock synchronization processing.
[0016] 図 22は、データ伝送装置 100a— ΙΟΟη間で送信されるロック信号、トレーニングへ ッダ信号、トレーニング信号、および送信データの伝送波形の一例である。図 22に 示す伝送波形では、ロック信号とトレーニング信号との区別をするためのトレーニング ヘッダ信号が付与されている。トレーニングヘッダ信号は、 3シンボル力もなつており、 他の信号と区別するために同一の信号レベル「 + 7」が連続する信号である。また、口 ック信号は、上述した第 2ロック信号である。 [0016] FIG. 22 is an example of transmission waveforms of a lock signal, a training header signal, a training signal, and transmission data transmitted between the data transmission device 100a and ΙΟΟ. The transmission waveform shown in FIG. 22 is provided with a training header signal to distinguish between the lock signal and the training signal. The training header signal is also 3 symbol power, and is a signal in which the same signal level "+ 7" is continuous to distinguish from other signals. Also, the mouth signal is the above-mentioned second lock signal.
[0017] 一般的には、上記伝送波形に対して、送信側から伝送する際の全体的な信号レべ ル変化 (電圧変化)をキャンセルするために、前シンボル値に対する差分値によって 受信したシンボル値を判定する。しかし、各データ伝送装置では、ロック信号が有す る 2種類のパターンを区別するとき、判定レベルが未設定な状態である。つまり、各デ ータ伝送装置は、データの信号レベルの細かな判定を行うことができない。そこで、 各データ伝送装置は、データの信号レベルが閾値よりも大き 、か小さ!/、かと 、ぅ大ま かな判定により、第 1および第 2ロック信号を区別することが必要となる。具体的には、 信号レベル「 + 7」と「一 7」との差分値「14」が大きな値、信号レベル「 + 2」と「一 2」との 差分値「2」が小さな値と大まかに判定できる閾値を設定して、ロック信号のパターン を識別する必要がある。 Generally, for the above transmission waveform, the symbol received by the difference value with respect to the previous symbol value in order to cancel the overall signal level change (voltage change) when transmitting from the transmitting side. Determine the value. However, in each data transmission apparatus, when the two types of patterns having lock signals are distinguished, the determination level is not set. That is, each data transmission apparatus can not make detailed determination of the signal level of data. Therefore, each data transmission apparatus needs to distinguish the first and second lock signals by the determination of the signal level of the data being larger or smaller than the threshold value. Specifically, the difference value “14” between the signal levels “+7” and “one 7” is a large value, and the difference value “2” between the signal levels “+2” and “one two” is a small value It is necessary to set a threshold that can be determined to identify the pattern of the lock signal.
[0018] しかしながら、各データ伝送装置では、上記判定レベルが未設定な状態でロック信 号とトレーニングヘッダ信号とを区別する必要がある。例えば、図 22で示す伝送波形 の場合、ロック信号が有する信号レベル「 + 2」および「一 2」の差分値「2」と、トレー- ングヘッダ信号が有する連続する信号レベル「 + 7」の差分値「0」とを区別しなけれ ばならない。この場合、差分値「2」と「0」とを区別できる閾値 (例えば、「1」)を設定し て、トレーニングヘッダ信号を識別することになり、上述したロック信号のパターンを識 別する閾値よりマージンが少なくなる。ここで、各データ伝送装置 100a— 100η間に それぞれ設けられる伝送路 300a— 300ηの状態が悪 、等、データ伝送環境が悪!、 場合、受信するトレーニングヘッダ信号の信号レベルが変動することがある。つまり、 トレーニングヘッダ信号に対する差分値が「0」から変動するため、ロック信号と区別 するための閾値を超えることがあり、トレーニングヘッダ信号を検出できないことがあ る。この場合、データ伝送装置は、トレーニング信号を検出できないため判定レベル の設定が設定できず、データ伝送装置間のデータ通信ができない状況になる。なお 、上述した説明では、ロック信号に識別情報が埋め込まれた一例を用いて説明した 力 マッピング方式にぉ 、て隣接するシンボル間が最小差分値となる区間を有する口 ック信号を用いる場合は、同様の問題が発生し得る。 However, in each data transmission apparatus, it is necessary to distinguish between the lock signal and the training header signal in the state where the determination level is not set. For example, in the case of the transmission waveform shown in FIG. 22, the difference value “2” of the signal levels “+2” and “12” of the lock signal and the difference of the continuous signal level “+7” of the trailing header signal. It must be distinguished from the value "0". In this case, a threshold (for example, “1”) that can distinguish the difference values “2” and “0” is set. Thus, the training header signal is identified, and the margin is smaller than the threshold for identifying the pattern of the lock signal described above. Here, the state of the transmission line 300a-300 設 け provided between each data transmission device 100a-100η is bad, etc., and the data transmission environment is bad! In the case, the signal level of the received training header signal may fluctuate. . That is, since the difference value with respect to the training header signal fluctuates from "0", it may exceed the threshold for discriminating from the lock signal, and the training header signal may not be detected. In this case, since the data transmission apparatus can not detect the training signal, the setting of the determination level can not be set, and data communication between the data transmission apparatuses can not be performed. In the above description, in the case of using the mouth signal having a section in which the adjacent symbols have the minimum difference value according to the force mapping method described using the example in which the identification information is embedded in the lock signal, , Similar problems may occur.
[0019] それ故に、本発明の目的は、初期化処理において送出されるロック信号とトレー- ング信号とを区別するためのトレーニングヘッダ信号を確実に検出できるデータ受信 装置、データ送信装置、データ送受信装置、およびデータ伝送システムを提供する ことである。 Therefore, an object of the present invention is to provide a data receiving apparatus, a data transmitting apparatus, and a data transmitting and receiving apparatus capable of reliably detecting a training header signal for discriminating between a lock signal and a trailing signal transmitted in initialization processing. To provide an apparatus and a data transmission system.
課題を解決するための手段 Means to solve the problem
[0020] 上記の目的を達成するために、本発明は以下の構成を採用した。なお、括弧内の 参照符号やステップ番号等は、本発明の理解を助けるために後述する実施形態との 対応関係を示したものであって、本発明の範囲を何ら限定するものではな 、。 In order to achieve the above object, the present invention adopts the following configuration. The reference numerals in parentheses, step numbers, and the like indicate correspondence relationships with the embodiments described later to facilitate understanding of the present invention, and do not limit the scope of the present invention.
[0021] 本発明のデータ受信装置(5)は、他のデータ伝送装置(1)と伝送路 (80)を介して 接続され、送信データの各シンボルを複数の信号レベル (8値)の 、ずれかにマツピ ングして送信された伝送信号を受信する。データ受信装置は、初期動作の際に、少 なくとも伝送信号の複数の信号レベルが既知の変動パターンでそれぞれ形成された トレーニング信号およびそのトレーニング信号の先頭に付与されたヘッダ信号(トレー ニングヘッダ信号)が他のデータ伝送装置から送信される(S 19、 S59) 0データ受信 装置は、受信した伝送信号におけるシンボルに応じた信号レベルと、そのシンボルに 対する直前のシンボルの信号レベルとの差分値 (dd)を受信順に算出する差分算出 部(54)と、差分算出部が算出した差分値の絶対値を、それぞれ所定の閾値に対す る大または小の 2値で区別する大小判定部(581、 711)と、大小判定部が 2値に区 別した複数の結果(582)と、トレーニング信号またはヘッダ信号の変動パターンの少 なくとも一部(584)との一致を検出する(583)ことによってトレーニング信号またはへ ッダ信号の受信を検出するトレーニング信号検出部(58)とを備える。 The data reception device (5) of the present invention is connected to another data transmission device (1) via the transmission line (80), and each symbol of transmission data is transmitted at a plurality of signal levels (eight values), It is mapped to one side and receives the transmitted signal. In the initial operation, the data receiving apparatus includes a training signal in which at least a plurality of signal levels of the transmission signal is formed with a known variation pattern and a header signal (training header signal) given at the beginning of the training signal. ) Is transmitted from another data transmission device (S19, S59). 0 Data receiver The difference between the signal level corresponding to the symbol in the received transmission signal and the signal level of the symbol immediately before that symbol. The absolute value of the difference value calculated by the difference calculation unit (54) that calculates (dd) in the order of reception, and the difference calculation unit are each set against a predetermined threshold. At least two of the results (582) in which the magnitude determination unit classifies into two values, and the variation pattern of the training signal or the header signal. And a training signal detection unit (58) for detecting reception of a training signal or a header signal by detecting (583) a match with the part (584).
[0022] 一例として、トレーニング信号検出部は、大小判定部で 2値に区別され受信順に所 定数並べられた数値列(582)と、ヘッダ信号の変動パターンの少なくとも一部に対 する差分値の絶対値がそれぞれ大または小の 2値で予めその所定数記述されたへッ ダパターン(584)とを比較し(583)、双方が一致するとき、ヘッダ信号の受信を検出 する。また、ヘッダ信号の変動パターンは、複数の信号レベルのうち最大および最小 レベルに所定回数交互にマッピングされた後、同一の信号レベルに所定回数連続し てマッピングされて生成されてもよい(図 4)。この場合、ヘッダパターンは、 2値のうち 大が所定回数連続して記述された後、小が少なくとも 1回記述されている(図 15 (b) ) As an example, the training signal detection unit is a numerical value string (582) in which the magnitude judgment unit distinguishes into two values and is arranged in the order of reception, and a difference value for at least a part of the variation pattern of the header signal. The absolute value is compared with the header pattern (584) described in advance by a predetermined number of large or small binary values (583), and when both match, the reception of the header signal is detected. Also, the variation pattern of the header signal may be generated by being mapped to the same signal level a predetermined number of times consecutively after being mapped to the maximum and minimum levels a predetermined number of times alternately among a plurality of signal levels (FIG. 4). ). In this case, the header pattern is described at least once, after the large of the two values is described a predetermined number of times consecutively (FIG. 15 (b)).
[0023] 他の例として、ヘッダ信号の変動パターンが複数の信号レベルのうち最大および最 小レベルに所定回数交互にマッピングされた後、同一の信号レベルに所定回数連 続してマッピングされて生成されている場合、トレーニング信号検出部は、大小判定 部が 2値の大に少なくとも複数回連続して区別した後、大小判定部が 2値の小に区 別したとき、ヘッダ信号の受信を検出する。 As another example, the variation pattern of the header signal is alternately mapped to the maximum and minimum levels of the plurality of signal levels a predetermined number of times, and then mapped to the same signal level a predetermined number of times in succession and generated. When the training signal detection unit distinguishes the large / smallness determination unit continuously into at least a plurality of large binary values at least a plurality of times, the training signal detection unit detects the reception of the header signal when the large / small determination unit distinguishes the binary value Do.
[0024] 初期動作の際に、ヘッダ信号およびトレーニング信号は、複数の信号レベルが既 知の第 1変動パターンで形成され、かつ他のデータ伝送装置との同期を確立するた めのクロック成分を含む第 1ロック信号、力 他のデータ伝送装置から送信された後 に連続して送信されてもカゝまわない(S16、 S57)。この場合、データ受信装置は、第 1ロック信号のクロック成分を再生して他のデータ伝送装置との同期を確立するクロッ ク再生部(50)と、大小判定部が 2値に区別した複数の結果と、第 1変動パターンの 少なくとも一部との一致を検出することによって第 1ロック信号を識別するロック信号 識別部(71)とを、さらに備える。具体的には、第 1変動パターンは、複数の信号レべ ルのうち差分値が最小で、かつその正負が交互となるマッピングを所定回数連続した 後、複数の信号レベルのうち最大および最小レベルにそれぞれ 1回マッピングされる ノターンを繰り返して生成される(図 6)。この場合、ヘッダ信号の変動パターンは、複 数の信号レベルのうち最大および最小レベルに所定回数交互にマッピングされた後 、同一の信号レベルに所定回数連続してマッピングされて生成され、トレーニング信 号検出部は、大小判定部が 2値の大に少なくとも 4回連続して区別した後、大小判定 部が 2値の小に区別したとき、ヘッダ信号の受信を検出する。 At the time of initial operation, the header signal and the training signal are formed with a first variation pattern in which a plurality of signal levels are known, and a clock component for establishing synchronization with another data transmission device. The first lock signal including the power does not hold even if it is continuously transmitted after being transmitted from another data transmission device (S16, S57). In this case, the data receiving apparatus reproduces the clock component of the first lock signal to establish synchronization with another data transmission apparatus, and a plurality of binary values distinguished by the magnitude determination section. The apparatus further comprises a lock signal identification unit (71) that identifies the first lock signal by detecting a result and a match with at least a portion of the first variation pattern. Specifically, in the first variation pattern, after a predetermined number of successive mappings having a minimum difference value and alternating positive and negative among a plurality of signal levels, maximum and minimum levels among a plurality of signal levels are obtained. Mapped to each once It is generated by repeating the notar (Figure 6). In this case, the variation pattern of the header signal is alternately mapped to the maximum and minimum levels of a plurality of signal levels a predetermined number of times, and then mapped to the same signal level a predetermined number of times consecutively and generated. The detection unit detects the reception of the header signal when the magnitude judgment unit distinguishes at least 4 times after the magnitude judgment unit distinguishes at least 4 times as large.
[0025] また、初期動作の際に、ヘッダ信号およびトレーニング信号は、複数の信号レベル が既知の第 1変動パターンで形成され、かつ他のデータ伝送装置との同期を確立す るためのクロック成分を含む第 1ロック信号、または第 1変動パターンとは異なる第 2変 動パターンで形成され、かつクロック成分を含む第 2ロック信号力 他のデータ伝送 装置カゝら送信された後に連続して送信されてもカゝまわない。この場合、データ受信装 置は、第 1または第 2ロック信号のクロック成分を再生して他のデータ伝送装置との同 期を確立するクロック再生部と、大小判定部が 2値に区別した複数の結果と、第 1およ び第 2変動パターンの少なくとも一部との一致を検出することによって第 1または第 2 ロック信号を識別するロック信号識別部とを、さらに備える。具体的には、第 1変動パ ターンは、複数の信号レベルのうち差分値が最小で、かつその正負が交互となるマツ ビングを所定回数連続した後、複数の信号レベルのうち最大および最小レベルにそ れぞれ 1回マッピングされるパターンを繰り返して生成され(図 6)、第 2変動パターン は、複数の信号レベルのうち差分値が最小で、かつその正負が交互となるマッピング を連続して生成される(図 5)。この場合、ヘッダ信号の変動パターンは、複数の信号 レベルのうち最大および最小レベルに所定回数交互にマッピングされた後、同一の 信号レベルに所定回数連続してマッピングされて生成され、トレーニング信号検出部 は、大小判定部が 2値の大に少なくとも 4回連続して区別した後、大小判定部が 2値 の小に区別したとき、ヘッダ信号の受信を検出する。 Also, at the time of initial operation, the header signal and the training signal are formed with a first variation pattern in which a plurality of signal levels are known, and a clock component for establishing synchronization with another data transmission device. A second lock signal, which is formed with a first lock signal including the second lock pattern or a second variation pattern different from the first variation pattern, and includes a clock component, and is transmitted continuously after being transmitted by another data transmission device. I will not hesitate even if it is done. In this case, the data receiving apparatus reproduces the clock component of the first or second lock signal to establish synchronization with another data transmission apparatus; And a lock signal identification unit for identifying the first or second lock signal by detecting a match between the result of the first and second fluctuation patterns and at least a part of the first and second fluctuation patterns. Specifically, in the first variation pattern, the maximum and minimum levels among the plurality of signal levels are generated after a predetermined number of consecutive mapping operations in which the difference value is the minimum and the positive and negative of the plurality of signal levels are alternated. The second variation pattern is generated by repeating the pattern to be mapped once each (Fig. 6), and the second variation pattern is a series of mapping in which the difference value is the smallest among the multiple signal levels and the positive and negative of the difference are alternating. Generated (Figure 5). In this case, the variation pattern of the header signal is alternately mapped to the maximum and minimum levels of the plurality of signal levels a predetermined number of times, and then mapped to the same signal level a predetermined number of times consecutively and generated. In the case where the large / small judging unit distinguishes at least 4 times of the large binary value consecutively, the reception of the header signal is detected when the large / small judgment unit distinguishes small binary.
[0026] また、トレーニング信号を用いて、差分算出部で算出された差分値をそれぞれ区別 して判定するための判定レベルをそれぞれ設定する判定レベル設定部(57)と、差 分算出部で算出された差分値をそれぞれ判定レベル設定部で設定された判定レべ ルに基づいて区別して判定する差分値判定部 (54)と、差分値判定部が出力する判 定結果を逆マッピングして伝送信号で送信された送信データのシンボルを復号する 逆マッピング部(55)とを、さらに備えても力まわない。また、トレーニング信号がへッ ダ信号の送信から所定の時間送信される(固定長)場合、データ受信装置は、トレー ニング信号検出部がヘッダ信号の受信を検出することに応じて、判定レベル設定部 が設定する判定レベルを指定する教師信号 (MS)をその判定レベル設定部へ出力 する教師信号生成部(59)と、トレーニング信号が送信される所定の時間をカウントす るカウンタ(585)とを、さらに備え、半 IJ定レべノレ設定部は、カウンタによるカウントに基 づいてトレーニング信号の終了を検出し (S22、 S61)、最終的な判定レベルを設定 する。 Further, a determination level setting unit (57) for setting a determination level for distinguishing and determining the difference values calculated by the difference calculation unit using the training signal, and the difference calculation unit A difference value determination unit (54) that distinguishes and determines each of the calculated difference values based on the determination level set by the determination level setting unit, and reversely maps and transmits the determination result output by the difference value determination unit. Decode transmit data symbols sent in the signal Even if the reverse mapping unit (55) is further provided, it does not force. Also, when the training signal is transmitted for a predetermined time from transmission of the header signal (fixed length), the data receiving apparatus sets the determination level in response to the training signal detection unit detecting reception of the header signal. A teacher signal generation unit (59) for outputting a teacher signal (MS) for designating a judgment level set by the unit to the judgment level setting unit, and a counter (585) for counting a predetermined time for transmitting a training signal The semi-IJ fixed reflector setting unit detects the end of the training signal based on the count by the counter (S22, S61), and sets the final judgment level.
[0027] 例えば、送信データは、 MOST (Media Oriented Systems Transport)で定 義されたデータフォーマットの信号である。 [0027] For example, the transmission data is a signal of a data format defined by MOST (Media Oriented Systems Transport).
[0028] 本発明のデータ送信装置 (6)は、他のデータ伝送装置と伝送路を介して接続され 、送信データの各シンボルを複数の信号レベルの!/、ずれかにマッピングした伝送信 号を送信する。データ送信装置は、複数の信号レベルが既知の第 1変動パターンで 形成され、かつ他のデータ伝送装置との同期を確立するためのクロック成分を含む 第 1ロック信号を送出する第 1ロック信号送出部(671)と、複数の信号レベルが第 1 変動パターンとは異なった第 3変動パターンで形成されたヘッダ信号を送出するへッ ダ信号送出部(673)と、複数の信号レベルが既知の第 4変動パターンで形成された トレーニング信号を送出するトレーニング信号送出部(674)と、送信データをマツピ ングした送信データ信号を送出する送信データ信号送出部(61— 66)と、初期動作 の際、所定の条件に基づいて他のデータ伝送装置に送信する第 1ロック信号を選択 する制御部(676)と、制御部が選択した第 1ロック信号を他のデータ伝送装置へ送 信した後、ヘッダ信号、トレーニング信号、送信データ信号の順にそれぞれ連続的に 他のデータ伝送装置へ送信する送信部(675、 63— 66)とを備え、第 3変動パターン は、複数の信号レベルのうち最大および最小レベルに所定回数交互にマッピングさ れた後、同一の信号レベルに所定回数連続してマッピングされて生成されることを特 徴とする。 The data transmission apparatus (6) of the present invention is connected to another data transmission apparatus via a transmission path, and transmission symbols are formed by mapping each symbol of transmission data to! / Send The data transmission apparatus transmits a first lock signal that transmits a first lock signal including a clock component for forming a plurality of signal levels with a known first variation pattern and establishing synchronization with another data transmission apparatus. Section (671), a header signal transmission section (673) for transmitting a header signal having a plurality of signal levels formed in a third variation pattern different from the first variation pattern, and a plurality of signal levels known. At the time of initial operation, a training signal transmission unit (674) for transmitting a training signal formed by the fourth variation pattern, a transmission data signal transmission unit (61 to 66) for transmitting a transmission data signal to which transmission data is mapped, and A control unit (676) for selecting a first lock signal to be transmitted to another data transmission device based on a predetermined condition, and a first lock signal selected by the control unit being transmitted to the other data transmission device; The head A transmission unit (675, 63-66) for continuously transmitting to the other data transmission apparatus in the order of the signal, the training signal, and the transmission data signal, and the third variation pattern is the maximum and minimum among the plurality of signal levels. The present invention is characterized in that it is mapped to the level a predetermined number of times alternately and then mapped to the same signal level a predetermined number of times in succession.
[0029] 例えば、第 1変動パターンは、複数の信号レベルのうち差分値が最小で、かつその 正負が交互となるマッピングを所定回数連続した後、複数の信号レベルのうち最大 および最小レベルにそれぞれ 1回マッピングされるパターンを繰り返して生成される。 For example, in the first variation pattern, after a predetermined number of successive mapping of which the difference value is minimum among the plurality of signal levels and the positive and negative are alternated, the maximum is selected among the plurality of signal levels. And it is generated by repeating the pattern that is mapped once to the minimum level respectively.
[0030] さらに、複数の信号レベルが第 1変動パターンとは異なった第 2変動パターンで形 成され、かつクロック成分を含む第 2ロック信号を送出する第 2ロック信号送出部(67 2)を備えても力まわない。この場合、制御部は、所定の条件に基づいて他のデータ 伝送装置に送信する第 1および第 2ロック信号の一方を選択し、送信部は、制御部が 選択した第 1および第 2ロック信号の一方を他のデータ伝送装置へ送信した後、へッ ダ信号、トレーニング信号、送信データ信号の順にそれぞれ連続的に他のデータ伝 送装置へ送信する。例えば、第 1変動パターンは、複数の信号レベルのうち差分値 が最小で、かつその正負が交互となるマッピングを所定回数連続した後、複数の信 号レベルのうち最大および最小レベルにそれぞれ 1回マッピングされるパターンを繰 り返して生成され、第 2変動パターンは、複数の信号レベルのうち隣接するシンボル 間の差分値が最小で、かつその正負が交互となるマッピングを連続して生成される。 [0030] Furthermore, a second lock signal transmission unit (672) for transmitting a second lock signal including a clock component in which a plurality of signal levels are formed with a second fluctuation pattern different from the first fluctuation pattern is provided. Even if it prepares, it does not use power. In this case, the control unit selects one of the first and second lock signals to be transmitted to another data transmission apparatus based on a predetermined condition, and the transmission unit selects the first and second lock signals selected by the control unit. After transmitting one of the signals to the other data transmission apparatus, the transmission data signal is transmitted to the other data transmission apparatus successively in the order of the header signal, the training signal, and the transmission data signal. For example, in the first variation pattern, after a predetermined number of consecutive mapping steps where the difference value is minimum among the plurality of signal levels and the positive and negative of the signal levels are repeated a predetermined number of times, the maximum and minimum levels among the plurality of signal levels are The second variation pattern is generated by repeating the pattern to be mapped, and the second variation pattern is continuously generated mapping in which the difference value between the adjacent symbols of the plurality of signal levels is minimum and the positive and negative of the difference value is alternated. .
[0031] 上記制御部は、さらに、送信部が他のデータ伝送装置へ送信するそれぞれの信号 を切替えるタイミングを制御してもかまわない。この場合、制御部は、他のデータ伝送 装置との同期が確立したとき (S18)、ヘッダ信号を送信する(S19)ように送信部を制 御する。また、ヘッダ信号およびトレーニング信号がそれぞれ固定長である場合、制 御部は、ヘッダ信号を他のデータ伝送装置へ送信して(S19)所定時間経過後(S22 )、送信データ信号を送信する(S23)ように送信部を制御する。 The control unit may further control the timing at which the transmission unit switches each signal to be transmitted to another data transmission apparatus. In this case, when synchronization with another data transmission apparatus is established (S18), the control unit controls the transmission unit to transmit a header signal (S19). When the header signal and the training signal each have a fixed length, the control unit transmits the header signal to another data transmission apparatus (S19), and after a predetermined time has elapsed (S22), transmits the transmission data signal (S22). S23) controls the transmission unit.
[0032] 例えば、送信データは、 MOSTで定義されたデータフォーマットの信号である。 For example, the transmission data is a signal of a data format defined by MOST.
[0033] 本発明のデータ送受信装置(1)は、他のデータ伝送装置と伝送路を介してリング 型に接続され、送信データの各シンボルを複数の信号レベルの 、ずれか〖こマツピン グした伝送信号を送受信する。データ送受信装置は、初期動作の際に、少なくとも伝 送信号の複数の信号レベルが既知の変動パターンでそれぞれ形成されたトレーニン グ信号およびそのトレーニング信号の先頭に付与されたヘッダ信号を含んだテスト信 号を他のデータ伝送装置に送信するテスト信号送信部(67)と、他のデータ伝送装 置カゝら受信した伝送信号におけるシンボルに応じた信号レベルと、そのシンボルに 対する直前のシンボルの信号レベルとの差分値を受信順に算出する差分算出部と、 差分算出部が算出した差分値の絶対値を、それぞれ所定の閾値に対する大または 小の 2値で区別する大小判定部と、大小判定部が 2値に区別した複数の結果と、トレ 一ユング信号またはヘッダ信号の変動パターンの少なくとも一部との一致を検出する ことによってトレーニング信号またはヘッダ信号の受信を検出するトレーニング信号 検出部とを備える。 The data transmission / reception device (1) of the present invention is connected to another data transmission device via a transmission path in a ring configuration, and each symbol of transmission data is mapped to a plurality of signal levels. Send and receive transmission signals. In the initial operation, the data transmitting / receiving apparatus includes a test signal including a training signal in which at least a plurality of signal levels of the transmission signal are respectively formed with known variation patterns and a header signal attached to the beginning of the training signal. Signal transmitter (67) that transmits the signal to another data transmission device, the signal level corresponding to the symbol in the transmission signal received by the other data transmission device and the signal of the symbol immediately before that symbol A difference calculation unit that calculates difference values with the level in the order of reception, and an absolute value of the difference value calculated by the difference calculation unit is greater than or equal to a predetermined threshold. A training signal is detected by detecting coincidence between a plurality of small / high / low judging units for discriminating with small binary values, a plurality of results obtained by the large / small judgment units for binary discrimination, and a variation pattern of the training signal or the header signal. Or a training signal detection unit for detecting reception of a header signal.
[0034] 例えば、テスト信号送信部は、ヘッダ信号の変動パターンを複数の信号レベルのう ち最大および最小レベルに所定回数交互にマッピングした後、同一の信号レベルに 所定回数連続してマッピングして生成する。この場合、トレーニング信号検出部は、 大小判定部が 2値の大に少なくとも複数回連続して区別した後、大小判定部が 2値 の小に区別したとき、ヘッダ信号の受信を検出する。 For example, the test signal transmission unit maps the variation pattern of the header signal alternately to the maximum and minimum levels of a plurality of signal levels a predetermined number of times, and then maps the same signal level a predetermined number of times consecutively. Generate In this case, the training signal detection unit detects the reception of the header signal when the magnitude determination unit determines that the binary magnitude is at least a plurality of times consecutively and then determines that the magnitude determination unit classifies the binary magnitude.
[0035] 上記テスト信号送信部は、複数の信号レベルが既知の第 1変動パターンで形成さ れ、かつ他のデータ伝送装置との同期を確立するためのクロック成分を含む第 1ロッ ク信号を送信した後に、ヘッダ信号およびトレーニング信号を連続して送信してもか まわない。この場合、データ送受信装置は、送信データをマッピングした送信データ 信号を他のデータ伝送装置に送信する送信データ信号送信部と、他のデータ伝送 装置力 受信した第 1ロック信号のクロック成分を再生してそのデータ伝送装置との 同期を確立するクロック再生部と、大小判定部が 2値に区別した複数の結果と、第 1 変動パターンの少なくとも一部との一致を検出することによって第 1ロック信号を識別 するロック信号識別部と、トレーニング信号を用いて、差分算出部で算出された差分 値をそれぞれ区別して判定するための判定レベルをそれぞれ設定する判定レベル 設定部と、差分算出部で算出された差分値をそれぞれ判定レベル設定部で設定さ れた判定レベルに基づいて区別して判定する差分値判定部と、差分値判定部が出 力する判定結果を逆マッピングして伝送信号で送信された送信データのシンボルを 復号する逆マッピング部とを、さらに備える。 [0035] The test signal transmission unit is configured to generate a first lock signal including a clock component for forming synchronization with another data transmission device, in which a plurality of signal levels are formed with a known first variation pattern. After transmission, the header signal and training signal may be transmitted continuously. In this case, the data transmission / reception device reproduces the clock component of the first lock signal received by the transmission data signal transmission unit that transmits the transmission data signal obtained by mapping the transmission data to the other data transmission device and the other data transmission device. A clock recovery unit that establishes synchronization with the data transmission apparatus; and a first lock signal by detecting a match between a plurality of results that the magnitude determination unit classifies into two values and at least a portion of the first variation pattern. Calculated by the difference calculation unit, and a lock signal identification unit for identifying the difference, a determination level setting unit for setting a determination level for separately determining the difference value calculated by the difference calculation unit using the training signal, and The difference value determination unit and the difference value determination unit output the difference value based on the determination level set by the determination level setting unit. And an inverse mapping unit for decoding a symbol of the transmission data transmitted with the determination result in the inverse mapping to transmission signals, further comprising.
[0036] また、テスト信号送信部は、複数の信号レベルが既知の第 1変動パターンで形成さ れ、かつ他のデータ伝送装置との同期を確立するためのクロック成分を含む第 1ロッ ク信号、または第 1変動パターンとは異なる第 2変動パターンで形成され、かつクロッ ク成分を含む第 2ロック信号を送信した後に、ヘッダ信号およびトレーニング信号を 連続して送信してもカゝまわない。この場合、データ送受信装置は、送信データをマツ ビングした送信データ信号を他のデータ伝送装置に送信する送信データ信号送信 部と、他のデータ伝送装置力 受信した第 1または第 2ロック信号のクロック成分を再 生してそのデータ伝送装置との同期を確立するクロック再生部と、大小判定部が 2値 に区別した複数の結果と、第 1および第 2変動パターンの少なくとも一部との一致を 検出することによって第 1または第 2ロック信号を識別するロック信号識別部と、トレー ニング信号を用いて、差分算出部で算出された差分値をそれぞれ区別して判定する ための判定レベルをそれぞれ設定する判定レベル設定部と、差分算出部で算出さ れた差分値をそれぞれ判定レベル設定部で設定された判定レベルに基づいて区別 して判定する差分値判定部と、差分値判定部が出力する判定結果を逆マッピングし て伝送信号で送信された送信データのシンボルを復号する逆マッピング部とを、さら に備える。 In addition, the test signal transmission unit is formed with a first variation pattern in which a plurality of signal levels are known, and a first lock signal including a clock component for establishing synchronization with another data transmission device. Alternatively, the header signal and the training signal may not be continuously transmitted after the second lock signal which is formed with the second fluctuation pattern different from the first fluctuation pattern and contains the clock component. In this case, the data transmission / reception device A transmission data signal transmission unit for transmitting the transmitted transmission data signal to another data transmission device, and the clock component of the first or second lock signal received by the other data transmission device, to be transmitted to the data transmission device The first or second lock signal is detected by detecting coincidence between a clock recovery unit that establishes synchronization, a plurality of results of which the magnitude determination unit distinguishes into two values, and at least a part of the first and second fluctuation patterns. The lock signal identification unit for identification, the determination level setting unit for setting the determination level for separately determining the difference value calculated by the difference calculation unit using the training signal, and the difference calculation unit A difference value determination unit that distinguishes and determines each of the calculated difference values based on the determination level set by the determination level setting unit and a determination result output from the difference value determination unit And an inverse mapping unit for decoding a symbol of the transmission data transmitted by the transmission signal Te Ngushi comprises the further.
[0037] 一例として、自装置が保持する基準クロックに同期した伝送信号を他のデータ伝送 装置に送出するマスタであるとき、テスト信号送信部は、基準クロックと同期が確立し た後、第 1または第 2ロック信号を他のデータ伝送装置に送信し (S16)、クロック再生 部が他のデータ伝送装置との同期を確立(S18)した後、ヘッダ信号およびトレー二 ング信号を送信し (S19)、送信データ信号送信部は、判定レベル設定部が他のデ ータ伝送装置力も受信 (S20)したトレーニング信号を用いて判定レベルをそれぞれ 設定 (S21)した後、送信データ信号を送信する(S23)。 [0037] As an example, when the master transmits a transmission signal synchronized with the reference clock held by the own apparatus to another data transmission apparatus, the test signal transmission unit transmits the first synchronization signal after the synchronization with the reference clock is established. Alternatively, the second lock signal is transmitted to another data transmission apparatus (S16), and after the clock recovery unit establishes synchronization with the other data transmission apparatus (S18), a header signal and a trailing signal are transmitted (S19). The transmission data signal transmission unit transmits the transmission data signal after setting the determination level (S21) using the training signal that the determination level setting unit also receives (S20) other data transmission device power (S21). S23).
[0038] 他の例として、他のデータ伝送装置をクロック同期のマスタとして自装置がスレーブ であるとき、テスト信号送信部は、クロック再生部が他のデータ伝送装置力 受信(S5 2)した第 1または第 2ロック信号を用いて他のデータ伝送装置との同期を確立 (S53) した後、受信した第 1または第 2ロック信号と同じ信号を選択 (S55、 S56)して送信 (S 57)し、トレーニング信号検出部が他のデータ伝送装置力 ヘッダ信号の受信を検 出(S58)した後、ヘッダ信号およびトレーニング信号を送信(S59)し、送信データ信 号送信部は、判定レベル設定部が他のデータ伝送装置力 受信したトレーニング信 号を用いて判定レベルをそれぞれ設定 (S60)した後、送信データ信号を送信する( S62)。 As another example, when the own device is the slave with the other data transmission device as the master of clock synchronization, the test signal transmission unit receives the data transmission device power received by the clock recovery unit (S52). After establishing synchronization with another data transmission apparatus using the first or second lock signal (S53), the same signal as the received first or second lock signal is selected (S55, S56) and transmitted (S57) After the training signal detection unit detects the reception of another data transmission device power header signal (S58), the header signal and the training signal are transmitted (S59), and the transmission data signal transmission unit sets the determination level. The transmission data signal is transmitted after the unit respectively sets the determination level (S60) using the training signal received by the other data transmission apparatus (S62).
[0039] また、テスト信号送出部は、トレーニング信号をヘッダ信号の送信力も所定の時間 送信しても力まわない。この場合、データ送受信装置は、トレーニング信号検出部が ヘッダ信号の受信を検出(S20、 S58)することに応じて、トレーニング信号が送信さ れる所定の時間をカウントするカウンタを、さらに備え、判定レベル設定部は、カウン タによるカウントに基づいて他のデータ伝送装置力 受信したトレーニング信号の終 了を検出(S22、 S61)して、最終的な判定レベルを設定し、送信データ信号送信部 は、判定レベル設定部が最終的な判定レベルを設定した後、送信データ信号を送信 する。 In addition, the test signal transmission unit also transmits the training signal and the transmission power of the header signal for a predetermined time. Even if you send it, it won't go wrong. In this case, the data transmission / reception device further includes a counter that counts a predetermined time for transmitting the training signal in response to the training signal detection unit detecting reception of the header signal (S20, S58), and the determination level The setting unit detects the end of the training signal received by the other data transmission device based on the count by the counter (S22, S61), sets the final determination level, and the transmission data signal transmission unit After the determination level setting unit sets the final determination level, the transmission data signal is transmitted.
[0040] 例えば、送信データは、 MOSTで定義されたデータフォーマットの信号である。 For example, the transmission data is a signal of a data format defined by MOST.
[0041] 本発明のデータ伝送システムは、伝送路を介してリング型に接続された複数のデー タ伝送装置を含み、それぞれのデータ伝送装置が互いに送信データの各シンボル を複数の信号レベルの ヽずれかにマッピングした伝送信号を送受信する。データ伝 送装置は、それぞれ初期動作の際に、少なくとも伝送信号の複数の信号レベルが既 知の変動パターンでそれぞれ形成されたトレーニング信号およびそのトレーニング信 号の先頭に付与されたヘッダ信号を含んだテスト信号を他のデータ伝送装置に送信 するテスト信号送信部と、他のデータ伝送装置から受信した伝送信号におけるシンポ ルに応じた信号レベルと、そのシンボルに対する直前のシンボルの信号レベルとの 差分値を受信順に算出する差分算出部と、差分算出部が算出した差分値の絶対値 を、それぞれ所定の閾値に対する大または小の 2値で区別する大小判定部と、大小 判定部が 2値に区別した複数の結果と、トレーニング信号またはヘッダ信号の変動パ ターンの少なくとも一部との一致を検出することによってトレーニング信号またはへッ ダ信号の受信を検出するトレーニング信号検出部とを備える。 The data transmission system of the present invention includes a plurality of data transmission devices connected in a ring shape via a transmission line, and each data transmission device mutually transmits each symbol of transmission data to a plurality of signal levels. Transmits / receives the transmission signal mapped in any way. The data transmission device includes a training signal in which at least a plurality of signal levels of the transmission signal are respectively formed with a known variation pattern and a header signal added to the head of the training signal at each initial operation. A test signal transmission unit that transmits a test signal to another data transmission device, and a difference value between the signal level corresponding to the symbol in the transmission signal received from the other data transmission device and the signal level of the symbol immediately before that symbol The difference calculation unit calculates the reception order in the order of reception, the size determination unit that distinguishes the absolute value of the difference value calculated by the difference calculation unit with a large or small binary value with respect to a predetermined threshold, and the size determination unit distinguishes into two values. By detecting a match between the multiple results and at least a portion of the variation pattern of the training signal or the header signal. And a training signal detection unit for detecting reception of the training signal or the header signal.
[0042] 上記テスト信号送信部は、ヘッダ信号の変動パターンを複数の信号レベルのうち最 大および最小レベルに所定回数交互にマッピングした後、同一の信号レベルに所定 回数連続してマッピングして生成しても力まわない。この場合、トレーニング信号検出 部は、大小判定部が 2値の大に少なくとも複数回連続して区別した後、大小判定部 力 値の小に区別したとき、ヘッダ信号の受信を検出する。 The test signal transmission unit maps the variation pattern of the header signal alternately to the maximum and minimum levels of the plurality of signal levels a predetermined number of times, and then maps and generates the same signal level a predetermined number of times in succession. Even if I do not use force. In this case, the training signal detection unit detects the reception of the header signal when the magnitude determination unit distinguishes the binary value at least a plurality of times consecutively and then distinguishes the magnitude value of the magnitude determination unit.
[0043] また、テスト信号送信部は、複数の信号レベルが既知の第 1変動パターンで形成さ れ、かつデータ伝送装置との同期を確立するためのクロック成分を含む第 1ロック信 号を送信した後に、ヘッダ信号およびトレーニング信号を連続して送信してもカゝまわ ない。この場合、データ伝送装置は、それぞれ送信データをマッピングした送信デー タ信号を他のデータ伝送装置に送信する送信データ信号送信部と、他のデータ伝 送装置力 受信した第 1ロック信号のクロック成分を再生してそのデータ伝送装置と の同期を確立するクロック再生部と、大小判定部が 2値に区別した複数の結果と、第 1変動パターンの少なくとも一部との一致を検出することによって第 1ロック信号を識 別するロック信号識別部と、トレーニング信号を用いて、差分算出部で算出された差 分値をそれぞれ区別して判定するための判定レベルをそれぞれ設定する判定レべ ル設定部と、差分算出部で算出された差分値をそれぞれ判定レベル設定部で設定 された判定レベルに基づいて区別して判定する差分値判定部と、差分値判定部が 出力する判定結果を逆マッピングして伝送信号で送信された送信データのシンボル を復号する逆マッピング部とを、さらに備える。 In addition, the test signal transmission unit is formed with a first variation pattern in which a plurality of signal levels are known, and includes a first lock signal including a clock component for establishing synchronization with the data transmission apparatus. After transmitting the signal, it is not difficult to transmit the header signal and the training signal continuously. In this case, the data transmission apparatus transmits a transmission data signal to which another transmission data is mapped to another data transmission apparatus, and the clock component of the first lock signal received by the other data transmission apparatus. And a clock recovery unit that establishes synchronization with the data transmission apparatus, and detects a match between a plurality of results that the magnitude determination unit distinguishes into two values and at least a part of the first variation pattern. (1) a lock signal identification unit that identifies a lock signal, and a determination level setting unit that sets a determination level for separately determining the difference value calculated by the difference calculation unit using the training signal A difference value determination unit that determines the difference value calculated by the difference calculation unit based on the determination level set by the determination level setting unit; And an inverse mapping unit for decoding a symbol of the transmission data transmitted in the transmission signal by inverse mapping the judgment result of force, further comprising.
[0044] 一例として、複数のデータ伝送装置のうち、保持する基準クロックに同期した伝送 信号を他のデータ伝送装置に送出するマスタに設定されたデータ伝送装置のテスト 信号送信部は、基準クロックと同期が確立した後、第 1ロック信号を他のデータ伝送 装置に送信し、クロック再生部が他のデータ伝送装置との同期を確立した後、ヘッダ 信号およびトレーニング信号を送信し、マスタに設定されたデータ伝送装置の送信 データ信号送信部は、判定レベル設定部が他のデータ伝送装置から受信したトレー ニング信号を用いて判定レベルをそれぞれ設定した後、送信データ信号を送信する As an example, among a plurality of data transmission devices, a test signal transmission unit of a data transmission device set as a master that transmits a transmission signal synchronized to a held reference clock to another data transmission device is a reference clock and After synchronization is established, the first lock signal is transmitted to the other data transmission device, and after the clock recovery unit establishes synchronization with the other data transmission device, the header signal and training signal are transmitted and set as the master. The transmission data signal transmission unit of the data transmission apparatus transmits the transmission data signal after the determination level setting unit sets the determination level using the training signal received from the other data transmission apparatus.
[0045] 他の例として、複数のデータ伝送装置のうち、他のデータ伝送装置をクロック同期 のマスタとしてスレーブに設定されたデータ伝送装置のテスト信号送信部は、クロック 再生部が他のデータ伝送装置力 受信した第 1ロック信号を用いて他のデータ伝送 装置との同期を確立した後、受信した第 1ロック信号と同じ信号を選択して送信し、ト レーニング信号検出部が他のデータ伝送装置力 ヘッダ信号の受信を検出した後、 ヘッダ信号およびトレーニング信号を送信し、スレーブに設定されたデータ伝送装置 の送信データ信号送信部は、判定レベル設定部が他のデータ伝送装置から受信し たトレーニング信号を用いて判定レベルをそれぞれ設定した後、送信データ信号を 送信する。 As another example, among the plurality of data transmission devices, the test signal transmission unit of the data transmission device in which the other data transmission device is set as a slave of the clock synchronization as the master of the clock synchronization Device power After establishing synchronization with another data transmission device using the received first lock signal, the same signal as the received first lock signal is selected and transmitted, and the training signal detection unit transmits the other data. Device power After detecting the reception of the header signal, the transmission data signal transmitter of the data transmission device that transmits the header signal and the training signal and is set as the slave receives the judgment level setting unit from another data transmission device. After setting the judgment level using the training signal, the transmission data signal is Send.
[0046] また、テスト信号送信部は、複数の信号レベルが既知の第 1変動パターンで形成さ れ、かつデータ伝送装置との同期を確立するためのクロック成分を含む第 1ロック信 号、または第 1変動パターンとは異なる第 2変動パターンで形成され、力つクロック成 分を含む第 2ロック信号を送信した後に、ヘッダ信号およびトレーニング信号を連続 して送信してもカゝまわない。この場合、データ伝送装置は、それぞれ送信データをマ ッビングした送信データ信号を他のデータ伝送装置に送信する送信データ信号送信 部と、他のデータ伝送装置力 受信した第 1または第 2ロック信号のクロック成分を再 生してそのデータ伝送装置との同期を確立するクロック再生部と、大小判定部が 2値 に区別した複数の結果と、第 1および第 2変動パターンの少なくとも一部との一致を 検出することによって第 1または第 2ロック信号を識別するロック信号識別部と、トレー ニング信号を用いて、差分算出部で算出された差分値をそれぞれ区別して判定する ための判定レベルをそれぞれ設定する判定レベル設定部と、差分算出部で算出さ れた差分値をそれぞれ判定レベル設定部で設定された判定レベルに基づいて区別 して判定する差分値判定部と、差分値判定部が出力する判定結果を逆マッピングし て伝送信号で送信された送信データのシンボルを復号する逆マッピング部とを、さら に備える。 In addition, the test signal transmission unit is a first lock signal having a plurality of signal levels formed with a known first variation pattern and including a clock component for establishing synchronization with the data transmission apparatus, or The header signal and the training signal are not continuously transmitted after transmitting the second lock signal which is formed with the second fluctuation pattern different from the first fluctuation pattern and contains the power clock component. In this case, the data transmission apparatus transmits a transmission data signal, to which each transmission data is mapped, to the other data transmission apparatus, and a transmission data signal transmission unit, and the other data transmission apparatus receives the first or second lock signal received. A clock regenerating unit that reproduces a clock component to establish synchronization with the data transmission apparatus, a plurality of results that the magnitude determination unit classifies into two values, and coincidence with at least a part of the first and second variation patterns Set a judgment level to distinguish and judge the difference value calculated by the difference calculation unit using the lock signal identification unit that identifies the first or second lock signal by detecting the signal and the training signal. And the difference value calculated by the difference calculation unit, based on the determination level set by the determination level setting unit. Value determination unit, and an inverse mapping unit which demaps the determination result difference value determination unit outputs to decode the symbols of the transmission data transmitted in the transmission signal, comprising the further.
[0047] 一例として、複数のデータ伝送装置のうち、保持する基準クロックに同期した伝送 信号を他のデータ伝送装置に送出するマスタに設定されたデータ伝送装置のテスト 信号送信部は、基準クロックと同期が確立した後、第 1または第 2ロック信号を他のデ ータ伝送装置に送信し、クロック再生部が他のデータ伝送装置との同期を確立した 後、ヘッダ信号およびトレーニング信号を送信し、マスタに設定されたデータ伝送装 置の送信データ信号送信部は、判定レベル設定部が他のデータ伝送装置から受信 したトレーニング信号を用いて判定レベルをそれぞれ設定した後、送信データ信号 を送信する。 As an example, among a plurality of data transmission devices, a test signal transmission unit of a data transmission device set as a master that transmits a transmission signal synchronized to a held reference clock to another data transmission device is a reference clock and After synchronization is established, the first or second lock signal is transmitted to the other data transmission apparatus, and after the clock recovery unit establishes synchronization with the other data transmission apparatus, the header signal and the training signal are transmitted. The transmission data signal transmission unit of the data transmission device set as the master transmits the transmission data signal after the judgment level setting unit respectively sets the judgment level using the training signal received from the other data transmission device. .
[0048] 他の例として、複数のデータ伝送装置のうち、他のデータ伝送装置をクロック同期 のマスタとしてスレーブに設定されたデータ伝送装置のテスト信号送信部は、クロック 再生部が他のデータ伝送装置力 受信した第 1または第 2ロック信号を用いて他のデ ータ伝送装置との同期を確立した後、受信した第 1または第 2ロック信号と同じ信号を 選択して送信し、トレーニング信号検出部が他のデータ伝送装置カゝらヘッダ信号の 受信を検出した後、ヘッダ信号およびトレーニング信号を送信し、スレーブに設定さ れたデータ伝送装置の送信データ信号送信部は、判定レベル設定部が他のデータ 伝送装置力 受信したトレーニング信号を用いて判定レベルをそれぞれ設定した後 、送信データ信号を送信する。 As another example, among the plurality of data transmission devices, the test signal transmission unit of the data transmission device in which the other data transmission device is set as a slave of the clock synchronization as the master of the clock synchronization Device power Use the received first or second lock signal to After synchronization with the data transmission device is established, the same signal as the received first or second lock signal is selected and transmitted, and the training signal detection unit detects the reception of the header signal of the other data transmission device receiver. After that, the transmission data signal transmission unit of the data transmission apparatus which transmits the header signal and the training signal and is set to the slave uses the training signal received by the determination level setting unit to the other data transmission apparatus power. After each setting, transmit data signal.
[0049] 例えば、送信データは、 MOSTで定義されたデータフォーマットの信号である。 For example, the transmission data is a signal of a data format defined by MOST.
発明の効果 Effect of the invention
[0050] 本発明のデータ受信装置によれば、初期動作において送出されるロック信号とトレ 一-ング信号とを区別するためのヘッダ信号またはトレーニング信号を確実に検出 することができる。これは、データ受信装置がトレーニング処理前であっても、データ 信号レベル毎の差分値の絶対値が閾値よりも大きいか小さいかといぅ大ま力な判定 により、ヘッダ信号を識別可能であるためであり、受信するヘッダ信号に対する差分 値が変動したとしても、閾値に対してマージンを形成できるため確実にヘッダ信号を 検出することができる。 According to the data receiving apparatus of the present invention, it is possible to reliably detect a header signal or a training signal for distinguishing between the lock signal and the training signal transmitted in the initial operation. This is because the header signal can be identified by the determination whether the absolute value of the difference value for each data signal level is larger or smaller than the threshold value, even before the data receiving apparatus performs training processing. Therefore, even if the difference value with respect to the header signal to be received fluctuates, since the margin can be formed with respect to the threshold value, the header signal can be detected surely.
[0051] また、トレーニング信号検出部は、大小判定部で 2値に区別され受信順に所定数 並べられた数値列と、ヘッダパターンとを比較し、双方が一致するとき、ヘッダ信号の 受信を検出するように構成することによって、上述した効果を容易に得ることができる Also, the training signal detection unit compares the header pattern with a numerical value sequence that is classified into binary values by the magnitude determination unit and arranged in a predetermined number in the reception order, and when both match, detects reception of the header signal. Can be easily obtained by the above configuration.
[0052] ヘッダ信号の変動パターンが複数の信号レベルのうち最大および最小レベルに所 定回数交互にマッピングされた後、同一の信号レベルに所定回数連続してマツピン グされて生成されている場合、トレーニング信号検出部は、大小判定部が 2値の大に 少なくとも複数回連続して区別した後、大小判定部が 2値の小に区別したことを検出 することによって、容易にヘッダ信号の受信を確実に検出することができる。 In the case where the variation pattern of the header signal is mapped to the same signal level a predetermined number of times consecutively after being mapped to the same signal level a predetermined number of times after being alternately mapped to the maximum and minimum levels among a plurality of signal levels. The training signal detection unit can easily receive the header signal by detecting that the magnitude determination unit has made a distinction between binary values after the magnitude determination unit has made a distinction between binary magnitudes at least a plurality of times consecutively. It can be detected reliably.
[0053] また、ヘッダ信号の前に 2種のロック信号が送出される場合、ロック信号の種別を識 別しながらヘッダ信号の検出を確実に行うことができる。 In addition, when two types of lock signals are transmitted before the header signal, the header signal can be reliably detected while identifying the type of the lock signal.
[0054] さらに、トレーニング信号がヘッダ信号の送信力 所定の時間送信される場合、そ のトレーニング信号の終了に応じて最終的な判定レベルを決定することができる。 [0055] 本発明のデータ送信装置によれば、上述したデータ受信装置でヘッダ信号を確実 に検出することが可能なテスト信号を送信することができる。 Furthermore, when the training signal is transmitted for a predetermined time of transmission power of the header signal, the final determination level can be determined according to the end of the training signal. According to the data transmitting apparatus of the present invention, it is possible to transmit a test signal which can reliably detect a header signal by the data receiving apparatus described above.
[0056] また、ヘッダ信号は、他のデータ伝送装置との同期が確立した後に送信される場合 、他のデータ伝送装置とのクロック同期処理が完了した後、トレーニング処理を開始 することができる。さらに、ヘッダ信号およびトレーニング信号がそれぞれ固定長であ る場合、トレーニング処理を時間制御によって終了させて、データ通信を開始するこ とがでさる。 Further, when the header signal is transmitted after synchronization with another data transmission device is established, training processing can be started after clock synchronization processing with the other data transmission device is completed. Furthermore, when the header signal and the training signal each have a fixed length, the training process can be terminated by time control to start data communication.
[0057] 本発明のデータ送受信装置およびデータ伝送システムによれば、上述したデータ 受信装置およびデータ送信装置における効果を同様に得ることができる。 According to the data transmission / reception device and the data transmission system of the present invention, the effects in the data reception device and the data transmission device described above can be obtained similarly.
図面の簡単な説明 Brief description of the drawings
[0058] [図 1]図 1は、本発明の一実施形態に係るデータ伝送システムの構成を示すブロック 図である。 [FIG. 1] FIG. 1 is a block diagram showing a configuration of a data transmission system according to an embodiment of the present invention.
[図 2]図 2は、図 1のデータ伝送装置 1の構成を示す機能ブロック図である。 [FIG. 2] FIG. 2 is a functional block diagram showing a configuration of the data transmission apparatus 1 of FIG.
[図 3]図 3は、図 2のテスト信号発生部 67の構成を示すブロック図である。 [FIG. 3] FIG. 3 is a block diagram showing a configuration of a test signal generation unit 67 of FIG.
[図 4]図 4は、ロック信号、トレーニングヘッダ信号、およびトレーニング信号で構成さ れるテスト信号 TSの伝送波形の例を説明するための図である。 [FIG. 4] FIG. 4 is a diagram for explaining an example of transmission waveforms of a test signal TS composed of a lock signal, a training header signal, and a training signal.
[図 5]図 5は、第 1ロック信号の伝送波形の例を説明するための図である。 [FIG. 5] FIG. 5 is a diagram for explaining an example of a transmission waveform of a first lock signal.
[図 6]図 6は、第 2ロック信号の伝送波形の例を説明するための図である。 [FIG. 6] FIG. 6 is a diagram for explaining an example of a transmission waveform of a second lock signal.
[図 7]図 7は、トレーニング信号の伝送波形の例を説明するための図である。 [FIG. 7] FIG. 7 is a view for explaining an example of a transmission waveform of a training signal.
[図 8]図 8は、第 2ロック信号とトレーニングヘッダ信号とが途切れることなく出力される 伝送波形パターンの第 1の例を示す図である。 [FIG. 8] FIG. 8 is a diagram showing a first example of a transmission waveform pattern in which the second lock signal and the training header signal are output without interruption.
[図 9]図 9は、第 2ロック信号とトレーニングヘッダ信号とが途切れることなく出力される 伝送波形パターンの第 2の例を示す図である。 [FIG. 9] FIG. 9 is a diagram showing a second example of a transmission waveform pattern in which the second lock signal and the training header signal are output without interruption.
[図 10]図 10は、第 2ロック信号とトレーニングヘッダ信号とが途切れることなく出力さ れる伝送波形パターンの第 3の例を示す図である。 [FIG. 10] FIG. 10 is a diagram showing a third example of the transmission waveform pattern in which the second lock signal and the training header signal are output without interruption.
[図 11]図 11は、図 2のパターン識別部 71の構成を示すブロック図である。 [FIG. 11] FIG. 11 is a block diagram showing a configuration of the pattern identification unit 71 of FIG.
[図 12]図 12は、図 2の差分算出部 54から出力される差分値 ddおよび図 11の第 1RO [FIG. 12] FIG. 12 shows the difference value dd output from the difference calculation unit 54 of FIG. 2 and the first RO of FIG.
M714と第 2ROM717とに格納されているデータを示した図である。 [図 13]図 13は、図 11のシフトレジスタ 712の動作を説明するための図である。 It is the figure which showed the data stored in M714 and 2nd ROM717. [FIG. 13] FIG. 13 is a diagram for explaining the operation of the shift register 712 of FIG.
[図 14]図 14は、図 2のトレーニング信号検出部 58の構成を示すブロック図である。 [FIG. 14] FIG. 14 is a block diagram showing a configuration of a training signal detection unit 58 of FIG.
[図 15]図 15は、図 2の差分算出部 54から出力される差分値 ddおよび図 14の ROM5 84に格納されているデータを示した図である。 15 is a diagram showing the difference value dd output from the difference calculation unit 54 of FIG. 2 and data stored in the ROM 584 of FIG.
[図 16]図 16は、図 14のシフトレジスタ 582の動作を説明するための図である。 [FIG. 16] FIG. 16 is a diagram for explaining the operation of the shift register 582 of FIG.
[図 17]図 17は、図 1のデータ伝送システムにおいてマスタおよびスレーブに設定され たデータ伝送装置 1がそれぞれ行う前半部の初期化動作を示すフローチャートであ る。 [FIG. 17] FIG. 17 is a flowchart showing the initialization operation of the first half performed by the data transmission apparatus 1 set as the master and the slave in the data transmission system of FIG.
[図 18]図 18は、図 1のデータ伝送システムにおいてマスタおよびスレーブに設定され たデータ伝送装置 1がそれぞれ行う後半部の初期化動作を示すフローチャートであ る。 [FIG. 18] FIG. 18 is a flow chart showing a second half initialization operation performed by the data transmission apparatus 1 set as a master and a slave in the data transmission system of FIG.
[図 19]図 19は、従来のデータ伝送システムの構成を示したブロック図である。 FIG. 19 is a block diagram showing the configuration of a conventional data transmission system.
[図 20]図 20は、従来のデータ伝送方式の切り替え方法を示す前半のシーケンス図 である。 [FIG. 20] FIG. 20 is a sequence diagram of the first half showing a conventional data transmission method switching method.
[図 21]図 21は、従来のデータ伝送方式の切り替え方法を示す後半のシーケンス図 である。 [FIG. 21] FIG. 21 is a sequence diagram of the second half showing a conventional data transmission method switching method.
[図 22]図 22は、図 19のデータ伝送装置 100a— ΙΟΟη間で送信されるロック信号、ト レーニングヘッダ信号、トレーニング信号、および送信データの伝送波形の一例を示 す図である。 [FIG. 22] FIG. 22 is a diagram showing an example of transmission waveforms of the lock signal, training header signal, training signal, and transmission data transmitted between the data transmission device 100a and ΙΟΟ in FIG.
符号の説明 Explanation of sign
1…データ伝送装置 1 ... Data transmission device
2· ··コントローラ 2 · · controller
3- --MPU 3---MPU
4…送受信部 4 ... Transmitter and receiver
5…受信部 5 ... Receiver
50…クロック再生部 50: Clock reproduction unit
51…差動レシーバ 51 ... differential receiver
52- --ADC 3···ロールオフフィルタ52--ADC 3 · · · roll off filter
4…差分算出部4 ... Difference calculation unit
5…逆マッピング部5 ... reverse mapping unit
6 PZS変換部6 PZS converter
7…判定レベル設定部7 ... Judgment level setting unit
8···トレーニング信号検出部81、 711…大小判定部8 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · training signal detection unit 81, 711
82、 712···シフ卜レジスタ82, 712 · · · · shift register
83…比較器83 ... comparator
84---ROM84 --- ROM
85···カウンタ85 ··· Counter
9…教師信号生成部 9: Teacher signal generator
…送信部... Transmission unit
1、 675···セレクタ1, 675 ... selector
2 SZP変換部2 SZP converter
3…マッピング部3 ... Mapping unit
4···ローノレォフフイノレタ4 · · · ノ レ レ フ イ
5---DAC5 --- DAC
6…差動ドライバ6 ... differential driver
7···テスト信号発生部7 ··· Test signal generator
71…第 1ロック信号発生部71 ... 1st lock signal generator
72···第 2ロック信号発生部72 ··· Second lock signal generator
73···トレーニングヘッダ信号発生部74···トレーニング信号発生部76…切替指示部73 ··· Training header signal generator 74 ··· Training signal generator 76 ··· Switching instruction unit
···クロック制御部··· Clock control unit
1···パターン識別部1 · · · Pattern identification unit
13···第 1比較器 714· · ·第 1ROM 13 ··· First comparator 714 · · · 1st ROM
715…第 1カウンタ 715 ... 1st counter
716· · ·第 2比較器 716 · · · 2nd comparator
717· · ·第 2ROM 717 · · · 2nd ROM
718…第 2カウンタ 718 ... 2nd counter
72…判定部 72 ... judgment unit
10…接続機器 10 ... connected equipment
80…伝送路 80 ... Transmission path
発明を実施するための最良の形態 BEST MODE FOR CARRYING OUT THE INVENTION
[0060] 図 1を参照して、本発明の一実施形態に係るデータ伝送システムについて説明す る。当該データ伝送システムは、複数のデータ伝送装置を有しており、それらのデー タ伝送装置の内部に送信部および受信部を含む送受信部がそれぞれ構成されてい る。これらは、本発明のデータ受信装置、データ送信装置、およびデータ送受信装 置が用いられる一例であり、データ受信装置またはデータ送信装置のみを構成する 場合、受信部または送信部のみを構成すればよい。なお、図 1は、当該データ伝送 システムの構成を示すブロック図である。 A data transmission system according to an embodiment of the present invention will be described with reference to FIG. The data transmission system includes a plurality of data transmission devices, and a transmission / reception unit including a transmission unit and a reception unit is configured in each of the data transmission devices. These are examples in which the data receiving apparatus, data transmitting apparatus, and data transmitting / receiving apparatus of the present invention are used, and when only the data receiving apparatus or data transmitting apparatus is configured, only the receiving unit or transmitting section may be configured. . FIG. 1 is a block diagram showing the configuration of the data transmission system.
[0061] 図 1において、データ伝送システムは、物理的なトポロジをリング'トポロジとし、複数 のノードをリング'トポロジで接続することによって一方向のリング型 LANを形成して いる。以下、上記データ伝送システムの一例として、各ノードを 6段のデータ伝送装置 la— Ifによって構成し、それぞれ伝送路 80a— 80fによってリング型に接続し、伝送 されるデータが伝送路 80a— 80fを介して一方向に伝送されるシステムを説明する。 各データ伝送装置 la— Ifには、それぞれデータ伝送システムを伝送したデータに基 づ 、て処理を行 、、その結果をデータ伝送システムに出力する接続機器 (例えば、 オーディオ機器、ナビゲーシヨン機器、あるいは情報端末機器) 10a— 10fが接続さ れている。なお、一般的なハードウェアの形態としては、それぞれのデータ伝送装置 la— Ifおよび接続機器 10a— 10fがー体的に構成される。 In FIG. 1, the data transmission system has a physical topology as a ring 'topology, and forms a one-way ring LAN by connecting a plurality of nodes in a ring' topology. Hereinafter, as an example of the above data transmission system, each node is configured by six stages of data transmission devices la-If, and transmission paths 80a-80f are respectively connected in a ring type, and data to be transmitted is transmitted through transmission paths 80a-80f. A system will be described which is transmitted in one direction via Each data transmission device la-If performs processing based on the data transmitted from the data transmission system, and outputs the result to the data transmission system (for example, audio equipment, navigation equipment, or Information terminal equipment) 10a to 10f are connected. As a general form of hardware, the respective data transmission devices la-If and the connected devices 10a-10f are physically configured.
[0062] 上記データ伝送システムで用いられる情報系の通信プロトコルとしては、例えば、 Media Oriented Systems Transport (以下、 MOSTと記載する)がある。 MO STを通信プロトコルとして伝送されるデータは、フレームを基本単位として伝送され、 各データ伝送装置 1の間を次々にフレームがー方向に伝送される。つまり、データ伝 送装置 laは、伝送路 80aを介してデータ伝送装置 lbに対してデータを出力する。ま た、データ伝送装置 lbは、伝送路 80bを介してデータ伝送装置 lcに対してデータを 出力する。また、データ伝送装置 lcは、伝送路 80cを介してデータ伝送装置 Idに対 してデータを出力する。また、データ伝送装置 Idは、伝送路 80dを介してデータ伝送 装置 leに対してデータを出力する。また、データ伝送装置 leは、伝送路 80eを介し てデータ伝送装置 Ifに対してデータを出力する。そして、データ伝送装置 Ifは、伝 送路 80fを介してデータ伝送装置 laに対してデータを出力する。伝送路 80a— 80f にはツイストペア線や同軸ケーブルのような安価なケーブルが用いられ、各データ伝 送装置 1は、互いに電気通信を行う。ここで、当該データ伝送システムの電源投入時 においては、データ伝送装置 laが自装置のクロックによりデータを送信するマスタで あり、他のデータ伝送装置 lb— Ifがマスタで生成されるクロックに周波数をロックする スレーブである。 As an information communication protocol used in the above data transmission system, for example, Media Oriented Systems Transport (hereinafter referred to as MOST) is given. MO Data to be transmitted using ST as a communication protocol is transmitted using a frame as a basic unit, and frames are transmitted in the-direction one after another between each data transmission apparatus 1. That is, the data transmission device la outputs data to the data transmission device lb through the transmission line 80a. Also, the data transmission device lb outputs data to the data transmission device lc via the transmission line 80b. Also, the data transmission device lc outputs data to the data transmission device Id via the transmission line 80c. Also, the data transmission device Id outputs data to the data transmission device le via the transmission line 80d. Also, the data transmission device le outputs data to the data transmission device If via the transmission line 80e. Then, the data transmission device If outputs data to the data transmission device la via the transmission path 80f. In the transmission paths 80a-80f, inexpensive cables such as twisted wire pairs or coaxial cables are used, and the data transmission devices 1 communicate with each other. Here, when the power of the data transmission system is turned on, the data transmission device la is a master that transmits data by the clock of the own device, and the other data transmission device lb-If has a frequency based on the clock generated by the master. It is a slave to lock.
[0063] 次に、図 2を参照して、データ伝送装置 1の構成について説明する。なお、図 2は、 データ伝送装置 1の構成を示す機能ブロック図である。なお、上述した複数のデータ 伝送装置 la— Ifは、それぞれ同様の構成であり、それらを総称してデータ伝送装置 1と記載する。 Next, the configuration of the data transmission apparatus 1 will be described with reference to FIG. FIG. 2 is a functional block diagram showing the configuration of the data transmission apparatus 1. Note that the plurality of data transmission devices la-If described above have the same configuration, respectively, and these are collectively referred to as the data transmission device 1.
[0064] 図 2において、データ伝送装置 1は、コントローラ 2、マイクロコンピュータ(MPU) 3 、および送受信部 4を備えている。以下、当該データ伝送システムで用いる通信プロ トコルの一例として、 MOSTを用いて説明を行う。 In FIG. 2, the data transmission device 1 includes a controller 2, a microcomputer (MPU) 3, and a transmission / reception unit 4. The following description will be made using MOST as an example of a communication protocol used in the data transmission system.
[0065] コントローラ 2には、データ伝送システムを伝送したデータに基づいて処理を行い、 その結果をデータ伝送システムに出力する接続機器 10が接続されている。そして、 コントローラ 2は、その機能の一つとして、接続された接続機器 10からのデータを MO STで規定されるプロトコルに変換して送受信部 4にデジタルデータ TXを出力する。 また、コントローラ 2は、送受信部 4から出力されるデジタルデータ RXが入力され、接 続された接続機器 10へデータを伝送する。 Connected to the controller 2 is a connected device 10 that performs processing based on data transmitted through the data transmission system and outputs the result to the data transmission system. Then, as one of the functions, the controller 2 converts data from the connected connected device 10 into a protocol defined by the MOST, and outputs digital data TX to the transmission / reception unit 4. In addition, the controller 2 receives the digital data RX output from the transmission / reception unit 4 and transmits the data to the connected connection device 10.
[0066] MPU3は、データ伝送装置 1が有する各伝送モードに基づいて、コントローラ 2、送 受信部 4、および上記接続機器 10を制御する。例えば、 MPU3は、データ伝送装置 1のリセット機能、伝送方式制御(8値 Z4値マッピング等の切り替え)、電源制御 (省 エネモードの切り替え)、マスタ Zスレーブの選択処理、およびスクランブル伝送機能 等を制御する。 The MPU 3 transmits the controller 2 based on each transmission mode of the data transmission apparatus 1. The receiver 4 and the connection device 10 are controlled. For example, the MPU 3 controls the reset function of the data transmission apparatus 1, transmission method control (switching of 8-value Z4 mapping etc.), power control (switching of energy saving mode), master Z slave selection processing, scramble transmission function, etc. Do.
[0067] 送受信部 4は、典型的には LSIで構成され、受信部 5、送信部 6、クロック制御部 7を 有している。受信部 5は、伝送路 80から入力する他のデータ伝送装置 1からの電気 信号を受信し、その電気信号をデジタル信号 RXに変換してコントローラ 2に出力する 。また、受信部 5は、上記電気信号に含まれるクロック成分を再生して、クロック制御 部 7に出力する。送信部 6は、クロック制御部 7のクロックに基づいて、コントローラ 2か ら出力されるデジタルデータ TXを電気信号に変換して、伝送路 80を介して他のデ ータ伝送装置 1に出力する。 The transmission / reception unit 4 is typically constituted by an LSI, and includes a reception unit 5, a transmission unit 6, and a clock control unit 7. The receiver 5 receives an electrical signal from another data transmission apparatus 1 input from the transmission path 80, converts the electrical signal into a digital signal RX, and outputs the digital signal RX to the controller 2. Further, the receiver 5 reproduces the clock component contained in the electric signal and outputs the clock component to the clock controller 7. The transmitting unit 6 converts the digital data TX output from the controller 2 into an electrical signal based on the clock of the clock control unit 7, and outputs the electrical signal to another data transmission apparatus 1 via the transmission path 80. .
[0068] クロック制御部 7は、データ伝送装置 1のシステムクロックを制御する。例えば、受信 部 5で再生した前段のデータ伝送装置 1で使用されるクロックや、コントローラ 2のクロ ックに基づいて、送受信部 4で用いられるクロックを出力したりする。具体的には、クロ ック制御部 7は、データ伝送装置 1がマスタである場合、送信側 PLL (Phase Locke d Loop)で再生したクロックを出力し、スレーブである場合、受信側 PLLで再生した クロックを出力する。 The clock control unit 7 controls the system clock of the data transmission apparatus 1. For example, the clock used by the transmission / reception unit 4 is output based on the clock used by the data transmission device 1 of the previous stage reproduced by the reception unit 5 or the clock of the controller 2. Specifically, when the data transmission device 1 is a master, the clock control unit 7 outputs the clock reproduced by the transmission PLL (Phase Locked Loop), and when the data transmission device 1 is a slave, the clock controller 7 reproduces the clock by the reception PLL. Output the clock.
[0069] 送信部 6は、セレクタ 61、 S/P (シリアル Zパラレル)変換部 62、マッピング部 63、 ロールオフフィルタ 64、 DAC (デジタル'アナログ'コンバータ) 65、差動ドライバ 66、 およびテスト信号発生部 67を有している。送信部 6は、コントローラ 2から出力される デジタルデータ TXを多値マッピング(例えば、 8値マッピングや 4値マッピング)した 信号レベルを有するアナログ電気信号に変換して伝送路 80に出力する。なお、説明 を具体的にするために、送信部 6がデジタルデータ TXを 8値マッピングしたアナログ 電気信号に変換して出力する場合について説明する。このアナログ電気信号の詳細 については、後述する。 Transmitter 6 includes selector 61, S / P (serial Z parallel) converter 62, mapping unit 63, roll-off filter 64, DAC (digital 'analog' converter) 65, differential driver 66, and a test signal. The generator 67 is included. The transmitter 6 converts the digital data TX output from the controller 2 into an analog electrical signal having a signal level obtained by multi-value mapping (for example, 8-value mapping or 4-value mapping), and outputs the converted signal to the transmission path 80. In addition, in order to make the description specific, the case where the transmitting unit 6 converts the digital data TX into an analog electrical signal in which eight values are mapped and outputs the analog data will be described. Details of this analog electrical signal will be described later.
[0070] セレクタ 61は、クロック制御部 7によって制御されるクロックに基づいて、送信部 6か ら送信するデータ(例えば、デジタルデータ TXまたはデジタルデータ RX)を選択して SZP変換部 62へ出力する。 [0071] SZP変換部 62は、多値ィ匕伝送を行うために、セレクタ 61から出力されるシリアルの デジタルデータを 2ビット毎のパラレルデータに変換する。マッピング部 63は、 S/P 変換部 62で変換された 2ビット毎のパラレルデータを、上記システムクロックに基づ!/ヽ て 8値のシンボルのいずれかにマッピングしてロールオフフィルタ 64に出力する。こ のマッピングは、受信側に配置される他のデータ伝送装置 1でクロック再生を行うため に、 2ビット毎のパラレルデータを 8値のシンボルのうち上位 4シンボルと下位 4シンポ ルとに交互に割り当てられる。また、送信および受信との間の直流成分の変動や差 の影響を除外するために、前値との差分によってマッピングが行われる。また、マツピ ング部 63は、テスト信号発生部 67から出力されるテスト信号 TSを、そのまま、または 上記システムクロックに基づ 、て 8値のシンボルの!/、ずれかにマッピングしてロールォ フフィルタ 64に出力する。マッピング部 63がテスト信号 TSをマッピングするか否かに ついては、テスト信号発生部 67から出力されるテスト信号 TSに応じて決めれば、ど ちらでもかまわない。 Selector 61 selects data (for example, digital data TX or digital data RX) to be transmitted from transmission unit 6 based on the clock controlled by clock control unit 7 and outputs it to SZP conversion unit 62. . The SZP conversion unit 62 converts serial digital data output from the selector 61 into parallel data for every two bits in order to perform multi-level transmission. The mapping unit 63 maps the parallel data of every 2 bits converted by the S / P conversion unit 62 to any one of! / Total 8 symbols based on the above system clock, and outputs it to the roll-off filter 64. Do. In this mapping, in order to perform clock recovery in the other data transmission apparatus 1 arranged on the receiving side, parallel data of every 2 bits are alternately divided into upper 4 symbols and lower 4 symbols among 8 symbols. Assigned. Also, in order to exclude the influence of DC component fluctuation and difference between transmission and reception, mapping is performed by the difference with the previous value. The mapping unit 63 maps the test signal TS output from the test signal generation unit 67 as it is or based on the above-mentioned system clock to! /, Or one of the eight-valued symbols, to perform the rolloff filter 64. Output to As to whether or not the mapping unit 63 maps the test signal TS, it may be determined according to the test signal TS output from the test signal generation unit 67.
[0072] 上述したように、 8値マッピング方式では、各データ伝送装置 1間の直流成分の変 動や差によらず受信可能とするため、前シンボル値と上記 2ビット毎のパラレルデー タ(送信データ)に基づいて、送信シンボル値の決定 (マッピング)を行う。送信シンポ ル値は、「 + 7」、 「 + 5」、 「 + 3」、 「 + 1」、 「― 1」、 「― 3」、「一 5」、および「一 7」の 8個の 信号レベルのいずれかにマッピングするように定められている。例えば、前シンボル 値が「一 1」で送信データ「00」をマッピングする場合、送信シンボル値は「 + 7」となり 前シンボル値との差分値は「 + 8」となる。送信シンボル値は、前シンボル値の極性に 対して、その正負が交互になるようにマッピングされる。また、前シンボル値との差分 値に対して、送信データが一意に決まるようにマッピングされる。 As described above, in the eight-value mapping method, in order to enable reception regardless of variations or differences in DC components among the respective data transmission devices 1, parallel data of the previous symbol value and the above-mentioned two bits ( Determination (mapping) of transmission symbol values based on transmission data). The transmission symbol values are “+7”, “+5”, “+3”, “+1”, “−1”, “−1”, “−3”, “one five”, and “one seven”. It is defined to map to any of the signal levels. For example, when the previous symbol value is “one 1” and the transmission data “00” is mapped, the transmission symbol value is “+7” and the difference value with the previous symbol value is “+8”. The transmission symbol values are mapped to alternate with the polarity of the previous symbol value so that their positive and negative values are alternated. Also, the transmission data is mapped to be uniquely determined for the difference value with the previous symbol value.
[0073] ロールオフフィルタ 64は、送信する電気信号の帯域制限および符号間干渉を抑え るための波形整形フィルタである。例えば、ロールオフフィルタ 64は、 FIRフィルタで 構成される。 The roll-off filter 64 is a waveform shaping filter for suppressing band limitation of the electric signal to be transmitted and intersymbol interference. For example, the roll-off filter 64 is configured of an FIR filter.
[0074] DAC65は、ロールオフフィルタ 64で帯域制限された信号をアナログ信号に変換す る。差動ドライバ 66は、 DAC65から出力されるアナログ信号の強度を増幅して差動 信号に変換して伝送路 80に送出する。差動ドライバ 66は、伝送路 80が有する 2本 1 組の導線に対して、送出する電気信号を伝送路 80の一方側(プラス側)導線に送信 し、当該電気信号と正負反対の信号を伝送路 80の他方側 (マイナス側)に送信する 。これによつて、伝送路 80には、プラス側とマイナス側との電気信号が 1つのペアとし て伝送するため、お互いの電気信号の変化をお互いの電気信号が打ち消しあい、伝 送路 80からの放射ノイズおよび外部力もの電気的影響を軽減することができる。 The DAC 65 converts the band-limited signal by the roll-off filter 64 into an analog signal. The differential driver 66 amplifies the strength of the analog signal output from the DAC 65, converts it into a differential signal, and sends it to the transmission line 80. The differential driver 66 has two lines 1 of the transmission line 80 The electric signal to be sent is sent to one side (plus side) of the transmission line 80 to the set of conductors, and a signal that is opposite in polarity to the electric signal is sent to the other side (minus side) of the transmission line 80. As a result, since the electrical signals of the positive side and the negative side are transmitted as one pair in the transmission path 80, the electrical signals of the respective electrical signals cancel each other's changes, and the transmission path 80 Noise and external power can be reduced.
[0075] テスト信号発生部 67は、電源投入時等の初期化処理の際、他のデータ伝送装置 1 と連係して初期化を行うために、テスト信号 TSを生成する。テスト信号 TSは、受信側 で同期確立するためのクロック再生用信号 (以下、ロック信号と記載する)と、トレー二 ングヘッダ信号 (例えば、最大あるいは最小の信号レベルを所定期間継続する)と、 受信側に配置される他のデータ伝送装置 1との間でデータ判定の基準となる判定レ ベルの設定を行うためのトレーニング信号とを含んでいる。トレーニング信号は、各デ ータ伝送装置 1間で既知のデータパターンであり、上記全ての送信シンボル値が含 まれる。テスト信号発生部 67で生成されたテスト信号 TSは、マッピング部 63に送出さ れる。なお、テスト信号 TSの伝送波形の詳細等については、後述する。 The test signal generation unit 67 generates a test signal TS in order to perform initialization in cooperation with another data transmission apparatus 1 at the time of initialization processing such as when the power is turned on. The test signal TS includes a clock recovery signal (hereinafter referred to as a lock signal) for establishing synchronization on the receiving side, a trailing header signal (for example, the maximum or minimum signal level continues for a predetermined period), and reception And a training signal for setting a determination level as a reference of data determination with another data transmission apparatus 1 disposed on the side. The training signal is a known data pattern among the data transmission devices 1 and includes all the above-mentioned transmission symbol values. The test signal TS generated by the test signal generation unit 67 is sent to the mapping unit 63. The details and the like of the transmission waveform of the test signal TS will be described later.
[0076] 受信部 5は、クロック再生部 50、差動レシーバ 51、 ADC (アナログ.デジタル'コン バータ) 52、ロールオフフィルタ 53、差分算出部 54、逆マッピング部 55、 PZS (パラ レル Zシリアル)変換部 56、判定レベル設定部 57、トレーニング信号検出部 58、教 師信号生成部 59、パターン識別部 71、および判定部 72を有している。 The receiver 5 includes a clock recovery unit 50, a differential receiver 51, an ADC (analog-digital 'converter) 52, a roll-off filter 53, a difference calculation unit 54, a reverse mapping unit 55, and a PZS (parallel Z serial). ) A conversion unit 56, a determination level setting unit 57, a training signal detection unit 58, a teacher signal generation unit 59, a pattern identification unit 71, and a determination unit 72.
[0077] 差動レシーバ 51は、伝送路 80から入力する差動信号を電圧信号に変換して ADC 52に出力する。上述したように、伝送路 80が有する 2本 1組の導線に対してプラス側 とマイナス側との電気信号が 1つのペアとして伝送しており、差動レシーバ 51は、ブラ ス側とマイナス側との差力 信号を判断するため、外部からの電気的影響に対して効 力を発揮する。そして、 ADC52は、差動レシーバ 51から出力される電圧信号をデジ タル信号に変換する。 The differential receiver 51 converts the differential signal input from the transmission line 80 into a voltage signal and outputs the voltage signal to the ADC 52. As described above, positive and negative electrical signals are transmitted as one pair with respect to one pair of conducting wires of the transmission line 80, and the differential receiver 51 has the bus side and the negative side. It is effective against external electrical influences in order to judge the difference signal. Then, the ADC 52 converts the voltage signal output from the differential receiver 51 into a digital signal.
[0078] ロールオフフィルタ 53は、 ADC52から出力されるデジタル信号のノイズ除去を行う 波形整形用の FIRフィルタであり、上述した送信側のロールオフフィルタ 64と合わせ 、符号間干渉のないロールオフ特性を実現する。差分算出部 54は、後述するクロッ ク再生部 50で検出したデータシンボルタイミングに基づ!/、て、ロールオフフィルタ 53 力も出力された受信シンボル値と前シンボル値との差分値 ddを演算する。そして、差 分算出部 54は、判定レベル設定部 57で設定された判定レベルに基づいて、上記差 分値 dd毎にデータ判定を行って、その判定値を逆マッピング部 55に出力する。この ように、受信したシンボル値を前シンボル値に対する差分値 ddで判定することによつ て、送信側から受信側のデータ伝送装置 1に伝送する際の機器間の DC電圧差をキ ヤンセルすることができる。 The roll-off filter 53 is an FIR filter for waveform shaping that removes noise from the digital signal output from the ADC 52, and is combined with the above-described roll-off filter 64 on the transmission side to provide a roll-off characteristic without intersymbol interference. To achieve. The difference calculation unit 54 uses a roll-off filter 53 based on the data symbol timing detected by the clock reproduction unit 50 described later. The difference value dd between the received symbol value output and the previous symbol value is also calculated. Then, the difference calculation unit 54 performs data determination for each difference value dd based on the determination level set by the determination level setting unit 57, and outputs the determination value to the reverse mapping unit 55. In this way, the DC voltage difference between the devices when transmitting from the transmitting side to the receiving side data transmission device 1 is canceled by determining the received symbol value by the difference value dd from the previous symbol value. be able to.
[0079] 逆マッピング部 55は、クロック再生部 50で検出したデータシンボルタイミングに基 づ 、て、上記判定値を用いて送信側のマッピング部 63でマッピングする前のデータ に復号する。この逆マッピング部 55における逆マッピング処理によって、上記判定値 力 Sパラレルデータに変換される。 PZS変換部 56は、逆マッピング部 55で変換された パラレルデータをシリアルのデジタルデータ RXに変換して、コントローラ 2に出力する Based on the data symbol timing detected by the clock recovery unit 50, the reverse mapping unit 55 decodes the data before mapping by the mapping unit 63 on the transmission side using the above determination value. By the reverse mapping process in the reverse mapping unit 55, the judgment value is converted into parallel data. The PZS conversion unit 56 converts the parallel data converted by the reverse mapping unit 55 into serial digital data RX, and outputs it to the controller 2
[0080] クロック再生部 50は、 ADC52から出力される伝送路 80から受信した信号のクロッ ク成分を再生することによって、伝送路のクロック再生を行い、上述した伝送波形の 最大あるいは最小ポイントとなるデータシンボルタイミングを検出する。そして、クロッ ク再生部 50で再生されたクロックは、受信部 5全体のクロックとして用いられる。また、 クロック再生部 50で再生されたクロックは、クロック制御部 7に出力され受信側 PLLの リファレンスクロック入力として用いられる。 Clock recovery unit 50 recovers the clock of the transmission path by recovering the clock component of the signal received from transmission path 80 output from ADC 52, and becomes the maximum or minimum point of the transmission waveform described above. Detect data symbol timing. The clock regenerated by the clock regeneration unit 50 is used as a clock for the entire reception unit 5. The clock regenerated by the clock regeneration unit 50 is output to the clock control unit 7 and used as a reference clock input of the receiving PLL.
[0081] 判定レベル設定部 57は、差分算出部 54で演算された差分値 ddに対して、その差 分値 ddを閾値判定するための判定レベルを設定する。トレーニング信号検出部 58 は、他のデータ伝送装置 1から伝送されたテスト信号 TSに含まれるトレーニングへッ ダ信号を検出し、このトレーニングヘッダ信号に続いて受信するトレーニング信号を 検出する。なお、トレーニング信号検出部 58の詳細な構成については、後述する。 教師信号生成部 59は、トレーニング信号検出部 58がトレーニングヘッダ信号を検出 した際、そのトレーニングヘッダ信号に続いて受信するトレーニング信号と同じデータ ノ ターンを有し、かつ当該トレーニング信号と同期した教師信号 MSを判定レベル設 定部 57に出力する。そして、判定レベル設定部 57は、教師信号 MSおよびトレー- ング信号に対して演算された差分値 ddに基づ 、て、上記判定レベルを演算する。 [0082] パターン識別部 71および判定部 72は、前段に接続されたデータ伝送装置から送 信されたロック信号に埋め込まれた情報をパターン識別し、その識別結果に基づ ヽ て当該情報を判定する。具体的には、パターン識別部 71は、送信されてくるロック信 号のパターンをその差分値の絶対値に対してそれぞれの大小の組合わせに基づい てパターン識別する。そして、判定部 72は、パターン識別部 71から出力されてきた 識別結果に基づいて、送信されてきたロック信号が第 1ロック信号か第 2ロック信号か を判定し、その判定結果をテスト信号発生部 67へ出力する。例えば、ロック信号に埋 め込まれた情報は、データ伝送方式 (8値 Z4値マッピング)を通知することができる。 The determination level setting unit 57 sets a determination level for determining the difference value dd as a threshold with respect to the difference value dd calculated by the difference calculation unit 54. The training signal detection unit 58 detects a training header signal included in the test signal TS transmitted from the other data transmission device 1 and detects a training signal received following this training header signal. The detailed configuration of the training signal detection unit 58 will be described later. When the training signal detection unit 58 detects a training header signal, the teacher signal generation unit 59 has the same data pattern as the training signal received subsequently to the training header signal, and is in synchronization with the training signal. Output MS to the judgment level setting unit 57. Then, the determination level setting unit 57 calculates the determination level based on the teacher signal MS and the difference value dd calculated with respect to the trailing signal. The pattern identification unit 71 and the determination unit 72 pattern-identify the information embedded in the lock signal transmitted from the data transmission apparatus connected to the previous stage, and determine the information based on the identification result. Do. Specifically, the pattern identification unit 71 identifies the pattern of the lock signal to be transmitted on the basis of a combination of magnitudes with respect to the absolute value of the difference value. Then, the determination unit 72 determines whether the lock signal transmitted is the first lock signal or the second lock signal based on the identification result output from the pattern identification unit 71, and the determination result is generated as a test signal. Output to part 67. For example, the information embedded in the lock signal can notify the data transmission method (8-value Z4 value mapping).
[0083] 次に、図 3—図 10を参照して、テスト信号発生部 67の構造とデータ伝送装置 1から 出力されるテスト信号 TSの伝送波形の例について説明する。なお、図 3はテスト信号 発生部 67の構成を示すブロック図であり、図 4一図 10はテスト信号 TSの伝送波形の 例を説明するための図である。 Next, with reference to FIG. 3 to FIG. 10, the structure of the test signal generation unit 67 and an example of the transmission waveform of the test signal TS output from the data transmission device 1 will be described. 3 is a block diagram showing the configuration of the test signal generator 67, and FIGS. 4 and 10 are diagrams for explaining an example of a transmission waveform of the test signal TS.
[0084] 図 3において、テスト信号発生部 67は、第 1ロック信号発生部 671、第 2ロック信号 発生部 672、トレーニングヘッダ信号発生部 673、トレーニング信号発生部 674、セ レクタ 675、および切替指示部 676を備えている。テスト信号発生部 67は、図 4で示 すロック信号、トレーニングヘッダ信号、およびトレーニング信号で構成されるテスト信 号 TSを後段のデータ伝送装置へ送出するために、それぞれの信号を示すデータ( データシンボル)をマッピング部 63へ出力する。 In FIG. 3, test signal generating unit 67 includes first lock signal generating unit 671, second lock signal generating unit 672, training header signal generating unit 673, training signal generating unit 674, selector 675, and switching instruction. It has a part 676. The test signal generator 67 outputs data (data (data) representing each signal in order to transmit the test signal TS composed of the lock signal, the training header signal, and the training signal shown in FIG. The symbol is output to the mapping unit 63.
[0085] 第 1ロック信号発生部 671は、図 5に示されるような第 1ロック信号を生成するための データをセレクタ 675へ出力する。なお、図 5は、データ伝送装置 1から出力される第 1ロック信号の伝送波形を示したグラフである。第 1ロック信号は、各データ伝送装置The first lock signal generation unit 671 outputs data for generating the first lock signal as shown in FIG. 5 to the selector 675. FIG. 5 is a graph showing the transmission waveform of the first lock signal output from the data transmission device 1. The first lock signal is for each data transmission device
1力 Sクロック同期を取るときに用いられる信号であるとともに、各データ伝送装置 1に対 して、データ伝送方式を通知する情報が埋め込まれている。例えば、第 1ロック信号 は、 8値マッピングされたデータで通信を行うことを下段のデータ伝送装置 1へ通知 する。第 1ロック信号は、 1周期が 8シンボル力もなつており、各シンボルで信号レべ「 + 1」と「一 1」とが交互に繰り返された信号である。 This signal is used when one-power S clock synchronization is taken, and information for notifying the data transmission system 1 of the data transmission method is embedded. For example, the first lock signal notifies the lower data transmission apparatus 1 that communication is to be performed using eight-level mapped data. The first lock signal is a signal in which one cycle is also eight symbol power, and the signal level "+1" and "one 1" are alternately repeated in each symbol.
[0086] 第 2ロック信号発生部 672は、図 6に示されるような第 2ロック信号を生成するための データをセレクタ 675へ出力する。なお、図 6は、データ伝送装置 1から出力される第 2ロック信号の伝送波形を示したグラフである。第 1ロック信号と同様に第 2ロック信号 も、各データ伝送装置 1がクロック同期を取るときに用いられる信号であるとともに、各 データ伝送装置 1に対して、データ伝送方式を通知する情報が埋め込まれて 、る。 例えば、第 2ロック信号は、 4値マッピングされたデータで通信を行うことを下段のデ ータ伝送装置 1へ通知する。第 2ロック信号は、 1周期が 8シンボル力 なっており、各 シンボルで信号レベル「 + 1」と「一 1」とが交互に繰り返され、 7シンボル目が信号レべ ル「 + 7」、 8シンボル目が信号レベル「一 7」となった信号である。 Second lock signal generation unit 672 outputs data for generating a second lock signal as shown in FIG. 6 to selector 675. 6 shows the data output from the data transmission apparatus 1. 2 is a graph showing a transmission waveform of a lock signal. Similar to the first lock signal, the second lock signal is also a signal used when each data transmission apparatus 1 obtains clock synchronization, and information in which the data transmission system is notified to each data transmission apparatus 1 is embedded. It is For example, the second lock signal notifies the lower data transmission apparatus 1 that communication is to be performed using 4-value mapped data. The second lock signal has eight symbol powers in one cycle, and the signal level “+1” and “one 1” are alternately repeated in each symbol, and the seventh symbol is signal level “+7”, The eighth symbol is a signal whose signal level is “one seven”.
[0087] トレーニングヘッダ信号発生部 673は、図 4に示されるようなトレーニングヘッダ信 号を生成するためのデータをセレクタ 675へ出力する。トレーニングヘッダ信号は、口 ック信号とトレーニング信号との間に配置され、双方を区別するために設けられた信 号である。トレーニングヘッダ信号は、 12シンボルからなっており、 1シンボル目一 9 シンボル目で信号レベル「一 7」と「 + 7」とが交互に繰り返され、 10シンボル目一 12シ ンボル目が信号レベル「 + 7Jで一定となった信号である。 The training header signal generator 673 outputs data for generating a training header signal as shown in FIG. 4 to the selector 675. The training header signal is disposed between the mouth signal and the training signal, and is a signal provided to distinguish between the two. The training header signal consists of 12 symbols, and in the 1st symbol to the 9th symbol, the signal levels “1” and “7” are alternately repeated, and the 10th symbol to the 12th symbol is the signal level “ It is a signal that has become constant at + 7J.
[0088] トレーニング信号発生部 674は、図 7に示されるようなトレーニング信号を生成する ためのデータをセレクタ 675へ出力する。なお、図 7は、データ伝送装置 1から出力さ れるトレーニング信号の伝送波形を示したグラフである。トレーニング信号は、後段の データ伝送装置 1に 4値マッピング用の判定レベルを設定させるあるいは 8値マツピ ング用の判定レベルを設定させるための信号である。トレーニング信号発生部 674は 、 自装置がマスタである場合には、 MPU3からの指示に従って、 4値マッピング用あ るいは 8値マッピング用のトレーニング信号を作成し、自装置がスレーブである場合 には、判定部 72の指示に従って、 4値マッピング用あるいは 8値マッピング用のトレー ユング信号を作成する。なお、図 7は、 8値マッピング用のトレーニング信号を示して いる。例えば、卜レーニング信号は、 M系列(xl7+x3 + l :初期値は 1100000000 0000000)を S/P変換して 8値マッピングして生成される。そして、トレーニング信号 は、 65536シンボル(216シンボル)分送出され、送出されるトレーニング信号は固定 長となる。 The training signal generator 674 outputs data for generating a training signal as shown in FIG. 7 to the selector 675. FIG. 7 is a graph showing the transmission waveform of the training signal output from the data transmission device 1. The training signal is a signal for setting the determination level for four-value mapping or setting the determination level for eight-value mapping in the data transmission apparatus 1 in the subsequent stage. The training signal generation unit 674 creates a training signal for 4-value mapping or 8-value mapping according to the instruction from the MPU 3 when the own device is a master, and when the own device is a slave. According to the instruction of the determination unit 72, a tracing signal for 4-value mapping or 8-value mapping is created. Fig. 7 shows a training signal for 8-value mapping. For example, a training signal is generated by S / P conversion of an M series (xl7 + x3 + 1: initial value: 1100000000 0000000) and mapping to eight values. The training signal is transmitted for 65,536 symbols (216 symbols), and the training signal to be transmitted has a fixed length.
[0089] セレクタ 675は、切替指示部 676からの指示に従って、第 1ロック信号、第 2ロック信 号、トレーニングヘッダ信号、およびトレーニング信号の何れかを選択してマッピング 部 63に出力する。テスト信号 TSを出力する際の選択順序は、第 2ロック信号、トレー ユングヘッダ信号、およびトレーニング信号の順となる力 これらは途切れることなく 上位および下位シンボルを交互にマッピングする法則を崩さずにマッピング部 63に 出力される。切替指示部 676は、判定部 72または MPU3からの指示に応じて、セレ クタ 675が選択する信号の種類を決定する。 The selector 675 selects and maps one of the first lock signal, the second lock signal, the training header signal, and the training signal according to the instruction from the switching instruction unit 676. Output to section 63. The selection order for outputting the test signal TS is the order of the second lock signal, the trailing header signal, and the training signal in order. These are uninterrupted mapping without breaking the law of alternately mapping the upper and lower symbols. Output to section 63. In response to an instruction from determination unit 72 or MPU 3, switching instruction unit 676 determines the type of signal selected by selector 675.
[0090] 図 8—図 10を参照して、第 2ロック信号とトレーニングヘッダ信号とが途切れることな く出力される伝送波形パターンについて説明する。トレーニングヘッダ信号は、ロック 信号を用いてクロック同期が確立した後に送出される。具体的には、 自装置がマスタ のとき、自ノードのクロック同期が確立された後に、後段のデータ伝送装置へロック信 号からトレーニングヘッダ信号に切替えて出力する。また、自装置がスレーブのとき、 前段のデータ伝送装置力 トレーニングヘッダ信号を受信検出したことに応じて、後 段のデータ伝送装置へロック信号からトレーニングヘッダ信号に切替えて出力する( それぞれの詳細な動作については、後述する)。つまり、ロック信号は固定長ではなく 、特に第 2ロック信号の場合、トレーニングヘッダ信号とのつなぎの部位に複数パター ンが生じる。なお、トレーニングヘッダ信号とトレーニング信号とのつなぎの部位は、 双方とも固定長であるため固定パターンとなる。 [0090] A transmission waveform pattern in which the second lock signal and the training header signal are output without interruption will be described with reference to FIG. 8 to FIG. The training header signal is sent out after clock synchronization has been established using the lock signal. Specifically, when the own device is the master, after the clock synchronization of the own node is established, the lock signal is switched to the training header signal and output to the subsequent data transmission device. Also, when the own device is a slave, the lock signal is switched to the training header signal and output to the subsequent data transmission device in response to the reception detection of the data transmission device power training header signal of the former stage (each detailed The operation will be described later). That is, the lock signal does not have a fixed length, and in the case of the second lock signal in particular, a plurality of patterns occur in the portion connected to the training header signal. The connection portion between the training header signal and the training signal has a fixed pattern since both have a fixed length.
[0091] 例えば、第 2ロック信号の最終シンボルまでの信号レベルが「 + 1」→「一 1」→「 + 7」 の場合、トレーニングヘッダ信号の開始シンボルの信号レベル「一 7」までの差分値が 「2」→「8」→「14」と変化する(図 8の状態)。また、第 2ロック信号の最終シンボルまで の信号レベルが「 + 7」→「一 7」→「 + 1」の場合、トレーニングヘッダ信号の開始シン ボルの信号レベル「一 7」までの差分値が「14」→「8」→「8」と変化する(図 9の状態)。 さらに、第 2ロック信号の最終シンボルまでの信号レベルが「 + 1」→「ー1」→「 + 1」の 場合、トレーニングヘッダ信号の開始シンボルの信号レベル「一 7」までの差分値が「2 」→「2」→「8」と変化する(図 10の状態)。 For example, when the signal level to the final symbol of the second lock signal is “+1” → “one 1” → “+7”, the difference to the signal level “one seven” of the start symbol of the training header signal The value changes from “2” → “8” → “14” (state in Figure 8). Also, when the signal level up to the final symbol of the second lock signal is “+7” → “one seven” → “+1”, the difference value up to the signal level “one seven” of the start symbol of the training header signal is It changes from “14” → “8” → “8” (state in Figure 9). Furthermore, when the signal level up to the final symbol of the second lock signal is “+1” → “−1” → “+1”, the difference value up to the signal level “one 7” of the start symbol of the training header signal is “ It changes from 2 ”→“ 2 ”→“ 8 ”(state in Figure 10).
[0092] 次に、図 11一図 13を参照して、パターン識別部 71の構造について説明する。なお 、図 11はパターン識別部 71の構成を示すブロック図であり、図 12は差分算出部 54 力も出力されてくる差分値 ddおよび第 1ROM714と第 2ROM717とに格納されてい るデータを示した図であり、図 13はシフトレジスタ 712の動作を説明するための図で ある。 Next, with reference to FIGS. 11 and 13, the structure of the pattern identification unit 71 will be described. 11 is a block diagram showing the configuration of the pattern identification unit 71, and FIG. 12 is a diagram showing the difference value dd from which the difference calculation unit 54 is also output and the data stored in the first ROM 714 and the second ROM 717. FIG. 13 is a diagram for explaining the operation of the shift register 712. is there.
[0093] 図 11において、パターン識別部 71は、大小判定部 711、シフトレジスタ 712、第 1 比較器 713、第 lROM714、第 1カウンタ 715、第 2比較器 716、第 2ROM717、お よび第 2カウンタ 718を含んでいる。 In FIG. 11, pattern identification unit 71 includes magnitude determination unit 711, shift register 712, first comparator 713, first ROM 714, first counter 715, second comparator 716, second ROM 717, and second counter. Includes 718.
[0094] 上述したように、差分算出部 54は、クロック再生部 50が再生したクロックに基づいて 、 ADC52から出力されるデジタル信号のシンボルの値を読み出し、読み出したシン ボルの値と直前に読み出したシンボルの値との差分値 ddを算出し、当該差分値 ddを 大小判定部 711に出力する。より具体的には、図 5に示される第 1ロック信号は、各シ ンボル毎に信号レベル「 + 1」と「一 1」とが交互が繰り返されて 、るので、差分算出部 5 4は、図 12 (a)に示される差分値 ddを出力する。一方、図 6に示される第 2ロック信号 は、信号レベル「 + 1」、 「一 1」、 「 + 1」、 「一 1」、 「 + 7」、 「一 7」、 「 + 1」、 「一 1」と変化し ているので、差分算出部 54は、図 12 (b)に示される差分値 ddを出力する。 As described above, the difference calculation unit 54 reads the value of the symbol of the digital signal output from the ADC 52 based on the clock regenerated by the clock regeneration unit 50, and reads it immediately before the value of the symbol read. The difference value dd with the value of the symbol is calculated, and the difference value dd is output to the magnitude determination unit 711. More specifically, since the first lock signal shown in FIG. 5 is such that the signal levels “+1” and “one 1” are alternately repeated for each symbol, the difference calculation unit 54 , The difference value dd shown in FIG. 12 (a) is output. On the other hand, the second lock signal shown in FIG. 6 has signal levels “+1”, “one 1”, “+1”, “one one”, “one seven”, “one seven”, “one seven”, “+1”, Since there is a change to "one," the difference calculation unit 54 outputs the difference value dd shown in FIG. 12 (b).
[0095] 大小判定部 711は、差分算出部 54から出力される差分値 ddの絶対値が所定の閾 値よりも大きいか否かを判定する。より具体的には、例えば、上記閾値が 5であったと して、図 12 (a)に示される差分値 ddが入力されてきた場合、大小判定部 711は、入 力されてきた差分値 ddの絶対値が「閾値より小さ 、こと」を示すデータ「S」をシフトレ ジスタ 712に出力する。一方、図 12 (b)に示される差分値 ddが入力されてきた場合、 大小判定部 711は、差分値 ddが「 + 2」および「一 2」の部分にっ 、ては「閾値より小さ V、こと」を示すデータ「S」をシフトレジスタ 712に出力し、差分値 ddが「 + 8」および「一 14」の部分にっ 、ては「閾値より大き 、こと」を示すデータ「L」をシフトレジスタ 712に 出力する。なお、典型的には、大小判定部 711は、データ「S」の場合にはデータ「0」 を出力し、データ「L」の場合にはデータ「1」を出力する。 The magnitude determination unit 711 determines whether the absolute value of the difference value dd output from the difference calculation unit 54 is larger than a predetermined threshold value. More specifically, for example, when the threshold value is 5 and the difference value dd shown in FIG. 12 (a) is input, the magnitude judgment unit 711 outputs the input difference value dd. Data “S” indicating that the absolute value of “is smaller than the threshold value” is output to shift register 712. On the other hand, when the difference value dd shown in FIG. 12 (b) has been input, the magnitude determination unit 711 determines that the difference value dd is smaller than the threshold value at “+2” and “one”. The data “S” indicating “V,” is output to the shift register 712, and the data “L” indicating “greater than the threshold value” is output to the part where the difference value dd is “+8” and “1-14”. Is output to the shift register 712. Note that, typically, the magnitude judgment unit 711 outputs data “0” in the case of data “S” and outputs data “1” in the case of data “L”.
[0096] シフトレジスタ 712は、所定のビット数のデータを蓄積しており、大小判定部 711か ら 1ビット新たにデータが入力される毎に古い方から 1ビット分だけデータを消去 (FIF O方式)して内部のデータを更新する。より具体的には、図 13に示されるように、本実 施形態では、シフトレジスタ 712が 8ビットのデータを記憶することができる。そして、 図 13 (a)—図 13 (c)に示すように、シフトレジスタ 712は、新たにデータ「S」を示すビ ットが入力してくると、最も古いデータであるデータ「S」を示すビットを破棄して、他の ビットを格納した領域が順次繰り上げられる。 The shift register 712 stores data of a predetermined number of bits, and erases data by one bit from the old one each time data is newly input from the size determination unit 711 (FIF O Method) to update internal data. More specifically, as shown in FIG. 13, in this embodiment, shift register 712 can store 8-bit data. Then, as shown in FIG. 13 (a) -FIG. 13 (c), when a bit indicating data "S" is newly input to shift register 712, data "S" is the oldest data. Discard the bit that indicates the other The area storing the bits is sequentially advanced.
[0097] 図 12 (c)は、第 1ROM714に格納されるデータを示している。第 1ROM714には、 データ伝送装置 1が受信したロック信号が第 1ロック信号であることを検出するための データが格納される。図 12 (c)に示すように、第 1ROM714には、 8ビット分のデータ 「S」が直列に格納されている。 FIG. 12 (c) shows data stored in the first ROM 714. The first ROM 714 stores data for detecting that the lock signal received by the data transmission device 1 is the first lock signal. As shown in FIG. 12C, eight bits of data “S” are stored in series in the first ROM 714.
[0098] 第 1比較器 713は、シフトレジスタ 712に 1ビットのデータが入力される毎に、シフト レジスタ 712に記憶されているデータと第 1ROM714に記憶されているデータとがー 致するか否かを判定する。そして、両者のデータが一致する場合、第 1比較器 713は 、第 1カウンタ 715に対して、一致したことを示すデータ「1」を出力する。一方、両者 のデータが一致しない場合、第 1比較器 713は、第 1カウンタ 715に対して、一致しな 力つたことを示すデータ「0」を出力する。 The first comparator 713 determines whether the data stored in the shift register 712 matches the data stored in the first ROM 714 each time 1-bit data is input to the shift register 712. Determine if When the two data match, the first comparator 713 outputs data “1” indicating that the two match to the first counter 715. On the other hand, when the two data do not match, the first comparator 713 outputs, to the first counter 715, data “0” indicating that the two do not match.
[0099] 第 1カウンタ 715は、第 1比較器 713が出力したデータ「1」の個数をカウントし、カウ ント数が所定数 (例えば 16)に達したら、その旨を判定部 72に出力する。 The first counter 715 counts the number of data “1” output from the first comparator 713, and when the number of counts reaches a predetermined number (for example, 16), outputs that effect to the determination unit 72. .
[0100] 図 12 (d)は、第 2ROM717に格納されるデータを示している。第 2ROM717には 、データ伝送装置 1が受信したロック信号が第 2ロック信号であることを検出するため のデータが格納される。図 12 (d)に示すように、第 2ROM717には 8ビット分のデー タが格納され、 5番目および 7番目にデータ「X」 1S 6番目にデータ「L」 1S 他にデー タ「S]がそれぞれ直列に格納されている。なお、データ「X」は、一致判定をするシフ トレジスタ 712のデータが「S」でも「L」でもかまわないことを示している。これは、図 12 (b)に示すように、差分値「一 14」を示す前後の差分値の絶対値が「8」であり、上記閾 値の設定に応じてデータ「L」または「S」に流動的に変化し得る値である。このような 差分値の絶対値「8」がデータ「L」および「S」の一方に必ず判定されるように閾値を 設定した場合、当該閾値に対する他の差分値の絶対値「2」または「14」のマージン が少なくなつてしまう。したがって、差分値「 + 8」を大小判定に用いるのは妥当でなく 、判定から除外するためにデータ「X」を第 2ROM717に格納する。 FIG. 12 (d) shows data stored in the second ROM 717. The second ROM 717 stores data for detecting that the lock signal received by the data transmission device 1 is the second lock signal. As shown in Fig. 12 (d), 8-bit data is stored in the second ROM 717, the fifth and seventh data "X" 1S sixth data "L" 1S other data "S" Are stored in series, and the data "X" indicates that the data of the shift register 712 for judging coincidence may be either "S" or "L". This is because, as shown in FIG. 12 (b), the absolute value of the difference value before and after the difference value “1 14” is “8”, and the data “L” or “S” is set according to the setting of the threshold value. It is a value that can be changed fluidly. When a threshold is set such that the absolute value "8" of such difference value is always determined to one of the data "L" and "S", the absolute value "2" or " The margin of “14” will be reduced. Therefore, it is not appropriate to use the difference value “+8” for the size determination, and data “X” is stored in the second ROM 717 in order to exclude it from the determination.
[0101] 第 2比較器 716は、シフトレジスタ 712に 1ビットのデータが入力される毎に、シフト レジスタ 712に記憶されているデータと第 2ROM717に記憶されているデータとがー 致するか否かを判定する。そして、両者のデータが一致する場合、第 2比較器 716は 、第 2カウンタ 718に対して、一致したことを示すデータ「1」を出力する。一方、両者 のデータが一致しない場合、第 2比較器 716は、第 2カウンタ 718に対して、一致しな 力つたことを示すデータ「0」を出力する。 The second comparator 716 determines whether the data stored in the shift register 712 matches the data stored in the second ROM 717 every time 1-bit data is input to the shift register 712. Determine if Then, if the two data match, the second comparator 716 , And outputs to the second counter 718 data "1" indicating that there is a match. On the other hand, if the two data do not match, the second comparator 716 outputs, to the second counter 718, data “0” indicating that the two do not match.
[0102] 第 2カウンタ 718は、第 2比較器 716が出力したデータ「1」の個数をカウントし、カウ ント数が所定数 (例えば 16)に達したら、その旨を判定部 72に出力する。 Second counter 718 counts the number of data “1” output from second comparator 716, and when the number of counts reaches a predetermined number (for example, 16), outputs that effect to determination unit 72. .
[0103] そして、判定部 72は、第 1カウンタ 715および第 2カウンタ 718のいずれ力から出力 されてきた出力結果に基づ ヽて、前段のデータ伝送装置から送信されてきたロック信 号が第 1ロック信号か第 2ロック信号かを判定する。すなわち、判定部 72は、ロック信 号に埋め込まれた情報に基づ 、て、通信を行うデータ伝送方式 (8値 Z4値マツピン グ)等を判定する。 Then, based on the output result output from any one of the first counter 715 and the second counter 718, the determination unit 72 determines that the lock signal transmitted from the data transmission device in the previous stage is the first one. 1 Determine whether it is the lock signal or the second lock signal. That is, based on the information embedded in the lock signal, the determination unit 72 determines a data transmission method (eight-value Z4-value mapping) or the like to perform communication.
[0104] ここで、シフトレジスタ 712へ図 12 (a)あるいは図 12 (b)に示した差分値 ddがそのま ま入力されな 、理由につ 、て説明する。本実施形態に係るデータ伝送システムでは 、トレーニング信号が各データ伝送装置 1に送信される前に、シフトレジスタ 712へデ ータが入力される。つまり、各データ伝送装置 1では、トレーニング処理が行われてお らず、データの判定レベルの設定も行われていない。その結果、各データ伝送装置 1 は、データの信号レベルの細かな判定を行うことができない。そこで、本実施形態に 係るデータ伝送装置 1は、信号レベル毎の差分値の絶対値が閾値よりも大きいか小 さいかという大ま力な判定により、第 1ロック信号と第 2ロック信号とを識別している。 Here, the reason why the difference value dd shown in FIG. 12 (a) or FIG. 12 (b) is not input as it is to the shift register 712 will be described. In the data transmission system according to the present embodiment, data is input to the shift register 712 before the training signal is transmitted to each data transmission device 1. That is, in each data transmission apparatus 1, the training process is not performed, and the setting of the determination level of the data is not performed. As a result, each data transmission apparatus 1 can not make a detailed judgment of the signal level of data. Therefore, the data transmission apparatus 1 according to the present embodiment discriminates the first lock signal and the second lock signal by a powerful judgment that the absolute value of the difference value for each signal level is larger or smaller than the threshold. doing.
[0105] 次に、図 14一図 16を参照して、トレーニング信号検出部 58の構造について説明 する。なお、図 14はトレーニング信号検出部 58の構成を示すブロック図であり、図 15 は差分算出部 54から出力されてくるデータおよび ROM584に格納されているデー タを示した図であり、図 16はシフトレジスタ 582の動作を説明するための図である。 Next, with reference to FIGS. 14 and 16, the structure of the training signal detection unit 58 will be described. FIG. 14 is a block diagram showing the configuration of the training signal detection unit 58, and FIG. 15 is a diagram showing the data output from the difference calculation unit 54 and the data stored in the ROM 584. These are diagrams for explaining the operation of the shift register 582.
[0106] 図 14において、トレーニング信号検出部 58は、大小判定部 581、シフトレジスタ 58 2、比較器 583、 ROM584、およびカウンタ 585を含んでいる。 In FIG. 14, the training signal detection unit 58 includes a magnitude determination unit 581, a shift register 582, a comparator 583, a ROM 584, and a counter 585.
[0107] 上述したように、差分算出部 54は、クロック再生部 50が再生したクロックに基づいて 、 ADC52から出力されるデジタル信号のシンボルの値を読み出し、読み出したシン ボルの値と直前に読み出したシンボルの値との差分値 ddを算出し、当該差分値 ddを 大小判定部 581に出力する。より具体的には、図 5に示される第 1ロック信号は、各シ ンボル毎に信号レベル「 + 1」と「一 1」とが交互が繰り返されて 、るので、差分算出部 5 4は、図 15 (a)に示されるデータを出力する。一方、図 4に示されるトレーニングへッ ダ信号は、信号レベル「 + 7」、 「一 7」、「 + 7」、 「一 7」、「 + 7」、「 + 7」と変化しているの で、差分算出部 54は、図 15 (a)に示されるデータを出力する。 As described above, the difference calculation unit 54 reads the value of the symbol of the digital signal output from the ADC 52 based on the clock regenerated by the clock regeneration unit 50, and reads it immediately before the value of the symbol read. A difference value dd with the value of the symbol is calculated, and the difference value dd is output to the magnitude judgment unit 581. More specifically, the first lock signal shown in FIG. Since the signal levels “+1” and “one 1” are alternately repeated for each symbol, the difference calculator 54 outputs the data shown in FIG. 15 (a). On the other hand, the training header signal shown in FIG. 4 changes to signal levels “+7”, “one seven”, “+7”, “one seven”, “+7”, “+7”. Therefore, the difference calculation unit 54 outputs the data shown in FIG. 15 (a).
[0108] 大小判定部 581は、大小判定部 711と同様に、差分算出部 54から出力される差分 値 ddの絶対値が所定の閾値よりも大きいか否かを判定する。より具体的には、例え ば、上記閾値が 5であったとして、図 15 (a)に示されるデータが入力されてきた場合、 大小判定部 581は、差分値 ddが「一 14」および「 + 14」の部分については「閾値より 大き 、こと」を示すデータ「L」をシフトレジスタ 582に出力し、差分値 ddの絶対値が「 0」の部分にっ ヽては「閾値より小さ!/、こと」を示すデータ「L」をシフトレジスタ 582に 出力する。なお、典型的には、大小判定部 581は、データ「S」の場合にはデータ「0」 を出力し、データ「L」の場合にはデータ「1」を出力する。 The magnitude determination unit 581, similarly to the magnitude determination unit 711, determines whether the absolute value of the difference value dd output from the difference calculation unit 54 is larger than a predetermined threshold. More specifically, for example, if the data shown in FIG. 15 (a) is input, assuming that the above threshold is 5, the magnitude judgment unit 581 determines that the difference value dd is “one 14” and “one”. For the part of “+14”, data “L” indicating “more than threshold” is output to shift register 582, and when the absolute value of difference value dd is “0”, “less than threshold”! Data “L” indicating “/,” is output to shift register 582. Note that, typically, the magnitude judgment unit 581 outputs data “0” in the case of data “S”, and outputs data “1” in the case of data “L”.
[0109] シフトレジスタ 582は、シフトレジスタ 712と同様に、所定のビット数のデータを蓄積 しており、大小判定部 581から 1ビット新たにデータが入力される毎に古い方から 1ビ ット分だけデータを消去 (FIFO方式)して内部のデータを更新する。より具体的には 、図 16に示されるように、本実施形態では、シフトレジスタ 582が 5ビットのデータを記 憶することができる。そして、図 16 (a)—図 16 (c)に示すように、シフトレジスタ 582は 、新たにデータ「L」や「S」を示すビットが入力してくると、最も古いデータであるデー タ「L」を示すビットを破棄して、他のビットを格納した領域が順次繰り上げられる。 Similar to shift register 712, shift register 582 stores data of a predetermined number of bits, and 1 bit from the old one each time data is newly input from size determination unit 581. Erases data by the amount (FIFO method) and updates internal data. More specifically, as shown in FIG. 16, in this embodiment, the shift register 582 can store 5-bit data. Then, as shown in FIG. 16 (a) -FIG. 16 (c), when a bit indicating data "L" or "S" is newly input to shift register 582, data which is the oldest data is input. The bits indicating "L" are discarded, and the area storing the other bits is sequentially advanced.
[0110] 図 15 (b)は、 ROM584に格納されるデータを示している。 ROM584には、データ 伝送装置 1が受信した信号がトレーニングヘッダ信号であることを検出するためのデ ータが格納される。図 15 (b)に示すように、 ROM584には、 5ビット分のデータが格 納され、 5番目にデータ「S」が、他にデータ「L]がそれぞれ直列に格納されている。 FIG. 15 (b) shows data stored in the ROM 584. The ROM 584 stores data for detecting that the signal received by the data transmission device 1 is a training header signal. As shown in FIG. 15 (b), 5-bit data is stored in the ROM 584. Fifth, data "S" and data "L" are stored in series.
[0111] 比較器 583は、シフトレジスタ 582に 1ビットのデータが入力される毎に、シフトレジ スタ 582に記憶されているデータと ROM584に記憶されているデータとがー致する か否かを判定する。そして、両者のデータが一致する場合、比較器 583は、カウンタ 585、教師信号生成部 59、および MPU3に対して、一致したことを示すデータ「1」を 出力する。一方、両者のデータが一致しない場合、比較器 583は、カウンタ 585およ び教師信号生成部 59に対して、一致しな力つたことを示すデータ「0」を出力する。 The comparator 583 determines whether or not the data stored in the shift register 582 matches the data stored in the ROM 584 each time 1-bit data is input to the shift register 582. Do. Then, when the two data match, the comparator 583 outputs data “1” indicating that the data match to the counter 585, the teacher signal generation unit 59, and the MPU 3. On the other hand, if the two data do not match, the comparator 583 sets the counter 585 and And outputs to the teacher signal generation unit 59 data “0” indicating that the force has not matched.
[0112] カウンタ 585は、比較器 583が出力したデータ「1」の入力に応じて、カウントを開始 する。そして、カウンタ 585は、固定長であるトレーニング信号の受信終了をカウント によって検出し、トレーニング信号の受信が終了したとき、その旨を判定レベル設定 部 57へ出力する。例えば、カウンタ 585は、トレーニング信号が有する 65536シンポ ルをカウントすることによって、当該トレーニング信号の終了を検出する。 The counter 585 starts counting in response to the input of the data “1” output from the comparator 583. Then, the counter 585 detects the end of reception of the training signal having a fixed length by counting, and when reception of the training signal is ended, outputs that effect to the determination level setting unit 57. For example, the counter 585 detects the end of the training signal by counting 65536 symbols that the training signal has.
[0113] ここで、シフトレジスタ 582へ図 15 (a)に示した差分値 ddがそのまま入力されない理 由について説明する。本実施形態に係るデータ伝送システムでは、トレーニング信号 が各データ伝送装置 1に送信される前に、シフトレジスタ 582へデータが入力される。 つまり、各データ伝送装置 1では、トレーニング処理が行われておらず、データの判 定レベルの設定も行われていない。その結果、各データ伝送装置 1は、データの信 号レベルの細かな判定を行うことができない。そこで、本実施形態に係るデータ伝送 装置 1は、信号レベル毎の差分値の絶対値が閾値よりも大き!、か小さ!/、かと 、ぅ大ま かな判定により、トレーニングヘッダ信号を識別している。つまり、受信するトレーニン グヘッダ信号に対する差分値が「0」力 変動しても、閾値に対してマージンを持って いるため確実にトレーニングヘッダ信号を検出することができる。 Here, the reason why the difference value dd shown in FIG. 15 (a) is not inputted as it is to the shift register 582 will be described. In the data transmission system according to the present embodiment, data is input to the shift register 582 before the training signal is transmitted to each data transmission device 1. That is, in each data transmission apparatus 1, the training process is not performed and the setting of the determination level of the data is not performed. As a result, each data transmission apparatus 1 can not make detailed determination of the data signal level. Therefore, the data transmission apparatus 1 according to the present embodiment identifies the training header signal by the determination of the absolute value of the difference value for each signal level being greater than or less than the threshold! There is. That is, even if the difference value with respect to the received training header signal fluctuates by “0” force, the training header signal can be detected with certainty because it has a margin for the threshold.
[0114] また、上述したシフトレジスタ 582は、 5ビットのデータを記憶することができる説明を したが、その理由を説明する。トレーニングヘッダ信号を確実に検出するためには、 第 2ロック信号と区別しなければならない。図 12 (b)に示すように、第 2ロック信号では 、差分値「一 14」を示す前後の差分値が「 + 8」であり、差分値の絶対値「8」は、上記 閾値の設定に応じてデータ「L」または「S」に流動的に変化し得る値である。つまり、 この第 2ロック信号を大小判定部 581で大小判定した場合、データ「L」が 3回連続し た後にデータ「S」がシフトレジスタ 582へ入力される可能性がある。したがって、トレ 一-ングヘッダ信号と第 2ロック信号とを確実に区別するためには、データ「L」が少な くとも 4回連続した後にデータ「S」がシフトレジスタ 582へ入力されたパターンを検出 すればよい。したがって、シフトレジスタ 582は、少なくとも 5ビットのデータを記憶する ことができればよぐ 6ビット以上のデータを判定しても力まわない。 In addition, although the shift register 582 described above can store 5-bit data, the reason will be described. In order to reliably detect the training header signal, it must be distinguished from the second lock signal. As shown in FIG. 12 (b), in the second lock signal, the difference value before and after the difference value "14" is "+ 8", and the absolute value "8" of the difference value is the setting of the above threshold. Is a value that can be fluidly changed to data "L" or "S". That is, when the second lock signal is determined by the magnitude determination unit 581, the data “S” may be input to the shift register 582 after the data “L” continues three times. Therefore, in order to reliably distinguish between the training header signal and the second lock signal, the pattern in which data "S" is input to shift register 582 after data "L" has continued at least four times is detected. do it. Therefore, shift register 582 does not use the determination of data of 6 bits or more, which is sufficient if it can store at least 5 bits of data.
[0115] また、トレーニングヘッダ信号の検出は、上述したような方式でなくてもかまわない。 例えば、差分算出部 54から出力される差分値 ddが所定の閾値以上の絶対値を規定 回数 (例えば 4回)以上連続したときフラグを ONする構成要素と、当該フラグが ONの とき当該閾値未満の差分値 ddの絶対値を検出してトレーニングヘッダ信号を検出す る構成要素とを備えて 、れば、同様の効果を得ることができる。 Further, the detection of the training header signal does not have to be the method as described above. For example, the component that turns on the flag when the difference value dd output from the difference calculation unit 54 continues an absolute value equal to or greater than a predetermined threshold a specified number of times (for example, four times); The same effect can be obtained by providing a component that detects the absolute value of the difference value dd and detects the training header signal.
[0116] そして、教師信号生成部 59は、比較器 583からデータ「1」を受信することに応じて 、トレーニング信号と同期した教師信号 MSを判定レベル設定部 57に出力する。判 定レベル設定部 57には、差分算出部 54でトレーニング信号に対して演算された差 分値 ddが入力され、判定レベル設定部 57は、入力された差分値 ddおよび教師信号 MSを用いて上記判定レベルの設定を開始する。そして、判定レベル設定部 57は、 カウンタ 585からトレーニング信号の受信が終了した旨の出力がされたとき、上記判 定レベルの設定を終了する。 Then, in response to receiving data “1” from the comparator 583, the teacher signal generation unit 59 outputs a teacher signal MS synchronized with the training signal to the determination level setting unit 57. The determination level setting unit 57 receives the difference value dd calculated for the training signal by the difference calculation unit 54, and the determination level setting unit 57 uses the input difference value dd and the teacher signal MS. The setting of the determination level is started. Then, when the determination level setting unit 57 outputs from the counter 585 that the reception of the training signal is completed, the setting of the determination level ends.
[0117] 次に、図 17および図 18を参照して、データ伝送システムがデータ通信を開始する までの初期化動作について説明する。なお、図 17および図 18は、データ伝送システ ムにおいてマスタおよびスレーブに設定されたデータ伝送装置 1がそれぞれ行う初 期化動作を示すフローチャートである。なお、図 1で示すように、データ伝送装置 la がマスタであり、他のデータ伝送装置 lb— Inがスレーブであり、それぞれの構成要 素のみを示す場合は、それぞれの参照符号に a— nを付与して区別する。また、それ ぞれの構成要素を総称する場合は、参照符号に a— nを付与せずに記載するものと する。 Next, with reference to FIGS. 17 and 18, the initialization operation until the data transmission system starts data communication will be described. FIGS. 17 and 18 are flowcharts showing initialization operations performed by the data transmission apparatus 1 set as the master and the slave in the data transmission system. In addition, as shown in FIG. 1, when the data transmission device la is a master and the other data transmission device lb-In is a slave and only the respective constituent elements are shown, reference symbols a- n are used for the respective reference numerals. To distinguish. In addition, when each component is referred to generically, it shall be described without a-n attached to the reference code.
[0118] 図 17において、データ伝送システムに接続された全てのデータ伝送装置 la— In の電源が ONされることによって、データ伝送システムのパワーが ONされる(ステップ S11および S51)。なお、上記ステップ S11および S51の処理については、システム 全体の電源 ONの他に、データ伝送システムのリセット状態が解除された処理等でも かまわない。 In FIG. 17, the power of the data transmission system is turned on by turning on the power of all the data transmission devices la-In connected to the data transmission system (steps S11 and S51). The processes in steps S11 and S51 may be processes in which the reset state of the data transmission system is released or the like in addition to the power on of the entire system.
[0119] 次に、マスタのデータ伝送装置 laの MPU3aは、データ伝送システムでデータ通 信するデータ伝送方式を決定する (ステップ S 12)。ここでは、説明を具体的にするた めに、 MPU3aが 4値マッピングおよび 8値マッピングの!/、ずれか一方をデータ伝送 方式として決定することとする。次に、マスタのデータ伝送装置 laは、自装置の MPU 3aにお!/、て、ステップ SI 2で決定されたデータ伝送方式力 値マッピングであるか否 かを判断する(ステップ S 13)。そして、 MPU3aは、 8値マッピングである場合、処理 を次のステップ S 14に進め、 4値マッピングである場合、処理を次のステップ S 15に進 める。 Next, the MPU 3a of the master data transmission device la determines a data transmission method for data communication in the data transmission system (step S12). Here, in order to make the description concrete, it is assumed that the MPU 3a determines one of the four-value mapping and the eight-value mapping! / As the data transmission method. Next, the master data transmission device la is the MPU of its own device. In step 3a, it is determined whether or not the data transmission scheme value value mapping determined in step SI 2 is satisfied (step S13). Then, the MPU 3a proceeds the process to the next step S14 if it is an eight-value mapping, and advances the process to the next step S15 if it is a four-value mapping.
[0120] ステップ S14において、マスタのデータ伝送装置 laは、 8値マッピングされたデータ による通信を開始する旨の情報が埋め込まれた第 1ロック信号を選択し、処理を次の ステップ S16へ進める。以下、ステップ S14において、データ伝送装置 la内で行わ れる動作について詳述する。 [0120] In step S14, the master data transmission device la selects the first lock signal in which the information to start the communication based on the 8-value mapped data is selected, and the process proceeds to the next step S16. Hereinafter, the operation performed in the data transmission device la in step S14 will be described in detail.
[0121] 8値マッピングされたデータによる通信を開始する場合、 MPU3aは、その旨をテス ト信号発生部 67aの切替指示部 676aに通知する。この通知に応じて、切替指示部 6 76aは、第 1ロック信号発生部 671aから出力される第 1ロック信号を出力するようにセ レクタ 675aを制御する。これにより、テスト信号発生部 67aは、第 1ロック信号を選択 する。 When communication based on eight-value mapped data is started, the MPU 3a notifies the switching instruction unit 676a of the test signal generating unit 67a to that effect. In response to this notification, the switching instruction unit 676a controls the selector 675a to output the first lock signal output from the first lock signal generation unit 671a. Thereby, the test signal generation unit 67a selects the first lock signal.
[0122] 一方、ステップ S15において、マスタのデータ伝送装置 laは、 4値マッピングされた データによる通信を開始する旨の情報が埋め込まれた第 2ロック信号を選択し、処理 を次のステップ S16へ進める。以下、ステップ S15において、データ伝送装置 la内で 行われる動作にっ 、て詳述する。 On the other hand, in step S15, the master data transmission device la selects the second lock signal in which the information to start communication by the 4-value mapped data is selected, and the process proceeds to the next step S16. Advance. The operation performed in the data transmission device la in step S15 will be described in detail below.
[0123] 4値マッピングされたデータによる通信を開始する場合、 MPU3aは、その旨をテス ト信号発生部 67aの切替指示部 676aに通知する。この通知に応じて、切替指示部 6 76aは、第 2ロック信号発生部 672aから出力される第 2ロック信号を出力するようにセ レクタ 675aを制御する。これにより、テスト信号発生部 67aは、第 2ロック信号を選択 する。 When communication based on the four-value mapped data is started, the MPU 3a notifies the switching instruction unit 676a of the test signal generation unit 67a to that effect. In response to this notification, the switching instructing unit 676a controls the selector 675a to output the second lock signal output from the second lock signal generating unit 672a. Thereby, the test signal generation unit 67a selects the second lock signal.
[0124] ステップ S16において、マスタのデータ伝送装置 laは、自装置の基準クロックと同 期を確立した後、同期が確立したクロックを用いて上記ステップ S 14または S15で選 択したロック信号を送信する。具体的には、セレクタ 675aから出力されたロック信号 は、マッピング部 63aでマッピング処理され、ロールオフフィルタ 64a—差動ドライバ 6 6aの間で所定の処理が施されて、後段のデータ伝送装置 lbへと送信される。 In step S16, the master data transmission device la establishes synchronization with its own reference clock, and then transmits the lock signal selected in step S14 or S15 using the clock with which synchronization has been established. Do. Specifically, the lock signal output from the selector 675a is subjected to mapping processing in the mapping unit 63a, and given processing is performed between the roll-off filter 64a and the differential driver 66a, and the data transmission device lb in the subsequent stage is processed. Sent to.
[0125] 一方、スレーブのデータ伝送装置 lbは、上記ステップ S51の処理の後、前段のデ ータ伝送装置 laから送信されるロック信号の受信を待っている (ステップ S52)。そし て、マスタのデータ伝送装置 laから送信されてきたロック信号をデータ伝送装置 lb が受信した場合、処理を次のステップ S53へ進める。 On the other hand, after the process of step S51, the slave data transmission apparatus lb is Waiting for reception of the lock signal transmitted from the data transmission device la (step S52). Then, when the data transmission device lb receives the lock signal transmitted from the master data transmission device la, the process proceeds to the next step S53.
[0126] ステップ S53において、スレーブのデータ伝送装置 lbは、受信したロック信号を用 いてクロック同期処理を行う。次に、データ伝送装置 lbは、受信したロック信号が第 1 ロック信号である力否かを判断する (ステップ S54)。そして、データ伝送装置 lbは、 第 1ロック信号である場合、処理を次のステップ S55に進め、第 1ロック信号でない場 合、処理を次のステップ S56に進める。以下、ステップ S53および S54において、ス レーブのデータ伝送装置 lb内で行われる処理について詳述する。 At step S53, the data transmission apparatus lb of the slave performs clock synchronization processing using the received lock signal. Next, the data transmission apparatus lb determines whether the received lock signal is the first lock signal (step S54). Then, if the data transmission device lb is the first lock signal, the process proceeds to the next step S55, and if it is not the first lock signal, the process proceeds to the next step S56. The processing performed in the slave data transmission apparatus lb will be described in detail below in steps S53 and S54.
[0127] 前段のデータ伝送装置 laから送信されてきたロック信号は、データ伝送装置 lbの 差動レシーバ 5 lbおよび ADC52bで所定の処理が施されて、クロック再生部 50bお よびロールオフフィルタ 53bに出力される。クロック再生部 50は、受信したロック信号 に含まれるクロック成分を再生する。このクロックを受信部 5およびクロック制御部 7で 用いる受信クロックとして確立することによって、ステップ S53のクロック同期処理が行 われる。 The lock signal transmitted from the data transmission device la in the previous stage is subjected to predetermined processing by the differential receiver 5 lb of the data transmission device lb and the ADC 52 b, and the clock recovery unit 50 b and the roll-off filter 53 b are processed. It is output. The clock recovery unit 50 recovers the clock component included in the received lock signal. By establishing this clock as a reception clock to be used by the receiver 5 and the clock controller 7, clock synchronization processing in step S53 is performed.
[0128] 一方、ロールオフフィルタ 53bは、所定の処理を施してロック信号を差分算出部 54 bへ出力する。差分算出部 54bは、クロック再生部 50bが再生したクロックに基づいて 、ロック信号の各シンボル間の差分値 ddを算出し、当該差分値 ddをパターン識別部 71bおよびトレーニング信号検出部 58bに出力する。 On the other hand, roll-off filter 53b performs a predetermined process and outputs a lock signal to difference calculation unit 54b. The difference calculating unit 54b calculates the difference value dd between the symbols of the lock signal based on the clock reproduced by the clock reproducing unit 50b, and outputs the difference value dd to the pattern identifying unit 71b and the training signal detecting unit 58b. .
[0129] パターン識別部 71bの大小判定部 71 lbは、差分算出部 54bから出力されてきた 各差分値 ddの絶対値が、上述した閾値より大きいか否かを判定し、その判定結果を シフトレジスタ 712bに出力する。具体的には、大小判定部 71 lbは、上記閾値が 5で ある場合、図 12 (a)で示した差分値 ddに対する判定結果として、データ「S」を 8回出 力する。また、大小判定部 711bは、図 12 (b)で示した差分値 ddに対する判定結果と してデータ「S」を 4回出力した後、データ「L」を 3回出力し、その後データ「S」を 1回 出力する。これらに応じて、シフトレジスタ 712bには、上記 2種類の判定結果のいず れかが 1ビットずつ出力される。 The magnitude determination unit 71 lb of the pattern identification unit 71 b determines whether the absolute value of each difference value dd output from the difference calculation unit 54 b is larger than the above-described threshold value, and shifts the determination result. Output to register 712b. Specifically, when the above threshold value is 5, the magnitude judgment unit 71 lb outputs data “S” eight times as the judgment result for the difference value dd shown in FIG. 12 (a). In addition, the size determination unit 711b outputs data "S" four times as a determination result for the difference value dd shown in FIG. 12B, and then outputs data "L" three times, and then outputs data "S". Is output once. In response to these, one of the above two types of determination results is output to the shift register 712 b one bit at a time.
[0130] 第 1比較器 713bは、第 lROM714bに格納された第 1ロック信号を示すデータと、 シフトレジスタ 712bに記憶されているデータとを、データが 1ビット入力される毎に比 較し、一致する場合、データ「1」を第 1カウンタ 715bに出力する。同様に、第 2比較 器 716bは、第 2ROM717bに格納された第 2ロック信号を示すデータと、シフトレジ スタ 712bに記憶されているデータとを、データが 1ビット入力される毎に比較し、一致 する場合、データ「1」を第 2カウンタ 718bに出力する。 The first comparator 713 b includes data indicating the first lock signal stored in the 1st ROM 714 b, and The data stored in the shift register 712 b is compared every time 1 bit of data is input, and if they match, the data “1” is output to the first counter 715 b. Similarly, the second comparator 716b compares the data indicating the second lock signal stored in the second ROM 717b with the data stored in the shift register 712b every time one bit of data is input, If so, the data "1" is output to the second counter 718b.
[0131] 第 1カウンタ 715bは、第 1比較器 713bから出力されるデータ「1」の数をカウントす る。第 2カウンタ 718bは、第 2比較器 716bから出力されるデータ「1」の数をカウント する。そして、双方のカウンタは、カウントしたデータ「1」の数が所定回数に到達した とき、判定部 72bに対して、その旨を通知する。 The first counter 715 b counts the number of data “1” output from the first comparator 713 b. The second counter 718 b counts the number of data “1” output from the second comparator 716 b. Then, when the number of counted data “1” reaches the predetermined number of times, both counters notify the determination unit 72 b to that effect.
[0132] 判定部 72bは、 、ずれのカウンタ力も通知があつたかを判定する。そして、判定部 7 2bは、第 1カウンタ 715bから通知があった場合、第 1ロック信号を受信したと判定し、 データ伝送システムにおいて 8値マッピングされたデータによる通信が行われると認 識する。一方、判定部 72bは、第 2カウンタ 718bから通知があった場合、第 2ロック信 号を受信したと判定し、データ伝送システムにお 、て 4値マッピングされたデータによ る通信が行われると認識する。そして、判定部 72bは、テスト信号発生部 67bや MP U3b等のデータ伝送装置 lb内の各構成部に対して認識結果を通知する。なお、トレ 一-ング信号検出部 58bに対しても同様の差分値 ddが出力されている力 上述した ようにロック信号はトレーニングヘッダ信号と混同されないため、トレーニング信号検 出部 58bは、ロック信号を受信している間トレーニングヘッダ信号を検出しない。 The determination unit 72b determines whether the shift counter force has been notified as well. Then, when notified by the first counter 715b, the determination unit 72b determines that the first lock signal has been received, and recognizes that communication using data mapped to eight values is performed in the data transmission system. On the other hand, when notified by the second counter 718b, the judging unit 72b judges that the second lock signal has been received, and the data transmission system communicates with the four-value mapped data. Recognize. Then, the determination unit 72b notifies each component in the data transmission apparatus lb such as the test signal generation unit 67b and the MPU 3b of the recognition result. The same difference value dd is also output to the training signal detection unit 58b. As described above, since the lock signal is not confused with the training header signal, the training signal detection unit 58b outputs the lock signal. Do not detect the training header signal while receiving
[0133] ステップ S55において、テスト信号発生部 67bは、第 1ロック信号を選択し、処理を 次のステップ S57に進める。また、ステップ S56において、テスト信号発生部 67bは、 第 2ロック信号を選択し、処理を次のステップ S57に進める。なお、これらステップ S5 5および S56で行われる処理は、 MPU3aからの指示が判定部 72bからの通知に変 わった点以外は、上記ステップ S14および S15と同様であるので、詳細な説明を省 略する。 In step S55, test signal generation unit 67b selects the first lock signal, and the process proceeds to the next step S57. In step S56, test signal generation unit 67b selects the second lock signal, and the process proceeds to the next step S57. The processes performed in steps S55 and S56 are the same as steps S14 and S15 except that the instruction from MPU 3a is changed to the notification from determination unit 72b, so detailed description will be omitted. Do.
[0134] ステップ S57にお ヽて、テスト信号発生部 67bで選択されたロック信号は、データ伝 送装置 lbの送受信部 4bから後段のデータ伝送装置 lcに出力される。スレーブのデ ータ伝送装置 lc一 Inにおいても、データ伝送装置 lbの動作で説明した上記ステツ プ S52— S57の処理が同様に行われる。そして、データ伝送装置 Inは、ロック信号 をマスタのデータ伝送装置 laに出力する。 In step S57, the lock signal selected by the test signal generation unit 67b is output from the transmission / reception unit 4b of the data transmission device lb to the data transmission device lc in the subsequent stage. Also in the slave data transmission device lc-In, the above-described state described in the operation of the data transmission device lb is The processes in steps S52 to S57 are similarly performed. Then, the data transmission device In outputs the lock signal to the data transmission device la of the master.
[0135] マスタのデータ伝送装置 laは、上記ステップ S 16の処理の後、前段のデータ伝送 装置 Inから送信されるロック信号の受信を待っている (ステップ S17)。そして、前段 のデータ伝送装置 Inから送信されてきたロック信号をデータ伝送装置 laが受信した 場合、受信したロック信号を用いてクロック同期処理を行う(ステップ S18)。ステップ S 18の処理については、上記ステップ S53の処理と同様であるため、詳細な説明を省 略する。ここまでの初期化動作によって、データ伝送システムにおけるクロック同期処 理およびデータ伝送方式の通知が完了する。 After the processing of step S16, the data transmission device la of the master waits for the reception of the lock signal transmitted from the data transmission device In at the previous stage (step S17). When the data transmission device la receives the lock signal transmitted from the data transmission device In in the previous stage, clock synchronization processing is performed using the received lock signal (step S18). The process of step S18 is the same as the process of step S53, and thus the detailed description will be omitted. By the initialization operation up to this point, the notification of the clock synchronous processing and data transmission method in the data transmission system is completed.
[0136] 図 18において、マスタのデータ伝送装置 laは、トレーニングヘッダ信号および上記 ステップ S 12で決定したデータ伝送方式に応じたトレーニング信号を、後段のデータ 伝送装置 lbに出力する (ステップ S 19)。以下、ステップ S 19において、データ伝送 装置 la内で行われる動作について詳述する。 In FIG. 18, the data transmission apparatus la of the master outputs a training header signal and a training signal according to the data transmission method determined in step S12 above to the data transmission apparatus lb of the subsequent stage (step S19). . The operation performed in the data transmission device la in step S19 will be described in detail below.
[0137] MPU3aは、上記ステップ S18のクロック同期処理の完了を確認した後、まず、トレ 一-ングヘッダ信号をデータ伝送装置 laから送信する処理を行う。 MPU3aは、トレ 一-ングヘッダ信号を選択する旨をテスト信号発生部 67aの切替指示部 676aに通 知する。この通知に応じて、切替指示部 676aは、トレーニングヘッダ信号発生部 67 3aから出力されるトレーニングヘッダ信号を出力するようにセレクタ 675aを制御する 。これにより、テスト信号発生部 67aは、トレーニングヘッダ信号を選択する。 After confirming the completion of the clock synchronization process of step S18, the MPU 3a first performs a process of transmitting a tracing header signal from the data transmission device la. The MPU 3a notifies the switching instructing unit 676a of the test signal generating unit 67a that the training header signal is to be selected. In response to this notification, the switching instruction unit 676a controls the selector 675a to output the training header signal output from the training header signal generator 673a. Thus, the test signal generation unit 67a selects a training header signal.
[0138] 続いて、 MPU3aは、トレーニングヘッダ信号をデータ伝送装置 laから送信する処 理を行って所定時間経過後、トレーニング信号をデータ伝送装置 laから送信する処 理を行う。上述したようにトレーニングヘッダ信号は、固定長(例えば、 12シンボル)で あるため、トレーニング信号を送信する処理への切り替えは、時間経過に基づいて自 動的に行われる。 MPU3aは、トレーニング信号を選択する旨をテスト信号発生部 67 aの切替指示部 676aに通知する。この通知に応じて、切替指示部 676aは、トレー- ング信号発生部 674aから出力されるトレーニング信号を出力するようにセレクタ 675 aを制御する。これにより、テスト信号発生部 67aは、トレーニング信号を選択する。 Subsequently, the MPU 3a performs processing of transmitting a training header signal from the data transmission device la, and transmits processing of a training signal from the data transmission device la after a predetermined time has elapsed. As described above, since the training header signal has a fixed length (for example, 12 symbols), switching to processing for transmitting a training signal is automatically performed based on the passage of time. The MPU 3a notifies the switching instructing unit 676a of the test signal generating unit 67a that the training signal is to be selected. In response to this notification, the switching instructing unit 676a controls the selector 675a to output the training signal output from the training signal generating unit 674a. Thereby, the test signal generation unit 67a selects a training signal.
[0139] これらセレクタ 675aから出力されたトレーニングヘッダ信号およびトレーニング信号 は、順にマッピング部 63aでマッピング処理され、ロールオフフィルタ 64a—差動ドラ ィバ 66aの間で所定の処理が施されて、後段のデータ伝送装置 lbへと送信される。 Training header signals and training signals output from these selectors 675a Are sequentially mapped by the mapping section 63a, subjected to predetermined processing between the roll-off filter 64a and the differential driver 66a, and transmitted to the data transmission apparatus lb of the subsequent stage.
[0140] 一方、スレーブのデータ伝送装置 lbは、上記ステップ S57の処理の後、前段のデ ータ伝送装置 laから送信されるトレーニングヘッダ信号の受信を待って ヽる (ステツ プ S58)。そして、マスタのデータ伝送装置 laから送信されてきたトレーニングヘッダ 信号をデータ伝送装置 lbが受信した場合、処理を次のステップ S59へ進める。以下 、ステップ S58において、スレーブのデータ伝送装置 lb内で行われる処理について 詳述する。 On the other hand, after the process of step S57, the slave data transmission apparatus lb waits for reception of the training header signal transmitted from the data transmission apparatus la of the preceding stage (step S58). When the data transmission apparatus lb receives the training header signal transmitted from the master data transmission apparatus la, the process proceeds to the next step S59. Hereinafter, the process performed in the slave data transmission apparatus lb in step S58 will be described in detail.
[0141] 前段のデータ伝送装置 laから送信されてきたトレーニングヘッダ信号は、データ伝 送装置 lbの差動レシーバ 51b、 ADC52b、およびロールオフフィルタ 53bで所定の 処理が施されて、差分算出部 54bへ出力される。差分算出部 54bは、確立された受 信クロックに基づ 、て、トレーニングヘッダ信号の各シンボル間の差分値 ddを算出し 、当該差分値 ddをパターン識別部 71bおよびトレーニング信号検出部 58bに出力す る。 The training header signal transmitted from the data transmission device la of the previous stage is subjected to predetermined processing by the differential receiver 51b of the data transmission device lb, the ADC 52b, and the roll-off filter 53b, and the difference calculator 54b. Output. Difference calculation unit 54b calculates the difference value dd between the symbols of the training header signal based on the established reception clock, and outputs the difference value dd to pattern identification unit 71b and training signal detection unit 58b. It will
[0142] トレーニング信号検出部 58bの大小判定部 581bは、差分算出部 54bから出力され てきた各差分値 ddの絶対値が、上述した閾値より大きいか否かを判定し、その判定 結果をシフトレジスタ 582bに出力する。具体的には、大小判定部 581bは、上記閾 値が 5である場合、図 15 (a)で示した差分値 ddに対する判定結果として、データ「L」 を 4回出力した後、データ「S」を 1回出力する。これらに応じて、シフトレジスタ 582b には、上記 2種類の判定結果のいずれかが 1ビットずつ出力される。 The magnitude determination unit 581b of the training signal detection unit 58b determines whether the absolute value of each difference value dd output from the difference calculation unit 54b is larger than the above-described threshold value, and shifts the determination result. Output to register 582b. Specifically, when the threshold value is 5, the magnitude determination unit 581b outputs data “L” four times as a determination result for the difference value dd shown in FIG. Is output once. In response to these, one of the above two types of determination results is output to the shift register 582b one bit at a time.
[0143] 比較器 583bは、 ROM584bに格納されたトレーニングヘッダ信号を示すデータと 、シフトレジスタ 582bに記憶されているデータとを、データが 1ビット入力される毎に 比較し、一致する場合、データ「1」を教師信号生成部 59b、カウンタ 585b、および M PU3b等に出力する。そして、教師信号生成部 59bは、比較器 583bからデータ「1」 を受信することに応じて、トレーニング信号と同期した教師信号 MSを判定レベル設 定部 57bに出力する。一方、カウンタ 585bは、比較器 583bが出力したデータ「1」の 入力に応じて、カウントを開始する。なお、パターン識別部 71bに対しても同様の差 分値 ddが出力されている力 上述したようにトレーニングヘッダ信号はロック信号と混 同されないため、パターン識別部 71bは、トレーニングヘッダ信号を受信している間 第 1または第 2ロック信号を検出しない。 The comparator 583b compares the data indicating the training header signal stored in the ROM 584b with the data stored in the shift register 582b every time 1 bit of data is input, and when the data match, the data It outputs “1” to the teacher signal generation unit 59 b, the counter 585 b, and the MPU 3 b. Then, in response to receiving data "1" from the comparator 583b, the teacher signal generation unit 59b outputs a teacher signal MS synchronized with the training signal to the determination level setting unit 57b. On the other hand, the counter 585b starts counting in response to the input of the data "1" output from the comparator 583b. Note that the same differential value dd is output to the pattern identification unit 71b, as described above, the training header signal is mixed with the lock signal. Because they are not the same, the pattern identification unit 71b does not detect the first or second lock signal while receiving the training header signal.
[0144] ステップ S59において、データ伝送装置 lbは、トレーニングヘッダ信号および上記 ステップ S54で通知されたデータ伝送方式に応じたトレーニング信号を、後段のデー タ伝送装置 lcに出力し、処理を次のステップ S60に進める。なお、ステップ S59で行 われる処理は、 MPU3bが比較器 583bから出力したデータ「1」の入力に応じて行う こと以外、上記ステップ S19と同様であるので、詳細な説明を省略する。スレーブの データ伝送装置 lc一 Inにおいても、データ伝送装置 lbの動作で説明した上記ステ ップ S58および S59の処理が同様に行われる。そして、データ伝送装置 Inは、トレー ユングヘッダ信号およびトレーニング信号をマスタのデータ伝送装置 laに出力する。 In step S59, the data transmission apparatus lb outputs a training header signal and a training signal according to the data transmission method notified in step S54 to the data transmission apparatus lc in the subsequent stage, and the process is performed in the next step. Proceed to S60. The process performed in step S59 is the same as that in step S19 except that the process is performed in response to the input of data "1" output from the comparator 583b by the MPU 3b, and thus the detailed description is omitted. Also in the slave data transmission device lc-In, the processes of steps S58 and S59 described above in the operation of the data transmission device lb are similarly performed. Then, the data transmission device In outputs the training header signal and the training signal to the data transmission device la of the master.
[0145] ステップ S60において、データ伝送装置 lbは、上記判定レベルの設定を行い、処 理を次のステップ S61に進める。以下、ステップ S60においてデータ伝送装置 lb内 で行われる動作にっ 、て詳述する。 In step S60, the data transmission apparatus lb sets the determination level, and the process proceeds to the next step S61. Hereinafter, the operations performed in the data transmission apparatus lb in step S60 will be described in detail.
[0146] 教師信号生成部 59bは、比較器 583bからデータ「1」を受信することに応じて、トレ 一-ング信号と同期した教師信号 MSを判定レベル設定部 57bに出力する。判定レ ベル設定部 57bには、差分算出部 54bでトレーニング信号に対して演算された差分 値 ddが入力され、判定レベル設定部 57bは、入力された差分値 ddおよび教師信号 MSを用いて上記判定レベルの設定を開始する。 In response to receiving the data “1” from the comparator 583b, the teacher signal generation unit 59b outputs a teacher signal MS synchronized with the training signal to the determination level setting unit 57b. The determination level setting unit 57b receives the difference value dd calculated for the training signal by the difference calculation unit 54b, and the determination level setting unit 57b uses the input difference value dd and the teacher signal MS to execute the above. Start setting the judgment level.
[0147] ステップ S61において、データ伝送装置 lbのカウンタ 585bは、上記ステップ S58 の処理から開始されたカウントが、規定数に到達した力否かを判断する。例えば、力 ゥンタ 585bは、トレーニング信号が有する 65536シンボルに相当するカウント数を上 記規定数に設定することによって、トレーニング信号の終了を検出している。そして、 データ伝送装置 lbは、カウンタ 585bのカウントが規定数に未到達の場合、処理を上 記ステップ S60に戻って判定レベル設定を継続する。一方、データ伝送装置 lbは、 カウンタ 585bのカウントが規定数に到達した場合、前段のデータ伝送装置 laから送 信されたトレーニング信号の受信が終了したと判断して、処理を次のステップ S62へ 進める。なお、スレーブのデータ伝送装置 lc一 Inにおいても、データ伝送装置 lbの 動作で説明した上記ステップ S60および S61の処理が同様に行われる。 [0148] 一方、マスタのデータ伝送装置 laは、上記ステップ S19の処理の後、前段のデー タ伝送装置 Inから送信されるトレーニングヘッダ信号の受信を待って ヽる (ステップ S 20)。そして、データ伝送装置 In力も送信されてきたトレーニングヘッダ信号をデー タ伝送装置 laが受信した場合、処理を次のステップ S21へ進める。なお、ステップ S 20の処理は、上記ステップ S58の処理と同様であるため、詳細な説明を省略する。 In step S61, the counter 585b of the data transmission apparatus lb determines whether or not the count started from the process of step S58 has reached a specified number. For example, the signal processing unit 585b detects the end of the training signal by setting the count number corresponding to 65,536 symbols of the training signal to the above specified number. Then, if the count of the counter 585b has not reached the specified number, the data transmission apparatus lb returns the process to the above step S60 and continues the determination level setting. On the other hand, when the count of the counter 585b reaches the specified number, the data transmission apparatus lb determines that the reception of the training signal transmitted from the data transmission apparatus la in the previous stage is completed, and the process proceeds to the next step S62. Advance. Also in the slave data transmission device lc-In, the processes of the above-described steps S60 and S61 described in the operation of the data transmission device lb are performed in the same manner. On the other hand, after the processing of step S19, the master data transmission device la waits for reception of the training header signal transmitted from the data transmission device In of the preceding stage (step S20). Then, when the data transmission device la receives the training header signal to which the data transmission device In power is also transmitted, the process proceeds to the next step S21. The process of step S20 is the same as the process of step S58, and thus the detailed description is omitted.
[0149] ステップ S21において、データ伝送装置 laは、上記判定レベルの設定を行い、処 理を次のステップに進める。次に、データ伝送装置 laのカウンタ 585aは、上記ステツ プ S20の処理から開始されたカウントが、規定数に到達したか否かを判断する。そし て、データ伝送装置 laは、カウンタ 585aのカウントが規定数に未到達の場合、処理 を上記ステップ S21に戻って判定レベル設定を継続する。一方、データ伝送装置 la は、カウンタ 585aのカウントが規定数に到達した場合、前段のデータ伝送装置 Inか ら送信されたトレーニング信号の受信が終了したと判断して、処理を次のステップ S2 3へ進める。なお、ステップ S21および S22の処理は、上記ステップ S60および S61 の処理と同様であるため、詳細な説明を省略する。ここまでの初期化動作によって、 データ伝送システムにおける判定レベル設定処理(トレーニング処理)が完了する。 In step S21, the data transmission device la sets the determination level and proceeds to the next step. Next, the counter 585a of the data transmission apparatus la determines whether or not the count started from the process of step S20 has reached a specified number. Then, when the count of the counter 585a has not reached the specified number, the data transmission device la returns the process to the above-mentioned step S21 and continues the determination level setting. On the other hand, when the count of the counter 585a reaches the specified number, the data transmission device la determines that the reception of the training signal transmitted from the data transmission device In in the previous stage is completed, and the process proceeds to the next step S23. Go to Note that the processes of steps S21 and S22 are the same as the processes of steps S60 and S61, and thus detailed description will be omitted. By the initialization operation up to this point, the determination level setting process (training process) in the data transmission system is completed.
[0150] そして、上述したクロック同期処理、データ伝送方式の通知、およびトレーニング処 理が終了し、データ伝送システム内のデータ通信が開始され (ステップ S23および S 62)、当該フローチャートによる初期化動作を終了する。 Then, the clock synchronization process, the notification of the data transmission method, and the training process described above are completed, and the data communication in the data transmission system is started (steps S23 and S62). finish.
[0151] このように、初期化処理において送出されるロック信号とトレーニング信号とを区別 するためのトレーニングヘッダ信号を確実に検出することができる。これは、データ伝 送装置がトレーニング処理前であっても、データ信号レベル毎の差分値の絶対値が 閾値よりも大き 、か小さ!、かと!/、う大まかな判定により、トレーニングヘッダ信号を識 別可能であるためであり、受信するトレーニングヘッダ信号に対する差分値が「0」か ら変動したとしても、閾値に対してマージンを持っているため確実にトレーニングへッ ダ信号を検出することができる。なお、上述した説明では、ロック信号に情報が埋め 込まれた一例を用いて説明した力 マッピング方式にぉ 、て隣接するシンボル間が 最小差分値 (例えば差分値「一 2」や「 + 2」)となる区間を有するロック信号を用いる場 合にも、確実にトレーニングヘッダ信号を検出することができる効果を得られる。 [0152] なお、トレーニング信号検出部 58とパターン識別部 71とは、一部の構成要素を共 通に構成しても力まわない。例えば、それぞれの大小判定部 581および 711は、デ ータ伝送装置 1の初期化動作において同じ動作を並列に行っている。また、それぞ れのシフトレジスタ 582および 712は、記憶するビット数が異なる説明をしたが同じビ ット数で構成することも可能であり、その場合データ伝送装置 1の初期化動作におい て同じ動作を並列に行うことになる。したがって、トレーニング信号検出部 58とパター ン識別部 71とは、大小判定部およびシフトレジスタを共通の構成要素とした構成でも 実現することができる。この場合、共通のシフトレジスタに記憶されたデータと 3つの R OMにそれぞれ記憶されたデータとを比較する 3つの比較器を構成すれば、上述と 同様の動作を行うことができる。 Thus, the training header signal for distinguishing between the lock signal and the training signal transmitted in the initialization process can be detected reliably. This means that the training header signal can be roughly determined based on whether the absolute value of the difference value for each data signal level is larger or smaller than the threshold value, even before the data transmission device is training processing. This is because identification is possible, and even if the difference value for the received training header signal fluctuates from "0", the training header signal must be detected reliably because it has a margin for the threshold. it can. In the above description, according to the force mapping method described using the example in which the information is embedded in the lock signal, the minimum difference value between adjacent symbols (for example, the difference value “1 2” or “+2”) is used. Even in the case of using a lock signal having a section that becomes), the effect of being able to reliably detect a training header signal can be obtained. The training signal detection unit 58 and the pattern identification unit 71 do not use force even if they configure some components in common. For example, the respective size determination units 581 and 711 perform the same operation in parallel in the initialization operation of the data transmission device 1. Also, although the shift registers 582 and 712 have been described with different numbers of stored bits, they can be configured with the same number of bits, in which case the same is true in the initialization operation of the data transmission apparatus 1. The actions will be done in parallel. Therefore, the training signal detection unit 58 and the pattern identification unit 71 can be realized with a configuration in which the size determination unit and the shift register are common components. In this case, the same operation as described above can be performed by configuring three comparators that compare the data stored in the common shift register with the data stored in each of the three ROMs.
[0153] また、上述した説明では、トレーニング信号検出部 58がトレーニングヘッダ信号を 検出する態様を示したが、テスト信号 TSの構成によって他の信号を検出してもかま わない。例えば、トレーニング信号検出部 58は、トレーニング信号の一部を検出して ちょい。 In the above description, the training signal detector 58 detects the training header signal. However, other signals may be detected depending on the configuration of the test signal TS. For example, the training signal detection unit 58 detects a part of the training signal.
[0154] また、上記の説明では、マスタのデータ伝送装置 laは、自装置の MPU3aにおい て、ステップ S 12で決定されたデータ伝送方式力 値マッピングである力否かを判断 して、 MPU3aは、 8値マッピングである場合、処理を次のステップ S14に進め、 4値 マッピングである場合、処理を次のステップ S 15に進めた。また、スレーブのデータ伝 送装置 lbは、受信したロック信号を用いてクロック同期処理を行い、受信したロック信 号が第 1ロック信号である力否かを判断して、第 1ロック信号である場合、処理を次の ステップ S55に進め、第 1ロック信号でない場合、処理を次のステップ S56に進めた。 しかしながら、予めデータ伝送方式が決定されている場合においては、これらの判断 を行うステップは不要である。この場合、図 3に示したテスト信号発生部 67は、第 1口 ック信号発生部 671、第 2ロック信号発生部 672のいずれかのみを含むものであって も良い。また、図 2に示した、パターン識別部 71および判定部 72も、前段に接続され たデータ伝送装置力も送信されたロック信号に埋め込まれた情報をパターン識別し、 その識別結果に基づいて当該情報を判定する機能がなくてもいいことは言うまでもな い。 産業上の利用可能性 Further, in the above description, the master data transmission device la determines in the MPU 3a of its own device whether or not the data transmission method power value mapping determined in step S12 is a force or not, and the MPU 3a If it is 8-value mapping, the process proceeds to the next step S14. If it is 4-value mapping, the process proceeds to the next step S15. Also, the data transmission device lb of the slave performs clock synchronization processing using the received lock signal, and determines whether the received lock signal is the first lock signal or not, and is the first lock signal. If so, the process proceeds to the next step S55, and if it is not the first lock signal, the process proceeds to the next step S56. However, when the data transmission method is determined in advance, the step of making these determinations is unnecessary. In this case, the test signal generation unit 67 shown in FIG. 3 may include only one of the first port lock signal generation unit 671 and the second lock signal generation unit 672. The pattern identification unit 71 and the determination unit 72 shown in FIG. 2 also pattern-identify the information embedded in the lock signal transmitted from the data transmission device connected in the previous stage, and based on the identification result, the information It goes without saying that there is no need to have the function to determine Industrial applicability
本発明に力かるデータ受信装置、データ送信装置、データ送受信装置、およびデ ータ伝送は、多値電気信号等を用いて通信を行う初期化動作の際に、ロック信号とト レーニング信号との間で伝送されるヘッダ信号を確実に検出することができ、リング 型等で各装置を伝送路によって接続し、互 、に判定レベルを設定して一方向の電気 通信を行うシステムに含まれる装置および当該システム等として有用である。 The data receiving apparatus, data transmitting apparatus, data transmitting / receiving apparatus, and data transmission according to the present invention use lock signals and training signals in the initialization operation of performing communication using multilevel electric signals and the like. Devices included in the system that can reliably detect the header signal transmitted between them, connect each device by a transmission path with a ring type etc., set the determination level to each other, and perform one-way electrical communication And it is useful as the said system etc.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003383020A JP2005150970A (en) | 2003-11-12 | 2003-11-12 | Data receiving apparatus, data transmitting apparatus, data transmitting / receiving apparatus, and data transmission system |
| JP2003-383020 | 2003-11-12 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2005048550A1 true WO2005048550A1 (en) | 2005-05-26 |
Family
ID=34587278
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2004/016737 Ceased WO2005048550A1 (en) | 2003-11-12 | 2004-11-11 | Data receiving apparatus, data transmitting apparatus, data transmitting/receiving apparatus, and data transmission system |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP2005150970A (en) |
| WO (1) | WO2005048550A1 (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09205466A (en) * | 1996-01-29 | 1997-08-05 | Kokusai Electric Co Ltd | Symbol determination device |
| WO2002030078A1 (en) * | 2000-10-05 | 2002-04-11 | Matsushita Electric Industrial Co., Ltd. | Initializing method and data transmitter |
| JP2004023309A (en) * | 2002-06-14 | 2004-01-22 | Matsushita Electric Ind Co Ltd | Data transmission device, data reception device, data encoding method, and data decoding method, |
| WO2004059931A1 (en) * | 2002-12-25 | 2004-07-15 | Matsushita Electric Industrial Co., Ltd. | Data transmission system and data transmission device |
-
2003
- 2003-11-12 JP JP2003383020A patent/JP2005150970A/en active Pending
-
2004
- 2004-11-11 WO PCT/JP2004/016737 patent/WO2005048550A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09205466A (en) * | 1996-01-29 | 1997-08-05 | Kokusai Electric Co Ltd | Symbol determination device |
| WO2002030078A1 (en) * | 2000-10-05 | 2002-04-11 | Matsushita Electric Industrial Co., Ltd. | Initializing method and data transmitter |
| JP2004023309A (en) * | 2002-06-14 | 2004-01-22 | Matsushita Electric Ind Co Ltd | Data transmission device, data reception device, data encoding method, and data decoding method, |
| WO2004059931A1 (en) * | 2002-12-25 | 2004-07-15 | Matsushita Electric Industrial Co., Ltd. | Data transmission system and data transmission device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005150970A (en) | 2005-06-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3353930B2 (en) | Method for determining acceptance or rejection of ethernet packets and ethernet media access controller | |
| JP2013516135A (en) | Method and apparatus for wakeup bus message determination for partial networking | |
| JP3535869B2 (en) | Initialization method and data transmission device | |
| KR20050036687A (en) | Data transmission apparatus and data transmission system, and initialization method tehreof | |
| EP1503546A2 (en) | Data transmission method, data transmission system, and data transmission apparatus | |
| US20060072624A1 (en) | Data transmission system, data transmitter, and transmitting method | |
| JPWO2004059931A1 (en) | Data transmission system and data transmission apparatus | |
| JP3535870B2 (en) | Ring network and data transmission device | |
| WO2005048550A1 (en) | Data receiving apparatus, data transmitting apparatus, data transmitting/receiving apparatus, and data transmission system | |
| EP1578065B1 (en) | Data transmission device, data transmission system, and method | |
| JP2005020692A (en) | Data receiving method and apparatus, and data transmission system | |
| US20050025226A1 (en) | Data transmission apparatus and data transmission system | |
| JP5958335B2 (en) | Communication node and communication system | |
| JP2006080906A (en) | Multi-value digital data transmitter, receiver, transmitter / receiver, and data transmission system | |
| US20060034388A1 (en) | Data sending device, data receiving device, transmission path encoding method, and decoding method | |
| US6839006B1 (en) | Communication device | |
| TWI869261B (en) | Method for reducing influence of noise on signal line and decoding circuit using the same | |
| TWI903466B (en) | Method for reducing influence of noise on signal line, decoding circuit and power providing/reveiving device using the same | |
| JP3708105B2 (en) | Data transmission apparatus and data transmission system | |
| TW202543246A (en) | Method for reducing influence of noise on signal line, decoding circuit and power providing/reveiving device using the same | |
| CN120675688A (en) | Baud rate detection method, baud rate detection device, baud rate detection equipment and storage medium | |
| JP2006129390A (en) | Transmitting apparatus and receiving apparatus | |
| JPH11196032A (en) | Bridge tap equalizer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
| AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
| 122 | Ep: pct application non-entry in european phase |