System for displaying the present position of a moving object

Abstract: A system and method for displaying a present position of a moving object on a road are disclosed in which a road map information surrounding the present position of the moving object is displayed together with the present position of the moving object and the present position of the vehicle which is derived on the basis of output signals of a running distance sensor and running direction sensor is automatically corrected through a pattern recognition between a form of a road on which the vehicle has travelled and a form of a running locus of the moving object.

Description: BACKGROUND OF THE INVENTION (1) Field of the invention The present invention relates to a system for displaying the present position of a moving object, applicable to a navigation system for a vehicle. (2) Background of the art A Japanese Patent Application First Publication (non-examined) Showa 58-223016 published on December 24, 1983 exemplifies a previously proposed system for displaying the present position of a moving object such as a vehicle on a road map image. In the previously proposed system, a running distance of the vehicle is detected by a running distance detector, a travel direction is detected by a direction detector, a displayed map is sequentially updated as the present position is moved such that a displayed point indicating the present position of the vehicle is passed through the displayed map, and the displayed point is synthesized (superposed) so as to be displayed on the updated map. In more details, the present position (X t , Y t ) of the moving object at a certain time t in a plane of X-Y coordinates is derived from the following equation. X t = X t-1 + Δℓ cos ϑ t Y t = Y t-1 + Δℓ sin ϑ t In the above two equations, (X t-1 , Y t-1 ) denotes a previous position of the vehicle before ΔT second, Δℓ denotes the running distance within a time Δt, and ϑ t denotes the running direction within the time Δt. However, since the previously proposed system calculates the present position by accumulating the running distances per unit time in the X-axis direction and in the Y-axis direction, respectively, detection errors of the running distance detector and also of the direction detector are accumulated. Thus, as the vehicle runs for a long period of time, large positional errors for the present position will eventually occur. A system having the features a) to g) of appended claim 1 is known from the document EP-A-0 270 911. Further, this prior art system comprises means which are similar to the means h), i), and m) of the appended claim 1. This system computes correlation coefficients concerning the correlation between a road form pattern and a running locus form pattern. The correlation coefficient whose error is smallest with respect to an estimated location is selected, and the registered estimated location corresponding to said selected correlation coefficient is outputted as the present location. A similar system is known from the document EP-A-0 110 171. This document however merely describes that pattern recognition is provided between prestored road form patterns and a running locus form pattern; no details are given concerning the pattern recognition. It is the object of the present invention to provide a system for very accurately detecting and displaying the position of a moving object. This object is solved by a system according to the teaching of appended claim 1. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic circuit block diagram of a system for displaying the present position of a moving object in a preferred embodiment according to the present invention. Fig. 2 is a schematic drawing of a V-RAM shown in Fig. 1. Fig. 3 is a general flowchart for explaining a series of processes executed in the preferred embodiment shown in Fig. 1. Fig. 4 is a detailed flowchart of a locus data store subroutine (step 150) in Fig. 3. Fig. 5 is an explanatory view of a circular buffer in which a locus data for each running distance per unit time is sequentially stored. Fig. 6 is an explanatory view of memory locations of a D-RAM shown in Fig. 1 in which the locus data for each predetermined distance run is sequentially stored. Fig. 7 is an explanatory view of a supplemental (update) action of the locus data stored in the memory locations. Fig. 8 is a detailed flowchart for explaining details of a manual correction subroutine (step 180) shown in Fig. 3. Fig. 9 is a detailed flowchart for explaining details of a procedure of a map matching subroutine (step 240) in Fig. 4. Fig. 10 is an explanatory view for explaining a procedure in a case where points of candidates detected on a road are sorted in an order in which a point on a road which is nearest to the present position is first. Fig. 11 is a detailed flowchart for explaining details of a spiral search subroutine (step 400) shown in Fig. 9. Fig. 12 is an explanatory view for explaining an arrangement order of pixels in a set state of a block on a displayed image for the spiral search in Fig. 11. Fig. 13 is an explanatory view for explaining a next block position search in Fig. 11. Fig. 14 is an explanatory view for explaining the spiral search for the next block position in Fig. 11. Fig. 15 is an explanatory view for explaining an area of a searched block in Fig. 11. Fig. 16 is a flowchart for explaining a procedure of selecting a point of candidate through a sequential relaxation executed in a step 440 in Fig. 9. Fig. 17 is an explanatory view for explaining the memory locations of the D-RAM in which promising points of candidates are sequentially registered. Figs. 18 and 19 are explanatory views for explaining an action as executed in step 610 of Fig. 16 for searching points on the road by sequentially relaxing a locus form. Fig. 20 is a detailed flowchart for explaining another procedure for selecting points of candidate through sequential relaxation. Fig. 21 is an explanatory view of the locus data in a case when the locus data do not partially correspond to those on the road in Fig. 20. Fig. 22 is a detailed flowchart for explaining the details of a pattern match subroutine (step 460) shown in Fig. 9. Fig. 23 is an explanatory view for explaining an action of the pattern matching. Fig. 24 is an explanatory view for explaining the action of the pattern matching. Fig. 25 is an explanatory view for explaining an action of detecting the residual square sum of distances between locus data and each point on the road which corresponds to a locus data. Fig. 26 is an explanatory view for explaining an action of calculating a minimum value Emin of the residual square sum. Fig. 27 is a flowchart for explaining details of a match point particular subroutine in Fig. 9. Figs 28 to 31 are explanatory views for explaining actions in the case where the present position is corrected on the basis of the standard deviation and the correlation coefficient . DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Reference will hereinafter be made to the drawings in order to facilitate a better understanding of the present invention. Fig. 1 shows a hardware construction of a route guide system for a vehicle to which a system for displaying the present position of a moving object according to the present invention is applicable. The route guide system shown in Fig. 1 includes a microcomputer having a CPU 1 which governs the whole system operation. A system bus 2 is connected to I/O controllers 3 and 4, an SCSI controller 5, graphic controller 6, V (Video)-RAM 7, ROM 8, D (Drive)-RAM 9, Kanji (Chinese Character) ROM 10, and back-up RAM 11. A directional sensor 12 is connected to the I/O controller 3 via an amplifier AMP 14 and A/D converter 15, and a distance sensor 13 is connected to the I/O controller 3. (The structure of the directional sensor 12 is exemplified by U.S. Patent No. 4, 442,609 issued on April 17, 1984, and the structure of the distance sensor 13 is exemplified by U.S.Patent No. 4, 699,507 issued on October 13). A key 16 provided on a key board for operating various inputs for the system, e.g., an initially set position of the vehicle, is connected to the I/O controller 4 and a speaker 17 is connected to a sound generator 18. On the other hand, a CD-ROM 19 and a CRT 20 are connected, respectively, to the SCSI controller 5 and graphic controller 6. The CRT 20 which functions as a VDT (Visual Display Terminal) mainly carries out a route guide of the vehicle to a destination for a vehicle occupant including a driver, and an image information to be displayed on the CRT 20 is temporarily written into the V-RAM 7 and the map information to be displayed on the CRT 20 is previously written into the CD-ROM 19. Signal outputs of a GPS (Geographic Positioning Satellite) Rx 22 and a beacon Rx 23 can be utilized via an expanded I/O controller 21 together with those derived from the direction sensor 12 and distance sensor 13 for the confirmation and detection of the present absolute position of the vehicle. The CPU 1 executes a system program (Operating System, OS) stored in a ROM 8 to perform an overall control of the system. Fig. 2 shows an explanatory view of the contents of the V-RAM 7 shown in Fig. 1. In Fig. 2, the V-RAM 7 includes a first V-RAM 7A for depicting a form of a road R, a second V-RAM 7B for depicting place names, etc., a third V-RAM 7C for displaying the present position or locus K of the running vehicle, and a fourth V-RAM 7D for depicting enlarged and scale-down maps. The V-RAM 7A for depicting the form of the road is constituted so as to provide a working area for drawing road data, as will be described later, and for performing a pattern matching of the road map data and locus data, as will be described later. It is noted that in a case where various kinds of information are displayed on the CRT 20, some pages of each V-RAM 7A through 7D are arbitrarily retrieved, superposed, and displayed through the CRT 20. Fig. 3 shows a general flowchart of a control program stored in the ROM 8 shown in Fig. 1 on which the system is controlled. The whole construction of the control program will hereinbelow be described with reference to Fig. 3. In a step 100, an initialization is carried out upon start of the main program. In a step 110, an initial position of the vehicle is inputted and the present position of the vehicle and peripheral road map around the present position of the vehicle are simultaneously displayed by the CRT 20. Upon completion of the initialization and display processing of the present position, the system is in operation and in steps 120, 130, the present position detected by the direction sensor 12 and distance sensor 13 causes a sequential rewrite and a synthetic display of the displayed map on the screen of the CRT 20. When such synthetic (superimpose) display processings on the present position and its peripheral road map are repeated, the CPU 1 determines in a step 140 whether the vehicle has advanced over a unit distance denoted by Δℓ₁. If yes in the step 140 (the vehicle has advanced over Δℓ₁), the routine goes to a subroutine (step 150) for storing a locus data, as will be described later. Thus, a calculation processing such as to derive the present position of the vehicle utilizes the locus data which is essential to the present invention. On the other hand, in a case where the vehicle has not advanced over Δℓ₁ (No in the step 140), the routine goes to a step 160 in which the CPU 1 determines whether a key input is present. If no key input is present (No in the step 160), the series of processings of the steps 120 through 150 is repeated. If Yes in the step 160 (the key input is present), the CPU 1 determines whether a manual correction is approved in a step 170. If Yes in the step 170 (manual correction is needed), the routine advances to a manual correction subroutine (step 180). If no manual correction is needed in the step 170 (No), the CPU 1 determines whether the present position display processing is ended in a step 190. If yes in the step 190, the display processing is ended. Next, the subroutine of manual correction processing will be described with reference to Fig. 8. The subroutine shown in Fig. 8 is executed when an automatic correction for displaying the present position, as will be described later, becomes impossible. For example, this routine is executed in a case where the vehicle runs for a long distance on a road whose map is not stored into the CD-ROM 19 or in a case where the vehicle is transported on a marine route when using a ferry boat. In steps 300 through 320, the setting of the vehicle present position is carried out by displaying a map on the screen of the CRT 20 and moving a cursor (not shown) through an operation of the key 16. Fig. 4 shows the subroutine (step 150) for storing the locus data. The essential portion of the system in the preferred embodiment will be described in accordance with the subroutine shown in Fig. 4. Upon start of the program, movement components (Δx i , Δy i ) in x- and y-axis directions for each unit distance Δℓ₁ are stored as the locus data in a step 200. The locus data is stored into a circular buffer 30 installed in the D-RAM 9 as shown in Fig. 5. The circular buffer 30 is constructed so as to store a required number of locus data in such an order as (Δx₁, Δy₁), (Δx₂, Δy₂), --- (Δx M , Δy M ) by a past M number of the locus data. In the next step 210, the CPU 1 determines whether a minor total of movement components in the x-axis (horizontal) direction or y-axis (vertical) direction from among the locus data stored in the step 200 exceeds a predetermined valve Δℓ₂. This is because the movement components stored in the step 200 are subjected to more precise discrete processing. In a step 210, the CPU 1 determines whether one of the minor totals of the movement components in the x-axis direction and y-axis direction from among the locus data stored in the step 200 exceeds Δℓ₂. If Yes in the step 210, i.e., whenever one of the minor sums of the movement components in the x-axis and y-axis directions has exceeded Δℓ₂, in order to further coarsely providing a discrete processing for the movement components stored in the step 200 for later processing conveniences, the routine goes to a step 220. For example, supporting that Δx₁ + Δx₂ + Δx₃ = Δx t , Δy₁ + Δy₂ + Δy₃ = Δy t , and the minor total in the x-axis direction, i.e., Δx t is expressed as Δx t ≧ Δℓ₂, the present data (Δx t , Δy t ) are stored in step 200 as the locus data (Δx i ', Δy i ') to be subjected to a pattern matching. Fig. 6 shows a memory configuration of memory locations 31 within the D-RAM 9 in which the above-described pattern matching locus data (Δx', Δy') are stored. Then, in a step 230, the CPU 1 determines whether N number of the locus data for pattern matching are stored (N < M). If Yes, i.e., the N number of the locus data are collected as shown in Fig. 6, the routine goes to a step 240 in which a map matching subroutine is executed as will be described later. Upon completion of the processing of step 240, the routine goes to a step 250 in which No number of locus data from the N number of the collected pattern matching locus data (Δx', Δy') are deleted in the older order (provided that No < N). Fig. 7 shows a processing method executed in the step 250. In the memory locations 31, (N - No) number of the data are left therein. Then, as shown in (b) of Fig. 7, the map matching processing is executed in the step 240 whenever the No number of the pattern matching locus data (Δx', Δy') are newly supplemented into the corresponding memory locations 31. Fig. 9 shows a detailed flowchart of the above-described map matching subroutine (step 240). In a step 400, a point of candidate which is determined as the present position of the vehicle on any one of roads surrounding the present position is spirally searched (refer to Fig. 10). If the point of candidate to automatically correct the present position is present on any one of the peripheral roads as the result of the above-described spiral search in the step 410, the routine goes to a step 420 in which an approximate point vanish processing, as will be described below, is executed. That is to say, in the processing of the step 420, any two points of candidate whose mutual interval distance is too approximate (too short) is deleted. For example, if in any two points of candidate, the mutual distances are shorter than ℓ₃ which corresponds to three adjacent pixels on the V-RAM 7A, one of the two points of candidate is deleted (vanished). The step of 420 can, thus, reduce a number of times complicated calculations are carried out at the subsequent steps of calculating the present position on the basis of the points of candidate for the present position of the vehicle. In a sorting processing of the candidate points of a step 430, the points of candidates derived in the preceding processing (steps 400, 410, 420) are rearranged in an order of the candidate points which are nearer to the present position (, i.e., the nearest point of candidate is first). As shown in Fig. 10, in a case where the points of candidates are searched spirally in an arrow-marked direction denoted by S with the present position of the vehicle P as the center, the points of candidates are derived in such an order as 1 ○ → 2 ○ → 3 ○ → 4 ○ → 5 ○ in accordance with the order of searching on the road R. In Fig. 10, a point of candidate nearest to the present position is 3 ○. However, the searched point 3 ○ of the candidate is later in the order than 1 ○ and 2 ○, as appreciated from Fig. 10. Then, the processing of step 430 causes an order rearrangement of the points of candidate in such an order that each point of candidate nearer to the present position P becomes earlier. Hence, in the example of Fig. 10, the order is rearranged as 3 ○ → 2 ○ → 1 ○ → 4 ○ → 5 ○. In a step 440, an overlapping of the running locus and road for each point of candidate derived heretofore is carried out, a selection of the point of candidate is carried out in such a way that a point at which the overlapping can be made through a "relaxation" (explained below) within a range defined by a certain allowance limit is determined as a promising point of candidate. In a step 450, the CPU 1 determines whether the promising point of candidate is left as the result of such a selection. If Yes in the step 450 (the promising point of candidate is left), the routine advances to a pattern matching subroutine in a step 460. In the step 460, the CPU 1 carries out the rotation of the running locus trajectory or form, with the promising point of candidate as a center, as will be described later, and derives an error value in relation with corresponding points on the road with respect to the promising point of candidate. In a step 470, the CPU 1 determines whether at least one promising point of candidate such that the error value is below a threshold value is present. If there is a promising point of candidate whose associated error value is below the threshold value in the step of 470, the routine goes to a step 480 in which a matched point specifying subroutine is executed. In step 480, the present position of the vehicle is corrected to the most suitable position from among the plurality of promising points of candidate on the basis of the result of calculations of a standard deviation and correlation coefficient associated to each promising point of candidate, as will be described later. Hereinafter, the procedure of steps 400 through 480 will be described in detail. Fig. 11 shows a detailed spiral search subroutine in the step 400. In the processing shown in Fig. 11, a width of an area to be searched is calculated in a step 500. The width of the area is denoted by a circle having a radius of R with the present position as a center, as shown in Fig. 15. To calculate the radius of R, an output error of the direction sensor 12, drawing error of the map, and accuracy value when the position was previously corrected are used as base values. The value of R may be rough. For example, hence, the value of R can be derived in accordance with the following equation: R = R₋₁ + a x (b - E) + c x L In the equation described above, R₋₁ denotes the value of R at the previous time of correction, E denotes the probability density associated to previously corrected position, L denotes the running distance from a previously corrected position, and a, b, and c denote constants. It is noted that the probability density E can be derived from the following equation. In the equation described above, denotes a value of x coordinate of the previously position corrected point, y denotes a value of the y coordinate of the previously position corrected point, x denotes the average value of the x-axis coordinates of the previous promising points of candidate, y denotes the average value of the y-axis coordinates of the previous promising points of candidate, σx denotes the deviation of the x coordinates of the previous promising candidate points, σy denotes the deviation of the y coordinates of the previous promising points of candidate. It is noted that the positional error is independent in the x axis and y axis directions and accords with a normal distribution. When the radius R of the area to be searched is derived through the processing of the step 500, the CPU 1 searches in a step 510 whether a point on the road is present in the circle having the radius of R. Such a searching as described above in the step 510 is carried out to check whether a point on the road is present within the square-formed block 32 having each side of three parallel pixels drawn on the V-RAM 7A (for drawing the form of road), as shown in Fig. 12. That is to say, the CPU 1 determines whether the block 32 constituted by pixels of 1 through 9 is set spirally in the clockwise direction, the pixel placed on the center being 1. If the pixels 1 through 9 which are spirally set as described above are present, the CPU 1 determines that the point on the road is present within the corresponding block (Yes in the step 510) and determines the point of the road within the block thus found present as one point of candidate in a step 550. On the other hand, if the pixels within the searched block are not set in a state shown in Fig. 12, the calculation of the block position next to be searched is executed in a step 520. The calculation of the subsequent block position is executed in such a way as in a spiral form as denoted by the arrow-marked direction S with the present position P as a center so as not to overlap with the block which was previously searched, as shown in Fig. 13. Fig. 14 is an explanatory view of the result of calculation of the subsequent block position. After the pixels set state of the first block 32a are searched at the first place, the CPU 1 calculates the subsequent block positions to be spirally searched in the arrow-marked direction S in such an order as 1, 2, 3,---, 10, --, as shown in Fig. 14. In a step 530, the CPU 1 determines whether the next block position thus calculated falls in a radius of R with the present position P as a center. As shown in Fig. 15, the CPU 1 determines that r < R and it falls in the area (Yes) and the routine goes to a step 540 in which the set state of each pixel in the block 32 is determined. If the pixels are spirally set in the step 540 (Yes), the CPU 1 determines that a point is present on the road within the block and the point on the block is detected as the point of candidate in a step 550. On the other hand, if the pixels within the block to be searched are not in the spirally set state and the corresponding point on the road is not detected (No in the step 540), the new subsequent block search is executed in the order shown in Fig. 14. Such a processing as described above (steps 520 through 550) is executed for all blocks which fall in the radius R of the circle with the present position P as a center. In this way, when the point of the road is derived as the point of candidate in the circle of radius R with the present position P as the center, the processings of the steps 410 through 430 are carried out. Then, such a processing as the selection of the point of candidate through a sequential relaxation is carried out. Fig. 16 is a detailed flowchart of the above-described step 440 shown in Fig. 9. In the above-described processing, any one point on the road detected in the processing of step 550 is selected in a step 600. In a step 610, the CPU 1 carries out such processings that the locus form is sequentially relaxed on the basis of the selected point of candidate, searching corresponding points on the road. As shown in Fig. 18, suppose that the selected point of candidate is (xd, yd). The CPU 1 subtracts the N order data (Δx N' , Δy N' ) which is the last data of the locus data stored in the memory locations 31 from the selected point of candidate (xd, yd). This derives the coordinates (Kx n-1 , Ky n-1 ) before one unit distance from the present position when the locus K itself is parallel transformed onto the road. That is to say, Kx n-1 = xd - Δx N' , Ky n-1 = yd - Δy N' . (Provided that Kxn = xd and Xyn = yd) To pick up a point on the road corresponding to (Kx n-1 , Ky n-1 ), the CPU 1 searches whether the point on the road is present within a range of ± ϑ°, with the point of candidate (Kxn, Kyn) shown in Fig. 18 as a center, with the running direction at the point of candidate (Kxn, Kyn) as a reference, and on a circumference of a circle having a radius expressed as follows : √ (Δx N' )² + (Δy N' )². Then, if such a point as defined as above is present, this point is set as the corresponding point (Tx n-1 , Ty n-1 ) on the road, corresponding to (Kx n-1 , Ky n-1 ). On the other hand, if the above-described point is not present, the CPU 1 determines it as the not corresponding point and sets (Tx n-1 , Ty n-1 ) in the following: Tx n-1 = Kx n-1 Ty n-1 = Ky n-1 Furthermore, Kx n-2 = Tx n-1 - Δx N-1 ' Ky n-2 = Ty n-1 - Δy N-1 ' In the same technique, the CPU 1 derives (Tx n-2 , Ty n-2 ) by relaxing (Kx n-2, Ky n-2 ) with (Kx n-1 , Ky n-1 ) as a center. Thereafter, the relaxation is repeated for each locus data (Δxi', Δyi') stored in the memory location 31, as shown in Fig. 19. In a step 620, the CPU 1 determines whether N number of locus data (Δxl', Δyl') --- (Δx N ', Δy N ') correspond to points on the road R. When all N locus data correspond to the points on the road (Yes in the step 620), the actually investigated point of candidate (xdi, ydi) is registered in a step 630 into the memory location 34 within the D-RAM 9 as the promising point of candidate for the present position of the vehicle as shown in Fig. 17. The above-described processing is carried out for all points of candidate in a step 640. Thus, the effective selection of the points of candidate and drawing out of the road form can simultaneously be executed. In the series of processings shown in Fig. 16, which shows the details of the step 440, when all N locus data stored in the memory location 31 correspond to the points on the road, the points of candidate are registered as the promising points of candidate. However, if not all N locus data correspond to the points on the road, points of candidates are registered as the promising points of candidate as shown in a flowchart of Fig. 20. The feature of procedure shown in Fig. 20 is that even if the CPU 1 determines that not all N locus data correspond to points on the road (No in a step 620'), the CPU 1 determines in a step 650' whether the number of the points of the locus trajectory which do not have corresponding points of the road fall in the range of a constant ΔN. If the number is within the constant ΔN (Yes in a step 650'), such points of candidate are also registered as promising points of candidate in a step 630' Fig. 21 shows an example of the result of such a procedure as described above in the case of Fig. 20. In Fig. 21, the locus data a and b are not placed on the road R. However, in the example shown in Fig. 20, in the case where the number locus data not placed on the road R is below the constant, the picked-up points of candidate are registered as the promising points of candidate. Therefore, even if the road form stored in the CD-ROM 19 is more or less different from the actual form of the road, there is no problem. Then, even if a recirculation due to road construction and generation of local error of the sensor(s) occur, there is no problem. After the processing in the step 440 is carried out, the pattern matching processing is carried out in the step 460 utilizing the promising points of candidate. Fig. 22 shows the detailed flowchart of processing the step 460. In a step 700 of Fig. 22, the CPU 1 picks up one of the promising points of candidate derived in the step 440. In steps 710 and 720, supposing that the present position of the vehicle is placed on the picked up promising point of candidate, the CPU 1 carries out a parallel translation of a whole locus form K with the present position substituted for the promising point of candidate (xdi, ydi) shown in Fig. 23. In a step 730, the CPU 1 carries out a rotation of the whole locus form K within a range of ± ϑ₂° for each unit angle with the promising point of candidate (xdi, ydi) as a center, as shown in Fig. 24. In a step 740, the CPU 1 derives a minimum value E min of a square sum E of a distance between each point on the locus form K and the corresponding point on the road form R, both points constituting one of set of point on the road and locus forms. In the above equation, Kx ϑ (i) denotes the x coordinate in the order i when the whole locus form is rotated through ϑ°, Ky ϑ (i) denotes the y coordinate in the order i when the whole locus form is rotated through ϑ°, Tx(i) denotes the x coordinate of the point on the road corresponding to Kx ϑ (i), and Ty(i) denotes the y coordinate of the point on the road corresponding to Ky ϑ (i). Fig. 25 shows the distances between the locus form points and the corresponding points on the road, denoted by L₁, L₂,---, Li, ---, L N . Fig. 26 shows a graph for explaining the calculation of the minimum value E min . As shown in Fig. 26, the minimum value E min is derived at the rotational angle of ϑ min . In a step 750, the CPU 1 determines the derived E min as an error value at the promising point of candidate (xdi, ydi). The series of processings at the steps 700 through 750 are repeated until all points of promising candidate are dealt with, as judged in a step 760. After the pattern matching processing is carried out in the step 460, the routine returns to the step 470 in which the CPU 1 determines whether at least one of the promising points of candidate whose error value is below a threshold value Tℓ is present. If such a maintained point as described above is present in the step 470, a processing of a matched point specification in the step 480 is carried out. Fig. 27 shows a detailed flowchart of the processing in the step 480. Upon start of the program shown in Fig. 27, the routine starts a step 800 in which the standard deviation for the coordinate rows of the maintained promising points of candidates is calculated by the following equation. It is noted that Np denotes the number of coordinate rows of the maintained promising points of candidate, xi denotes the x coordinate of the maintained promising point of candidate in the i order, yi denotes the y coordinate of the maintained promising point of candidate in the i order, x denotes the average value of the x coordinates of the maintained promising points of candidate, and y denotes the average value of the y coordinates of the maintained promising points of candidate. In addition, x and y are mutually independent. In a step 810, the CPU 1 derives the correlation coefficient γ for the maintained promising points of candidate using the following equation. As described above, when the standard deviation σ and correlation coefficient γ are derived for the coordinate rows of the maintained promising points of candidate, a maintained promising point of candidate which is most suitable for the positional correction is derived from among the maintained promising points of candidate. The calculation methods for deriving the maintained promising point of candidate which is most suitable for the positional correction will be described below. (a) If the standard deviation σ is less than a constant value σ c due to small deviations of the maintained promising points of candidate (Yes in a step 820), the present position of the vehicle is corrected so so to make the error value Emin become minimum in a step 830. This indicates that the point rows of the maintained promising points of candidate are squeezed in a pinhole configuration, as shown in oblique lines in Fig. 28. (b) On the other hand, if the standard deviation σ is above the constant value σ c and the correlation coefficient γ is below a constant value γ c (No in the step 820 and Yes in the step 840), the present position is corrected to one maintained promising point of candidate such that the absolute difference of the distance ℓ m1 between the previously position corrected point and the present position and the distance ℓ m2 between the previously position corrected point and the point of maintained promising candidate, i.e., |ℓ m1 - ℓ m2 | becomes mimimum in a step 850. This corresponds to a case where the point rows of the maintained promising points of the candidate are arranged as the oblique lines of P₂ in Fig. 29 in which the point rows of the maintained promising candidate points are arranged in a substantially straight line, i.e., arranged on a single road. In this case, the present position cannot be specified in the form matching. Therefore, the present position is corrected with reference to the previously position corrected point. The above-described cases will occur when the vehicle runs on a straight road, e.g., on a freeway road. (c) If both standard deviation σ and correlation coefficient γ are below the constant values, respectively (No in the step 820 and in the step 840), the specification of the present position is impossible and the position correction is not carried out. This corresponds to cases where the point rows of the remaining promising candidates are widely deviated as denoted by oblique lines of P₃ of Fig. 30 and where they are arranged on two straight lines as denoted by oblique lines of P₄ and P₅ of Fig. 31. In both cases, the present position cannot be specified and the correction of the present position is not carried out. As described hereinabove, since in the system according to the present invention for displaying the present position of the moving object the locus data for each unit distance run is stored and points of candidate for the present position are spirally searched on any road peripheral to the present position, a locus form based on each unit distance run on the basis of the locus data stored as described above with the searched point of candidate being as a start point, is specified from the stored locus data, and road map pattern matching is provided, the present position can accurately be detected without failure even when the moving object has run for a long duration of time. It will fully be appreciated by those skilled in the art that the foregoing description is made in terms of the preferred embodiment and various changes and modifications may be made without departing from the scope of the present invention which is to be defined by the appended claims.

Claims: A system for displaying the present position of a moving object on a road, comprising: a) a road map storing means (7A) adapted for storing information on road maps; b) a display means (20) adapted for displaying a selected road map and a mark which indicates the present position of said moving object within said displayed road map; c) an initial position fixing means (1; 16) adapted for fixing an initial position of the moving object; d) a distance detecting means (13) adapted for detecting the running distance of the moving object; e) a direction detecting means (12) adapted for detecting the running direction of the moving object; f) a means (1) adapted for deriving movement components from measured distance and direction data; g) a position determining means (1) adapted for determining the present position (Δx', Δy') based on accumulated movement components and the initial position always when the vehicle has travelled by a unit run distance (Δ12) since the last present position; h) a pattern matching locus data storing means (31) adapted for storing pattern matching locus data derived from the said movement components, said pattern matching locus data defining a locus form; i) a point of candidate search means (1) adapted for searching, when a predetermined number of pattern matching locus data is stored in said pattern matching locus data storing means, points on roads in a predetermined area around the present position, and adapted for storing all retrieved such road points as points of candidate; j) a corresponding road point determining means (1) adapted for: jA) shifting the present position to one of the said points of candidate as a first corresponding road point; jB) then drawing a part of the circumference of a circle around the thus received corresponding road point, said part of the circumference of a circle having predetermined ±angles related to the direction defined by the pattern matching locus data allocated to the said corresponding road point and the pattern matching locus data preceding said allocated data in the stored sequence of pattern matching locus data, and having a diameter defined by said pair of pattern matching locus data; jC) then detecting whether said circumference intersects a road and taking, if this is the case, the intersection point as a next corresponding road point, but taking, when this is not the case, a point derived from the previous corresponding road point and the said pair of pattern matching locus data as a next corresponding road point; jD) then repeating steps jB) and jC) as long as pattern matching locus data remain; and jE) finally repeating the steps jA) to jD) for the other points of candidate; k) a promising point of candidate determining means (1) adapted for selecting such points of candidate as promising points of candidate for which at least a predetermined number ΔN of intersections was determined by said corresponding road point determining means; l) a pattern matching means adapted for lA) selecting one of the promising points of candidate and determining the sum (E) of the square of the distances between said corresponding road points associated to said selected promising point of candidate and points resulting from a translation of the locus form to the selected promising point of candidate as end point; lB) repeating step lA) by turning the locus form around said selected promising point of candidate for a predetermined plurality of turning angles within a predetermined range of angles around the non-turned locus form; lC) storing the selected promising point of candidate as a maintained promising point of candidate in case that at least one of said sums is below a predetermined value (Tl); and lD) repeating the steps lA) to lC) fox all promising points of candidate; m) a statistical values determining means (1) adapted for calculating the standard deviation (σ) and the correlation coefficient (γ) for the maintained promising points of candidate; and n) a correcting means (1) adapted for correcting the present position to a road position as the corrected present position, this correction means being adapted for distinguishing the following cases: nA) if σ is lower than a predetermined value σ c , the present position is corrected to that maintained promising point of candidate which has the smallest value of the sums as determined by said pattern matching means; nB) if σ ≧ σ c and if γ is lower than a predetermined value γ c , the present position is corrected to the position of that maintained promising point of candidate for which the value l m = |l m1 - l m2 | is minimum, whereby l m1 is the distance between the last initial position and the present position, and l m2 is the distance between the last initial position and the just investigated maintained promising point of candidate; and nC) performing no correction when σ ≧ σ c and γ ≧ γ c are valid. A system according to claim 1, wherein said position determining means (1) is arranged to use the following condition as said mentioned condition: movement components (Δx i , Δy i ) are stored always when a first predetermined unit distance (Δl₁) is travelled since storing the last movement components; the sums of the components in x- and y-directions are calculated for all movement components stored since the last position data (Δx i ', Δy i ') were stored, and new position data are stored as soon as one of said sums exceeds a second predetermined unit distance (Δl₂). A system according to claim 1 or claim 2, wherein said point of candidate search means (1) is arranged to perform a spiral search within the display map around the actual position within a circle having a predetermined radius. A system according to claim 3, wherein said point of candidate search means (1) is arranged to delete one of two selected road points whose mutual distance is below a third predetermined unit distance (l₃) to keep only one of these two road points as a point of candidate. A system according to claim 4, wherein said point of candidate search means (1) is arranged to sort the points of candidate in an order such that a point of candidate which is nearest to the present position is the first and the farest is the last.

Inventors: NAGASHIMA YOSHIMASA, NAGASHIMA, YOSHIMASA
Applicants: NISSAN MOTOR, NISSAN MOTOR CO., LTD.
Application year: 1989
Main classification: G01C21
IPC codes: G08G1, G01C21