CN115982539A - Serial port waveform correction method and system - Google Patents

Serial port waveform correction method and system Download PDF

Info

Publication number
CN115982539A
CN115982539A CN202211727327.XA CN202211727327A CN115982539A CN 115982539 A CN115982539 A CN 115982539A CN 202211727327 A CN202211727327 A CN 202211727327A CN 115982539 A CN115982539 A CN 115982539A
Authority
CN
China
Prior art keywords
byte
nth bit
value
values
level ratio
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.)
Pending
Application number
CN202211727327.XA
Other languages
Chinese (zh)
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.)
Shandong Youren Networking Co ltd
Original Assignee
Shandong Youren Networking 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 Shandong Youren Networking Co ltd filed Critical Shandong Youren Networking Co ltd
Priority to CN202211727327.XA priority Critical patent/CN115982539A/en
Publication of CN115982539A publication Critical patent/CN115982539A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention relates to the technical field of serial port sampling, and provides a serial port waveform correcting method and a serial port waveform correcting system, wherein the serial port waveform correcting method comprises the following steps: if the values of all sampling points of the nth bit in the byte only have one-time change, calculating the high level ratio and the low level ratio of each bit, judging the baud rate condition and the number of offset points of the byte based on the high level ratio and the low level ratio of all bits, determining a second array of the nth bit in the byte according to the baud rate condition and the number of the offset points of the byte, and calculating the value of the nth bit based on the change condition of the values in the second array; and if the values of all sampling points of the nth bit in the byte are changed for multiple times, calculating the value of the nth bit according to the position of value transmission change. The accuracy of the data is guaranteed.

Description

Serial port waveform correction method and system
Technical Field
The invention belongs to the technical field of serial port sampling, and particularly relates to a serial port waveform correction method and system.
Background
The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art.
The current serial port sampling mechanism is to sample 8 points or 16 points on one bit and then take the value of the middle 3 points or 1 point as the value of the bit.
The sampling mode is only suitable for more standard waveforms, the sampling accuracy rate of some abnormal waveforms is low, and especially for some specific abnormal waveforms, due to the problems of baud rate deviation, phase deviation and the like of the waveforms, the sampling mechanism can possibly not identify correct data.
Disclosure of Invention
In order to solve the technical problems in the background art, the invention provides a serial port waveform correction method and a serial port waveform correction system, which can detect whether the waveform is abnormal or not, judge which kind of abnormality is if the waveform is abnormal, and then adaptively correct the waveform, thereby ensuring the accuracy of data.
In order to achieve the purpose, the invention adopts the following technical scheme:
the first aspect of the present invention provides a serial port waveform correction method, which includes:
obtaining values of all sampling points of one byte;
if the values of all sampling points of the nth bit in the byte only have one-time change, calculating the high level ratio and the low level ratio of each bit, judging the baud rate condition and the number of offset points of the byte based on the high level ratio and the low level ratio of all bits, determining a second array of the nth bit in the byte according to the baud rate condition and the number of the offset points of the byte, and calculating the value of the nth bit based on the change condition of the values in the second array;
and if the values of all sampling points of the nth bit in the byte are changed for multiple times, calculating the value of the nth bit according to the position of value transmission change.
Further, the step of determining a second array of nth bits in the byte comprises:
in the high level ratio of all bits, all values which are not 0 are taken out in sequence and put into a first vector;
in the low level ratio of all bits, all values which are not 0 are taken out in sequence and put into a second vector;
if the values in the first vector and the second vector are gradually reduced, and the high level of the nth bit accounts for high [ n ]]And low level ratio low [ n ]]If none of the offset points is 0, the number P of offset points is (2) k -2 k *low[n+1]) V (n + 1), if the number P of offset points is equal to (2) k -2 k *high[n+1]) V (n + 1), then define a 2 k -second array of P sizes collectcheck [ n [ ]][]The value of sample [ n ] at the nth bit is calculated][]Assign value to second array collect _ check [ n ]][]Wherein k is a set value.
Further, the step of determining the second array of the nth bit in the byte further comprises:
if the values in the first vector and the second vector are gradually increased and the high level ratio of the nth bit is high [ n ]]And low level ratio low [ n ]]If none of the offset points is 0, the number P of offset points is (2) k -2 k *low[n+1]) /(n + 1), if the number of offset points P is equal to (2) k -2 k *high[n+1]) V (n + 1), then define a 2 k + P size second array collect _ check [ n][]The value of sample [ n ] at the nth bit is calculated][]Assign value to second array collect _ check [ n ]][]Wherein k is a set value.
Further, if all the values in the second array of the nth bit are identical, the level value of the midpoint of the nth bit is taken as the value of the nth bit.
Further, calculating a second high level ratio and a second low level ratio of the nth bit based on all values in the second array of the nth bit in one byte;
if only the second high level ratio of the nth bit in one byte is not 0 and the second low level ratios of all the bits are 0, the waveform of the byte is shifted to the left;
if the second low level duty ratio of only the nth bit in one byte is not 0 and the second high level duty ratios of all the bits are 0, the waveform of the byte is shifted to the left.
Further, if there is a case where 0 becomes 1 and becomes 0 again in the values of all the sampling points of the nth bit, the position where 0 becomes 1 is x, the position where 1 becomes 0 is y, and if y-x is smaller than the set value, the value of the nth bit is assigned to 0.
Further, if there is a case where 0 becomes 1 and becomes 0 again among values of all sampling points of the nth bit, the position where 0 becomes 1 is denoted by x, the position where 1 becomes 0 is denoted by y, and if y-x is larger than a set value, the value of the nth bit is assigned by value [ n ] = collect [ n ] [ x + (x + y)/2 ], where collect [ n ] [ j ] denotes the value of the jth sampling point of the nth bit.
A second aspect of the present invention provides a serial port waveform correction system, including:
a data acquisition module configured to: obtaining values of all sampling points of one byte;
a first correction module configured to: if the values of all sampling points of the nth bit in the byte only have one-time change, calculating the high level ratio and the low level ratio of each bit, judging the baud rate condition and the number of offset points of the byte based on the high level ratio and the low level ratio of all bits, determining a second array of the nth bit in the byte according to the baud rate condition and the number of the offset points of the byte, and calculating the value of the nth bit based on the change condition of the values in the second array;
a second correction module configured to: and if the values of all sampling points of the nth bit in the byte are changed for multiple times, calculating the value of the nth bit according to the position of value transmission change.
A third aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, performs the steps in a serial waveform correction method as described above.
A fourth aspect of the present invention provides a computer device, including a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of a serial waveform correction method as described above.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a serial port waveform correcting method which can detect whether a waveform is abnormal or not, judge which kind of abnormal waveform if the waveform is abnormal, and then adaptively correct the waveform, thereby ensuring the accuracy of data.
According to the serial port waveform correction method provided by the embodiment, the number of sampling points is increased, the value of each bit is output in a lagging mode, whether the waveform is abnormal or not is judged from the whole through the value acquired by the whole byte by adopting a waveform error detection mechanism, and then the accuracy of data is ensured through the waveform correction mechanism.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the invention and not to limit the invention.
FIG. 1 is a schematic diagram of data sampling according to a first embodiment of the present invention;
FIG. 2 is a diagram illustrating a large Baud rate according to a first embodiment of the present invention;
FIG. 3 is a diagram illustrating a small Baud rate according to a first embodiment of the present invention;
FIG. 4 is a diagram illustrating a left offset of a waveform according to a first embodiment of the present invention;
fig. 5 is a diagram illustrating a waveform right shift according to a first embodiment of the present invention.
Detailed Description
The invention is further described with reference to the following figures and examples.
It is to be understood that the following detailed description is exemplary and is intended to provide further explanation of the invention as claimed. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
Example one
The embodiment provides a serial port waveform correcting method, which comprises the following steps:
step 1, obtaining a value of a byte sampling point, and storing the value into a first array collect [10]][2 k ]In (1).
Sampling is started when low level is detected at k power (k is a set value, k is 7 in the embodiment) points (namely 128 points) of 2 bits of each bit sample, if the k/2 power (namely 64) points of the previous 2 bits are all low level, the initial pulse is considered to be detected, otherwise, the interference is considered to be detected, and the detection is carried out again.
As shown in FIG. 1, 128 samples are taken for one bit, and 1280 samples (including start and stop bits) are taken for one byte.
The value of one byte sample point is stored in the array collect [10] [128], and the array collect [ n ] is traversed.
Step 2, if the values of all sampling points of the nth bit in the byte only have one-time change, calculating the high level ratio and the low level ratio of each bit, judging the baud rate condition and the number of offset points of the byte based on the high level ratio and the low level ratio of all bits, and determining the second array of collect _ check [ n ] of the nth bit according to the baud rate condition and the number of the offset points of the byte][]. The specific method for determining the second array of the nth bit in the byte is as follows: in the high level ratio of all bits, all values which are not 0 are taken out in sequence and put into a first vector; in the low level ratio of all the bits, all the values which are not 0 are taken out in sequence and put into a second vector; if the values in the first vector and the second vector are gradually reduced, and the high level of the nth bit accounts for high [ n ]]And low level ratio low [ n ]]If none of the offset points is 0, the number P of offset points is (2) k -2 k *low[n+1]) V (n + 1), if the number P of offset points is equal to (2) k -2 k *high[n+1]) V (n + 1), then define a 2 k -second array of P sizes collectcheck [ n [ ]][]The values of the sampling point of the nth bit, collect [ n ]][]Assign value to second array collect _ check [ n ]][](ii) a If the values in the first vector and the second vector are gradually increased and the high level ratio of the nth bit is high [ n ]]And low level ratio low n]If none of the offset points is 0, the number P of offset points is (2) k -2 k *low[n+1]) V (n + 1), if the number P of offset points is equal to (2) k -2 k *high[n+1]) V (n + 1), then define a 2 k + P size second array collect _ check [ n][]The value of sample [ n ] at the nth bit is calculated][]Assign value to second array collect _ check [ n ]][](ii) a Wherein k is a set value, high [ n +1]]Is the high level ratio of the n +1 th bit, low [ n +1]]Is the low level ratio of the (n + 1) th bit.
Traversing the nth row of collectintn in the array collectintn [10] [128], namely the value of the sampling point of the nth bit in the byte collectintn [ n ] [ ], if the value in the collectintn [ n ] [ ] is changed from 1 to 0 and only has one time change, recording the number m of the position of which the last value is 1, and recording the high level ratio high [ n ] = m/128; otherwise, high [ n ] is 0.
If collect [ n ]][]The value in (1) is changed from 0 to 1 and only one time change is made, and the number m of the position where the last value is 0 is recorded * Recording low level ratio low [ n ]]=m * 128; otherwise, low [ n ]]Is 0.
Traversing the values of arrays high [ ] and low [ ], if high [ n ] with a value not 0 and low [ n ] with a value not 0 become smaller gradually and satisfy that when low [ n ] and high [ n ] are not 0, a certain value P is (128-128 x low ], [ n + [1 ])/(n + 1) exists, and P is equal to (128-128 x high ], [ n ] + [1 ])/(n + 1), indicating that the baud rate of the byte is larger and the number of offset points is P, as shown in FIG. 2, redefining a second array collect _ check [ n ] [128-P ], assigning values of the arrays collect [ n ] to the arrays collect _ check [ n ] ] from the front to the front sequentially, discarding the redundant values, keeping the original collection frequency unchanged, changing the number of collection points to 128-P, so as to adapt to the baud rate of the received waveform.
If high [ n ] with a value not equal to 0 and low [ n ] with a value not equal to 0 become larger gradually and satisfy the condition that when low [ n ] and high [ n ] are not equal to 0, there exists a fixed value P of (128-128 + low [ n +1 ])/(n + 1) and P is equal to (128-128 + high n +1 ])/(n + 1), which means that the baud rate of the byte is small and the number of offset points is P, as shown in FIG. 3, a second array collectjcheck [ n ] [ 128P ] is redefined, the values of the array collectn [ n ] [ ] are assigned to the array collectjcheck [ n ] ], the insufficient value is complemented by 1 (the last bit is a stop bit, the value is 1), and the original collection frequency is kept unchanged, the number of collection points is changed to P128, so as to adapt to the rate of the received waveform.
And 3, calculating the value of the nth bit based on the change condition of the value in the second numerical group of the nth bit in the byte.
Step 301, traversing the array collect _ check [ n ] [ ], if the values of all the points in the bit collect _ check [ n ] [ ] are consistent, taking the level value of the nth bit middle point as the value of the nth bit, namely, the value of the nth bit value [ n ] = collect _ check [ n ] [ (128 ± P)/2 ].
Step 302, if collect _ check [ n ]][]Changing the median value from 1 to 0 only once, recording the position m1 with the last value as 1, and recording the second high level ratio high * [n]=m1/128。
If collect _ check [ n ]][]Changing the median value from 0 to 1 only once, recording the position m2 of the last value 0, and recording the low ratio of the second low level * [n]=m2/128。
If only one byte has high * [n]Has a value of other than 0,low * [n]All of the values of (1) are 0, and a high of the byte which is not 0 * [n]If the values are equal, the byte waveform is considered to be shifted to the left, as shown in fig. 4, the point where the nth bit takes value is also shifted to the left, and the middle position of the effective value, namely value [ n [ ], is taken]=collect_check[n][(128±P)/2*high * [n]]。
If only low is in a byte * [n]Has a value of not 0,high * [n]All of the values of (b) are 0, and low of the plurality of bits of the byte is not 0 * [n]If the values are equal, the byte waveform is considered to be shifted to the right, as shown in fig. 5, the point where the nth bit takes value is also shifted to the right, and the middle position of the effective value, namely value [ n [ ]]=collect_check[n][(128±P)/2+(128±P)/2*low * [n]]。
And 4, if the values of all sampling points of the nth bit in the byte are changed for multiple times, calculating the value of the nth bit according to the position where the values are changed.
If collect [ n ]][]The median value is changed from 0 to 1 and then to 0, the position where 0 is changed to 1 is x, the position where 1 is changed to 0 is y, if y-x is less than 2 k *0.3, i.e. less than 38 (128 x 0.3), then it is assumed that noise is present and collect [ n [ ]][]All values in (1) are assigned to 0 again. If y-x is greater than 38, the nth bit is considered as high level, but the waveform output time is insufficient or irregular offset occurs, the value point of the nth bit is to be the middle position of the effective waveform, namely value [ n [ ]]=collect[n][x+(x+y)/2]。
And step 5, if the value [0] is 0 and the value [9] is 1, all values of the value [ n ] are considered to be correct, and the values of the value [1] to the value [8] are the values of 1 bit to 8bit of the byte.
Compared with a conventional waveform sampling method, the serial port waveform correction method provided by the embodiment can be more strongly adaptive to sampling of abnormal waveforms, especially certain specific abnormal waveforms, the conventional sampling method cannot identify correct data, and the conventional sampling method can correctly analyze the data.
The serial port waveform correction method provided by the embodiment can detect whether the waveform is abnormal or not, judge which kind of abnormality if the waveform is abnormal, and then adaptively correct the waveform, thereby ensuring the accuracy of data.
According to the serial port waveform correction method provided by the embodiment, the number of sampling points is increased, the value of each bit is output in a lagging mode, whether the waveform is abnormal or not is judged from the whole through the value acquired by the whole byte by adopting a waveform error detection mechanism, and then the accuracy of data is ensured through the waveform correction mechanism.
Example two
This embodiment provides a serial port waveform corrects system, and it specifically includes:
a data acquisition module configured to: obtaining values of all sampling points of one byte;
a first correction module configured to: if the values of all sampling points of the nth bit in the byte only have one-time change, calculating the high level ratio and the low level ratio of each bit, judging the baud rate condition and the number of offset points of the byte based on the high level ratio and the low level ratio of all bits, determining a second array of the nth bit in the byte according to the baud rate condition and the number of the offset points of the byte, and calculating the value of the nth bit based on the change condition of the values in the second array;
a second correction module configured to: and if the values of all sampling points of the nth bit in the byte are changed for multiple times, calculating the value of the nth bit according to the position of value transmission change.
It should be noted that, each module in the present embodiment corresponds to each step in the first embodiment one to one, and the specific implementation process is the same, which is not described herein again.
EXAMPLE III
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in a serial port waveform correction method as described in the first embodiment above.
Example four
This embodiment provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps in the serial port waveform correction method according to the first embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A serial port waveform correction method is characterized by comprising the following steps:
obtaining values of all sampling points of one byte;
if the values of all sampling points of the nth bit in the byte only have one-time change, calculating the high level ratio and the low level ratio of each bit, judging the baud rate condition and the number of offset points of the byte based on the high level ratio and the low level ratio of all bits, determining a second array of the nth bit in the byte according to the baud rate condition and the number of the offset points of the byte, and calculating the value of the nth bit based on the change condition of the values in the second array;
and if the values of all sampling points of the nth bit in the byte are changed for multiple times, calculating the value of the nth bit according to the position of value transmission change.
2. The serial port waveform correction method as claimed in claim 1, wherein the step of determining the second array of nth bits in the byte comprises:
in the high level ratio of all bits, all values which are not 0 are taken out in sequence and put into a first vector;
in the low level ratio of all the bits, all the values which are not 0 are taken out in sequence and put into a second vector;
if the values in the first vector and the second vector are gradually reduced, and the high level of the nth bit accounts for high [ n ]]And low level ratio low [ n ]]If none of the offset points is 0, the number P of offset points is (2) k -2 k *low[n+1]) V (n + 1), if the number P of offset points is equal to (2) k -2 k *high[n+1]) V (n + 1), then define a 2 k -second set of collect _ check [ n ] of size P][]The values of the sampling point of the nth bit, collect [ n ]][]Assign value to second array collectcheck n][]Wherein k is a set value.
3. The serial port waveform correction method of claim 2, wherein the step of determining the second array of nth bits in the byte further comprises:
if the values in the first vector and the second vector are gradually increased and the high level ratio of the nth bit is high [ n ]]And low level ratio low [ n ]]If none of the offset points is 0, the number P of offset points is (2) k -2 k *low[n+1]) /(n + 1), if the number of offset points P is equal to (2) k -2 k *high[n+1]) /(n + 1), then define a 2 k + P size second array collect _ check [ n][]The values of the sampling point of the nth bit, collect [ n ]][]Assign value to second array collect _ check [ n ]][]Wherein k is a set value.
4. The serial waveform correcting method of claim 1, wherein if all values in the second array of the nth bit are identical, the level value at the midpoint of the nth bit is taken as the value of the nth bit.
5. The serial port waveform correcting method according to claim 1, wherein a second high level ratio and a second low level ratio of an nth bit are calculated based on all values in a second array of the nth bit in one byte;
if only the second high level ratio of the nth bit in one byte is not 0 and the second low level ratios of all the bits are 0, the waveform of the byte is shifted to the left;
if the second low level duty ratio of only the nth bit in one byte is not 0 and the second high level duty ratios of all the bits are 0, the waveform of the byte is shifted to the left.
6. The serial port waveform correcting method as claimed in claim 1, wherein if there is a case where 0 becomes 1 and becomes 0 again in the values of all the sampling points of the nth bit, the position where 0 becomes 1 is x, the position where 1 becomes 0 is y, and if y-x is smaller than a set value, the value of the nth bit is assigned to 0.
7. The method as claimed in claim 1, wherein if there is a case where 0 becomes 1 and becomes 0 again among values of all sampling points of the nth bit, a position where 0 becomes 1 is denoted as x, a position where 1 becomes 0 is denoted as y, and if y-x is greater than a set value, the value of the nth bit is assigned as value [ n ] = collect [ n ] [ x + (x + y)/2 ], where collect [ n ] [ j ] denotes a value of the jth sampling point of the nth bit.
8. A serial port waveform correction system, comprising:
a data acquisition module configured to: obtaining values of all sampling points of one byte;
a first correction module configured to: if the values of all sampling points of the nth bit in the byte only have one-time change, calculating the high level ratio and the low level ratio of each bit, judging the baud rate condition and the number of offset points of the byte based on the high level ratio and the low level ratio of all bits, determining a second array of the nth bit in the byte according to the baud rate condition and the number of the offset points of the byte, and calculating the value of the nth bit based on the change condition of the values in the second array;
a second correction module configured to: and if the values of all sampling points of the nth bit in the byte are changed for multiple times, calculating the value of the nth bit according to the position of value transmission change.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of a serial port waveform correction method according to any one of claims 1 to 7.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to perform the steps of a serial waveform correction method as claimed in any one of claims 1 to 7.
CN202211727327.XA 2022-12-30 2022-12-30 Serial port waveform correction method and system Pending CN115982539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211727327.XA CN115982539A (en) 2022-12-30 2022-12-30 Serial port waveform correction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211727327.XA CN115982539A (en) 2022-12-30 2022-12-30 Serial port waveform correction method and system

Publications (1)

Publication Number Publication Date
CN115982539A true CN115982539A (en) 2023-04-18

Family

ID=85975686

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211727327.XA Pending CN115982539A (en) 2022-12-30 2022-12-30 Serial port waveform correction method and system

Country Status (1)

Country Link
CN (1) CN115982539A (en)

Similar Documents

Publication Publication Date Title
CN104461830B (en) The method and apparatus of monitoring process
CN114495497B (en) Method and system for judging and interpolating traffic abnormal data
CN111465051B (en) SINR estimation method, system, electronic device and storage medium
CN115982539A (en) Serial port waveform correction method and system
CN112463564B (en) Method and device for determining associated index influencing host state
EP3297240A1 (en) Phase ambiguity processing method and device for quadrature amplitude modulation signal
CN112187765B (en) Method and device for selecting target node in block chain
CN111510109B (en) Signal filtering method, device, equipment and medium
CN115774652B (en) Cluster control equipment health monitoring method, equipment and medium based on clustering algorithm
CN110376977B (en) Method, system, device and storage medium for calculating cycle period
CN113179102B (en) Method and system for removing interference of signal
CN114083987B (en) Correction method and device for battery monitoring parameters and computer equipment
CN112765073A (en) Data sampling method, system, storage medium and computer equipment
CN106681837A (en) Data sheet based data eliminating method and device
CN113851189B (en) Method, device and equipment for adaptively detecting PCR (polymerase chain reaction) fluorescence baseline
CN111352754B (en) Error detection and correction method for data storage and data storage device
CN108870489A (en) Push-rod electric machine adaptively stalls method, apparatus and storage medium, equipment
CN1127803C (en) Bit synchronizing circuit having high synchronization characteristics
CN112492627A (en) Back-to-first service communication system, transmitting end equipment, medium and performance optimization method
CN111428886A (en) Fault diagnosis deep learning model self-adaptive updating method and device
CN114155903A (en) Test system and test method
CN111176561B (en) Memory writing method and device
CN112311885B (en) Data transmission method, system and computer readable storage medium
EP3299965A1 (en) Method and physical device for managing linked lists
CN110362438B (en) Bus performance detection method, device, equipment and readable storage medium

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