Signal processing method

Abstract: A signal processing method for efficiently searching an optimum solution in a neural network by including a term of a nonlinear resistance in an equation of motion and changing such nonlinear resistance periodically. According to the method, the range of absolute values of connection weigths between units in the neural network is limited by the equation of motion, hence preventing a prolonged search time that may otherwise be caused by excessive extension of the search scope beyond the requisite. A plurality of patterns are previously embedded or stored in the neural network and, upon input of a predetermined key pattern, the nonlinear resistance is changed periodically to recall a pattern similar to the key pattern, whereby any desired pattern can be searched or retrieved with rapidity and facility out of the complicated patterns. A process of calculating the next position of an articulated robot (12) corresponding to an optimum solution is repeated while periodically changing a nonlinear resistance included in another equation of the positional energy of the robot (12), thereby acquiring the data of the robot path up to a desired goal.

Description: The present invention relates to a signal processing method as defined in the preamble of claim 1 adapted to search an optimum solution in a neural network which is applicable to problems in processing a variety of intelligent information. Such a method is described for example in EP-A-0 377 467 representing the closest prior art. Description of the Prior Art It is noted of late that various attempts are in rapid progress with regard to a contrivance of incorporating the biological information processing mechanism of life into an engineering information processing system. The studies of neural networks have been developed with such background, and some models thereof are currently spreading among the general engineering, inclusive of a learning algorithm of error back propagation, Hopfield neural network and so forth. Examining such neural network models from the dynamic point of view, it is understood that they are based on the premise of the Liapunov stability in common. More specifically, the process of learning or memory recall is defined as dynamics of asymptotic convergence from an adequate initial value on a given energy phase toward an equilibrium point attractor. The equilibrium point attained through such process is a relative minimum solution of the energy and may not exactly be a desired minimum or optimum solution to be obtained, thereby raising a problem of local minimum. It is ideal to achieve a stable descent along the energy gradient while averting the local minimum solution successfully, but such is not realizable in any model dominated by the Liapunov stability. Describing the above in further detail, it has been customary heretofore to employ a steepest descent method when searching a minimum solution in the presence of some local minimum solution. According to such known steepest descent method, in case a minimizing evaluation function E is given by E = (x 1 , x 2 ..... x n ) partial differential values to a variable x in the local points of the evaluation function E are calculated as follows: where ε is a positive constant. Temporally solving the above evolutional equations numerically with respect to the variable x, the minimum solution can be obtained by utilizing the Liapunov stability that the variable x is at the minimum solution when the partial differential value x ˙ has reached zero (i.e., when the change of the partial differential value x ˙ has become none). However, a desired solution to be finally obtained is the minimum (optimum) solution as shown in Fig. 24, and the local minimum solution is not exactly coincident with the minimum solution, so that a restriction is existent in calculating the minimum solution (optimum solution) by the steepest descent method. Therefore a new dynamic premise may be contrived to render the minimum absorption structure unstable by partially altering the premise of the Liapunov stability. Reexamining the neural net dynamics from the viewpoint mentioned above, a chaotic dynamic system is considered to replace the dynamic system of the Liapunov stability. The path realized by the chaotic dynamic system has some unpredictable instability while being led to an attractor, so that both stability and instability are coexistent in the dynamics. In case such chaotic characteristic is introduced into a neural network, it is expectable to furnish the network model with enhanced flexibility. With regard to applications of the chaotic dynamics to neural networks, noticeable results have been attained heretofore due to the advanced studies based particularly on the biological researches. In "Pattern Dynamics of Chaotic Neural Network" (Shingaku Giho, NC89-8, 43 (1989)), there is proposed a mathematic model of a chaotic neural network accomplished on the basis of the analytic result relative to the nonlinear response characteristic observed in the large axon of a squid. Also in "Memory Dynamics in Asynchronous Neural Networks" (Prog. Theor. Phys. 78 (1987) 51) and "Information Processing of Brain and Chaos" (Computer Today, 23 (1989) No. 32), a network model is constructed for realizing chaotic memory search with disclosure of a role in the chaotic information processing by an elucidatory approach of brain based on observation of the column structure of the cerebral cortex of a sea bream. However, any of the above conventional methods has some difficulties in efficiently obtaining the minimum solution (optimum solution) out of a plurality of local minimum solutions. OBJECT AND SUMMARY OF THE INVENTION The present invention has been accomplished in view of the circumstances mentioned. And an object of the invention as defined in claim 1 is to provide an improved signal processing method which is capable of achieving efficient search of an optimum solution in a neural network. According to a first aspect of the present invention, there is provided a signal processing method for searching an optimum solution in a neural network, where a term of a nonlinear resistance is included in an equation of motion, and such nonlinear resistance is changed periodically so that the optimum value (minimum value) can be searched efficiently without being concerned with any of local minimum values. According to a second aspect of the present invention, there is provided a signal processing method where a term of a nonlinear resistance in an equation of motion is expressed as f( x , ωt) = [d 0 sin (ωt) + d 1 ] x + d 2 x 2 sgn ( x ) Since the term of the nonlinear resistance comprises a term to act on the speed linearly and a term to act on the speed direction at the square of the speed, no periodicity is induced in the state transition between the local minimum values to consequently ensure a precise search of the optimum value. According to a third aspect of the invention, there is provided a signal processing method where the range of absolute values of connection weights between units is limited by the equation of motion. Therefore it becomes possible to prevent a prolonged search time that may otherwise be caused by excessive extension of the search scope beyond the requisite. According to a fourth aspect of the invention, there is provided a signal processing method adapted for a neural network of Hopfield model, wherein a plurality of patterns are previously embedded or stored in the neural network and, upon input of a predetermined key pattern, a nonlinear resistance included in an equation of motion is changed periodically to recall the pattern similar to the key pattern. Therefore a desired pattern can be searched or retrieved with rapidity and facility out of the complicated patterns. According to a fifth aspect of the invention, there is provided a signal processing method where a term of a nonlinear resistance is included in an equation of the positional energy of a robot, and a process of calculating the next robot position of an optimum solution is repeated by periodically changing the nonlinear resistance, hence acquiring the data of the robot path up to a desired goal. Thus, it becomes possible to avoid any obstacle with certainty. According to a sixth aspect of the invention, there is provided a signal processing method where the robot is of an articulated type. Consequently the method is rendered applicable to a further variety of robots in multiple uses. The above and other features and advantages of the present invention will become apparent from the following description which will be given with reference to the illustrative accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 illustrates changes caused in a nonlinear resistance used in the signal processing method of the present invention; Fig. 2 graphically shows an energy function characteristic for explaining a local minimum solution and a minimum (optimum) solution; Fig. 3 graphically shows positive and negative characteristics of the nonlinear resistance; Fig. 4 graphically shows the relationship between an energy function and a limit cycle; Fig. 5 graphically shows an energy function characteristic for explaining a search of a local minimum solution; Fig. 6 graphically shows the aspect of transition to local minimums in the characteristic diagram of Fig. 5; Fig. 7 is a characteristic diagram of a quartic energy function having two local minimum solutions; Fig. 8 graphically shows the result of temporally evoluting the function of Fig. 7 with addition of a periodic nonlinear resistance function thereto; Fig. 9 is a Poincare sectional view in a predetermined phase of a periodically changing nonlinear resistance; Figs. 10a to 10ℓ are Poincare sectional views in individual phases of a periodically changing nonlinear resistance; Fig. 11 graphically shows variations caused in the Liapunov exponent by changes of a parameter; Fig. 12 shows the constitution of an EXOR learning neural network; Fig. 13 illustrates transitions of the state in the EXOR learning process; Figs. 14a and 14b show how a minimum solution is searched; Figs. 15a to 15e show transitions of the state in individual periods during a memory recall; Fig. 16 illustrates Hamming distances between memory patterns; Fig. 17 shows the structure of a memory which forms a supermeasuring space; Fig. 18 is a block diagram showing the constitution of an exemplary apparatus to perform a robot path planning by the use of the signal processing method of the present invention; Fig. 19 is a flow chart of an operating procedure executed in the apparatus of Fig. 18; Fig. 20 shows coordinates of a working space in the apparatus of Fig. 18; Fig. 21 shows a state where the space in Fig. 20 is converted to a coordinate system of rotation angle; Figs. 22a to 22h illustrate how a manipulator of a robot reaches a desired goal while avoiding any of obstacles; Figs. 23a to 23e illustrate how the manipulator reaches the desired goal continuously with Fig. 22h while avoiding the obstacles; and Fig. 24 graphically shows an energy function characteristic for explaining a conventional method of searching a minimum solution. DESCRIPTION OF THE PREFERRED EMBODIMENT Hereinafter the signal processing method of the present invention will be described in detail with reference to a preferred embodiment thereof shown in the accompanying drawings. First a description will be given on a dynamic model of the present invention and a technique employed therein. Then the characteristic of such dynamic model in a simple system will be evaluated on the basis of calculational experiments. Thereafter a description will be given on a learning algorithm of error back propagation in a multilayered network and also on the result of applying such model to memory recall in a Hopfield network model. And finally an exemplary embodiment applied to an articulated robot will be explained. (1) Chaotic steepest descent method In many of neural network models, a minimum (optimum) solution of an energy function is calculated numerically by a steepest descent method. In such steepest descent method, it is ensured that, as expressed by Eq. (1), the direction of change of a variable x is coincident with the direction of an energy gradient at the relevant point and also that a temporal evolution of Eq. (2) obtained by rewriting Eq. (1) to a continum is converged to a minimum. Eq. (2) represents the Liapunov stability. Δx = -ε▿E(x) where ε is a positive constant, and E(x) is an energy function. x = -ε▿E(x) where ▿E(x) signifies ∂E/∂x. Eq. (3) of motion obtained by including a quadratic differential into Eq. (2) and introducing an inertia term (first term) and a divergence term (second term) also into Eq. (2) represents a dynamic characteristic that any small local minimum is skipped over by an inertial force. A final point of arrival is definitely one of local minimum solutions as graphically shown in Fig. 2, but it is not ensured that convergence to a minimum solution is attained without fail. m x + d x = -ε▿E(x) where m stands for a mass (m > 0), and d for a resistance (d > 0). Therefore, as expressed in Eq. (4), a means is contrived to alter the structure of the asymptotic convergence to a minimum by introducing an adequate nonlinear resistance into the divergence term (second term) on the left side of Eq. (3). m x + f( x ) = -ε▿E(x) where f(x ˙) denotes a nonlinear resistance function. Fig. 3 graphically shows an exemplary case of introducing a nonlinear resistance which serves as a negative resistance at a low speed or as a positive resistance at a high speed. In this case, Eq. (4) does not represent the Liapunov stability any alonger. However, as shown in Fig. 4, the path obtained is stably converged to a limit cycle where, in a steady state, the minimum is at the center, and there is no alteration with respect to the composition that the path is led into the minimum basin. For the purpose of unstabilizing the path obtained from Eq. (4), an attempt is made to periodically change the nonlinear resistance characteristic as expressed in Eq. (5) shown below. m x + f( x , ωt) = -ε▿E(x) where f(x ˙, ωt) denotes a periodic nonlinear resistance function. In order to transit the limit cycle sequentially to other local minimum solutions, the limit cycle is unstabilized periodically. For this purpose, the negative portion of the nonlinear resistance is periodically changed to be greater or smaller as shown in Fig. 1. When the positive or negative resistance value is changed with a relatively slow period (ω), the path is rendered stable in the phase of increasing the positive resistance and asymptotically approaches the minimum solution, whereas the path is rendered unstable in the phase of increasing the negative resistance and is urged to deviate from the minimum solution. It is therefore presumed that, in a proper procedure of changing the resistance, the path is caused to travel chaotically from one local minimum solution to another. More specifically, if a periodically changing nonlinear resistance is introduced, the temporal evolution of the equation is such that, as graphically shown in Fig. 5, the path comes to sequentially skip over, for example, two local minimum solutions 1 and 2 enclosed with circles in the diagram. A method of numerically searching a minimum solution of energy in accordance with the dynamic model represented by Eq. (5) of motion is called a chotic steepest descent method (hereinafter referred to as CSD method). (2) Calculational experiment in one-dimensional space For the purpose of grasping the characteristic of the CSD method, a calculational experiment was executed in a simple system. A quartic function having two local minimums as expressed by Eq. (6) was used as the energy function in such calculation. (See Fig. 7) E(x) = 0.25x 4 - 2.83x 3 + 10.5x 2 - 13.5x + 6.0 The equation of evolution employed for the CSD method was obtained by embodying the periodic nonlinear resistance function of Eq. (5) as follows. m x + f( x , ωt) = -ε▿E(x) f( x , ωt) = [d 0 sin (ωt) + d 1 ] x + d 2 x 2 sgn ( x ) where d 0 and d 1 are coefficients of the linear resistance; d 2 is a coefficient of the nonlinear resistance; and sgn(x ˙) is a sign function. The resistance of the first term on the right side of Eq. (7-b) acts on the speed linearly, and its gain changes periodically from a positive resistance to a negative resistance. Meanwhile the resistance of the second term is a positive one having a constant gain to act on the speed direction at the square of the speed. The temporal evolution of Eq. (7) was numerically obtained according to the Runge-Kutta method. The result of such calculation is partially shown in Fig. 8. In this diagram, there is observed an aspect where the state is shifted betwen the two local minimums. Such transition aspect of the state between the local minimums was observed for a long term, and no periodicity was noticed in the transition. In order to qualitatively grasp the mechanism of the transition between the local minimums, a Poincare map of the section (x, x ˙ 2 ) in each phase of the periodically changing nonlinear resistance was formed. There are three state quantities expressed by Eq. (7), including a variable x, a partial differential x dot, and a periodically changing nonlinear resistance. Representing the nonlinear resistance value by the phase of the sine function in Eq. (7), then the three state quantities are the variable x, the x dot and the phase. Therefore a Poincare map can be formed by establishing the phase at an adequate fixed value and plotting the x and x dot value on a quadratic plane. Fig. 9 is an enlarged graphic representation of a Poincare section (where the phase is (17/24)π) formed from the temporal evolution of 10,000 periods after stabilization to a steady state. In this diagram is observed a fractal structure in an aspect with fold of the path inherent in the chaos attractor. Figs. 10a to 10ℓ show the states of the Poincare section obtained by changing the phase from 0 to 2π. From the illustrated aspects of the Poincare section varied with the phase changes in one period, it is seen that such fractal structure is formed as a result of the extension and fold of the path which are repeated endlessly. Fig. 11 shows the aspect of changes caused in the Liapunov exponent when a parameter d 2 in Eq. (7-b) is changed. ("Advanced Synergetics", Hermann Haken, Springer-Verlag, Berlin (1983)). It is apparent therefrom that the range where the Liapunov exponent is positive corresponds to the region of chaos and also that the generation of chaos is general. (3) Application to back propagation learning (3-1) Method of calculation A chaotic learning is attempted by replacing the steepest descent method, which is employed for error back propagation (hereinafter referred to as BP), with the CSD method. In this case, the mechanism of the back propagation is left unchanged, and renewal of the interconnection weight is made to conform with Eq. (8) shown below. m w ij + ( w ij , ωt) = -ε▿E(w ij ) where w ij denotes a connection weight from unit i to unit j. However, in a binary (1 or 0) pattern learning, the connection weights may be diverged infinitely to achieve the upper and lower saturation values of a sigmoid function. For averting such a fault, there is considered a range of absolute values of practical connection weights, and the energy gradient is corrected in a manner to impose a penalty when the connection weight is in excess of such absolute value range. Final calculations are executed according to the following equations. f( w ij , ωt) = [d 0 sin (ωt) + d 1 ] w ij + d 2 w ij 2 sgn (w ij ) where w_limit denotes the range of absolute values of connection weights, and wed_limit denotes the energy gradient corrected by a penalty. (3-2) Learning of EXOR A learning of EXOR (exclusive logical sum) was attempted in a neural network of Fig. 12 by the CSD method. In such neural network, units U 0 , U 1 were arranged in an input layer A, units U 2 , U 3 in an intermediate layer B, and a unit U 4 in an output layer C, respectively. The parameters in Eq. (9) were set as follows: m = 0.95; d 0 = 0.09; d 1 = -0.10; d 2 = 1.00; ω = 0.003; w_limit = 8.0; wed_limit = 0.1 Fig. 13 illustrates transitions of the state obtained as a result of calculating mementary evolutions in 100,000 steps. There are plotted the connection weights in each period when the position of the periodic nonlinear resistance is π/2 , i.e., at the instant where the positive resistance portion is maximum and the state is close to the vicinity of the equilibrium point. Each of the squares in the uppermost row signifies, by its size, the learning square error per period. The nine rows of squares under the uppermost row signify six connection weights (w02, w12, w03, w13, w24, w34) and bias values (b2, b3, b4) of three units U2, U3, U4. The size of each white square represents a positive value, and that of each black square represents a negative value, respectively. According to the result of such calculations, a minimum solution was substantially obtained in each period. The states of interconnection at the individual instants were various, and no periodicity was noticed with respect to the way of appearance thereof. Subsequently an adequate initial value was set, and then another initial value was prepared by adding a slight perturbation thereto. And an operation of mutually comparing the respective temporal evolutions from such two initial values was repeated. As a result, it was observed that a discrepancy began to occur therebetween after the lapse of several periods, and then the transitions in the respective evolutions became entirely different from each other. This fact indicates that the temporal evolution in this system is extremely sensitive to the initial value and is unpredictable. And generation of chaos in the above learning process is presumed from the results thus attained. In case the dynamic characteristic of the search is periodic, as shown in Fig. 14a, the search process becomes a single limit cycle which advances merely through limited local minimum solutions. In this case, the possibility that the minimum solution is included in the group of such local minimum solutions is rendered lower in conformity with a decrease of the period length. And whether the limit cycle includes the minimum solution or not depends on the initial value. Meanwhile, when the period is infinitely long, the search comes to travel many local minimum solutions as shown in Fig. 14b, hence raising a possibility of arrival at the minimum solution. In other words, a chaotic search is achieved. (3-3) Possibility of the invention to "Dilemma of Stability and Plasticity" When the parameter d 2 in the CSD method is changed, it causes a change in the characteristic of local minimum transitions. In most cases, the state of interconnection is not changed so widely in an individual local minimum transition. However, there is repeated a process where a great change of the state occurs somewhere during progress of the transition and thereafter small state changes are induced continuously. Such dynamic characteristic is similar to intermittent chaos which enables hierarchical memory recall disclosed in the aforementioned "Memory Dynamics in Asynchronous Neural Network", and also in "On Constitution and Utilization of Significant Conceptual Space by Chaos Neutral Network" (Shingaku Giho, Natural Language Processing 71-5 (1989)), and "Nonlinear Dynamics and Information Processing" (Mathematical Science, 70, No. 311 (May 1989)). As viewed from the learning, the attribute of such intermittent chaos retains a possibility of serving as a means of solution for the "dilemma of stability and plasticity" in the requirement to be adaptive flexibly for a new pattern while preserving the memory structure obtained previously, as disclosed in "A Massively Parallel Architecture for A Self-organizing Neural Pattern Recognition Machine" (Computer Vision Graphics and Image Processing, 54-115 (1987) 37). In the case of searching an interconnection state adapted for a new environment, it may be rendered possible by the intermittent chaos to employ a scenario which first searches the vicinity of the current interconnection state while regarding the same as an initial value and, upon failure of finding an optimum solution, continues searching a solution space further apart therefrom. The aforementioned Eq. (7-b) may be so set as follows to give a periodicity. f(x, ωt) = [d 0 sin (ωt) + d 1 ] x 3 + d 2 x Although this invention is not exactly based on a biological view, it is expected that, if the chaotic dynamic model proposed by this invention is placed on the dynamic basis of the present known neural network models, such networks may be equipped with high flexibility to realize new dynamic characteristics. (4) Application to Hopfield network Relative to the Hopfield (interconnection type) network, there are proposed applications to optimization represented by a problem of salesman's round or the like, and also to an associative memory where a complete pattern is recalled from an incomplete input pattern. Here a notice is given particularly to the latter application, and a trial is conducted to render a memory recall process chaotic by introducing the CSD method into a Hopfield network. (4-1) Method of calculation The energy of the system is defined here as E = -Σw ij a i a j where a i denotes the output value of unit i consecutive in a range from -1 to 1; and w ij denotes the connection weight between unit i and unit j. The relationship between the output value of each unit and the internal state u i thereof is determined by a monotone increasing function given below. a i = 2 tanh u i - 1 where tanh signifies a sigmoid function, and u i signifies u i = j w ij a j The partial differential of the energy E in the unit u i is expressed as follows: ∂E/∂u i = (∂E/∂a i )(∂a i /∂u i ) = -(∂a i /∂u i ) Σ w ij a j Considering that ∂a i /∂u i in Eq. (14) is always positive, a temporal evolution equation for the internal state of the unit i is formed as follows according to Eq. (5). m u i + f( u i , ωt) = ε Σw ij a j where ε is a positive coefficient. Similarly to Eq. (9), a practical absolute value range of the unit i is set, and the energy gradient is so corrected as to impose a penalty when the absolute value is caused to exceed such range. Then final equations are as follows: f( u i , ωt) = [d 0 sin (ωt) + d i ] u i + d 2 u i 2 sgn ( u i ) where u_limit is the absolute value range of the internal state of the unit, and ued_limit is the energy gradient corrected by a penalty. (4-2) Calculational experiment An experiment was executed in such a manner that patterns of three characters "A", "J", "P" were embedded or stored as a memory in a network having 100 (10 x 10) units (a binary value 1 or 0 was embedded in each of 10 x 10 units to express a character A, J or P), and such patterns were chaotically recalled (i.e., patterns similar to the key pattern were successively recalled by the chaotic steepest descent method). The interconnection weights for embedding the memory are calculated according to the following equation. w ij = m a i m a j m where a i m is the value of the m-th pattern unit i. From the results of such calculational experiment for the back propagation learning, it was observed that any great change of the state became intermittent with an increase of the parameter d 2 . A notice is given here particularly to whether the same dynamic characteristic is also induced or not in the process of memory recall. In the experiment where the value of the parameter d 2 was gradually changed from 11.0 to 8.0, the initial state (key pattern) relative to each of such parameter values was set to the same character pattern "A", and the minimum transitions in 100 periods were observed. The parameters other than d 2 were set as m = 1.0, d 0 = 1.0, d 1 = -2.0, ω = 0.12, ε = 0.001, u_limit = 8.0, ued_limit = 0.1, respectively. Figs. 15a to 15e illustrate the minimum transitions caused when the parameter d 2 is changed to 10.5, 10.3, 10.2, 9.0 and 8.5, respectively. In these drawings are plotted the stable-duration states in the individual periods sequentially from the upper left to the lower right with the lapse of time. A binary 1 or 0 is stored in each of 10 x 10 units so that a character A (m = 1), J (m = 2) or P (m = 3) can be displayed as a whole. And connection weights (coefficients) between the individual units are determined according to Eq. (16). This signifies that three (m = 3) patterns have been learned (embedded) [learning phase]. Subsequently a character A is inputted as a key pattern (initial value), and the patterns similar to the key pattern are recalled successively by the chaotic steepest descent method [memory recall phase]. The upper left pattern illustrated in each of Figs. 15a to 15e is the key pattern inputted as an initial state, and the right pattern adjacent thereto is the one recalled first from the key pattern in the 10 x 10 units. (This corresponds to one period.) And the next right pattern adjacent thereto is the one associated in the next period. In each of Figs. 15a to 15e, there are shown the patterns in 100 periods. The results of the above experiment are summarized as follows. When the parameter d 2 is increased to be greater than 10.5, no state transition occurs from "A" to any other pattern. In case the parameter d 2 is set to 10.5, there occurs intermittently a transition to a false attractor "A|P" where "A" and "P" are superposed on each other. If the parameter d 2 is decreased to 10.3, a transition between "A" and "A|P" becomes frequent with intermittent occurrence of a new transition to "P". When the parameter d 2 is changed to 10.2, a transition to "J" is additionally induced. With a further decrease of the parameter d 2 to 9.0, there begins to appear an inverse pattern where on/off (1/0) of each pattern is inverted. In this stage, such pattern inversion is merely intermittent, and once an inversion occurs, transitions among the four patterns of "A", "A|P", "P" and "J" are caused successively within that range. When the parameter d 2 is further decreased to 8.5, transitions among the entire patterns including inverse ones come to occur in disorder. Thereafter the relationship between the parameter d 2 and the range of mutual transition patterns remains substantially unchanged despite any further change of the initial state. It is presumed from the above results of the experiment that, by control of the parameters, the range of searching the memory is varied through the intermittent chaos and a decisive branch structure is existent therein. (4-3) Consideration Here is given a consideration on the relation between the branching process derived from changes of the parameter d 2 and the memory structure embedded in the network. Fig. 16 illustrates a matrix of mutual Hamming distances among eight patterns including a false attractor pattern and an inverse pattern (where white and black are inverted), wherein the measures of similarity among the memory patterns are expressed as a tree structure by a single linkage clustering method (nearest-neighbor algorithm which is one of the hierarchical clustering techniques). Also with regard to the branching process, a group of patterns where mutual state transitions are caused relative to the individual values of the parameter d 2 are clustered and expressed as a tree structure. Comparing such two tree structures with each other, it is seen that they are mutually equivalent as shown graphically in Fig. 17. This graph indicates an interesting result that the branch structure in the chaotic memory search is superposed on the supermeasuring space based on the similarity degree of the memory patterns. Furthermore, such result is considered to correspond also to the tree-like memory shown in the network system which is composed of neural elements having probability fluctuations in the cited reference "Information Processing of Brain and Chaos". The chaotic steepest descent method has been proposed hereinabove. Generation of chaos based on the proposed dynamic model is presumed from the fold of the path observed in the calculational experiment of the one-dimensional system. As a result of applying such dynamic model to the learning algorithm of error back propagation, it has been confirmed that state transitions are caused by the intermittent chaos during the learning process. In the learning, such intermittent chaos is considered to serve as a clue for one solution to the aforementioned "dilemma of stability and plasticity". Further as a result of applying this dynamic model to memory recall in the Hopfield network, the values of the parameters are influential on the memory search range. In addition, the cluster structure of the memory pattern is reflected on the branching process of the memory recall. Thus, there is attained a conclusion from the above that an effective dynamic characteristic can be achieved by incorporating the chaos dynamic model in a neural network based on the Liapunov stability. In further, we studied an alternative of (16-a), replacing the penalty term by a capacitance term as shown in (16-c). m u + f( u i, wt) + Kui = εΣWijaj where K is a capacitance coefficient. We obtained the results that the alternative shows the same characteristics. (5) Application to robot path planning With the recent progress of factory automation, it has become customary to employ robots for executing a variety of works. In actuating a robot for execution of a predetermined work by displacing an arm (manipulator) of the robot from one predetermined position to another, the robot is controllable with relative facility if there exists no obstracle in the working space. In most cases, however, various obstracles other than a desired object are existent in the working space. When any obstracle exists in the working space, the manipulator needs to be so displaced as not to touch the obstacle, whereby the control thereof is not exactly simple. As an exemplary means to avoid an obstacle, there is known a potential method as disclosed in "Avoiding An Obstacle" (Journal of Artificial Intelligence Society, Nov. 1990, pp. 731 - 736). However, such potential method has a disadvantage that, when the manipulator has fallen into a local minimum of the potential, it is impossible for the manipulator to escape therefrom, and consequently the robot path comes to a halt at the position of such local minimum. Some means are also disclosed in the above cited reference with regard to escape from a local minimum, but any of them merely indicates a principle and offers none of specific process for escape. (5-1) Procedure for robot path planning Fig. 18 is a block diagram showing the constitutuion of an exemplary apparatus contrived for planning a robot path by the application of the signal processing method according to the present invention. This apparatus comprises a controller 5 (such as a work station) which consists of a keyboard 1 for inputting various commands to a CPU 2, the CPU 2 for executing various calculations in response to the commands from the keyboard 1, a ROM 3 for storing a program or the like, and a RAM 4 for storing various data in compliance with requirements; and an articulated robot 13 which consists of a robot controller 11 supplied with a program or data via a cable RS232 or the like, and a manipulator 12 to perform a predetermined work under control of the robot controller 11. Now the operation of the above apparatus will be described below with reference to a flow chart of Fig. 19. First the keyboard 1 is actuated to input the position data of an obstacle (not shown) existing in the working space of the manipulator (Step S1). Then, the position data of a desired goal for a hand 12a of the manipulator 12 is inputted (step S2). Thereafter, the initial position data of the manipulator 12 is inputted (step S3). Upon input of such data, the CPU 2 transmits the data to store the same in the RAM 4. Subsequently, according to the aforementioned chaotic steepest descent method, the CPU 2 calculates the next position to which the manipulator 12 is to be displaced from the initial position inputted in step S3 (step S4). In this stage, the calculation is so executed as to ensure that any portion of the manipulator 12 is kept out contact with the obstacle (of which position data is inputted in step S1) and also that the hand 12a of the manipulator 12 is moved toward the desired goal (of which position data is inputted to step S2). It is a matter of course that, if any portion of the manipulator 12 happens to be in contact with the obstacle during an approach to the goal, there may occur a case where a predetermined point receding from the goal is selected. Upon completion of calculating the predetermined position next to the initial position, the calculated value (corresponding to the next position) is stored in the RAM 4. After the next position of the manipulator 12 is thus obtained, the CPU 2 makes a decision, upon displacement of the manipulator 12 to the calculated position, as to whether the hand 12a has already arrived at the goal inputted in step S2 (step S5). If the result of such decision is negative, the operation reverts to step S4, and the next displacement position is calculated according to the chaotic steepest descent method with reference to the preceding calculated position (current position). Such process is repeated until arrival of the hand 12a at the goal. The calculation is terminated upon arrival of the hand 12a at the goal, and the time-series data of the displacement position obtained in step S4 is outputted (as robot path data or program) to the robot controller 11 [step S6]. In response to the robot path data or program thus received from the CPU 2, the robot controller 11 displaces the manipulator 12 in accordance with the input data or program, whereby the manipulator 12 is displaced properly while being kept out of contact with the obstacle and finally the hand 12 thereof arrives at the desired goal. Now a description will be given on the chaotic steepest descent method adopted for calculation of the robot path. Supposing that the manipulator 12 (of the articulated robot 13) has n axes, the attitude of the manipulator 12 can be expressed by a rotation angle vector q of Eq. (18) in each axis. In this equation, the vector is denoted with a horizontal line added above q. q = (q1, q2, q3 ..... qn) When the manipulator 12 takes an attitude vector q, the proximity to a near obstacle is expressed by a function of Eq. (19) as follows. f ( q ) The function of Eq. (19) indicates a monotone increase in accordance with a reduction of the distance between the obstacle and the manipulator 12. The proximity of the hand 12a to the goal is expressed by a function of Eq. (20), where x g is a vector corresponding to the goal of the hand 12a, and x is a vector corresponding to the current position of the hand 12a. g ( x , x g ) The function of Eq. (20) indicates a monotone decrease in accordance with an increase of the proximity to the goal. Since the vector q is uniquely determined from the vector x, Eq. (21) is obtained as follows. g( x , x g) = g(r( q ), x g) = G( q , x g) The coordinate system of the working space of the manipulator 12 represented by x1, x2 as shown in Fig. 20 for example (where the goal is represented by coordinates xg1, xg2) can be converted to another coordinate system of Fig. 21 represented by rotation angles q1, q2 of the arms of the manipulator 12. The energy of such coordinate system is expressed as follows. E( q , x g) = k f f( q ) + k g G( q , x g) In the above, k f and k g are constants for weighting f (function to the obstacle) and G (function to the goal) respectively to make adjustment in such a manner that the energy of the system expressed by Eq. (22) becomes minimum when the manipulator 12 has arrived at the goal. Namely, the energy E increases in accordance with an approach of each portion of the manipulator 12 to the obstacle or decreases in accordance with an approach of the hand 12a to the goal. Determination of a robot path corresponds exactly to calculation of a temporal evolution of the vector q obtained in the process of searching, from the vector q 0 representing the initial attitude (initial position) of the manipulator 12, the vector q g (attitude to the goal) which is a solution to minimize the energy E. More specifically, the working space of the manipulator 12 shown in Fig. 20 is converted to the coordinate system of rotation angles shown in Fig. 21, and there is calculated a path up to a desired goal with sequential displacements by way of the position where the energy is minimum in such coordinate system. In the steepest descent method, it is ensured that, as expressed by Eq. (23), the direction of change of the vector q is coincident with the direction of the energy gradient at the relevant point and also that the temporal evolution of Eq. (24) obtained by rewriting Eq. (23) to a continum is converged to a minimum. Eq. (24) represents the Liapunov stability. Δq = -ε▿E( q , x g ) where ε is a positive constant. q = -ε▿E( q , x g ) Relative to the above, Eq. (25) signifies Eq. (26) as shown below. ▿E( q , x g ) ∂E(q, x g )/∂q Eq. (27) of motion is obtained by including a quadratic differential into Eq. (24) and introducing an inertia term (first term) and a divergence term (second term) also into Eq. (24). where m stands for a mass (m > 0), and d for a resistance (d > 0). In this case as well, there is acquired a dynamic characteristic that any small local minimum is skipped over by an inertial force, and a final point of arrival is definitely one of local minimum solutions as shown in Fig. 2, but it is not ensured that convergence to a minimum solution is attained without fail. Therefore, as expressed in Eq. (28), a means is contrived to alter the structure of the asymptotic convergence to a minimum by introducing an adequate nonlinear resistance into the divergence term (second term) on the left side of Eq. (27). As described above, Fig. 3 shows an exemplary case of introducing a nonlinear resistance which serves as a negative resistance at a low speed or as a positive resistance at a high speed. In this case, Eq. (28) does not represent the Liapunov stability any longer. However, as shown in Fig. 4, the path obtained is stably converged to a limit cycle where, in a steady state, the minimum is at the center, and there is no alteration with respect to the composition that the path is led into the minimum basin. For the purpose of unstabilizing the path obtained from Eq. (28), an attempt is made to periodically change the nonlinear resistance characteristic as expressed in Eq. (29). In order to transit the limit cycle sequentially to other local minimum solution, the limit cycle is unstabilized periodically. For this purpose, the negative portion of the nonlinear resistance is periodically changed to be greater or smaller as shown in Fig. 1. When the positive or negative resistance value is changed with a relatively slow period (ω), the path is rendered stable in the phase of increasing the positive resistance and asymptotically approaches the minimum solution, whereas the path is rendered unstable in the phase of increasing the negative resistance and is urged to deviate from the minimum solution. It is therefore presumed that, in a proper procedure of changing the resistance, the path is caused to travel chaotically from one local minimum solution to another. More specifically, if a periodically changing nonlinear resistance is introduced, the tempoeral evolution of the equation is such that, as graphically shown in Fig. 5, the path comes to sequentially skip over, for example, two minimum solutions 1 and 2 enclosed with circles in the diagram. (5-2) Application to articulated robot Hereinafter a description will be given with regard to an embodiment contrived by applying the present invention to a robot equipped with a three-axis manipulator 12. The following is a simulation of automatically preparing a robot path plan which enables a hand 12a of the three-axis manipulator 12 to arrive at a desired goal while avoiding any obstacle. In the practical manipulator 12, there exists a limit relative to the rotation angle of each axis. Therefore, in this simulation where such limit is taken into consideration, Eq. (30) representa tive of a rotation angle energy is additionally introduced into Eq. (22) of energy. R( q ) The value of Eq. (30) indicates a monotone increase in accordance with an approach of the vector q to the limit cycle, so that Eq. (22) is rewritten as follows. E( q , x g ) = k f f( q ) + k g G( q , x g ) + k r R( q ) where k r is a constant for weighting R (function to the limit angle). The energy relative to the obstacle conforms with Eq. (32) for example. where x is the shortest distance between the relevant portion of the manipulator 12 and the obstacle when the manipulator has an attitude vector q; and x f is a constant. The energy is zero when the shortest distance is greater than x f . The energy G relative to the distance to the desired goal conforms with Eq. (33) for example. G( q , x g ) = -k g1 (x g - x) 2 - k g2 (x g - x) where x g is a constant (necessary to be greater than any presumed value of x), and x denotes the distance between the goal and the hand 12a having an attitude vector q. The energy R relative to the rotation angle conforms with Eq. (34) for example. where Qi is an allowance angle up to the limit angle of the axis i, and q s is a constant. Eq. (35) is an exemplary formula of the chaotic steepest descent method used for calculating the temporal evolution of the path of an articulated robot. m q i + f( q i, ωt) = -ε∂E( q , x g )/∂qi f( q i, ωt) = [d 0 sin (ωt) + d 1 ] q i + d 2 q i 2 sgn ( q i) where m, ε, d 0 and d 2 are adequate positive coefficients; d 1 is a negative coefficient; and sgn is a sign function. Eq. (36) corresponding to one term of Eq. (35) serves for approximation as represented by Eq. (37) in calculating numerical values. ∂E( q , x g )/∂qi ∂E( q , x g )/∂qi = [E(qi+▵q, x g ) - E(qi, x g)]/Δq The left side of Eq. (37) increases ▵q with respect to the axis qi to detect the variation component of the energy. Figs. 22a to 22h and 23a to 23e illustrate the simulation process, wherein four black dots denote obstacles, and one white circle denotes a desired goal of the hand 12a. As obvious from such figures, the manipulator 12 advances via a predetermined path (including low-energy positions), and the hand 12a arrives at the goal without contact with any of the obstacles.

Claims: A method of processing signals within a neural network to successively position a robot (12) from an initial position to a desired position by determining an optimum path for the robot between the initial position and the desired position comprising the steps of: receiving a data representative of the initial position of the robot, the desired position of the robot and undesired path coordinates; repetitively calculating, within the neural network, successive coordinates of the optimum path of the robot (12) based upon the actual motion of the robot, the data representative of the initial position of the robot, the desired position of the robot (12), undesired path coordinates and an equation of motion, and successively positioning the robot (12) in accordance with the calculated successive coordinates, characterized in that said equation of motion includes a term of nonlinear, time periodic resistance. A method according to claim 1, wherein a range of absolute values of connection weights between units is limited by the equation of motion. A method according to claim 1 or 2, wherein said equation of motion is expressed as m x + f( x ,ωt) = -ε▿E(x) in which the term of said nonlinear resistance is represented by f( x ,ωt) = {d 0 sin (ωt) + d 1 } x + d 2 x 2 sgn (x). A method according to claim 1, comprising the steps of: storing a plurality of patterns in a Hopfield neural network, the patterns representative of paths of the robot (12); searching within the neural network for a stored pattern, the selected stored pattern representative of successive coordinates of the optimum path of the robot, the searching based upon data representative of the initial position of the robot (12), the desired position of the robot, undesired path coordinates and an equation of motion, and successively positioning the robot (12) in accordance with the selected stored pattern, said equation of motion includes a term of nonlinear periodic resistance. A method according to claim 4, wherein a range of absolute values of connection weights between units is limited by the equation of motion, wherein said equation of motion is expressed as m x + f( x ,ωt) = -ε▿E(x) in which the term of said nonlinear resistance is represented by f( x ,ωt) = {d 0 sin (ωt) + d 1 } x + d 2 x 2 sgn (x).

Inventors: TANI JUN, TANI, JUN
Applicants: SONY CORP, SONY CORPORATION
Application year: 1991
Main classification: B25J9
IPC codes: B25J9