Docsity

Physiological Control Systems Notes, Appunti di Controlli Automatici

Toggle sidebar
bg1
Bioengineering of the Physiological Control Systems
CHAPTER 1 - INTRODUCTION TO PHYSIOLOGICAL CONTROL
SERVOMECHANISM (it. servomeccanismo) – tracking of a specified dynamic trajectory by means of a
control action (open loop, closed loop, etc.).
OPEN-LOOP CONTROL SYSTEM
Example: regulation of room temperature
– a program based on past experience
and known features of the room and the
heating system can control the fan-heater
giving more or less power according to
day/night or to the season of the year.
Example: perform a gesture in human
motion simple (e.g., rise a weight) or complex (e.g., sport gestures, play an instrument, etc.).
Open loop regulation may perform complex behaviours but can not compensate disturbances, that are a-
priori unknown. E.g. rain or sunshine for the heating system. You may have experienced that when rising an
object supposed heavy but which was light instead and consequently doing a completely wrong gesture.
Only the sensory feedback permitted you to correct that!
In generale REGOLAZIONE OPEN LOOP può performare comportamenti SEMPLICI/COMPLESSI ma non può
compensare disturbi che sono sconosciuti a priori. Solo un SENSORY FEEDBACK può correggere il disturbo.
Un DISTURBO è definito come qualcosa che non possiamo prevedere a priori come per esempio ciò che non
conosciamo della realtà.
CLOSED-LOOP CONTROL SYSTEM
Example: thermostat - regulation of room
temperature - temperature sensor - error
compared to a set point - control of fan-heater.
FEEDBACK : a ethod footrolling a system
by reinserting into it the results of its past
pefoae Noet Wiee, 94s.
Norber Wiener è uno dei fondatori di controllo automatico interessato a sistemi di controllo artificiale e
naturale.
CYBERNETICS : its the application of control theory to physiology, but with the passage of time this term
has come to take on a meaning more closely associated with robotics (from Greek kubernetes, it.
timoniere). La barca è il sistema e la direzione della barca è la variabile y che in ogni momento deve essere
controllata. Il regolatore è il timone che controlla la direzione. Il feedback è dato dalla bussola che ha una
misura della direzione. I disturbi sono il vento, la corrente, le onde e la corrente. Nel 1800 si è capito
quanto fosse ipotate il otollo delle odizioi delliteo degli ogai, ioapie liteal
reference.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Anteprima parziale del testo

Scarica Physiological Control Systems Notes e più Appunti in PDF di Controlli Automatici solo su Docsity!

Bioengineering of the Physiological Control Systems

CHAPTER 1 - INTRODUCTION TO PHYSIOLOGICAL CONTROL

SERVOMECHANISM (it. servomeccanismo) – tracking of a specified dynamic trajectory by means of a control action (open loop, closed loop, etc.).

OPEN-LOOP CONTROL SYSTEM

Example : regulation of room temperature

  • a program based on past experience and known features of the room and the heating system can control the fan-heater giving more or less power according to day/night or to the season of the year.

Example : perform a gesture in human motion simple (e.g., rise a weight) or complex (e.g., sport gestures, play an instrument, etc.).

Open loop regulation may perform complex behaviours but can not compensate disturbances, that are a- priori unknown. E.g. rain or sunshine for the heating system. You may have experienced that when rising an object supposed heavy but which was light instead and consequently doing a completely wrong gesture. Only the sensory feedback permitted you to correct that!

In generale REGOLAZIONE OPEN LOOP può performare comportamenti SEMPLICI/COMPLESSI ma non può compensare disturbi che sono sconosciuti a priori. Solo un SENSORY FEEDBACK può correggere il disturbo. Un DISTURBO è definito come qualcosa che non possiamo prevedere a priori come per esempio ciò che non conosciamo della realtà.

CLOSED-LOOP CONTROL SYSTEM

Example : thermostat - regulation of room temperature - temperature sensor - error compared to a set point - control of fan-heater.

FEEDBACK : ͞ a ŵethod foƌ ĐoŶ trolling a system by reinserting into it the results of its past peƌfoƌŵaŶĐe͟ ;Noƌďeƌt WieŶeƌ, ϭ94ϬsͿ. Norber Wiener è uno dei fondatori di controllo automatico interessato a sistemi di controllo artificiale e naturale.

CYBERNETICS : it͛s the application of control theory to physiology, but with the passage of time this term has come to take on a meaning more closely associated with robotics (from Greek kubernetes , it. timoniere). La barca è il sistema e la direzione della barca è la variabile y che in ogni momento deve essere controllata. Il regolatore è il timone che controlla la direzione. Il feedback è dato dalla bussola che ha una misura della direzione. I disturbi sono il vento, la corrente, le onde e la corrente. Nel 1800 si è capito quanto fosse iŵpoƌtaŶte il ĐoŶtƌollo delle ĐoŶdizioŶi dell͛iŶteƌŶo degli oƌgaŶi, Đioğ Đap iƌe l͛iŶteƌŶal reference.

In Physiology: HOMEOSTASIS - to describe the maintenance of relatively constant physiological conditions. ;AtteŶzioŶe: ͞ stasi͟ ≠ ͞ statiĐo͟, Đioğ stasi iŶtesa Đoŵe ͞ staďilità͟, ŵa ŶoŶ ğ iŵŵoďil e peƌĐhĠ ĐoŶtiŶua ad essere regolata). ͞It is the fidžitLJ of the ͚ ŵilieu iŶteƌieuƌ͛ ǁhiĐh is the ĐoŶditioŶ of fƌee aŶd iŶdepeŶdeŶt life.͟ (Claude Bernard, 19th century). È la STABILITÀ del ͞ ŵilieu iŶteƌieuƌ͟ ;a mbiente interno) che è la condizione di vita libera e indipendenza).

REFLEX VS FEEDBACK: TWO SIMPLE EXAMPLES

͞ Il riflesso è un modo di operare del feedback che entra in atto solo quando arriva uno stimolo.͟

In the physiological language, Reflex is often used as synonym of feedback within physiological control systems. Actually, reflex suggests a response to some change ( provocation in clinical/physiological studies; transient in automation and signal processing). This is not always the case for feedbacks, which in many control systems and instances work against ongoing (stationary) disturbances and output oscillations. The reason why physiologists prefer the term reflex is both historical and experimental: feedbacks are easily observed as reactions to some provocative stimulus; this can be more easily reproduced in experiments and unknown reflexes can be searched for or known ones can be assessed more easily by observing the transient response (reflex) to a controlled stimulus. Indeed, the feedback loop is similar in both transient and ongoing responses, and in normal conditions physiological control mechanisms are working against the latter case. A main difficulty in studying physiological control is in putting together data relevant to transient responses and data concerning the ongoing activity. In the following, we will come through the baroreflex several time and in several ways: considering transients over short times, considering the frequency response to periodic inputs (e.g. respiration cycle), considering ongoing activity (closed loop identification).

RIFLESSO: è un modo di operare del feedback quando entra in gioco uno stimolo ed è la risposta a qualche cambiamento in automazione e nel signal processing è lo stimolo o il transitorio.

Il feedback lavora in modo continuo contro le oscillazioni della variabile di uscita (DIVERSO DAL RIFLESSO) o disturbi continui (ongoing= stazionari) dopo che il transitorio si è esaurito. Infatti i meccanismi fisiologici lavorano contro variazioni continue. I feedback sono più facili da osservare in quanto sono più facili da produrre e si possono scoprire nuovi o osservare più facilmente quelli noti con il transitorio ad uno stimolo controllato.

1) The Muscle Stretch Reflex

PHYSIOLOGICAL CONTROL SYSTEMS VS ARTIFICIAL ONES

  1. physiological VERSATILITY vs fixed tasks  integration of various open loop and closed loop regulation strategies. An engineering control system is designed to accomplish a defined task, and frequently, the governing parameters have been fine-tuned extensively so that the system will perform its task in an "optimal" manner (at least, under the circumstances in which it is tested). In contrast, physiological control systems are built for versatility and may be capable of serving several different functions.

  2. known artificial components  system analysis unknown components  SYSTEM IDENTIFICATION  system analysis.

  3. extensive CROSS-COUPLING (it. interazioni) Example : contributions of interrelated systems to the muscle stretch reflex. Some branches of the afferent nerves also synapse with the motoneurons that lead to other extensor muscles in the thigh that act synergistically with the primary muscle to straighten the lower leg. Secondly, other branches of the afferent nerves synapse with interneurons which, in tum, synapse with motoneurons that lead to the flexor or antagonist muscles. However, here, the interneurons introduce a polarity change in the signal, so that an increase in afferent neural frequency produces a decrease in the efferent neural traffic that is sent to the flexor muscles. This has the effect of relaxing the flexor muscles so that they do not counteract the activity of the extensor muscles. More examples : arterial pressure control - low pressure and high pressure areas - blood volume control - control of flow in organs and limbs - thermo-regulation - renal activity - intracranial pressure.

L͛iŶiďizioŶe ğ sǀolta iŶ due ŵodi:

  • Altri muscoli estensori loop che agisce su altri muscoli sinergici per far contrarre anche loro
  • Interneuroni che agiscono per inibire i muscoli antagonisti e permettere al quadricipite di contrarsi.
  1. ADAPTIVE control mechanisms and HIERARCHICAL structure. È un meccanismo che si adatta in base alle imposizioni dei centri superiori. This means that the system may be able to offset any change in output not only through feedback but also by allowing the controller or plant characteristics to change. Example : adaptive characteristics of the muscle stretch reflex. Esempio decido di camminare ma il mio cervello impone una serie di azioni affinchè io cammini e quindi si attivano sistemi automatici che stanno sotto livelli più alti. As an example of this type of feature, consider again the operation of the muscle stretch reflex. While this reflex plays a protective role in regulating muscle stretch, it also can hinder the effects of voluntary control of the muscles involved. For instance, if one voluntarily flexed the knee, the stretch reflex, if kept unchanged, would come into play and this would produce effects that oppose the intended movement. Figure 1.5 illustrates the solution chosen by Nature to circumvent this problem. When the higher centers send signals down the alpha motomeurons to elicit the contraction of the flexor muscles and the relaxation of the extensor muscle, signals are sent imultaneously down the efferent gamma nerves that innervate the muscle spindles. These gamma signals produce in effect a resetting of the operating lengths of the muscle spindles, so that the voluntarily induced stretch in the extensor muscles is no longer detected by the spindles. Thus, by this clever, adaptive arrangement, the muscle stretch reflex is basically neutralized.

  2. EMBEDDED ;it. ͞ iŶtƌiŶseĐo͟Ϳ Ŷegatiǀe feedďaĐk aŶd set poiŶt (Note: we will go into this counter- intuitive though central concept in the ͞EƋuiliďƌiuŵ Đhapteƌ͟ aŶd pƌoǀide edžaŵples ). Definition: creation of feedback working point not through a comparison of measure and an external set-point but by satisfying feedforward and feedback non-linear static characteristics. By linearizing around the working point, this can be represented as a ǀiƌtual ͞ set - poiŶt͟, hoǁeǀeƌ an embedded not an external one! Adaptation of the working point is obtained by adapting the control loop non-linear features (see examples in the Equilibrium chapter), not by moving an external set-point (who should move it?!). Grazie alla sua non linearità del loop di andata e ritorno troviamo il giusto working point.

  3. generally, NON-LINEAR features of both control and plant. One final difference is that physiological systems are generally nonlinear, while engineering control systems can be linear or nonlinear.

ELEMENTS OF AUTONOMIC CONTROL SYSTEMS

  • PHYSIOLOGICAL SYSTEM: vital physiological quantities: metabolic activity, temperature, chemical concentrations.
  • RECEPTORS: convert mechanical, chemical, thermal, optical quantities into a neural signal.
  • NUCLEI: in the ŵedulla ;ďraiŶsteŵͿ aŶd dieŶĐephaloŶ ;hLJpothalaŵus, aŵLJgdala,…Ϳ – elaborations and integrations.
  • SYMPATHETIC OUTFLOW (deflusso) : from the spine (thoraco-lumbar region) through sympathetic ganglia and spinal nerves.
  • PARASYMPATHETIC OUTFLOW: from the medulla through cranial nerves (vagus X) to ganglia at target organs. I gangli sono posti vicini agli ORGANI TARGET.
  • EFFECTORS: contraction/distension, excretion, conduction time modulations, fluid/gas exchange, modulazione nella conduzione temporale nervosa.

GENERAL CHARACTERISTICS

  • Response versatility : homeostasis at cellular level translates to the need of high adaptivity at phLJsiologiĐal sLJsteŵ leǀel, ĐhaŶgiŶg the ǁorkiŶg poiŶt ;ofteŶ referred to as ͞ resettiŶg͟ Ϳ aĐĐordiŶg to activity or environment needs (e.g., heart rate during sleep, rest, standing, exercise, etc.). This set of aĐtioŶs is ofteŶ Đalled ͞ hoŵeo - dLJŶaŵiĐs͟ ;soŵetiŵes ͞ etherostasis͟ ).
  • Generalized parallelism in both afferent and efferent pathways.
  • Interactions at peripheral level : controlled variables interact with other controlled variables and regulation acts on vastly distributed systems (e.g. arterial tree, digestive tube, chemical compartments iŶ orgaŶs …Ϳ.
  • Interactions at central level : any regulatory activity modulates and is modulated by several other ones.
  • Embedded set points as in any physiological control (note: it is observed that the working points of variables under autonomic control, e.g. heart rate, in the long term display large oscillations within physiological ranges with random walk, self-similar, and 1/f behaviours features; this is likely related to the absence of fixed set-points, differently from artificial control systems). Non esiste un set point esterno.
  • Intrinsic regulation inside the target organs on which autonomic regulation is superimposed.
  • Hierarchical organization : regulation is performed at several levels.
  • Non-linearity of interactions  self-organization, synergetic actions, compensation  versatility, self adaptivity, but also crash into pathological behaviours.

SYMPATHETIC VS PARASYMPATHETIC

Sympathetic and parasympathetic effects are often antagonists (e.g. sympatho/vagal balance on the heart).

Sympathetic ↔ ͞fight/flight/fright͟ reactions (azione, fuggi, paura)

Observation: Only the regulation of the outflow to the skin and peripheral vessels is purely sympathetic; in general, all sympathetic actions are balanced by an antagonistic parasympathetic action.

FUNCTIONAL ANATOMY - CENTRAL INTEGRATION & AUTONOMIC REFLEXES

vasocostrizione cutanea, pallore

hart rate, arterial pressure

(gas exchange)

(better visual resolution) (orripilazione)

AUTONOMIC NERVOUS SYSTEM FUNCTIONAL ANATOMY

This older scheme better emphasizes the pathways of autonomic fibers and synapses in ganglia. Note that:

  • preganglionic neuron bodies are inside the CNS: a) sympathetic, in the thoraco-lumbar spinal cord; b) parasympathetic, in the brainstem and in the sacral spinal cord
  • ganglionic fibers stem from neuron bodies in the ganglia:
    • sympathetic (dalla colonna vertebrale attraverso i nervi spinali), close to the spine: i) paravertebral chain, ii) prevertebral (celiac, inf. mesenteric, sup. mesenteric, iii) suprarenal glands);
    • parasympathetic (dal tronco encefalico attraverso i nervi cranici), close to target organs

NEURO-TRANSMITTERS

➢ CHOLINERGIC respoŶse: short duratioŶ ;≈ ϭϬϬ ŵsͿ, due to a rapid disruptioŶ of aĐetLJlĐholiŶe ďLJ cholinesterase

➢ PHARMACOLOGIC actions on the Autonomic N. Syst. (examples):

  • MUSCARINE: parasLJŵpathoŵiŵetiĐ → ŵiŵiĐs aĐhetLJlĐholiŶe
  • ATROPINE: parasLJŵpatholLJtiĐ → ĐholiŶergic blockade
  • PHENILEPHRINE: sLJŵpathoŵiŵetiĐ → ŵiŵiĐs ĐateĐholaŵiŶes
  • β-BLOCKERS: sLJŵpatholLJtiĐ → adreŶergiĐ ďloĐkade ;ŵiŵetiĐ=iŵitates; lLJthiĐ=disrupt/ďloĐkͿ

Classifications of neurotransmitters/receptors:

cholinergic = via achetylcholine (it. acetilcolina)

adrenergic = via catecholamines: epinephrine (it. adrenalina) and norepinephrine (it. noradrenalina)

The complex classification of both cholingergic and adrenergic receptors (e.g. with subfamilies indicated by a figure) and their specific distribution in neurons and target organs is beyond our scopes; nonetheless, of primary importance for pharmacologically.

CHAPTER 3 – MATHEMATICAL MODELLING

Typologies of ͞ Mathematical Models͟:

  • DESCRIPTIVE DYNAMICAL MODELS: ;͞iŶteƌŶal͟, ͞ edžaĐt͟ ŵ.Ϳ pƌoǀide a desĐƌiptioŶ of dLJŶaŵiĐ properties based on internal laws for each instant of time. Descrivono il defluire del sistema, definendo lo stato del sistema ad ogni istante del tempo. Sono modelli interni ed esatti, nel senso di ben approssimati (es. leggi conservazione massa e carica).
  • ANALOGUE SYSTEMS: even if physically different admit similar mathematical descriptions. Due sistemi sono analoghi se ammettono la stessa descrizione matematica, cioè le equazioni hanno la stessa struttura ma differenti parametric anche se sono molto diversi.
  • ANALOGUE MODEL: ;͞phLJsiĐal͟ ŵ.Ϳ desĐƌiďes a sLJsteŵ ďLJ ŵeaŶs of oŶe of its aŶalogue s (usually easier to construct and operate due to: scale, physical variables, etc.). Se conosci il comportamento di un sistema, puoi calcolare quello del suo analogo anche se sono molto diversi.
  • MATHEMATICAL MODEL: the mathematical laws to be analyzed, analytically solved, numerically simulated. Nel modello matematico bisogna analizzare le leggi matematiche, risolverle analiticamente e simularle numericamente. Paƌte dall’osseƌǀazioŶe dei feŶoŵeŶi eŵpiƌiĐi. Esempio : il PDA ha uŶ deĐadiŵeŶto espoŶeŶziale all’equilibrio 𝑑𝑦 𝑑𝑡 =∝ 𝑦ሺݐሻ +^ 𝛽 ݑሺݐሻ^ ODE del primo ordine
  • BLACK BOX MODEL: parametric mathematical law used to describe experimental data, whose parameter values are assigned in order to fit data (identification). Può essere interpretato e capito dopo molti trials. È una scatola nera in cui non siamo capaci di vedere dentro. Con differenti trials di prova a fittare i parametri del suo comportamento. Procedure:

Observations:

a) OPERATING RANGE: range of values of variables in which hypotheses are supposed to hold.

b) VALIDATION RANGE: range of values in which the model is compared to real data not used for its development. Outside this range LJou haǀe just ͞ edžtƌapolatioŶs͟, Đioè il pƌoĐediŵeŶto ĐoŶ Đui, sulla ďase dei dati osservati, si stima il valore assunto da una variabile al di fuori del campo di osservazione.

c) ValidatioŶ ƌeƋuiƌes that at least the ŵodel siŵulatioŶs do ǁell iŶteƌpolate the aǀailaďle data ;͞pass thƌough the data͟Ϳ. This is a necessary not a sufficient condition! An accurate validation requires that a model well represents real data in general, beyond those used to design or identify it: validation set different from the identification set (risk of overfitting).

model choice and data collection

parameters fitting on the data

identified model validation on new data

validation

KO  back to (1): try again with different model or more data

OK  use the model

(es. scopo di minimizzare errore quadratico)

APPLICATION OF MODELS

  • Simulation – Compute specific behaviours (e.g. trajectories over time, responses to external stimuli)
  • Synthesize behaviours (e.g. synthesis of human voice)
  • Analysis – Extract general properties (e.g. stability, oscillations, etc.)
  • Synthesis/design of systems – Chose model parameters in order to obtain desired properties and build them in the physical system
  • Control – Couple the described system (e.g. plant) with a regulation one (e.g. feedback controller) to obtain desired properties in the ensemble system
  • Identify parameters – extract from many data few numbers meaningful of the modelled system dynamics; hence: classify, recognize, diagnose, etc. according to estimated parameter values
  • Data processing – identify a model from data and then substitute data simulated by the model to the original one in order to: filter (clean-up noise), interpolate (integrate missing data), extrapolate (out of available data ranges), etc.
  • Forecast – siŵulate ǁhat’s ĐoŵiŶg oŶ ;edžtƌapolate ahead of tiŵeͿ

DESCRIPTIVE MODELS: RESISTIVE ELEMENTS

Electrical Resistance

ψ = ͞across͟ variable ( difference of potential ) or ͞effort͟ variable (e.g. force, pressure difference, temperature difference, concentration diff.)

ζ = ͞through͟ variable ( displacement, transport ) or ͞floǁ͟ variable

Often ψ・ζ expresses power (energy/time unit) and R is a dissipative eleŵeŶt ;͞daŵpiŶg͟ ĐoeffiĐieŶt, it. smorzamento).

Examples:

  1. Mechanical resistance Rm, dashpot (it. ammortizzatore) (mechanical system): F = v·Rm
  2. Fluid resistance Rf iŶ the Poiseuille’s laǁ foƌ laŵiŶaƌ floǁ ;fluidiĐ system): ΔP = Q·Rf
  3. Thermal resistance Rt in the heat diffusion law through a thermal resistance (thermal system): ΔΘ = Qt·Rt
  4. Diffusion resistance Rc iŶ FiĐk’s laǁ of diffusioŶ thƌough a peƌŵeaďle ŵeŵďƌaŶe ;ϭ/R = ŵeŵďƌaŶe diffusivity) between two chemical compartments (chemical or compartmental system) for a chemical species X with concentration [X] 1 and [X] 2 : Δ[X] = QX·Rc (concentrations can be also expressed as partial-volume/total-volume, e.g. for gases, or partial- mass/total-mass; similar relations hold with the appropriate measure units).

MIND THE SYSTEM STATUS

Peƌ Đapiƌe Đoŵe eǀolǀe Ŷel futuƌo doďďiaŵo ĐoŶosĐeƌe il passato del sisteŵa. IŶ geŶeƌe t=Ϭ, t=tϬ è l’iŶizio dell’osseƌǀazioŶe del sisteŵa ŵa Đ’è aŶĐhe pƌiŵa di Ƌuello. IŶ ogŶi sisteŵa Đ’è seŵpƌe ƋualĐosa dipeŶdeŶte dal tempo.

System of n Ordinary Differential Equations (ODE) (equivalent to a single order n equation):

The state variables represent the ͞ memory ͟ of the system, which evolves ͞gƌaduallLJ͟, ďoth spoŶtaŶeouslLJ and in response to finite inputs. System evolution can be determined if and only if the initial condition x ( t 0 ) = x 0 is known.

Particular cases:

  1. ẋ ( t ) = f ( x ( t )) - time invariant, autonomous system (dipende solo dagli stati precedenti e non direttamente dal tempo).
  2. ẋ ( t ) = f ( x ( t ), u ( t )) - time invariant, forced system (time dependence of the state function through a vector u ( t ) of m input (forcing) variables). Tempo invariante, forzato ad andare in una sola direzione, u(t) è un vettore di n inputs che forzano. Questi sistemi sono importanti nelle analisi per far guadagnare/ perdere stabilità cambiano la dinamica.
  3. ẋ ( t ) = f ( x ( t ), u ( t ), t ) - time variant system.
  4. ẋ ( t ) = Ax ( t ) + Bu ( t ) - linear time invariant (LTI) system.

Controllabilità: capacità di studiare la complessità del Sistema dalla sua variabile di input Osservabilità: capacità di studiare la complessità del Sistema dalla sua variabile di output L’osseƌǀaďilità di uŶ sisteŵa la ǀediaŵo ŶoŶ osseƌǀaŶdo uŶ solo momento, ma la capiamo osservando la dinamica successiva. Una variabile di stato può non essere misurata/osservata diƌettaŵeŶte dall’esteƌŶo, ŵa se iŶflueŶza le altƌe ǀaƌiaďili di stato ŵisuƌaďili dall’esteƌŶo e se è cambiata la dinamica interna nel tempo, diǀeŶta osseƌǀaďile iŶ ƋuaŶto iŶflueŶza l’output del sistema.

  1. ẋ ( t ) = A ( t ) x ( t ) + B ( t ) u ( t )) - linear time variant system.

Examples:

  • Resistances : Ŷo ŵeŵoƌLJ, theLJ ƌespoŶd ͞ iŶstaŶtaŶeouslLJ͟ (obviously this is a simplification)
  • Capacitances : their memory is represented by voltage V (or more generally y)
  • Inductances : their memory is represented by current I (or more generally z)

The number of capacitors and inductors represents the system order n. In mechanical systems , masses have 2 state variables for each degree of freedom: position and velocity. ;NeǁtoŶ’s laǁ, F = m a , is a second order equation of position, in fact a = ẍ ).

COMBINATION OF ELEMENTS IN NETWORKS

Examples: series and parallel combinations.

INTEGRAL: CORE OF A DYNAMIC SYSTEM

Integral is the core element of Ordinary Differential Equations (ODE) representation and solving. L’iŶtegƌale ğ l’eleŵeŶto Đhe accumula e rappresenta la memoria della vaƌiaďile x dell’iŵpiaŶto. CaŵďiaŶdo il sigŶifiĐato delle vaƌiaďili e il ŵodo di faƌe l’iŶtegƌale si può appliĐaƌe la stessa stƌuttuƌa a più contesti.

Integration can be dealt with in many different ways:

  • Time domain representation:
  • Laplace transform representation: Anche Simulink in genere usa una struttura sporca, cioè usa la struttura nel dominio di Laplace per il blocco e nel dominio del tempo per la variabile.
  • Analogue integrator: (core of analogue computer) È un oggetto Đhe effettua l’iŶtegƌazioŶe dell’eleŵeŶto fisiĐo, è un integratore col segno perché è un circuito invertente (feedback sempre sul meno, se no è instabile). L’iŶput ğ uŶ gradino di impulso, onda quadra, la capacità integra la corrente e ottiene un potenziale.
  • Approximation by a sum: L’iŶtegƌatoƌe ğ fatto iŶ ŵodo discrete attraverso la somma di x discretizzato nel tempo.
  • Z transform representation: Equivalente al dominio delle trasformate. Z- rappresenta il ritardo di un campionamento; per passare da ε+1 a ε ŵoltipliĐo peƌ z-1^ è lo schema principale di filtƌi digitali Đhe Đ’è nel chip. La palla ğ l’uŶità logiĐa Đhe soŵŵa i due ĐoŶtƌiďuti: ▪ x ;k ΔtͿ, 8 ďit, il valoƌe di x pƌeĐedeŶte ▪ dx/dt ;k ΔtͿ, 8 ďit, il Đaŵďio del valoƌe di x z-1^ ŵaŶtieŶe all’iŶteƌŶo il valoƌe suĐĐessivo di x ;ovveƌo x;;k+1Ϳ ΔtͿͿͿ fiŶĐhğ non arriva un altro clock. Essi sono alla base dei processori più complessi per memoria, generazione analitica e calcolo della variazione per ogni t.
  • Digital simulation: (e.g.: accumulator register) Esempio la banca di memoria che mantiene il valore della x a Ƌuell’istaŶte.
  • Numerical integration: (either fixed or varying step) Tempo discrete I metodi numerici adottano la discretizzazione temporale in modo da dare la migliore prestazione, cioè costo computazionale più basso e maggiore precisione. ▪ Approssimo la funzione con la somma di rettangolini di aŵpiezza Δt e faĐĐio teŶdeƌe Δt a zeƌo. ▪ Prendo due punti, li unisco e faĐĐio uŶ’iŶteƌpolazioŶe liŶeaƌe appƌossiŵaŶdo la Đuƌva ĐoŶ trapezi.

Se la Đuƌva ğ piatta ;fuŶzioŶe ĐostaŶteͿ ŶoŶ Đaŵďia l’appƌossiŵazioŶe da ƌettaŶgolo a tƌapezio. Se la dinamica cambia molto velocemente uso aree molto piccole così da essere preciso.

IMPULSE RESPONSE AND TRANSFER FUNCTION: LINEAR, TIME INVARIANT SYSTEMS (LTI)

Time Invariant Systems → paƌaŵeteƌs aƌe ĐoŶstaŶt. There is no dependency on time.

o MOVEMENT (time course) is the linear superposition of free movement and forced movement: y(t) = yfree(t) + yforced(t) yfree(t) dipende dalle condizioni iniziali yforced(t) dipende dalle forze che agiscono sul sistema. SISO è stendibile a MIMO.

o FREE MOVEMENT : given x(0) ; with u(t) = 0 yfree(t) = c’eA t^ x(0) La diŶaŵiĐa ğ data dall’espoŶeŶziale della ŵatƌiĐe A , c’ (cT) dà l’espoŶeŶziale sĐalaƌe degli autovalori. Gli esponenziali sono complessi costituiti da una parte reale e una immaginaria degli autovalori.

o FORCED MOVEMENT : given u(t) with x(0) = 0

ݕሺݐሻ = ∫ 0 ∞ ℎሺ𝜏ሻ ݑሺ ݐ− 𝜏ሻ݀𝜏 ğ pƌodotto di uŶa ĐoŶvoluzioŶe tƌa iŶput e ƌisposta all’iŵpulso. È utile passare dal dominio del tempo in cui ho un prodotto di convoluzione (operazione scomoda) al dominio di Laplace in cui ho un semplice prodotto. I poli e gli zeri sono invariati: data una FDT posso aveƌe ∞ ƌappƌeseŶtazioŶi eƋuivaleŶti del sisteŵa.

Dunque il movimento è rappresentato da y(t) = yfree(t) + yforced(t) e quindi

ܿ = ሻݐሺݕ 𝑇^ ݁ 𝐴𝑡^ ሺ0ሻݔ̅̅̅̅̅̅ + ∫ ℎሺ𝜏ሻ ݑሺ ݐ− 𝜏ሻ݀𝜏

∞

0 o IMPULSE RESPONSE: h(t) = c’ eA t^ b , dove b dipeŶde dal valoƌe dell’iŶgƌesso Laplace transform of impulse response o TRANSFER FUNCTION: H(s) = c’ ; s I - A)-1^ b , non tiene conto del movimento libero, quindi ho solo la forma del transitorio. H(s) è una funzione scalare e razionale, c’ è una riga, s I - A è una matrice nxn e b è nx1. H(s) con n poli e m zeri: ▪ Se n poli: Đoŵpleta osseƌvaďilità dell’output, Đoŵpleta ĐoŶtƌollaďilità dell’iŶput ▪ Se n = m: relazione diretta tra input e output  sistema improprio ▪ Se l’oƌdiŶe diŵiŶuisĐe peƌĐhĠ ƋualĐhe zeƌo si semplifica con qualche polo, quindi il numero di poli diminuisce rispetto al numero di poli di A, è qualcosa di patologico che dipende dalla forma di input e di output.