• Aucun résultat trouvé

A METHOD FOR THE ANALYSIS OF THE MDTF DATA USING NEURAL NETWORKS

N/A
N/A
Protected

Academic year: 2022

Partager "A METHOD FOR THE ANALYSIS OF THE MDTF DATA USING NEURAL NETWORKS"

Copied!
148
0
0

Texte intégral

(1)
(2)
(3)
(4)
(5)

INFORMATION TO USERS

ThisIIllIIIUIaipthas - . reproducedfnlm themiaofilmmaster. UMIfilms thel8>ltdinIdIy fnlm theoriginalorClOPYsullnilled. Thus,some thesisand disaerlationcopies antintypewril8rface,willeOChersmaybefromanytypeof computerplinIer.

ThequallIy01thisreprocIuclIonIsdIpendentupon the . . .tty 01the

copy...

Brollenorindistinctprint,coloredorpoorquaIiIyillustrations andphcCognIphs,printbIeedtIwough,substandard margins, and improper alignmentcan advetsety affectreproduction.

Inthe unlikely _ lhalthe author didnotsendUMI acarnpletemanuscript and . . . .antmissingpages,thesewillbenoted. Also, Wunauthorized copyrightma1IIriaI hadtobe1lllllOVed,anotewillindicatethedeletion.

Ovnize .-ills (e,g., maps, drawings, cIIarls) ant reproduced by sdoningthe original,begirrilgattheupperIeft-llandCDfI8'andcontinuing Inlm leftIII rightinequalSKtionswitIIsmaIoverlaps,

PIlolograpIlaincluded In the original manuscripthave been reproduced -0lII8pIicaIIy in this ClOPY. Highet quaIily6" x9" black and while pIlcqnIpIIicprintsant . . . .lor II'tYpIlolographsorIuslnIlionsappllIling inthiscopyloranacIcliliaMIctwge.Ccntac:tUMldiredlyIIIorder.

Proa.-InIarmetionand Learning 300NorIIleellRoad,Nrn Arbor,Ml 4810&-1346 USA

llOlI-521~

UMf

(6)

A METHOD FOR THE ANALYSIS OF THE MDTF DATA USING NEURAL NETWORKS

By

© Ibrahim Mohamed, B.EDI!.

A thesis submilted totheSchool of Graduate Studies in panial fulfillment oftherequirements for thedegreeof Master of Engineering

Facully of Engineering and Applied Science Memorial University of Newfoundland

May2000

St. John's Newfoundland Canada

(7)

ABSTRACT

Numerical simulation techniques are widely used to investigate the behavior of submarines during the design stage. The accuracy of these techniques depend upon the accurate detennination of the hydrodynamic coefficients for the model.

The Marine Dynamic Test Facility(MOTF)is a new-six-degree-of-freedom foroed motion testing rig. The rig has the ability to test underwater vehicles in a manner that makes it possible to determine the hydrodynamic coefficients in the equations of motion.

Multi-variant linear regression is used to obtainthehydrodynamic coefficients from the experimental data.

In this study a neural nerwork technique to identify the hydrodynamic model from experimentaldatais investigated. The technique uses the model trajectory (motion history) to predict the hydrodynamic coefficients of the model. A single MDTF generated maneuver was usedtotrainthe nerwork. The trained nerworkwasthen tested using different maneuvers and the nerwork predictionswerecompared to theaetuaIMDTF measured foroes and moments.

Results obtained fromtheneural network technique indicate that the technique can be used topredictthehydrodynamic model ofunderwalervehicles. The use of this technique can dramatically cuttherunningcoststoconduct experiments on new models.

(8)

ACKNOWLEDGMENTS

I would like to express my endlessandinexpressible gratitude to my supervisor Dr. M.R.

Haddam for the financial, moral, academic suppon,andencouragement. I would also like to express my gratitudeandappreciation to the members of the advisory commia..: Dr.

C. D. Williams andMr.M. Mackay for their help and guidance during this study.

I am grateful to my course instructo'" Dr.L.Lye. Dr.l.Jordaan, Dr. A. Swamidas. Dr.

M. Hinchey. and Dr. Haddara for their dedicationandacademic proficiency.

I would liketothank thestaffof the Institute for Marine Dynamics especially Spence Butt, Kent Brea, Bud Mesh. and Caroline Muselet.

Finally I would like to express my gratitude to my fellow graduate studenlSatMemorial Unive",ity of Newfoundland Faculty of Engineering for their supportand

enc:ouragemenL

(9)

CONTENTS

Abstract _

Conlen"

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _:iJi

List or Figures vii

I. Introduction and Uleralure Survey . ._._.__ __._._ _. .1

1.1. THEORETICALAPPROAOI 2

1.2. ExPERlMEmAL METHODS 3

1.3. PARAMElllIC !D£NnFJCAnON APPROACH 3

1.4. SCOPE ANDOBJECTIVES 5

1.5. METHODOLOGY 5

1.6. ThEsiS0lm.INE 6

%. NeunINetworIu 7

2.1. BIOLOGICAL NEtiRAl.SYSTEMS 7

2.2. ARnFIOA\.NEtiRAl. NElWORICS 8

2.3. ANN SQuASIIINGFuNcnONS 9

2.3.1. SnJ'FuNcnONS: 9

2.3.2. SIGMOlDf\JNcnoNS: 10

iii

(10)

2.3.3. GAUSSIAN FU>lcnONS II 2.4. TYPES OF NEURAL NETWORKS: ••...••••..•.•...•...•...•...•••.•••...•...•.•...••••.•....12 2.4.1. LAYERED NETWORK••.•..•••••••....•••....•.••.•.••.•.•.•••••.•••••••••••••••••••••••..••..•••••..•....•....13 2.4.2. ACYCUCNETWORK ...•... 13

2.4.3. FEEoFORWARDNETWORKS 14

2.5. BACKPROPAGAYlON'TRAININGALGORrlllM 15

2.6. MOMENTUM UPDAlE 18

3. Mathematicalrormulation_ __• •__• • __ 20

3.1. EQUAYlONSOFMonON 20

3.2. NEURAl. NETWORK MODEL 22

3.3. 1.lNEAR REGRESSION MODEL 24

3.3.1. UNCOUPLEDIlEAVEMODEl. 25

3.3.2. UNCOUPLEDPITcHMODEL 25

3.3.3. COUPLEDIlEAVEANDPITcHMODEL 26

4. Fresh Water Towing Tank Experiments _.28

4.1. MAllINE DYNAMIC TESTFACII.rrY(MD11') 28

4.1.1. MDTFSEIllP 28

4.1.2. ExPE1UMENTALSETIJP 33

4.2. MANEI1VERS 36

4.2.1. C!RctJLAR.AR.cMANEI1VERS 37

4.2.2. 1.lNEARCHIRP MANEI1VERS 37

4.2.3. PuREHARMoNIcs 40

4.2.4. MULYl·DEQREE.(JF.FREEDOMMANE\NEIl.S 40

jv

(11)

6. Conclusions

4.3. DATA ACQUlSrnON .•...•...•.. 42

4.3.1. TIME TARE ANDCOORDINATES TRANSFORMATION 42 4.4. Fn.TERlNG.•..••.•.••••.•.••••...••...•••.•...•.••..•...•..•••••...•..•••..••...••••••.••.•••.•43

4.4.1. WHAT IS AWAVELET 7...•...••... 44

4.4.2. Fn.TERlNG PROCEDURE .••••...•.••.••...•....•••....•.•••••...•.••...•.•.•••••••.•••.•...45

4.5. NEIJIW. NETWORK APPROACH••••••••.••••••••••••.••.••••••.••••.•••••••••••••.•...••...•.••...•..•••••45

5. ResultsandDiscussioD 47 5.1.1. UNCOUPLEDHEAVEMonON GENERATION 47 5.1.2. UNCOUPLEDPITCHMonON GENERATION 51 5.1.3. COUPLED !lEAVE AND PITCHMOTION 54 5.1.4. EFFEcrsoFRANOOMNolSE ...•...•...•...•.•...••...•...55

5.2. REsULTS FROM DIGITALLY GENEIlAlm DATA ...•... 55

5.3. REsULTS FROM ExPEiuMENrAL DATA...•...•••...•... 62

5.4. DISClJSSION ...•...•.••...•..•...••...•...•.•... 85

._._91 7. RecoIllllllllCla,utlons.... 93

Relennas 94

Appendix A NwnerIca1ResuJts . 97

AppendixB Visual BuicI'roInm"Simulallon" 101

AppendixCListol1tuDs I07

(12)

Appendix D Visual Basic

Protram

"PropShop" _ •• •_ _.... .116

Appendix E MatLabF'dlerincSCripl _ _ 121

.j

(13)

LIST OF FIGURES

Figu", 2.1 Biological n.uron 8

Figure 2.2 Step Function 10

Figure 2.3 Sigmoid Function II

Figu", 2.4 B.U shape function 12

Figure 2.5 Lay.",d n.ural network 13

Figure 2.6 Acyclic neural network 14

Figure 2.7 F••dforward neural network 15

Figu", 3.1 Model coordinates sysrem 21

Figure 3.2 N.ural network SUIICture 23

Figure 4.1 MDTFGeneral Arrangement 30

Figure 4.3 MDTF Sub-Carriag•... 31

Figure 4.5 Lateral Motor Arrang.ment 31

Figure 4.7 Venica! MOlOr Arrangemenl ...•..•... 32

Figure 4.9 Forward Sttul Universal Joinl 32

Figure 4.11 DREA Standard submarine model dimensions 33

Figure 4.7 Sidevi.wof the MDTFsetup ...•...•...•...••••...•...34 Figure 4.14 Topviewof the MDTFsetup ...•..•.•..•.•...••••...•...•••...•...•..35 Figure 4.9An:maneuver tnIjeclory inthelateral plane r'=0.2 38 Figure 4.11Pun:heave chirp. frequencies 0.1 toO.SHz 39

(14)

Figure 4.12 Model configuralions 41 Figure 5.1 Hydrodynamic Force vs. Acceleration al 0.5Hzuncoupled heave 48 Figure 5.2 Hydrodynamic force vs. velocity at 0.5Hzuncoupled heave .48 Figure 5.3 Hydrodynamic force vs. displacementat0.5Hzuncoupled heave 49 Figure 5.4 Hydrodynamic force vs. acceleration at 1.5Hzuncoupled heave 49 Figure 5.5 Hydrodynamic force vs. velocityat1.5 Hzuncoupled heave 50 Figure 5.6 Hydrodynamic force vs. displacementat1.5Hzuncoupled heave 50 Figure 5.7 Pitch moment vs. accelerationat0.5Hzuncoupled pitch 51 Figure 5.8 Pitch momenl vs. velocily at 0.5Hzuncoupled pitch 52 Figure 5.9 Pitch moment vs. displacementat0.5Hzuncoupled pitch 52 Figure 5.10 Pitch moment vs. accelerationat1.5Hzuncoupled pitch 53 Figure 5.11 Pilch momenl vs. velocity al1.5 Hzuncoupled pitch ...•... 53 Figure 5.12 Pilch momen' vs. displacement at 1.5Hzuncoupled pitch 54 Figure 5.13 Comparison between leastsquareestimation and neural net prediction

(uncoupled heave at 0.6Hz) 56

Figure 5.14 Comparison between leastsqUaleestimate and neural net predic'ion

(uncoupled heaveat1.5Hz) 57

Figure 5.15 Plot of actual force vs. neuralpredictedforce (uncoupled heaveat0.7Hz).57 Figure 5.16 Plot of actual force vs. leastsquaresestimated force (uncoupled heave a' 0.7

Hz) 58

Figure 5.17 Comparison between leastsquareestimationandneural network prediction

(uncoupled pitchat0.7Hz) 58

viii

(15)

Figure 5.18 Comparison between least square estimation and neural network. prediction

(uncoupled pilCh at 1.2 Hz) 59

Figure 5.19 Plot of actual pilChing moment vs. neural predicted pilCh moment (uncoupled

pilCh at 0.7 Hz) 59

Figure 5.20 Plot of actual pilChing moment vs. least squares estimated pitch moment

(uncoupled pilCh at 0.7 Hz) 60

Figure 5.21 Comparison between least squares estimation and neural network prediction

(coupled heave-pilCh at 0.5 Hz) 60

Figure 5.22 Comparison between least squares estimation and neural nelwork prediction

(coupled heave-pitch at 0.5 Hz) 61

Figure 5.23 Comparison between leasl squares estimate and neural prediction (coupled

heave and pilChat0.4 Hz with noise) 61

Figure 5.24 Comparison between least squares estimate and neural prediction (coupled

heave and pitchat0.4 Hz with ooise) 62

Figure 5.25 Modular neural network architeelure 64

Figure 5.26 PlO! of sway force vs. training (horizontal cireular arc r' = 0.2) 65 Figure 5.27 PlO! of yaw moment vs. training (horizontal cin:ular arc r' = 0.2) 65 Figure 5.28 Plot of 1011 moment vs. training (horizontal circular arc r' = 0.2) 66 Figure 5.29 PlO! of pilCh moment vs. training (horizontal cireular arc r' =0.2) 66 Figure 5.30 P10! of heave force vs. training (horizontal cireular arc r' =0.2) 67 Figure 5.31 Neural network training of the sway force (horizontal circular arc r' =0.2) 67 Figure 5.32 Neural network training of the yaw moment (horizontal circular arc r' = 0.2)

... 68

(16)

Figure 5.33 Neural network training of

me

roll moment (horizontal circulararc:r'

=

0.2) ... 68 Figure 5.34 Neural network training of the pitch moment (horizontal circular arc r'=0.2) ... 69 Figure 5.35 Neural network training oftheheave force (horizontal circular arcr'=0.2)69 Figure 5.36 Plot of sway force vs. prediction (horizontal circular arc r' = 0.1) 70 Figure 5.37 PIOI of yaw moment vs. prediction (horizontal circular arc r' = 0.1) 70 Figure 5.38 PIOI of roll moment vs. prediction (horizontal circular arc r' = 0.1) 71 Figure 5.39 Plot of pitch moment vs. prediction (horizontal circular arc r'=0.1) 71 Figure 5.40 Plot of heave force vs. prediction (horizontal circular arc r' = 0.1) 72 Figure 5.41 Neural network prediction of the sway force (horizontal circular arc r'=0.1)

... 72 Figure 5.42 Neural netWork prediction oftheyaw moment (horizontal circular arc r'=

0.1) 73

Figure 5.43 Neural network prediction oftheroll moment (horizontal circular arc r'=

0.1) 73

Figure 5.44 Neural netWork prediction of the pitch moment (horizontal circular arc r' =

0.1) 74

Figu.. 5.45 Neural network prediction oftheheave force (horizontal circular arc r' = 0.1) ... 74 Figure 5.46 Plot of sway force vs. training (swaychiJpF= 0.1 to 0.3Hz,V= SOO mmls)

... 75

(17)

Figure 5.47 Plot of yaw momenl vs. training (sway chirpF=0.110 0.3 Hz. v= 500 mm1s) ... 75 Figure 5.48 Plot of roll moment vs. training (sway chirp F= 0.1 100.3 Hz. V= 500 mm1s)

... 76 Figure 5.49 Plot of pilch moment vs. training (sway chirp F= 0.110 0.3 Hz. V= 500

mm1s) 16

Figure 5.50 Plot of heave force vs. training (sway chirp F= 0.1 to 0.3 Hz. V= 500 mm1s)

...: 17

Figure 5.5 1 Neural network training ofthesway force (sway chirp F= 0.1 100.3 Hz. V=

500 mm1s) 17

Figure 5.52 Neural network training oftheyaw momenl (sway chirpF=0.110 0.3 Hz.

V= 500 mmls) 18

Figure 5.53 Neural network training of the roll mornenl (sway chirp F= 0.1 100.3 Hz. V=

500 mm1s) 18

Figure 5.54 Neural ..Iwork training ofthepilch moment (sway chirp F= 0.1 to 0.3Hz.

V= 500 mm1s) 19

Figure 5.55 Neural network training oftheheave force (sway chirpF=0.110 0.3Hz.V=

500 mm1s) 19

Figure 5.56 Plot of sway force vs. prediction (sway chirpF=0.110 0.3 Hz, V= 250 mm1s) ...80 Figure 5.57 Plot of yaw momenl vs. prediction (sway chirp F=O.lto 0.3 Hz, V= 250

mmis) 80

(18)

Figure 5.58 Pial of roll moment vs. prediction (sway chirp F= 0.110 0.3Hz.v= 250 mmls) .•...•...•...•...81 Figure 5.59 Plot of pitch moment vs. prediction {sway chirp F= O.lto 0.3Hz.v= 250

mmls) ...•...••...81 Figure 5.60 Plot of heave forte vs. prediction (sway chirpF=0.1 to 0.3HzV= 250 mmls) ... 82 Figure 5.61 Neural network prediction ofthesway force (sway chirp F= 0.1 to 0.3HzV=

250mmls) 82

Figure 5.62 Neural ne\Wotk prediction of the yaw moment {sway chirpF=0.1 to 0.3Hz

V= 250 mmls) 83

Figure 5.63 Neural network prediction of the roll moment (sway chirp F= 0.1 to 0.3Hz

V= 250mmls) 83

Figure 5.64 Neural network prediclion of the pilch moment (sway chirp F= 0.1 to 0.3Hz

V= 250mmls) 84

Figure 5.65 Neural network prediction of the heave forte (sway chirp F= 0.1 to 0.3Hz

V= 250mmls) 84

Figure 5. 66 Comparison between neural network trainingandleast squares estimate of

thesway forte (horizontal circular arc r' = 0.2) 85

Figure 5. 67 Comparison betweenneuralnetworkpredictionandleast squaresestimateof

the sway force (horizontal circular arc r' = 0.1) 85

Figure 5. 68 Comparison between neural network trairting and leasl squares estimate of

theyaw moment (horizontal cin:ular arc r' = 0.2) 86

(19)

Figure S. 69 Comparison between neur.ll network prediction and least squares estimate of

theyaw moment (horizontal circular arc r'

=

0.1) 86

Figure 5. 70 Comparison betweennewaInetwork training and least squares estimate of the roll moment (horizontal circular arc r'=0.2) 87 Figure 5. 71 Comparison between neural network predictionandleast squares estimate of

the roll moment (horizontal circular arc r' =0.1) 87

Figure 5. 72 Comparison between neural network. training and least squares estimale of thepitch moment (horizontal circular arc r'=0.2) 88 Figure 5. 73 Comparison between neural network prediction and leasl squares eslimate of the pitch moment (horizontal circular arcr'=0.1) 88

(20)

1. INTRODUCTION AND LITERATURE SURVEY

The motion of a submarine is a very complicated processthaIinvolves many factors such as the submarine shape .nd depth of operation. In the early 1940's naval researchers needed to predict the motion of naval submarines in the design stage10evaluate the vehicle's performance and ability to cany out a set ofprescribedmaneuvers. Numerical simulation techniques wm widely used during that time.

Due to the development in naval submarine. design, the shape of the vehicle became no longer standard. in additiontheIypeandshape of the hydroplanesthaIconlIOl the motion of the boat changed dramatically from one type10anolher. These changes inllOduced new challenges10the process of estimating the hydrodynamic coefficients.

Cunendy there arethreemajor approachestoinvestigare the motion of • submarine.

These are the theoretical approach, the experimental approach,and the parametric identification approach. Parametric identificationmethodsprovide new toolsthaIhave beenused ...endy to solve a numberofship motion problems.IndOs research anewtool for predictingthesubmarine motion.basedon a parametric identification lechnique, is presented.

(21)

1.1. THEORETICAL ApPROACH.

Numerous studies to calculale the hydrodynamic coefficients of submarines can be found in the literature. Bohlmann (1990) utilized tbe three dimensional flow theory to calculale the hydrodynamic coefficients of a submarine in an six degrees of freedom. The study solved the po.ential flow problem using a singularity distributionandwas nOl limited to slender bodies. Wall (1988) developed an analytical method to estimale the value of the added mass coefficients of the submarine. The method calculares the added mass of the submarine by dividing the submarine into several 8eometrical components. e.g. sail, toil.

fins.... elC. The added mass was calculated for each component by calculating the added mass for each representative ellipsoid.

Mackay (1988) developed asemi~mpiricalmethod for calculating the out-of-plane heave fo",e and pitch mOment for a submarine. The method is based on polentiaJ flow theory and a first order panel method.Themethod over-predicts the out-of-plane component due to the absence of the modeling of the cross flow separation in the after-body of the submarine. Mackay and Conway (1990) modeled the cross flow separation by introducing a single doublet sheet along an experimentally delenllined separation line.

Papoulias and Mckinley (1994) studied the stability of a submarine during its sleady stale vertical ascent. They considered afreepositive ascent case to investigale theresponse with respecttothestetnand the bow plane deflections, excess buoyancy,andre\alive position betweenthecenter of gravity and the center of buoyancy. A nonlinear study of thedynamic stability of a submarine in a dive maneuver wasalsopresented by Papou\ias and Papadimitriou (1995). The """"""hers presented a frameworktocak:ularc the critical

(22)

speed of the vehicle in tenns of its metacentricheigh~the longitudinal separation of the center of gravity and center of buoyancy.andthe dive plane angle.

1.2. Experimental Methods

Captive model tests areusedto determinethecoefficients in the equations of motion ofa model. The use of the rotating arm and planar motion mechanism (PMM) allowed the incorporation of some nonlinear tenns and time histories effects, see Feldman (1995) and Kalske (1992). Multi-degree-of·freedom test rigs are being used at present to determine these coefficients. see WiUiams et al.(1m).Experimental methods are expensive to use and their results suffer from scale effects.

Analternative tothecaptive model tests is the wind nmnel test. Experiments on a deeply submerged submarine model can be conducted. The advantage of this procedure over conventional captive model tests islhatinthewind nmneltheduration ofthetestcan be extended to a much longer time than inthecase of towingtankexperiments. A wind nmnel experiment canalsobeusedfor flow visualizationandfor studying the effects of propulsion on the submarine model hydrodynamics, see Wan et al. (1993).

1.3. Parametric Identification Approach

Parametric identification techniques provide another way for determining the hydrodynamic model ofthesubmarine. Parametric identification approaches use the relationbetweentheinputandtheoutput toestimatethe hydrodynamic forcesand

(23)

moments while in the experimental approach these forcesandmoments are measured dire<:tly. The method assumes a certainstructurefor the mathematical model. The coefficients of the mathematical model are then estimated sucb that the model produces an output whicb matcbes the measuredOUtpULArtificialneuralnetworks (ANN) bave been used for many surface sbips as a parametric identifier of the vebicle's bydrodynamics.

Neural networks bave been sbown to yield robust models for ship motions. Haddara (1995)used the technique to analyze the rolling motion of a ship atsea.Healsoused neural networks to characterizethe ship coupled beave and pitcb motions, see Haddara and Xu (1999), and to analyze thefreeroll decay curve, see Haddara and Hinchey (1995).

Hincbey alsousedthistechnique to fit ship resistance data for an R-Class icebreaker ship model, see Hincbey (1994), and to pmlict the loads on sub-sea robots, Rivera and Hincbey (1999). Haddam and Wang (1996)used this technique to identify the coupled sway and yaw motion for a ship undergoing a series of standard maneuvers. Lainiotis and Plataniotis (1994)used an adaptive neural network to predict the cumnt as well as future ship position as a space vector.

Multi-linear regression may not yield accurateestimates. The aecuracy of the technique decreases as the number of variables in... Neural networks bave been sbown to yield a robust resuJt regardless of the number of variables inthe functional "'lation.

However the classical division of force into components whicb are functions of added massesanddamping coefficients is usuallylost.

(24)

1.4. Scope and Objectives.

The objective of this study wastodevelop a parametric identification 1001 for predicting the hydrodynamic forces aCling on a submarine model using the model motion history.

The proposed tool uses a neural network. rechnique to identify the hydrodynamic forces and moments. DolO oblained from mulli degree-of·freedom tests were used totr:Iinthe network..

The fully trained network. was then used to generale more maneuvers with a limited compulOlionai demand. This will reducethe cost associated with experimental testing of submarine models since only a limited number of maneuvers have to be actually performed to obtain the full hydrodynamic model ofthesubmarine.

1.5. Methodology

A neural network. model was developed. Digitally generated dolO and experimental dolO were used totr:Iinand validate the model. The motion of a submarine undergoing a coupled beave and pilch sinusoidal motionwasnumerically generated at different frequencies using a Runge·KuRa algorithm. Experimental dolO were oblained from the Marine Dynamic Test Facility (MOTF). The maneuvers consideredwerehorizontal circular arcs, and swaychirpmaneuvers. A t!Jree..layer feedforward backpropagation neural network. was used for system identification.Thenetwork. prediction was then comparedtoa multiplelinearregressionestimateof the model hydrodynamic forces and moments.

(25)

1.6.

THESIS OunlNE

Chapler 2 gives background information about neural networks and their archi,ectun:; it also discusses some of the training algorithms. ChapleT 3 describes the mathematical formulation of the equations of motions. the neural network algorithm. and the multivariate linear n:gn:ssion. Chapler 4describestbe experimental setup and the neural ne'work approach used. Results obtained using experimental data as well as digitally generated data are included in Chap,er5 while ChapleT 6 outlines the conclusions. Some recommendations for future work are stated in chapler 7.

(26)

2. NEURAL NETWORKS

Tasks that involve pattem recognition or intelligence are very difficult to automale; such tasks are performed easily by animals in their daily activities. Understanding how the biological neural system works allowedrese:m:hersto develop anificial systems thaI mimic the biological brain in performing a variety of computalions and intelligent tasks.

2.1. BIOLOGICAL NEURAL SYSTEMS

A biological neural syslem consists of a number of neurons; each neuron is composed of a cell body, a lubular axon, and a number of dendrites, see Figure 2. J. Datapropagates from the dendrites of one neuron to the Olher through a gap synapse.Themagnitude of thesignal received by a neuron depends upon the SllCIlgt/l -efficiency" of the synaptic connection between that neuron and the one that is sending the signal. A neuron will fire a signal if its excitation exceeds a critical amount, called the threshold. It will then send that signal along its axon. A signalpropagatesdownthe axonandreachesthe synapses, sending signals of various strengths 10 Olher neurons.

(27)

-

Figure 2.1 Biological neuron 2.2. ARTIFICIAL NEURAL NETWORKS

An Artificial Neural Network(ANN)consists of a number of processing elements (nod..)equivalent to the neurons in biological SYSlCms. Synapses"", modeled by links between these nodes while the synaplic efficiencies "'" replaced by weights. Nodesatthe same level fonn a layer. Each ANN consists of an inpullayer, output layer, and a number of hidden layers. Inputs to eachnode "'"sUlIllllCdupand the node then fires an outpUt according to the assigned activation function.

All ANN models proposed so far "'" based on the following assumptions I.Theposition of thenodeof the incoming connection is imolcvanl.

2. Eachnodehas a single OUtpul value, which is <IiS1ributed to other nodes vill connections im:spec1ive of their position.

3. All inputs to the same level comeatthe same time or remain active long enough for computations10occur, Mcluotra el al(1997).

(28)

2.3. ANN

SQUASHING FUNCTIONS

Squashing functions can be classified into differentiable and non-differentiable functions.

Differentiableandnon-<lifferentiable functions can be defined accordingtothefunction shape. A differentiable function has a smoolh shape and it is needed forsomeadaptive learning algorithms. A non-<lifferentiable, discontinuous, function gives a true binary OUtput Discontinuous functionscanbeusedin classification netWorks.

2.3.1.

STEP FUNCTIONS:

Aslep function is defined as f(ntr)

={:

if

ntt <c}

if rut'

>c 2.1

This function is easy to implement The net threshold is represented by c, see Figure 2.2, and the function has only two slates ON if net> candOFF otherwise.

The step function is used in class identification where the inpul belongs to a cenain class if its value isgreaterthan a cenain value.

(29)

...

Figu", 2.2 Step Function

2.3.2.

SIGMOID FUNCTIONS:

This is the IllOSl cOlMlOlllyusedfunction. also calledtheS shaped function; the activation ofthenode is as follows:

1 f(net)

=

Z

+

1 -o("'l+b

+e 2.3

A typical sigmoid function is shown in Fig"", 2.3. The advantage of such a function is its smoothness.

10

(30)

···_··_···_···-r-··_ _.- - .._._ _ .

,

I ~

Fig= 2.1 Sigmoid Function

2.3.3. GAUSSIAN FUNCTIONS.

Another continuous function that isused inthe ANN is known as the bell shaped function, see Figure 2.2

I If.'-')' f(net)= ~

e-

R-;-

.;2tru

nil

2.4

Such a functionrequiresprior knowledge of certain S1atistical values such as the mean andthevariance of the input, which imposes somelimitson its application.Thebell shaped function can beusedin class identification depending on how close the input is to the mean value lL

II

(31)

Figure 2.2 Bellshapedfunction

2.4. Types of Neural Networks:

A single node neural network is insufficient for most practical problems and • multi-node network isnormally used. The waythosenodesareconnectedtoeacbother determines how the computationaltasksare performed by the network. Neural networks are classified according to their architecruraI design. This section discusses some of the most popular designs.

12

(32)

2.4.1.

LAYERED NETWORK

Thistypeof ANN, also called ,.cwrenl neural network, is panitioned into layers. The,.

is no connection between layer k tojif k >j,see Figure 2.3; connections between nodes in the same layer exist except for the input layer.

,.,,,,

.... - "" ...

Figure2.3Layered neural network

2.4.2. Acycuc

NETWORK

\

\

Thisisa subclass ofthe layered network with no intra-layer connections i.e. no connectionsbctwccnnodesinthesame layer.Thesearesimpler nelSthantherecwrenl ones with less computationaldemands,which make themeasytoimplcmcnL Figure2.4 showsanacyclicncuralnetwork.

I]

(33)

Lay.rO Inputlaytr

2.4.3.

HiddenLaym Figure 2.4 Acyclic neural network

FEEDFORWARD NETWORKS

Again this is another subclass of layered networks, where the onlyCOMCCtiOnsexisl betweenlayerjand kifk= j+l. These are the most in-use networksandthey are described by the number of nodesineach layer. For example. Figure 2.5 shows a 3.2.3.2 feedforward net In general feedforward networks have one or two hidden layers.

Fromthispoint forward only feedforward neural networks with one hidden layer will be considered.

14

(34)

Lay., 0

lnputlay.r Hidd.nlay."

Figure 25 Feedforward neural network

2.5. Backpropagation Training Algorithm

The objective of a supervised training algorithm such as the backpropagation algorithm is to minimize the mean square error between the desired output andthe network one. To elaborate on this one can considerthe framework proposed by Mehrotta el al. (1997).

The inpul pattern tothe network is P. For each inpul veclorx,thereisa desired OUtpUI 2.5 Onewould expecl some error between the desired OUtpUI and the network outpUL The algorithm objectiveistomanipulatethe weights so that this error would be minimal. If the nerwork output is:

2.6 ThentheoetworIcerror is

IS

(35)

,

Error =

L

Err(0" d'l

,-,

2.7

The functionErr(..,dol shouldbea oonnegative function. One way of computing this function is to express

This function is a differentiable funetion. Moreover it is easy to apply to the backpropagation algorithm since the derivative of the resulting quadratic function is linear and easy to compute.

To discuss the backpropagation in depth one can assume the following case for a three layer network.

Each node receives an input vectorof:CPJwhere 'p' represents the pattern number while 'i'represents thejibnode in the layer.

The input tothe/IInode in the hidden layer is netj=

L;..

oQ)i.ix,.I

The outputofthej~nodeXPj=1)(netj),where

a

isa sigmoid function.

The input tothek.t11node in the output layer is netIt=

LJ""•.

J%,.)

The output of thek~node in the output layerisOp~=1)(net,).

One waytominimize the MeanSqWIRError (MSE) is to apply the gradient descent method. Since the net output depends on the net~ights,the MSEisalso a function of the weightsw.According to the gradient descent the direction of the weights changeis the same as -

ao/aw'

see Widrow and Lehr (1990). Following this scenario the weight change canbe describedas follows

16

(36)

Sin<:e the change in the weights =ults in changing the net output, one can write oE oE fJo. onel.

aah,j

=

00"antIiooJt,j Equation 2.10 can be simplified into

Now let us consider the weights between the input and hidden layers.

~

=

t

{-2(d.-oo)c'(net.ja)'.iC'(net i)Xi}

aOJi.j 1.1

2.8 2.9

2.10

2.11

2.12

2.13 The change of weight is then calculated fortheweight betweentheoutput and hiddeo layer using the actual error while the change of weight for the lower level is calculated using the weighted sum of errors coming tothehiddeo node fromtheoutput node. The error at anodeiscalculated inthedirection opposite tothepropagation ofthenode ou!pUL Applying thisanalogy to equations 2.11 and 2.13 one can writethechange of weight for networktrainingusingthep" pattern as:

AaJt.i

= T'/o".u,./

ACtJi./

=

T'/1Jp./X,.i

2.14 2.15

17

(37)

where

0,.'=(d,.'-0,.,)· 0,.• ·(1-0,.•) and

"',1=L6',llfA,j·X,,/·(l-X',I)

2.16

2.17 Training using equation 2.14 and 2.15 results inthemanipulation ofthenetwork weights to achieve the optimum weights that result in the minimum error. Weights canbeupdated after each pattern (training per pattern) or after all the training patterns pass through the net (training per epoch). The criteria for terminatingthetrainingandthe choice ofthe suilable training rate"~"depends ontheuser's experience.

2.6. Momentum Update

Backpropagation leadstheneural network errortoa certain minimum. There is a chance that this minimum is a local minimum differentthanthe global minimum. The network then will stick to this local condition and the algorithm will prevent the error from decreasing further. One can prevent thisby forcingthealgorithm to updatetheweights depending on the average gradient oftheMSE of asmaJlregion ratherthanata certain point. Averaging

Co/ aw

in a small region allowsthealgorithmtoupdatetheweights in thegeneral direction avoiding local minima.

Averages canbe very expensive in calculation. Rumelhart et al. (19g6) suggested a shortcut using a momentum term as follows:

2.18

II

(38)

The tennais a momentum tenn yetitsoptimum value is notknO\\u.With the addition of this term the weight change is influenced by the weight change from the previous step as well asthechange suggested by the gradient descent

The effect of the use of a momentum term in a weight update depends upon the value chosen fora.A well-chosen value can significantly reducethetime needed for training the network. A value of 0 implies that the past step does not affect the current update while a value closer to I suggests that the current error does not affect the training. Since the weigh! update in this algorithm depends upon the direction of the previous weight update. the direction chosen in an early stage of the training procedure can strongly bias future weight updates and can restrictthenetwork to a certain region preventing the algorithm from exploring other regions.

19

(39)

3. MATHEMATICAL FORMULATION

3.1. Equations of Motion

The equations describing submarine motion can be obtained using Newton's second law.

MX=F

J.IA

where M is the mass matrix and X and F are the displacement and the fOrte veelors respectively.

One can expand on equation J.lA to describe the motion ofan underwater vehicle as:

(I + Ali

=

F(x)+X(x)+S(x) J.lB

whereJ.is the extended state vector containing the vehicle's translationandrotational velocities, Euler angle displacements,andcontrol deflections, see Figure J.l. I is a matrix representing the inenial properties of the vehicle, A is theadded mass matrix, F is the hydrodynamic fotee vector, X represents the forte veetor arising fromaxisrotation, buoyancy, gravity, and, propulsion,andS represents other external forte veelon.

(40)

For small amplitude motion of a submarine model attached to a forced motion testing rig withpon • slarboard~etry,andusing the coordinate system shown in Figure 3.1, equation 3.1 B canbe expressed in a component fonn as:

56+

b"x,

+

b"x,

+c"x,= F,.sin(llX)

x,

+

b"x,

+

b"x,

+c"x,

=

F,.sin(llX)

3.2 3.3 whereXJand x, are the heave and pitch displacements respectively, %; and XI are the first andsecond derivative of thedisplacemen~ Flo and Flo are the heave force and pitch moment amplitudes,OJis the exciting frequency, and t is time.

~x. G

X,-

t

X,

~XI

X,

Figure 3.1 Model coordinates system

Thehydrodynamic coefficientsbij,wherei,j~3, 5, represent the submarine damping coefficients.Thecoefficients cij are the pilch restoring coefficients whichacttoreturn the submarine to the position of venical equilibrium.Therighthandsides of equations 3.2 and 3.3representthe heave force and pilcb momentthatlieimposedon the submarine model by the forced-motionapparatusas thesubmariDefoDows the path. For

21

(41)

the validalion of the proposed technique a generic submarine with the following arbitrary hydrodynamic coefficients was used to generate the numerical motion data.

Table 3.1 Numerical model coefficients

Equations 3.2 and 3.3 were solved numerically using a Runge·Kulla algorithm10obtain the time series of the heave and pitch displacements, velocities, and accelerations.

3.2. NEURAL NETWORK MOOEL

The neural network model used in this study consists of an input layer, hidden layer, and an oUlpullayer. Fig"", 3.2 shows the details of the neural network structure.

Theinput to the

l'

node in the hidden layer consists of the weighted sum of the i'"

components in the input vector:

Mi=

LwJr;

i_I

3.6 where wij is the weight between the i"nodein the input layer and the

i'"

nodein the

inthe hidden layer is transformed via a squashing function as:

3.7

(42)

Figure3.2 Neural networkstnlC~

TheOUtplllof tile klOnodeintile oUtpUllaycris given as:

1'''

=

fA.

lK' IG(M)

J~

3.8

where k iseither3 orS.andA"'jistilenetwork weight between thejlOnode in tilehidden layerand tileklOnodeintileoulpUtlayer.

2J

(43)

3.3.

LINEAR REGRESSION MODEL

Multiple linear regression is oflCn called "model fitting". It depends upon the assumption of a mathematical model lIlal fits the dataaIhand. The adequacy of the technique dependsuponlIle accuracy of the assumed model.

Considering lIle model described in Equation 3.9 there arc k regressors and i is lIle number of observations. i=1.2...n.

y,

= fJo + ±,6X4 ,., + E,

Onecanexpress equation 3.10 in a matrix fannas

y=Xp+t

where

y =[~:]. X =[~ ::::~ :;:]. p =[~:]

y. 1 x., x., ... ...

p.

~"[f]

3.9

3.10

3.11

TheIcastsquares mclhocl dclctmincs!hevalueof!heparameterS

Ilt

so lIlat!hesumof!he squaresof!heerroris minimized.TheIcast squarestimcliOllis

L=

tel

=t't =(y - XjI)'(y - XjI)

...

3.12

24

(44)

equation3.12canberewritten as

L =y'y - 2P'X'y+p'X'XP 3.13

in order for the function L tobeminimized with respect tojI,theleast squares estimator

~must satisfy.

~

,

" , '

ajlJp

=-2X Y+ 2X AP =0

From equation 3.14 the least squares estimator is

~=(x'XrIX'y

3.14

3.15 Montgomery (1997) presented this framework of least squares as an unbiased estimator of the parameter

II

in the linear regression model.

3.3.1.

UNCOUPLED HEAVE MODEL

Gi ven n points, the linear regression model for the uncoupled heave fon:e estimate is.

i:I.2.3.....n 3.16

3.3.2.

UNCOUPLED PITCH MODEL

Using the least squares method the pilCh moment is assumed to follow the malhematical model shown:

i=1.2...n 3.17

25

(45)

3.3.3.

COUPLED HEAVE ANDPITCHMODEL

Thecoupled heaveandpitch digitally generated motion canbeex~in the following linear equations:

3.18 3.19 Rearranging equations 3.23 and 3.24 into matrix fonn yields:

3.20 3.21 where

fl·

Ih

~.

=

{J"

{Ji]

{J ••

[" Ix"

i,lj,::

x" x" x" ''']

X,= . .

Ix,. x,. x,. x,,,

and

[I ,,, x" i,.

"']

Ix"

Xn

x,= . . Xn Xn

Ix,. x,.

i,. i,.

3.22

3.23

3.24

26

(46)

Results obtained from the neural network technique and the IinCOlr regression calculations are shown in Ch.pter S. LellSl squares calculations are shown in Appendi. A.

27

(47)

4. FRESH WATER TOWING TANK EXPERIMENTS

4.1. MARINE DYNAMIC TEST FACILITY (MDTF)

The MDTF is a multi-degree-of·freedom forced-motion lest rig.Ithas the capability of forcing!hetest model in an arllitraly motion trajectory. within!herig and!hetowing tank limits. The mOlion panmete" as well as!heforces acting on!hemodel are measured.

The MDTF ispanof!hetesting facilities at!heInstitUle for Marine Dynamics (IMD).

TheMDTF was commissioned in early 1999 after its performance had been evaluated through aprototyperig (1993101996).

During!heperiod from October10December 1999 maneuve" were conducted using a standard SlIbmarine model.TheMDTF description. experimentserup.and!hemaneuver>

performed will be briefly presented in the following sections.

4.1.1. MDTFSETUP

28

(48)

The general arrangement of the MDTF withthemodel mounted on it. is shown in Figure 4.1. The whole configuralion is mounted onthecuriage ofthelowing tank wilh Ihe model deeply submerged. The MDTF rig consists of IWO lateral railed curiagos supporting two vertical lelescopic struts; a picture of lhe sub-curiage is shown in Figure 4.2. Two lateral servomotors. shown in Figure 4.3. drive lhe laleral struts sideways paraUcl10thecuriago transverse centerline while twoother servomotors. Figure 4.4.

drive the telescopic SllUts in lhe vertical direction. A universal joint.seeFigure 4.5.

connectsthesting10!heSllUts.Thesting is connected tothemodel via a six component inlernal balance. The six components of!hereaction loads were measured al the model balance·resolving cenler (BRC).For detailed information ontheMDTF and its setupsee Williams et al. (1999).

29

(49)

Actuator motions are shown thus:<i---i>

Figure 4.1 MDTF General Arrangement

30

(50)

Figure 4.2 MDTF Sub-Carriage

Figure 4.3 Lateral Motor Arrangement

31

(51)

Figure 4.4 VerticalMotorArrangement

Figure 4.5 Forward Strut Universal Joint

32

(52)

4.1.2.

EXPERIMENTAL SETUP

The model, lMD 497 StlIIldard submarine model,was4.445 minlength and 0.5 m in diameter at the mid·body. The BRC is located 5.453 m from the aft sWI. The forward and afterward Stnlts are 2 m span. Model dimensions and coordinate system are shownin Figure 4.1 to Figure 4.8.Themodel displacements were calculated from the sWt displacements as sbown in equations 4.1 to 4.4.

§ <::::: <::s:?::::::J~

Ba9~

- - - - 4 2 1 3

L-1S= -.J

.---1.979 - - - ,

Model BRC

Figure 4.1 DREA Standard submarine model dimensions

33

(53)

FwdS1rul

AllStn.t

....r-,-- .

b

Figwe4.7 Sideview oftheMDTfsetup

34

(54)

._--_.

=3.453 m

.

----_.

--

-- -

--

-- -------

_._, ,

:

~b

'

_j_-l

I . YFWlS

L_'~ ~J

t

---: ! ----_:y.q

I Carnage Certer Line ~

llllitli[arr~~S

-- --- -- -- -- --- --- --- --- -- -,

Figure4.8Top view of!heMDTF setup

35

(55)

9=510.

_,([z",-z,..,l)

- - -

b

. -,((y""-y,,,J)

1/f=510 - - -

b

4.1

4.2

4.3

4.4

The above equations are based on a "rigid" sting assumption and theydescribethe model displa<:emcnlS relative to a set of axes which are Ii.cd to the towing caniage but which Iranslate longitudinally relative to a Ii.ed earth reference point.

4.2. MANEUVERS

Thedesign oftheMDTF allows the model toperformnon-conventional maneuvers.The maneuvers that have beenconductedcanbedivided into four categories.Theseare describedasfollows:

36

(56)

4.2.1.

CIRCULAR ARC MANEUVERS.

In these maneuvers the model is forced to move in a series of arcs separated by transition

~ions.The model has a constant speed.u.and a constant pitch rate. q. during the vertical arc maneuvers and constant yaw rate. r. during the: horizontal arc maneuvers.

Heave and sway displacements may have nonzero values. The: arcs have a non·

dimensional turning rate,I'.defined as.

1'=LlR 4.5

where L is the model length. R is the turning radius.R=~in the horizontal plane and r

R=~in the vertical maneuvers. t'represents

me

non-dimensional turning rate(r'in the q

horizontal plane and q'inthe vertical plane). Figure 4.9 shows a plot of the aft StNt displacement. forward StNt displacement. and model trajectory for an arc maneuver in the horizontal plane.

4.2.2.

LINEAR CHIRP MANEUVERS

Chilps "'" harmonic maneuvers with constant amplitude and varying frequency. The frequency ranged from 0.1 up to 0.5 Hz.Thesefrequencies were swept in the fonn of low-high-Iow sawtooth shape. Figure 4.10 shows a chirp maneuver in the vertical plane.

J7

(57)

2OOO,---c====~'==.==='===_:

.. ..

~",,"T".

Figu..4.9An:maneuver trajectory inthelateral planer'=0.2 11.5

....1 I I I

i

38

(58)

250,---

·'50

·200

-250 '--

..J

o a ,. 24 32 40 &I 56 14 72 M) II 100t 112 120 121 138 ," 152 110 lei

~

...

Figure4.10Pureheave chirp, ftequencies 0.1 to 0.5Hz

19

(59)

4.2.3.

PURE HARMONICS

A series of harmonic runs were perfonned during !he testing period. The frequency ranged from 0.15 to 0.25Hzwi!h amplitude range of 0.07 to 0.4m.

4.2.4.

MULT1-DEGREEoOF-FREEDOM MANEUVERS

A limited number of maneuvers were tried wi!h!hemodel moving in !hree. four. and five degrees of freedom; most of !hose were chirps. During!hetesting period a set of non·

conventional maneuvers such as cone helical maneuvers were also tried. More information on !hose can be found in Williams el al (1999).

The above mentioned maneuvm wereperformedwi!h four different configurations of

!he submarine. These configurations. shown in Figure 4.11. were bare hull sub; hull and sail; hull and tail; and hull sail and tail (full configuration). A list of all maneuvers performedis given in Appendix C.

(60)

FiSU'"4.11Modelconfigurations

41

(61)

4.3. Data Acquisition

Dala from load cells, accelerometers, and potentiometersweresampledat50 points/sec frequency. The GEDAPesoftware stored all measured time series in binary format. A split routine was then usedto split each run file into separate run channels and preliminary slatistical calculations and corrections were performed.Anexport routine was then applied to ttansfer the runathand to ASCII format.Theexported filehad the fOrmal shown in Table 4.I.

4.3.1. TIME TARE AND COORDINATES

TRANSFORMATION

During testing, data collection slarted before the actual maneuver slarted, moreover the maneuvers slarted some time before the catriage reached its constant speed. Time before the steady speed is consideredIalCtime and all dala collected during that lime segment had to be removed.

The six foree components weremeasuredatthe model BRC loc:aledat5.453 m from the aftstrut. A simple ttansformation of the struts displacements. based on equations 4.1 to 4.4 and assuming a rigid sting. was neededtooblain the model linear and rolational displacementsatthe BRC.

42

(62)

Column# GEDAP Channel# Variable Units

I Implicit Variable Time sec

2 ch.03l Carriagespeed mls

3 ch-sname.OO I Fx N

4 ch-sname.OO2 Fy N

5 ch-sname.OO3 Fz N

6 ch-sname.OO4 Mx N-m

7 ch-sname.OOS My N-m

8 ch-sname.OO6 Mz N-m

9 ch.On FV.Pos. m

10 ch.024 AV Pos. m

II ch.026 FL Pos. m

12 ch.028 ALPos. m

13 ch.OO7 Fwd. Ax 8

14 ch.OOS FwdAy g

IS ch.009 FwdAz g

16 ch.OIO All Ax g

17 ch.Oll AllAy g

IS ch.012 AllAz g

Table 4. 1 ASCII file Connat "HST_xxxxx. asc"

MDTF Prcpshop is a Windows application written by the authortoperform the above mentioned steps,tareremovalandcoordinatelranSfonnation. It allows the user, through a grapbic interface,toselect the ASCII run file, the time segment, andtheoutput file name.

The program willthen run the scenario mentioned earlier. The program also calculates the model's heave, pitch, yaw, and sway rates at the BRC. Prepshopwaswrincn in Visual Basic· 6 anditscodeisshown in Appendix D.

4.4. Filtering

The data were then filtered usinStheMatlabeWaveletloolbox. A wavelet filter allows the usc of a variable-sized windowing teclmiquc where a longtimeinterval isused when

(63)

we wantmore precise low frequency infonnation and shaner interval where high frequency information is needed.

4.4.1.

WHAT IS A WAVELET?

A wavelet is a waveform with a limited durationthat hasa zero average value. While Fourier analysis breaks the signal into sine waves with different frequencies, wavelet analysis breaks the signal into shifted and scaled versions of the original wavelet.

A continuous wavelet is the sum over time of the original signal multiplied by a scaled.

shifted version of the chosen wavelet functioncpo

C(scale, shift)=ff(t)cp(scale,shift)dt 4.6

Equation 4.6 results in many wavelet coefficients C. These coefficients are a function of the shift and scale of the function.

Madabedecomposes the wavelet signal into two components. a high frequency and a low frequency componen~ by removingthe high frequency component. Each wavelet performs a single level fillering. To obtain a smoother signalthefilteringprocess can be repeated a number of times on the low frequency componenL This is called multilevel decomposition. Mat\abe includes a number of wavelet families, seetheWavelet Toolbox userguide (1997).

(64)

4.4.2.

FILTERING PROCEDURE

The waveletusedin these runswas a Daubechies 'dbS' with a decomposition level 6.

This filter worked fairly wellineliminating most of the noise of the signal while presetVing the general form ofthedata. Thefiltering script, which is calledclean.m, is a Matlab M-file thatreadsall the channels from the Prcpsbop file; filters them, then exports the output toafilename.flt file. The procedure is to split the file into individual channels and perform the followingsteps.

I- Decompose the signal using Daubechies wavelets with six levels and calculate the scale and position.

2- Determine the default values for de-noising the signal.

3- De-noise and compress the signal using a global positive threshold.

The filtering scriptclean.m as well as a number of selected runs with filtering arc shown in Appendix E.

4.5. Neural Network Approach

Tow different neural networks wereusedto describethehorizontal and the vertical maneuvers. Inthe case of horizontal maneuvcrsthe input consisted of the sway velocity,Xl,the sway displacement,Xl.the yaw rate,X" and theyaw angle,Xi.The input 10thej"nodein thehidden layer, Mj, is given by:

4.7

4S

(65)

The output from lhej"node in the hidden layer. G (Mj) is given by G(M;)=_1_

l+e-M/ j=1.2•...•17 4.8

finally, the networkoutpu~

1"",

is given by.

"

FIll

= L"

"',G(M;)

,.,

k=2,3.4,S,6 4.9

In the vertical plane there wouldbeno out of plane forces and moment. The reason for that is the sub is symmetrical around the vertical axis and asymmetrical around the horizontal axis. The presence of the sail in the horizontal plane, see Mackay (1988).

Mackay and Conway (1990 and 1991), while the sub is lIIming. produces a drift angle.

which resullS in a positive heave force on the after body of the sub and a positive pitch momentatthe nose which attempts to lift the nose up.

After some preliminary trials it has been found that a three·layer feedforward net with 15 hidden nodes wouldbesufficient in the case of predicting the forces in thean:maneuver.

Onthe other hand more hidden processing elemenlS. namely 17 nodes, were neede<l10 oblain the relation in the case of chirp maneuvers.

(66)

5. RESULTS AND DISCUSSION

5.1.1.

UNCOUPLED HEAVE MOTION GENERATION

The equalion of uncoupled heave motion for the model can be wrill<n as follows.

.tli+b3lXli=FJOsin(ox.) 5.1

Using this equalion, 20 lime histories wm generaled al the ftequeneies: 0.5, 0.6, 0.7,....

2.4 Hz. The heave force is piooed as a function of!hedisplacement, velocity, and acceleration for different ftequencies. The results are shown in Figure 5.1 to Figure 5.6

(67)

... / .'

. . ,

[

I ---.--'---

'-.. .

Figuro 5.1 Hydrodynamic fom: vs. accelerationat0.5Hzuncoupled heave

U

1

I

...

..I

FiguR5.2 Hydrodynamic force vs. velocity at 0.5Hzuncoupled heave

(68)

\ .

[

! ···.'1

1.---.:-;11:-·.-.-.----.---

'I .

'I '.

:1 -

Figure 5.3 Hydrodynamic fon:e vs. displacementat0.5Hzuncoupled heave

..

[

j..---,-,---..-.... - - - : c - - -

Figure 5.4 Hydrodynamic forte vs. acceleration

--

at1.5HzullCoupled heave

(69)

,

,I.

Figure 5.5 Hydrodynamic folte vs. velocity at1.5Hzuncoupled heave

[

!,---:c---:-:-'-+----.,.----.,.,---

l'

--

Figure 5.6 Hydrodynamicforcevs. displacementat1.5HzIIlICOUpIedheave

(70)

5.1.2.

UNCOUPLED PITCH MOTION GENERATION

Asin uncoupled heave,!heequation of motion for a submarine model undergoing pitch motion canbewritten as follows

i'j+b".t'j+C"X'j=F$dsin(wfl) 5.2

The model motions were generatedatI'mjuencies of 0.5, 0.6, 0.7... 2.4 Hz. The pitch moment is plotted as a function the motion. Plots are shown in Figure5.7 Pitch moment vs. accelerationat0.5 Hz uncoupled pilCh to Figure 5.12.

, . ... ,.

..

~.5·

! J

.2.00-....--.-...- ...--.-,..,.-...- -...-...,---:..:,.L:.,.=---•.,.-..,--,.-.,.-...--,-...- ...- - ,...- ...

i ... ..

... ,

...

I

Figure5.7 PilCh momenlYS.acceleration al 0.5 Hz uncoupled pilCh

51

(71)

···1···

.'

~I

- ,I

...

'.

Figure5.8 Pitch moment vs. velocityat0.5Hzuncoupled pilCh

....

/

... .'

1 .. ---"11,....:.--- . .

I

/

.

- ...

Figure5.9 Pitch momenl vs. displacementat0.5Hzuncoupled pitch 52

(72)

.'

,j

'~1 I

f ..1 i

l·...-"'---·-:.. if':.---

.,1

- j

Figure5.10Pilch moment vs. acceler.1tion at1.5Hz uncoupled pitch

I I

-- .

FiguIC 5.11 PilCh moment vs. velocityat1.5HzlIIICouplcd pilCh

53

(73)

f i._---._---.-...-...---... 0.:.-...---.-_---,...

I

..

--

Figu", 5.12 PilCh moment vs. displacement at 1.5Hzuncoupled pitch

5.1.3.

COUPLED HEAVE AND PITCH MOnON

Uncoupled heave and uncoupled pitch motions "'"the~ticalmotions. In Ihis section the mo", ."a)istic coupled motion will be considered. The motion forthe samegeneric submarine modelwasgenmtedundergoing ",gular coupled heaveandpilCh. The model motion is described by equations 3.2 and 3.3.

As in the p"'vious sectionstheseequations can be solved using a Runge-KUlla method.

Simuilled dataw.... obcained for0.5. 0.6•...,2.0Hzfor the coupled motion. The

displacemen~velocity. andaccelerationtimeseriesw....obIainedatthesefJequencies.

To validate the proposed technique the numericallygeneratedforcewascomparedtothe pmlietecl and leastsq.-estimatedforce.

(74)

5.1.4.

EFFECTS OF RANDOM NOISE

Direct measured values. experimental values, often contain a noise componenteichcrfrom instrumental errors or mechanical noise from the experimental apparatus. In the following section the coupled heave pitch motion is genenlled as in the previous seClion but with the addition of a 20%random noise term to the motion displacement. velocity and acceleration.

The lIlOlion of the submarine was modeled using equations 3.2 and 3.3. Applying the same proced= as before the numerically generated data were obtained for the same range of frequencies. The random noise was then added to the time series.

Thereason for adding the noise after the time series has been generated is that lhe noise simulated here was due10instrumentation errors. Onee again the generated hydrodynamic force and moment foree were compared to the estimated force from the leasl squares method and the predicted one using a neural network.

5.2. RESUL TS FROM DIGITALL YGENERATED DATA

Figure 5.l3 and Figure 5.14showa comparison between aleasl squares estimate and a neural network prediction for the heave force for the uncoupled heave case. Figure 5.15 shows a plot of actual force .... thencuralpredicted force (uncoupled heave at 0.7Hz)while Figure 5.20iJa plot of actual pitching momenl vs. leastsquaresestimated pitch momenl (uncoupled pitch at 0.7Hz).

Figure 5.17 and Figure 5.18 show thccomparison between a least squares estimate and a neural network prediction of the pitch momenl for theuncoupIcdpitch motion. Figure 5.19 is a plOlof aetualpitching momenl vs. a neural predicted pilCh momenl (uncoupled pilCh al 0.7Hz).Figure

55

(75)

5.20 is a plot of actual pitching moment vs. a least squares estimated pitch moment (uncoupled pitch at 0.7Hz).

Figure5.21 and Figure 5.22 show a comparison between a least squares estimate and a neural network prediction ofthecoupled heave·pilCh motion.Theeffect of randomly generated noise on the least squares and the neural prediction is show in Figure5.23and Figure 5.24.

1-- ._-

0'"- ...

I]

[

;-.""'.,.-.-.-:-.-:-.-:-,-:-.-=-.-=-.-=-."".-i.-.-·'"'.'"'.""'.'"'.""',""',-i-i-i...,.·...,.,...,.i-=-i-i-=-.""ii----'Iii

-

Figure 5.13 Comparison between least square esblllOlion and neural net prediction (uncoupled he..eat0.6Hz)

56

(76)

-

Figure5.14Comparison between least square estimateandneural net prediction (uncoupled heave at1.5Hz)

I

J.---~---

-- .

Figure5.15 PICKofar:tuaIforce vs.newaipredictedforce(UIICOUplcd heaveat0.7Hz)

(77)

J

~---_,____-..,.._-

J.

---

Figure 5.16 Plot of actual force vs.le.., squares estimated force (uncoupled heave at 0.7Hz)

.u ...J

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-

Figun: 5.17 Comparison between least square estimation and neural network pt<diction (uncoupled pilCh at 0.7Hz)

sa

(78)

::11\,

I . Ju J.,

Figure 5.18 Comparison between least square estimation and neural network prediction (uncoupled pitchat1.2Hz)

I I.,---,....r--:---

-- .,

Figure 5.19 Plot ofacllla1 pill:hing mornentV$.neuralpredie:ttd pill:h moment (lDlCoupled pill:h otO.7Hz)

59

(79)

Figure 5.20 Pial of actual pitching momenl vs. least squares estimated pitch moment (uncoupled pitch at0.7Hz)

I

==----,1

1:='::--11

Figure5.21 Comparison between least squaraestimaliOllandneuralnetwort.prediction (coupled heave-pitohat0.5Hz).

(80)

~Il!/" :==-:1 i

I :::~

, ... j ...

\

.1. . . .

~-_!

~_

..l

:-c;;=-=,:-:;"7;7;~;,=-=;:-:;"7;7;~!;=-=;:-:;"7;-=-.7". .:-:.:-:."7.-=-.7". .:-:.:-:.:-:.-=-.-::-:. .

-

Figure 5.22 Comparison between least squares estimation and neural network prediction (coupled heave-pilch atO.SHz)

.

,.~.

1--

____0 _ _ ' - -~'-r-

1:1

~:-:.:-:.7:-=-:-=-:-=-n=-=::-:~7:-=-!-=-~=-n:-:~=-=::-::~:-::~7!-=-!-=-.-=-.9:-:9:-::;:-:;7.-=-.-=-!~!!

--

Figure S.23 Comparisonbetweenleast squaresestimateandneural prediction (coupled heave and pilCha10.4Hzwithnoise)

61

(81)

r f.:

=::... I

____'-'s....~1

Figure 5.24 Comparison between least squares estimate and neUI21 prediction (coupled heave ane!pilCh at 0.4Hzwith noise)

5.3. RESULTS FROM ExPERIMENTAL DATA

A number of neural networks were uained to identifythehydrodynamic forees acting on the submarine model during differenttypesof maneuvers. Two ofthecalegories described in section 4.2 and the model in its full configuration were considered.Thetwo maneuvers werethe horizontal cireularan:andsway chirp maneuver.

A single nm from each maneuver was used in uaining.Thenumber of dala points used inthe uainingprecesswas enormous. 2501 x 4 dala pointswereusedin uainingthechirp networks and1920x 4 dala points were used in uainingtheeireuJaran:networks. After a number of preliminaryuialltheaulhorfound that uainingthenetworkin a modular an:hilectwe gives better results. EachmoduJe has lIuee layers andIShiddennodesinthecase ofthean:maneuvers

62

Références

Documents relatifs

Dependence the execution time of the proposed method to the number of involved cores of IPME cluster and ZNTU the computing system... Dependence the execution time of the

Performance of the model in predicting drowsiness level with the testing dataset: mean square error (MSE), standard deviation (STD), according to whether dataset is used with (1)

The policy-based solutions parameterize the policy function directly by a neural architecture and try to find the optimal policy using gradient ascent, while the value-based

This method has been implemented using the USPTO Patent Database, with a comparative study of two Neural Networks: a Wide and Deep Neural Network and a Recurrent Neural Network,

(2009) made it possible to identify some of the main properties of soundings associated with banded orographic convection. The present study pro- poses to refine these properties

When dealing with convolutional neural networks, in order to find the best fit- ting model, we optimized 13 hyperparameters: convolutional kernel size, pooling size, stride

The objective of the first stage is achieved; we project to generalize this method for process control (prediction bath temperature and composition of steel in end blow). Poferl

It is important to notice that the state of activity of the neurons of the output layer only depends on the state of activity of the neurons located in the input layer and