CN116488648A - Fuzzy processing method, equipment and storage medium for eliminating continuous bubble - Google Patents

Fuzzy processing method, equipment and storage medium for eliminating continuous bubble Download PDF

Info

Publication number
CN116488648A
CN116488648A CN202310581906.6A CN202310581906A CN116488648A CN 116488648 A CN116488648 A CN 116488648A CN 202310581906 A CN202310581906 A CN 202310581906A CN 116488648 A CN116488648 A CN 116488648A
Authority
CN
China
Prior art keywords
decoding
result
thermometer code
exclusive
bit
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.)
Granted
Application number
CN202310581906.6A
Other languages
Chinese (zh)
Other versions
CN116488648B (en
Inventor
高青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Cetc Xingtuo Technology Co ltd
Original Assignee
Chengdu Cetc Xingtuo Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chengdu Cetc Xingtuo Technology Co ltd filed Critical Chengdu Cetc Xingtuo Technology Co ltd
Priority to CN202310581906.6A priority Critical patent/CN116488648B/en
Publication of CN116488648A publication Critical patent/CN116488648A/en
Application granted granted Critical
Publication of CN116488648B publication Critical patent/CN116488648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/06Continuously compensating for, or preventing, undesired influence of physical parameters
    • H03M1/08Continuously compensating for, or preventing, undesired influence of physical parameters of noise
    • H03M1/0809Continuously compensating for, or preventing, undesired influence of physical parameters of noise of bubble errors, i.e. irregularities in thermometer codes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention provides a fuzzy processing method for eliminating continuous bubbles, which is characterized in that when bubbles appear in a thermometer code, the leftmost bit and the rightmost bit of the thermometer code are combined, and if the combined data is 2' b00, the decoding result is directly 0; if the combined data is 2' b11, the decoding result is full scale; if the combined data is 2'b01 or 2' b10, the thermometer code is shifted one bit to the right and then is exclusive-or with the original thermometer code, and the output decoding value is determined according to the exclusive-or result. The invention can decode correct results when the continuous bubble condition occurs, and the accuracy and the reliability are higher than those of the traditional mode.

Description

Fuzzy processing method, equipment and storage medium for eliminating continuous bubble
Technical Field
The present invention relates to the field of digital circuits, and in particular, to a fuzzy processing method, apparatus and storage medium for eliminating continuous bubbles.
Background
When chip technology is implemented, if the delay accuracy of the thermometer code is small, for example, only 1ps, the delay of the bypass is larger than the delay of the thermometer code unit in the process. When a problem occurs in a certain delay or delays of the thermometer code, one or more jumps occur in the middle of the thermometer code, which is called bubbles, and the schematic diagram is shown in fig. 1.
When this occurs, the result of direct decoding is incorrect, and the correct decoded value cannot be recovered, and blurring processing is required. The traditional fuzzy processing mode is to shift the output thermometer code by one bit right with the thermometer code or then decode. However, simply shifting the output thermometer code by one bit to the right or not very good for the problem of the bubbles, only the jump of the thermometer code under a single condition can be processed, and the bubbles continuously and intermittently can not be processed.
Disclosure of Invention
Aiming at the problems in the prior art, a fuzzy processing method for eliminating continuous bubbles, electronic equipment and a storage medium are provided. The decoding output is determined by judging the leftmost bit and the rightmost bit of the thermometer code and combining the right shift or the judging result, so that the influence of continuous bubbles can be effectively solved.
The technical scheme adopted by the invention is as follows: when a bubble appears in a thermometer code, combining the leftmost bit with the rightmost bit of the thermometer code, and if the combined data is 2' b00, directly obtaining a decoding result of 0; if the combined data is 2' b11, the decoding result is full scale; if the combined data is 2'b01 or 2' b10, the thermometer code is shifted one bit to the right and then is exclusive-or with the original thermometer code, and the output decoding value is determined according to the exclusive-or result.
As a preferred option, when the combined data is 2' b01, the full scale is output if the first 1 of the exclusive or result occurs at the position of full scale/-1 or to the left thereof, otherwise 0 is output.
Preferably, when the combined data is 2' b10, the position value of the first 1 in the exclusive-or result is taken as the decoding output.
As a preferable scheme, when outputting the decoded value according to the exclusive or result, it is classified into left decoding and right decoding; the decoded value is output according to the position where the first 1 appears from the left or from the right.
Preferably, when the combination is 2' b10, if left-to-right decoding is adopted, the position value of the first 1 from left to right in the exclusive-or result is outputted as the decoded data.
Preferably, when the combination is 2' b10, if right decoding is adopted, the position value of the first 1 from right to left in the exclusive-or result is outputted as the decoding.
As a preferred scheme, when the bubble appears on the left side of the thermometer code, the right decoding is selected, and when the bubble appears on the right side of the thermometer code, the left decoding is selected.
The invention also provides an electronic device which comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and is corresponding to the fuzzy processing method for eliminating continuous bubbles.
The invention also provides a computer readable storage medium, on which computer program instructions are stored, which when executed by a processor are used to implement the process corresponding to the above-mentioned fuzzy processing method for eliminating continuous bubbles.
Compared with the prior art, the beneficial effects of adopting the technical scheme are as follows: the invention can decode correct results when the continuous bubble condition occurs, and the accuracy and the reliability are higher than those of the traditional mode.
Drawings
FIG. 1 is a schematic diagram of a thermometer code with a bubble.
Fig. 2 is a flowchart of a fuzzy processing method for eliminating continuous bubbles according to the present invention.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar modules or modules having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application. On the contrary, the embodiments of the present application include all alternatives, modifications, and equivalents as may be included within the spirit and scope of the appended claims.
The thermometer code and the thermometer code are simply shifted one bit to the right and then are phase-shifted or the problem of the bubbles cannot be solved, only the jump of the thermometer code under the single condition can be processed, the bubbles continuously and alternately appear and the direct decoding result can be wrong, and therefore, the embodiment of the invention provides a fuzzy processing method for eliminating the continuous bubbles, and the influence of the continuous bubbles can be effectively eliminated by comprehensively determining the decoding output by combining the leftmost data and the rightmost data of the thermometer code with the right shift or the result. The specific scheme is as follows:
referring to fig. 1, in a fuzzy processing method for eliminating continuous bubbles, when a thermometer code appears a bubble, combining the leftmost bit and the rightmost bit of the thermometer code, if the combined data is 2' b00 (representing two binary 00), the decoding result is directly 0; if the combined data is 2' b11 (representing two-bit binary 11), the decoding result is full scale; if the combined data is 2'b01 (representing two-bit binary 01) or 2' b10 (representing two-bit binary 10), the thermometer code is shifted one bit to the right and then exclusive-or with the original thermometer code, and the output decoding value is determined according to the exclusive-or result.
In the present embodiment, when outputting the decoded value according to the exclusive or result, it is classified into left-decoding and right-decoding; the decoded value is output according to the position where the first 1 appears from the left or from the right.
When the bubble does not appear, the right shift is basically consistent with the left shift or with the direct decoding result; when there are different bubbles, the conventional method may not be able to handle the situation, but the method can extract useful information and allow the loop to converge effectively.
Referring to fig. 1, in this embodiment, when the combined data is 2' b01, if the first 1 of the exclusive or results occurs at the position of full scale/-1 or left thereof, then the full scale is output, otherwise 0 is output. For example, when the full scale is 10 bits, the full scale/2-1=4, assuming that the exclusive or result is 000101100, decoding from left and right, and decoding from left, that is, seeing from left to right, that the first 1 appears in the 4 th bit, outputting 10; the first 1 appears at bit 7 when seen from right decoding, i.e., from right to left, and then outputs 0. It can be seen that there is a certain difference between the actual decoding from the left and the actual decoding from the right, and the adjustment can be made according to the specific situation when the application is performed.
And when the combined data is 2' b10, the position value of the first 1 in the exclusive OR result is taken as the decoding output. For example, the full scale is 10 bits, assuming that the exclusive or result is 000010110, the first 1 appears at the 5 th bit when seen from left decoding, i.e., from left to right, so the output result from left decoding is 5; the first 1 appears at bit 8 as seen from right decoding, i.e., from right to left, so the output from right decoding is 8.
Meanwhile, the embodiment further describes a proposed method for eliminating continuous bubbles by taking a 10-bit thermometer code as an example.
If no bubble is present, the results of decoding from left and right are identical to those of direct decoding, as shown in the following table:
when 1 bubble appears in the adjacent 1 bit on the left, the method can basically recover, has the best decoding performance from the right, has a difference value of 2 bits from the left decoding, does not influence convergence, and is specifically shown in the following table:
when 1 bubble appears in the adjacent 1 bit on the right, the method can basically recover, has the best decoding performance from the left, has a difference value of 2 bits from the right, does not influence convergence, and is particularly shown in the following table:
when 1 bubble appears in the left adjacent 2 bits, the method can basically recover, has the best decoding performance from the right, has a difference value of 3 bits from the left decoding, does not influence convergence, and is specifically shown in the following table:
when 1 bubble appears in the adjacent 2 bits on the right, the method can basically recover, has the best decoding performance from the left, has a difference value of 3 bits from the right, does not influence convergence, and is particularly shown in the following table:
when 2 bubbles appear in the adjacent 1 bit on the left, the method can basically recover, has the best decoding performance from the right, has a difference value of 3 bits from the left decoding, does not influence convergence, and is specifically shown in the following table:
when 2 bubbles appear in the adjacent 1 bit on the right, the method can basically recover, has the best decoding performance from the left, has a difference value of 3 bits from the right, does not influence convergence, and is particularly shown in the following table:
/>
it can be seen that both left decoding and right decoding can be recovered, and the two can cope with different bubble conditions, and the functions are complementary; when the bubble appears on the left side, the right decoding is selected, and when the bubble appears on the right side, the left decoding is selected, so that the performance is better. In practical application, the mode of controlling fuzzy processing by FTDC_dec_mode can be designed, wherein 0 is not fuzzy processing, 1 is decoding from left, 2 is decoding from right, and most of the cases of bubbles (including continuous bubbles) can be processed without basically increasing area and delay.
Example 1
The embodiment provides a fuzzy processing method for eliminating continuous bubbles, when bubbles appear in a thermometer code, the leftmost bit and the rightmost bit of the thermometer code are combined, if the combined data is 2' b00, the decoding result is directly 0; if the combined data is 2' b11, the decoding result is full scale; if the combined data is 2'b01 or 2' b10, the thermometer code is shifted one bit to the right and then is exclusive-or with the original thermometer code, and the output decoding value is determined according to the exclusive-or result.
Example 2
On the basis of embodiment 1, in this embodiment, when the combined data is 2' b01, if the first 1 of the exclusive or result appears at the position of full scale/-1 or left side thereof, then the full scale is output, otherwise 0 is output.
Example 3
In this embodiment, when the combined data is 2' b10, the position value of the first 1 in the exclusive-or result is used as the decoding output.
Example 4
On the basis of embodiment 1, in this embodiment, when outputting a decoded value according to the exclusive or result, it is classified into left-decoding and right-decoding; the decoded value is output according to the position where the first 1 appears from the left or from the right.
Example 5
In this embodiment, when the combination is 2' b10, if left-to-left decoding is adopted, the position value of the first 1 from left to right in the exclusive-or result is outputted as the decoded data.
Example 6
In this embodiment, when the combination is 2' b10, if right decoding is adopted, the position value of the first 1 from right to left in the exclusive-or result is outputted as the decoded data.
Example 7
In this embodiment, when the bubble appears on the left of the thermometer code, the right decoding is selected, and when the bubble appears on the right of the thermometer code, the left decoding is selected.
Example 8
The present embodiment also proposes an electronic device, including a memory and a processor, where the memory stores a computer program corresponding to the fuzzy processing method for eliminating continuous bubbles described in embodiment 1, which can be loaded and executed by the processor.
Example 9
In this embodiment, a computer-readable storage medium is also provided, on which computer program instructions are stored, where the program instructions are used to implement a procedure corresponding to the fuzzy processing method for eliminating continuous bubbles described in embodiment 1 when the program instructions are executed by a processor.
The present invention can be preferably achieved by the above examples 1 to 9.
It should be noted that, in the description of the embodiments of the present invention, unless explicitly specified and limited otherwise, the terms "disposed," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; may be directly connected or indirectly connected through an intermediate medium. The specific meaning of the above terms in the present invention will be understood in detail by those skilled in the art; the accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Although embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (9)

1. A fuzzy processing method for eliminating continuous bubble is characterized in that when bubble appears in thermometer code, the leftmost bit and rightmost bit of thermometer code are combined, if the combined data is 2' b00, the decoding result is directly 0; if the combined data is 2' b11, the decoding result is full scale; if the combined data is 2'b01 or 2' b10, the thermometer code is shifted one bit to the right and then is exclusive-or with the original thermometer code, and the output decoding value is determined according to the exclusive-or result.
2. The method according to claim 1, wherein when the combined data is 2' b01, the full scale is outputted if the first 1 of the exclusive or result appears at the position of full scale/-1 or the left side thereof, and otherwise, 0 is outputted.
3. The method according to claim 1 or 2, wherein when the combined data is 2' b10, the first 1 position value in the exclusive-or result is outputted as the decoded data.
4. The method according to claim 1, wherein when outputting the decoded value based on the exclusive or result, the decoded value is outputted based on the position where the first 1 appears from left or right, respectively, in the left-decoding and right-decoding.
5. The method of claim 3, wherein when the combination is 2' b10, the position value of the first 1 from left to right in the exclusive-or result is outputted as the decoded data if the left-side decoding is adopted.
6. The method of claim 3, wherein when the combination is 2' b10, the value of the first 1 from right to left in the exclusive-or result is outputted as the decoded value if the right decoding is adopted.
7. The method according to claim 1, wherein the right decoding is selected when a bubble appears on the left of the thermometer code and the left decoding is selected when a bubble appears on the right of the thermometer code.
8. An electronic device comprising a memory and a processor, wherein the memory has stored thereon a computer program that can be loaded by the processor and that executes the method for eliminating continuous bubbles according to any one of claims 1 to 7.
9. A computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor are adapted to carry out the procedure corresponding to the fuzzy processing method of eliminating continuous bubbles according to any one of claims 1 to 7.
CN202310581906.6A 2023-05-23 2023-05-23 Fuzzy processing method, equipment and storage medium for eliminating continuous bubble Active CN116488648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310581906.6A CN116488648B (en) 2023-05-23 2023-05-23 Fuzzy processing method, equipment and storage medium for eliminating continuous bubble

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310581906.6A CN116488648B (en) 2023-05-23 2023-05-23 Fuzzy processing method, equipment and storage medium for eliminating continuous bubble

Publications (2)

Publication Number Publication Date
CN116488648A true CN116488648A (en) 2023-07-25
CN116488648B CN116488648B (en) 2024-06-07

Family

ID=87225235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310581906.6A Active CN116488648B (en) 2023-05-23 2023-05-23 Fuzzy processing method, equipment and storage medium for eliminating continuous bubble

Country Status (1)

Country Link
CN (1) CN116488648B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006113299A1 (en) * 2005-04-18 2006-10-26 Analog Devices, Inc. System and method for tri-level logic data shuffling for oversampling data conversion
US20160365876A1 (en) * 2015-06-15 2016-12-15 Intel Corporation Use of error correcting code to carry additional data bits
CN115883023A (en) * 2023-01-29 2023-03-31 北京蓝玛星际科技有限公司 GSM error correction decoding method, equipment, device and storage medium
CN116032298A (en) * 2022-12-30 2023-04-28 成都电科星拓科技有限公司 Bubble fuzzy processing method, electronic equipment and storage medium
US20230138561A1 (en) * 2021-11-03 2023-05-04 Samsung Electronics Co., Ltd. Apparatuses and methods for zq calibration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006113299A1 (en) * 2005-04-18 2006-10-26 Analog Devices, Inc. System and method for tri-level logic data shuffling for oversampling data conversion
US20160365876A1 (en) * 2015-06-15 2016-12-15 Intel Corporation Use of error correcting code to carry additional data bits
US20230138561A1 (en) * 2021-11-03 2023-05-04 Samsung Electronics Co., Ltd. Apparatuses and methods for zq calibration
CN116032298A (en) * 2022-12-30 2023-04-28 成都电科星拓科技有限公司 Bubble fuzzy processing method, electronic equipment and storage medium
CN115883023A (en) * 2023-01-29 2023-03-31 北京蓝玛星际科技有限公司 GSM error correction decoding method, equipment, device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MIKHAIL M. PILIPKO等: "The XOR-MAJ Thermometer-to-Binary Encoder Structure Stable to Bubble Errors", 《IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II: EXPRESS BRIEFS》, 31 December 2021 (2021-12-31), pages 2613 *
乔冰涛等: "双模冗余汉明码的设计与验证", 哈尔滨工业大学学报, no. 10, 25 September 2020 (2020-09-25), pages 161 - 166 *

Also Published As

Publication number Publication date
CN116488648B (en) 2024-06-07

Similar Documents

Publication Publication Date Title
US20180227465A1 (en) Cadence analysis for a video signal having an interlaced format
EP2091169B1 (en) An error correction method for synchronization frames
JP4844629B2 (en) Apparatus and method for error correction in mobile wireless applications incorporating erasure table data
JP3923743B2 (en) Decoding device and decoding method
CN116488648B (en) Fuzzy processing method, equipment and storage medium for eliminating continuous bubble
JPH07202957A (en) Digital signal processor
CN1777256A (en) Enhanced VSB viterbi decoder
CN116032298A (en) Bubble fuzzy processing method, electronic equipment and storage medium
EP1300976A1 (en) Method of blind transport format detection
US20060020876A1 (en) Method For Simplifying A Viterbi Decoder And A Simplified Viterbi Decoder Using The Same
US7085992B2 (en) Method and device for decoding a sequence of physical signals, reliability detection unit and viterbi decoding unit
KR100450320B1 (en) Method/Module of Digital TV image signal processing with Auto Error Correction
WO2017076301A1 (en) Methods, systems and computer-readable media for error correction
JP5061498B2 (en) Jitter correction method and circuit
JP2005318052A (en) Branch metric computation method
US20090154623A1 (en) Frame-Synchronization Method and Device
JPH02168753A (en) Synchronizing detection method in error correction device, its equipment and synchronizing method using the equipment
US8644432B2 (en) Viterbi decoder for decoding convolutionally encoded data stream
JP4621121B2 (en) Diversity receiver
KR101777349B1 (en) Method and apparatus for transmitting and receiving video stream
US7127666B2 (en) Device and method to carry out a viterbi-algorithm
JP6552776B1 (en) Error correction decoding apparatus and error correction decoding method
EP1176726A1 (en) Decoder
JP4720746B2 (en) Demodulation of multilevel quadrature amplitude modulation signal
US9871623B2 (en) Viterbi decoding apparatus and viterbi decoding method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant