System function data processing method, electronic device and storage medium

By constructing multiple input frequency groups according to the system function order values ​​and sampling parameters of the nonlinear model, and reversely canceling the nonlinear distortion, the problem of system function errors caused by unreasonable selection of sampling parameters in the existing technology is solved, and the data is improved. Processing accuracy.

CN118399959BActive Publication Date: 2024-08-23XIAN XINCHUANG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410853831.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-08-23
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

When obtaining the sampling data of the analog-to-digital converter in the existing technology, the selection of sampling parameters is not reasonable enough, which leads to errors in the system function and affects the performance of the analog-to-digital converter.

Method used

By determining the sampling signal input frequency of the analog-to-digital converter according to the system function order value of the nonlinear model, and combining the number of sampling points and sampling rate, multiple input frequency groups are constructed to reversely cancel the nonlinear distortion and obtain a more accurate system function. .

Benefits of technology

The system function error is reduced, system functions of each order that are closer to the actual situation are obtained, and the accuracy of data processing is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118399959B
    Figure CN118399959B
Patent Text Reader

Abstract

The present application provides a data processing method, electronic device and storage medium of a system function, the method comprising: determining the number of input frequencies corresponding to the sampling signal of an analog-to-digital converter according to the order value of the system function of a nonlinear model; determining the maximum value of the module value of the sampling signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter; determining the input frequency and the number of sampling points according to a preset sampling rate and a preset number of sampling cycles; sampling the output signal of the analog-to-digital converter according to the number of input frequencies, the maximum value of the module value of the sampling signal, the number of sampling points, the input frequency and the mapping relationship between the response order and the frequency component in the sampling signal, obtaining multiple groups of sampling signals corresponding to each group of input frequency groups in multiple groups of input frequency groups; thereby obtaining the system functions of each order of the nonlinear model. The error of the obtained system function can be reduced, so that the system functions of each order closer to the actual situation can be obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of digital communication technology, and in particular to a data processing method for a system function, an electronic device, and a storage medium. Background Art

[0002] In digital communication systems, the output signal of the analog to digital converter (ADC) often has nonlinear distortion, which will affect the performance indicators of the ADC and thus the performance of the system. The system function is the basis of system analysis. Through the system function, the output of the system can be obtained, so the performance of the system can be determined. Therefore, the determination of the system function is crucial to the system. Before determining the system function in the analog to digital converter, it is necessary to first obtain the sampled data.

[0003] In the prior art, when acquiring sampling data, the selection of sampling parameters is not reasonable, resulting in the acquired sampling data being idealized, which in turn causes errors in the system function obtained according to the sampling data during actual use. Summary of the invention

[0004] The purpose of the present application is to provide a data processing method, electronic device and storage medium for a system function in order to improve the accuracy of data processing of the system function in view of the deficiencies in the above-mentioned prior art.

[0005] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for processing data of a system function, the method comprising:

[0007] Determine the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter according to the order value of the system function of the nonlinear model;

[0008] Determine the maximum value of the modulus of the sampling signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter;

[0009] Determine the input frequency and the number of sampling points according to a preset sampling rate, a preset number of sampling cycles and a value range of the number of sampling points, combine each group of input frequencies into an initial input frequency group, and construct multiple groups of input frequency groups according to the initial input frequency group;

[0010] According to the number of the input frequencies, the maximum value of the modulus of the sampling signal, the number of sampling points, the input frequencies, and the mapping relationship between the response order and the frequency component in the sampling signal, the output signal of the analog-to-digital converter is sampled to obtain multiple groups of sampling signals corresponding to each of the multiple groups of input frequency groups;

[0011] According to the multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups, the various order system functions of the nonlinear model are obtained, and the nonlinear distortion is reversely offset according to the various order system functions.

[0012] Optionally, determining the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter according to the order value of the system function of the nonlinear model includes:

[0013] The order value of the system function is used as the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter.

[0014] Optionally, determining the maximum value of the modulus of the sampled signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter includes:

[0015] Determine a difference between the number of bits of the analog-to-digital converter and a preset first value, and calculate a first result of 2 raised to the power of the difference;

[0016] The product of the first result and the preset ratio value is used as the maximum value of the modulus value of the sampling signal;

[0017] A second result of 2 raised to the power of the number of bits of the analog-to-digital converter is calculated, and a value range of the number of sampling points is determined according to the second result.

[0018] Optionally, the value range of the number of sampling points is greater than or equal to the product of the second result and pi.

[0019] Optionally, the step of determining the input frequency and the number of sampling points according to a preset sampling rate, a preset number of sampling cycles, and a value range of the number of sampling points includes:

[0020] Determining the number of sampling points according to the sampling rate, the accuracy of the input frequency and the value range of the number of sampling points;

[0021] The product of the sampling rate and the number of sampling cycles is calculated, and the value of the product divided by the number of sampling points is used as the input frequency.

[0022] Optionally, sampling the output signal of the analog-to-digital converter according to the number of the input frequencies, the maximum value of the modulus value of the sampling signal, the number of sampling points, the input frequency, and a mapping relationship between the response order and the frequency component in the sampling signal to obtain multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups includes:

[0023] An output signal that meets the number of the input frequencies, the maximum value of the sampling signal, the number of sampling points, the input frequency and the mapping relationship is selected from the output signal as the sampling signal corresponding to the input frequency.

[0024] Optionally, the mapping relationship includes: the frequency component corresponding to the n-order response in the sampling signal is a combination of the frequency components corresponding to the n-1-order response and the frequency components corresponding to the first-order response, and includes the frequency component corresponding to the n-2-order response, the sampling signal is composed of the superposition of each order response, and the frequency component corresponding to the first-order response includes each input frequency.

[0025] Optionally, obtaining the system functions of each order of the nonlinear model according to the multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups includes:

[0026] Determine the time domain system responses of each order corresponding to each input frequency according to the amplitudes of each group of sampling signals corresponding to each input frequency and each group of sampling signals, and convert the time domain system responses of each order into frequency domain system responses of each order;

[0027] According to the conversion relationship between each order frequency domain system response and each order frequency domain system function, the each order frequency domain system response corresponding to each input frequency is converted into the value of each order frequency domain system function corresponding to each input frequency;

[0028] Each order frequency domain system function is obtained according to the value of each order frequency domain system function corresponding to each input frequency, and each order frequency domain system function is converted into each order time domain system function according to the conversion relationship between each order frequency domain system function and each order time domain system function.

[0029] In a second aspect, an embodiment of the present application further provides a data processing device for a system function, the device comprising:

[0030] A determination module, used to determine the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter according to the order value of the system function of the nonlinear model;

[0031] A determination module, used to determine the maximum value of the modulus of the sampling signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter;

[0032] A determination module, used to determine the input frequency and the number of sampling points according to a preset sampling rate, a preset number of sampling cycles and a value range of the number of sampling points, and to combine each group of input frequencies into an initial input frequency group, and to construct multiple groups of input frequency groups according to the initial input frequency group;

[0033] A sampling module, used to sample the output signal of the analog-to-digital converter according to the number of input frequencies, the maximum value of the modulus value of the sampling signal, the number of sampling points, the input frequency, and the mapping relationship between the response order and the frequency component in the sampling signal, to obtain multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups;

[0034] The determination module is used to obtain the various order system functions of the nonlinear model according to the multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups, and reversely offset the nonlinear distortion according to the various order system functions.

[0035] Optionally, the determining module is specifically used to:

[0036] The order value of the system function is used as the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter.

[0037] Optionally, the determining module is specifically used to:

[0038] Determine a difference between the number of bits of the analog-to-digital converter and a preset first value, and calculate a first result of 2 raised to the power of the difference;

[0039] The product of the first result and the preset ratio value is used as the maximum value of the modulus value of the sampling signal;

[0040] A second result of 2 raised to the power of the number of bits of the analog-to-digital converter is calculated, and a value range of the number of sampling points is determined according to the second result.

[0041] Optionally, the value range of the number of sampling points is greater than or equal to the product of the second result and pi.

[0042] Optionally, the determining module is specifically used to:

[0043] Determining the number of sampling points according to the sampling rate, the accuracy of the input frequency and the value range of the number of sampling points;

[0044] The product of the sampling rate and the number of sampling cycles is calculated, and the value of the product divided by the number of sampling points is used as the input frequency.

[0045] Optionally, the sampling module is specifically used for:

[0046] An output signal that meets the number of input frequencies, the maximum value of the sampling signal, the number of sampling points, the input frequency and the mapping relationship is selected from the output signal as the sampling signal corresponding to the input frequency.

[0047] Optionally, the mapping relationship includes: the frequency component corresponding to the n-order response in the sampling signal is a combination of the frequency components corresponding to the n-1-order response and the frequency components corresponding to the first-order response, and includes the frequency component corresponding to the n-2-order response, the sampling signal is composed of the superposition of each order response, and the frequency component corresponding to the first-order response includes each input frequency.

[0048] Optionally, the determining module is specifically used to:

[0049] Determine the time domain system responses of each order corresponding to each input frequency according to the amplitudes of each group of sampling signals corresponding to each input frequency and each group of sampling signals, and convert the time domain system responses of each order into frequency domain system responses of each order;

[0050] According to the conversion relationship between each order frequency domain system response and each order frequency domain system function, the each order frequency domain system response corresponding to each input frequency is converted into the value of each order frequency domain system function corresponding to each input frequency;

[0051] Each order frequency domain system function is obtained according to the value of each order frequency domain system function corresponding to each input frequency, and each order frequency domain system function is converted into each order time domain system function according to the conversion relationship between each order frequency domain system function and each order time domain system function.

[0052] In the third aspect, an embodiment of the present application also provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores program instructions executable by the processor, and when the application is running, the processor communicates with the storage medium through the bus, and the processor executes the program instructions to execute the steps of the data processing method of the system function described in the first aspect above.

[0053] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is read and executes the steps of the data processing method of the system function described in the first aspect above.

[0054] The beneficial effects of this application are:

[0055] The present application provides a data processing method, electronic device and storage medium for a system function. The method determines the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter according to the order value of the system function of the analog-to-digital converter, determines the maximum value of the modulus value of the sampling signal and the number of sampling points according to the number of bits of the analog-to-digital converter, determines the input frequency according to a preset sampling rate and a preset number of sampling cycles, and samples the output signal of the analog-to-digital converter according to the number of input frequencies, the maximum value of the modulus value of the sampling signal, the number of sampling points, the input frequency and the mapping relationship between the response order and the frequency component in the sampling signal to obtain multiple groups of sampling signals. The method can reduce the error of the system function obtained from the multiple groups of sampling signals corresponding to the multiple groups of input frequency groups, so as to obtain system functions of various orders that are closer to the actual situation. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 A flowchart of a data processing method for a system function provided in an embodiment of the present application;

[0058] Figure 2 A flowchart of another method for processing data of a system function provided in an embodiment of the present application;

[0059] Figure 3 A flowchart of another method for processing data of a system function provided in an embodiment of the present application;

[0060] Figure 4 A schematic diagram of a device for a data processing method of a system function provided in an embodiment of the present application;

[0061] Figure 5 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0063] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0064] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0065] Optionally, the data processing method of the system function provided in the embodiment of the present application is applied to an electronic device, which may be a terminal device with computing and display capabilities, such as a mobile phone, a tablet computer, a laptop computer, a PDA, a desktop computer, or a server. Specifically, it may be applied to an application program in a terminal device, such as an APP (application, mobile phone software) of a mobile phone, an application system on a computer, etc.

[0066] The specific implementation process of data processing of the system function provided in the embodiment of the present application is explained in detail below.

[0067] Figure 1 The flowchart of a method for processing data of a system function provided in an embodiment of the present application is shown in FIG. 1 , wherein the execution subject of the method is the aforementioned electronic device. Figure 1 As shown, the method includes:

[0068] S101 . Determine the number of input frequencies corresponding to a sampling signal of an analog-to-digital converter according to an order value of a system function of a nonlinear model.

[0069] Optionally, the order value of the system function of the nonlinear model refers to the order value of the system function to be calculated, and the number of input frequencies corresponding to the sampling signal is a parameter in the sampling parameters of the sampling signal, which is the number of input frequencies of the analog-to-digital converter system. The sampling signal refers to the system output signal of the analog-to-digital converter, which can be specifically represented by y(t). The system output signal is composed of the sum of the responses of each order of the analog-to-digital converter, specifically, ,in, is the nth-order response.

[0070] Specifically, if it is necessary to calculate an n-th order system function, a preset method may be used according to the order value n of the system function to determine the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter.

[0071] S102 , determining the maximum value of the modulus of the sampling signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter.

[0072] The modulus of the sampled signal and the number of sampling points are also two sampling parameters of the sampled signal of the analog-to-digital converter. The number of bits of the analog-to-digital converter can be represented by b.

[0073] Optionally, the modulus value of the sampled signal can be obtained using | | is used to represent the number of sampling points, and N can be used to represent the number of bits b of the analog-to-digital converter. Then, the modulus value of the sampling signal can be determined using a preset method. The maximum value of | and the range of sampling points N.

[0074] S103, determining the input frequency and the number of sampling points according to the preset sampling rate, the preset number of sampling cycles and the value range of the number of sampling points, combining each group of input frequencies into an initial input frequency group, and constructing multiple groups of input frequency groups according to the initial input frequency group.

[0075] Optionally, for example, the input frequencies contained in the initial input frequency group are 100HZ and 180HZ, the input frequencies in the initial input frequency group can be changed, specifically, one input frequency or multiple input frequencies in the initial input frequency group can be changed, then multiple groups of input frequency groups can be obtained, for example, the input frequencies in input frequency group 2 can be 100HZ and 210HZ; the input frequencies in input frequency group 3 can be 150HZ and 260HZ.

[0076] Optionally, the sampling rate refers to the number of samples extracted from the continuous signal per second to form a discrete signal. The sampling rate is used for a sampler that performs periodic sampling, and the number of sampling cycles refers to the period of collecting the sampled signal. The sampling rate and the number of sampling cycles can be predetermined. Among them, the sampling rate can be represented by Fs, and the number of sampling cycles can be represented by Then, the input frequency and the number of sampling points can be determined using a preset method according to the preset sampling rate, the preset number of sampling cycles, and the value range of the number of sampling points.

[0077] S104. Sample the output signal of the analog-to-digital converter according to the number of input frequencies, the maximum value of the modulus value of the sampling signal, the number of sampling points, the input frequency, and the mapping relationship between the response order and the frequency component in the sampling signal to obtain multiple groups of sampling signals corresponding to each of the multiple groups of input frequency groups.

[0078] Optionally, the sampling signal is the output signal of the analog-to-digital converter, which also refers to the sum of each order response. The frequency component corresponding to each order response in the sampling signal can be determined by the mapping relationship between the response order and the frequency component in the sampling signal.

[0079] Optionally, according to the sampling parameters determined in the aforementioned S101-S103, such as the number of input frequencies, the maximum value of the modulus of the sampling signal, the number of sampling points, the input frequency, and the mapping relationship between the response order and the frequency component in the sampling signal, the output signals that meet the aforementioned sampling parameters can be selected from the output signals of the analog-to-digital converter as a group of sampling signals corresponding to the input frequency group, and multiple samplings can be performed to obtain multiple groups of sampling signals corresponding to the group of input frequency groups. At each sampling, the amplitude corresponding to each input frequency in the input frequency group needs to be changed, that is, the amplitude corresponding to each group of sampling signals corresponding to the group of input frequency groups is different. Afterwards, by changing each input frequency in the input frequency group and resampling according to each input frequency and the sampling parameters, multiple groups of sampling signals corresponding to each input frequency group in the multiple input frequency groups can be obtained, wherein the number of input frequencies in the input frequency group is the number of input frequencies determined in the aforementioned S101.

[0080] Exemplarily, if the initial input frequency groups are w1 and w2, multiple sampling can be performed according to the sampling parameters mentioned above to collect multiple groups of sampling signals corresponding to the input frequency groups w1 and w2, the values ​​of w1 and w2 can be changed, and multiple sampling can be performed again according to the sampling parameters determined above to collect multiple groups of sampling signals corresponding to the changed input frequency groups w1 and w2. In this way, multiple groups of sampling signals corresponding to each input frequency group in the multiple input frequency groups can be obtained.

[0081] Exemplarily, multiple groups of sampling signals corresponding to input frequency group 1, multiple groups of sampling signals corresponding to input frequency group 2, multiple groups of sampling signals corresponding to input frequency group 3, etc. can be obtained, wherein the input frequencies in input frequency group 1, the input frequencies in input frequency group 2, and the input frequencies in input frequency group 3 are not completely the same. For example, the input frequencies in input frequency group 1 are 100 Hz and 180 Hz; the input frequencies in input frequency group 2 are 100 Hz and 210 Hz; and the input frequencies in input frequency group 3 are 150 Hz and 260 Hz.

[0082] S105 , obtaining various order system functions of the nonlinear model according to the multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups, and reversely canceling the nonlinear distortion according to the various order system functions.

[0083] Optionally, the system function to be calculated can be calculated using a preset method according to the multiple groups of sampling signals corresponding to each input frequency group in the multiple input frequency groups, so that the system functions h of each order of the nonlinear model can be obtained. n (t), and input the obtained system functions of various orders into the nonlinear model, so that the nonlinear model can reversely cancel the nonlinear distortion of the output signal of the analog-to-digital converter.

[0084] In this embodiment, the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter is determined according to the order value of the system function of the nonlinear model, the maximum value of the modulus value of the sampling signal and the range of sampling points are determined according to the number of bits of the analog-to-digital converter, the input frequency and the number of sampling points are determined according to the preset sampling rate and the preset number of sampling cycles, and the output signal of the analog-to-digital converter is sampled according to the number of input frequencies, the maximum value of the modulus value of the sampling signal, the number of sampling points, the input frequency and the mapping relationship between the response order and the frequency component in the sampling signal to obtain multiple groups of sampling signals corresponding to each input frequency group in the multiple input frequency groups, which can reduce the error of the system function obtained according to the multiple groups of sampling signals corresponding to each input frequency group in the multiple input frequency groups, so as to obtain system functions of each order that are closer to the actual situation.

[0085] Optionally, the step of determining the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter according to the order value of the system function of the analog-to-digital converter in S101 may include:

[0086] Optionally, the order value of the system function is used as the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter. If the number of input frequencies is represented by m, then m=n. That is, when it is necessary to calculate the n-order system function, the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter is m=n.

[0087] Optionally, after the number of input frequencies is determined, a set of sampling signals corresponding to a set of input frequency groups is obtained when the output signal is collected once. In each collection, the amplitudes corresponding to the input frequencies in the set of input frequency groups are equal. The amplitude can be represented by a, then a u =a v , u≠v, and the value range of u and v is a positive integer between 1 and m. For this group of input frequency groups, after changing the amplitude corresponding to each input frequency in the group of input frequency groups, and then re-collecting, multiple groups of sampling signals of the group of input frequency groups can be obtained.

[0088] Exemplarily, when calculating the second-order system function, the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter is 2, and a1=a2 at each sampling; when calculating the third-order system function, the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter is 3, and a1=a2=a3 at each sampling; when calculating the fourth-order system function, the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter is 4, and a1=a2=a3=a4 at each sampling.

[0089] In the present embodiment, the number of input frequencies of the sampling signal is set to a value that is the same as the order of the system function to be calculated, so as to avoid introducing too many input frequencies to increase the complexity of system analysis and other parameter selection, while also improving the accuracy of calculating the system function; and the amplitudes at each input frequency are set to be equal. Compared with the prior art, which cannot accurately obtain the amplitudes of different input frequencies in the system input, in the present embodiment, the amplitudes at different input frequencies in the system input are regarded as equal, which can facilitate the subsequent processing of the sampled signal and further improve the accuracy of calculating the system function.

[0090] Figure 2 A flow chart of another method for processing data of a system function provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the above S102 determines the maximum value of the modulus of the sampled signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter, which may include:

[0091] S201, determining a difference between the number of bits of an analog-to-digital converter and a preset first value, and calculating a first result of 2 raised to the power of the difference.

[0092] Optionally, the preset first value may be 1, the difference between the number of bits of the analog-to-digital converter and the preset first value is b-1, and the first result of the power of the difference is 2 b-1 .

[0093] S202: Taking the product of the first result and the preset ratio value as the maximum value of the modulus value of the sampling signal.

[0094] Optionally, the preset ratio value may be 90%, and the product of the first result and the preset ratio value is 90%·2 b -1 The maximum value of the modulus of the sampled signal can be obtained using | | max The maximum value of the modulus of the sampling signal can be approximately equal to the product of the first result and the preset ratio value, which is 90%·2 b-1 .

[0095] Optionally, in the actual sampling process, when a group of input frequency groups are sampled multiple times, the amplitude of the sampled signal only needs to meet the maximum value of the modulus value at one sampling, and the amplitude of the sampled signal at other sampling times does not need to meet the maximum value of the modulus value. However, at each sampling, the amplitudes corresponding to the input frequencies in each group of input frequency groups are approximately equal.

[0096] S203, calculating a second result of 2 raised to the power of the number of bits of the analog-to-digital converter, and determining a value range of the number of sampling points according to the second result.

[0097] Optionally, the second result of the power of 2 of the number of bits of the analog-to-digital converter is 2 b , and can be based on the second result 2 b Use a preset method to determine the range of sampling points.

[0098] In this embodiment, the modulus of the sampled signal is close to the full amplitude, and the amplitude at each input frequency is equal, so that the obtained system function can be more accurate.

[0099] Optionally, the number of sampling points is greater than or equal to the product of the second result and pi. That is, N ≥ π2 b .

[0100] Optionally, the step of determining the input frequency and the number of sampling points according to a preset sampling rate, a preset number of sampling cycles, and a value range of the number of sampling points in S103 may include:

[0101] Optionally, the number of sampling points may be determined based on the sampling rate, the precision of the input frequency, and the range of the number of sampling points. Specifically, if the product of the number of sampling points and the precision of the input frequency divided by the sampling rate is an integer, and the number of sampling points meets the range of the number of sampling points mentioned above, the number of sampling points is used as the required number of sampling points.

[0102] Optionally, after determining the number of sampling points, the product of the sampling rate and the number of sampling cycles can be calculated, and the product divided by the number of sampling points is used as the input frequency. Specifically, the product of the sampling rate and the number of sampling cycles is , the product divided by the number of sampling points is , input frequency , where the sampling period is The value range of is the set of positive integers.

[0103] In this embodiment, by setting the number of sampling points to be greater than or equal to the product of the second result and pi, the accuracy of the input frequency can be reduced in actual use. This is because the existing setting of the sampling point number parameter causes the accuracy of the input frequency to be too high in actual use. However, when actually collecting the sampling signal, the signal frequency generated by the input signal source of the system cannot achieve the accuracy of the input frequency in the prior art, which leads to large errors in actual use. Therefore, the present application comprehensively considers the number of sampling points and the input frequency, and by controlling the length of the sampling points, the accuracy of the input frequency can meet the accuracy of the signal frequency generated by the input signal source of the system, thereby avoiding large errors when the sampling signal is actually used.

[0104] Optionally, in the above S104, sampling the output signal of the analog-to-digital converter according to the number of input frequencies, the maximum value of the modulus value of the sampling signal, the number of sampling points, the input frequency, and the mapping relationship between the response order and the frequency component in the sampling signal to obtain multiple groups of sampling signals corresponding to the input frequency groups may include:

[0105] Optionally, an output signal that meets the number of input frequencies, the maximum value of the sampling signal, the number of sampling points, the input frequency, and the aforementioned mapping relationship can be selected from the output signal as the sampling signal corresponding to the input frequency group. Specifically, each time sampling is performed, an output signal that meets the number of input frequencies, the maximum value of the sampling signal, the number of sampling points, the input frequency, and the aforementioned mapping relationship needs to be satisfied. The output signal collected each time can be used as a group of sampling signals. After multiple collections, multiple groups of sampling signals corresponding to the input frequency group can be obtained. The amplitude corresponding to each input frequency in the input frequency group is different each time the collection is performed. For example, for the input frequencies w1 and w2 in input frequency group 1, the amplitude corresponding to w1 and w2 is a1 during the first collection, the amplitude corresponding to w1 and w2 during the second collection is a2, and the amplitude corresponding to w1 and w2 during the first collection is a3, and a1≠a2≠a3.

[0106] Optionally, the aforementioned mapping relationship may include: the nth order response in the sampled signal is a combination of frequency components corresponding to the n-1st order response and frequency components corresponding to the first order response, and includes frequency components corresponding to the n-2nd order response.

[0107] Specifically, for the second-order system function to be calculated, the number of input frequencies required is 2. When the system inputs a dual-tone signal, the frequency corresponding to the n-order response in the sampled signal is a combination of the frequency components corresponding to the n-1-order response and the frequency components corresponding to the first-order response, and the frequency corresponding to the n+2-order response also includes the frequency corresponding to the n-order response. For two input frequencies ,and > , c represents the ratio of the two input frequencies of the dual-tone signal input to the system. The mapping table of the response order and frequency components of the obtained sampling signal is shown in Table 1 below.

[0108] Table 1 Mapping table of response order and frequency components

[0109]

[0110] As shown in Table 1, the frequency components corresponding to the third-order response include the frequency components corresponding to the first-order response, and the frequency components corresponding to the fourth-order response include the frequency components corresponding to the second-order response.

[0111] Figure 3A flowchart of another method for processing data of a system function provided in an embodiment of the present application is shown as follows: Figure 3 As shown, in S105, obtaining the various order system functions of the analog-to-digital converter according to the multiple groups of sampling signals corresponding to the multiple groups of input frequencies may include:

[0112] S301 , determining each order of time domain system response according to each group of sampling signal amplitudes corresponding to each group of input frequency groups and each group of sampling signals, and converting each time domain system response into each order of frequency domain system response.

[0113] The amplitude of each group of sampling signals refers to the amplitude corresponding to each input frequency in each group of input frequency groups, that is, the amplitude a mentioned above.

[0114] Exemplarily, the fourth-order time domain response can be obtained using the following matrix:

[0115]

[0116] in, ~ Refers to the time-domain system response of each order, ~ is the amplitude corresponding to each group of sampling signals, ~ Refers to each group of sampling signals.

[0117] Optionally, the above-mentioned time-domain system response matrices of each order can be separated using the Vandermonde matrix, and the amplitudes of each group of sampling signals corresponding to each group of input frequency groups and each group of sampling signals are substituted into the above-mentioned matrix, and the fifth-order response and the response above the fifth order in each group of sampling signals are ignored, then the time-domain system response of each order corresponding to each group of input frequency groups in the above-mentioned can be obtained. , and through Fourier transform, the time domain system response of each order Convert to frequency domain system response of each order , so that the frequency domain system responses of each order corresponding to each group of input frequency groups can be obtained.

[0118] S302 , obtaining values ​​of each order frequency domain system function corresponding to each group of input frequency groups according to the conversion relationship between each order frequency domain system response and each order frequency domain system function and each order frequency domain system response corresponding to each group of input frequency groups.

[0119] Optionally, each order frequency domain system response and the input frequency corresponding to each order frequency domain system response may be input into the following formula (I) to obtain the value of each order frequency system function corresponding to each group of input frequency groups.

[0120] The conversion relationship between each order frequency domain system response and each order frequency domain system function is shown in the following formula (I).

[0121] Formula (I)

[0122] Among them, w represents the frequency, and the value of w is equal to w1~w k The sum of Y n (w) represents the n-order frequency domain system response, ! represents the factorial, a1~a k represents the amplitude corresponding to the frequency in the 1st to kth system input, H n (w1,...,w k ) represents the n-order frequency domain system function.

[0123] S303, obtaining each order frequency domain system function according to the value of each order frequency domain system function corresponding to each group of input frequency groups, and converting each order frequency domain system function into each order time domain system function according to the conversion relationship between each order frequency domain system function and each order time domain system function.

[0124] Optionally, the values ​​of frequency-domain system functions of various orders corresponding to various input frequency groups may be taken as a set, thereby obtaining frequency-domain system functions of various orders.

[0125] Among them, the conversion relationship between each order of frequency domain system function and each order of time domain system function is shown in the following formula (II).

[0126] Formula (II)

[0127] Among them, n represents the order, the value range is a non-negative integer set, k represents the sequence number, the value of k is equal to n, w1~w k represents the frequency in the 1st to kth system input, t1~t k Indicates time, dt1~dt k Indicates the relationship between t1 and t k The differential of h n (t1,...,t k ) represents the n-order time domain system function, H n (w1,...,w k ) represents the n-order frequency domain system function. Then, the time domain system functions of each order can be obtained through the above formula (II).

[0128] Optionally, after obtaining the time-domain system functions of each order, the obtained system functions of each order can be input into the nonlinear model to verify the accuracy of the nonlinear model. The specific verification process is as follows.

[0129] Optionally, first, determine the order value s of the system function, which refers to the highest order value of the system function calculated in the above specific embodiment; second, generate an ideal system input signal, the number of input frequencies of the ideal system input signal is the same as the order value of the system function determined in the first step, and the amplitude corresponding to each input frequency is 2 b-1 / s; third, the ideal system input signal is respectively calculated through the above-mentioned specific embodiments to obtain the various order system functions, so as to obtain the corresponding various order responses; fourth, the obtained various order responses are summed to obtain the analog system output signal; fifth, the obtained analog system output signal is compared with the actual sampling signal, if they are approximately the same, the verification is passed; otherwise, it is necessary to reselect the sampling signal parameters and collect the sampling signal, and recalculate the various order system functions until the nonlinear model is verified.

[0130] Figure 4 A schematic diagram of a device for a data processing method of a system function provided in an embodiment of the present application, such as Figure 4 As shown, the device comprises:

[0131] A determination module 401 is used to determine the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter according to the order value of the system function of the nonlinear model;

[0132] A determination module 401 is used to determine the maximum value of the modulus of the sampled signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter;

[0133] A determination module 401 is used to determine the input frequency and the number of sampling points according to a preset sampling rate, a preset number of sampling cycles and a value range of the number of sampling points, and to combine each group of input frequencies into an initial input frequency group, and to construct multiple groups of input frequency groups according to the initial input frequency group;

[0134] The sampling module 402 is used to sample the output signal of the analog-to-digital converter according to the number of the input frequencies, the maximum value of the modulus value of the sampling signal, the number of sampling points, the input frequency, and the mapping relationship between the response order and the frequency component in the sampling signal to obtain multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups;

[0135] The determination module 401 is used to obtain the various order system functions of the nonlinear model according to the multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups, and reversely offset the nonlinear distortion according to the various order system functions.

[0136] Optionally, the determining module 401 is specifically configured to:

[0137] The order value of the system function is used as the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter.

[0138] Optionally, the determining module 401 is specifically configured to:

[0139] Determine a difference between the number of bits of the analog-to-digital converter and a preset first value, and calculate a first result of 2 raised to the power of the difference;

[0140] The product of the first result and the preset ratio value is used as the maximum value of the modulus value of the sampling signal;

[0141] A second result of 2 raised to the power of the number of bits of the analog-to-digital converter is calculated, and a value range of the number of sampling points is determined according to the second result.

[0142] Optionally, the value range of the number of sampling points is greater than or equal to the product of the second result and pi.

[0143] Optionally, the determining module 401 is specifically configured to:

[0144] Determining the number of sampling points according to the sampling rate, the accuracy of the input frequency and the value range of the number of sampling points;

[0145] The product of the sampling rate and the number of sampling cycles is calculated, and the value of the product divided by the number of sampling points is used as the input frequency.

[0146] Optionally, the sampling module 402 is specifically used for:

[0147] An output signal that meets the number of the input frequencies, the maximum value of the sampling signal, the number of sampling points, the input frequency and the mapping relationship is selected from the output signal as the sampling signal corresponding to the input frequency.

[0148] Optionally, the mapping relationship includes: the frequency component corresponding to the n-order response in the sampling signal is a combination of the frequency components corresponding to the n-1-order response and the frequency components corresponding to the first-order response, and includes the frequency component corresponding to the n-2-order response, the sampling signal is composed of the superposition of each order response, and the frequency component corresponding to the first-order response includes each input frequency.

[0149] Optionally, the determining module 401 is specifically configured to:

[0150] Determine the time domain system responses of each order corresponding to each input frequency according to the amplitudes of each group of sampling signals corresponding to each input frequency and each group of sampling signals, and convert the time domain system responses of each order into frequency domain system responses of each order;

[0151] According to the conversion relationship between each order frequency domain system response and each order frequency domain system function, the each order frequency domain system response corresponding to each input frequency is converted into the value of each order frequency domain system function corresponding to each input frequency;

[0152] Each order frequency domain system function is obtained according to the value of each order frequency domain system function corresponding to each input frequency, and each order frequency domain system function is converted into each order time domain system function according to the conversion relationship between each order frequency domain system function and each order time domain system function.

[0153] Figure 5 5 is a structural block diagram of an electronic device 500 provided in an embodiment of the present application. The electronic device may be, for example, a data processor for the system function described in the above embodiment. Figure 5 As shown, the electronic device may include: a processor 501 and a memory 502 .

[0154] Optionally, a bus 503 may also be included, wherein the memory 502 is used to store machine-readable instructions executable by the processor 501. When the electronic device 500 is running, the processor 501 communicates with the memory 502 through the bus 503. When the machine-readable instructions are executed by the processor 501, the method steps in the above method embodiment are performed.

[0155] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method steps in the data processing method embodiment of the above-mentioned system function are executed.

[0156] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0157] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.

[0158] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.

Claims

1. A data processing method for a system function, characterized in that: The method comprises: Determine the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter according to the order value of the system function of the nonlinear model; Determine the maximum value of the modulus of the sampling signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter; Determine the input frequency and the number of sampling points according to a preset sampling rate, a preset number of sampling cycles and a value range of the number of sampling points, combine each group of input frequencies into an initial input frequency group, and construct multiple groups of input frequency groups according to the initial input frequency group; According to the number of the input frequencies, the maximum value of the modulus of the sampling signal, the number of sampling points, the input frequencies, and the mapping relationship between the response order and the frequency component in the sampling signal, the output signal of the analog-to-digital converter is sampled to obtain multiple groups of sampling signals corresponding to each of the multiple groups of input frequency groups; According to the multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups, the various order system functions of the nonlinear model are obtained, and the nonlinear distortion is reversely offset according to the various order system functions.

2. The data processing method of the system function according to claim 1, characterized in that: Determining the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter according to the order value of the system function of the nonlinear model includes: The order value of the system function is used as the number of input frequencies corresponding to the sampling signal of the analog-to-digital converter.

3. The data processing method of the system function according to claim 1, characterized in that: The method of determining the maximum value of the modulus of the sampling signal and the value range of the number of sampling points according to the number of bits of the analog-to-digital converter includes: Determine a difference between the number of bits of the analog-to-digital converter and a preset first value, and calculate a first result of 2 raised to the power of the difference; The product of the first result and the preset ratio value is used as the maximum value of the modulus value of the sampling signal; A second result of 2 raised to the power of the number of bits of the analog-to-digital converter is calculated, and a value range of the number of sampling points is determined according to the second result.

4. The data processing method of the system function according to claim 3, characterized in that: The value range of the sampling point number is greater than or equal to the product of the second result and pi.

5. The data processing method of the system function according to claim 1, characterized in that: The step of determining the input frequency and the number of sampling points according to a preset sampling rate, a preset number of sampling cycles, and a value range of the number of sampling points comprises: Determining the number of sampling points according to the sampling rate, the accuracy of the input frequency and the value range of the number of sampling points; The product of the sampling rate and the number of sampling cycles is calculated, and the value of the product divided by the number of sampling points is used as the input frequency.

6. The data processing method of the system function according to any one of claims 1 to 5, characterized in that: The output signal of the analog-to-digital converter is sampled according to the number of the input frequencies, the maximum value of the modulus value of the sampling signal, the number of sampling points, the input frequency, and the mapping relationship between the response order and the frequency component in the sampling signal to obtain multiple groups of sampling signals corresponding to each input frequency group in the multiple groups of input frequency groups, including: An output signal that meets the number of input frequencies, the maximum value of the sampling signal, the number of sampling points, the input frequency and the mapping relationship is selected from the output signal as the sampling signal corresponding to the input frequency group.

7. The data processing method of the system function according to claim 6, characterized in that: The mapping relationship includes: the frequency component corresponding to the n-order response in the sampling signal is a combination of the frequency components corresponding to the n-1-order response and the frequency components corresponding to the first-order response, and includes the frequency components corresponding to the n-2-order. The sampling signal is composed of the superposition of each order response, and the frequency components corresponding to the first-order response include each input frequency.

8. The data processing method of the system function according to claim 1, characterized in that: The obtaining of each order system function of the nonlinear model according to the multiple groups of sampling signals corresponding to each group of input frequency groups in the multiple groups of input frequency groups comprises: Determine the time-domain system responses of each order corresponding to each input frequency group according to the amplitudes of each group of sampling signals corresponding to each input frequency group and each group of sampling signals, and convert the time-domain system responses of each order into frequency-domain system responses of each order; According to the conversion relationship between each order frequency domain system response and each order frequency domain system function and each order frequency domain system response corresponding to each input frequency group, the value of each order frequency domain system function corresponding to each input frequency group is obtained; Each order frequency domain system function is obtained according to the value of each order frequency domain system function corresponding to each input frequency group, and each order frequency domain system function is converted into each order time domain system function according to the conversion relationship between each order frequency domain system function and each order time domain system function.

9. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program executable by the processor, and the processor implements the steps of the data processing method of the system function described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the data processing method for the system function as described in any one of claims 1 to 7.