A method and apparatus for decoding DBPL encoded data

By acquiring DBPL encoded data and performing frequency correction and feature data extraction, the accuracy and reliability issues of DBPL encoded data decoding were resolved, the anti-interference capability of the equipment was enhanced, and correct decoding was ensured in complex environments.

CN117675092BActive Publication Date: 2026-11-24BEIJING RAILWAY SIGNAL
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211025196.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-25
Publication Date
2026-11-24
Estimated Expiration
2042-08-25

AI Technical Summary

Technical Problem

In existing technologies, DBPL encoded data decoding has low accuracy and reliability, and weak anti-interference ability. In particular, it is easily affected by interference during long-distance transmission, which can lead to parsing errors or failure to decode.

Method used

By acquiring DBPL encoded data, extracting the first-level synchronization edge signal and performing frequency correction, the second-level synchronization edge signal is obtained. Then, the synchronization clock signal is extracted based on the second-level synchronization edge signal, and feature data is extracted in combination with the DBPL encoding rules, ultimately realizing the decoding of DBPL encoded data.

Benefits of technology

It improves the accuracy and reliability of DBPL encoded data decoding, enhances the device's anti-interference capability, and ensures correct decoding in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117675092B_ABST
    Figure CN117675092B_ABST
Patent Text Reader

Abstract

This application discloses a method and apparatus for decoding DBPL encoded data, applicable to the field of encoded data processing technology. The method includes: acquiring DBPL encoded data; extracting a first-level synchronization edge signal from the DBPL encoded data; performing frequency correction on the first-level synchronization edge signal to obtain a second-level synchronization edge signal; extracting a synchronization clock signal from the second-level synchronization edge signal; extracting feature data of the DBPL encoded data according to DBPL encoding rules and in combination with the second-level synchronization edge signal; and obtaining message data according to the DBPL encoding rules, in combination with the feature data and the synchronization clock signal, thereby achieving DBPL encoded data decoding. Thus, by adding a frequency correction step and obtaining DBPL feature data from the corrected second-level synchronization edge signal for DBPL encoded data decoding, the accuracy and reliability of DBPL encoded data decoding are improved, while the anti-interference capability of the device is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of encoded data processing technology, and in particular to a DBPL encoded data decoding method and apparatus. Background Technology

[0002] The active transponder device is installed in the middle of the train track and connected to the trackside electronic unit (LEU) device in the station via a cable. When the train passes, it sends message data to the on-board antenna. When the cable transmission channel fails, it transmits the message data information stored in its own memory.

[0003] Active transponders are typically installed far from the station, so C-interface data may be subject to interference during transmission. This can affect the encoded DBPL message data reaching the transponder, resulting in incorrect message data. Existing technology uses phase-locked loops (PLLs) to parse DBPL encoded data; however, due to the weak anti-interference capability of PLL technology, after long-distance transmission, incorrect message data may be parsed or the data may become undecoded.

[0004] Therefore, how to improve the accuracy and reliability of decoding DBPL encoded data while enhancing the anti-interference capability of the equipment is a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] To address the aforementioned issues, this application provides a DBPL encoded data decoding method and apparatus, which solves the problems of low accuracy and reliability, as well as weak anti-interference capability, in the existing technology for decoding DBPL encoded data.

[0006] In a first aspect, embodiments of this application provide a method for decoding DBPL encoded data, including:

[0007] Obtain DBPL encoded data;

[0008] Based on the DBPL encoded data, extract the first-level synchronization edge signal;

[0009] Frequency correction is performed on the first-level synchronization edge signal to obtain the second-level synchronization edge signal;

[0010] Based on the secondary synchronization edge signal, extract the synchronization clock signal;

[0011] Based on the DBPL encoding rules and the secondary synchronization edge signal, feature data of the DBPL encoded data are extracted.

[0012] Based on the DBPL encoding rules, message data is obtained by combining the feature data and the synchronization clock signal, thereby realizing the decoding of the DBPL encoded data.

[0013] Optionally, extracting the first-level synchronization edge signal based on the DBPL encoded data includes:

[0014] The DBPL encoded data is delayed for the first time to obtain a first-level delayed signal;

[0015] The first-level delayed signal is delayed a second time to obtain the second-level delayed signal;

[0016] The first-level delay signal and the second-level delay signal are XORed to obtain the edge signal of the DBPL encoded data;

[0017] The edge signal is filtered to obtain a first-level synchronous edge signal.

[0018] Optionally, filtering the edge signal to obtain a first-level synchronous edge signal includes:

[0019] The first pulse frequency in the edge signal is filtered out to obtain a first-level synchronous edge signal;

[0020] The edge signal includes: a first pulse frequency and a second pulse frequency;

[0021] The first pulse frequency is twice the second pulse frequency.

[0022] Optionally, the step of frequency correction of the first-level synchronization edge signal to obtain the second-level synchronization edge signal includes:

[0023] A frequency comparator is used to compare the difference between the frequency of the first-level synchronization edge signal and the frequency of the standard message data;

[0024] Based on the difference, the frequency of the first-level synchronization edge signal is corrected using an adder counter or a subtractor counter to obtain the second-level synchronization edge signal.

[0025] Optionally, the method further includes:

[0026] The difference is accumulated using an error accumulator;

[0027] When the error value exceeds the first set threshold, the adder counter and the subtractor timer are corrected.

[0028] Optionally, extracting the synchronization clock signal based on the secondary synchronization edge signal includes:

[0029] The first synchronization clock signal is extracted based on the second-level synchronization edge signal;

[0030] The first synchronous clock signal is doubled to obtain the second synchronous clock signal.

[0031] Optionally, the step of extracting feature data of the DBPL encoded data according to the DBPL encoding rules and in conjunction with the secondary synchronization edge signal includes:

[0032] Based on the DBPL encoding rules, and combining the first synchronization clock signal and the second synchronization clock signal, feature data of the DBPL encoded data are extracted.

[0033] Optionally, the step of obtaining message data based on the DBPL encoding rules, combined with the feature data and the synchronization clock signal, and thus decoding the DBPL encoded data, includes:

[0034] The first encoded data signal of the feature data is delayed using the first synchronous clock signal to obtain the second encoded data signal;

[0035] The first encoded data signal and the second encoded data signal are XORed to obtain message data, thereby realizing the decoding of the DBPL encoded data.

[0036] Optionally, obtaining DBPL encoded data includes:

[0037] Receive input signals sent by ground electronic units;

[0038] DBPL encoded data is obtained from the input signal.

[0039] Secondly, embodiments of this application provide a differential dual-phase modulation (DBPL) encoded data decoding device, comprising:

[0040] The acquisition module is used to acquire DBPL encoded data;

[0041] The first extraction module is used to extract the first-level synchronization edge signal based on the DBPL encoded data;

[0042] The frequency correction module is used to perform frequency correction on the first-level synchronization edge signal to obtain the second-level synchronization edge signal.

[0043] The second extraction module is used to extract the synchronization clock signal based on the secondary synchronization edge signal;

[0044] The third extraction module is used to extract the feature data of the DBPL encoded data according to the DBPL encoding rules and in combination with the secondary synchronization edge signal;

[0045] The parsing module is used to obtain message data based on the DBPL encoding rules, combined with the feature data and the synchronization clock signal, and to decode the DBPL encoded data.

[0046] As can be seen from the above technical solutions, compared with the prior art, this application has the following advantages:

[0047] This application first acquires DBPL encoded data and extracts the first-level synchronization edge signal from it. Then, it performs frequency correction on the extracted first-level synchronization edge signal to obtain the second-level synchronization edge signal, and extracts the synchronization clock signal based on the second-level synchronization edge signal. Furthermore, according to the DBPL encoding rules and the second-level synchronization edge signal, the application extracts feature data of the DBPL encoded data. Finally, according to the DBPL encoding rules, the application obtains message data by combining the DBPL feature data and the synchronization clock signal, thus achieving DBPL encoded data decoding. Therefore, by adding a frequency correction step and obtaining DBPL feature data based on the corrected second-level synchronization edge signal for DBPL encoded data decoding, the accuracy and reliability of DBPL encoded data decoding are improved, while the anti-interference capability of the equipment is enhanced. Attached Figure Description

[0048] Figure 1 A flowchart of the DBPL encoded data decoding method provided in the embodiments of this application;

[0049] Figure 2 A schematic diagram illustrating the encoding rules of the DBPL signal provided in the embodiments of this application;

[0050] Figure 3 A flowchart for extracting a first-level synchronization edge signal is provided as an embodiment of this application;

[0051] Figure 4 A flowchart illustrating the acquisition of a secondary synchronization edge signal is provided in this application embodiment;

[0052] Figure 5 A timing diagram for extracting a synchronous clock signal is provided in an embodiment of this application;

[0053] Figure 6 A timing diagram for DBPL feature data extraction provided in an embodiment of this application;

[0054] Figure 7 A message data decoding timing diagram provided for an embodiment of this application;

[0055] Figure 8 This is a schematic diagram of the DBPL encoded data decoding device provided in an embodiment of this application. Detailed Implementation

[0056] As mentioned earlier, decoding DBPL encoded data using existing decoding methods has low accuracy. Specifically, existing technologies use phase-locked loops (PLLs) to parse DBPL encoded data; however, due to the weak anti-interference capability of PLL technology, errors in parsing message data or failure to decode may occur after long-distance transmission. Furthermore, severe jitter in the C-interface data leads to significant message data fluctuations, resulting in degraded product performance and reduced reliability.

[0057] To address the aforementioned problems, this application provides a DBPL-encoded data decoding method. The method includes: first, acquiring DBPL-encoded data and extracting a first-level synchronization edge signal from the acquired DBPL-encoded data; then, performing frequency correction on the extracted first-level synchronization edge signal to obtain a second-level synchronization edge signal, and extracting a synchronization clock signal based on the second-level synchronization edge signal; furthermore, based on DBPL encoding rules and the second-level synchronization edge signal, extracting feature data from the DBPL-encoded data; finally, based on DBPL encoding rules, combining the DBPL feature data and the synchronization clock signal, obtaining message data, thus achieving DBPL-encoded data decoding.

[0058] By adding a frequency correction step and obtaining DBPL characteristic data based on the corrected secondary synchronization edge signal, DBPL encoded data decoding is achieved, which improves the accuracy and reliability of DBPL encoded data decoding and enhances the anti-interference capability of the equipment.

[0059] It should be noted that the DBPL encoded data decoding method and apparatus provided in this application can be applied to the field of encoded data processing technology. The above is merely an example and does not limit the application field of the DBPL encoded data decoding method and apparatus provided in this application.

[0060] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0061] Figure 1 This is a flowchart illustrating a DBPL encoded data decoding method provided in an embodiment of this application. (In conjunction with...) Figure 1 As shown in the embodiment of this application, a DBPL encoded data decoding method may include:

[0062] S101: Obtain DBPL encoded data.

[0063] In practical applications, the first step in decoding differential biphase modulation (DBPL) encoded data is to acquire the DBPL encoded data. This application utilizes an active transponder to acquire the DBPL encoded data and perform the subsequent decoding process.

[0064] In one scenario, regarding how to acquire DBPL encoded data, S101 may specifically include:

[0065] Receive input signals sent by ground electronic units;

[0066] DBPL encoded data is obtained from the input signal.

[0067] In practical applications, active transponder devices are installed in the middle of the train track and connected to the trackside electronic unit (LEU) device inside the station via a cable. When a train passes, it sends message data to the onboard antenna; when the cable transmission channel fails, it transmits the message data information stored within itself. In this application, the LEU sends an input signal containing DBPL message encoded data and an 8.82kHz sine wave to the active transponder via a C interface. The active transponder then extracts the DBPL encoded data from this input signal and decodes it.

[0068] S102: Extract the first-level synchronization edge signal based on the DBPL encoded data.

[0069] In practical applications, edge signals are typically extracted using a D flip-flop delay method based on the acquired DBPL encoded data.

[0070] S103: Perform frequency correction on the first-level synchronization edge signal to obtain the second-level synchronization edge signal.

[0071] In practical applications, because the distance between the active transponder and the station can range from hundreds of meters to several kilometers, the C-interface data may be subject to interference during transmission. This can cause frequency offset in the DBPL message encoding data parsed by the hardware circuit when it reaches the transponder, resulting in the inability to parse the correct message data. This application addresses this by performing frequency correction on the synchronization edge signal first, obtaining a secondary synchronization edge signal for subsequent DBPL encoded data decoding.

[0072] S104: Extract the synchronization clock signal based on the secondary synchronization edge signal.

[0073] In practical applications, the active transponder DBPL encoded data decoding uses a phase-locked loop (PLL) to extract the synchronization clock signal. PLLs include analog PLLs and digital PLLs. If an analog PLL is used, a suitable integrated circuit (IC) with PLL functionality needs to be selected, and an appropriate threshold needs to be set according to the IC's datasheet to extract the synchronization clock signal. If a digital PLL is used, the message data frequency-doubled signal present in the secondary synchronization edge signal needs to be processed to obtain the synchronization clock signal. In this application, the message data frequency-doubled signal present in the secondary synchronization edge signal can be processed to obtain the synchronization clock signal.

[0074] S105: Based on the DBPL encoding rules and the secondary synchronization edge signal, extract the feature data of the DBPL encoded data.

[0075] In practical applications, DBPL code, or Differential Biphase Modulation code, is an encoding of absolute bidirectional code relative to non-return-to-zero (NRZ) code through differential transformation. The encoding rules for DBPL signals are as follows: Figure 2 As shown. First, the signal is divided into two categories according to its internal phase change: state A, which changes from +1 to -1, and state B, which changes from -1 to +1. Then, the state of the current symbol is compared with the state of the preceding adjacent symbol. If the current symbol state is the same as the previous symbol state, it is the original code 1; otherwise, it is the original code 0. Therefore, based on the DBPL encoding principle of this rule, combined with the second-level synchronization edge signal, the feature data of this DBPL encoded data can be extracted.

[0076] S106: Based on the DBPL encoding rules, the message data is obtained by combining the feature data and the synchronization clock signal, thereby realizing the decoding of the DBPL encoded data.

[0077] In practical applications, combined with Figure 2 According to the above-mentioned encoding rule for DBPL signals, the correct message data is obtained by combining the synchronous clock signal extracted from the secondary synchronous edge signal with the feature data, thereby realizing the decoding of the DBPL encoded data.

[0078] In summary, this application first acquires DBPL encoded data and extracts the first-level synchronization edge signal from it. Then, it performs frequency correction on the extracted first-level synchronization edge signal to obtain the second-level synchronization edge signal, and extracts the synchronization clock signal based on this signal. Furthermore, based on the DBPL encoding rules and the second-level synchronization edge signal, the application extracts feature data from the DBPL encoded data. Finally, based on the DBPL encoding rules, the application obtains message data by combining the DBPL feature data and the synchronization clock signal, thus achieving DBPL encoded data decoding. Therefore, by adding a frequency correction step and obtaining DBPL feature data based on the corrected second-level synchronization edge signal for DBPL encoded data decoding, the accuracy and reliability of DBPL encoded data decoding are improved, while the anti-interference capability of the equipment is enhanced.

[0079] Figure 3 This application provides a flowchart for extracting a first-level synchronization edge signal according to an embodiment. In one case, it describes how to extract the first-level synchronization edge signal based on DBPL encoded data. Accordingly, S102: Extracting the first-level synchronization edge signal based on the DBPL encoded data specifically includes:

[0080] The DBPL encoded data is delayed for the first time to obtain a first-level delayed signal;

[0081] The first-level delayed signal is delayed a second time to obtain the second-level delayed signal;

[0082] The first-level delay signal and the second-level delay signal are XORed to obtain the edge signal of the DBPL encoded data;

[0083] The edge signal is filtered to obtain a first-level synchronous edge signal.

[0084] In practical applications, such as Figure 3 As shown, the DBPL encoded data is delayed twice. The first delay yields the first-level delayed signal S1, and the second delay yields the second-level delayed signal S2. Then, the first-level delayed signal S1 and the second-level delayed signal S2 are XORed using an XOR gate to obtain the edge signal of the DBPL encoded data. Finally, the edge signal and the frequency cancellation threshold signal are ANDed using an AND gate to filter the edge signal, resulting in the first-level synchronous edge signal.

[0085] In addition, the methods for filtering edge signals may differ.

[0086] In one scenario, the filtering of edge signals is discussed. Specifically, the filtering of the edge signals to obtain a first-level synchronous edge signal includes:

[0087] The first pulse frequency in the edge signal is filtered out to obtain a first-level synchronous edge signal;

[0088] The edge signal includes: a first pulse frequency and a second pulse frequency;

[0089] The first pulse frequency is twice the second pulse frequency.

[0090] In practical applications, according to the DBPL encoding rules, the edge signal of DBPL encoded data contains two pulse frequencies, and the two frequencies are twice each other. Therefore, the high-frequency pulse edge needs to be filtered out to obtain the edge signal that is consistent with the message symbol frequency, that is, the first-level synchronization edge signal.

[0091] In summary, by delaying the DBPL encoded data twice and then XORing it, the edge signal is obtained. Then, according to the DBPL encoding rules, the higher-frequency pulse edge is filtered out from two pulse edges whose frequencies are twice that of the other, resulting in a first-level synchronization edge signal. This process eliminates the double frequency in the edge pulse signal, obtaining an edge signal consistent with the message symbol frequency. This provides a prerequisite for decoding DBPL encoded data, improving the accuracy and reliability of DBPL encoded data decoding while enhancing the equipment's anti-interference capability.

[0092] Figure 4 This is a flowchart illustrating the acquisition of a secondary synchronization edge signal according to an embodiment of this application. In one case, it describes how to perform frequency correction on the primary synchronization edge signal to obtain the secondary synchronization edge signal. Accordingly, S103: Performing frequency correction on the primary synchronization edge signal to obtain the secondary synchronization edge signal specifically includes:

[0093] A frequency comparator is used to compare the difference between the frequency of the first-level synchronization edge signal and the frequency of the standard message data;

[0094] Based on the difference, the frequency of the first-level synchronization edge signal is corrected using an adder counter or a subtractor counter to obtain the second-level synchronization edge signal.

[0095] In practical applications, DBPL encoded data may experience data jitter due to interference during long-distance transmission. Therefore, it is necessary to extract the secondary synchronization edge signal. This can be achieved by adding a frequency comparator, which compares the primary synchronization edge signal with the standard message data frequency. The difference obtained from the comparison is then used to correct the frequency of the primary synchronization edge signal, thus obtaining the secondary synchronization edge signal. For example, if the frequency comparator determines that the primary synchronization edge signal frequency is greater than the standard message data frequency, the system can use a subtraction counter to trim the primary synchronization edge signal frequency, reducing it to match the standard message data frequency. Conversely, if the frequency comparator determines that the primary synchronization edge signal frequency is less than the standard message data frequency, the system can use a subtraction counter to compensate for the primary synchronization edge signal frequency, increasing it to match the standard message data frequency.

[0096] In addition, this application also provides a method for modifying the adder counter and the subtraction timer.

[0097] In one scenario, the method addresses how to correct the adder counter and the subtractor timer. Specifically, the method further includes:

[0098] The difference is accumulated using an error accumulator;

[0099] When the error value exceeds the first set threshold, the adder counter and the subtractor timer are corrected.

[0100] In practical applications, since the data signal of the active transponder device and the C interface signal transmitted by the LEU are not in the same clock domain, timing errors inevitably occur during message data parsing. Therefore, this application designs an error accumulator. When the error accumulates to a certain level, i.e., exceeding a first set threshold, it is fed back to the adder and subtractor counters for correction. Finally, based on the results of the adder and subtractor counters, a logical judgment is performed to obtain the secondary synchronization edge signal.

[0101] In summary, such as Figure 4As shown, this application describes a method for extracting the secondary synchronization edge signal. First, a frequency comparator compares the primary synchronization edge signal with the standard message data frequency. Then, the frequency of the primary synchronization edge signal is corrected based on the difference obtained from the comparison. Finally, logical judgment is performed based on the results of the adder and subtractor counters to obtain the secondary synchronization edge signal. Simultaneously, an error accumulator designed in this application is used to feed the error back to the adder and subtractor counters for correction. Therefore, by adding a frequency correction step, the accuracy and reliability of decoding DBPL encoded data are improved, while the anti-interference capability of the equipment is enhanced.

[0102] Figure 5 This application provides a timing diagram for extracting a synchronization clock signal. In one case, regarding how to extract the synchronization clock signal based on the secondary synchronization edge signal, S104: Extracting the synchronization clock signal based on the secondary synchronization edge signal specifically includes:

[0103] The first synchronization clock signal is extracted based on the second-level synchronization edge signal;

[0104] The first synchronous clock signal is doubled to obtain the second synchronous clock signal.

[0105] In practical applications, after obtaining the second-level synchronization edge signal, the synchronization clock signal can be extracted to obtain the first synchronization clock signal with a duty cycle of 50%, namely the synchronization clock signal CLK1. Then, the frequency is doubled to obtain the second synchronization clock signal, namely the synchronization clock signal CLK2.

[0106] In summary, based on the timing diagrams of the secondary synchronization edge signals extracted from the synchronization clocks CLK1 and CLK2, as well as the secondary synchronization edge signals, as shown below... Figure 5 As shown.

[0107] Figure 6 This application provides a timing diagram for extracting DBPL feature data according to an embodiment. In one case, regarding how to extract feature data of the DBPL encoded data based on the DBPL encoding rules and the secondary synchronization edge signal, S105: Extracting feature data of the DBPL encoded data based on the DBPL encoding rules and the secondary synchronization edge signal specifically includes:

[0108] Based on the DBPL encoding rules, and combining the first synchronization clock signal and the second synchronization clock signal, feature data of the DBPL encoded data are extracted.

[0109] In practical applications, due to potential frequency offsets in DBPL encoded data, it is necessary to extract the characteristic data of the DBPL encoded data before decoding it. Based on the aforementioned DBPL encoding rules and combined with the secondary synchronization edge signal, the characteristic data of the DBPL encoded data can be extracted.

[0110] In summary, based on the aforementioned DBPL encoding rules and combined with the secondary synchronization edge signal, the extracted feature data, secondary synchronization edge, and timing diagram of the DBPL encoded data are as follows: Figure 6 As shown.

[0111] Figure 7 This application provides a message data decoding timing diagram according to an embodiment. In one case, regarding how to obtain message data based on the DBPL encoding rules, combined with the feature data and the synchronization clock signal, to achieve DBPL encoded data decoding, the following steps are taken: S106: Obtaining message data based on the DBPL encoding rules, combined with the feature data and the synchronization clock signal, to achieve DBPL encoded data decoding, specifically includes:

[0112] The first encoded data signal of the feature data is delayed using the first synchronous clock signal to obtain the second encoded data signal;

[0113] The first encoded data signal and the second encoded data signal are XORed to obtain message data, thereby realizing the decoding of the DBPL encoded data.

[0114] In practical applications, the DBPL feature data can be encoded as T1. The T1 signal is then delayed using the synchronous clock signal CLK1 to obtain the second encoded data signal. This second encoded data signal can be named T2. Then, the T1 and T2 data signals are XORed to obtain the message data. This message data can be named T3, and T3 is the message data we need.

[0115] In summary, the timing diagrams for the obtained T2 data signal, T3 data signal, T1 data signal, and synchronous clock CLK1 are as follows: Figure 7 As shown.

[0116] In summary, this application first acquires DBPL encoded data and extracts the first-level synchronization edge signal from it. Then, it performs frequency correction on the extracted first-level synchronization edge signal to obtain the second-level synchronization edge signal, and extracts the synchronization clock signal based on this signal. Furthermore, based on the DBPL encoding rules and the second-level synchronization edge signal, the application extracts feature data from the DBPL encoded data. Finally, based on the DBPL encoding rules, the application obtains message data by combining the DBPL feature data and the synchronization clock signal, thus achieving DBPL encoded data decoding. Therefore, by adding a frequency correction step and obtaining DBPL feature data based on the corrected second-level synchronization edge signal for DBPL encoded data decoding, the accuracy and reliability of DBPL encoded data decoding are improved, while the anti-interference capability of the equipment is enhanced.

[0117] Figure 8 This is a schematic diagram of the DBPL encoded data decoding device provided in an embodiment of this application. (In conjunction with...) Figure 8 As shown in the embodiment of this application, a DBPL encoded data decoding device 200 may include:

[0118] Module 201 is used to acquire DBPL encoded data;

[0119] The first extraction module 202 is used to extract the first-level synchronization edge signal based on the DBPL encoded data;

[0120] The frequency correction module 203 is used to perform frequency correction on the first-level synchronization edge signal to obtain the second-level synchronization edge signal;

[0121] The second extraction module 204 is used to extract the synchronization clock signal based on the secondary synchronization edge signal;

[0122] The third extraction module 205 is used to extract feature data of the DBPL encoded data according to the DBPL encoding rules and in combination with the secondary synchronization edge signal;

[0123] The parsing module 206 is used to obtain message data based on the DBPL encoding rules, the feature data, and the synchronization clock signal, and to decode the DBPL encoded data.

[0124] As one implementation method, the acquisition module 201 described above is specifically used for: obtaining DBPL encoded data.

[0125] Receive input signals sent by ground electronic units;

[0126] DBPL encoded data is obtained from the input signal.

[0127] As one implementation method, the first extraction module 202 specifically includes the following for extracting the first-level synchronization edge signal based on the DBPL encoded data:

[0128] The first delay module is used to delay the DBPL encoded data for the first time to obtain a first-level delay signal;

[0129] The second delay module is used to delay the first-level delay signal a second time to obtain the second-level delay signal;

[0130] The XOR module is used to perform XOR processing on the first-level delay signal and the second-level delay signal to obtain the edge signal of the DBPL encoded data;

[0131] The filtering module is used to filter the edge signal to obtain a first-level synchronous edge signal.

[0132] As one implementation method, the filtering module is specifically used to filter the edge signal to obtain a first-level synchronous edge signal.

[0133] The first pulse frequency in the edge signal is filtered out to obtain a first-level synchronous edge signal;

[0134] The edge signal includes: a first pulse frequency and a second pulse frequency;

[0135] The first pulse frequency is twice the second pulse frequency.

[0136] As one implementation method, the frequency correction module 203 is specifically used to perform frequency correction on the first-level synchronization edge signal to obtain the second-level synchronization edge signal.

[0137] A frequency comparator is used to compare the difference between the frequency of the first-level synchronization edge signal and the frequency of the standard message data;

[0138] Based on the difference, the frequency of the first-level synchronization edge signal is corrected using an adder counter or a subtractor counter to obtain the second-level synchronization edge signal.

[0139] As another implementation, the above-mentioned correction module 203 further includes the following for correcting the adder counter and the subtractor timer:

[0140] The correction module is used to accumulate the error value of the difference using an error accumulator;

[0141] When the error value exceeds the first set threshold, the adder counter and the subtractor timer are corrected.

[0142] As one implementation method, the second extraction module 204 is specifically used to extract the synchronization clock signal based on the secondary synchronization edge signal:

[0143] The first synchronization clock signal is extracted based on the second-level synchronization edge signal;

[0144] The first synchronous clock signal is doubled to obtain the second synchronous clock signal.

[0145] As one implementation method, the third extraction module 205 is specifically used to extract feature data of the DBPL encoded data based on the DBPL encoding rules and the secondary synchronization edge signal, in order to:

[0146] Based on the DBPL encoding rules, and combining the first synchronization clock signal and the second synchronization clock signal, feature data of the DBPL encoded data are extracted.

[0147] As one implementation method, regarding how to obtain message data based on the DBPL encoding rules, combined with the feature data and the synchronization clock signal, and to decode the DBPL encoded data, the parsing module 206 is specifically used for:

[0148] The first encoded data signal of the feature data is delayed using the first synchronous clock signal to obtain the second encoded data signal;

[0149] The first encoded data signal and the second encoded data signal are XORed to obtain message data, thereby realizing the decoding of the DBPL encoded data.

[0150] In summary, this application first acquires DBPL encoded data and extracts the first-level synchronization edge signal from it. Then, it performs frequency correction on the extracted first-level synchronization edge signal to obtain the second-level synchronization edge signal, and extracts the synchronization clock signal based on this signal. Furthermore, based on the DBPL encoding rules and the second-level synchronization edge signal, the application extracts feature data from the DBPL encoded data. Finally, based on the DBPL encoding rules, the application obtains message data by combining the DBPL feature data and the synchronization clock signal, thus achieving DBPL encoded data decoding. Therefore, by adding a frequency correction step and obtaining DBPL feature data based on the corrected second-level synchronization edge signal for DBPL encoded data decoding, the accuracy and reliability of DBPL encoded data decoding are improved, while the anti-interference capability of the equipment is enhanced.

[0151] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for decoding DBPL encoded data, characterized in that, The method includes: Obtain DBPL encoded data; Based on the DBPL encoded data, extract the first-level synchronization edge signal; Frequency correction is performed on the first-level synchronization edge signal to obtain the second-level synchronization edge signal; Based on the secondary synchronization edge signal, extract the synchronization clock signal; Based on the DBPL encoding rules and the secondary synchronization edge signal, feature data of the DBPL encoded data are extracted. According to the DBPL encoding rules, the message data is obtained by combining the feature data and the synchronization clock signal, and the DBPL encoded data is decoded. The step of frequency correction of the first-level synchronization edge signal to obtain the second-level synchronization edge signal includes: A frequency comparator is used to compare the difference between the frequency of the first-level synchronization edge signal and the frequency of the standard message data; Based on the difference, the frequency of the first-level synchronization edge signal is corrected using an adder counter or a subtractor counter to obtain the second-level synchronization edge signal; The method further includes: The difference is accumulated using an error accumulator; When the error value exceeds the first set threshold, the adder counter and the subtractor counter are corrected.

2. The method according to claim 1, characterized in that, The step of extracting the first-level synchronization edge signal based on the DBPL encoded data includes: The DBPL encoded data is delayed for the first time to obtain a first-level delayed signal; The first-level delayed signal is delayed a second time to obtain the second-level delayed signal; The first-level delay signal and the second-level delay signal are XORed to obtain the edge signal of the DBPL encoded data; The edge signal is filtered to obtain a first-level synchronous edge signal.

3. The method according to claim 2, characterized in that, The filtering of the edge signal to obtain a first-level synchronous edge signal includes: The first pulse frequency in the edge signal is filtered out to obtain a first-level synchronous edge signal; The edge signal includes: a first pulse frequency and a second pulse frequency; The first pulse frequency is twice the second pulse frequency.

4. The method according to claim 1, characterized in that, The step of extracting the synchronization clock signal based on the secondary synchronization edge signal includes: The first synchronization clock signal is extracted based on the second-level synchronization edge signal; The first synchronous clock signal is doubled to obtain the second synchronous clock signal.

5. The method according to claim 4, characterized in that, The step of extracting feature data of the DBPL encoded data according to the DBPL encoding rules and in conjunction with the secondary synchronization edge signal includes: Based on the DBPL encoding rules, and combining the first synchronization clock signal and the second synchronization clock signal, feature data of the DBPL encoded data are extracted.

6. The method according to claim 5, characterized in that, The step of obtaining message data according to the DBPL encoding rules, combining the feature data and the synchronization clock signal, and decoding the DBPL encoded data includes: The first encoded data signal of the feature data is delayed using the first synchronous clock signal to obtain the second encoded data signal; The first encoded data signal and the second encoded data signal are XORed to obtain message data, thereby realizing the decoding of the DBPL encoded data.

7. The method according to claim 1, characterized in that, The acquisition of DBPL encoded data includes: Receive input signals sent by ground electronic units; DBPL encoded data is obtained from the input signal.

8. A DBPL encoded data decoding device, comprising: The acquisition module is used to acquire DBPL encoded data; The first extraction module is used to extract the first-level synchronization edge signal based on the DBPL encoded data; The frequency correction module is used to perform frequency correction on the first-level synchronization edge signal to obtain the second-level synchronization edge signal. The second extraction module is used to extract the synchronization clock signal based on the secondary synchronization edge signal; The third extraction module is used to extract the feature data of the DBPL encoded data according to the DBPL encoding rules and in combination with the second-level synchronization edge signal; The parsing module is used to obtain message data based on the DBPL encoding rules, the feature data, and the synchronization clock signal, and to decode the DBPL encoded data. The correction module is specifically used for: A frequency comparator is used to compare the difference between the frequency of the first-level synchronization edge signal and the frequency of the standard message data; Based on the difference, the frequency of the first-level synchronization edge signal is corrected using an adder counter or a subtractor counter to obtain the second-level synchronization edge signal; The correction module further includes: a correction module; The correction module is used to accumulate the error value of the difference using an error accumulator; When the error value exceeds the first set threshold, the adder counter and the subtractor counter are corrected.

Citation Information

Patent Citations

  • Automatic adjusted oscillator with high accuracy

    CN1960183A