A METHOD OF FUNCTIONAL ANALYSIS

Abstract: Method of systematically simulating and displaying the cyclical components of the behaviour of the movement of a curve relating two parameters to one another, in which the following are obtained: a moving average (14) of the curve (10); an oscillator (16), a series of dynamic moving averages (20,22,24,26,28); and pairs of inner and outer envelopes (32,34; 35,37; 36,38). This derived information is used as a basis to calculate the probable future movement of the curve (10). An industrial application of this method controls the flow of coolant liquid through a chamber (102). A tempera­ ture sensor (108) supplies information to a computer (106) which is in communication with the use through a keyboard (114) and control unit (112). Set of lines relating to the above derived information are displayed on a V.D.U. (116), from which the user can either manually effect control of the rate of flow of the coolant liquid via a pump (104) or request the computer to automatically effect the control to prevent the temperature of the coolant liquid exceeding or falling below given limits.

Description: "A method of functional analysis". The present invention relates to the method of systematically simulating and displaying the cyclical components of the behaviour of the movement of a curve relating two parameters to one another in order to predict the future movement of the curve. One particular use of such a method is to enable financiers and other monetary experts to predict future movements of stocks, shares, bonds, commodity and currency to enable them to advise their clients regarding the best moments in time to buy or sell any particular market or market group. Another application of the method of the present invention is the control of a variety of different types of manufacturing processes where it can be critical to predict the future movement of a particular parameter involved in the manufacturing process so as to be able to take immediate action to prevent said parameter exceeding or falling below predetermined critical values. Generally speaking, the method of the present invention is based on a system of functional analysis which incorporates traditional moving averages and traditional oscillators to calculate dynamic moving averages which are akin to traditional exponential moving averages, and a basis of calculating for these dynamic moving averages using descending Fibonacci ratios of the basic moving average. According to the present invention there is provided a method of systematically simulating and displaying the cyclical components of the behaviour of the movement of a curve relating two parameters to one another in order to predict the future movement of the curve, said method including the steps of: : (a) obtaining a moving average of said curve over a specified range of one of said parameters; (b) calculating the difference between the actual value of the curve and the moving average to produce an oscillator; (c) calculating the average of the oscillator over the same range of said one parameter; (d) adding this oscillator average to the moving average to produce a first dynamic moving average; (e) repeating the calculation of the average of the oscillator over a plurality of shorter ranges, each range being shorter than the last by a given ratio to produce a series of dynamic moving averages; (f) determining the maximum deviation of the curve from the moving average and also all the associated dynamic averages previously calculated; ; (g) using this maximum value of deviation to generate an envelope whose upper band is the sum of this value and the lowest value represented by the moving average or any of its associated dynamic moving averages, and whose lower band is calculated by subtracting this deviation value from the highest value represented either by the moving average or any one of its associated dynmamic averages; (h) generating a plurality of inner and/or outer envelopes by repeating the above process of envelope generation of step (g) using values of said maximum deviation related thereto by said given ratio and multiples of said given ratio; (i) repeating all the above process steps in sequence using a plurality of ranges of moving average each said range being related to said first range by said given ratio or a multiple of said given ratio; ; (J) displaying each set of lines which includes the moving average its associated dynamic moving averages and evelopes; (k) systematically repeating the display of method step (j) according to the said given ratio and multiples of said given ratio; and (l) interpreting the information obtained by the above method steps to enable a prediction to be made concerning the future movement of said curve, from which interpreted information appropriate action or control of items relating to said parameters can be made. Preferably said given ratio is the well known Fibonacci ratio (1.618), and the multiples thereof are power multiples. Preferably said method is used with a computer system to perform the calculations and display the various sets of lines and systematically repeating the display for the Fibonacci ratio and power multiples thereof in order to predict the future movement of the curve. Where said method is used to predict the future movement of the day to day values of stocks and shares, the system is fully adaptable to look at different periods of past history of the curve as well as the values of any number of closely related commodities. The present invention will now be described in greater detail by way of example with reference to the accompanying drawings, wherein: Figure 1 is a graph illustrating how in the system the oscillator and a series of dynamic moving averages are obtained; Figure 2 is a graph showing the value of the U.S. dollar against the Deutsche Mark over the period 1975 1983 together with five dynamic moving averages and three evelopes derived according to the method of the present invention. Figures 3A and 3B are graphs of curves showing how the market in fact moved after a prediction was made from the curves shown in Figure 3A; and Figure 4 is a block diagram of a computer controlled cooling system applicable to an industrial process. Referring first to Figure 1, the curve whose magnitude is plotted as ordinate to a base of time is shown at 10. Point 12 represents the average of the last 233 plots along the abscissa axis. From this information it is possible to derive a moving average of the curve 10 represented by the smooth curve 14. Each point on the moving average curve is calculated using only the last 233 plots of the curve 10 immediately proceeding the point in question on the curve 14. It will be noted that the value of the curve 14 lags behind that of the curve 10 over the substantial rise in magnitude thereof after the point of first calculation 12. At any given points having the same time (same values of abscissa), the difference in value 16 is the oscillator. By using the average of the oscillator (not shown) over a period which includes the same number of plots, the first dynamic moving average 20 is obtained by adding this moving average of the oscillator to the moving average. Likewise by using the average of the oscillator over a plurality of shorter periods using a number of plots which are related to the previous number 233 divided by the Fibonacci factor (1.618) and power multiples of this factor (i.e. 144,89,55 etc.), a further series of dynamic moving averages 22, 24 and 26 are obtained as above. A first envelope having upper and lower bands is generated using the value 30 of maximum deviation of the parameter from either the moving average or any of the dynamic moving averages, over the total range of the parameter being analyzed. Referring now to Figure 2 which is a specific example of how the value of the U.S. dollar fluctuated against the German Dutsche Mark over the period 1975 to 1983, the curves shown whose calculation has been outlined above include the moving average 14 and a series of five dynamic moving averages 20, 22, 24, 26 and 28, as well as the actual value 10. The upper and lower bands of the first envelope are shown by the curves 32 and 34 respectively. The upper band 32 is the sum of the maximum value of deviation and the lowest value represented by the moving average 14 or any of the dynamic moving averages 22, 24, 26 and 28 along each point of the abscissa. The lower band 34 is determined by subtracting the maximum value of deviation from the highest value represented either by the moving average 14 or any one of the associated dynamic moving averages 20, 22, 24, 26 and 28 along each point of the abscissa. Two further inner envelopes having respective upper bands 35 and 36 and respective lower bands 37 and 38 are generated by repeating the above process of envelope generation using values of said maximum deviation related thereto and multiplying it repeatably by the Fibonacci ratio; (i.e. by 1.618 or 0.618). Although the above example shows only the generation of two further inner envelopes, it will be appreciated that more may be generated if required as well as a plurality of outer envelopes. Next, all the above process steps are sequentially repeated using a plurality of ranges of moving average, each said range (number of plots or length of time) being related to said first range by the Fibonacci ratio and sequentially by power multiples of said Fibonacci ratio. Having generated the series of evelopes over the plurality of ranges of the moving average, the user can now display on the video display unit of the computer system, the original parameter, the moving average, the dynamic moving averages, the series of upper and lower evelopes for the first range of the moving average, by depressing the appropriate key on the manual keyboard associated with the computer. After the user has studio this display, he can now repeat the above process by depressing systematically in turn the keys which cause the ranges of moving average to be displayed on the vide display unit, said ranges being related to the first displayed range by the Fibonacci factor and power multiples of the Fibonacci factor. By carefully studying all the displayed information, the user can then predict the future movement of the parameter. Experience has shown that this can be done with a very considerable degree of probability over the time frame to which the displayed moving average, dynamic moving averages and envelopes apply. Alternatively, instead of the user making an assessment using all the information obtained and displayed by the above steps, the computer may then be required to make a predicted calculation of the future movement of the parameter. The user can thus depress th appropriate key on the keyboard, which will enable the computer to carry out the necessary prediction of the future movement of the parameter over any desired future range in time and to display this movement of the parameter together with the other associated curves, e.g. the moving average, the dynamic moving averages and the envelopes on the video display unit. As will be explained later, the computer can be programmed to assess the situation and make an appropriate decision which can be output in visual form on the screen of the video display unit as whether the future movement of the parameter is "up", "down" or "steady" and in the case of the first two an approximate evaluation of the change of magnitude over a required period of time. Thus it will be appreciated from the above description that in the case of the financial application of the invention, it is thus possible for the user to predict, whether using his own experience or with the aid of the computer, with very considerable accuracy the movements of any or a selected group of stocks, shares, bonds, commodity and currency. In this way the user of the system is able to advise his Clients when they should sell or buy their respective holdings. The financial application will now be discussed in greater detail by way of an example shown in Figures 3A to 3E. Referring first to Figure 3A, the graph shows the price of the holding plotted to a base time, this being shown by the curve 10 (the parameter of Figure 1), the moving average 14, six dynamic moving averages 20, 22, 24, 26, 28 and 29, and pairs of upper and lower envelopes 32, 34 and 36, 38. If you observe the way the moving average 14 has behaved, you will note that the long term trend is turning from down to up. The price shown by curve 10 has rallied to the upper outer envelope 32 and the moving dynamic averages are all well splayed out at the current point in time indicated by the line 50. You should further note that the price shown by the curve 10 having bounced off the upper outer envelope 32 has cut through the two shorter term dynamic moving averages 29 and 28. At this point you can sell the holding, and make quite a reasonable short term gain if you had bought it at the start of the graph when the price as shown by the curve 10 was well below the moving average 14. Figure 3B shows how the various curves in fact moved beyond the line 50, and it will be noted that although the price tried to break through the dynamic moving average 29 two times, it subsequently fell sharply and was rapidly approaching the moving average 14. In other words it was an excellent time to sell. With sufficient practice, it becomes an easy matter to quickly spot, with the aid of the various ranges of moving averages using the Fibonacci ratio and power multiples thereof, when the price of the holding is likely to rise or fall and thus make an assessment as whether to buy or sell. All the necessary information relating to the curves can be stored within the memories of the computer, so that the computer can itself make an appropriate assessment of the situation and give a visual indication via the visual display unit of the predicted change in the price of the holding, i.e. whether "up" or "down" and also by what magnitude. Hence the user with the aid of the computer print out can make a quick decision as to whether to buy or sell that particular holding. In the case of the industrial application the value of a particular parameter, e.g. the temperature of a coolant liquid, can be continually monitored throughout the production or a continuous production process. By using the above process, the user would be able to predict in advance when the temperature was going to exceed a given critical and take appropriate action to prevent such an occurrence which could give rise to dangerous or explosive conditions causing damage and/or injury to personnel. There are thus considerable opportunities of using the system of functional analysis in all parts of the industrial world as well as in many other fields, e.g. the medical field where a patient's blood pressure can be continuously monitored. A general industrial application of the system of functional analysis will now be described in greater detail with reference to Figure 4. Referring now to Figure 4, the basic layout of a system, which is capable of systematically simulating and displaying the cyclical component of the behaviour of the temperature of a coolant liquid in an industrial process, is shown in block form. In this example of industrial application, the temperature of a coolant liquid is to be monitored, to ensure that it does not either exceed a given temperature or fall below a given temperature, so that the products of the manufacturing process emerge without defect. Cooling liquid from a reservoir 100 is pumped to a chamber 102 in which the manufactured products are housed by means of a pump 104 whose speed of pumping can be varied. - A computer 106 receives the value of the temperature of the coolant liquid output from the chamber 102 from the sensor 108, via an analog-to-digital converter 110 which converts the value of the temperature into digital form. A control unit 112 is in two way communication with computer 106. A manual unit 114 including a keyboard provides the control unit with information to control the computer 106. The system also includes a video display unit (V.D.U.) 116 on which the temperature of the coolant liquid, the moving average, the dynamic moving averages, and the various pairs of envelopes relating to the temperature of the coolant liquid can be displayed. An alarm system 118 can be provided to give a visual and/or audible indication that the predicted position of the temperature of the coolant liquid will in the near future, either exceed the upper temperature limit or fall below the lower temperature limit. The rate of flow of the coolant liquid is controlled by means of the pump 104, the speed of whose motor is controlled by the computer 106 through a digital-to-analog converter 120. The operator in charge of the system has the manual unit 114 and keyboard together with the V.D.U. 116 in front of him. He can thus continually monitor and display on the V.D.U. 116, the cyclical components of the behaviour of the movement of the temperature of the coolant liquid. If he is on manual operation he can input instructions into the control unit 112 to enable the computer 106 to control the pump 104 via the digital to-analog converter 120, so as to increase or decrease the rate of flow of the coolant liquid in the event that a prediction of the future movement of the temperature brings it close to one of the limit temperatures. If the operator decides to hand over to the computer he operates the manual/automatic control button on the keyboard of the manual unit 114. The computer 106 now takes over and controls the rate of flow of the coolant liquid by means of the pump 104 according to the prediction it makes using appropriate information stored in its memory regarding the interpretation of the moving average, the dynamic moving averages and the pairs of envelopes from the various ranges derived from the Fibonacci factor and power multiples thereof.

Claims: CLAIMS. 1. A method of systematically simulating and displaying the cyclical components of the behaviour of the movement of a curve (10) relating two parameters to one another in order to predict the future movement of the curve, said method including: obtaining a moving average (14) of said curve over a specified range of one of said parameters; calculating the difference between the actual value of the curve and the moving average to produce an oscillator (30); calculating the average of the oscillator over the same range of said one parameter; and adding this oscillator average to the moving average to produce a first dynamic moving average (20); characterized in that said method additionally includes the following steps: (a) repeating the calculation of the average of the oscillator over a plurality of shorter ranges, each range being shorter than the last by a given ratio to produce a series of dynamic moving averages (22,24,26,28,29); (b) determining the maximum deviation of the curve from the moving average and also all the associated dynamic averages previously calculated; (c) using this maximum value of deviation to generate an envelope whose upper band (32) is the sum of this value and the lowest value represented by the moving average or any of its associated dynamic moving averages, and whose lower band (34) is calculated by subtracting this deviation value from the highest value represented either by the moving average or any one of its associated dynamic averages; ; (d) generating a plurality of inner and/or outer envelopes (35,37; 36,38) by repeating the above process of envelope generation of step (c) using values of said maximum deviation related thereto by said given ratio and multiples of said given ratio; (e) repeating all the above process steps in sequence using a plurality of ranges of moving average each said range being related to said first range by said given ratio or a multiple of said given ratio; (f) displaying each set of lines which includes the moving average its associated dynamic moving averages and envelopes; (g) systematically repeating the display of method step (f) according to the said given ratio and multiples of said given ratio; and (h) interpreting the information obtained by the above method steps to enable a prediction to be made concerning the future movement of said curve (10), from which interpreted information appropriate action or control of items relating to said parameters can be made. 2. The method according to claim 1, characterized in that said given ratio is the Fibonacci ratio (1.618), and the multiples thereof are power multiples. 3. The method according to claim 2, characterized in that said method is used with a computer system to perform the calculations and display the various sets of lines and systematically repeat the display for the Fibonacci ratio and power multiples thereof. 4. The method according to claim 3, characterized in that the computer syste having performed all the steps of the method, performs an assessment concerning the probable future movement of said curve and prints out its assessment in appropriate form. 5. A computer system for carrying out the method according to claim 1, as applied to an industrial process, where it is necessary to prevent some parameter exceeding or falling below a predetermined value, characterized in that the system includes: (a) means (108) for monitoring the analog value of said parameter; - (b) means (110) for converting said analog value into a digital value; (c) means for inputting said value into a computer (106); (d) means (112,114) for programming said computer to carry out said method of systematically simulating and displaying the cyclical components of the behaviour of the analog value of said parameter; and (e) means (104) for effecting an adjustment of the analog value in the event that the computer system outputs a signal indicating that the value of said parameter, will probably exceed or fall below said predetermined value. 6. A computer system according to claim 5, characterized in that said system includes a visual display unit (116), a control unit (112) and a keyboard (114), whereby the user of the system may either input control signals to effect an adjustment of said parameter having studied the various sets of lines displayed on the screen of the video display unit, or allow the computer (106) to perform such adjustment automatically.

Inventors: BRADFORD GEORGES J, GEORGES, BRADFORD JOHN
Applicants: BRADFORD GEORGES J, GEORGES, BRADFORD JOHN
Application year: 1985
Main classification: G06F15
IPC codes: G06F17, G06Q10, G06F19