A method and system for online correction of error coefficient of synchronous acquisition device
By building a multi-channel parallel measurement model and traversing the error coefficient distribution interval, online correction of error coefficients of the synchronous acquisition device is achieved, solving the interruption and accuracy of the error correction process in the existing technology, and improving the data acquisition of power equipment Accuracy and reliability.
Patent Information
- Application Number
- CN202411249196.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2044-09-06
AI Technical Summary
The error correction method of the existing synchronous acquisition device needs to be corrected offline without operation, resulting in data collection interruption and waste of manpower and material resources. Online correction depends on the accuracy of the voltage reference source, and error drift affects accuracy after long-term operation.
By obtaining the voltage values of different channels of the synchronous acquisition device, a multi-channel parallel measurement model is constructed, an error-solving equation set is established, the voltage reference source error coefficient distribution interval is traversed, and the joint distribution probability data set is obtained, based on the principle of normality of the cluster subject and the great likelihood Target filtering optimal solutions and perform online correction.
The accurate online correction of the error coefficient of the synchronous acquisition device is achieved, which reduces manpower and material consumption, improves data acquisition accuracy, and ensures the safety and stability of power grid operation.
Smart Images

Figure CN118760792B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of electrical engineering, and in particular relates to an online correction method and system for an error coefficient of a synchronous acquisition device. Background Art
[0002] The multi-channel synchronous acquisition device is mainly used for the acquisition of secondary output analog quantities of power equipment. Based on the collected power data, the power grid staff can obtain the working status of the power equipment in real time, thereby ensuring the safety and stability of the power grid operation. However, during the long-term operation of the synchronous acquisition device, it is very easy to be affected by multiple factors such as the aging of electronic equipment, temperature and humidity, and signal frequency. After a period of operation, each channel is very likely to have problems such as error tolerance and unstable performance, which will affect the accuracy of data acquisition. Therefore, it is necessary to correct the error coefficient of the synchronous acquisition device.
[0003] At present, there are two main ways to correct the error coefficient of the synchronous acquisition device: offline correction and online correction. Offline correction is to take the synchronous acquisition device out of operation and use a calibration device with a higher accuracy level to correct its error. Offline correction requires the synchronous acquisition device to be out of operation, which will cause the interruption of power equipment data collection and break the continuity of power equipment status monitoring. At the same time, offline correction needs to be carried out on-site, which consumes a lot of manpower and material resources; the online correction method is to install a voltage reference source in the synchronous acquisition device, and use the voltage reference source to correct the acquisition error coefficient of each channel of the acquisition device. The accuracy of the online correction depends entirely on the accuracy of the voltage reference source, and the voltage reference source will also drift with long-term operation, affecting the accuracy of multi-channel acquisition.
[0004] Therefore, it is necessary to propose a method that can ensure the online correction accuracy of a multi-channel synchronous acquisition device. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a method and system for online correction of error coefficients of a synchronous acquisition device, which is used to solve the problem that error correction of existing synchronous acquisition devices consumes manpower and material resources and has poor accuracy.
[0006] In a first aspect of an embodiment of the present invention, a method for online correction of an error coefficient of a synchronous acquisition device is provided, comprising:
[0007] The voltage values synchronously collected by different channels of the synchronous acquisition device are obtained, a multi-channel parallel measurement model of the same reference source is constructed, and an error solution equation group including the output error coefficient of the voltage reference source and the multi-channel acquisition error coefficient is established;
[0008] Based on the verification regulations of the synchronous acquisition device and historical test data, the error coefficient distribution law is obtained, and the normal value, negative deviation and positive deviation distribution of the voltage reference source error coefficient are obtained according to the error coefficient distribution law;
[0009] Traverse the values of the voltage reference source error coefficient in each distribution interval, and obtain the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and the corresponding state category data set under the constraint of the parallel measurement model;
[0010] Based on the cluster subject normal principle and maximum likelihood target, the optimal solution in the error coefficient joint distribution probability data set is screened, and the voltage reference source error coefficient and multi-acquisition channel error coefficient corresponding to the optimal solution are obtained;
[0011] Based on the error coefficient, the error coefficient of the acquisition channel of the synchronous acquisition device is corrected online.
[0012] In a second aspect of an embodiment of the present invention, a synchronous acquisition device error coefficient online correction system is provided, comprising:
[0013] A model building module is used to obtain voltage values synchronously collected by different channels of a synchronous acquisition device, build a multi-channel parallel measurement model of the same reference source, and establish an error solution equation group including a voltage reference source output error coefficient and a multi-channel acquisition error coefficient;
[0014] The distribution analysis module is used to obtain the error coefficient distribution law based on the verification regulations of the synchronous acquisition device and the historical test data, and obtain the normal value, negative deviation and positive deviation distribution of the voltage reference source error coefficient according to the error coefficient distribution law;
[0015] A distribution traversal module is used to traverse the values of the voltage reference source error coefficient in each distribution interval, and obtain a joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and a corresponding state category data set under the constraints of a parallel measurement model;
[0016] The optimal screening module is used to screen the optimal solution in the error coefficient joint distribution probability data set based on the cluster subject normal principle and the maximum likelihood target, and obtain the voltage reference source error coefficient and the multi-acquisition channel error coefficient corresponding to the optimal solution;
[0017] The error correction module is used to perform online correction on the acquisition channel error coefficient of the synchronous acquisition device based on the error coefficient.
[0018] In a third aspect of an embodiment of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect of the embodiment of the present invention when executing the computer program.
[0019] In a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method provided in the first aspect of the embodiment of the present invention are implemented.
[0020] In the embodiment of the present invention, by traversing the values of the voltage reference source error coefficient in each distribution interval, the joint distribution probability data set of the error coefficient and the corresponding state category data set are obtained under the constraint of the parallel measurement model, and the optimal solution in the joint distribution probability data set of the error coefficient is screened according to the normal principle of the cluster subject and the maximum likelihood target, and the synchronous acquisition device is corrected online based on the error coefficient corresponding to the optimal solution. In this way, the online correction of the channel error coefficient of the synchronous acquisition device is realized, and the problem of unreliable error coefficient correction caused by error drift of the voltage reference source during long-term operation is solved. It not only reduces the consumption of manpower and material resources in the error correction process, but also ensures the accuracy and reliability of the error coefficient correction of the multi-channel synchronous acquisition device, thereby improving the data acquisition accuracy of the power equipment and ensuring the safety and stability of the power grid operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 A schematic flow chart of an online correction method for an error coefficient of a synchronous acquisition device provided by an embodiment of the present invention;
[0023] Figure 2 A schematic diagram of the structure of an online correction system for error coefficients of a synchronous acquisition device provided by an embodiment of the present invention;
[0024] Figure 3 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] It should be understood that the term "including" and other similar expressions in the specification or claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions, such as a process, method, system, or device including a series of steps or units is not limited to the listed steps or units. In addition, "first" and "second" are used to distinguish different objects, not to describe a specific order.
[0027] See also Figure 1 , a flowchart of an online correction method for an error coefficient of a synchronous acquisition device provided by an embodiment of the present invention includes:
[0028] S101, obtaining voltage values synchronously collected by different channels of a synchronous collection device, constructing a multi-channel parallel measurement model of the same reference source, and establishing an error solution equation group including a voltage reference source output error coefficient and a multi-channel collection error coefficient;
[0029] The synchronous acquisition device is a device for performing multi-channel synchronous acquisition of analog quantities output by power secondary equipment. In this embodiment, the synchronous acquisition device is a multi-channel synchronous acquisition device including a voltage reference source, which can synchronously acquire the voltage signal output by the voltage reference source in different channels.
[0030] Wherein, the multi-channel parallel measurement model is expressed as:
[0031] ;
[0032] In the formula, Represents the voltage measurement value of the voltage reference source, represents the error of the voltage reference source, Indicates The voltage measurement values collected by each channel, Indicates The error of each channel, Represents the output true value of the voltage reference source.
[0033] For example, by synchronously connecting the acquisition interfaces of 16 analog acquisition channels to the output interface of the voltage reference source through a multi-channel analog switch with a calibration function, the 16 analog acquisition channels can synchronously acquire the same voltage value. In this case, assuming that the output true value of the voltage reference source is , and the reference voltage measurement value is , the error is ;No. The measured voltage value of each analog channel is , the error is , the measured value of the voltage reference source and the measured value of the analog channel meet the equality constraints of the parallel measurement model.
[0034] When considering multiple channels measuring the voltage reference source simultaneously, the parallel measurement model equation can be expanded to:
[0035] ;
[0036] Furthermore, it can be written in matrix form:
[0037] ;
[0038] S102, obtaining the error coefficient distribution law based on the verification regulations of the synchronous acquisition device and the historical test data, and obtaining the normal value, negative deviation and positive deviation distribution of the voltage reference source error coefficient according to the error coefficient distribution law;
[0039] The verification regulations stipulate that the procedures must be strictly followed when using standard measuring instruments to test the synchronous acquisition device, which stipulates the accuracy level corresponding to the voltage reference source and the acquisition channel. The historical test data is the historical data of the synchronous acquisition device, including the factory test data, fault test data, etc. of the synchronous acquisition device.
[0040] The voltage reference source is used as the output of the reference voltage to calibrate each analog acquisition channel. Its accuracy level is higher than that of each acquisition channel. According to the configuration of the general model synchronous acquisition device, the accuracy level of the voltage reference source is 0.01, and the accuracy level of the analog acquisition channel is 0.05.
[0041] According to the error coefficient distribution diagram formed according to the verification procedures and historical test data, the error coefficient distribution law can be approximated as a normal distribution. According to the normal distribution principle (such as the 3σ principle), the error coefficient distribution can be divided into normal values, negative deviations and positive deviations.
[0042] S103, traversing the values of the voltage reference source error coefficient in each distribution interval, and obtaining a joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and a corresponding state category data set under the constraint of a parallel measurement model;
[0043] It can be understood that according to the extended matrix of the above parallel measurement model, the coefficient matrix of the equation group is 16×17, that is, the number of equations is 16 and the number of unknowns is 17. According to matrix theory, this equation cannot be solved in a specific way. It is necessary to give the value of a certain unknown quantity and reduce the coefficient matrix to a 16×16 matrix to obtain a specific solution of the error coefficient. Since the voltage reference source has a high accuracy level, the fluctuation range of its error coefficient is much smaller than the fluctuation range of the analog acquisition channel. If the error coefficient of the voltage reference source is obtained by traversing the distribution of the error coefficient of the voltage reference source, the traversal step size can be minimized under a limited number of traversals to ensure the accuracy of the traversal.
[0044] The error coefficient distribution of the voltage reference source can be specifically divided into normal distribution , negative deviation distribution And positive deviation distribution , when the error coefficient fluctuation is relatively stable As the ergodic number, when the normal distribution The 99.7% shortest coverage interval of the three types of error coefficient distribution ranges of the voltage reference source is defined as the ergodic range. , , , then the traversal range can be defined as:
[0045] ;
[0046] In the formula, represents the error coefficient distribution of the voltage reference source, The options are normal, nagabnormal, posabnormal, is the minimum value in the corresponding voltage reference source error coefficient data set; is the maximum value in the voltage reference source error coefficient data set, Indicates the minimum partition interval traversed within the voltage reference source distribution interval, It is an empirical value, preferably one tenth of the total number of data sets and rounded down.
[0047] Specifically, within the distribution intervals of normal value, negative deviation and positive deviation, the number of traversal times and traversal step length are set respectively;
[0048] According to formula (1), the values of the voltage reference source error coefficient and the corresponding probability in each distribution interval are calculated respectively:
[0049] ; (1)
[0050] In the formula, represents the probability of the voltage reference source error coefficient taking value, represents the error coefficient distribution of the voltage reference source, Represents the error value of the voltage reference source, represents the traversal step length, is a counting variable, indicating the A value, Indicates normal value, negative deviation or positive deviation interval;
[0051] The error coefficient value and corresponding probability of each acquisition channel in each distribution interval are calculated by formula (2):
[0052] ; (2)
[0053] In the formula, Indicates The probability of the error coefficient value of each acquisition channel, Represents the error coefficient distribution of each acquisition channel, represents the i-th acquisition channel, represents the minimum value of the data set in the i-th acquisition channel, Indicates the traversal step length of the acquisition channel, y is the counting variable, represents the maximum value of the data set in the i-th acquisition channel, and m is an empirical value;
[0054] Substitute the voltage reference source error coefficient value into the error solution equation group of the multi-channel acquisition error coefficient to obtain the error coefficient value corresponding to each channel. Based on the maximum likelihood principle, the maximum distribution probability in the three distribution intervals is selected as the error coefficient distribution probability of the acquisition channel:
[0055] ;
[0056] In the formula, Indicates The error coefficient distribution range of each acquisition channel is Indicates The distribution probability of the error coefficient of each acquisition channel in the normal value range, It represents the distribution probability of the error coefficient of the i-th acquisition channel in the negative tolerance interval, It represents the distribution probability of the error coefficient of the i-th acquisition channel in the positive tolerance interval;
[0057] The value probability corresponding to the voltage reference source error coefficient and the acquisition channel error is taken as the joint distribution probability, and the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient in each distribution interval and the corresponding state category data set are obtained by traversing:
[0058] ;
[0059] In the formula, represents the joint distribution probability, represents the error coefficient distribution probability of the voltage reference source, It represents the error coefficient distribution probability of the i-th acquisition channel, and n is the number of acquisition channels.
[0060] The three types of error coefficients are jointly distributed into probability data sets , , And the corresponding state category dataset , , Composition error coefficient joint distribution probability data set And the corresponding state category dataset .
[0061] S104, based on the cluster subject normal principle and the maximum likelihood target, screen the optimal solution in the error coefficient joint distribution probability data set, and obtain the voltage reference source error coefficient and the multi-acquisition channel error coefficient corresponding to the optimal solution;
[0062] The normal principle of the cluster body means that multiple acquisition channels in the synchronous acquisition device can realize the synchronous acquisition of the same voltage signal. At the same time, the acquisition errors of most channels in the acquisition channel cluster should be at a normal level. Under normal operating conditions and continuous error monitoring scenarios, the probability of large-scale channels in the acquisition channel cluster having acquisition error deviations at the same time is 0.
[0063] Specifically, based on the maximum likelihood objective, the error coefficient joint distribution probability data set is taken out No. Probability ,like Less than ,make ,like Greater than ,make , and let the corresponding state category in the state category dataset D ;
[0064] Based on the normal principle of cluster subjects, at the same time, if The number of acquisition channels that are out of tolerance in the forward direction or in the reverse direction is greater than , still order , ,like The number of acquisition channels that are out of tolerance in the forward direction or in the reverse direction is less than , then let , , where n is the number of acquisition channels;
[0065] If k is not the error coefficient joint distribution probability The last probability of , repeat the above process until the optimal joint distribution probability is screened out and the corresponding status category .
[0066] S105 , performing online correction on the acquisition channel error coefficient of the synchronous acquisition device based on the error coefficient.
[0067] Based on the optimal voltage reference source error coefficient and the multi-acquisition channel error coefficient, the error coefficient of each acquisition channel of the synchronous acquisition device is corrected.
[0068] Optionally, if the error coefficient does not exceed the equipment accuracy level limit of the voltage reference source and the analog acquisition channel, the error coefficient of the voltage reference source and the analog acquisition channel is corrected online according to the parallel measurement model;
[0069] If the error coefficient exceeds the accuracy level limit of the equipment, the voltage reference source and acquisition channel number where the error exceeds the tolerance will be uploaded to the host computer.
[0070] In this embodiment, based on the constraint of multi-channel parallel measurement, the values of the voltage reference source error coefficient in each distribution interval are traversed to obtain the joint distribution probability of the voltage reference source-multi-channel acquisition error coefficient and the corresponding state category, and the optimal solution of the error coefficient is screened based on the cluster subject normal principle and the maximum likelihood target, and the error coefficient of the optimal solution is obtained to perform online correction on the acquisition channel of the synchronous acquisition device. This can solve the problem of inaccurate correction of the error coefficient of each acquisition channel caused by error drift of the voltage reference source after long-term operation, and can ensure the accuracy and reliability of the online correction of the error coefficient of the synchronous acquisition device.
[0071] This ensures the accuracy of data collection on power equipment operation.
[0072] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0073] Figure 2 A schematic diagram of the structure of an online correction system for error coefficients of a synchronous acquisition device provided by an embodiment of the present invention, the system comprising:
[0074] The model building module 210 is used to obtain the voltage values synchronously collected by different channels of the synchronous collection device, build a multi-channel parallel measurement model of the same reference source, and establish an error solution equation group including the voltage reference source output error coefficient and the multi-channel collection error coefficient;
[0075] Wherein, the multi-channel parallel measurement model is expressed as:
[0076] ;
[0077] In the formula, Represents the voltage measurement value of the voltage reference source, represents the error of the voltage reference source, Indicates The voltage measurement values collected by each channel, Indicates The error of each channel, Represents the output true value of the voltage reference source.
[0078] The distribution analysis module 220 is used to obtain the error coefficient distribution law based on the verification regulations of the synchronous acquisition device and the historical test data, and obtain the normal value, negative deviation and positive deviation distribution of the voltage reference source error coefficient according to the error coefficient distribution law;
[0079] The distribution traversal module 230 is used to traverse the values of the voltage reference source error coefficient in each distribution interval, and obtain the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and the corresponding state category data set under the constraint of the parallel measurement model;
[0080] Specifically, within the distribution intervals of normal value, negative deviation and positive deviation, the number of traversal times and traversal step length are set respectively;
[0081] According to formula (1), the values of the voltage reference source error coefficient and the corresponding probability in each distribution interval are calculated respectively:
[0082] ; (1)
[0083] In the formula, represents the probability of the voltage reference source error coefficient taking value, represents the error coefficient distribution of the voltage reference source, Represents the error value of the voltage reference source, represents the traversal step length, is a counting variable, indicating the A value, Indicates normal value, negative deviation or positive deviation interval;
[0084] The error coefficient value and corresponding probability of each acquisition channel in each distribution interval are calculated by formula (2):
[0085] ; (2)
[0086] In the formula, Indicates The probability of the error coefficient value of each acquisition channel, Represents the error coefficient distribution of each acquisition channel, represents the i-th acquisition channel, represents the minimum value of the data set in the i-th acquisition channel, Indicates the traversal step length of the acquisition channel, y is the counting variable, represents the maximum value of the data set in the i-th acquisition channel, and m is an empirical value;
[0087] Substitute the voltage reference source error coefficient value into the error solution equation group of the multi-channel acquisition error coefficient to obtain the error coefficient value corresponding to each channel. Based on the maximum likelihood principle, the maximum distribution probability in the three distribution intervals is selected as the error coefficient distribution probability of the acquisition channel:
[0088] The value probability corresponding to the voltage reference source error coefficient and the acquisition channel error is taken as the joint distribution probability, and the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient in each distribution interval and the corresponding state category data set are obtained by traversing:
[0089] ;
[0090] In the formula, represents the joint distribution probability, represents the error coefficient distribution probability of the voltage reference source, It represents the error coefficient distribution probability of the i-th acquisition channel, and n is the number of acquisition channels.
[0091] The optimal screening module 240 is used to screen the optimal solution in the error coefficient joint distribution probability data set based on the cluster subject normal principle and the maximum likelihood target, and obtain the voltage reference source error coefficient and the multi-acquisition channel error coefficient corresponding to the optimal solution;
[0092] Specifically, based on the maximum likelihood objective, the error coefficient joint distribution probability data set is taken out No. Probability ,like Less than ,make ,like Greater than ,make , and let the corresponding state category in the state category dataset D ;
[0093] Based on the normal principle of cluster subjects, at the same time, if The number of acquisition channels that are out of tolerance in the forward direction or in the reverse direction is greater than , still order , ,like The number of acquisition channels that are out of tolerance in the forward direction or in the reverse direction is less than , then let , , where n is the number of acquisition channels;
[0094] If k is not the error coefficient joint distribution probability The last probability of , repeat the above process until the optimal joint distribution probability is screened out and the corresponding status category .
[0095] The error correction module 250 is used to perform online correction on the error coefficient of the acquisition channel of the synchronous acquisition device based on the error coefficient.
[0096] Optionally, if the error coefficient does not exceed the equipment accuracy level limit of the voltage reference source and the analog acquisition channel, the error coefficient of the voltage reference source and the analog acquisition channel is corrected online according to the parallel measurement model;
[0097] If the error coefficient exceeds the accuracy level limit of the equipment, the voltage reference source and acquisition channel number where the error exceeds the tolerance will be uploaded to the host computer.
[0098] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0099] Figure 3 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. The electronic device is used for online correction of the error coefficient of the synchronous acquisition device. Figure 3 As shown, the electronic device 3 of this embodiment includes: a memory 310, a processor 320 and a system bus 330, wherein the memory 310 includes an executable program 3101 stored thereon, and those skilled in the art can understand that Figure 3 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0100] Combine the following Figure 3 A detailed introduction to the various components of electronic equipment:
[0101] The memory 310 can be used to store software programs and modules. The processor 320 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 310. The memory 310 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as cache data), etc. In addition, the memory 310 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0102] The memory 310 includes an executable program 3101 of a network request method, and the executable program 3101 can be divided into one or more modules / units, which are stored in the memory 310 and executed by the processor 320 to perform error coefficient correction of a multi-channel synchronous acquisition device, etc. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the executable program 3101 in the electronic device 3. For example, the executable program 3101 can be divided into functional modules such as a model acquisition module, a distribution analysis module, a distribution traversal module, an optimal screening module, and an error correction module.
[0103] The processor 320 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 310, and calling data stored in the memory 310, it performs various functions of the electronic device and processes data, thereby monitoring the overall status of the electronic device. Optionally, the processor 320 may include one or more processing units; preferably, the processor 320 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 320.
[0104] The system bus 330 is used to connect the various functional components inside the computer, and can transmit data information, address information, and control information. Its types can be, for example, PCI bus, ISA bus, CAN bus, etc. The instructions of the processor 320 are transmitted to the memory 310 through the bus, and the memory 310 feeds back data to the processor 320. The system bus 330 is responsible for the data and instruction exchange between the processor 320 and the memory 310. Of course, the system bus 330 can also be connected to other devices, such as network interfaces, display devices, etc.
[0105] In the embodiment of the present invention, the executable program executed by the processor 320 included in the electronic device includes:
[0106] The voltage values synchronously collected by different channels of the synchronous acquisition device are obtained, a multi-channel parallel measurement model of the same reference source is constructed, and an error solution equation group including the output error coefficient of the voltage reference source and the multi-channel acquisition error coefficient is established;
[0107] Based on the verification regulations of the synchronous acquisition device and historical test data, the error coefficient distribution law is obtained, and the normal value, negative deviation and positive deviation distribution of the voltage reference source error coefficient are obtained according to the error coefficient distribution law;
[0108] Traversing the values of the voltage reference source error coefficient in each distribution interval, obtaining the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and the corresponding state category data set under the constraint of the parallel measurement model;
[0109] Based on the cluster subject normal principle and maximum likelihood target, the optimal solution in the error coefficient joint distribution probability data set is screened, and the voltage reference source error coefficient and multi-acquisition channel error coefficient corresponding to the optimal solution are obtained;
[0110] Based on the error coefficient, the error coefficient of the acquisition channel of the synchronous acquisition device is corrected online.
[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0112] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0113] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for online correction of error coefficient of synchronous acquisition device, characterized in that: include: The voltage values synchronously collected by different channels of the synchronous acquisition device are obtained, a multi-channel parallel measurement model of the same reference source is constructed, and an error solution equation group including the output error coefficient of the voltage reference source and the multi-channel acquisition error coefficient is established; Wherein, the multi-channel parallel measurement model is expressed as: In the formula, Represents the voltage measurement value of the voltage reference source, represents the error of the voltage reference source, Indicates i The voltage measurement value collected by each channel, Indicates i The error of each channel, Represents the output true value of the voltage reference source; Based on the verification regulations of the synchronous acquisition device and historical test data, the error coefficient distribution law is obtained, and the normal value, negative deviation and positive deviation distribution of the voltage reference source error coefficient are obtained according to the error coefficient distribution law; Traverse the values of the voltage reference source error coefficient in each distribution interval, and obtain the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and the corresponding state category data set under the constraint of the parallel measurement model; The traversing all values of the voltage reference source error coefficient and obtaining the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and the corresponding state category data set under the constraint of the parallel measurement model includes: In the distribution intervals of normal value, negative deviation and positive deviation, set the number of traversal times and traversal step length respectively; According to formula (1), the values of the voltage reference source error coefficient and the corresponding probability in each distribution interval are calculated respectively: In the formula, represents the probability of the voltage reference source error coefficient taking values, represents the error coefficient distribution of the voltage reference source, Represents the error value of the voltage reference source, represents the traversal step length, is a counting variable, indicating the A value, * indicates normal value, negative deviation or positive deviation interval; The error coefficient value and corresponding probability of each acquisition channel in each distribution interval are calculated by formula (2): In the formula, represents the probability of the error coefficient value of the i-th acquisition channel, Represents the error coefficient distribution of each acquisition channel, represents the i-th acquisition channel, represents the minimum value of the data set in the i-th acquisition channel, Indicates the traversal step length of the acquisition channel, y is the counting variable, represents the maximum value of the data set in the i-th acquisition channel, and m is an empirical value; Substitute the voltage reference source error coefficient value into the error solution equation group of the multi-channel acquisition error coefficient to obtain the error coefficient value corresponding to each channel. Based on the maximum likelihood principle, the maximum distribution probability in the three distribution intervals is selected as the error coefficient distribution probability of the acquisition channel: The value probability corresponding to the voltage reference source error coefficient and the acquisition channel error is taken as the joint distribution probability, and the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient in each distribution interval and the corresponding state category data set are obtained by traversing: In the formula, represents the joint distribution probability, represents the error coefficient distribution probability of the voltage reference source, represents the error coefficient distribution probability of the i-th acquisition channel, and n is the number of acquisition channels; Based on the cluster subject normal principle and maximum likelihood target, the optimal solution in the error coefficient joint distribution probability data set is screened, and the voltage reference source error coefficient and multi-acquisition channel error coefficient corresponding to the optimal solution are obtained; Based on the error coefficient, the error coefficient of the acquisition channel of the synchronous acquisition device is corrected online.
2. The method according to claim 1, characterized in that The method of screening the optimal solution in the error coefficient joint distribution probability data set based on the cluster subject normal principle and the maximum likelihood target, and obtaining the voltage reference source error coefficient and the multi-acquisition channel error coefficient corresponding to the optimal solution includes: Based on the maximum likelihood objective, extract the error coefficient joint distribution probability data set No. k Probability ,like Less than ,make ,like Greater than ,make , and let the corresponding state category in the state category dataset D ; Based on the normal principle of cluster subjects, at the same time, if The number of acquisition channels that are out of tolerance in the forward direction or in the reverse direction is greater than , still order ,like The number of acquisition channels that are out of tolerance in the forward direction or in the reverse direction is less than , then let , where n is the number of acquisition channels; like k Not the joint distribution probability of the error coefficient The last probability of , repeat the above process until the optimal joint distribution probability is screened out and the corresponding status category .
3. The method according to claim 1, characterized in that The online correction of the acquisition channel error coefficient of the synchronous acquisition device based on the error coefficient includes: If the error coefficient does not exceed the equipment accuracy level limit of the voltage reference source and the analog acquisition channel, the error coefficient of the voltage reference source and the analog acquisition channel is corrected online according to the parallel measurement model; If the error coefficient exceeds the accuracy level limit of the equipment, the voltage reference source and acquisition channel number where the error exceeds the tolerance will be uploaded to the host computer.
4. An online correction system for error coefficient of synchronous acquisition device, characterized in that: include: A model building module is used to obtain voltage values synchronously collected by different channels of a synchronous acquisition device, build a multi-channel parallel measurement model of the same reference source, and establish an error solution equation group including a voltage reference source output error coefficient and a multi-channel acquisition error coefficient; Wherein, the multi-channel parallel measurement model is expressed as: In the formula, Represents the voltage measurement value of the voltage reference source, represents the error of the voltage reference source, Indicates i The voltage measurement value collected by each channel, Indicates i The error of each channel, Represents the output true value of the voltage reference source; The distribution analysis module is used to obtain the error coefficient distribution law based on the verification regulations of the synchronous acquisition device and the historical test data, and obtain the normal value, negative deviation and positive deviation distribution of the voltage reference source error coefficient according to the error coefficient distribution law; A distribution traversal module is used to traverse the values of the voltage reference source error coefficient in each distribution interval, and obtain a joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and a corresponding state category data set under the constraints of a parallel measurement model; The traversing all values of the voltage reference source error coefficient and obtaining the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient and the corresponding state category data set under the constraint of the parallel measurement model includes: In the distribution intervals of normal value, negative deviation and positive deviation, set the number of traversal times and traversal step length respectively; According to formula (1), the values of the voltage reference source error coefficient and the corresponding probability in each distribution interval are calculated respectively: (1) In the formula, represents the probability of the voltage reference source error coefficient taking values, represents the error coefficient distribution of the voltage reference source, Represents the error value of the voltage reference source, represents the traversal step length, is a counting variable, indicating the A value, * indicates normal value, negative deviation or positive deviation interval; The error coefficient value and corresponding probability of each acquisition channel in each distribution interval are calculated by formula (2): In the formula, represents the probability of the error coefficient value of the i-th acquisition channel, Represents the error coefficient distribution of each acquisition channel, represents the i-th acquisition channel, represents the minimum value of the data set in the i-th acquisition channel, Indicates the traversal step length of the acquisition channel, y is the counting variable, represents the maximum value of the data set in the i-th acquisition channel, and m is an empirical value; Substitute the voltage reference source error coefficient value into the error solution equation group of the multi-channel acquisition error coefficient to obtain the error coefficient value corresponding to each channel. Based on the maximum likelihood principle, the maximum distribution probability in the three distribution intervals is selected as the error coefficient distribution probability of the acquisition channel: The value probability corresponding to the voltage reference source error coefficient and the acquisition channel error is taken as the joint distribution probability, and the joint distribution probability data set of the voltage reference source-multi-channel acquisition error coefficient in each distribution interval and the corresponding state category data set are obtained by traversing: In the formula, represents the joint distribution probability, represents the error coefficient distribution probability of the voltage reference source, represents the error coefficient distribution probability of the i-th acquisition channel, and n is the number of acquisition channels; The optimal screening module is used to screen the optimal solution in the error coefficient joint distribution probability data set based on the cluster subject normal principle and the maximum likelihood target, and obtain the voltage reference source error coefficient and the multi-acquisition channel error coefficient corresponding to the optimal solution; The error correction module is used to perform online correction on the acquisition channel error coefficient of the synchronous acquisition device based on the error coefficient.
5. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for online correction of error coefficients of a synchronous acquisition device as described in any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed, the steps of the method for online correction of error coefficients of a synchronous acquisition device as described in any one of claims 1 to 3 are implemented.