智能控制试卷及答案4套
- 格式:doc
- 大小:1.06 MB
- 文档页数:26
智能控制作业1.已知某一炉温控制系统,要求温度保持着600℃恒定。
针对该控制系统有以下控制经验。
(1)若炉温低于600℃,则升压;低得越多升压越高。
(2)若炉温高于600℃,则降压;高得越多降压越低。
(3)若炉温等于600℃,则保持电压不变。
设模糊控制器为一维控制器,输入语言变量为误差,输出为控制电压。
输入、输出变量的量化等级为7级,取5个模糊集。
试设计隶属度函数误差变化划分表,控制电压变化划分表和模糊控制规则表。
解:(1) 确定变量定义理想温度为600℃,实际炉温为T,则温度差为:e=600-T将温度差e作为输入变量。
(2)输入量和输出量的模糊化将偏差e分成5个模糊集:负大(NB),负小(NS),零(ZO),正小(PS),正大(PB)。
将偏差e的变化分成7个等级:-3,-2,-1,0,+1,+2,+3,从而得到温度变化模糊表如表1所示:控制电压u也分成5个模糊集:负大(NB),负小(NS),零(ZO),正小(PS),正大(PB)。
将偏差u的变化分成7个等级:-3,-2,-1,0,+1,+2,+3,而得到电压变化模糊表如表2示:MATLAB仿真程序如下:%Fuzzy Control for water tankclear all;close all;a=newfis('fuzz_tank');a=addvar(a,'input','e',[-3,3]); %Parameter ea=addmf(a,'input',1,'NB','zmf',[-3,-1]);a=addmf(a,'input',1,'NS','trimf',[-3,-1,1]);a=addmf(a,'input',1,'Z','trimf',[-2,0,2]);a=addmf(a,'input',1,'PS','trimf',[-1,1,3]);a=addmf(a,'input',1,'PB','smf',[1,3]);a=addvar(a,'output','u',[-4,4]); %Parameter ua=addmf(a,'output',1,'NB','zmf',[-4,-1]);a=addmf(a,'output',1,'NS','trimf',[-4,-2,1]);a=addmf(a,'output',1,'Z','trimf',[-2,0,2]);a=addmf(a,'output',1,'PS','trimf',[-1,2,4]);a=addmf(a,'output',1,'PB','smf',[1,4]);rulelist=[1 1 1 1; %Edit rule base2 2 1 1;3 3 1 1;4 4 1 1;5 5 1 1];a=addrule(a,rulelist);a1=setfis(a,'DefuzzMethod','mom'); %Defuzzywritefis(a1,'tank'); %Save to fuzzy file "tank.fis" a2=readfis('tank');figure(1);plotfis(a2);figure(2);plotmf(a,'input',1);figure(3);plotmf(a,'output',1);flag=1;if flag==1showrule(a) %Show fuzzy rule baseruleview('tank'); %Dynamic Simulationenddisp('-------------------------------------------------------');disp(' fuzzy controller table:e=[-3,+3],u=[-4,+4] ');disp('-------------------------------------------------------');for i=1:1:7 e(i)=i-4;Ulist(i)=evalfis([e(i)],a2); endUlist=round(Ulist)e=-3; % Erroru=evalfis([e],a2) %Using fuzzy inference2.用高级语言(C 、VC++、MATLAB 等)编程实现用BP 神经网络实现下列函数的非线性映射:101()log ,110f x x x x=≤≤ 分析误差曲线及网络的泛化能力。
一、选择题1、蔡自兴教授提出智能控制系统的四元结构,认为智能控制是人工智能、控制理论、系统理论和运筹学四种学科的交叉。
2、专家是指在某一专业领域内其专业知识与解决问题的能力达到很高水平的学者。
3、专家系统中的知识按其在问题求解中的作用可分为三个层次,即数据级、知识库级和控制级。
4、不确定性知识的表示有三种:概率、确定性因子和模糊集合。
5、Hebb学习规则是一种无教师的学习方法,它只根据神经元连接间的激活水平改变权值,因此这种方法又称为相关学习和并联学习。
6、交叉运算是两个相互配对的染色体按某种方式相互交换其部分基因,从而形成两个新的个体。
二、判断题1、IEEE控制系统协会把智能控制归纳为:智能控制系统必须具有模拟人类学习和自适应的能力。
( T )2、不精确推理得出的结论可能是不确定的,但会有一个确定性因子,当确定性因子超过某个域值时,结论便不成立。
( F )3、一般的专家系统由知识库、推理机、解释机制和知识获取系统等组成。
( T )4、人机接口是专家系统与领域专家、知识工程师、一般用户间进行交互的界面,由一组程序及相应的硬件组成,用于完成知识获取工作。
( F )5、Hopfield神经网络是反馈神经网络中最简单且应用广泛的模型,它具有联想记忆的功能。
( F )6、知识是将有关的信息进一步关联在一起,形成了更高层次含义的一种信息结构,信息与关联是构成知识的两个基本要素。
( T )7、建造知识库涉及知识库建造的两项主要技术是知识获取和知识存放。
( F )8、模糊控制系统往往把被控量的偏差(一维)、偏差变化(二维)以及偏差的变化率(三维)作为模糊控制器的输入。
( T )9、RBF网络的学习过程与BP网络的学习过程是类似的,两者的主要区别在于使用了相同的激励函数。
( F )10、应用遗传算法求解问题时,在编码方案、适应度函数及遗传算子确定后,算法将利用进化过程中获得的信息自信组织搜索。
( T )三、简答题1.分别说明专家系统与专家控制系统?答:专家系统就是利用存储在计算机内的某一特定领域内人类专家的知识,来解决过去需要人类专家才能解决的现实问题的计算机系统。
1.递阶智能控制系统的主要结构特点有哪些。
答:递阶智能控制是在研究早期学习控制系统的基础上,从工程控制论角度总结人工智能与自适应控制、自学习控制和自组织控制的关系后逐渐形成的。
递阶智能控制系统是由三个基本控制级(组织级、协调级、执行级)构成的。
如下所示:1. 组织级组织级代表控制系统的主导思想,并由人工智能起控制作用。
根据贮存在长期存储交换单元内的本原数据集合,组织器能够组织绝对动作、一般任务和规则的序列。
其结构如下:2.协调级协调级是组织级和执行级间的接口,承上启下,并由人工智能和运筹学共同作用。
协调级借助于产生一个适当的子任务序列来执行原指令,处理实时信息。
它是由不同的协调器组成,每个协调器由计算机来实现。
下图是一个协调级结构的候选框图。
该结构在横向上能够通过分配器实现各协调器之间的数据共享。
3. 执行级执行级是递阶智能控制的最底层,要求具有较高的精度但较低的智能;它按控制论进行控制,对相关过程执行适当的控制作用。
其结构模型如下:2.信息特征,获取方式,分层方式有哪些?答:一、信息的特征1,空间性:空间星系的主要特征是确定和不确定的(模糊)、全空间和子空间、同步和非同步、同类型和不同类型、数字的和非数字的信息,比传统系统更为复杂的多源多维信息。
2,复杂性:复杂生产制造过程的信息往往是一类具有大滞后、多模态、时变性、强干扰性等特性的复杂被控对象,要求系统具有下层的实时性和上层的多因素综合判断决策能力,以保证现场设备局部的稳定运行和在复杂多变的各种不确定因素存在的动态环境下,获得整个系统的综合指标最优。
3,污染性:复杂生产制造过程的信息都会受到污染,但在不同层次的信息受干扰程度不同,层次较低的信号受污染程度较大。
二、获取方式信息主要是通过传感器获得,但经过传感器后要经过一定的处理来得到有效的信息,具体处理方法如下:1,选取特征变量可分为选择特征变量和抽取特征变量。
选择特征变量直接从采集样本的全体原始工艺参数中选择一部分作为特征变量。
(书本 P 13)上海第二工业大学《智能控制系统》练习卷一、填空题1、机器智能是把信息进行组织 、并 把它转换成知识 的过程。
2、智能控制方法比传统的控制方法更能适应对象的 时变性 、 非线性 和 不确定性 。
3、智能控制中的三元论指的是: 人工智能 、 自动控制 和 运筹学 。
4、从 工程控制角度看,智能控制三个基本要素是: 归纳 、 集注 、 组合操作 。
(这道题有点疑问,大家找找资料)5、生物神经元经抽象化后,得到的人工神经元模型,它有三个基本要素 连接权值 、 求和函数 和 激发函数 。
6、神 经网络的结构按照神经元连接方式可分成 层状 和 网状 。
7、定义一个语言变量需要定义 4 个方面的内容: 定义变量名称 、 定义变量的论域 、 定义变量的语言 、 定义每个模糊集合的隶属函数 。
8、� = 0.2 + 0.3 + 0.4 + 0.9,则 A0.2={x1, x2, x3, x4},A0.4={ x3, x4} ,A0.9={ x4 }�1�2�3 �49、假设论域为 5 个人的体重分别为 110kg 、95kg 、85kg 、78kg 、65kg ,他们 的体重对于“肥胖”的模糊概念的隶属度分别为 0.95、0.88、0.8、0.72、0. 5。
试用:(1) Zadeh 表示法表示模糊集“肥胖” 答:肥胖=0. 95 +0. 88 +0. 8 +0. 72 +0. 5 11095857865(2)序偶表示法表示模糊集“ 肥胖”答:肥胖={(110,0.95), (95,0.88)(85,0.8)(78,0.72)(65,0.5)} (或 肥胖={0.95, ,0.88,0.8,0.72,0.5})10、专家系统的核心部分是: 知识库子系统 、 推理子系统 。
11、在专家系统中,解释器是专家系统与用户间的人-机接口。
12、人工神经网络常见的激发函数或作用函数有:阈值型函数、饱和型函数、和双曲函数(此外还有S 型函数,高斯函数等)。
一、简答题(本题共40分,每小题10分)1.什么是智能控制?智能控制具有哪些特点?答:智能控制是采用智能化理论和技术,驱动智能机器实现其目标的过程,是一类无需人的干预,就能够独立地驱动智能机器实现其目标的自动控制。
特点1.由于所考虑被控对象无法建立精确模型,智能控制系统一般具有以知识表示的非数学广义模型和以数学模型表示的混合控制过程。
2.一个系统,能对一个过程或其环境中未知特征所固有的信息进行学习,并将得到的经验用于估计、分类、决策或控制,使系统性能得以改善,称该系统具有学习功能,智能控制系统一般应具备这样的学习功能。
智能控制器是一种输入到输出的映射关系,可以看成是不依赖于模型的自适应估计,具有很好的适应性能,当系统的输入不是学习过的例子时,可以给出合适的输出,某一部分出现故障时,系统能够自修复,保证正常工作。
2.模糊控制器由哪些部分组成?各部分的作用是什么?答:模糊控制器主要由模糊化接口、知识库、推理机和模糊判决接口等,其作用如下:(1)模糊化接口:将系统的设定输入与被控对象输出的偏差以及偏差的变化量等信号,作为系统的输入语言变量,根据在两个输入论域上定义的模糊语言值,将采用标量形式表示的偏差以及偏差的变化量信号转化为相应语言值的隶属度向量。
(2)知识库:用于存放模糊推理所需要的知识,包括数据库和规则库。
数据库提供必要的定义,包括:将基本论域转化为模糊论域时,量化等级的个数与取值、采用的量化方式;将模糊判决后的输出转化为控制信号的比例因子取值;在模糊论域上定义的语言值的隶属函数的类型与参数取值等。
规则库表示模糊规则,以及多个规则之间的模糊关系。
(3)推理机:是模糊控制的核心,利用知识库的信息,模拟人的推理过程,给出合适的模糊输出,其实质是模糊推理。
(4)模糊判决接口:通过推理机得到的结果是一个模糊输出,在模糊控制中,必须要有一个确定的值,才能去控制或者驱动执行机构。
在模糊输出中,取一个能最佳代表这个推理结果可能性的精确值的过程,就是精确化过程,或称去(逆、非)模糊化过程,由模糊判决接口完成。
《智能控制技术基础》试卷(A)标准答案剖析20__6~20__7 学年第一学期期末考试《智能控制技术基础》试卷(A)标准答案一、填空题(空每空 1 分,共 10 分分))1 智能控制具有两个不同于常规控制的本质特点:以以知识表示的非数学广义模型和以数学模型表示的混合控制过程。
2 传统控制包括经典反馈控制和现代理论控制。
3 模糊逻辑控制的过程主要有三个步骤:模糊化过程、模糊逻辑推理和精确化计算。
4 在一个神经网络中,常常根据处理单元的不同处理功能,将处理单元分成输入单元、隐含层单元(或隐层单元)和输出单元元三类。
5 系统辨识的基本要素包括数据、模型类和等价准则。
二、问题答题(每小题 8 分, 共共 40 分)1 智能控制系统由哪几部分组成?各部分的作用是什么?答:智能控制系统由广义对象、传感器、感知信息处理、认知、通信接口、规划和控制和执行器等七个功能模块组成;各部分的作用为:广义对象;;包括通常意义下的控制对象和外部环境;传感器;;包括关节传感器、力传感器、视觉传感器、距离传感器、触觉传感器等;感知信息处理;;将传感器得到的原始信息加以处理;认知;;主要用来接收和储存信息、知识、经验和数据,并对它们进行分析、推理,作出行动的决策,送至规划和控制部分;通信接口;;除建立人机之间的联系外,还建立系统各模块之间的联系;规划和控制;;是整个系统的核心,它根据给定的任务要求、反馈的信息以及经验知识,进行自动搜索,推理决策,动作规划,最终产生具体的控制作用;执行器;;将产生的控制作用于控制对象。
2 模糊逻辑控制器由哪几部分组成?各完成什么功能?答:模糊逻辑控制器由模糊化接口、知识库、推理机与解模糊接口四个部分组成;各部分的功能为:模糊化接口;;将真实的确定量输入转换为一个模糊矢量;;知识库;;包括数据库和规则库。
数据库存放的是所有输入、输出变量的全部模糊子集的隶属度矢量值,若论域为连续域则为隶属度函数,在规则推理的模糊关系方程求解过程中,向推理机提供数据;规则库是基于专家知识或手动操作人员长期积累的经验,它是按人的直觉推理的一种语言表示形式,存放全部模糊控制规则,在推理时为“推理机”提供控制规则。
智能控制习题答案54733第⼀章绪论1. 什么是智能、智能系统、智能控制?答:“智能”在美国Heritage词典定义为“获取和应⽤知识的能⼒”。
“智能系统”指具有⼀定智能⾏为的系统,是模拟和执⾏⼈类、动物或⽣物的某些功能的系统。
“智能控制”指在传统的控制理论中引⼊诸如逻辑、推理和启发式规则等因素,使之具有某种智能性;也是基于认知⼯程系统和现代计算机的强⼤功能,对不确定环境中的复杂对象进⾏的拟⼈化管理。
2.智能控制系统有哪⼏种类型,各⾃的特点是什么?答:智能控制系统的类型:集散控制系统、模糊控制系统、多级递阶控制系统、专家控制系统、⼈⼯神经⽹络控制系统、学习控制系统等。
各⾃的特点有:集散控制系统:以微处理器为基础,对⽣产过程进⾏集中监视、操作、管理和分散控制的集中分散控制系统。
该系统将若⼲台微机分散应⽤于过程控制,全部信息通过通信⽹络由上位管理计算机监控,实现最优化控制,整个装置继承了常规仪表分散控制和计算机集中控制的优点,克服了常规仪表功能单⼀,⼈机联系差以及单台微型计算机控制系统危险性⾼度集中的缺点,既实现了在管理、操作和显⽰三⽅⾯集中,⼜实现了在功能、负荷和危险性三⽅⾯的分散。
⼈⼯神经⽹络:它是⼀种模范动物神经⽹络⾏为特征,进⾏分布式并⾏信息处理的算法数学模型。
这种⽹络依靠系统的复杂程度,通过调整内部⼤量节点之间相互连接的关系,从⽽达到处理信息的⽬的。
专家控制系统:是⼀个智能计算机程序系统,其内部含有⼤量的某个领域专家⽔平的知识与经验,能够利⽤⼈类专家的知识和解决问题的经验⽅法来处理该领域的⾼⽔平难题。
可以说是⼀种模拟⼈类专家解决领域问题的计算机程序系统。
多级递阶控制系统是将组成⼤系统的各⼦系统及其控制器按递阶的⽅式分级排列⽽形成的层次结构系统。
这种结构的特点是:1.上、下级是⾪属关系,上级对下级有协调权,它的决策直接影响下级控制器的动作。
2.信息在上下级间垂直⽅向传递,向下的信息有优先权。
实用标准文案智能控制 课程试题A合分人:复查人:一、填空题(每空 1 分,共 20分)1.智能控制系统的基本类型有 、 、 、 、 和 。
2.智能控制具有2个不同于常规控制的本质特点: 和 。
3.一个理想的智能控制系统应具备的性能是 、 、 、 、 等。
4. 人工神经网络常见的输出变换函数有: 和 。
5. 人工神经网络的学习规则有: 、 和 。
6. 在人工智能领域里知识表示可以分为 和 两类。
二、简答题:(每题 5 分,共 30 分)1. 智能控制系统应具有的特点是什么?2. 智能控制系统的结构一般有哪几部分组成,它们之间存在什么关系?4.神经元计算与人工智能传统计算有什么不同?5.人工神经元网络的拓扑结构主要有哪几种?6.简述专家系统与传统程序的区别。
三、作图题:(每图 4 分,共 20 分)1. 画出以下应用场合下适当的隶属函数: (a )我们绝对相信4π附近的e(t)是“正小”,只有当e(t)足够远离4π时,我们才失去e(t)是“正小”的信心; (b )我们相信2π附近的e(t)是“正大”,而对于远离2π的e(t)我们很快失去信心; (c )随着e(t)从4π向左移动,我们很快失去信心,而随着e(t)从4π向右移动,我们较慢失去信心。
2. 画出以下两种情况的隶属函数:(a )精确集合 {}82A x x ππ=≤≤的隶属函数;(b )写出单一模糊(singleton fuzzification )隶属函数的数学表达形式,并画出隶属函数图。
四、计算题:(每题 10 分,共 20 分)1. 一个模糊系统的输入和输出的隶属函数如图1所示。
试计算以下条件和规则的隶属函数: (a )规则1:If error is zero and chang-in-error is zero Then force is zero 。
均使用最小化操作表示蕴含(using minimum opertor);(b )规则2:If error is zero and chang-in-error is possmall Then force is negsmall 。
均使用乘积操作表示蕴含(using product opertor);2. 设论域12345{,,,,}U u u u u u =,且123450.20.40.910.5A u u u u u =++++ 13450.10.710.3B u u u u =+++ 试求,,C A B A B A ⋃⋂(补集),C B (补集)五、试论述对BP 网络算法的改进。
(共 10 分)).)实用标准文案智能控制 课程试题 B合分人: 复查人:一、填空题(每空 1 分,共 20分)1.智能控制的研究对象具备的特点有: 、 和 。
2.智能控制系统的主要类型有: 、 、 、 、 和 。
3.确定隶属函数的方法大致有 、 和 。
4. 国内外学者提出了许多面向对象的神经网络控制结构和方法,从大类上看,较具代表性的有以下几种: 、 和 。
5. 在一个神经网络中,常常根据处理单元的不同处理功能,将处理单元分成有以下三种: 、 和 。
6. 专家系统具有三个重要的特征是: 、 和 。
二、简答题:(每题 5 分,共 30 分)1. 智能控制有哪些应用领域?试举例说明其工作原理。
2. 试说明智能控制的三元结构,并画出展示它们之间关系的示意图。
3. 模糊逻辑与随机事件的联系与区别。
4. 给出典型的神经元模型。
5. BP 基本算法的优缺点。
6. 专家系统的基本组成。
三、作图题:(每图 4 分,共 20 分)1. 画出以下应用场合下适当的隶属函数: (a )随着e(t)从3π向左移动,我们很快失去信心,而随着e(t)从3π向右移动,我们较慢失去信心。
(b )我们相信2π附近的e(t)是“正大”,而对于远离2π的e(t)我们很快失去信心; (c )我们绝对相信23π附近的e(t)是“正小”,只有当e(t)足够远离23π时,我们才失去e(t)是“正小”的信心;2. 画出以下两种情况的隶属函数:(a )精确集合 {}52A x x ππ=≤≤的隶属函数;(b )写出单一模糊(singleton fuzzification )隶属函数的数学表达形式,并画出隶属函数图。
四、计算题:(每题 10 分,共 20 分)1. 一个模糊系统的输入和输出的隶属函数如图1所示。
试计算以下条件和规则的隶属函数: (a )规则1:If error is zero and chang-in-error is negsmall Then force is possmall 。
均使用最小化操作表示蕴含(using minimum opertor);(b )规则2:If error is zero and chang-in-error is possmall Then force is negsmall 。
均使用乘积操作表示蕴含(using product opertor);2. 设论域12345{,,,,}U u u u u u =,且123450.40.30.910.5A u u u u u =++++ 13450.10.710.3B u u u u =+++ 试求,,C A B A B A ⋃⋂(补集),C B (补集)五、试论述建立专家系统的步骤。
(共 10 分)).)实用标准文案智能控制 课程试题C合分人:复查人:一、填空题(每空 1 分,共 20分)1.智能控制是一门新兴的 学科,它具有非常广泛的应用领域,例如 、 、 、 和 。
2.传统控制包括 和 。
3.一个理想的智能控制系统应具备的性能是 、 、 、 、 等。
4.学习系统的四个基本组成部分是 、 、 、 。
5.专家系统的基本组成部分是 、 、 。
二、简答题:(每题 5 分,共 30 分)7. 智能控制系统的结构一般有哪几部分组成,它们之间存在什么关系?8. 智能控制系统有哪些类型,各自的特点是什么?9. 比较智能控制与传统控制的特点。
4.根据外部环境所提供的知识信息与学习模块之间的相互作用方式,机器学习可以划分为哪几种方式?5.建造专家控制系统大体需要哪五个步骤?6.为了把专家系统技术应用于直接专家控制系统,在专家系统设计上必须遵循的原则是什么?三、作图题:(每图 4 分,共 20 分)1. 画出以下应用场合下适当的隶属函数: (a )我们绝对相信4π附近的e(t)是“正小”,只有当e(t)足够远离4π时,我们才失去e(t)是“正小”的信心; (b )我们相信2π附近的e(t)是“正大”,而对于远离2π的e(t)我们很快失去信心; (c )随着e(t)从4π向左移动,我们很快失去信心,而随着e(t)从4π向右移动,我们较慢失去信心。
2. 画出以下两种情况的隶属函数:(a )精确集合 {}82A x x ππ=≤≤的隶属函数;(b )写出单一模糊(singleton fuzzification )隶属函数的数学表达形式,并画出隶属函数图。
四、计算题:(每题 10 分,共 20 分)1. 一个模糊系统的输入和输出的隶属函数如图1所示。
试计算以下条件和规则的隶属函数: (a )规则1:If error is zero and chang-in-error is zero Then force is zero 。
均使用最小化操作表示蕴含(using minimum opertor);(b )规则2:If error is zero and chang-in-error is possmall Then force is negsmall 。
均使用乘积操作表示蕴含(using product opertor);2. 设论域12345{,,,,}U u u u u u =,且123450.20.40.910.5A u u u u u =++++ 13450.10.710.3B u u u u =+++ 试求,,C A B A B A ⋃⋂(补集),C B (补集)五、画出静态多层前向人工神经网络(BP 网络)的结构图,并简述BP 神经网络的工作过程( 10 分)。
).)实用标准文案智能控制 课程试题D合分人: 复查人:一、填空题(每空 1 分,共 20分)1.智能控制是一门新兴的 学科,它具有非常广泛的应用领域,例如 、 、 、 和 。
2.智能控制系统的主要类型有:、 、 、 、 和 。
3.一个理想的智能控制系统应具备的性智能能是 、 、 等。
4.在设计知识表达方法时,必须从表达方法的 、 、 这四个方面全面加以均衡考虑。
5.在一个神经网络中,常常根据处理单元的不同处理功能,将处理单元分成输入单元、输出单元和 三类。
二、简答题:(每题 5 分,共 30 分) 10. 智能控制系统的结构一般有哪几部分组成,它们之间存在什么关系?11. 试说明智能控制的三元结构,并画出展示它们之间关系的示意图。
12. 比较智能控制与传统控制的特点。
5. 神经网络的学习方法有哪些?6. 按照专家系统所求解问题的性质,可分为哪几种类型?三、作图题:(每图 4 分,共 20 分)1. 画出以下应用场合下适当的隶属函数: (a )我们绝对相信2π附近的e(t)是“正小”,只有当e(t)足够远离2π时,我们才失去e(t)是“正小”的信心; (b )我们相信3π附近的e(t)是“正大”,而对于远离3π的e(t)我们很快失去信心; (c )随着e(t)从4π向左移动,我们很快失去信心,而随着e(t)从4π向右移动,我们较慢失去信心。
2. 画出以下两种情况的隶属函数:(a )精确集合 {}42A x x ππ=≤≤的隶属函数;(b )写出单一模糊(singleton fuzzification )隶属函数的数学表达形式,并画出隶属函数图。
四、计算题:(每题 10 分,共 20 分)1. 一个模糊系统的输入和输出的隶属函数如图1所示。
试计算以下条件和规则的隶属函数: (a )规则1:If error is zero and chang-in-error is zero Then force is zero 。
均使用最小化操作表示蕴含(using minimum opertor);(b )规则2:If error is zero and chang-in-error is possmall Then force is negsmall 。
均使用乘积操作表示蕴含(using product opertor);2. 设论域12345{,,,,}U u u u u u =,且123450.40.30.910.5A u u u u u =++++ 13450.10.710.3B u u u u =+++ 试求,,C A B A B A ⋃⋂(补集),C B (补集)五、试述专家控制系统的工作原理(共 10 分)).)Fuzzy control of a ball-balancing systemⅠ. IntroductionThe ball-balancing system consists of a cart with an arc made of two parallel pipes on which a steel ball rolls. The cart moves on a pair of tracks horizontally mounted on a heavy support (Fig. 1). The control objective is to balance the ball on the top of the arc and at the same time place the cart in a desired position. It is educational, because the laboratory rig is sufficiently slow for visual inspection of different control strategies and the mathematical model is sufficiently complex to be challenging. It is a classical pendulum problem, like the ones used as a benchmark problem for fuzzy and neural net controllers, as sales material for fuzzy design tools.Initially, the cart is in the middle of the track and the ball is on the left side of the curved arc. A controller pulls the cart left to get the ball up near the middle, then the controller adjusts the cart position very carefully, without loosing the ball.Fuzzy control provides a format methodology for representing, manipulating and implementing a human’s heuristic knowledge about how to control a system [1-3]. Here, the fuzzy control design method will be used to control the ball-balancing system.Fig. 1 Ball-balancing laboratory rigⅡ. Design objectivea). Learning the operating principle of the ball-balancing system;b). Mastering the fuzzy control principle and design procedure;c). Enhancing the programming power using matlab.Ⅲ. Design requirementsa). Balancing the ball on the top of the arc and at the same time place the cart in a desired position.b). Comparing the control result of the linear controller with that of the fuzzy controllerand thinking about the advantage of fuzzy control to conventional control.Ⅳ. Design principle① Model description of the ball-balancing systemIntroduce the state vector x of state variables (y represents cart position and(0.22)rad ϕϕ≤ represents ball angular deviation)1234x y x y x x ϕϕ====The nonlinear state-space equations [5] are given as follows:12x x =32233433222332243432233()(()(sin cos )sin cos )(cos )()()()((sin )()()()()(sin (sin )())(cos )()()()((sin )()()(m R r r R mr x x x mgr x x x rM x m R r I R r M m rm x R r r M m I R r m R r x x x rm x R r r rM x m R r I R r M m rm x R r r M m r -+-++=+++++++++++++++++++++22233)()(cos )()()()((sin )())()R mr I FrM x m R r I R r r M m rm x R r r M m ++++++++342243334223332233((cos sin )sin )(cos )()()(sin )()()cos()(cos )()()(sin )()()x x R rrm x x x mgr x M m x rM x m R r I R r rm x R r r M m mr x M m F rM x m R r I R r rm x R r r M m =+-++=+++++++-++++++ Where 0.5R m = represents cart radius of the arc, 3.1M kg = is the cart weight, F represents cart driving force, 10.0275r m = is the ball radius, 0.025r m = is the ball rollingradius, 0.675m kg = is the ball weight, 30.02410I -=⨯ is the ball moment of inertia and 29.81g ms -=represents gravity.The model can be linearised around the origin. The approximations to the trigonometric functions are introduced as follows22cos 1,sin ,cos 1,sin 0ϕϕϕϕϕand the linear state-space model can be obtained as followsx Ax Bu y Cx=+=Matrices ,,A B C are simply and given as follows01000000001000a A c⎡⎤⎢⎥⎢⎥=⎢⎥⎢⎥⎣⎦ 00b B d ⎡⎤⎢⎥⎢⎥=⎢⎥⎢⎥⎣⎦10000010C ⎡⎤=⎢⎥⎣⎦with 222m r g a MI mI mr M =-++, 22mr Ib MI mI mr M+=++22()()()mr g M m c R r MI mI mr M +=+++ 22()()mr d R r MI mI mr M =-+++ The actual values of the constants are (,,,)( 1.34,0.301,14.3,0.386)a b c d =--.② Fuzzy controller designThere are specific components characterstic of a fuzzy controller to support a design procedure. In the block diagram in Fig. 2, the fuzzy controller has four main components. The following explains the block diagram.Fuzzy controllerFig. 2 Fuzzy controller architecturea.FuzzificationThe first component is fuzzification, which converts each piece of input data to degrees of membership by a lookup in one of several membership functions. The fuzzification block thus matches the input data with the conditions of the rules to determine how well the condition of each rule matches that particular input instance.b.Rule baseThe rule base contains a fuzzy logic quantification of the expert’s linguistic description of how to achieve good control.c. Inference engineFor each rule, the inference engine looks up the membership values in the condition of the rule.Aggregation The aggregation operation is used when calculating the degree of fulfillment or firing strength of the condition of a rule. Aggregation is equivalent to fuzzification, when there is only one input to the controller. Aggreagtion is sometimes also called fufilment of the rule or firing strength.Activation The activation of a rule is the deduction of the conclusion, possibly reduced by its firing strength. A rule can be weighted by a priori by a weighting factor, which is its degree of confidence.The degree of confidence is determined by the designer, or a learning program trying to adapt the rules to some input-output relationship.Accumulation All activated conclusions are accumulated using the max operation.d. DefuzzificationThe resulting fuzzy set must be converted to a number that can be sent to the processes as a control signal. This operation is called defuzzification.The output sets can be singletons, but they can also be linear combinations of the inputs, or even a function of the inputs. The T-S fuzzy model was proposed by Takagi and Sugeno in an effort todevelop a systematic approach to generating fuzzy rules from a given input-output data set [4]. Its rule structure has the following form:1122011122:,,,,i i ii i i i i iim m m m R if x is A x is A x is A then y P P P x P x P x =+++++Where i j A is a fuzzy set , j x is the j th - input, m is the number of inputs , i y is the output specified by the rule iR ,i j P is the truth value parameter. Using fuzzy inference based uponproduct-sum-gravity at a given input , 12[,,,]T m x x x x =,the final output of the fuzzymodel ,(1,2,,)n y i n =is inferred by taking the weighted average of i y11mi iii nii yy ωω===∑∑where n is the number of fuzzy rules, the weight, iω implies the overall truth value of thei th - rule calculated based on the degrees of membership values:1()i jmij A i x ωμ==∏③ Computer s imulationThe simulation results can be obtained by the designed program using matlab . Initial conditions can be changed and controller gains can be adjusted. Then the desired results can be obtained.Ⅴ. Design procedurea). The model of the ball-balancing system has been given; b). Fuzzy controller design;Fuzzy control design essentially amounts to (1) choosing the fuzzy controller inputs and outputs (2) choosing the preprocessing that is needed for the controller inputs and possibly postprocessing that is needed for the outputs, and (3) designing each of the four components of the fuzzy controller shown in Fig. 2.c). Computer simulation.References[1]. K. M. Passino and S. Yurkovich(1997). Fuzzy control, 1st edn, Addision Wesley Longman,Colifornia.[2]. Cai Zixing. Intelligent Control: Principles, Techniques and Applications. Singapore-NewJersey: World Scientific Publishers, Dec. 1997.[3]. Pedrycz, W.(1993). Fuzzy control and fuzzy systems, second edn, Wiley and Sons, New York.[4]. Takagi, T. and Sugno, M. (1985). Fuzzy identification of systems and its applications tomodeling and control, IEEE Trans. Systems, Man & Cybernetics 15(1): 116-132.Speed control design for a vehicle system using fuzzy logicⅠ.IntroductionEngine and other automobile systems are increasingly controlled electronically. This has led to improved fuel economy, reduced pollution, improved driving safety and reduced manufacturing costs. However the automobile is a hostile environment: especially in the engine compartment, where high temperature, humidity, vibration, electrical interference and a fine cocktail of potentially corrosive pollutants are present. These hostile factors may cause electrical contacts to deteriorate, surface resistances to fall and sensitive electronic systems to fail in a variety of modes. Some of these failure modes will be benign, whereas others may be dangerous and cause accidents and endanger to human life.A cruise control system, or vehicle speed control system can keep a vehicle's speed constant on long runs and therefore may help prevent driver fatigue [2-5]. If the driver hands over speed control to a cruise control system, then the capability of the system to control speed to the set value is just as critical to safety as is the capability of the driver to control speed manually. So the cruise control system design is imperative and important to an automobile.Ⅱ. Design requirementsa). Designing controller using fuzzy logic;b). Making the automobile ’s speed keep constant.Ⅲ. Model description of the automobileThe dynamics of the automobile [1] are given as follows21()(()())p t A t d f t mυυ=--+ 1()(()())f t f t u t τ=-+Whereu is the control input (0u > represents a throttle input and 0u < represents a brakeinput), 1300m kg = is the mass of the vehicle, 0.3p A =22/Ns m is its aerodynamic drag,100d N = is a constant frictional force, f is the driving/braking force, and 0.2τ=sec issaturated at 1000N ±).We can use fuzzy control method to design a cruise control system. Obviously, the fuzzy cruise control design objective is to develop a fuzzy controller that regulates a vehicle’s speed ()t υ to a driver-specified value ()d t υ.Ⅳ. Speed control design using fuzzy logicFuzzy control logic and neural networks are other examples of methodologies control engineers are examining to address the control of very complex systems. A good fuzzy control logic application is in cruise control area.1) Design of PI fuzzy controllerSuppose that we wish to be able to track a step or ramp change in the driver-specified speed value()d t υ very accurately. A “PI fuzzy controller” can be used as shown in Fig. 1. In Fig. 1, thefuzzy controller is denoted by Φ; 0,1g g and 2g are scaling gains; and ()b t is the input of the integrator.Fig. 1 Speed control system using a PI fuzzy controllerFind the differential equation that describes the closed-loop system. Let the state be123[,,][,,]T T x x x x f b υ== and find a system of three first-order ordinary differential equationsthat can be used by the Runge-Kutta method in the simulation of the closed-loop system. Φ is used to represent the controller in the differential equations.For the reference input, three different test signals can be used as follows:a: Test input 1 makes ()d t υ=18m/sec (40.3 mph) for 010t ≤≤ and ()d t υ=22 m/sec (49.2 mph) for 1030t ≤≤.b: Test input 2 makes()d t υ=18m/sec (40.3 mph) for 010t ≤≤ and ()d t υ increaseslinearly (a ramp) from 18 to 22 /sec m by 25sec t =, and then ()22d t υ= for 2530t ≤≤.c: Test input 3 makes ()d t υ=22 for 0t ≤ and we use (0)x as the initial condition (this represents starting the vehicle at rest and suddenly commanding a large increase speed). Use (0)[18,197.2,20]T x = for test input 1 and 2.Design the fuzzy controller Φ to get less than 2% overshoot, a rise-time between 5 and 7 sec, and a settling time of less than 8 sec (i.e., reach to within 2% of the final value within 8 sec) for the jump from 18 to 22 /sec m in “test input 1” that is defined above. Also, for the ramp input (“test input2” above) it must have less than 1 mph (0.447 /sec m ) steady-state error (i.e., at the end of the ramp part of the input have less than 1 mph error). Fully specify the controller (e.g., the membership functions, rule-base defuzzification, etc.) and simulate the closed-loop system to demonstrate that it performs properly. Provide plots of ()t υ and ()d t υ on the same axis and()u t on a different plot. For test input 3 find the rise-time, overshoot, 2% settling time, andsteady-state error for the closed-loop system for the controller that you designed to meet the specifications for test input 1 and 2. Using the Runge-Kutta method and integration step size of 0.01, the simulation results can be shown as follows. ①.Test input 1Fig. 2 Vehicle speeds and the output of fuzzy controller using test input 1②.Test input 2Fig. 3 Vehicle speeds and the output of fuzzy controller using test input 2③.Test input 3Fig. 4 Vehicle speeds and the output of fuzzy controller using test input 32) Design of PD fuzzy controllerSuppose that you are concerned with tracking a step change in ()d t υ accurately and that you use the PD fuzzy controller shown in Fig. 5. To represent the derivative, simply use a backward difference()()()e t e t h c t h--= Where h is the integration step size in your simulation (or it could be your sampling period in an implementation).Fig. 5 Speed control system using a PD fuzzy controllerDesign a PD fuzzy controller to get less than 2% overshoot, a rise-time between 7 and 10 sec. and a settling time of less than 10 sec for test input 1 defined in a). Also, for the ramp input ( test input 2 in 1)) it must have less than 1 mph steady-state error to the ramp (i.e., at the end of the ramp part of the input, have less than 1 mph error).Fully specify your controller and simulate the closed-loop system to demonstrate that itperforms properly. Provide plots of ()t υ and ()d t υ on the same axis and ()u t on a different plot. In the simulations, the Runge-Kutta method is used and an integration step size of 0.01.Assume that (0)[18,197.2]T x = for test inputs 1 and 2 (hence we ignore the derivative input in coming up with the state equations for the closed-loop system and simply use the approximation for c(t) that is shown above so that we have a two-state system). As a final test let(0)0x =and use test input 3 defined in 1).①.Test input 1Fig. 6 Vehicle speeds and the output of fuzzy controller using test input 1②.Test input 2Fig. 7 Vehicle speeds and the output of fuzzy controller using test input 2 ③.Test input 3Fig. 8 Vehicle speeds and the output of fuzzy controller using test input 3Ⅴ. SummaryTo keep an automobile’s speed constant, a speed control design method using fuzzy logic ispresented. PI fuzzy controller and PD fuzzy controller design schemes are given to regulate a vehicle’s speed to a driver-specified value. The simulation results show the validity and of the proposed technique.The control design procedure can be summarized as follows:①Modeling and performance objectivesBasically, the role of modeling a fuzzy control design is quite similar to its role in conventional control system design. In fuzzy control there is a more significant emphasis on the use of heuristics. Conventional feedback controller design entails constructing a controller to meet the closed-loop specifications (such as disturbance rejection properties, insensitivity to plant parameter variations, stability, overshoot, steady-state error et al), which is also applied to fuzzy control design.②Fuzzy controller designFuzzy control design essentially amounts to (1) choosing the fuzzy controller inputs and outputs (2) choosing the preprocessing that is needed for the controller inputs and possibly postprocessing that is needed for the outputs, and (3) designing the four components of the fuzzy controller: (a) The fuzzification interface simply modifies the inputs so that they can be interpreted and compared to the rules in the rule-base. (b) The “rule-base” holds the knowledge, in the form of a set of rules, of how best to control the system. (c) The inference engine evaluates which control rules are relevant at the current time and then decides what the input to the plant should be. And (d) the defuzzification interface converts the conclusions reached by the inference engine into the inputs to the plant.③Computer simulationTo prove the effectivity of the controller design and check up whether the design requirements are realized or not.References[1] K. M. Passino and S. Yurkovich(1997). Fuzzy control, 1st edn, Addision Wesley Longman, Colifornia.[2] Ward, D. 1999. Berlitz complete guide to cruising and cruise ships 2000. Princeton, New Jersey: Berlitz Publishing Company.[3] Ioannou, P.A.; Chien, C.C. "Autonomous Intelligent Cruise Control," IEEE Trans. on Vehicular Technology, 42(4) :657 – 672, 1993.[4] Mayr, R. “Intelligent cruise control for vehicles based on feedback linearization”. Proc. of American Control Conference, pp. 16-20, 1994.。