Overview
Comment:New PI controller component
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 2d57a51128e953a5a5d1cef312db49b879f35c43cc80a618c6a0ed97708a7915
User & Date: gawthrop@users.sourceforge.net on 2002-05-15 11:01:24
Other Links: branch diff | manifest | tags
Context
2002-05-15
14:22:26
Code for Simulink S-function target written direct to sfun.cc instead of
calling .mexglx files. This eliminates the sfun dependency on Octave
ColumnVectors. sys_sfun.cc should build directly on a MS Windows machine
(can't test this yet).

added sfun.zip target to create source code to export. check-in: d9e3b30dc2 user: geraint@users.sourceforge.net tags: origin/master, trunk

11:01:24
New PI controller component check-in: 2d57a51128 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2002-05-14
20:19:06
Fixed some memory leaks. check-in: 0ff8fc3bca user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/lib/comp/compound/Control/Collocated/PIe/PIe_abg.fig version [0806da5857].





































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#FIG 3.2
Portrait
Center
Metric
A4      
100.00
Single
-2
1200 2
2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3
	 2025 2700 3375 2700 3150 2925
2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3
	 3600 2475 3600 1125 3825 1350
2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3
	 3825 2700 5175 2700 4950 2925
2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3
	 3825 900 5175 900 4950 1125
2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 3
	 3375 900 2025 900 2250 1125
2 4 0 2 31 7 101 0 -1 0.000 0 0 7 0 0 5
	 6525 3375 900 3375 900 450 6525 450 6525 3375
2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2
	 5175 2475 5175 2925
2 1 0 2 0 7 100 0 -1 0.000 0 0 -1 0 0 2
	 2025 2475 2025 2925
4 1 0 100 0 18 18 0.0000 4 195 150 3600 2790 0\001
4 2 4 100 0 18 18 0.0000 4 270 825 1935 2790 SS:[in]\001
4 0 4 100 0 18 18 0.0000 4 270 930 5310 2790 SS:[out]\001
4 1 1 101 0 3 24 0.0000 4 165 195 4500 2520 u\001
4 1 1 101 0 3 24 0.0000 4 240 165 4545 3015 y\001
4 1 1 101 0 3 24 0.0000 4 165 240 2520 3015 w\001
4 1 0 100 0 18 18 0.0000 4 195 150 3600 990 1\001
4 1 0 100 0 18 18 0.0000 4 270 675 5670 990 C:k_i\001
4 1 0 100 0 18 18 0.0000 4 270 765 1575 945 R:k_p\001

Added mttroot/mtt/lib/comp/compound/Control/Collocated/PIe/PIe_desc.tex version [1e82a62155].





























































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% -*-latex-*- Put EMACS into LaTeX-mode
% Verbal description for system PIe (PIe_desc.tex)
% Generated by MTT on Wed May 15 10:28:28 BST 2002.

% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %% $Id$
% %% $Log$
% %% Revision 1.1  2000/12/28 09:13:38  peterg
% %% Initial revision
% %%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

   The acausal bond graph of system \textbf{PIe} is
   displayed in Figure \Ref{fig:PIe_abg.ps} and its label
   file is listed in Section \Ref{sec:PIe_lbl}.

\textbf{PIe} implements a collocated PI controller where:
\begin{description}
\item[w] is the (flow) setpoint at port [w]
\item[y] is the (flow) system output at port [yu]
\item[u] is the (effort) system input (control signal) at port [yu]
\end{description}

The controller transfer-function is:
\begin{equation}
  u(s) = \left [ k_p + \frac{k_i}{s} \right ] e(s) 
\end{equation}
where the \emph{error} $e(s) = w(s) - y(s)$.

Added mttroot/mtt/lib/comp/compound/Control/Collocated/PIe/PIe_lbl.txt version [0f4b746db8].





































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#SUMMARY PIe: PI controller with effort output
#DESCRIPTION Implements collocated PI controller with:
#DESCRIPTION   w (flow) setpoint at in-port
#DESCRIPTION   y (flow) measurement at out-port
#DESCRIPTION   u (effort) control  at out-port


## System PIe, representation lbl, language txt
## File PIe_lbl.txt
## Generated by MTT on Wed May 15 10:17:13 BST 2002

  ###################################### 
  ##### Model Transformation Tools #####
  ######################################
  
  ###############################################################
  ## Version control history
  ###############################################################
  ## $Id$
  ## $Log$
  ## Revision 1.2  2001/07/03 22:59:10  gawthrop
  ## Fixed problems with argument passing for CRs
  ##
  ###############################################################

## Port aliases
#ALIAS	w	in
#ALIAS	yu	out

## Argument aliases
#ALIAS	$1	k_i
#ALIAS	$2	k_p

## Each line should be of one of the following forms:
##	     a comment (ie starting with #)
##	     component-name	cr_name	arg1,arg2,..argn
##	     blank

## ---- Component labels ----

## Component type C
	k_i	lin		state,k_i		

## Component type R
	k_p	lin		flow,k_p		

## Component type R
	[in]	SS		internal,external		
	[out]	SS		external,external		

Added mttroot/mtt/lib/comp/compound/Control/Collocated/PIe/PIe_rep.txt version [acf478c2a5].







































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## -*-octave-*- Put Emacs into octave-mode
## Outline report file for system PIe (PIe_rep.txt)
## Generated by MTT on" Wed May 15 10:33:29 BST 2002.

###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.1  2000/12/28 11:58:07  peterg
## Put under RCS
##
###############################################################

mtt PIe abg tex			# The system description
mtt PIe cbg ps 		        # The causal bond graph
mtt PIe struc tex	        # The system structure
mtt PIe sympar tex	        # The system parameters
## Uncomment the following lines or add others
## mtt PIe dae tex	        # The system dae
mtt PIe ode tex	        # The system ode 
## mtt PIe sspar tex		# Steady-state parameters
## mtt PIe ss tex 		# Steady state
## mtt PIe dm tex		# Descriptor matrices (of linearised system)
## mtt PIe sm tex		# State matrices (of linearised system)
mtt PIe tf tex		# Transfer function (of linearised system)
## mtt PIe lmfr ps		# log modulus of frequency response (of linearised system)
## mtt PIe simpar txt		# Simulation parameters
## mtt PIe numpar txt		# Numerical simulation parameters
## mtt PIe state txt		# Simulation initial state
## mtt PIe input txt		# Simulation input
## mtt PIe logic txt		# Logic control
## mtt PIe odeso ps		# Simulation output

mtt PIe rep txt		# This file


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]