A/D conversion chip resource allocation method of segmented architecture
1. A resource allocation method for an A/D conversion chip of a segmented architecture is characterized by comprising the following steps:
step 1: dividing the information to be acquired according to the actual information acquisition precision requirement;
step 2: determining resource allocation space Amin,i;
And step 3: and (3) calculating the acquisition amount of the system according to the chip resource allocation calculation result in the step (2).
2. The method of claim 1, wherein the method comprises: the step 1 of dividing the information to be acquired according to the actual information acquisition precision requirement comprises the following steps:
step 1.1: suppose the total amount of information collection is AGeneral assemblyAt AGeneral assemblyIn the method, the sampling precision is B according to the requirement of the power system1,B2,…,Bi,…,BnN levels.
3. The method of claim 1, wherein the method comprises: the step 2 of determining the resource allocation space comprises the following steps:
step 2.1: total data acquisition AGeneral assemblyThe resource allocation is calculated as follows:
Ageneral assembly=Amin,1·B1·C1+Amin,2·B2·C2+…+Amin,i·Bi·Ci+…+Amin,n·Bn·Cn
BiThe ith acquisition precision grade;
Cifor the ith miningCollecting accurate weight of the accuracy grade;
Amin,iallocating space for the resource of the ith acquisition level;
step 2.2: a calculation method of the accurate weight;
step 2.3: resource allocation space A of ith acquisition levelmin,iThe distribution method comprises the following steps:
4. the method of claim 3, wherein the method comprises: step 2.2 the method of calculating the exact weights comprises the steps of:
step 2.2.1: defining weights for the ith acquisition level
Setting a first level of accuracyIs a design precision benchmark;
the weight is calculated by the formula
WhereinWeight for ith acquisition leveld(C1,Ci) Is the ith gradeTo the first levelA grade difference of (d);
step 2.2.2: weight of ith acquisition level
Background
In the power system, the information of the electric quantity is acquired by the acquisition device, and the acquired signal is analyzed on the A/D chip, but because of the limitation of the chip hardware device, the processing of data on the chip is insufficient, the real-time performance of data acquisition is not guaranteed, and the blockage of information transmission is possibly caused, which affects the data transmission.
Disclosure of Invention
The invention aims to provide a resource allocation method for an A/D conversion chip of a segmented framework, which can realize the maximization of the calculation efficiency of the chip according to different sampling precision standards.
In order to solve the problems in the prior art, the technical scheme adopted by the invention is as follows:
a resource allocation method for an A/D conversion chip of a segmented architecture comprises the following steps:
step 1: dividing the information to be acquired according to the actual information acquisition precision requirement;
step 2: determining resource allocation space Amin,i;
And step 3: and (3) calculating the acquisition amount of the system according to the chip resource allocation calculation result in the step (2).
Further, the step 1, according to the requirement of the actual information collection precision, dividing the information to be collected includes the following steps:
step 1.1: suppose the total amount of information collection is AGeneral assemblyAt AGeneral assemblyIn the method, the sampling precision is B according to the requirement of the power system1,B2,…,Bi,…,BnN levels.
Further, the step 2 of determining the resource allocation space comprises the following steps:
step 2.1: total data acquisition AGeneral assemblyThe resource allocation is calculated as follows.
AGeneral assembly=Amin,1·B1·C1+Amin,2·B2·C2+…+Amin,i·Bi·Ci+…+Amin,n·Bn·Cn
BiThe ith acquisition precision grade;
Cithe accurate weight of the ith acquisition accuracy level;
Amin,iallocating space for the resource of the ith acquisition level;
step 2.2: a calculation method of the accurate weight;
step 2.3: resource allocation space A of ith acquisition levelmin,iThe distribution method comprises the following steps:
Amin,i=Ageneral assembly·wCi。
Still further, the step 2.2 method for calculating the precise weight includes the following steps:
step 2.2.1: defining a weight w for the ith acquisition levelCi;
Setting a first level of precision wC1Is a design precision benchmark;
the weight calculation formula is:
whereinWeight for ith acquisition leveld(C1,Ci) Is the ith level wCiTo the first levelA grade difference of (d);
step 2.2.2: weight of ith acquisition level
The invention has the advantages and beneficial effects that:
the invention discloses a resource allocation method for an A/D conversion chip with a segmented framework, which is characterized in that according to data information of different sampling precision grades, a weighting method is used for calculating chip resources under different sampling precision grades, and finally, according to weights of different grades, the internal capacity of the chip is reallocated, so that the utilization rate of the chip is highest.
Drawings
Fig. 1 is a flowchart of an a/D conversion chip resource allocation method of a segmented architecture according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the present invention is provided in connection with the accompanying drawings and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
As shown in fig. 1, in the present embodiment, the capacity of the chip is allocated by using the method of dynamic allocation of the architecture of the present invention, as an example of the chip processing current data.
A resource allocation method for an A/D conversion chip of a segmented architecture comprises the following steps:
step 1: and dividing the information to be acquired according to the actual information acquisition precision requirement.
The step 1 of dividing the information to be acquired according to the actual information acquisition precision requirement comprises the following steps:
step 1.1: suppose the total amount of information collection is AGeneral assembly,AGeneral assemblyCollecting data at 0-380V current in 0-40 msGeneral assemblyIn addition, according to the requirement of the power system, the sampling precision can be B1,B2,…,Bi,…,BnN levels. In this embodiment, the sampling precision is B1,B2,B33 grades of (B)1The grade is that the voltage range is +/-180V-240V, and the current sampling grade is required to be the highest; b is2The grade is that the voltage range is +/-0V-240V, and the current sampling grade is inferior; b is3The grade is that the voltage range is between +/-240V and 380V, and the current sampling grade is the weakest.
Step 2: determining resource allocation space Amin,i。
The step 2 of determining the resource allocation space comprises the following steps:
step 2.1: total data acquisition AGeneral assemblyThen the resource allocation is calculated as follows.
AGeneral assembly=Amin,1·B1·C1+Amin,2·B2·C2+Amin,3·B3·C3
BiThe ith acquisition precision grade;
Cithe accurate weight of the ith acquisition accuracy level;
Amin,iallocating space for the resource of the ith acquisition level;
step 2.2: and (3) a calculation method of the accurate weight.
Step 2.2 the method of calculating the exact weights comprises the steps of:
step 2.2.1: defining a weight w for the ith acquisition levelCi。
Setting a first level of precision wC1Is a design precision benchmark.
The weight calculation formula is:
whereinWeight for ith acquisition leveld(C1,Ci) Of the ith orderOf the first orderThe grade difference of (2).
Step 2.2.2: weight of third acquisition level
Step 2.3: resource allocation space A of ith acquisition levelmin,iThe distribution method comprises the following steps:
and step 3: and (3) calculating the acquisition amount of the actual system according to the chip resource allocation calculation result in the step (2). Making chip computation most efficient.