亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? powerwindow.htm

?? power window related simulink simulation
?? HTM
?? 第 1 頁 / 共 4 頁
字號:
<!-- $Revision: 1.2 $ -->
<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
<title>Simulink demo</title>

<LINK rel=StyleSheet href="style.css" type="text/css">

</head>

<body bgcolor="#FFFFFF">

<h2>Simulink Power Window Controller Specification</h2>


<p>
Matlab-Simulink is a versatile tool that supports embedded control
design all the way from initial specification to code generation.

<p>
To manage the complexity of not only today`s engineered systems but also of
their design teams, structured analysis methods are used to systematically
arrive at rigorous, unambiguous, and consistent specifications. 
</p>

<p>
In this context, M<font size=-1>ATLAB</font>-S<font size=-1>IMULINK</font> can
be used to provide executable specifications that support system design closer
to its actual realization than typical Computer-Aided Systems/Software Engineering (CASE)
tools can.
</p>

<p>
This example shows how <i>activity diagrams</i>
(combined <i>data flow diagrams</i> and <i>control flow diagrams</i>)
can be implemented in M<font size=-1>ATLAB</font>-S<font size=-1>IMULINK</font>
and how to link the M<font size=-1>ATLAB</font>-S<font size=-1>IMULINK</font> model
to the system documentation.
</p>

<p>
The overall power window design includes:
<ul>
<li>high-level discrete event control specification</li>
<li>combined discrete event and continuous time systems, hybrid dynamic systems</li>
<li>hybrid control combined with energy based components:
<ul>
<li>power electronics to model actuator dynamics</li>
<li>multi-body system components to model the power window plant</li>.
</ul></li>
<li>automatically generated controller code for the control subsystem</li>
</ul>
</p>

<p>
<font color="FF0000">Throughout this demo, links appear that have to be activated in
the presented sequence.
These links are in bold.
Please click each of the bold faced links as they appear in the text.
You can jump to a particular stage by skipping several links in bold,
but to revert, you will have to reload the demo. 
</p>
<p> This file is meant to be used with R12.1 and earlier versions 
of MATLAB.  For later versions, please use the html file powerwindow_R13.htm</p></font>

<h3><a name="Introduction"></a>Introduction</h3>

<p>
Nowadays, electronics are used in automobiles to control, e.g., the opening
and closing of windows and sun-roof, adjusting the mirrors/headlights, and
to lock and unlock the doors. These systems are subject to stringent operation
constraints as failure may result in dangerous and possibly life-threatening
situations. Therefore, a careful design and analysis is mandatory before
deployment.
</p>

<p>
In this example, let`s concentrate on the power window system of an automobile,
specifically, the passenger-side window. A critical aspect of this system is
that it can never exert a force of more than 100 [N] on an object
when closing the window, see:
<blockquote>
    <blockquote>
        <p>
		<img src="window1b.jpg" alt="" border="0" align="">
		</p>
    </blockquote>
</blockquote>
When such an object is detected, the window is to be lowered by about 10 [cm].
</p>

<h3><a name="Requirements"></a>Requirements</h3>

<p>
More formally, the quantitative requirements for the control can be stated:
<ul>
<li>The window has to be fully opened and fully closed within 4 [s].
</li>
<li>If the up or down command is issued for at least 200 [ms] and at most
1 [s], the window has to be fully opened or closed, respectively.
</li>
<li>The window has to start moving 200 [ms] after the command is issued.
</li>
<li>The force to detect when an object is present should be less than 100 [N].
</li>
<li>When an object is present, the window should be lowered by approximately 10 [cm].
</li>
</ul>
</p>

<h3><a name="Discrete Event Control"></a>Discrete Event Control</h3>

<p>
The discrete event control of the window can be modeled by a statechart,
i.e., a finite state machine with hierarchy and parallelism. This state
machine contains the basic states of the power window system
<font face="Courier">up</font>,
<font face="Courier">auto-up</font>,
<font face="Courier">down</font>,
<font face="Courier">auto-down</font>,
<font face="Courier">rest</font>, and
<font face="Courier">emergency</font>.
It models the state transitions between these and accounts for the 
precedence of driver commands over the passenger commands.
It also includes emergency behavior that is to be activated when
an object is detected to be present between the window and the frame
while moving up.
The <a href="matlab:powerwindowscript(`initialize`);"><b>initial M<font size=-1>ATLAB</font>-S<font size=-1>IMULINK</font> model</b></a>
for the
<a href="matlab:powerwindowscript(`highlight statechart`);">power window control</a>
is a
<a href="matlab:powerwindowscript(`open control`);">discrete event controller</a>
that runs at a
given <a href="matlab:powerwindowscript(`highlight sample rate`);">sample rate</a>.
The discrete event control is a Stateflow model that extends the 
state transition diagram notion with hierarchy and parallelism.
Note that state changes because of passenger commands are encapsulated
in a <i>super state</i> that corresponds to no active driver commands.
</p>

<p>
Here, the control of the passenger window is considered. This window can be
moved up and down by either the passenger or the driver. The model includes
this control input as 
<a href="matlab:powerwindowscript(`highlight passenger and driver switches`);">switches</a>
that can be manually operated by double-clicking them. 
</p>


<p>
The state machine that controls a power window is tested by running the input
test vectors and verifying that the desired internal state is reached and
output is generated. The power window has four external inputs:
<ul>
<li>passenger input consists of a vector with three elements:
<ul>
<li><font face="Courier">neutral</font>: the passenger control switch is not depressed</li>
<li><font face="Courier">up</font>: the passenger control switch generates the up signal</li>
<li><font face="Courier">down</font>: the passenger control switch generates the down signal</li>
</ul></li>
<li>driver input</li>
<ul>
<li><font face="Courier">neutral</font>: the driver control switch is not depressed</li>
<li><font face="Courier">up</font>: the driver control switch generates the up signal</li>
<li><font face="Courier">down</font>: the driver control switch generates the down signal</li>
</ul></li>
<li>whether top or bottom of the window frame is reached
<ul>
<li>0: window moves freely between top or bottom</li>
<li>1: window is stuck at the top or bottom because of physical limitations</li>
</ul></li>
<li>whether an obstacle is present between the window and its frame
<ul>
<li>0: window moves freely between top or bottom</li>
<li>1: window is stuck at the top or bottom because of physical limitations</li>
</ul></li>
</ul>
The passenger and driver input signals are generated by
<a href="matlab:powerwindowscript(`highlight maps`);">mapping the up and
down signals</a> according to the following table

<p>
<table bordercolor="#000000" cellspacing="2" cellpadding="4" border="1" align="center">
  <tr align="center"><!-- Row 1 -->
    <td bordercolor="#FF0000" bgcolor="#FF8888"><b>up</b></td>
    <td bordercolor="#FF0000" bgcolor="#FF8888"><b>down</b></td>
    <td bordercolor="#0000FF" bgcolor="#8888FF"><b>neutral</b></td>
    <td bordercolor="#0000FF" bgcolor="#8888FF"><b>up</b></td>
    <td bordercolor="#0000FF" bgcolor="#8888FF"><b>down</b></td>
  </tr>
  <tr align="center"><!-- Row 2 -->
    <td bordercolor="#FF0000" bgcolor="FFCCCC">0</td>
    <td bordercolor="#FF0000" bgcolor="FFCCCC">0</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">1</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">0</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">0</td>
  </tr>
  <tr align="center"><!-- Row 3 -->
    <td bordercolor="#FF0000" bgcolor="FFCCCC">0</td>
    <td bordercolor="#FF0000" bgcolor="FFCCCC">1</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">0</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">0</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">1</td>
  </tr>
  <tr align="center"><!-- Row 4 -->
    <td bordercolor="#FF0000" bgcolor="FFCCCC">1</td>
    <td bordercolor="#FF0000" bgcolor="FFCCCC">0</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">0</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">1</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">0</td>
  </tr>
  <tr align="center"><!-- Row 5 -->
    <td bordercolor="#FF0000" bgcolor="FFCCCC">1</td>
    <td bordercolor="#FF0000" bgcolor="FFCCCC">1</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">1</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">0</td>
    <td bordercolor="#0000FF" bgcolor="CCCCFF">0</td>
  </tr>

</table>
</p>

to explicitly generate the <font face="Courier">neutral</font> event from
the <font face="Courier">up</font> and <font face="Courier">down</font>
events as generated by pressing a power window control switch.
The blue part of the table is entered as
<a href="matlab:powerwindowscript(`open truth table`);">truth table</a>
in the map.
</p>

<h4><a name="window up"></a>Window Up</h3>

<p>
To observe the state machine behavior, first 
<a href="matlab:powerwindowscript(`run`);">run the simulation</a>
and then
double-click the 
<a href="matlab:powerwindowscript(`highlight passenger up`);">passenger window up switch</a>
or click <a href="matlab:powerwindowscript(`passenger window up`);">here</a>.
If the switch was pressed for more than one
second, the window moves up till the up switch is
<a href="matlab:powerwindowscript(`passenger window up release`);">released</a>
(or the top of the
window frame is reached and the
<a href="matlab:powerwindowscript(`endstop`);"><font face="Courier">endstop</font> event</font>
is generated</a>).
</p>

<p>
Please first <a href="matlab:powerwindowscript(`reset switches`);">reset the switches</a>
before continuing.
</p>

<h4><a name="window autoup"></a>Window Auto-Up</h3>

<p>
If the passenger up switch was pressed for a short period of time (less than a second),
<i>auto-up</i>
is activated and the window continues to move up.
To observe this state change, click the following links shortly after one another:
<a href="matlab:powerwindowscript(`passenger window up`);">here</a> and
<a href="matlab:powerwindowscript(`passenger window up release`);">here</a>.
Ultimately, the window reaches the top of the frame and the
<a href="matlab:powerwindowscript(`endstop`);"><font face="Courier">endstop</font> event</font>
is generated</a>
that moves the state machine back to its
neutral state.
</p>

<p>
Please first <a href="matlab:powerwindowscript(`reset switches`);">reset the switches</a>
before continuing.
</p>

<h4><a name="precedence"></a>Driver-side Precedence</h3>

<p>
The driver switch for the passenger window takes precedence over the driver
commands. 
First, move the system to its <font face="Courier">passenger up</font>
state by double-clicking the passenger window up switch
or click
<a href="matlab:powerwindowscript(`passenger window up`);">here</a>.
Next, double-click the
<a href="matlab:powerwindowscript(`highlight driver down`);">driver window down switch</a>
or click <a href="matlab:powerwindowscript(`driver window down`);">here</a>.
Notice how the state machine moves to the driver control part to generate the
window down output instead of the window up output.
When the driver control is
<a href="matlab:powerwindowscript(`driver window up`);">switched to up</a>,
the driver window up state is reached that generates the window up output again, i.e.,
<font face="Courier">windowUp = 1</font>.
</p>

<p>
To observe state behavior when an object is present between the window and its
frame, double-click the
<a href="matlab:powerwindowscript(`highlight obstacle`);">obstacle switch</a>
or click <a href="matlab:powerwindowscript(`obstacle`);">here</a>. On the next
sample time, the state machine moves to its <font face="Courier">emergencyDown</font> state to
lower the window a few inches. How far exactly depends on how long the
state machine is in the <font face="Courier">emergencyDown</font> state and is part of the next 
analysis phase.
</p>

<p>
Note that if any of the driver or passenger window
switches is still active, the state machine 
moves into the up or down states upon the next sample time after the emergency
state is departed. If the obstacle switch is still active too, the emergency
state is then activated at again the next sample time.

<p>
Please
<a href="matlab:powerwindowscript(`stop`);">stop the simulation</a>
and
<a href="matlab:powerwindowscript(`reset switches`);">reset the switches</a>
before continuing.
</p>

<h3><a name="Continuous Plant Behavior"></a>Continuous Plant Behavior</h3>

<p>
Once the discrete event control has been designed and verified, it can
be coupled to the continuous time plant behavior. To this end,
first 
<a href="matlab:powerwindowscript(`remove output`);"><b>remove initial input/output blocks</b></a>
that connect to ports that have to be connected to the
<a href="matlab:powerwindowscript(`add continuous`);"><b>continuous plant behavior</b></a>.
The plant is modeled as a second order differential equation with step-wise
changes in its input:
<ul>
<li>when the Stateflow chart generates <font face="Courier">windowUp</font> the input is 1,</li>
<li>when the Stateflow chart generates <font face="Courier">windowDown</font> the input is -1,</li>
<li>otherwise, the input is 0.</li>
</ul>

<p>
This phase allows analysis of the interaction between the discrete event

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线视频一区二区三区| 欧美久久一二区| 亚洲人成伊人成综合网小说| 色综合激情久久| 日韩黄色一级片| 国产精品污网站| 欧美一区二区日韩| 国产一区二区三区四区五区入口| 亚洲综合免费观看高清完整版 | 久久精品人人做人人综合| 色婷婷综合久久久久中文 | 欧美日韩成人高清| 日韩欧美黄色影院| 欧美午夜影院一区| 91精品国产综合久久小美女| 一本色道久久加勒比精品| 国产精品一区二区三区乱码| 成人av电影在线播放| 久99久精品视频免费观看| 青青草伊人久久| 久久精品国产精品亚洲综合| 亚洲一卡二卡三卡四卡| 精品综合免费视频观看| 婷婷夜色潮精品综合在线| 中文字幕制服丝袜一区二区三区 | 国产精品天美传媒| 亚洲欧美综合色| 欧美国产欧美综合| 久久精品国产在热久久| 久久成人羞羞网站| 秋霞国产午夜精品免费视频| 欧美日韩精品免费观看视频| 欧美乱熟臀69xxxxxx| 欧美日本视频在线| 激情小说亚洲一区| 亚洲.国产.中文慕字在线| 免费在线看成人av| 欧美性大战久久久久久久蜜臀| 精品国产乱码久久久久久1区2区| 国产一区91精品张津瑜| 国产精一区二区三区| 欧美一卡二卡在线观看| 亚洲成av人片在线观看无码| 国产乱子伦一区二区三区国色天香| 欧美色国产精品| 亚洲图片另类小说| 国产精品一二一区| 精品国产一区二区三区忘忧草| 日韩成人精品在线| 亚洲精品一区在线观看| 国内国产精品久久| 中文字幕中文字幕一区二区| 国产精品中文欧美| 欧美mv日韩mv亚洲| 国产91精品在线观看| 中文字幕精品一区| 欧美日韩国产bt| 国产乱码字幕精品高清av| 国产精品成人免费在线| 91美女片黄在线观看91美女| 日韩精品电影在线| 欧美成人精品高清在线播放| 国产精品一二三在| 亚洲男人都懂的| 91亚洲男人天堂| 日韩高清不卡一区二区三区| 欧美第一区第二区| 99re这里只有精品首页| 亚洲国产成人高清精品| 色综合色综合色综合| 天堂av在线一区| 精品国产一区二区三区忘忧草| 91一区二区三区在线播放| 亚洲h在线观看| 欧美国产欧美综合| 欧美三级在线视频| 久久99国产精品免费| 国产精品色哟哟网站| 欧美日韩一区在线观看| 国产精品18久久久久| 亚洲最新视频在线播放| 中文字幕av一区二区三区高| 欧美色图一区二区三区| 国产在线观看一区二区| 玉米视频成人免费看| 日韩精品在线一区| 欧洲亚洲精品在线| 成人性生交大片免费看视频在线 | 日本一区二区三区国色天香| 91麻豆自制传媒国产之光| 日韩国产一二三区| 日韩一区二区三区电影在线观看| 激情成人午夜视频| 亚洲精品第1页| 777欧美精品| 欧美伊人久久久久久午夜久久久久| 韩国女主播一区| 日本美女一区二区三区视频| 亚洲视频在线一区| 国产精品丝袜一区| 精品国产一区二区三区av性色| 天天综合色天天综合| 亚洲午夜电影网| 国产精品看片你懂得| 国产清纯白嫩初高生在线观看91| 91精品国产手机| 欧美亚洲一区二区三区四区| 成人av动漫在线| 国产乱码精品一区二区三| 亚洲成人黄色小说| 亚洲欧美日韩精品久久久久| 久久精品人人做| 国产精品久线观看视频| 日韩国产高清在线| 一区二区免费在线| 国产精品激情偷乱一区二区∴| 久久精品亚洲麻豆av一区二区| 精品久久国产字幕高潮| 精品日韩99亚洲| 精品久久久久久综合日本欧美| 欧美色视频一区| 欧美久久久一区| 欧美日韩一区三区四区| 日韩精品一区在线观看| 欧美一级精品大片| 精品国产乱码91久久久久久网站| 欧美一区二区三区喷汁尤物| 精品av久久707| 精品国产乱码91久久久久久网站| 国产亚洲精品精华液| 久久精品无码一区二区三区| 一区二区中文视频| 1000部国产精品成人观看| xvideos.蜜桃一区二区| 中文字幕巨乱亚洲| **欧美大码日韩| 亚洲va韩国va欧美va| 美女一区二区久久| 成人黄色在线视频| 色综合婷婷久久| 欧美日韩第一区日日骚| 欧美一区二区三区在线视频| 精品久久久久久久久久久久包黑料| 久久九九久久九九| 一区二区三区.www| 奇米影视一区二区三区小说| 亚洲一二三专区| 久久99热狠狠色一区二区| 国产精品入口麻豆九色| 亚洲综合小说图片| 青椒成人免费视频| 不卡的av电影| 欧美在线免费观看亚洲| 久久免费看少妇高潮| 国产精品不卡在线| 蜜桃视频第一区免费观看| 国产大陆亚洲精品国产| 欧美日韩一区二区三区高清| 精品精品欲导航| 国产片一区二区三区| 亚洲国产日韩一区二区| 久久99精品久久久久久国产越南 | 欧美xxxxx牲另类人与| 国产欧美一区视频| 日本91福利区| 高清不卡一区二区| 制服丝袜成人动漫| 国产精品美女www爽爽爽| 亚洲bt欧美bt精品| 成人看片黄a免费看在线| 欧美日本国产一区| 国产精品不卡一区二区三区| 日韩av在线发布| 波多野结衣一区二区三区| 欧美一级国产精品| 亚洲视频一二区| 久久精品国产秦先生| 国产mv日韩mv欧美| 欧美一区二区三区的| 亚洲精品国产视频| 国产美女精品人人做人人爽| 欧美调教femdomvk| 国产精品嫩草久久久久| 男男视频亚洲欧美| 欧美最猛性xxxxx直播| 久久久九九九九| 日本不卡视频在线| 一本到一区二区三区| 国产精品传媒视频| 国产成人鲁色资源国产91色综| 日本一区二区免费在线观看视频 | 偷窥国产亚洲免费视频| 91在线播放网址| 亚洲美女一区二区三区| av亚洲产国偷v产偷v自拍| 欧美韩日一区二区三区四区| 韩国成人福利片在线播放| 欧美xxxxx裸体时装秀| 免费观看30秒视频久久| 日韩视频一区二区三区在线播放 |