Splicing pulse signal parameter measurement method, system, device and storage medium

By capturing the pulse edges of spliced ​​pulse signals in real time and utilizing data storage tables and identification steps, the problem of inaccurate measurement of parameters of spliced ​​signals from multiple frequency pulse signals in existing technologies is solved, enabling high-requirement control operations.

CN117907693BActive Publication Date: 2026-07-10SUZHOU LUZHIYAO TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUZHOU LUZHIYAO TECH
Filing Date
2023-12-28
Publication Date
2026-07-10

AI Technical Summary

Technical Problem

Existing signal processing techniques cannot accurately measure the relevant parameters of each pulse signal in a spliced ​​signal of multiple frequency pulse signals, making it difficult to meet the requirements of high-demand control operations.

Method used

By capturing the pulse edges of spliced ​​pulse signals in real time, and using data storage tables and different recognition steps, multiple signal recognition programs are executed to determine the target parameters for each frequency signal band.

Benefits of technology

It enables accurate parameter measurement of spliced ​​signals from multiple frequency pulse signals, meeting the requirements of more demanding control operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117907693B_ABST
    Figure CN117907693B_ABST
Patent Text Reader

Abstract

The application discloses a kind of spliced pulse signal parameter measurement method, system, device and storage medium, including real-time capture sequentially input pulse edge, and real-time acquisition current pulse edge capture data;Current identification step sequence of current pulse edge is determined according to capture data;When i=0, first signal identification procedure is executed, first signal identification data is obtained, and i+1 is made;When i=1, second signal identification procedure is executed, second signal identification data is obtained, and i+1 is made;When i=2, third signal identification procedure is executed, the target parameter of current frequency signal section is obtained, and i=0 is made;According to the same method, the target parameter corresponding to each frequency signal section in spliced pulse signal is sequentially obtained.The application can identify the pulse edge at different positions of spliced signal containing multiple frequency pulse signals, realize accurate measurement of the related parameters of each frequency signal section, and further meet the higher requirement control work of pulse signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of signal analysis, and specifically to a method, system, device, and storage medium for measuring parameters of spliced ​​pulse signals. Background Technology

[0002] In some application areas, such as automobiles, CNC machine tools, robots, precision equipment or instruments, and space positioning, it is necessary to use a signal source to emit pulse signals, analyze the pulse signals, and perform related control work based on the parameters contained in the pulse signals.

[0003] As technology advances, the demands on control operations become increasingly stringent, requiring the application of pulse signals at various frequencies. This necessitates the splicing of these signals. Once the spliced ​​signal is acquired, it undergoes signal processing and analysis. The results are then used to execute relevant control functions. A crucial step in signal processing is measuring the parameters of each frequency pulse signal within the spliced ​​signal (including pulse width, frequency, duty cycle, etc.).

[0004] However, current signal processing technologies are mostly designed for single-frequency pulse signals. For spliced ​​signals containing multiple frequency pulse signals, it is still impossible to accurately analyze the relevant parameters of each pulse signal, making it difficult to meet the high requirements of control work. Summary of the Invention

[0005] In view of this, the present invention provides a method, system, device and storage medium for measuring parameters of spliced ​​pulse signals, in order to solve the problem that existing signal processing technology cannot accurately analyze the relevant parameters of each pulse signal, resulting in difficulty in meeting the high requirements of control work.

[0006] This invention provides a method for measuring parameters of spliced ​​pulse signals. The spliced ​​pulse signal is composed of multiple sequentially input frequency signal segments, each frequency signal segment including multiple pulse edges. The method includes:

[0007] The system captures the pulse edges of the sequentially input spliced ​​pulse signals in real time and obtains the capture data of the current pulse edge in real time.

[0008] Based on the captured data, determine the current recognition step sequence of the current pulse edge;

[0009] Let the current recognition step order be i, i∈{0,1,2};

[0010] When i = 0, execute the first signal recognition program, obtain the first signal recognition data based on the captured data, and then increment i by 1;

[0011] When i = 1, execute the second signal recognition program, obtain the second signal recognition data based on the captured data and the first signal recognition data, and then increment i by 1;

[0012] When i=2, the third signal recognition program is executed. Based on the captured data, the first signal recognition data, and the second signal recognition data, the target parameters of the current frequency signal band are obtained, and i=0 is set.

[0013] Using the same method, the target parameters corresponding to each frequency signal segment input sequentially in the spliced ​​pulse signal are obtained in turn.

[0014] Optionally, the capture data of the current pulse edge is acquired in real time, including:

[0015] Pre-build data storage tables;

[0016] Extract the capture data of the current pulse edge from the data storage table;

[0017] The data storage table stores the capture data of each captured pulse edge during the splicing pulse signal input process.

[0018] Optionally, the captured data includes the number of captures, signal segment identifier, capture time, and data index, wherein the value of the data index is equal to the value of the number of captures;

[0019] The data storage table also stores the target parameters for each frequency signal band;

[0020] The target parameters for each frequency signal segment include a start index, an end index, a target pulse width, and a target frequency. Within each frequency signal segment, the start index corresponds to the data index of the first pulse edge in the corresponding frequency signal segment, and the end index corresponds to the data index of the last pulse edge in the corresponding frequency signal segment.

[0021] Optionally, let the current pulse edge be the j-th pulse edge, where j satisfies j≥2;

[0022] When i = 0, the first signal recognition program is executed to obtain the first signal recognition data based on the captured data, including:

[0023] Step S311: When i = 0, determine whether the j-th pulse edge belongs to the first frequency signal segment based on the signal segment identifier of the j-th pulse edge; if yes, proceed to step S312; otherwise, proceed to step S313.

[0024] Step S312: Determine whether the number of captures of the j-th pulse edge is 2; if yes, obtain the starting pulse width corresponding to the current frequency signal segment based on the capture time of the j-th pulse edge, and use the data index of the (j-1)-th pulse edge as the starting index corresponding to the current frequency signal segment and mark it in the data storage table; otherwise, end the first signal recognition program.

[0025] Step S313: According to the data storage table, obtain the end index of the previously captured frequency signal segment; determine whether the result of adding 2 to the value of the end index of the previously captured frequency signal segment is equal to the value of the number of captures of the j-th pulse edge. If yes, proceed to step S314; otherwise, proceed to step S315.

[0026] Step S314: Obtain the starting pulse width corresponding to the current frequency signal segment based on the capture time of the j-th pulse edge, and use the data index of the (j-1)-th pulse edge as the starting index corresponding to the current frequency signal segment and mark it in the data storage table to end the first signal recognition program;

[0027] Step S315: Obtain the first additional pulse width of the previously captured frequency signal segment based on the capture time of the j-th pulse edge, and update the target pulse width of the previously captured frequency signal segment in the data storage table based on the first additional pulse width, and end the first signal recognition program.

[0028] Optionally, let the current pulse edge be the j-th pulse edge, where j satisfies j≥2;

[0029] When i=1, the second signal recognition program is executed. Based on the captured data and the first signal recognition data, the second signal recognition data is obtained, including:

[0030] Step S321: When i = 1, obtain the starting index of the current frequency signal segment to which the current pulse edge belongs according to the data storage table;

[0031] Step S322: Determine whether the result of adding 1 to the value of the starting index of the current frequency signal segment is equal to the value of the number of captures of the j-th pulse edge; if yes, proceed to step S323, otherwise proceed to step S324.

[0032] Step S323: Based on the capture time of the j-th pulse edge, obtain the first half-wave pulse width of the current frequency signal segment, and end the second signal recognition program;

[0033] Step S324: Determine whether the result of adding 2 to the value of the starting index of the current frequency signal segment is equal to the value of the number of captures of the j-th pulse edge; if yes, execute steps S325 and S326 in sequence; otherwise, end the second signal recognition program.

[0034] Step S325: Based on the capture time of the j-th pulse edge, obtain the second half-wave pulse width and the full-wave pulse width of the current frequency signal segment; and based on the full-wave pulse width, obtain the initial frequency of the current frequency signal segment.

[0035] Step S326: Based on the signal segment identifier of the j-th pulse edge, determine whether the j-th pulse edge belongs to the first frequency signal segment; if yes, proceed to step S327; otherwise, proceed to step S328.

[0036] Step S327: Based on the starting index, full-wave pulse width and second half-wave pulse width of the current frequency signal segment, obtain the second additional pulse width of the current frequency signal segment, and according to the full-wave pulse width and the second additional pulse width of the current frequency signal segment, obtain the target pulse width of the current frequency signal segment and store it in the data storage table, and end the second signal recognition program.

[0037] Step S328: According to the data storage table, obtain the target frequency of the previously captured frequency signal segment; determine whether the difference between the initial frequency of the current frequency signal segment and the target frequency of the previously captured frequency signal segment is within the first preset threshold; if yes, proceed to step S329, otherwise proceed to step S3210.

[0038] Step S329: Merge the current frequency signal segment with the previously captured frequency signal segment to end the second signal recognition procedure;

[0039] Step S3210: Based on the starting index and full-wave pulse width of the current frequency signal segment, obtain the starting pulse width of the current frequency signal segment, and determine whether the starting pulse width of the current frequency signal segment is less than the second half-wave pulse width of the current frequency signal segment. If so, proceed to step S3211; otherwise, proceed to step S3212.

[0040] Step S3211: Using the periodic proportional segmentation method, the first additional pulse width of the previously captured frequency signal segment and the second additional pulse width of the current frequency signal segment are obtained respectively; based on the first additional pulse width, the target pulse width of the previously captured frequency signal segment in the data storage table is updated; and based on the second additional pulse width, the target pulse width of the current frequency signal segment is obtained and stored in the data storage table, thus ending the second signal recognition program.

[0041] Step S3212: Determine that there is no second additional pulse width in the current frequency signal segment, and store the full-wave pulse width of the current frequency signal segment as the target pulse width in the data storage table, and end the second signal recognition program.

[0042] Optionally, let the current pulse edge be the j-th pulse edge, where j satisfies j≥2;

[0043] When i=2, the third signal recognition program is executed. Based on the captured data, the first signal recognition data, and the second signal recognition data, the target parameters of the current frequency signal band are obtained, including:

[0044] Step S331: When i = 2, based on the capture time and data index of the j-th pulse edge, obtain the current pulse width of the j-th pulse edge, as well as the first half-wave pulse width and the full-wave pulse width of the current frequency signal segment;

[0045] Step S332: Determine whether the difference between the current pulse width of the j-th pulse edge and the first half-wave pulse width of the current frequency signal segment exceeds the second preset threshold; if yes, execute step S333; otherwise, end the third signal recognition program.

[0046] Step S333: Determine the data index of the j-th pulse edge as the end index of the current frequency signal segment and mark it in the data storage table; determine the current pulse width of the j-th pulse edge as the second additional pulse width of the current frequency signal segment; obtain the target pulse width of the current frequency signal segment based on the second additional pulse width and the full-wave pulse width of the current frequency signal segment and store it in the data storage table; end the third signal recognition program.

[0047] Optionally, the captured data also includes the step sequence identification code of the current pulse edge;

[0048] Based on the captured data, determine the current recognition step sequence for the current pulse edge, including:

[0049] Based on the step sequence identification code of the current pulse edge, the current identification step sequence of the current pulse edge is obtained.

[0050] Furthermore, the present invention also provides a spliced ​​pulse signal parameter measurement system, wherein the spliced ​​pulse signal is composed of multiple frequency signal segments input sequentially, and each frequency signal segment includes multiple pulse edges; the system is applied in the aforementioned spliced ​​pulse signal parameter measurement method, comprising:

[0051] The pulse capture module is used to capture the pulse edges of the sequentially input spliced ​​pulse signals in real time, and to obtain the capture data of the current pulse edge in real time.

[0052] The step sequence determination module is used to determine the current recognition step sequence of the current pulse edge based on the captured data;

[0053] Let the current recognition step order be i, i∈{0,1,2};

[0054] The signal recognition module is used to execute a first signal recognition program when i=0, obtain first signal recognition data based on the captured data, and increment i by 1; execute a second signal recognition program when i=1, obtain second signal recognition data based on the captured data and the first signal recognition data, and increment i by 1; execute a third signal recognition program when i=2, obtain the target parameters of the current frequency signal band based on the captured data, the first signal recognition data, and the second signal recognition data, and increment i by 0.

[0055] The cyclic measurement module is used to repeatedly execute the functions of the pulse acquisition module, the step sequence determination module, and the signal recognition module to obtain the target parameters corresponding to each frequency signal segment input sequentially in the spliced ​​pulse signal.

[0056] In addition, the present invention also provides a spliced ​​pulse signal parameter measurement device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed, it implements the method steps in the aforementioned spliced ​​pulse signal parameter measurement method.

[0057] In addition, the present invention also provides a computer storage medium comprising: at least one instruction that, when executed, implements the method steps in the aforementioned spliced ​​pulse signal parameter measurement method.

[0058] The beneficial effects of this invention are: real-time capture of the pulse edges of the sequentially input spliced ​​pulse signal; during the capture process, capture data of each captured pulse edge is simultaneously acquired; the current identification step sequence refers to the identification step at which the current pulse edge is located. Since the currently captured pulse edge may be located at the start, middle, and end positions of different frequency signal segments in the entire spliced ​​pulse signal, the capture data at different positions differs, and the corresponding signal identification of the pulse edge also differs. Therefore, by using the real-time acquired capture data, on the one hand, the current identification step sequence of the current pulse edge can be determined, which facilitates the adoption of different signal identification programs for pulse edges at different positions; on the other hand, after determining the current identification step sequence, the information contained therein is used for signal identification, and finally the target parameters of each frequency signal segment are obtained, realizing the parameter measurement of the spliced ​​pulse signal.

[0059] The spliced ​​pulse signal parameter measurement method, system, device, and storage medium of the present invention can identify the pulse edges at different positions of a spliced ​​signal containing multiple frequency pulse signals, realize the accurate measurement of relevant parameters of each frequency signal segment, and thus meet the higher control requirements of pulse signals. Attached Figure Description

[0060] The features and advantages of the invention will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the invention in any way. In the drawings:

[0061] Figure 1 A flowchart of a method for measuring parameters of spliced ​​pulse signals according to Embodiment 1 of the present invention is shown;

[0062] Figure 2 A model diagram of spliced ​​pulse signals in Embodiment 1 of the present invention is shown;

[0063] Figure 3 The flowchart of signal recognition when i=0 in Embodiment 1 of the present invention is shown;

[0064] Figure 4 The flowchart of signal recognition when i=1 in Embodiment 1 of the present invention is shown;

[0065] Figure 5 The flowchart of signal recognition when i=2 in Embodiment 1 of the present invention is shown;

[0066] Figure 6 A structural diagram of a spliced ​​pulse signal parameter measurement system according to Embodiment 2 of the present invention is shown. Detailed Implementation

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

[0068] Example 1

[0069] like Figure 1 As shown, a method for measuring parameters of a spliced ​​pulse signal is provided. The spliced ​​pulse signal is composed of multiple frequency signal segments input sequentially, each frequency signal segment including multiple pulse edges. The method includes:

[0070] S1: Real-time capture of the pulse edges of the sequentially input spliced ​​pulse signals, and real-time acquisition of the capture data of the current pulse edge;

[0071] S2: Determine the current recognition step sequence based on the captured data; let the current recognition step sequence be i, i∈{0,1,2};

[0072] S31: When i = 0, execute the first signal recognition program, obtain the first signal recognition data based on the captured data, and increment i by 1;

[0073] S32: When i = 1, execute the second signal recognition program, obtain the second signal recognition data based on the captured data and the first signal recognition data, and set i + 1;

[0074] S33: When i=2, execute the third signal recognition program, obtain the target parameters of the current frequency signal band based on the captured data, the first signal recognition data and the second signal recognition data, and set i=0;

[0075] S4: Using the same method, obtain the target parameters corresponding to each frequency signal segment input sequentially in the spliced ​​pulse signal.

[0076] In this embodiment, the pulse edges of the spliced ​​pulse signal are captured in real time as they are sequentially input. During the capture process, the capture data of each captured pulse edge is acquired simultaneously. The current identification step sequence refers to the identification step at which the current pulse edge is located. Since the currently captured pulse edge may be located at the beginning, middle, or end position of different frequency signal segments in the entire spliced ​​pulse signal, the capture data at different positions will differ, and the signal identification of the corresponding pulse edge will also differ. Therefore, by using the real-time acquired capture data, on the one hand, the current identification step sequence of the current pulse edge can be determined, which facilitates the adoption of different signal identification procedures for pulse edges at different positions. On the other hand, after determining the current identification step sequence, the information contained therein is used for signal identification, and finally the target parameters of each frequency signal segment are obtained, realizing the parameter measurement of the spliced ​​pulse signal.

[0077] The spliced ​​pulse signal parameter measurement method of this embodiment can identify the pulse edges at different positions of a spliced ​​signal containing multiple frequency pulse signals, realize the accurate measurement of relevant parameters of each frequency signal segment, and thus meet the higher control requirements of pulse signals.

[0078] It should be understood that the signal acquisition process in this embodiment is real-time, and correspondingly, the parameter measurement process is also real-time. Therefore, for any pulse edge, its corresponding current recognition step sequence may start at 0 or at 2. When the recognition step sequence of a pulse edge is 0, as the next pulse edge is input sequentially, the recognition step sequence of the next pulse edge will also increase sequentially until the recognition step sequence corresponding to the next pulse edge is 2. After signal recognition, the recognition step sequence will return to 0, that is, a new round of signal recognition process will begin.

[0079] Preferably, S1 includes:

[0080] S11: Pre-build data storage tables;

[0081] S12: Extract the capture data of the current pulse edge from the data storage table;

[0082] The data storage table stores the capture data of each captured pulse edge during the splicing pulse signal input process.

[0083] The aforementioned data storage table facilitates the storage of information related to the currently captured pulse edge during real-time acquisition, making it convenient to apply this information during subsequent real-time parameter measurements. Since parameter measurement is a real-time process, this data storage table can also store the target parameters of the preceding frequency signal segment, allowing for further analysis of the target parameters of the current frequency signal segment using these known target parameters during parameter measurement.

[0084] Specifically, the captured data includes the number of captures, signal segment identifier, capture time, and data index, with the data index value being equal to the number of captures.

[0085] The capture count indicates which time the current pulse edge was captured during the entire real-time capture process; the signal segment identifier indicates which frequency signal segment in the spliced ​​pulse signal the previous pulse edge belongs to; the capture time indicates the time when the current pulse edge was captured; and the data index indicates the position of the current pulse edge in the data storage table. Based on this data index, the relevant information of the corresponding pulse edge can be directly extracted. Typically, pulse edge data is stored in the data storage table in the order of capture, so the data index corresponds one-to-one with the capture count. In this embodiment, the value of the data index is set to be equal to the value of the capture count, which facilitates subsequent determination of the current pulse edge's position in the spliced ​​pulse signal using the relationship between the data index and the capture count, thus facilitating parameter measurement.

[0086] Specifically, the data storage table has n rows, each containing m data items. These data items include the number of captures, signal segment identifier, capture time, and data index. The relevant data for each pulse edge is sequentially filled into each row of the data storage table according to the capture order. Therefore, the data items in each row represent the relevant data for each pulse edge. Based on the data index, the capture data for the relevant pulse edges can be extracted.

[0087] Specifically, the target parameters for each frequency signal segment include a start index, an end index, a target pulse width, and a target frequency. In each frequency signal segment, the start index corresponds to the data index of the first pulse edge in the corresponding frequency signal segment, and the end index corresponds to the data index of the last pulse edge in the corresponding frequency signal segment.

[0088] Since each frequency signal segment includes multiple pulse edges, typically multiple consecutive rising and falling edges of equal pulse width, the layout of each frequency signal segment in the spliced ​​pulse signal can be accurately determined by using the target parameters mentioned above, including the start index, end index, target pulse width, and target frequency. Specifically, when a frequency signal segment includes k pulse edges, the data index corresponding to the first pulse edge is the start index of that frequency signal segment, and the data index corresponding to the kth pulse edge is the end index. Based on these start and end indexes, the corresponding frequency signal segment can be found in the data storage table.

[0089] In this embodiment, the number of captures can be directly implemented using a counter. This counter has an initial value of 0, and its value increments by 1 each time a pulse edge is captured. The capture time can be obtained using a timer. The data index and signal segment identifier can both be set according to pre-defined rules.

[0090] Preferably, the captured data also includes the step sequence identification code of the current pulse edge;

[0091] In this embodiment, S2 includes:

[0092] Based on the step sequence identification code of the current pulse edge, the current identification step sequence of the current pulse edge is obtained.

[0093] By setting a step sequence identification code, the current identification step sequence can be directly determined, which in turn facilitates signal identification according to the corresponding signal identification program, enabling parameter measurement of different frequency signal bands.

[0094] Preferably, the current pulse edge is set to be the j-th pulse edge, where j satisfies j≥2;

[0095] The above S31 includes:

[0096] Step S311: When i = 0, determine whether the j-th pulse edge belongs to the first frequency signal segment based on the signal segment identifier of the j-th pulse edge; if yes, proceed to step S312; otherwise, proceed to step S313.

[0097] Step S312: Determine whether the number of captures of the j-th pulse edge is 2; if yes, obtain the starting pulse width corresponding to the current frequency signal segment based on the capture time of the j-th pulse edge, and use the data index of the (j-1)-th pulse edge as the starting index corresponding to the current frequency signal segment and mark it in the data storage table; otherwise, end the first signal recognition program.

[0098] Step S313: According to the data storage table, obtain the end index of the previously captured frequency signal segment; determine whether the result of adding 2 to the value of the end index of the previously captured frequency signal segment is equal to the value of the number of captures of the j-th pulse edge. If yes, proceed to step S314; otherwise, proceed to step S315.

[0099] Step S314: Obtain the starting pulse width corresponding to the current frequency signal segment based on the capture time of the j-th pulse edge, and use the data index of the (j-1)-th pulse edge as the starting index corresponding to the current frequency signal segment and mark it in the data storage table to end the first signal recognition program;

[0100] Step S315: Obtain the first additional pulse width of the previously captured frequency signal segment based on the capture time of the j-th pulse edge, and update the target pulse width of the previously captured frequency signal segment in the data storage table based on the first additional pulse width, and end the first signal recognition program.

[0101] When i = 0, it indicates that the pulse edge is at the beginning of its frequency signal segment. This could be a splicing region or the first half of the first wave (including a rising edge and a falling edge). In the first signal recognition program described above, based on the signal segment identifier, it can be determined whether the current pulse edge belongs to the first frequency signal segment. For the first frequency signal segment, if the number of captures is 2, it means that a wave has been input into the first frequency signal segment, and the starting pulse width and starting index of the first frequency signal segment can be determined. Other parameters of this frequency signal segment require subsequent input pulse edges to determine, so the first signal recognition program ends, and i + 1 is set. If the number of captures is not 2, the starting pulse width and starting index are not determined by the current pulse edge, and further input pulse edges are required, so the first signal recognition program ends directly, and i + 1 is set.

[0102] If the current pulse edge does not belong to the first frequency signal segment, the starting pulse width and starting index need to be determined based on the known end index of the previously captured frequency signal segment and the number of captures. When the result of adding 2 to the end index is equal to the number of captures for the current pulse edge, it means that exactly two pulse edges of the current frequency signal segment were input after the end of the previous captured frequency signal segment, and the corresponding starting pulse width and starting index can be determined accordingly. Otherwise, because there is a splicing region between the current frequency signal segment and the previously captured frequency signal segment, the currently captured pulse edge is located exactly in the splicing region (e.g., ...). Figure 2As shown, the pulse width of the splicing area needs to be allocated to the two frequency signal segments before and after to obtain the actual target pulse width of the two frequency signal segments before and after. Since the target pulse width of the previous frequency signal segment has been obtained in the aforementioned signal recognition process, the target pulse width of the previously captured frequency signal segment can be updated based on the first additional pulse width obtained from the acquisition time of the j-th pulse edge.

[0103] Using the above method, the relevant parameters (including the starting pulse width and starting index) of the current frequency signal segment at the starting position can be accurately measured.

[0104] Once the above steps are completed, the signal identification of the currently captured pulse edge is finished. Let i+1, and proceed with the signal identification of the next pulse edge in order to realize the parameter measurement of the current frequency signal segment.

[0105] The signal recognition process for i=0 in this embodiment is as follows: Figure 3 As shown.

[0106] Preferably, S32 includes:

[0107] Step S321: When i = 1, obtain the starting index of the current frequency signal segment to which the current pulse edge belongs according to the data storage table;

[0108] Step S322: Determine whether the result of adding 1 to the value of the starting index of the current frequency signal segment is equal to the value of the number of captures of the j-th pulse edge; if yes, proceed to step S323, otherwise proceed to step S324.

[0109] Step S323: Based on the capture time of the j-th pulse edge, obtain the first half-wave pulse width of the current frequency signal segment, and end the second signal recognition program;

[0110] Step S324: Determine whether the result of adding 2 to the value of the starting index of the current frequency signal segment is equal to the value of the number of captures of the j-th pulse edge; if yes, execute steps S325 and S326 in sequence; otherwise, end the second signal recognition program.

[0111] Step S325: Based on the capture time of the j-th pulse edge, obtain the second half-wave pulse width and the full-wave pulse width of the current frequency signal segment; and based on the full-wave pulse width, obtain the initial frequency of the current frequency signal segment.

[0112] Step S326: Based on the signal segment identifier of the j-th pulse edge, determine whether the j-th pulse edge belongs to the first frequency signal segment; if yes, proceed to step S327; otherwise, proceed to step S328.

[0113] Step S327: Based on the starting index, full-wave pulse width and second half-wave pulse width of the current frequency signal segment, obtain the second additional pulse width of the current frequency signal segment, and according to the full-wave pulse width and the second additional pulse width of the current frequency signal segment, obtain the target pulse width of the current frequency signal segment and store it in the data storage table, and end the second signal recognition program.

[0114] Step S328: According to the data storage table, obtain the target frequency of the previously captured frequency signal segment; determine whether the difference between the initial frequency of the current frequency signal segment and the target frequency of the previously captured frequency signal segment is within the first preset threshold; if yes, proceed to step S329, otherwise proceed to step S3210.

[0115] Step S329: Merge the current frequency signal segment with the previously captured frequency signal segment to end the second signal recognition procedure;

[0116] Step S3210: Based on the starting index and full-wave pulse width of the current frequency signal segment, obtain the starting pulse width of the current frequency signal segment, and determine whether the starting pulse width of the current frequency signal segment is less than the second half-wave pulse width of the current frequency signal segment. If so, proceed to step S3211; otherwise, proceed to step S3212.

[0117] Step S3211: Using the periodic proportional segmentation method, the first additional pulse width of the previously captured frequency signal segment and the second additional pulse width of the current frequency signal segment are obtained respectively; based on the first additional pulse width, the target pulse width of the previously captured frequency signal segment in the data storage table is updated; and based on the second additional pulse width, the target pulse width of the current frequency signal segment is obtained and stored in the data storage table, thus ending the second signal recognition program.

[0118] Step S3212: Determine that there is no second additional pulse width in the current frequency signal segment, and store the full-wave pulse width of the current frequency signal segment as the target pulse width in the data storage table, and end the second signal recognition program.

[0119] When i = 1, it indicates that the pulse edge is not at the beginning of its frequency signal segment, but in the middle. This middle position could be the latter half of the first wave (i.e., the second pulse edge of the first wave); or it could be the second wave. If the current frequency signal segment has only two waves, then this middle position could be the first half of the last wave (i.e., the first pulse edge of the last wave). In the second signal recognition procedure described above, if the starting index of the current frequency signal segment (obtained from the recognition of the preceding pulse edge) plus 1 equals the number of captures, it indicates that the pulse edge is the latter half of the first wave of the frequency signal segment. Using its corresponding capture time, the pulse width of the first half of the first wave can be obtained (since the first wave is located in the first half of a periodic wave, it is called the first half pulse width). If the sum of the starting index and the number of captures for the current frequency signal segment is not equal, it means that the pulse edge at this time is not the second half of the first wave of the frequency signal segment, but may be the second wave. At this time, we continue to check whether the sum of the starting index and the number of captures for the j-th pulse edge is equal to the number of captures. If they are equal, we can obtain the pulse width of the first half of the second wave (since the second wave is located in the second half of a periodic wave, it is called the second half pulse width) and the pulse width of one period (i.e., the full wave pulse width). Based on the relationship between frequency and period, we can further obtain the initial frequency.

[0120] If the current pulse edge belongs to the first frequency signal segment, then the pulse edge is located in the splicing area between the first frequency signal segment and the next frequency signal segment. It is necessary to calculate the second additional pulse width allocated to the current frequency signal segment based on the starting index, the full-wave pulse width, and the second half-wave pulse width. The target pulse width of the current frequency signal segment can be obtained by using the full-wave pulse width and the second additional pulse width.

[0121] If the current pulse edge does not belong to the first frequency signal segment, the position of the current pulse edge in the frequency signal segment is further identified based on the frequency. If the frequencies of the two frequency signal segments are small, it means that they belong to the same frequency signal segment and are merged. Otherwise, the current pulse edge is determined to be in the splicing region based on the initial pulse width and the second half-wave pulse width. If the current pulse edge is not in the splicing region, there is no second additional pulse width in the current frequency signal segment, and the previously obtained full-wave pulse width can be directly used as the corresponding target pulse width. Otherwise, the additional pulse widths of the two frequency signal segments are divided according to the period ratio segmentation method, and the target pulse width is obtained based on the segmented additional pulse widths.

[0122] Among them, the periodic proportional segmentation method refers to the fact that there is a certain ratio between the full-wave pulse width of the previous frequency signal segment and the full-wave pulse width of the current frequency signal segment. The pulse width of the splicing area is divided into the two according to this ratio, so that the first additional pulse width of the previous frequency signal segment and the second additional pulse width of the current frequency signal segment can be obtained respectively.

[0123] Using the above method, the relevant parameters of the current frequency signal segment located in the middle position can be accurately measured.

[0124] Similarly, after completing the above steps, the signal recognition of the currently captured pulse edge is completed. Let i+1, and proceed to the signal recognition of the next pulse edge. If the parameter measurement of the current frequency signal segment is not complete, the parameter measurement of the current frequency signal segment will be achieved through the signal recognition of the next pulse edge; if the parameter measurement of the current frequency signal segment is complete, the parameter measurement of the next frequency signal segment will be achieved through the signal recognition of the next pulse edge.

[0125] The signal recognition process for i=1 in this embodiment is as follows: Figure 3 As shown.

[0126] Preferably, S33 includes:

[0127] Step S331: When i = 2, based on the capture time and data index of the j-th pulse edge, obtain the current pulse width of the j-th pulse edge, as well as the first half-wave pulse width and the full-wave pulse width of the current frequency signal segment;

[0128] Step S332: Determine whether the difference between the current pulse width of the j-th pulse edge and the first half-wave pulse width of the current frequency signal segment exceeds the second preset threshold; if yes, execute step S333; otherwise, end the third signal recognition program.

[0129] Step S333: Determine the data index of the j-th pulse edge as the end index of the current frequency signal segment and mark it in the data storage table; determine the current pulse width of the j-th pulse edge as the second additional pulse width of the current frequency signal segment; obtain the target pulse width of the current frequency signal segment based on the second additional pulse width and the full-wave pulse width of the current frequency signal segment and store it in the data storage table; end the third signal recognition program.

[0130] When i = 2, it indicates that the pulse edge is at the end of its frequency signal segment. This end position could be the latter half of the last wave (i.e., the second pulse edge of the last wave); or it could be the splicing region between the pulse edge and the next frequency signal segment (corresponding to the case in step S333). Using the above method, the relevant parameters of the current frequency signal segment can be accurately measured when the pulse edge is at the end position under different circumstances.

[0131] The signal recognition process for i=2 in this embodiment is as follows: Figure 5 As shown.

[0132] By using the above three-step cyclic identification, the relevant parameters of each frequency signal segment in the spliced ​​pulse signal can be accurately measured, which facilitates the application of the measured parameters for related control work in various fields.

[0133] Furthermore, since the pulse edge is captured in real time, for the first captured pulse edge, the recognition step sequence is directly cleared to zero, and the signal segment identifier code is also cleared to zero, and then it waits for the second captured pulse edge to perform subsequent signal recognition.

[0134] Example 2

[0135] like Figure 6 As shown, a spliced ​​pulse signal parameter measurement system is provided. The spliced ​​pulse signal is composed of multiple frequency signal segments input sequentially, and each frequency signal segment includes multiple pulse edges. Applied to the multi-sponge pulse signal parameter measurement method of Embodiment 1, the system includes:

[0136] The pulse capture module is used to capture the pulse edges of the sequentially input spliced ​​pulse signals in real time, and to obtain the capture data of the current pulse edge in real time.

[0137] The step sequence determination module is used to determine the current recognition step sequence of the current pulse edge based on the captured data;

[0138] Let the current recognition step order be i, i∈{0,1,2};

[0139] The signal recognition module is used to execute a first signal recognition program when i=0, obtain first signal recognition data based on the captured data, and increment i by 1; execute a second signal recognition program when i=1, obtain second signal recognition data based on the captured data and the first signal recognition data, and increment i by 1; execute a third signal recognition program when i=2, obtain the target parameters of the current frequency signal band based on the captured data, the first signal recognition data, and the second signal recognition data, and increment i by 0.

[0140] The cyclic measurement module is used to repeatedly execute the functions of the pulse acquisition module, the step sequence determination module, and the signal recognition module to obtain the target parameters corresponding to each frequency signal segment input sequentially in the spliced ​​pulse signal.

[0141] The system captures the pulse edges of the spliced ​​pulse signal in real time as they are sequentially input. During the capture process, it simultaneously acquires the capture data for each captured pulse edge. The current identification step sequence refers to the identification step at which the current pulse edge is located. Since the currently captured pulse edge may be located at the beginning, middle, or end position of different frequency signal segments in the entire spliced ​​pulse signal, the capture data at different positions will differ, and the corresponding signal identification of the pulse edge will also differ. Therefore, by using the real-time acquired capture data, on the one hand, the current identification step sequence of the current pulse edge can be determined, which facilitates the application of different signal identification programs for pulse edges at different positions. On the other hand, after determining the current identification step sequence, the information contained therein is used for signal identification, ultimately obtaining the target parameters of each frequency signal segment, and realizing the parameter measurement of the spliced ​​pulse signal.

[0142] The spliced ​​pulse signal parameter measurement system of this embodiment can identify the pulse edges at different positions of a spliced ​​signal containing multiple frequency pulse signals, realize the accurate measurement of relevant parameters of each frequency signal segment, and thus meet the higher control requirements of pulse signals.

[0143] The function of the spliced ​​pulse signal parameter measurement system described in this embodiment corresponds to the steps of the spliced ​​pulse signal parameter measurement method in Embodiment 1. For details not covered in this embodiment, please refer to Embodiment 1 and... Figures 1 to 5 The specific details will not be repeated here.

[0144] Example 3

[0145] A spliced ​​pulse signal parameter measurement device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed, it implements the method steps of the spliced ​​pulse signal parameter measurement method of Embodiment 1.

[0146] By using a computer program stored in memory and running on a processor, it is possible to identify the pulse edges at different locations of spliced ​​signals containing multiple frequency pulse signals, accurately measure the relevant parameters of each frequency signal segment, and thus meet the higher control requirements of pulse signals.

[0147] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the computer device, connecting all parts of the computer device through various interfaces and lines.

[0148] Memory can be used to store computer programs and / or models. The processor performs various functions of the computer device by running or executing the computer programs and / or models stored in the memory, and by accessing data stored in the memory. Memory can primarily include a program storage area and a data storage area. The program storage area can store the operating system and at least one application program required for a function (e.g., sound playback, image playback, etc.); the data storage area can store data created based on the use of the mobile phone (e.g., audio data, video data, etc.). Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, smart media cards (SMC), secure digital cards (SD cards), flash cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.

[0149] It should be understood that each block of a flowchart and / or block diagram, and combinations of blocks in a flowchart and / or block diagram, can be implemented by a computer program. These computer programs can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that instructions executable by the processor of the computer or other programmable data processing device generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0150] These computer programs may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0151] These computer programs may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0152] This embodiment also provides a computer storage medium, which includes at least one instruction that, when executed, implements the method steps in the spliced ​​pulse signal parameter measurement method of Embodiment 1.

[0153] By executing a computer storage medium containing at least one instruction, it is possible to identify the pulse edges at different locations of a spliced ​​signal containing multiple frequency pulse signals, thereby achieving accurate measurement of relevant parameters for each frequency signal segment and meeting the higher control requirements of pulse signals.

[0154] Similarly, for details not covered in Embodiment 3, please refer to Embodiments 1 and 2. Figures 1 to 6 The specific details will not be repeated here.

[0155] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for measuring parameters of spliced ​​pulse signals, characterized in that, The spliced ​​pulse signal is composed of multiple sequentially input frequency signal segments, each frequency signal segment including multiple pulse edges; the method includes: The system captures the pulse edges of the sequentially input spliced ​​pulse signals in real time and obtains the capture data of the current pulse edge in real time. Based on the captured data, determine the current recognition step sequence of the current pulse edge; Let the current recognition step order be i, i∈{0,1,2}; When i = 0, execute the first signal recognition program, obtain the first signal recognition data based on the captured data, and then increment i by 1; When i = 1, execute the second signal recognition program, obtain the second signal recognition data based on the captured data and the first signal recognition data, and then increment i by 1; When i=2, the third signal recognition program is executed. Based on the captured data, the first signal recognition data, and the second signal recognition data, the target parameters of the current frequency signal band are obtained, and i=0 is set. Using the same method, the target parameters corresponding to each frequency signal segment input sequentially in the spliced ​​pulse signal are obtained in turn.

2. The method according to claim 1, characterized in that, Real-time acquisition of capture data of the current pulse edge, including: Pre-build data storage tables; Extract the capture data of the current pulse edge from the data storage table; The data storage table stores the capture data of each captured pulse edge during the splicing pulse signal input process.

3. The method according to claim 2, characterized in that, The captured data includes the number of captures, signal segment identifier, capture time, and data index. The value of the data index is equal to the value of the number of captures. The data storage table also stores the target parameters for each frequency signal band; The target parameters for each frequency signal segment include a start index, an end index, a target pulse width, and a target frequency. Within each frequency signal segment, the start index corresponds to the data index of the first pulse edge in the corresponding frequency signal segment, and the end index corresponds to the data index of the last pulse edge in the corresponding frequency signal segment.

4. The method according to claim 3, characterized in that, wherein... The current pulse edge is the j-th pulse edge, where j ≥ 2; When i = 0, the first signal recognition program is executed to obtain the first signal recognition data based on the captured data, including: Step S311: When i = 0, determine whether the j-th pulse edge belongs to the first frequency signal segment based on the signal segment identifier of the j-th pulse edge; If yes, proceed to step S312; otherwise, proceed to step S313. Step S312: Determine whether the number of captures of the j-th pulse edge is 2; if yes, obtain the starting pulse width corresponding to the current frequency signal segment based on the capture time of the j-th pulse edge, and use the data index of the (j-1)-th pulse edge as the starting index corresponding to the current frequency signal segment and mark it in the data storage table; otherwise, end the first signal recognition program. Step S313: According to the data storage table, obtain the end index of the previously captured frequency signal segment; determine whether the result of adding 2 to the value of the end index of the previously captured frequency signal segment is equal to the value of the number of captures of the j-th pulse edge. If yes, proceed to step S314; otherwise, proceed to step S315. Step S314: Obtain the starting pulse width corresponding to the current frequency signal segment based on the capture time of the j-th pulse edge, and use the data index of the (j-1)-th pulse edge as the starting index corresponding to the current frequency signal segment and mark it in the data storage table to end the first signal recognition program; Step S315: Obtain the first additional pulse width of the previously captured frequency signal segment based on the capture time of the j-th pulse edge, and update the target pulse width of the previously captured frequency signal segment in the data storage table based on the first additional pulse width, and end the first signal recognition program.

5. The method according to claim 3, characterized in that, wherein... The current pulse edge is the j-th pulse edge, where j ≥ 2; When i=1, the second signal recognition program is executed. Based on the captured data and the first signal recognition data, the second signal recognition data is obtained, including: Step S321: When i = 1, obtain the starting index of the current frequency signal segment to which the current pulse edge belongs according to the data storage table; Step S322: Determine whether the result of adding 1 to the value of the starting index of the current frequency signal segment is equal to the value of the number of captures of the j-th pulse edge; if yes, proceed to step S323, otherwise proceed to step S324. Step S323: Based on the capture time of the j-th pulse edge, obtain the first half-wave pulse width of the current frequency signal segment, and end the second signal recognition program; Step S324: Determine whether the result of adding 2 to the value of the starting index of the current frequency signal segment is equal to the value of the number of captures of the j-th pulse edge; if yes, execute steps S325 and S326 in sequence; otherwise, end the second signal recognition program. Step S325: Based on the capture time of the j-th pulse edge, obtain the second half-wave pulse width and the full-wave pulse width of the current frequency signal segment; and based on the full-wave pulse width, obtain the initial frequency of the current frequency signal segment. Step S326: Based on the signal segment identifier of the j-th pulse edge, determine whether the j-th pulse edge belongs to the first frequency signal segment; if yes, proceed to step S327; otherwise, proceed to step S328. Step S327: Based on the starting index, full-wave pulse width and second half-wave pulse width of the current frequency signal segment, obtain the second additional pulse width of the current frequency signal segment, and according to the full-wave pulse width and the second additional pulse width of the current frequency signal segment, obtain the target pulse width of the current frequency signal segment and store it in the data storage table, and end the second signal recognition program. Step S328: According to the data storage table, obtain the target frequency of the previously captured frequency signal segment; determine whether the difference between the initial frequency of the current frequency signal segment and the target frequency of the previously captured frequency signal segment is within the first preset threshold; if yes, proceed to step S329, otherwise proceed to step S3210. Step S329: Merge the current frequency signal segment with the previously captured frequency signal segment to end the second signal recognition procedure; Step S3210: Based on the starting index and full-wave pulse width of the current frequency signal segment, obtain the starting pulse width of the current frequency signal segment, and determine whether the starting pulse width of the current frequency signal segment is less than the second half-wave pulse width of the current frequency signal segment. If so, proceed to step S3211; otherwise, proceed to step S3212. Step S3211: Using the periodic proportional segmentation method, the first additional pulse width of the previously captured frequency signal segment and the second additional pulse width of the current frequency signal segment are obtained respectively; based on the first additional pulse width, the target pulse width of the previously captured frequency signal segment in the data storage table is updated; and based on the second additional pulse width, the target pulse width of the current frequency signal segment is obtained and stored in the data storage table, thus ending the second signal recognition program. Step S3212: Determine that there is no second additional pulse width in the current frequency signal segment, and store the full-wave pulse width of the current frequency signal segment as the target pulse width in the data storage table, and end the second signal recognition program.

6. The method according to claim 3, characterized in that, wherein... The current pulse edge is the j-th pulse edge, where j ≥ 2; When i=2, the third signal recognition program is executed. Based on the captured data, the first signal recognition data, and the second signal recognition data, the target parameters of the current frequency signal band are obtained, including: Step S331: When i = 2, based on the capture time and data index of the j-th pulse edge, obtain the current pulse width of the j-th pulse edge, as well as the first half-wave pulse width and the full-wave pulse width of the current frequency signal segment; Step S332: Determine whether the difference between the current pulse width of the j-th pulse edge and the first half-wave pulse width of the current frequency signal segment exceeds the second preset threshold; if yes, execute step S333; otherwise, end the third signal recognition program. Step S333: Determine the data index of the j-th pulse edge as the end index of the current frequency signal segment and mark it in the data storage table; determine the current pulse width of the j-th pulse edge as the second additional pulse width of the current frequency signal segment; obtain the target pulse width of the current frequency signal segment based on the second additional pulse width and the full-wave pulse width of the current frequency signal segment and store it in the data storage table; end the third signal recognition program.

7. The method according to claim 3, characterized in that, The captured data also includes the step sequence identification code of the current pulse edge; Based on the captured data, determine the current recognition step sequence for the current pulse edge, including: Based on the step sequence identification code of the current pulse edge, the current identification step sequence of the current pulse edge is obtained.

8. A spliced ​​pulse signal parameter measurement system, characterized in that, The spliced ​​pulse signal is composed of multiple sequentially input frequency signal segments, each frequency signal segment including multiple pulse edges; the system is applied in the spliced ​​pulse signal parameter measurement method as described in any one of claims 1 to 7, comprising: The pulse capture module is used to capture the pulse edges of the sequentially input spliced ​​pulse signals in real time, and to obtain the capture data of the current pulse edge in real time. The step sequence determination module is used to determine the current recognition step sequence of the current pulse edge based on the captured data; Let the current recognition step order be i, i∈{0,1,2}; The signal recognition module is used to execute a first signal recognition program when i=0, obtain first signal recognition data based on the captured data, and increment i by 1; execute a second signal recognition program when i=1, obtain second signal recognition data based on the captured data and the first signal recognition data, and increment i by 1; execute a third signal recognition program when i=2, obtain the target parameters of the current frequency signal band based on the captured data, the first signal recognition data, and the second signal recognition data, and increment i by 0. The cyclic measurement module is used to repeatedly execute the functions of the pulse acquisition module, the step sequence determination module, and the signal recognition module to obtain the target parameters corresponding to each frequency signal segment input sequentially in the spliced ​​pulse signal.

9. A device for measuring parameters of spliced ​​pulse signals, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed, implements the steps of the method as claimed in any one of claims 1 to 7.

10. A computer storage medium, characterized in that, The computer storage medium includes at least one instruction that, when executed, implements the steps of the method as claimed in any one of claims 1 to 7.