CN103679273A - Uncertainty inference method based on attaching cloud theory - Google Patents
Uncertainty inference method based on attaching cloud theory Download PDFInfo
- Publication number
- CN103679273A CN103679273A CN201310714939.XA CN201310714939A CN103679273A CN 103679273 A CN103679273 A CN 103679273A CN 201310714939 A CN201310714939 A CN 201310714939A CN 103679273 A CN103679273 A CN 103679273A
- Authority
- CN
- China
- Prior art keywords
- cloud
- rule
- controller
- degree
- water dust
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Feedback Control In General (AREA)
Abstract
The invention discloses an uncertainty inference method based on an attaching cloud theory, which mainly solves an inference problem when uncertain information exists in a context. The uncertainty inference method based on the attaching cloud theory comprises the steps of: firstly, describing a given fixed concept by using digital characteristics; understanding the concept as cloud droplets without information of degree of certainty; then establishing a cloud rule controller; regarding the cloud droplets without the degree of certainty as an input of the controller; outputting a cloud droplet vector with the degree of certainty through the controller; finally making all the output cloud droplets accurate to obtain an output result. The uncertainty inference method based on the attaching cloud theory can guarantee inference accuracy and system reliability.
Description
Technical field
The present invention relates to general fit calculation field, particularly, is a kind of for uncertain Context Reasoning algorithm, mainly solves uncertain contextual reasoning problems in general fit calculation.
Background technology
Context-aware computing (context-awarecomputing) refer to software can be according to the occasion of using, approach personnel and object set, and the time of adjusting and the software of ability.In recent years, researchist has carried out the research of a large amount of relevant context-aware computings, the important general fit calculation in expansion field and the wearable computing of mobile computing develop rapidly in a lot of fields, study widely and apply, particularly large enterprises count complexity technical equipment maintenance and assembling application program reality and product present good situation.
The uncertain reason producing mainly contains: first, knowledge-based inference is more difficult.This is that description due to contextual information model exists isomerism, and for same context, machinery and equipment may have different understanding, and this just causes sharing and reusing very difficult of knowledge.Secondly, also there is limitation in hardware device and Internet Transmission, thereby the contextual information of equipment collection has uncertainty, has noise or has imperfection.Finally, high-rise context is that the low layer context that has uncertain information from these is deduced out, and this process has uncertainty, so high-rise context also has uncertainty.
The firm academician of Objective Concept Li De who is subordinate to cloud proposes.Be defined as: for ordinary set U={u}, claim set for domain.In U, there is fuzzy set
for arbitrary element u, all there is a random number that has steady tendency
be called u couple
degree of membership.If in domain U, element is simply orderly, so degree of membership
distribution on U, is called and is subordinate to cloud; If the element in domain U is not simple orderly, but according to certain rule f, U can be mapped to U ' on another orderly domain, in U ', have and only have a u ' corresponding with u, claim that U ' is basic underlying variables, the distribution of degree of membership on U ' is called and is subordinate to cloud.
Summary of the invention
Technical matters: the object of this invention is to provide a kind of uncertain inference method based on being subordinate to cloud theory, mainly solve in general fit calculation context exist uncertain, the problem of reasoning how.The present invention can guarantee the validity and reliability of reasoning.
Technical scheme: the present invention is the uncertain inference method based on being subordinate to cloud theory, is being subordinate on the basis of cloud and Membership Cloud Generators, generates cloud rule controller, realizes reasoning process.
One, Membership Cloud Generators
Membership Cloud Generators (MembershipCloudsGenerator is called for short MCG) is divided into forward and reverse two kinds, and structural drawing is as follows.Wherein, forward MCG is according to known three numerical characteristic E that are subordinate to cloud
x, E
nand D, produce and meet the known two-dimentional water dust Drop (u, μ) that cloud distributes that is subordinate to; Reverse MCG is just in time contrary, is that the known water dust that is subordinate to some in cloud distributes, and determines three numerical characteristic E
x, E
nand D.
Forward MCG under paper, at known MCG~N
3 situation under, generate the water dust that is subordinate to cloud meet this distribution.
(1) generate normal random number x, expectation value is E
x, bandwidth is E
n;
(2) calculate normal state and be subordinate to the expectation curve of cloud at the degree of certainty at x place
(a) calculate respectively along expectation curve MA, MB by the left and right bandwidth bl, the br that fall half normal state rule variation.
And then obtain water dust Drop (x, μ).
(5) repeating step (1)~(4), until produce N water dust.
If domain corresponding to concept is n-dimensional space, algorithm can be opened up extensively, obtains n dimension Normal Cloud.
Introduce a kind of reverse MCG algorithm below.
Algorithm flow is as follows:
Input: water dust x
i(i=1,2 ... N).
Output: (E
x, E
n, D)
Mean value formula:
Formula of variance:
(4) basis formula below, calculates variance D:
Two, cloud rule controller
Qualitative rule be divided into wall scroll part single gauge, two condition single gauge with many conditions single gauge etc., this is generally several former pieces and a consequent, to consist of due to rule, it is one or more that former piece can have, consequent but only has one.Equally, in Rule Generator, former piece cloud can be one dimension or multidimensional, and consequent cloud can only be one dimension.One dimension former piece cloud generator and one dimension consequent cloud generator combine, and form controller of wall scroll part single gauge, and algorithm is as follows.
Input: former piece MCG
anumerical characteristic (Ex
a, En
a, D
a), x
awith consequent MCG
bnumerical characteristic (Ex
b, En
b, D
b).
Output: the x corresponding with degree of certainty μ
b.
(1) become normal random number En
a', with En
afor expectation, D
afor mean square deviation;
(2) calculate μ:
(3) production state random number En
b', with En
bfor expectation, D
bfor mean square deviation;
From then on can find out, this algorithm has uncertainty.For former piece cloud generator, by x
athe μ obtaining has uncertainty, for consequent cloud generator, and the x being obtained by μ
bthere is equally uncertainty.Therefore, regular controller in uncertain information inference process with probabilistic transmission.
The present invention is based on and be subordinate to four steps that the uncertain inference method of cloud comprises:
1) qualitative rule of cloud rule controller is comprised of several former pieces and a consequent, given formalized description: the former piece of each rule is
consequent is B
t; Num=1 wherein, 2,3 ..., t=1 ..., M, M is M bar IF-THEN rule in qualitative rule storehouse, every IF-THEN rule R
tbe described as:
and B
tbe all sizing concept, use respectively 3-dimensional digital feature
with
describe, wherein
represent former piece
under each normal random number;
represent
mathematical expectation;
represent
mean square deviation;
represent respectively consequent B
tunder normal random number, mathematical expectation and mean square deviation;
2) then, for given all definite input vector
i=1 wherein, 2 ... N, is understood as and there is no the i of a degree of certainty information water dust, goes to step 3); If existing degree of certainty information, output is with the water dust of degree of certainty information
to activate the water dust quantitative values obtaining after t rule, μ
tbe its corresponding degree of certainty, go to step 4);
3) i water dust quantitative values structure cloud rule controller: using step 2) obtaining, as the input of controller, by controller, exported water dust
4) to all output water dusts
carry out precision, become a concrete output valve x
b, be final output valve.
Described to all output water dusts
carry out precision, its method is exactly according to the virtual cloud of water dust structure obtaining, and then utilizes reverse MCG algorithm to calculate the numerical characteristic of this virtual cloud, and expectation is exactly the last Output rusults of virtual cloud.
Described to all output water dusts
carry out precision, another kind of method is method of weighted mean, and method of weighted mean is exactly by the water dust obtaining by regular controller
weighted mean, the degree of certainty that weight is each water dust, the later final Output rusults of weighted mean is:
Beneficial effect: use this scheme to have the following advantages:
1. the method can correctly be carried out uncertain inference, and result is accurate.Example below can illustrate, with the rotating speed that algorithm herein draws, is 40r/min, with fuzzy reasoning, calculates, and the rotating speed obtaining is 39r/min.
2. improve the reliability of reasoning: in reasoning algorithm below, do not adopt accurate subordinate function, but adopt three numerical characteristics that are subordinate to cloud to describe known sizing concept, every corresponding regular controller of qualitative rule, first activate former piece cloud generator, by consequent cloud, obtain Output rusults subsequently, finally accurately turn to Output rusults.In this process, the process that the Output rusults of former piece cloud and consequent cloud draws all has randomness, therefore, for identical input value, adopt this inference method, the result that reasoning each time draws is all likely different, but last the reasoning results is to keep stable tendency on the whole.
3. the performance of optimization system: the present invention utilizes qualitative language to carry out the uncertain information of formalized description, and on this basis context is carried out to reasoning, judgement and decision-making, effectively the performance of optimization system.
Accompanying drawing explanation
Fig. 1 is Membership Cloud Generators, is divided into forward and reverse two kinds.(a) forward MCG; (b) reverse MCG.
Fig. 2 is controller of wall scroll part single gauge.
Fig. 3 is controllers of two condition single gauges.
Fig. 4 is the uncertain inference process flow diagram based on being subordinate to cloud theory.
Embodiment
Suppose to have in qualitative rule storehouse M bar IF-THEN rule, being described as of every IF-THEN rule: R
i:
former piece
with consequent B
ibe the qualitativing concept of natural language description, the uncertain inference process based on being subordinate to cloud is as follows.
One, two condition single gauges controller
Input: former piece two-dimensional digital feature (Ex
a1, Ex
a2), (En
a1, En
a2), (D
a1, D
a2), (x
a1, x
a2) and consequent one dimension numerical characteristic (Ex
b, En
b, D
b)
Output: the x corresponding with degree of certainty μ
b.
(1) become normal random number En
a1', with En
a1for expectation, D
a1for mean square deviation;
(2) become normal random number En
a2', with En
a2for expectation, D
a2for mean square deviation;
(3) calculate μ:
(4) production state random number En
b', with En
bfor expectation, D
bfor mean square deviation;
(7) if x
a1≤ Ex
a1, x
a2> Ex
a2,
(8) if x
a1> Ex
a1, x
a2≤ Ex
a2,
On the basis of this algorithm, can expand to easily controller of many conditions single gauge.
Two, the uncertain inference based on being subordinate to cloud
Reasoning process flow diagram is as Fig. 4, and concrete steps are as follows:
(1) qualitative rule of cloud rule controller is comprised of several former pieces and a consequent, given formalized description: the former piece of each rule is
consequent is B
t; Num=1 wherein, 2,3 ..., t=1 ..., M, M is M bar IF-THEN rule in qualitative rule storehouse, every IF-THEN rule R
tbe described as:
and B
tbe all sizing concept, use respectively 3-dimensional digital feature
with
describe, wherein
represent former piece
under each normal random number;
represent
mathematical expectation;
represent
mean square deviation;
represent respectively consequent B
tunder normal random number, mathematical expectation and mean square deviation.
(2) then, for given all definite input vector
i=1 wherein, 2 ... N, is understood as and there is no the i of a degree of certainty information water dust, goes to step 3); If existing degree of certainty information, output is with the water dust of degree of certainty information
to activate the water dust quantitative values obtaining after t rule, μ
tbe its corresponding degree of certainty, go to step 4).
(3) i water dust quantitative values structure cloud rule controller: using step 2) obtaining, as the input of controller, by controller, exported water dust
(4) to all output water dusts
carry out precision, become a concrete output valve x
b, be final output valve.The method of precision has a lot, and a kind of method is exactly according to the virtual cloud of water dust structure obtaining, and then utilizes reverse MCG algorithm to calculate the numerical characteristic of this virtual cloud, and expectation is exactly the last Output rusults of virtual cloud.Another kind method method of weighted mean is simple, intuitive comparatively speaking, accurately practical.Method of weighted mean is exactly by the water dust obtaining by regular controller
weighted mean, the degree of certainty that weight is each water dust, the later final Output rusults of weighted mean is:
For convenience of description, our supposition has following application example:
Suppose the revolution speed control system of probe temperature and pressure in sensor network system.In system, affected by temperature and pressure very large for a certain part running speed, utilizes two dimension input of uncertain inference method design herein, the control system of one dimension output.Relation before temperature, pressure and rotating speed three IF-THEN rule descriptions below:
(1) if temperature is low, pressure is little, and rotating speed is slow
(2) if temperature is moderate, pressure is moderate, and rotating speed is moderate
(3) if temperature is high, pressure is large, and rotating speed is fast
Control system requires temperature and the pressure for accurate input, adopts the uncertain inference based on being subordinate to cloud, obtains the determined value of rotating speed, and process is as follows:
First, utilize three numerical characteristic E that are subordinate to cloud model
x, E
n, D, is converted into quantificational expression by Qualitative Knowledge." pressure is low " and " pressure is high " belongs to one-sided uncertain concept, is subordinate to cloud and left half normal state is respectively subordinate to cloud and represents by right half normal state, and " pressure is moderate " is subordinate to cloud by symmetrical normal state and represents.In rule base, the cloud method for expressing of three qualitativing concepts relevant to pressure P is as follows.
P
medium=C(80,10,0.2)
In like manner, in rule base, the cloud method for expressing of three qualitativing concepts relevant to temperature T is as follows:
In rule base, the cloud method for expressing of three qualitativing concepts relevant to rotating speed S is as follows:
Work as T=15, during P=70, ask current motor rotation speed.
According to known conditions, the vector (x of input
a1, x
a2)=(15,70) be understood to that two without the water dust quantitative values of degree of certainty, using this group vector value respectively as three pairs of inputs of controller of condition single gauge by system three rules structures, utilize six pairs of condition single gauges of algorithm controller algorithm calculate respectively corresponding x
a1, x
a2degree of certainty.μ > 0 represents that this rule is activated; μ=0 represents that this rule is not activated.According to the cloud method for expressing of T and P, this group vector value of known input has activated front two rules.
Article one, regular certain specific algorithm being activated:
(1) input:
(2) generate normal random number En
a1'=6.65, En
a2'=9.79;
(3) calculate corresponding degree of certainty μ
1:
(4) generate normal random number En
b'=6.5
In like manner, certain specific algorithm being activated of second rule is as follows:
(1) input:
Ex
A1=30,
D
A1=0.1,Ex
A2=80,En
A2=10,D
A2=0.2,
(2) generate state random number En
a1'=6.65, En
a2'=10.12;
(3) calculate corresponding degree of certainty
(4) generate normal random number En
b'=6.8
Finally, adopt the later final output valve of method of weighted mean to be:
Be that rotating speed is 40r/min.
Claims (3)
1. the uncertain inference method based on being subordinate to cloud, is characterized in that four steps that the method comprises:
1) qualitative rule of cloud rule controller is comprised of several former pieces and a consequent, given formalized description: the former piece of each rule is
consequent is B
t; Num=1 wherein, 2,3 ..., t=1 ..., M, M is M bar IF-THEN rule in qualitative rule storehouse, every IF-THEN rule R
tbe described as:
and B
tbe all sizing concept, use respectively 3-dimensional digital feature
with
describe, wherein
represent former piece
under each normal random number;
represent
mathematical expectation;
represent
mean square deviation;
represent respectively consequent B
tunder normal random number, mathematical expectation and mean square deviation;
2) then, for given all definite input vector
i=1 wherein, 2 ... N, is understood as and there is no the i of a degree of certainty information water dust, goes to step 3); If existing degree of certainty information, output is with the water dust of degree of certainty information
to activate the water dust quantitative values obtaining after t rule, μ
tbe its corresponding degree of certainty, go to step 4);
3) i water dust quantitative values structure cloud rule controller: using step 2) obtaining, as the input of controller, by controller, exported water dust
2. the uncertain inference method based on being subordinate to cloud according to claim 1, is characterized in that described to all output water dusts
carry out precision, its method is exactly according to the virtual cloud of water dust structure obtaining, and then utilizes reverse MCG algorithm to calculate the numerical characteristic of this virtual cloud, and expectation is exactly the last Output rusults of virtual cloud.
3. the uncertain inference method based on being subordinate to cloud according to claim 1, is characterized in that described to all output water dusts
carry out precision, another kind of method is method of weighted mean, and method of weighted mean is exactly by the water dust obtaining by regular controller
weighted mean, the degree of certainty that weight is each water dust, the later final Output rusults of weighted mean is:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310714939.XA CN103679273A (en) | 2013-12-20 | 2013-12-20 | Uncertainty inference method based on attaching cloud theory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310714939.XA CN103679273A (en) | 2013-12-20 | 2013-12-20 | Uncertainty inference method based on attaching cloud theory |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103679273A true CN103679273A (en) | 2014-03-26 |
Family
ID=50316757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310714939.XA Pending CN103679273A (en) | 2013-12-20 | 2013-12-20 | Uncertainty inference method based on attaching cloud theory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103679273A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105205569A (en) * | 2015-10-15 | 2015-12-30 | 华侨大学 | Draught fan gear box state on-line evaluation model building method and on-line evaluation method |
WO2016050066A1 (en) * | 2014-09-29 | 2016-04-07 | 华为技术有限公司 | Method and device for parsing interrogative sentence in knowledge base |
CN105677671A (en) * | 2014-11-20 | 2016-06-15 | 华为技术有限公司 | Uncertain reasoning method and device for contexts |
CN107609138A (en) * | 2017-09-19 | 2018-01-19 | 中南大学 | A kind of cloud model data layout method and system |
CN107942164A (en) * | 2017-11-16 | 2018-04-20 | 芜湖市卓亚电气有限公司 | Power supply unit method for diagnosing faults |
-
2013
- 2013-12-20 CN CN201310714939.XA patent/CN103679273A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016050066A1 (en) * | 2014-09-29 | 2016-04-07 | 华为技术有限公司 | Method and device for parsing interrogative sentence in knowledge base |
US10706084B2 (en) | 2014-09-29 | 2020-07-07 | Huawei Technologies Co., Ltd. | Method and device for parsing question in knowledge base |
CN105677671A (en) * | 2014-11-20 | 2016-06-15 | 华为技术有限公司 | Uncertain reasoning method and device for contexts |
CN105677671B (en) * | 2014-11-20 | 2019-05-28 | 华为技术有限公司 | A kind of context reasoning method under uncertainty and device |
CN105205569A (en) * | 2015-10-15 | 2015-12-30 | 华侨大学 | Draught fan gear box state on-line evaluation model building method and on-line evaluation method |
CN105205569B (en) * | 2015-10-15 | 2018-11-27 | 华侨大学 | State of fan gear box online evaluation method for establishing model and online evaluation method |
CN107609138A (en) * | 2017-09-19 | 2018-01-19 | 中南大学 | A kind of cloud model data layout method and system |
CN107942164A (en) * | 2017-11-16 | 2018-04-20 | 芜湖市卓亚电气有限公司 | Power supply unit method for diagnosing faults |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103679273A (en) | Uncertainty inference method based on attaching cloud theory | |
CN106875033A (en) | A kind of wind-powered electricity generation cluster power forecasting method based on dynamic self-adapting | |
CN104573876A (en) | Wind power plant short-period wind speed prediction method based on time sequence long memory model | |
CN104036073A (en) | Double-fed wind power plant dynamic equivalence modeling method suitable for active power characteristic analysis | |
CN103020743B (en) | Wind energy turbine set ultra-short term wind speed forecasting method | |
CN109190170A (en) | A kind of Collision Risk Index modeling method based on cloud models theory | |
CN106655190A (en) | Method for solving P-OPF (Probabilistic-Optimal Power Flow) of wind power stations | |
Zhao et al. | Distributed and self-adaptive vehicle speed estimation in the composite braking case for four-wheel drive hybrid electric car | |
CN110083910A (en) | A kind of Chaotic time series forecasting sample acquiring method based on NSGA- II | |
CN103020709A (en) | Optimization calculation method based on artificial bee colony algorithm and quantum-behaved particle swarm optimization algorithm | |
CN102982196A (en) | Time frequency domain time varying structure modal parameter identification method based on time varying common demominator model | |
CN104166777A (en) | Wind speed vector data simulation generation method considering multiple correlation | |
CN105939026B (en) | Wind power undulate quantity probability Distribution Model method for building up based on mixing Laplace distributions | |
CN102749584A (en) | Prediction method for residual service life of turbine generator based on ESN (echo state network) of Kalman filtering | |
CN104965506A (en) | Adjustable parameter-based distributed flight control system real-time fault diagnosis method | |
Hao et al. | Gear fault detection in a planetary gearbox using deep belief network | |
CN104331630A (en) | State estimation and data fusion method for multi-rate observation data | |
CN107527093B (en) | Wind turbine generator running state diagnosis method and device | |
CN103411628A (en) | Processing method for random drift error of MEMS gyroscope | |
CN112381967A (en) | Unmanned vehicle brake system fault diagnosis method based on Bayesian network | |
CN105939014A (en) | Wind power station correlation index acquisition method | |
CN102254184A (en) | Method for fusing multi-physical-domain feature information | |
Chen et al. | Fault diagnosis of full-hydraulic drilling rig based on RS–SVM data fusion method | |
CN105373805A (en) | A multi-sensor maneuvering target tracking method based on the principle of maximum entropy | |
CN110635474A (en) | Power grid dynamic trajectory trend prediction method based on long-term and short-term memory network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140326 |