A method and system for Manchester decoding with configurable detection interval
By presetting and flexibly configuring the jump edge sampling interval of different field information of Manchester code in the Manchester decoding method, the decoding failure problem caused by the deviation of Manchester code jump situation is solved, and a higher decoding success rate and accuracy are achieved.
Patent Information
- Application Number
- CN202411533344.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-10-31
AI Technical Summary
When the existing Manchester decoding method faces the deviation of the Manchester code jump situation, it is easy to cause decoding failure, and the sampling point and sampling time of the traditional decoding method are fixed, so it cannot adapt to the deviations generated when data is transmitted by different chips.
By presetting the jump edge sampling intervals of different types of fields in the Manchester code, and upon receiving the transmission data, the jump edge detection of the jump edge of each type of field is performed using a synchronization clock of a preset rate. Flexible configuration of the jump edge detection interval of different field information of Manchester code, accurately overwrite and detect the jump edge of the coded value of the Manchester code in the transmitted data.
It improves the success rate of Manchester code decoding, can adapt to the deviations generated when data is transmitted by different chips, and improves the accuracy and reliability of decoding.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of Manchester encoding, and in particular to a method and system for Manchester decoding with a configurable detection interval. Background Art
[0002] The 1553B bus is a time-division command and response multiplexed data bus with bidirectional transmission characteristics. It uses half-duplex transmission mode and supports transmission speeds of 1Mbps or 4Mbps. It has high real-time performance and reliability and is widely used in contemporary transport aircraft, civil airliners, military aircraft, and aerospace systems.
[0003] Each message word on the data bus consists of a 3-bit synchronization header, 16 valid data bits, and 1 parity bit. The first 1.5 bits of the synchronization header are 1, and the last 1.5 bits are 0, or the first 1.5 bits are 0, and the last 1.5 bits are 1. The 17-bit data is transmitted using Manchester II code. The bipolar encoding 0 / 1 represents logic 0, and 1 / 0 represents logic 1, and it jumps at 0.5T of each bit. When different devices use the 1553B bus to communicate, the data to be sent must be Manchester encoded and then sent to the data bus. The input data needs to be decoded.
[0004] The traditional decoding method generally samples the two parts of the Manchester code value of each group of input data, and then decodes according to the sampled values. In actual applications, due to the external chip itself or the influence of the transceiver, the composition of the synchronization header and the Manchester code of the input data often deviates. The synchronization header may not jump at 1.5T, and there may be a deviation of about 0.2T. Each group of Manchester codes may not jump at 0.5T per bit, and the ratio of the two-bit Manchester code value may not be 1:1. At this time, since the sampling point and sampling time of the traditional decoding method are fixed, it is easy for the sampling value to not conform to the Manchester code composition, resulting in decoding failure, so it needs to be improved. Summary of the invention
[0005] In order to adapt to the deviation of Manchester code jump conditions during data transmission and improve the success rate of Manchester code decoding, the present application provides a method and system for Manchester decoding with a configurable detection interval.
[0006] The above-mentioned invention objective of the present application is achieved through the following technical solutions:
[0007] A method for Manchester decoding with a configurable detection interval comprises the steps of:
[0008] Presetting the transition edge sampling intervals of different type fields in Manchester code;
[0009] When the transmission data is received, the level transition edge detection is performed on the transition edge sampling interval of each type field respectively through the synchronous clock of the preset rate, wherein the preset rate is greater than the transmission rate of the transmission data;
[0010] When a transition edge is detected in the type field, a corresponding control instruction is issued to control the decoding counter corresponding to the type field to perform a counting operation, output a plurality of single-cycle decoding pulse signals and store a decoding value, wherein the output counting operation includes counting start, counting accumulation and counting reset;
[0011] When the decoding counter outputs a decoding pulse signal of a 17-bit Manchester code, the decoding counter count is reset to zero, and it is determined that the decoding of one message word of the transmitted data is completed.
[0012] Optional: the different type fields include a synchronization header, a first group of Manchester codes and other Manchester codes, the corresponding transition edge sampling intervals include a synchronization header transition edge sampling interval, a first transition edge sampling interval and a second transition edge sampling interval, and the decoding counter includes a synchronization header decoding counter, a first decoding counter and a second decoding counter;
[0013] When a transition edge is detected in the type field, a corresponding control instruction is issued to control the decoding counter corresponding to the type field to perform a counting operation, output a plurality of single-cycle decoding pulse signals and store them, wherein the output counting operation includes counting start, counting accumulation and counting clearing, including:
[0014] When the synchronous clock detects the first transition edge, it is determined that an instruction word has started, and the synchronous header decoding counter starts counting and increases by 1 in each clock cycle;
[0015] When the synchronous clock detects a transition edge again within the synchronous head transition edge sampling interval, it is determined that the synchronous head is detected, the synchronous head decoding counter count is reset to zero, and the first decoding counter starts counting, and increases by 1 in each clock cycle;
[0016] When the synchronous clock detects a transition edge in the first transition edge detection interval, a single-cycle decoding pulse signal is output, the first decoding counter counts to zero, and the second decoding counter starts counting, and increases by 1 in each clock cycle;
[0017] When the synchronous clock detects a transition edge within the second transition edge detection interval, a single-cycle decoding pulse signal is output, and the second decoding counter jumps to 1 to continue counting and accumulating. In the next clock cycle when the decoding pulse signal is generated, the decoding value is stored in the message word register.
[0018] Optional: The transition edge sampling intervals of different type fields in the pre-set Manchester code include:
[0019] Identify the ratio of the first 1.5 bits and the last 1.5 bits of the synchronization header, and the ratio of the two-bit code value of the 17-bit Manchester code;
[0020] The transition edge sampling intervals of different types of fields are preset based on the proportionality coefficient, wherein the proportionality coefficients are different and the transition edge sampling intervals of the corresponding types of fields are different.
[0021] Optionally, presetting the transition edge sampling intervals of different type fields based on the proportional coefficient includes: obtaining a deviation value of the proportional coefficient, wherein the deviation value is proportional to the interval range size of the set transition edge sampling interval.
[0022] Optionally: the presetting of the transition edge sampling intervals of different type fields based on the proportional coefficient includes:
[0023] When the proportionality coefficient is not 1:1, identifying whether the deviation value of the proportionality coefficient of the synchronization header and / or the proportionality coefficient of the two-bit code value of the 17-bit Manchester code is fixed;
[0024] Based on whether the deviation value of the proportional coefficient is fixed, the jump edge sampling intervals of different type fields are preset.
[0025] Optional: Whether the deviation value based on the proportional coefficient is fixed, presetting the transition edge sampling interval of different type fields, including:
[0026] When the deviation value of the proportional coefficient is not fixed, the interval range of the preset jump edge sampling interval is greater than the interval range of the preset value when the deviation value of the proportional coefficient is fixed.
[0027] Optional: Whether the deviation value based on the proportional coefficient is fixed, presetting the transition edge sampling interval of different type fields, including:
[0028] When the preset rate of synchronous clock decoding is 10 times the transmission rate of the transmitted data, the synchronization head jump edge detection interval is configured to 12~18, the first jump edge detection interval is configured to 15~25, and the second jump edge detection interval is configured to 7~13.
[0029] The second object of the invention is achieved by the following technical solutions:
[0030] A system for Manchester decoding with a configurable detection interval is used to perform a method for Manchester decoding with a configurable detection interval.
[0031] The third objective of the present application is achieved through the following technical solutions:
[0032] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for Manchester decoding of a configurable detection interval when executing the computer program.
[0033] The fourth objective of the present application is achieved through the following technical solutions:
[0034] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above-mentioned Manchester decoding method with a configurable detection interval.
[0035] In summary, the present application includes at least one of the following beneficial technical effects:
[0036] 1. When the Manchester code of the transmitted data received by the chip has an abnormal transition edge time and the encoding value of the Manchester code is not 1:1, a synchronous clock with a transmission rate greater than the message word transmission rate is used to resynchronize the timing, and the detection interval of the transition edge of different field information of the Manchester code is flexibly configured to accurately cover and detect the transition edge of the encoding value of the Manchester code in the transmitted data, that is, to detect its rising edge or falling edge to decode the Manchester code, and accurately decode each decoding pulse signal within a single cycle of the Manchester code, so that each message word can be decoded, thereby improving the success rate of Manchester code decoding.
[0037] 2. When the Manchester code has a large degree of deviation or the deviation value is unstable, the accuracy of Manchester code decoding can be improved by flexibly increasing the transition edge detection interval of each field type and expanding the transition edge detection range.
[0038] 3. The position and range of the transition edge detection interval are adjusted based on the proportion of the first 1.5 bits and the last 1.5 bits of the synchronization header and the proportion of the two-bit encoding value of the 17-bit Manchester code. It can be flexibly adjusted to adapt to the deviation caused by different chips when transmitting data, and has a wide range of applications. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a flow chart of an embodiment of a method for Manchester decoding with a configurable detection interval of the present application;
[0040] Figure 2 This is a decoding schematic diagram when the ratio coefficient is 1:1 in an embodiment of a Manchester decoding method for configurable detection intervals of the present application;
[0041] Figure 3 This is a decoding schematic diagram of a Manchester decoding method embodiment of a configurable detection interval in the present application when the ratio coefficient is 3:7
[0042] Figure 4 This is a decoding schematic diagram when the ratio coefficient is 7:3 in an embodiment of a Manchester decoding method for configurable detection intervals of the present application;
[0043] Figure 5 This is a schematic diagram of decoding when the proportional coefficient is not fixed in an embodiment of a method for Manchester decoding with a configurable detection interval of the present application;
[0044] Figure 6 This is a principle block diagram of a computer device of the present application. DETAILED DESCRIPTION
[0045] The following is combined with Figure 1-Figure 6 This application is described in further detail.
[0046] In practical applications, the composition ratio coefficients of the synchronization header and Manchester code of the input data often deviate. The synchronization header may not jump at 1.5T. When the deviation is maximum, there may be a deviation of about 0.2T. Each group of Manchester codes will not jump at 0.5T per bit. The two-bit encoding value of the Manchester code may account for 3:7, 4:6, 6:4 or 7:3. At this time, since the sampling point of the traditional decoding method is fixed and the sampling time is determined by the standard Manchester code model, the sampling value will not conform to the composition of the Manchester code, resulting in decoding failure.
[0047] In one embodiment, referring to Figure 1 The present application discloses a Manchester decoding method with a configurable detection interval, which specifically includes the following steps:
[0048] S1: Preset the transition edge sampling interval of different type fields in Manchester code;
[0049] In this embodiment, the 1553b protocol stipulates that the bus defaults to a low level when no data is transmitted. The different types of fields include a synchronization header, a first group of Manchester codes, and remaining Manchester codes, and the remaining Manchester codes are the remaining 16-bit Manchester codes.
[0050] The transition edge sampling interval is a pre-set interval of the number of bits of the Manchester code used to detect level transitions, and the transition edge sampling interval is flexibly set according to the deviation of the two-bit encoding values in the Manchester code.
[0051] The transition edge sampling interval includes the synchronization head transition edge sampling interval, the first transition edge sampling interval and the second transition edge sampling interval. The field information corresponding to the synchronization head transition edge sampling interval is the synchronization head, the field information corresponding to the first transition edge sampling interval is the first Manchester code, and the field information corresponding to the second transition edge sampling interval is the remaining 16-bit Manchester code.
[0052] S2: when receiving the transmission data, performing level transition edge detection on the transition edge sampling interval of each type field respectively through a synchronous clock of a preset rate, wherein the preset rate is greater than the transmission rate of the transmission data;
[0053] In this embodiment, the preset rate of the synchronization clock is set to 10 times the transmission rate of the received transmission data. Based on the field composition of the Manchester code, the synchronization header is firstly detected by the transition edge, then the first group of Manchester codes are detected by the transition edge, and finally the remaining 16-bit Manchester codes are detected by the transition edge to complete the decoding of a message word in the transmission data.
[0054] S3: when a transition edge is detected in the type field, a corresponding control instruction is issued to control the decoding counter corresponding to the type field to perform a counting operation, output a plurality of single-cycle decoding pulse signals and store a decoding value, wherein the output counting operation includes counting start, counting accumulation and counting reset;
[0055] In this embodiment, the decoding counter includes a synchronization header decoding counter, a first decoding counter and a second decoding counter. The field information corresponding to the synchronization header decoder is the synchronization header, the field information corresponding to the first decoding counter is the first group of Manchester codes, and the field information corresponding to the second decoding counter is the remaining 16-bit Manchester codes.
[0056] Step S3 includes:
[0057] S31: When the synchronization clock detects the first transition edge, it is determined that an instruction word starts, and the synchronization header decoding counter starts counting and increases by 1 every clock cycle; because the 1553b protocol stipulates that the bus defaults to a low level when no data is transmitted, the transition edge detected at this time is a rising edge.
[0058] S32: When the synchronous clock detects a transition edge again within the synchronization head transition edge sampling interval, and the transition edge at this time is a falling edge, it is determined that the synchronization head is detected, the synchronization head decoding counter count is reset to zero, and the first decoding counter starts counting, and increases by 1 in each clock cycle;
[0059] S33: When the synchronous clock detects a transition edge within the first transition edge detection interval, a single-cycle decoding pulse signal is output, the first decoding counter count is reset, and the second decoding counter starts counting, and increases by 1 for each clock cycle; the transition edge at this time includes a rising edge or a falling edge. When the transition edge is a rising edge, it is decoded as 0, and when the transition edge is a falling edge, it is decoded as 1.
[0060] S34: When the synchronous clock detects a transition edge within the second transition edge detection interval, a single-cycle decoding pulse signal is output, and the second decoding counter jumps to 1 to continue counting and accumulating. In the next clock cycle when the decoding pulse signal is generated, the decoding value is stored in the message word register; the transition edge at this time includes a rising edge or a falling edge. When the transition edge is a rising edge, the decoding is 0, and when the transition edge is a falling edge, the decoding is 1.
[0061] In the above process from S31 to S34, the synchronization head jump edge detection interval, the first jump edge detection interval and the second jump edge detection interval can all be dynamically configured.
[0062] S4: When the decoding counter outputs a decoding pulse signal of a 17-bit Manchester code, the decoding counter count is reset to zero, and it is determined that the decoding of a message word of the transmitted data is completed.
[0063] The transition edge sampling intervals of different type fields in the pre-set Manchester code in step S1 include:
[0064] S11: Identify the ratio of the first 1.5 bits and the last 1.5 bits of the synchronization header to the ratio of the two-bit code value of the 17-bit Manchester code;
[0065] S12: presetting the transition edge sampling intervals of different types of fields based on the proportional coefficients, wherein the proportional coefficients are different and the transition edge sampling intervals of the corresponding types of fields are different.
[0066] Furthermore, when the ratio coefficients of the first 1.5 bits and the last 1.5 bits of the synchronization header and the two-bit encoding value of the 17-bit Manchester code are both 1:1, the synchronization header jump edge detection interval is configured to be 14~16, the first jump edge detection interval is configured to be 19~21, and the second jump edge detection interval is configured to be 9~11, which means that when the value of the synchronization header decoding counter is 15, if a falling edge is detected, it is considered that the instruction word synchronization header is detected on the bus, when the value of the first decoding counter is 20, if a rising edge or a falling edge is detected, it is considered that the first group of Manchester codes is detected on the bus, and when the value of the second decoding counter is 10, if a rising edge or a falling edge is detected, it is considered that the 2nd to 17th Manchester codes are detected on the bus. The decoding process of the synchronization header and part of the Manchester code is as follows. Figure 2 shown.
[0067] Further, a deviation value of the proportional coefficient is obtained, and the size of the deviation value is proportional to the size of the interval range of the set jump edge sampling interval.
[0068] Step S12 also includes:
[0069] S121: When the proportional coefficient is not 1:1, identifying whether the deviation value of the proportional coefficient of the synchronization header and / or the proportional coefficient of the two-bit encoding value of the 17-bit Manchester code is fixed;
[0070] S122: Based on whether the deviation value of the proportional coefficient is fixed, pre-set the transition edge sampling intervals of different type fields.
[0071] like Figure 4 As shown, when the two-bit encoding value of the Manchester code accounts for 7:3, the first transition edge detection interval configuration is changed to 21~23. At this time, the transition edge of the first group of Manchester codes of the message word will be detected when the value of the first decoding counter is 22.
[0072] When the deviation value is fixed, such as when the ratio coefficient of the two-digit code value of Manchester code is 3:7, Figure 3 As shown, the first transition edge detection interval configuration is changed to 17~19. At this time, the transition edge of the first group of Manchester codes will be detected when the value of the first decoding counter is 18.
[0073] Step S122 includes: when the deviation value of the proportional coefficient is not fixed, the interval range of the preset jump edge sampling interval is greater than the interval range of the preset value when the deviation value of the proportional coefficient is fixed.
[0074] When the preset rate of synchronous clock decoding is 10 times the transmission rate of the transmitted data, the synchronization head edge detection interval is configured to 12~18, the first edge detection interval is configured to 15~25, and the second edge detection interval is configured to 7~13, and the Manchester code decoding can be completed.
[0075] Specifically, Figure 5 As shown in the figure, when the ratio coefficient of the 1.5 bits before and after the synchronization header is between 13:17 and 17:13, such as 13:17, and the ratio of the two-bit code values of the first three groups of Manchester codes is between 3:7 and 5:5, such as the ratio of the two-bit code values of the first three groups of Manchester codes is 5:5, 3:7, and 4:6, respectively, the synchronization header jump edge detection interval is configured to 12~18, the first jump edge detection interval is configured to 15~25, and the second jump edge detection interval is configured to 7~13, and the Manchester code decoding can be completed.
[0076] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0077] In one embodiment, a system for Manchester decoding of a configurable detection interval is provided, and the system for Manchester decoding of a configurable detection interval corresponds to a method for Manchester decoding of a configurable detection interval in the above embodiment. The system for Manchester decoding of a configurable detection interval is used in a method for Manchester decoding of a configurable detection interval.
[0078] For the specific definition of the Manchester decoding system of the configurable detection interval, please refer to the definition of the method of Manchester decoding of a configurable detection interval above, which will not be repeated here. Each module in the above-mentioned Manchester decoding system of a configurable detection interval can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0079] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for Manchester decoding of a configurable detection interval is implemented.
[0080] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the Manchester decoding method of a configurable detection interval are implemented.
[0081] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for Manchester decoding of a configurable detection interval are implemented.
[0082] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0083] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0084] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for Manchester decoding with a configurable detection interval, characterized in that: include: Presetting the transition edge sampling intervals of different type fields in Manchester code; When the transmission data is received, the level transition edge detection is performed on the transition edge sampling interval of each type field respectively through the synchronous clock of the preset rate, wherein the preset rate is greater than the transmission rate of the transmission data; When a transition edge is detected in the type field, a corresponding control instruction is issued to control the decoding counter corresponding to the type field to perform a counting operation, output a plurality of single-cycle decoding pulse signals and store a decoding value, wherein the output counting operation includes counting start, counting accumulation and counting reset; When the decoding counter outputs a decoding pulse signal of a 17-bit Manchester code, the decoding counter count is reset to zero, and it is determined that the decoding of one message word of the transmitted data is completed.
2. The method for Manchester decoding with configurable detection interval according to claim 1, characterized in that: The different type fields include a synchronization header, a first group of Manchester codes and other Manchester codes, the corresponding transition edge sampling intervals include a synchronization header transition edge sampling interval, a first transition edge sampling interval and a second transition edge sampling interval, and the decoding counter includes a synchronization header decoding counter, a first decoding counter and a second decoding counter; When a transition edge is detected in the type field, a corresponding control instruction is issued to control the decoding counter corresponding to the type field to perform a counting operation, output a plurality of single-cycle decoding pulse signals and store them, wherein the output counting operation includes counting start, counting accumulation and counting clearing, including: When the synchronous clock detects the first transition edge, it is determined that an instruction word has started, and the synchronous header decoding counter starts counting and increases by 1 in each clock cycle; When the synchronous clock detects a transition edge again within the synchronous head transition edge sampling interval, it is determined that the synchronous head is detected, the synchronous head decoding counter count is reset to zero, and the first decoding counter starts counting, and increases by 1 in each clock cycle; When the synchronous clock detects a transition edge in the first transition edge detection interval, a single-cycle decoding pulse signal is output, the first decoding counter counts to zero, and the second decoding counter starts counting, and increases by 1 in each clock cycle; When the synchronous clock detects a transition edge within the second transition edge detection interval, a single-cycle decoding pulse signal is output, and the second decoding counter jumps to 1 to continue counting and accumulating. In the next clock cycle when the decoding pulse signal is generated, the decoding value is stored in the message word register.
3. The method for Manchester decoding with configurable detection interval according to claim 1, characterized in that: The preset transition edge sampling intervals of different type fields in the Manchester code include: Identify the ratio of the first 1.5 bits and the last 1.5 bits of the synchronization header, and the ratio of the two-bit code value of the 17-bit Manchester code; The transition edge sampling intervals of different types of fields are preset based on the proportionality coefficient, wherein the proportionality coefficients are different and the transition edge sampling intervals of the corresponding types of fields are different.
4. The method for Manchester decoding with configurable detection interval according to claim 3, characterized in that: The method of presetting different type field transition edge sampling intervals based on the proportional coefficient includes: obtaining a deviation value of the proportional coefficient, wherein the deviation value is proportional to the interval range of the set transition edge sampling interval.
5. The method for Manchester decoding with configurable detection interval according to claim 4, characterized in that: The method of presetting the transition edge sampling intervals of different type fields based on the proportional coefficient includes: When the proportionality coefficient is not 1:1, identifying whether the deviation value of the proportionality coefficient of the synchronization header and / or the proportionality coefficient of the two-bit code value of the 17-bit Manchester code is fixed; Based on whether the deviation value of the proportional coefficient is fixed, the jump edge sampling intervals of different type fields are preset.
6. The method for Manchester decoding with configurable detection interval according to claim 5, characterized in that: The deviation value based on the proportional coefficient is fixed, and the jump edge sampling intervals of different type fields are preset, including: When the deviation value of the proportional coefficient is not fixed, the interval range of the preset jump edge sampling interval is greater than the interval range of the preset value when the deviation value of the proportional coefficient is fixed.
7. The method for Manchester decoding with configurable detection interval according to claim 6, characterized in that: The deviation value based on the proportional coefficient is fixed, and the jump edge sampling intervals of different type fields are preset, including: When the preset rate of synchronous clock decoding is 10 times the transmission rate of the transmitted data, the synchronization head jump edge detection interval is configured to 12~18, the first jump edge detection interval is configured to 15~25, and the second jump edge detection interval is configured to 7~13.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for Manchester decoding with a configurable detection interval as claimed in any one of claims 1 to 7 are implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for Manchester decoding with a configurable detection interval as claimed in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Infrared signal decoding treatment method and infrared signal decoding treatment device
CN103680113A
Signal processing method and device, electronic equipment and storage medium
CN114205054A