Decoding device, decoding method, and program

The decoding device and method address the challenge of decoding bi-phase level signals by using reference edges to generate sampling triggers, allowing real-time decoding post-transmission and rate switching.

JP2024148996AInactive Publication Date: 2024-10-18NEC PLATFROMS LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023062620
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies fail to decode bi-phase level signals immediately after the start of transmission or switching the transmission rate due to unknown transmission rates.

Method used

A decoding device and method that utilize a reference signal to detect rising and falling edges, generate a sampling trigger, and detect the signal level of the data signal at a predetermined timing to decode bi-phase level signals without requiring edge detection.

Benefits of technology

Enables real-time decoding of bi-phase level signals immediately after transmission start or rate switching by detecting signal levels based on reference edges, overcoming the limitations of existing methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024148996000001_ABST
    Figure 2024148996000001_ABST
Patent Text Reader

Abstract

To decode a bi-phase level signal immediately after transmission start and immediately after transmission rate switching in real time at receiving timing.SOLUTION: A decoding device comprises: an acquisition unit that receives a data signal which is a bi-phase level signal and a reference signal which is used for decoding the data signal; a reference signal detection unit that detects a rising edge and a falling edge of the reference signal; a sampling trigger generation unit that generates a sampling trigger for detecting a signal level of the data signal in a decoding period from an edge of the detected reference signal to edge of the data signal; and a decoding unit that detects the signal level of the data signal at generation timing of the sampling trigger.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a decoding device, a decoding method, and a program for decoding a bi-phase-level signal in real time. [Background technology]

[0002] When decoding a bi-phase level signal, the data cannot be decoded immediately after the start of transmission or immediately after the transmission rate is switched because the transmission rate cannot be specified.

[0003] As a related technique, Patent Document 1 discloses a biphase code decoding device that easily determines a starting point by using biphase coded data. According to the biphase code decoding device of Patent Document 1, biphase coded input data is branched, one of the branched input data is subjected to a first biphase code discrimination, the other branched input data is delayed and then subjected to a second biphase code discrimination, and the input data is decoded based on the results of the first and second discriminations.

[0004] As a related technique, Patent Document 2 discloses a data decoding circuit that accurately decodes split phase codes, Manchester codes, and the like received by a receiving circuit. According to the data decoding circuit of Patent Document 2, a bit synchronization signal is reproduced from received data using a code that can detect a binary value based on a transition in the potential of the central area of ​​the bit section, and the received data is converted into serial binary data.

[0005] Also, as a related technique, Patent Document 3 discloses a reception processing method that reduces the amount of processing involved in reception processing. According to the reception processing method of Patent Document 3, a bit synchronization signal and data are used as a transmission unit, and when receiving radio signal data in Manchester code format, after bit synchronization with the bit synchronization signal is established, the bits are determined by sampling only one of the areas of the front cell or the rear cell of the data according to the timing obtained by the synchronization process. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2019-009682 A [Patent Document 2] Japanese Patent Application Publication No. 09-116575 [Patent Document 3] Japanese Patent Application Publication No. 05-336093 Summary of the Invention [Problem to be solved by the invention]

[0007] However, the techniques disclosed in Patent Documents 1 to 3 do not decode data even when the transmission rate is unknown immediately after the start of transmission or immediately after switching of the transmission rate.

[0008] One example of the object of the present disclosure is to decode in real time at the timing of receiving a bi-phase level signal immediately after the start of transmission and immediately after switching of the transmission rate. [Means for solving the problem]

[0009] In order to achieve the above object, a decoding device according to one aspect of the present disclosure includes: An acquisition unit that acquires a data signal that is a bi-phase level signal and a reference signal used to decode the data signal; a reference signal detection unit that detects a rising edge and a falling edge of the reference signal; a sampling trigger generating unit that generates a sampling trigger for detecting a signal level of the data signal during a decoding period preceding the edge of the data signal from the detected edge of the reference signal; a decoding unit that detects a signal level of the data signal at the timing of the sampling trigger; The present invention is characterized by having the following.

[0010] In order to achieve the above object, a decoding method according to one aspect of the present disclosure includes: The decoding device Obtaining a data signal, which is a bi-phase level signal, and a reference signal used to decode the data signal; Detecting rising and falling edges of the reference signal; generating a sampling trigger for detecting a signal level of the data signal during a decoding period preceding the edge of the data signal from the detected edge of the reference signal; detecting a signal level of the data signal at the timing of the sampling trigger; It is characterized by:

[0011] Furthermore, in order to achieve the above object, a program according to one aspect of the present disclosure includes: On the computer, obtaining a data signal, the data signal being a bi-phase level signal, and a reference signal used to decode the data signal; detecting rising and falling edges of the reference signal; generating a sampling trigger for detecting a signal level of the data signal during a decoding period preceding the edge of the data signal from the detected edge of the reference signal; detecting a signal level of the data signal at the timing of the sampling trigger; It is characterized by: Effect of the Invention

[0012] As described above, according to the present disclosure, it is possible to decode in real time at the timing when a bi-phase level signal is received immediately after the start of transmission and immediately after the transmission rate is switched. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a diagram for explaining a conventional method for decoding a bi-phase level signal. [Diagram 2] FIG. 2 is a diagram for explaining an example of a decoding method. [Diagram 3]FIG. 3 is a diagram for explaining an example of a decoding method when the transmission rate is halved. [Figure 4] FIG. 4 is a diagram illustrating an example of a decoding device. [Diagram 5] FIG. 5 is a diagram for explaining the operation of the decoding device. [Figure 6] FIG. 6 is a block diagram illustrating an example of a computer that realizes a decoding device according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] First, an overview will be given to facilitate understanding of the embodiments described below. 1 is a diagram for explaining a conventional method for decoding a bi-phase level signal, in which a data signal DATA is a bi-phase level signal.

[0015] 1 is a signal used to decode the bi-phase level signal. One period of the reference signal FLAG is represented by a high level period G1-n and a low level period G2-n. n is a positive integer of 1 or more.

[0016] In decoding a bi-phase level signal, conventionally, as shown in FIG. 1, the data signal DATA is decoded to obtain a decoded value using edges of the data signal DATA that change at the center of each of the edges (periods G1-1, G1-2, G1-2, etc.) of the reference signal FLAG.

[0017] Specifically, decoding is performed using the signal level (High or Low) of the reference signal FLAG and the edge (rising edge or falling edge) of the data signal DATA. That is, the falling edge "LH" of the data signal DATA is detected to obtain the decoded value "0". Also, the rising edge "HL" of the data signal DATA is detected to obtain the decoded value "1".

[0018] The edge of the data signal DATA is detected as a rising edge or a falling edge by acquiring the signal levels before and after the edge of the data signal DATA. Note that hereinafter, the rising edge of the data signal DATA is represented as "LH" and the falling edge is represented as "HL".

[0019] However, immediately after the start of transmission or immediately after switching of the transmission rate, the transmission rate is unknown, and therefore the timing at which the edges of the data signal DATA should exist is unknown, making it impossible to perform decoding with high accuracy.

[0020] For example, if a mismatch occurs between the reference signal FLAG and the data signal DATA due to jitter, skew, etc., and the value ("0" or "1") contained in the data signal DATA is the same continuously, erroneous decoding occurs at the timing when the reference signal FLAG switches. Therefore, in order to prevent erroneous decoding, the timing when the edge becomes valid is preset using the reference signal FLAG.

[0021] The data signal DATA for one frame immediately after the start of transmission or immediately after the transmission rate is switched is invalidated, and the transmission rate is identified from the reference signal FLAG, and the next frame onwards is decoded. Alternatively, the reference signal FLAG and the data signal DATA immediately after the start of transmission or immediately after the transmission rate is switched are stored, and decoding is performed after the transmission rate is determined.

[0022] Through this process, the inventor discovered a problem that the above-mentioned method cannot decode data from the data signal DATA immediately after transmission begins or immediately after the transmission rate is switched, and came up with a means for solving this problem.

[0023] That is, the inventor has come up with a means for enabling decoding from the data signal DATA immediately after the start of transmission and immediately after switching of the transmission rate.

[0024] Hereinafter, an embodiment will be described with reference to the drawings. In the drawings described below, elements having the same or corresponding functions are denoted by the same reference numerals, and repeated description thereof may be omitted.

[0025] (Embodiment) The decoding method in the embodiment will be described with reference to Fig. 2. Fig. 2 is a diagram for explaining an example of the decoding method.

[0026] As shown in FIG. 2, the bi-phase level signal decodes the data signal DATA to obtain a decoded value using the edges of the data signal DATA that change at the center points between the edges of the reference signal FLAG (period G1-1, period G2-1, period G1-2, etc.).

[0027] In the example of FIG. 2, the signal level of the reference signal FLAG is "High" in periods G1-1 and G1-2, and the signal level is "Low" in period G2-1.

[0028] In the example of FIG. 2, the edge of the data signal DATA in period G1-1 is a rising edge (LH), so the decoded value (decoded value) represented by the data signal DATA is "0".

[0029] In the example of FIG. 2, the edge of the data signal DATA in period G2-1 is a rising edge (LH), so the decoded value (decoded value) represented by the data signal DATA is "0".

[0030] In the example of FIG. 2, the edge of the data signal DATA in period G1-2 is a falling edge (HL), so the decoded value (decoded value) represented by the data signal DATA is "1".

[0031] Furthermore, at the boundary time point ts1 between period G1-1 and period G2-1, both the reference signal FLAG and the data signal DATA change in signal level. That is, the edge (signal level) of the reference signal FLAG at the boundary time point ts1 changes to fall (from "High" to "Low"), and the edge (signal level) of the data signal DATA changes to fall (from "High" to "Low").

[0032] As described above, in the period t1 (ts0-td0, ts1-td1, ts2-td2) from the edge of the reference signal FLAG to the edge of the data signal DATA, the signal level of the data signal DATA does not change. Also, the signal level of the data signal DATA in the period t1 matches the decoded value.

[0033] Specifically, the signal level "Low" ("0") of the data signal DATA in the period t1 of the periods G1-1 and G2-1 matches the decoded value "0". Also, the signal level "High" ("1") of the data signal DATA in the period t1 of the period G1-2 matches the decoded value "1".

[0034] Therefore, by detecting the signal level of the data signal DATA from the edge of the reference signal FLAG, that is, from the boundary time points (ts0, ts1, ts2 ···) to the time points (td0, td1, td2 ···), it is possible to decode without detecting the edge of the data signal DATA.

[0035] That is, it is possible to decode by obtaining the signal level of the data signal DATA in the decoding period t1 in FIG. 2.

[0036] FIG. 3 is a diagram for explaining an example of a decoding method when the transmission rate is halved. In the example of FIG. 3, let the time from the edge of the reference signal FLAG to the edge of the data signal DATA when the transmission rate is halved be t1'. Also in the example of FIG. 3, decoding can be performed by obtaining the signal level of the data signal DATA in the period <t1' from the edge of the reference signal FLAG.

[0037] [Device configuration] Fig. 4 is a diagram for explaining an example of a decoding device. The decoding device shown in Fig. 4 is a device that decodes data immediately after the start of transmission and immediately after switching of the transmission rate. As shown in Fig. 4, the decoding device 10 includes an acquisition unit 11, a reference signal detection unit 12, a sampling trigger generation unit 13, and a decoding unit 14.

[0038] The acquisition unit 11 acquires a data signal DATA and a reference signal FLAG used to decode the data signal DATA. The acquisition unit 11 receives the reference signal FLAG and the data signal DATA from a device such as a PCM (Pulse Code Modulation) telemeter. Note that the acquisition unit 11 acquires A / D converted data signal DATA.

[0039] The reference signal detection unit 12 detects the rising edge and the falling edge of the reference signal FLAG. Specifically, the reference signal detection unit 12 samples the reference signal FLAG at a preset sampling period Tsamp, and detects a change point of the sampled signal level (rising edge "LH" or falling edge "HL").

[0040] In the following description, the rising edge of the reference signal FLAG will be represented as "LH" and the falling edge as "HL".

[0041] The sampling trigger generating unit 13 generates a sampling trigger for detecting the signal level of the data signal DATA at timing t2, which is from the detected edge (ts0, ts1, ts2,...) of the reference signal FLAG to the edge (td0, td1, td2,...) of the data signal DATA. The timing t2 is set according to the fastest transmission rate of the received data signal DATA.

[0042] The decoding unit 14 detects the signal level of the data signal DATA at the sampling trigger timing t2. Since the signal level of the data signal DATA at the sampling trigger timing t2 matches the decoded value, decoding is possible without detecting the edge of the data signal DATA.

[0043] [Device operation] Next, the operation of the decoding device in the embodiment will be described with reference to Fig. 5. Fig. 5 is a diagram for explaining the operation of the decoding device. In the following description, the diagram will be referred to as appropriate. Also, in the embodiment, the decoding method is implemented by operating the decoding device. Therefore, the description of the decoding method in the embodiment will be replaced with the following description of the operation of the decoding device.

[0044] In the example of FIG. 5, first, the acquisition unit 11 receives the data signal DATA and a reference signal FLAG used to decode the data signal DATA (step A1).

[0045] Next, the reference signal detection unit 12 detects the rising edge and the falling edge of the reference signal FLAG (step A2).

[0046] Specifically, in step A2, the reference signal detection unit 12 samples the reference signal FLAG at a preset sampling period Tsamp (e.g., a sampling period of a CPU, etc.), detects a change point in the signal level, and determines it as an edge (rising edge "LH" or falling edge "HL").

[0047] Next, the sampling trigger generation unit 13 generates a sampling trigger for detecting the signal level of the data signal DATA at timing t2, which is prior to the edge (td0, td1, td2,...) of the data signal DATA from the detected edge (ts0, ts1, ts2,...) of the reference signal FLAG (step A3).

[0048] The timing t2 (<t1) of the sampling trigger is set to satisfy t2 < t1 with respect to t1, which is the fastest rate among the transmission rates of the data signal DATA for which reception is assumed, without being affected by jitter, skew, etc. of the reference signal FLAG and the data signal DATA.

[0049] Next, the decoding unit 14 detects the signal level of the data signal DATA at timing t2 (step A4). Since the signal level of the data signal DATA at timing t2 matches the decoded value, it can be decoded without detecting the edge of the data signal DATA.

[0050] When the reference signal FLAG and the data signal DATA are received, the processes of steps A1 to A4 described above are repeatedly executed.

[0051] [Effects of the Embodiment] As described above, according to the embodiment, since the signal level of the data signal DATA is detected at the timing t2 of the sampling trigger, even the data signal immediately after the start of transmission and immediately after the transmission rate switching can be decoded.

[0052] [Program] The program in the embodiment may be a program that causes a computer to execute steps A1 to A4 shown in FIG. 5. By installing and executing this program on a computer, the decoding apparatus and the decoding method in the embodiment can be realized. In this case, the processor of the computer functions as the acquisition unit 11, the reference signal detection unit 12, the sampling trigger generation unit 13, and the decoding unit 14, and performs processing.

[0053] Also, the program in the embodiment may be executed by a computer system constructed by a plurality of computers. In this case, for example, each computer may function as any one of the acquisition unit 11, the reference signal detection unit 12, the sampling trigger generation unit 13, and the decoding unit 14.

[0054] [Physical Configuration] Here, a computer that realizes the decoding device by executing the program in the embodiment will be described with reference to Fig. 6. Fig. 6 is a block diagram showing an example of a computer that realizes the decoding device in the embodiment.

[0055] 6, the computer 110 includes a CPU (Central Processing Unit) 111, a main memory 112, a storage device 113, an input interface 114, a display controller 115, a data reader / writer 116, and a communication interface 117. These components are connected to each other via a bus 121 so as to be able to communicate data with each other. Note that the computer 110 may include a GPU (Graphics Processing Unit) or an FPGA (Field-Programmable Gate Array) in addition to the CPU 111 or instead of the CPU 111.

[0056] The CPU 111 loads a program in the embodiment, which is composed of a group of codes and is stored in the storage device 113, into the main memory 112, and executes each code in a predetermined order to perform various calculations. The main memory 112 is typically a volatile storage device such as a DRAM (Dynamic Random Access Memory).

[0057] Moreover, the program in the embodiment is provided in a state stored in a computer-readable recording medium 120. Note that the program in the embodiment may be distributed on the Internet connected via the communication interface 117.

[0058] Specific examples of the storage device 113 include a hard disk drive and a semiconductor storage device such as a flash memory. The input interface 114 mediates data transmission between the CPU 111 and input devices 118 such as a keyboard and a mouse. The display controller 115 is connected to a display device 119 and controls the display on the display device 119.

[0059] Data reader / writer 116 mediates data transmission between CPU 111 and recording medium 120, reads programs from recording medium 120, and writes processing results in computer 110 to recording medium 120. Communication interface 117 mediates data transmission between CPU 111 and other computers.

[0060] Specific examples of recording medium 120 include general-purpose semiconductor storage devices such as CF (Compact Flash (registered trademark)) and SD (Secure Digital), magnetic recording media such as a flexible disk, or optical recording media such as a CD-ROM (Compact Disk Read Only Memory).

[0061] The decoding device 10 in the embodiment can be realized not by a computer with a program installed, but by hardware corresponding to each unit, for example, an electronic circuit. Furthermore, the decoding device 10 may be partially realized by a program and the remaining unit by hardware. In the embodiment, the computer is not limited to the computer shown in FIG. 6.

[0062] Although the invention has been described above with reference to the embodiments, the invention is not limited to the above-described embodiments. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the invention within the scope of the invention. [Industrial Applicability]

[0063] According to the above description, the bi-phase level signal can be decoded in real time at the timing when it is received immediately after the start of transmission or immediately after the transmission rate is switched. Also, the present invention is useful in fields where the bi-phase level signal needs to be decoded. [Explanation of symbols]

[0064] 10 Decryption device 11 Acquisition Department 12 Reference signal detector 13 Sampling trigger generation section 14 Decoding section 110 Computer 111 CPU 112 Main memory 113 Storage device 114 Input Interface 115 Display Controller 116 Data Reader / Writer 117 Communication Interface 118 Input Devices 119 Display device 120 Recording media 121 Bus

Claims

1. An acquisition means for acquiring a data signal, which is a bi-phase level signal, and a reference signal used to decode the data signal; a reference signal detection means for detecting a rising edge and a falling edge of the reference signal; a sampling trigger generating means for generating a sampling trigger for detecting a signal level of the data signal during a decoding period preceding the edge of the data signal from the detected edge of the reference signal; a decoding means for detecting a signal level of the data signal at the timing of the sampling trigger; A decoding device having the above configuration.

2. The timing of generating the sampling trigger is set according to the fastest rate among the transmission rates of the data signals. The decoding device according to claim 1 .

3. The decoding device, receiving a data signal, the data signal being a bi-phase level signal, and a reference signal for use in decoding the data signal; Detecting rising and falling edges of the reference signal; generating a sampling trigger for detecting a signal level of the data signal during a decoding period preceding the edge of the data signal from the detected edge of the reference signal; detecting a signal level of the data signal at the timing of the sampling trigger; Decryption method.

4. The timing of generating the sampling trigger is set according to the fastest rate among the transmission rates of the data signals. The decoding method according to claim 3.

5. On the computer, receiving a data signal, the data signal being a bi-phase level signal, and a reference signal used to decode the data signal; detecting rising and falling edges of the reference signal; generating a sampling trigger for detecting a signal level of the data signal during a decoding period preceding the edge of the data signal from the detected edge of the reference signal; detecting a signal level of the data signal at the timing of the sampling trigger; program.

6. The timing of generating the sampling trigger is set according to the fastest rate among the transmission rates of the data signals. The program according to claim 5.

Citation Information

Patent Citations

  • Reception processing system

    JP1993336093A

  • Information processor, IC card, and reader writer

    JP2001175826A

  • Clock extracting circuit

    JP2006217171A

  • Data decoding circuit, voltage controlled oscillation circuit, data decoder and electronic appliance

    JP1997116575A

  • Bi-phase code decoding apparatus, bi-phase code decoding method, receiving apparatus, and program

    JP2019009682A