WO2007066695A1 - Direction calculation device, direction calculation method, direction calculation program, and recording medium - Google Patents

Direction calculation device, direction calculation method, direction calculation program, and recording medium Download PDF

Info

Publication number
WO2007066695A1
WO2007066695A1 PCT/JP2006/324374 JP2006324374W WO2007066695A1 WO 2007066695 A1 WO2007066695 A1 WO 2007066695A1 JP 2006324374 W JP2006324374 W JP 2006324374W WO 2007066695 A1 WO2007066695 A1 WO 2007066695A1
Authority
WO
WIPO (PCT)
Prior art keywords
value
amount
time
sensor
change
Prior art date
Application number
PCT/JP2006/324374
Other languages
French (fr)
Japanese (ja)
Inventor
Toshiharu Baba
Original Assignee
Pioneer Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pioneer Corporation filed Critical Pioneer Corporation
Priority to JP2007549157A priority Critical patent/JPWO2007066695A1/en
Publication of WO2007066695A1 publication Critical patent/WO2007066695A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/53Determining attitude

Definitions

  • An angular velocity sensor is used to determine the position of both the navigating 000 2 cars.
  • the direction is obtained by calculating the speed directions of both using the values from the speed sensor.
  • the angular velocity sensor Since the note may be different depending on the direction of the vehicle, it is necessary to correct the detection difference. Therefore, for angular velocity sensors, each time the navigation device is used, the angular velocity sensor remains within the detection allowable range as it is. The detection difference was corrected and processed to reduce the error in the detection. As the correct processing, the vehicle is actually driven to the right a predetermined number of times to detect the difference in turning direction, and the number of corrections that differ depending on the turning direction is provided, as well as the method of reflecting the output of the angular velocity sensor.
  • a navigation device having a correction function for removing the influence of the angular velocity sensor in the direction of the vehicle is disclosed (for example, below).
  • the sensor position is calculated using the value of the angular velocity sensor, and the direction for calculating the GPS position based on GPSf and the variation of the value of the velocity sensor are calculated by a predetermined value for each predetermined sampling period.
  • Detection means that records as a large (positive change) and a (negative change) respectively, and detects two sampling marks that satisfy a predetermined condition based on the sampling period in the recording means. The step and the ratio of the azimuth values issued by the step at the two sampling intervals detected by the step, or the accumulation of the negative variables recorded by the recording means.
  • the difference between the upper and lower stages is set to the upper stage, and the correction stage that determines the correction to correct the difference in the sensor position based on the result in the previous stage and the above-mentioned stage determined by the above stage. It is output as a corrected azimuth that corrects the difference in sensor position It is characterized by having a correction direction.
  • the sensor position is calculated using the values of the azimuth and angular velocity sensor defined in claim 2, and the azimuth step for calculating the GPS position based on GPSf and the variation of the value of the speed sensor are specified.
  • the sampling (of) at which recording is started is detected, and the positive variable recorded by the recording means is accumulated at the time of recording (positive accumulation).
  • a detection stage that detects the sampling (2) of which the above and the above are not equal, and the time of detection detected by the above stage.
  • the direction corresponding to the amount continuously recorded by the recording means is determined.
  • the correction stage that determines the correction that corrects the difference in the sensor position as a reference and the correction stage that is determined by the stage, the correction direction that corrects the difference in the sensor position issued by the stage is used. It is characterized in that it is provided with a correction direction step to be output.
  • the sensor position is calculated by using the values of the azimuth and angular velocity sensor as claimed in claim 4, and the azimuth step for calculating the GPS position based on GPSf and the variation of the value of the speed sensor are specified.
  • the sampling (of) at which recording was started is detected, and the detection stage for detecting and the recording time detected by the stage are detected in the stage.
  • the GPS position at the time of 2 and the GPS position at the time of 2 were compared, and the previous one between the time of 2 and the time of 2 was accumulated (positive accumulation) and the negative variable was accumulated (negative accumulation).
  • a correction azimuth step that is output as a correction azimuth that corrects the difference in sensor position issued by the step using the item determined by the step.
  • the azimuth finding method calculates the sensor position using the value of the angular velocity sensor, and calculates the azimuth of the GPS position based on GPSf and the variation of the value of the speed sensor. For each given sampling period as larger (positive change) and (negative change) than specified, respectively.
  • the recording process to be recorded the detection process for detecting two sampling intervals that satisfy a predetermined condition based on the sampling period in the above process, and the above-mentioned steps in the two sampling processes detected by the above process. Based on the ratio of the value of the position obtained by the above, or the deviation of the cumulative value of the negative variables recorded by the above process, and the difference between the sensor positions based on the result at the above process. Correction to correct the correction to determine
  • the direction finding method defined in claim 8 calculates the sensor position using the value of the angular velocity sensor, and calculates the position of the GPS position based on GPSf and the variation of the value of the speed sensor. For each predetermined sampling period as a larger (positive change) and a (negative change) than a predetermined value, respectively.
  • the sampling (of) at which recording was started was detected, and the positive variable recorded by the recording means was accumulated at every recording (positive accumulation).
  • a negative variable accumulated (negative accumulation), a detection range for detecting a sampling (2) where the above and the above are not equal, and a time interval detected by the above process.
  • the direction finding method defined in claim 9 uses the value of the angular velocity sensor.
  • the direction in which the GPS position is calculated based on GPSf and the variation in the speed sensor value are larger than the predetermined value (positive variation) for each predetermined sampling period.
  • the claiming direction program is characterized in that the method described in claim 1 to 9 is simply executed.
  • 014 is a check diagram showing the effective configuration of the implementation state of this invention.
  • 3 3 is a diagram showing the navigation structure of the navigation system in the implementation of this report.
  • 55 is a diagram for explaining the reasoning for implementation.
  • 6 6 shows an example of the product of changes in the current sampling.
  • 9 9 is a chart showing the necessity of correction in implementation.
  • Reference numeral 10 is a chart (part) showing the detailed procedure of the correction process in the implementation.
  • 13 3 is a chart (4) showing the detailed procedure of the correction in the implementation.
  • 15 5 is a chart (6) showing the detailed procedure of correction in implementation.
  • 16 6 is a chart (No. 7) showing the detailed procedure of the correction process in the implementation.
  • 17 7 is a chart (8) showing the detailed procedure of the correction process in implementation.
  • 188 is a chart (No. 9) showing the detailed procedure of correction in implementation.
  • 199 is a chart (part) showing the detailed procedure of the correction process in implementation.
  • 20 2 is a diagram for explaining the reasoning of the heading according to the second embodiment.
  • 21 2 is a chart showing the necessity of correction in Implementation 2.
  • 22 22 is a chart (part) showing the detailed procedure of the correction process in the second embodiment.
  • 23 23 is a chart (Part 2) showing the detailed procedure of the correction process in the second embodiment.
  • 24 24 is a chart (part 3) showing the detailed procedure of the correction process in the second embodiment.
  • 25 25 is a chart (part 4) showing the detailed procedure of the correction process in the second embodiment.
  • 26 26 is a chart (No. 5) showing the detailed procedure of the correction process in the second embodiment.
  • Figure 6 is a check diagram showing the functional composition of the implementation of this document.
  • 0181 calculates the relative position calculated from the angular velocity sensor mounted on the vehicle based on the position obtained from the direction information included in the GPS map report, etc. Below, calculate the sensor and the row: Absolute (below, GPS) from the position () derived from the GPS signal received by the GPS that is sometimes mounted on a moving body such as a vehicle.
  • the quantities recorded in 00202 are taken as each positive sampling and negative cumulative variable in comparison 4 for each sampling starting at the given sampling interval. Therefore, when comparing the recorded and negative variables in Record 2, the amount of samples between the specified samples may be added to form a product, but You can also use the 2nd to record.
  • 002 13 records in record 2 and detects sampling moments that meet the specified conditions, based on the sampling period.
  • the recording 2 or the negative change is used.
  • the sampling start time was set as the second time, and the time and the negative variable were multiplied respectively.
  • 002 2 4 is the ratio of the azimuth value detected by detection 3 and the azimuth value generated by azimuth at the 2nd time, and the comparison result is corrected.
  • 002 3 5 determines the correction for correcting the sensor position based on the result input from the comparison 4. Physically, based on the number of times each of the sensor position and GPS, it is judged that the sensor position before correction is the under-run state or the orang state, and the under-run state and the orang state are respectively determined. The correction is increased or decreased depending on the situation.
  • correction 5 records the results used in the past output processing such as the previous time and the previous time. By using these values when determining correction, the correction can be converged. You can It should be noted that although the number of records recorded in the past is easier to bundle, only a predetermined number of records (for example, 3) are recorded, and the new record is newly recorded for each line so that the oldest record is updated. Also, since the heading result is used for the convergence of the past result for each line, the convergence can be performed similarly. The correction determined by 5 and the correction direction 6 are output.
  • Normal azimuth 6 uses the correction input from correction 5 to adjust the number of corrections and corrects the sensor position input from the azimuth to calculate the correction (normal azimuth) of the speed sensor difference. To do.
  • the azimuth given by square 6 is output to the navigation device to which the azimuth is connected.
  • Detect 3 is another example of the condition for detecting sampling time, as in Record 2 or a negative change continues sampling. When recorded, the sampling start time is detected as the first time. There is a detection condition such that the sensor position at the first time and the time when the sensor position is recorded are detected as the second time.
  • the comparison 4 corrects the comparison result 5 by the ratio of the azimuth value generated by the azimuth at the time of and the azimuth at the second time. It may also be the row of positive and negative variables between the two ticks and the two GPS locations between and.
  • step S2 the sensor position and GPS position are calculated in the direction (step S2).
  • step S2 the processing in step S2 is performed, in recording 2, the sensor position and the negative variable are recorded (step 2).
  • the state in which the amount of () is continuously recorded is, for example, the state in which the amount of () is recorded after a predetermined sampling.
  • the positive variable is expressed in the rightward direction, and the value becomes the reference, and the negative variable is expressed in the leftward direction.
  • the value serves as a reference (depending on the downward direction of the speed sensor, the relationship between positive, negative, right, left is reversed).
  • step S2 3 es Wait for the amount of () to be recorded continuously in step 23, and when the amount of () is recorded continuously (step S2 3 es), then in detection 3, Then, the time when the continuous output is started is detected as the first time (step 4).
  • the time at which the successive output starts is the sampling time of the first recording in which the amount of () is recorded continuously in recording 2.
  • step 003 determine whether or not the recorded and negative changes recorded in record 2 are recorded and recorded (step 25). .
  • step S2 5 es determine whether or not the recorded and negative changes recorded in record 2 are recorded and recorded.
  • step 5 correction is determined according to the result in step S2 7 (step S2 8). After that, in the corrected direction 6, the process ends in step S2 8.
  • the 2nd mark without the sensor position is detected as the 1st and 2nd marks
  • Comparison 4 the 2nd mark and the 2nd mark are detected.
  • the corrected 5 output may be made by comparing the positive and negative variables of the GPS position in between and between and.
  • Figure 3 is a diagram showing the navigation structure of the navigation system in the implementation of this report.
  • the navigation 3 in the implementation of this description is the navigation 3, the work section 32, the display 33, the record 3 4, the record dead 35, the guide 3 6 and the communication section 3 7. , Route 3 8, route guide 3 9, guide 3, spin 3,
  • the navigation 3 controls the body of the navigation 3.
  • the navigation 3 is, for example, CP (Ce a Pocess) that executes a predetermined arithmetic process, O (ead O eo) that stores various control programs, and R (a that functions as a work of P.
  • CP Chip a Pocess
  • O ead O eo
  • R a that functions as a work of P.
  • the number of corrections that are made when the angular velocity is output is stored in order to be realized by an instrument that is composed of do ccess eo).
  • R the number of corrections set for each vehicle is uniform.
  • the gain difference is G and the complement G of the gain difference are stored (4). G and G are stored so that they can be updated.
  • the navigation 3 When the navigation 3 guides the route, it outputs information regarding the route guidance between the route 38, the route guidance section 39, and the guidance 3 and displays the relevant information 3 3 and 3 6.
  • the operation unit 32 provides the navigation 3 with information manually created by characters, numerical values, various indications, and the like.
  • the composition of the work unit 32 it is possible to adopt a physical state-detecting button-stitch, cine, keyboard, joystick or the like.
  • Sakubu 32 may use an external voice as an input and use human voice as a mode of action.
  • the work unit 32 may be provided integrally with the navigation unit 3, or may be in a form that can be separated from the navigation unit 3.
  • the work unit 32 may be configured in one of the various states described above, or may be configured in a plurality of states.
  • the information manually input by the operation of the operation unit 32 includes, for example, the target location (of the target location) or the departure location (of the origin) of the route to be searched.
  • the telephone number, keyword, etc. of the facility that is the target location or the departure location By specifying the telephone number, keyword, etc. of the facility that is the target location or the departure location, the power of the destination or the departure location is specified, and the facility is searched for and the location is set to the destination or the departure location.
  • these points are identified as points on the map based on the background data contained in the map information recorded in Record 34 described later.
  • the map information may be displayed on the display 33, which will be described later in detail, and the point on the displayed map may be designated.
  • the display 33 is, for example, a C (Caode Rabe) display.
  • B organic (ec o esce ce) displays, plasm displays, etc. are included.
  • 3 3 can be specifically configured by, for example, a video display display device connected to a video.
  • the image data that is immediately available is temporarily stored (deo R), and the like. Based on the output image information, it is composed of control C that controls the display. 3 3 displays information such as in-line, cursor, message, window, or character image. In addition, the information about the map route stored in (ad s) is displayed on the display 33.
  • the record 34 records the map information, various control programs, various information, etc. in an readable state on the computer. 34 accepts the imprinting of information by the record dead 35 and records the written information in a non-accidental manner. 3 4 can be realized by, for example. In the record of implementation 34, the orientation program is recorded. Note that the azimuth program is not limited to that recorded in Record 34.
  • 004 3 4 is not limited to, but instead of, or in addition to
  • map recorded in 004 34 data representing (chairs) such as buildings, rivers, and the ground surface, and data representing the condition and position of roads. Drawn in 2 or 3 dimensions. The data is also used for, for example, patching.
  • map recorded in 3 4 for example, navigation 3 is the route, it is displayed overlaid by the map obtained by 3 2.
  • the map information was recorded in the record 34, but it is not limited to this. However, it is not limited to those recorded in the navigation 3 door as a unit, but may be recorded in the navigation 3 part. In that case, the navigation 3 acquires the map information via the network through the communication unit 37, for example. Map obtained
  • the record code 35 controls only the acquisition of information for the record pattern 34.
  • record dead 35 becomes (ad s.).
  • C or C including C C W
  • record record 35 becomes drive or C dry.
  • CO (CCW) O, etc. is used as a recordable record 34, it is a dry device for recording information of various bodies and collecting only information stored in the body. Is the record dead 35.
  • the guide 36 reproduces the guide by controlling the force of the connected spin 3.
  • the number of spines 3 may be one or more.
  • the guidance 36 can be realized by a voice connected to the voice power spine 3. More specifically, for voice, for example, conversion of voice digital information is performed, amplification for amplifying the voice analog signal output from the route, and conversion of voice analog information are performed.
  • the receiving unit 37 regularly (even regularly) receives information such as traffic congestion and traffic regulations.
  • the traffic report from the credit section 37 can be sent at the timing where the information is sent from the CS (e ceo ao ad Co ca o S se) center, but by periodically requesting the traffic information from the CS center. You can go.
  • the 005 receiver 37 can be realized as, for example, a China, a CS bin, and other communication devices. Traffic, route ( It is used to search for a route that avoids congestion and time, for example.
  • CS is information that displays information such as traffic regulations collected and processed by the CS Center at the time and displayed in navigation 3 etc. in characters and forms. It is a communication system. As a method of transmitting the traffic (CS) collected and processed at the CS center to the navigation 3, there is a method of using a bin installed on the road.
  • the 0054 bins include those used mainly on expressways and those used on major public roads. When using, it is possible to receive information from a wide area. When using the bin, it becomes possible to receive the traffic information necessary for the location, such as detailed information on the route based on the location.
  • the route 38 uses the map recorded in the record 34, CS information acquired via the communication unit 37, etc., from the place of departure (the place of departure) to the destination (the place of destination). ) To a suitable route.
  • the optimum route is a route that best matches the specified conditions. Generally, there are innumerable numbers from the origin to the destination. For this reason, items to be considered for route search are set, and routes that match the conditions are searched.
  • the route guiding unit 39 reports information searched for by the route 38,
  • the time route information is generated.
  • the route generated at this time may take into consideration the information received by the communication unit 37.
  • the route generated by the guide unit 39 is output via the navigation unit 3 3 3.
  • the guide generation 3 generates a tone voice information corresponding to the tan.
  • the 005 32 2 is composed of a GPS and a sensor, and acquires direction information indicating the position of the vehicle and the position of the vehicle. This information is called GPS position.
  • the GPS receives the waves from the GPS stars and finds the position of the GPS star. GPS is a system that accurately obtains the position on the ground by receiving waves from satellites on four.
  • the GPS is, for example, an antenna for receiving the waves of GPS stars, a demodulator for the received radio waves, and an operation (or program) for calculating the current position based on the adjusted information.
  • various sensors include various sensors mounted on a sensor, a traveling sensor, a sensor, a speed sensor, and the like.
  • various sensors mounted on the GPS together with the information provided from the outside by the GPS when outputting the direction information, it is possible to acquire the self at a higher degree.
  • the 006 sensor is used in the navigation of the vehicle for navigation 3.
  • the sensor counts the number of soots in a given period that is output as the wheels rotate, and calculates the number of sows per unit, and outputs a running report based on the number of sows per that.
  • the sensor detects the slope angle of the road surface.
  • the speed sensor detects the speed of the vehicle.
  • the speed sensor can be realized by, for example, a vibration sensor having a piezoelectric element as a detector.
  • the angular velocity sensor outputs a value corresponding to the angular velocity of the vehicle.
  • the angular velocity sensor has a value of 2.5 ()
  • the angular velocity is in the zero state when the vehicle is at rest or the vehicle, but in general, in this situation, there is a change in temperature due to the influence of temperature changes. It is often the value Therefore, in this implementation, The value obtained by correcting the effect of the dot with respect to the value of the angular velocity sensor at the time of both stationary or the angular velocity sensor of the vehicle is set to zero (osset).
  • the speed sensor outputs the detected speed with an analog number of ⁇ 5. It is expressed in degrees of the speed difference from the (osset) (25) value of the speed sensor, and is its e sec.
  • the speed sensor complies with the standard specified in the horizontal state and is adjusted so that it fits within a predetermined range.
  • the value obtained by subtracting (set) the voltage value output from the angular velocity sensor is taken as the value from the velocity sensor.
  • the value from the speed sensor is obtained for each sampling, for example. This sampling can be set to any value, and is specifically set to, for example, sec.
  • the 006 speed sensor uses the positive angular speed corresponding to the change in the clock, that is, the time, as the value from 2.5 on the 5 side. On the other hand, this speed sensor measures the negative angular velocity corresponding to counterclockwise, that is, the
  • 006 3 3 is the gain from the angular velocity sensor and the right gain.
  • the value obtained by multiplying either G or gain G is integrated by sampling and multiplied by the previous exit direction to calculate the absolute value (lower, sensor).
  • the absolute value lower, sensor
  • 006733 can be realized by, for example, a dedicated program or a program.
  • the sensor position is output for each sampling. At this time, the sensor position and the GPS position in 3 2 are detected. Synchronize with.
  • the corrective processing unit 34 performs a number of corrections to correct the sensor position based on the difference in the sensor positions issued by the bearing 33. 3 After comparing the GPS position of the time recorded in 4 and the GPS position of the second time, the result of comparing the sensor position of the time with the sensor position of the time () and (). The under-run or the or-run state of the value at either of the two ticks is used by using either one of the positive and negative results of the multiplication up to the two ticks (implementation 2 described above). Also, based on which one of the positive change (direction) quasi that is the negative change (direction) quasi-determined at the time of the reference, the right gain G or G opposite to that quasi Go new. The left and right gains G and G will be explained in Section 4.
  • Figure 4 is a functional block diagram showing the physical composition of the azimuth 3 3 and the corrective processing unit 3 4 in the implementation of this invention.
  • 3 3 and the above-described various types in the correct processing unit 34 are realized by the unit shown in 4.
  • the azimuth 3 3 and the correct processing unit 3 4 in the implementation of this description are the subtraction processing unit 4, the multiplication processing unit 4 2, the processing unit 4 3, the linear processing unit 4 4, the processing unit 4 5, and the azimuth processing unit 4.
  • Processing unit 46, comparison processing unit 47, negative change processing unit 48, positive change unit 49, gain processing unit 4, gain processing unit 4, correction number selection processing unit 4 2 And are equipped with.
  • Numeral 4 42 is a path for changing the value of the analog from the angular velocity sensor.
  • the subtraction processing unit 4 subtracts (OSSET) from the voltage value output from the angular velocity sensor.
  • the digitizer value converted by 42 is input to the arithmetic processing unit 4.
  • the arithmetic processing unit 42 calculates the angular velocity by multiplying the value from the angular velocity sensor by the gain value, and if this is positive, the gain difference is complemented by G, and if the value is negative, the gain difference is complemented by G. Note that the gain Is a value set based on the relationship with the velocity from the angular velocity sensor.
  • the processing unit 4 3 also integrates the speed output this time by the multiplication processing unit 4 2 by sampling and multiplies the relative value output by the previous sensor position, and the two outputs are used. The calculated sensor position is calculated.
  • the processing unit 4 4 determines whether or not the vehicle is in a straight traveling state based on the speed output by the multiplication processing unit 4 2. Physically, the straight-ahead processing unit 4 4 has a certain fixed value (for example, at the time of row on 3 O, the speed output by the multiplication processing unit 4 2 is set at a predetermined period (for example, If it is, it is determined that the vehicle is in a straight ahead.
  • the processing unit 45 approaches the (offset) value close to the average value of the angular velocity sensor values during the above-mentioned fixed period. Adjust.
  • the processing unit 46 makes the bearing at another position obtained from 3 2 and 3 4 in order to eliminate the influence of the dot of the angular velocity sensor. Since the difference increases as the relative product of this time is continuously accumulated at the sensor position, the sensor position is headed by GPS or map data.
  • the issued sensor position is headed with the GPS position acquired by 32.
  • the sensor position is orientated by the map data in the map data.
  • the processing unit 47 is based on the result of comparing the detected GPS position with the second GPS position. Then, in those strokes, the sensor position of the time mark and the sensor position of the second time are compared.
  • the negative transformation unit 48 determines whether or not the negative variation is output in a predetermined sampling sequence.
  • the positive change unit 49 determines whether or not the positive change is output in a predetermined sampling sequence.
  • the gain processing unit 4 is controlled by the positive change processing unit 49. , When it is determined that the value has been output in a stable and fixed sampling sequence, the right turn value is used as a reference to correct the value, and the gain G for correcting the gain difference is corrected ().
  • the gain change unit 4 corrects the value based on the left turn value, and the gain difference Correct the gain G to correct (
  • the gain control unit 4 and the correction number () of the gain control unit 4 determine and correct the correction number for the currently determined correction number.
  • the GPS Ga 2 of the acquired time The time is changed based on the time of the sensor Gb and the time of the sensor Sa 2 and the time of the sensor Sb (physical change, which will be described in detail in Chapters 9 to 9). . Observe this and the second and the second sensor positions in the vehicle so that the gay converges to the correct value.
  • the number selection processing unit 42 When the value from the angular velocity sensor is negative, the number selection processing unit 42 outputs the gain adjusted by the gain processing unit 4.
  • the correction number selection processing unit 42 selects the gain G adjusted by the gain processing unit 4 when the value from the angular velocity sensor is positive. It is used for the correction selected by the number selection processing unit 42 and the output of the angular velocity in the multiplication processing unit 42.
  • Figure 5 is a diagram for explaining the reasoning for implementation.
  • the horizontal axis represents the time and the sampling is shown by the vertical line ().
  • the number of samplings ( ⁇ ) is shown in the 5th section of the sampling, and the sampling (O ⁇ ) starting from O is shown in the 5th section of Figure 5. I am doing each.
  • the range of ⁇ 5 around the accelerometer is represented by a single digital value S. For example, in the case of 2 and, since ⁇ 5 is 496, it becomes ⁇ 22 S.
  • 00805 represents the value when, for example, when the sampling is s, 2 (5 s) is exchanged between s in the outer 2-bit counter. Then, the equation () below is used to perform the smoothing between s, and for each s, the data of the angular velocity sensor value between s is expressed.
  • This velocity o is shown by the square shown in 5 5 2a 5 2b, 5
  • the squares 52a represent 2 samplings
  • 52b represent 3 samplings
  • 52c represent 2 samplings
  • 5 3a represent 4 samplings
  • 5 3a represents 4 samplings
  • 3b represents 2 samples.
  • the body samplings up to are shown above are integrated by sampling for each sampling in order, and are integrated into the issued sampling time.
  • the angular displacement A 6 A 0 is multiplied by the previous sensor at sampling time. By repeating this process for the sampling number of the body in order, the sensor can be obtained from the body shown by the rectangle.
  • the squares 52 a to 52 c represent the displacement in () and 5 3a to 5 3b represent the displacement in ().
  • the (O) from the angular velocity sensor changes while constantly showing a negative value. Therefore, in the present implementation, for example, if curve 5 shown in Figure 5 shows negative vari- ables recorded consecutively for the number of samplings, the sampling at which the negative change recording is started is detected.
  • the sensor Sa () and GPS Ga (02) emitted from the sampling are shown in azimuth 54, which is represented by the GP S position system. Since the negative change of 5 is recorded continuously, the right gain difference is corrected based on the left degree displacement.
  • the sampling started from the sampling and the accumulation of negative variables are detected. , (5 2b 5 2c showing a positive change) (5 3a 5 3b showing a negative change).
  • the bearing 55 that represents the GPS Gb (4) sensor Sb (3) calculated in the sampling in the GPS system. So first, the sampling
  • the GPS-ranked Ga (62) and Gb (4) rows in the sampling are the result of the Ga and Gb minima. Then, among them, the small sags of the sensors Sa (0) and Sb (3) in the sampling sump, and consequently Sa and Sb, are performed. As a result of the overlap between the GPS position and the sensor position, it is determined that the sensor Sb is in the under-run state, which is the oran state, than Sa, and either the left or right gain G or G is determined.
  • Figure 6 shows an example of the product of changes in this sampling.
  • item 7 shows an example of the product of changes in the previous sampling.
  • 8 is an example of the product of changes in sampling.
  • 6 shown in 6 is composed of the negative 6 that shows the negative change () of this time and the negative 6 2 that shows the change of sex () of this time. If we detect 6 3 which indicates either () or () of () () in one sampling, the change 6 3 results in a positive 6 or negative 6 depending on the negative value. Multiply it into the key 62.
  • the sensor position (indicates a negative change (in which case, the lowest negative change () shown in ng6 () to the upper negative change ( ) Is multiplied by a negative change (), and then the upper part is incremented. Therefore, the negative change () which is the highest level becomes a negative change (), which deviates from the negative 6 (data 64). And the negative change () is stored in the empty negative change ().
  • the number of samplings of the negative changes () 2 3 ⁇ (2) () shown in the graph 6 increases in the order of 2 3 ⁇ (2 (from the lowest to the highest). It is.
  • the highest negative change () becomes a negative change (), which is outside the range 62 (data 624).
  • Numeral 63 which indicates the negative change () of 63 times shown in 8, and 63 which indicates either () or () of either () or () in the sampling of times 63 3 Then, if the sensor position () from the first sampling to the previous sampling () has a negative change (), the negative change () that was the highest rank becomes a negative change (), and the 63 off (data 634)
  • the positive change () is a positive change () and deviates from the Nguya 62 (data 6 5), and the empty lowest positive change () is a positive change ().
  • the positive variable () 2 3 to (2) () shown in ng 62 has a sampling number of 2 3 to (2) (), which is the lowest to the highest. It gradually increases in order.
  • the cursor 62 which indicates the source, detects the 623 indicating either () or () of () and () in the previous sample, and detects the sensor position of the previous sample from the previous sample. If (is a positive change (, then the highest positive change () becomes a positive change (), which is out of range 622 (data 625).
  • the number 632 showing 63 positive changes () shown in 8 is the number of () () in the number of samplings, and the number 63 3 showing () of one of them.
  • a positive change represents a sensor position value
  • a negative change represents a sensor position value
  • step 92 one of () and ()
  • step S9 3 es wait for either one of () and () to be recorded continuously, and if it is recorded (step S9 3 es), if the amount of () is recorded continuously, Make a positive gain, and if the amount of () is recorded continuously, make a positive gain (step 9 4). At the same time, it detects the continued but started sampling in the same direction (step S9 5
  • step S9 6 it is judged whether or not () started in step S96 is not equal to the cumulative amount of () (step 97).
  • step S9 7 es wait until the sum of () and the sum of () are equal, and if not (step S9 7 es), detect the non-accumulated sampling (step S9 8)
  • the sensor position in the sampling is represented by Sb (3)
  • the GPS position is represented by Gb (4)
  • the positive and negative changes in the sampling are accumulated.
  • step S95 The sampling detected in step S95 and step S98.
  • Step Sg GPS Ga (02) during sampling and GPS Gb (4) during sampling (step S9 9) and then sensor Sa (0) during sampling and sensor Sb (3) during sampling. (Step Sg). Therefore, when the GPS position is used, the correction is performed based on this result. Determine the amount (step Sg) o
  • one of G and G which is the correction number, is adjusted using the correction determined in step Sg (step S92), and the series of processes is ended. By repeating the process of updating the numbers as described above, the correction convergence is approached.
  • 0104 to 9 show the detailed procedure of the correction process in the implementation.
  • Step 3 it is determined whether the GPS state is the three-dimensional state (step S), and then it is determined whether the GPS data is above 3 (step S2). ), Check if the speed is above 3 (Step 3)
  • Step S to Step S 3 es if the conditions in Step S to Step S 3 are all satisfied (Step S to Step S 3 es), the amount of GP S-degree degree is continuously below ⁇ 3 de. Then, it is judged whether or not the speed, which is the speed es calculated by the force of the angular velocity sensor, is under 3 de s ⁇ s (step S 5) at 0106 samplings. If the conditions are not applicable in steps S to S 3 (step S to step S 3 o), or if the conditions are satisfied in steps 4 and S 5 (step S 4 S 5 es) shifts to step S6 even if there is a gap, makes positive (+) and negative () marks to clear (step 6), and ends the series of processing.
  • step S 7 If neither of the conditions in step 4 and step S 5 is satisfied (step S 4 S 5 o), the process immediately shifts to the judgment of step S 7, and this sampling and sampling () It is determined whether or not are equal (step S7).
  • the sampling () is a sampling in which either a positive or negative amount is recorded continuously for a predetermined number of stable samplings starting from a certain sampling time.
  • step S 7 es If the current sampling and the sampling () are equal to each other in Step 7 (step S 7 es), the series of processing ends.
  • step S 7 o If the current sample and the sample () are not equal (step S 7 o), then, when the sample in the current sample is recorded, it is cumulative (negative output). Therefore, it is absolutely determined whether or not it is equal to (comparison) (step 8). At this time, cumulative and 1 is assumed to be greater than O.
  • step S 8 o If and are not equal to each other (step S 8 o), the series of processing ends.
  • step S 8 es the sensor Sa is first recorded at the sampling in order to make a transition to correct the (gain) to the right of the angular velocity.
  • step S 9 it is determined whether the right value is the reference (step S 9).
  • step S9 it is confirmed that the change when the stable output is confirmed is positive () and (), and the number of turns in the opposite direction to the reference is updated based on either the left or right value. This is the reason for judging.
  • step S 9 If the value is not the reference in step S 9 (step S go), the process proceeds to step S 65 (6), and when the sensor Sa is recorded in the sampling, the left value is It is judged whether or not it is the reference (step S65). If the value is the standard (step S g es), it is judged whether GPS Gb in the current sampling is higher than GPS Ga in the sampling (step S).
  • step S24 (2) GPS Gb at the sampling, GPS Ga at the sampling and To confirm the importance of If the GPS Gb in the sampling of is higher than the GPS Ga in the sampling (step S es), then it is judged whether or not the sensor Sb in this sampling is (underrun) than the sensor Sa in the sampling (step SO) o.
  • step S if the sensor Sb in this sampling is more than the sensor Sa in the sampling (step S
  • step o the correction number is not updated and the series of processes ends.
  • the sensor Sb at the first sampling is greater than the sensor Sa at the sampling (underrun) (step S es) to the chart, and then the sensor Sb at the previous sampling is larger than the sensor Sa at the sampling.
  • Run) Judge whether or not (step S2)
  • Step S3 If at step S2 the sensor Sb at the previous sampling is greater than the sensor Sa at the sampling (step 2o), the sensor Sb at the next sampling is greater than the sensor Sa at the sampling.
  • Step S3 when the sensor Sb in the sampling of the number of times is larger than the sensor Sa in the sampling (step S3o), the lateral gain number is in a divergent state, so that it is regarded as a convergence (step S4).
  • La represents the state at the next (). For example, if () this time is underrun (Sb Sa) this time when the gain is positive, and the previous time is in the on state (Sa Sb), it becomes correction 2, and La and 2 are When the gain G is set to, the gain G is set to, and the convergence is set. Therefore, the next () indicates that the gain G is in the converged state when the gain is positive, the next () is the underrun (Sb Sa) when the gain is positive, and the time is orang (Sa Sb).
  • La becomes divergent after being cured by. It should be noted that the case of La and 2 is processed in the same manner, but the supplement at that time is used respectively.
  • this time () is the gain
  • step S4 the convergence
  • step S 5 4 corrections are set.
  • the gain G in the sampling is subtracted by the previous gain G (step S22), and it is determined that this time is the underrun state (step S23). To finish.
  • step S 7 If it is larger than the sensor Sa in Sb sampling (step S 2 es), the previous time will be in the oran state and the error will be set (step S 8). Then, 2 corrections are set (step S9). If the sensor Sb at the first sampling is larger than the sensor Sa at the first sampling (step S 2 o), but the sensor Sb at the first sampling is larger than the sensor Sa at the first sampling (step S 3 es), the rotation is It is in the run state, and the LA setting (step S 6), correction and setting (step S 7)
  • step S7 or step S9 it is determined whether any one of 2 6 3 6 4 is set to (step S 2).
  • the value in this step is the standard
  • the current gain G is in the convergence state in the previous or subsequent processing, and the above-mentioned setting in the previous or previous processing is performed. Refer to in 4.
  • step S2 if at least one of the La 2 63 4 is (Step S 2 es), it is determined that the left and right gain numbers are in the convergent state, and the convergent La setting (Step S 2), Move to the new step S22. In all cases of step 2 3 6 4 (step S 2 o), the procedure goes to step S 22 without performing step S 2.
  • step S if the GPS Gb in this sampling is not the GPS Ga in the sampling (step S o), the explanation will be given using the chart 2 above.
  • step S it is determined whether the GPS Gb in this sampling is GPS Ga in the sampling (step 24). If the GPS Gb at the first sampling is not the GPS Ga at the sampling (step S 24 o), the process proceeds to step S 5 (4).
  • step S 24 es If 0123 GPS Gb is GPS Ga (step S 24 es), the sensor Sb in this sampling is not the sensor Sa in the sampling (step S 25) and the sensor in the previous sampling is Sb is larger than the sensor Sa at the sampling (step S26), and the sensor Sb at one sampling is larger than the sensor Sa at the sampling (step S27).
  • the sensor Sb at 0124 samplings is larger than the sensor Sa at the sampling (step S 25es), the sensor Sb at the previous sampling is larger than the sensor Sa at the sampling (step S 26 o), Sensor Sb in Sing Is larger than the sensor Sa in the sampling (step S 27 o), it is judged that the left and right gains are in the divergent state, and the
  • step S25 if the sensor Sb in the current sampling is more than the sensor Sa in the sampling (step S25o), the process proceeds to step S38 (3), and this time in the current sampling. It is determined whether the sensor Sb is larger than the sensor Sa in the sampling (step S38).
  • step S26 if the sensor Sb in the previous sampling is larger than the sensor Sa in the sampling (step S26 es), the previous time is in the Oran state, the La 2 setting (step S32), the correction 2 It is set (step S33).
  • step S 27 if the sensor Sb at the sampling of the number of times is larger than the sensor Sa at the sampling (step S 27 es), the number of times of the sampling is in the oran state and the La 2 setting (step S 3), Correction ⁇ Set (Step S 3) o
  • step S 34 When the correction set is performed in step S 3 or step S 33, it is determined whether or not any of 2 6 3 6 4 is set to 1 (step S 34). In the same way as step S 2 in this step, the same gain is used as the reference, and the current gain G is determined to be in the converged state in the previous or subsequent processing in the gain difference correction processing. Last time, refer to the above 4 set in the process.
  • step S34 if at least one of the lines 2 6 3 4 is (step S 34 es), it is determined that the left and right gain numbers are in the convergent state, and the convergent La setting (step S 35), Move to the new step S36 (3). All of LA 2 6 3 6 4 In step S 34 o, the process proceeds to step S 36 (3) without performing step S 35.
  • step S 29 move on to the feature shown in 3.
  • step S 34 of o
  • step S 35 the gain number at this time is updated to update the current gain number.
  • step S36 is subtracted only from the previous gain G (step S36, and it is determined that this time is the under-run state (step S37, the series of processes ends.
  • step S25o if the sensor shown in 2 is used and the sensor Sb in the current sampling is judged to be not the sensor Sa in the sampling in step S25 (step S25o), Subsequently, the sensor Sb in this sampling is larger than the sensor Sa in the sampling (step S38). If the sensor Sb at the first sampling is larger than the sensor Sa at the sampling (step S 38 o), the series of processes is terminated.
  • step S 38 if the sensor Sb in the current sampling is larger than the sensor Sa in the sampling (step S 38 es), it is determined whether the sensor Sb in the previous sampling is greater than the sensor Sa in the sampling (step S 38). 39) and if the sensor Sb at the sampling times is not the sensor Sa at the sampling time (step 4).
  • step S 39 o Sensor Sb at sampling times than sensor Sa at sampling (step S 39 o), sensor Sb at sampling times is more than sensor Sa at sampling (step 4 o), left and right gain divergence state Then, it is determined that the convergence rate is set, and the convergence rate is set (step S 4). Therefore, the correction is performed by 4 sets (step 42 ).
  • step S 39 the sensor Sb in the previous sampling If S is more than the sensor Sa in the sampling (step S 39 es), the process proceeds to step 45 (4), the previous time is the underrun state, and the setting of La 3 (step S 45) and correction ⁇ 2 sets. (Step S 46). Similarly, if the sensor Sb at the sampling of the number of times is more than the sensor Sa at the sampling of the number of times (Step 4 es) in Step 4, the number of times becomes the underrun state, and the setting of La 3 (Step S 43 , Correction, set (step S44)
  • step S 47 When the correction set is performed in step 44 or step 46, it is determined whether any one of 2 0 3 6 4 is set to 1 (step S 47). In the same way as step S 2 in this step, the same gain is used as the reference, and the current gain G is determined to be in the converged state in the previous or subsequent processing in the gain difference correction processing. Last time, refer to the above 4 set in the process.
  • step S47 one of La 0 2 6 3 6 4 is set (Step S 47 es), it is determined that the left and right gain numbers are in the convergent state, and the convergent La is set (Step 48). , Move to the new step S 49. In all cases of step (step S 47 o), the procedure goes to step S 49, without performing step 48.
  • step S49 in order to update the number of gains this time, it is determined that the gain G in the sampling is added by the previous gain G (step S49), and it is determined that this time is in the off state (step S49). 5) Then, the series of processing ends.
  • step S24o the GPS Gb in the current sampling is not GPS Ga in the sampling in step S24 (step S24o) using the feature shown in 2)
  • step S24o the GPS Gb in this sampling is now the sampling. It is determined whether or not it is larger than GPS Ga in step S5. If the GPS Gb at the first sampling is greater than the GPS Ga at the sampling (step S 5 es), the sensor Sb at the current sampling is then judged to be larger than the sensor Sa at the sampling (step S 5 es).
  • step S 5 o If GPS Gb at 38 samplings is larger than GPS Ga at sampling (step S 5 o), or if sensor Sb at this sampling is larger than sensor Sa at sampling (step 52). o) ends the series of processing. If GPS Gb in the first sampling is greater than GPS Ga in the sampling (step S 5 es), and sensor S b in this sampling is greater than sensor Sa in the sampling (step S 52 es), then 5 First, the sensor Sb in the previous sampling was judged to be less than the sensor Sa in the previous sampling (step S53), and the sensor Sb in the previous sampling was smaller than the sensor Sa in the sampling. No (Step S54).
  • step S 53 o Left-right gain divergence state when sensor Sb at 0139 samplings is lower than sensor Sa at samplings (step S 53 o) and sensor Sb at sampling times is higher than sensor Sa at samplings (step 54 o). Then, it is determined that there is a convergence error and the convergence is set (step S 55). Therefore, the correction v4 is set (step S56).
  • step S 53 if the sensor Sb in the previous sampling is greater than the sensor Sa in the sampling (in step S 53 es, the previous time is in the underrun state and La 4 is set (step S 59, correction v. 2 Is set (step S 6). If the sensor Sb in the sampling of the times is more than the sensor Sa in the sampling (step S 54 es), the times are in the underrun state, and the setting of La 4 (step S 57) and the correction v are set (step S 54 es). 58)
  • step S 6 When the correction set is performed in step S58 or step S6, it is determined whether or not any one of 2 6 3 6 4 is set to (step S 6). In the same way as step S 2 in this step, the same gain is used as the reference, and the current gain G is determined to be in the converged state in the previous or subsequent processing in the gain difference correction processing. Last time, refer to the above 4 set in the process.
  • step S6 it is determined that the right and left gain numbers are in the converged state in step S6es of which one of La 0 2 0 3 0 4 is set (step S 62 es). ), Shift to the new step S 63. In all cases of step 2 3 6 4 (step S 6 o), the procedure goes to step S 63 without performing the setting of step S 62.
  • step S 63 the gain G in the sampling is added by v from the previous gain G (step S 63) in order to keep the new gain number this time (step S 63), and it is determined that this is the open state (step S 63).
  • step S 64 ending a series of processing.
  • step S9 (a)
  • step S go When the sensor Sa is detected in the sampling, the case where is not the reference (step S go) will be explained. First, when the sensor Sa is detected in the sampling, it is determined whether or not is the reference (step S65). If is not the criterion (step S 65 o), the series of processes is ended.
  • step S 65 if is the reference (step S 65 es) Then, it judges whether GPS Gb in the current sampling is higher than GPS Ga in the sampling (step S 66). If GPS Gb in the first sampling is greater than GPS Ga in the sampling (step S 66 o), the process proceeds to step S 8 (7).
  • step S 66 if the GPS Gb at the current sampling is higher than the GPS Ga at the sampling (step S 66 es), then the sensor Sb at the current sampling is determined to be less than the sensor Sa at the sampling. (Step S 67) and the sensor Sb in the previous sampling is larger than the sensor Sa in the sampling (Step S 68), and the sensor Sb in the first sampling is larger than the sensor Sa in the sampling. Line (step S 69)
  • the sensor Sb at 0147 samplings is larger than the sensor Sa at the sampling (step S 67 es), the sensor Sb at the previous sampling is larger than the sensor Sa at the sampling (step S 68 o), the sampling at once. If the sensor Sb at the wing is larger than the sensor Sa at the sampling (step S 69 o), it is determined that the right and left gains are in the divergent state, and the
  • step S 7 Therefore, 4 corrections are set (step S 7) o
  • step S67 when the sensor Sb in the current sampling is higher than the sensor Sa in the sampling (step S67o), the series of processes is ended.
  • step S68 if the sensor Sb in the previous sampling is larger than the sensor Sa in the sampling (step S68es), the previous time is in the
  • step S 74 and correction ⁇ 2 sets (step S 75).
  • step S 69 If Sb is larger than the sensor Sa in the sampling (step S 69 es), the turn is in the oran state and the La setting (step S 72) and correction / setting are performed (step S 73).
  • step S 73 or step S 75 it is determined whether any one of 2 3 4 is set to 1 (step 76).
  • the value in this step is used as a reference, and in the previous or subsequent processing in the gain difference correction processing, it is determined whether or not the current gain G is in the convergence state, and the previous or subsequent processing is performed. Refer to the above 4 set up.
  • step S76 if one of the two 2 3 4 is (step S 76 es), it is determined that the left and right gain numbers are in the converged state, and the convergent La setting (step S 77), step Transition to S 78 theory. In all cases of step 276 (step S76o), the procedure goes to step S78 without performing step S77.
  • step S78 the gain G in the sampling is added by the previous gain G (step S78), and it is determined that this time is underrun (step S79). ), And ends the series of processing.
  • step S 66 o it is determined whether the GPS Gb in this sampling is GPS Ga in the sampling (step S8). If the GPS Gb in the first sampling is not the GPS Ga in the sampling (step S8o), the process proceeds to step S7 (9).
  • step S 8 es the sensor Sb in this sampling is not the sensor Sa in the sampling (step S 8) and the sensor Sb in the previous sampling is the sensor Sb in the sampling. If it is larger than Sa (step 82), then the sensor Sb at the sampling times is larger than the sensor Sa at the sampling.
  • the sensor Sb at 0154 samplings is larger than the sensor Sa at the sampling (step S 8 es), the sensor Sb at the previous sampling is larger than the sensor Sa at the sampling (step S 82 o), and the sampling at the sampling is If the sensor Sb at the wing is larger than the sensor Sa at the sampling (step S 83 o), it is determined that the left and right gains are in the divergent state, and convergence is achieved.
  • step S8 if the sensor Sb in the current sampling is more than the sensor Sa in the sampling (step S8o), the process proceeds to step S94 (8).
  • step S 82 if the sensor Sb in the previous sampling is larger than the sensor Sa in the sampling (step S 82 es), the previous time is in the error state and the error 2 is set (step S 88) and the correction is performed. ⁇ 2 sets (step S 89).
  • step S83 if the sensor Sb in the sampling of the times is larger than the sensor Sa in the sampling (step S83es), the times are in the oran state and the La 2 setting (step S83) is performed. 86), compensation, set (Step S 87)
  • step S 87 or step S 89 the correction set is performed, of which 2 3 4 out of 1 is set to.
  • a determination is made (step S9).
  • step S 76 of step 6 in this step the same gain is used as a reference to determine whether or not the current gain G is in the convergence state in the previous or subsequent processing in the gain difference correction processing. Therefore, refer to the above 4) that was set in the previous processing.
  • step S9 at least one of La 2 3 4 is (Step 9 es), it is determined that the left and right gay numbers are in the convergent state, and the convergent La setting (Step S 9) and Step S 9 are performed. Move to 92 principles. In all cases of step 2 9 (step S 9 o), the procedure proceeds to step S 92 without performing step S 9.
  • the gain G in the sampling is added by only the previous gain G (step S92), and it is determined that this is the underrun state (step S9). 3) Then, the series of processing ends.
  • step S 8 (7) it is determined in step S 8 (7) that the sensor Sb in the current sampling is not the sensor Sa in the sampling (step S 8 o).
  • step S94 it is determined whether the sensor Sb in this sampling is larger than the sensor Sa in the sampling. If the sensor Sb in the first sampling is larger than the sensor Sa in the sampling (step S 94 o), the series of processes is ended.
  • step S 94 if the sensor Sb at the current sampling is larger than the sensor Sa at the sampling (step S 94 es), the sensor Sb at the previous sampling Sb Sa (no, And the sensor Sb at one sampling If it is smaller than sensor Sa (step S 96). If the sensor Sb at the 16th sampling is smaller than the sensor Sa at the sampling (step S 95 o), and the sensor Sb at the sampling is more than the sensor Sa at the sampling (step S 96 o), the left and right It is determined that the gain is in the divergent state, and the convergence rate is set (step S97). Therefore, 4 corrections are set (step S 98)
  • step S 95 if the sensor Sb in the previous sampling is the sensor Sa in the previous sampling (step S 95 es), the previous time is in the underrun state, and the LA 3 setting (step S) and correction are set to 2. (Step S 2).
  • step S 96 if the sensor Sb in the sampling of the number of times is more than the sensor Sa in the sampling (step S 96 es), the number of times becomes the under-run state, and the setting of La 3 (step S 99) and correction are performed.
  • step S 3 When the correction set is performed in step S O or step S 2, it is determined whether or not any of 2 3 4 is set to 1 (step S 3). In the same way as in step S 76 of step 6 in this step, the value is used as a reference, and the current gain G is determined to be in the convergence state in the previous or subsequent processing as a result of the gain difference correction processing. Therefore, refer to the above 4) set in the previous processing.
  • step S3 it is judged that the right and left gain numbers are in the converged state in step S3 es of which one is the same as that in step S3, and the convergence rate is set (step 4) and step S3.
  • step S 3 o the procedure of step 4 is not performed and the process proceeds to step S 5.
  • step S5 the gain G in the sampling is subtracted from the previous gain G (step S5), and it is determined that this is the off state (step S5). 6)
  • the series of processing ends.
  • step S 7 it is determined whether GPS Gb in this sampling is larger than GPS Ga in sampling (step S 7) If GPS Gb in sampling is larger than GPS G a in sampling ( Step S 7 o) ends the series of operations.
  • Step S 7 es If the GPS Gb at the 0167th sampling is larger than the GPS Ga at the sampling (step S 7 es), the sensor Sb at this sampling is judged to be larger or smaller than the sensor Sa at the sampling. (Step S8). If the sensor Sb at the sampling time is larger than the sensor Sa at the sampling time (step S8o), the series of processes is terminated.
  • step S8 if the sensor Sb in the current sampling is larger than the sensor Sa in the sampling (step S8es), it is determined whether the sensor Sb in the previous sampling is greater than the sensor Sa in the sampling (step S8). 9) and whether or not the sensor Sb at the sampling time is more than the sensor Sa at the sampling time (step S).
  • step S 2 Sensor Sb Sampling than sensor Sa in sampling (step S go), Sensor Sb in sampling once is sensor Sa II in sampling (step S o is in the lateral gain divergence state) It is judged that there is, and the convergence rate is set (step S). , Correction v ⁇ 4 is set (step S 2)
  • step S9 if the sensor Sb in the previous sampling is greater than the sensor Sa in the sampling (step S9 es), the previous time is in the underrun state, and the La 4 setting (step S 5) and the correction v. 2 It is set (step S6). Similarly, in step S, if the sensor Sb in the sampling of the time is the sensor Sa in the sampling (step S es), the time is in the underrun state, and the setting of La 4 (step S 3) and correction are performed. v is set (step S 4)
  • step S 7 When the correction set is performed in step S4 or step S6, it is determined whether any one of 2 3 4 is set to 1 (step S 7). In the same way as in step S 76 of step 6 in this step, the value is used as a reference, and the current gain G is determined to be in the convergence state in the previous or subsequent processing as a result of the gain difference correction processing. Therefore, refer to the above 4) set in the previous processing.
  • step S7 it is determined that the right and left gain numbers are in the converged state in step S7 es of which one of the two is 2 3 4 and the convergent value is set (step S8), Shift to S9 theory. In all cases of step 2 3 4 (step S 7 o), the procedure proceeds to step S 9 without performing step S 8.
  • step S9 it is determined that the gain G in the sampling is subtracted from the previous gain G by v (step S9) to keep the new gain number this time (step S9). 2) Then, a series of processing ends.
  • the angular velocity sensor By using either G or G, the angular velocity sensor The corrected sensor position with the difference removed can be calculated.
  • the difference is the detection difference due to the gain (degree difference) of the angular velocity sensor depending on the direction of the vehicle, as defined above.
  • the detection difference is made every time, and the current orlan or underrun state is accurately reflected in the quantification. Therefore, it is possible to perform positive correction based on the gain difference between the left and right at a high degree, obtain an accurate sensor position and distance per unit, and accurately navigate the vehicle.
  • the comparison unit 47 compares the detected GPS position with the second GPS position in this implementation. It's a result. Then, in those cases, we compare the positive and negative changes accumulated from the ticks to the ticks.
  • the gain control unit 4 and the correction number () of the gain control unit 4 are updated by determining the correction for the currently determined correction number.
  • the result is obtained with the GPS Gb of the GPS Ga 2 of the time obtained.
  • Time change based on the result of the positive variable and the negative variable from 2 and 2 (Physical changes, explained in detail in Chapters 22 to 26). ). Observe the small difference between the positive and negative changes in the vehicle from the time of to the time of 2 so that the gain value converges to the positive value.
  • Figure 2 is a diagram for explaining the reasoning of orientation in Example 2.
  • the horizontal axis represents the time and the sampling is shown by the vertical line ().
  • the number of samplings ( ⁇ ) is shown in the 6th section of the sampling, and the sampling (O ⁇ ) starting from is shown in the 6th section of Figure 6.
  • the accelerometer surrounding ⁇ 5 is represented by a single digital value S. For example, in the case of a 2-bit input, since ⁇ 5 is 496, it becomes 22 S.
  • 01796 represents the value when, for example, when the sampling is s, 2 (5 s) is exchanged between s in the outer 2-bit counter. Then, the equation () is used to perform the smoothing between s, and for each s, represent the data of the value of the angular velocity sensor between s.
  • the angular velocity can be calculated by the above equation (2).
  • This velocity o is represented by the sampled parts of 6 2a 6 2b 6 2c shown in 2 and 6 3a 6 3b shown in square.
  • the squares 6 2a represent 2 samples
  • 6 2b represent 3 samples
  • 6 2c represent 2 samples
  • 6 3a represent 4 samples
  • 6 3b represent 6 samples. Represents 2 samples.
  • the squares 6 2a to 6 2c represent the displacements in (), and 6 3a to 63b represent the displacements in ().
  • the positive and negative positives of each sampling are used.
  • GPS Ga (06) in the sampling is acquired, and the GPS position gain and positive or negative change are obtained for each sampling.
  • the sample in which the sensor Sa and the sensor position in the sample are recorded is detected. That is, the sensor Sb (5) in the sampling shows the value of the sensor Sa ().
  • step S2 first record the sensor and GPS position for each sampling (step S2).
  • step 0185 either the sensor position () or () of the sensor position is recorded for each sampling. Record () and either () (step 2 2).
  • a positive change represents the value at the sensor position
  • a negative change represents the value at the sensor position.
  • step 2 2 either one of () and ()
  • step S2 3 wait for either one of () and () to be recorded consecutively, and if they are recorded (step S2 3 es, the gain positive is set if (is recorded continuously). Row, if the amount of () is recorded consecutively, the gain positive row (step 4), along with detecting the continued but started sampling of the same direction (step 5).
  • step S26 For each sampling, one of () and () and the other of () are multiplied (step S26). Then, after detecting the sampling in step S25, it is determined whether or not the sensor position of the sampling is recorded (step S27). Here, wait for the sensor position of the sampling to be recorded, and if the sensor position is recorded (step S2 7 es), the sensor position of the sampling is detected and the sampled position of the sensor is detected. Yes (step S2 8)
  • the sensor position in the sampling is represented by Sa (5, the PS position is represented by Ga (06), the sensor position in the sampling is represented by Sb (5), and the GPS position is represented by Gb (7), and the positive variable in the sampling is represented. Represents the cumulative value of, and the cumulative value of the negative variable represents 6.
  • step S2 When step S2 is performed, the correction is determined based on this result (step S2 o
  • G which is the correction number
  • step S22 Adjusts one of G (step S22) and ends the series of processing.
  • 0191 22-26 shows the detailed procedure of the correction process in implementation 2.
  • step S2 it is determined whether the GPS state is the three-dimensional state (step S2), and then the GPS data is determined to be three or more (step S2).
  • step S2 it is determined whether the GPS state is the three-dimensional state (step S2), and then the GPS data is determined to be three or more (step S2).
  • step S2 it is determined whether the GPS data is determined to be three or more (step S2).
  • step S2 2), and check whether the step is 3 or higher (step 2 3)
  • Step S 2 to Step S 2 3 if the conditions in Step S 2 to Step S 2 3 are all satisfied (Step S 2 to Step 2 3 es), the amount of GP Sth degree continues to decrease by 3 de Is determined (step 24), then it is determined whether or not the velocity, which is the velocity es calculated by the force of the angular velocity sensor, is under 3 de s ⁇ s (step S 2 5) 0193 times.
  • Step S 2 to S 2 3 are not applicable (Steps S 2 to S 2 3 o), or in Steps 2 4 and S 2 5 If the condition is met (step 4 S 5 es), the shift also shifts to step 26, and the positive and negative () signs are set to clear (step 26), and the series of processing ends.
  • step S 27 the sampling () is a sampling in which either a positive or negative amount is recorded continuously for a predetermined number of stable samplings starting from a certain sampling time. Then, in step 27, if the current sampling and the sampling () are equal to each other (step 27 es), the series of processing ends. If the sampling of this time and the sampling () are not equal (step S 27 o), the sensor Sb of the sampling of this time and the sensor Sa of the sampling are equal. It is determined (step S28). If the sensor Sb in the current sampling and the sensor Sa in the sampling are not equal (step 28 o) in step 28, the series of processes ends.
  • step S29 it was confirmed that the variable when the stable output was confirmed was positive () (), and the number of new curves in the opposite direction to the reference was selected based on either the left or right value. This is the reason for judging the line.
  • step S2 If the value is not the standard in step S29 (step S2 go), the process proceeds to step S238 (25), and when the sensor Sa is recorded in the sampling, left It is determined whether or not the value is the reference (step S238). If the value is the reference (step 29 es), then it is judged whether GPS Gb in the current sampling is higher than GPS Ga in the sampling (step S 2).
  • step S 2 o If the GPS Gb at the 0198th sampling is more than the GPS Ga at the sampling (step S 2 o), the process proceeds to step S 224 (2 4), and the GPS Gb at this sampling and the sampling To confirm the relationship with GPS Ga in. If the GPS Gb at the first sampling is greater than the GPS Ga at the sampling (step S 2 es), then it is recorded at the sampling at the current sampling (absolutely because it is a negative output). The comparison is based on II (underrun judgment is judged (step S 2). At this time, cumulative and 0 Is a precondition that is greater than O. In addition, the following is a prerequisite for the cumulative judgment. There are only right turns, only left turns.
  • step S 2 o the correction number is not updated, and the series of processes ends.
  • the number of samplings (underrun) (step S 2 es) shifts to the chart shown in 23, and first, the number of samples is larger than 6 (orang) in the previous sampling. (Step S 2 2) and the judgment of whether the sampling is larger (Oran) or not (Step S 2 3)
  • step S 2 2 if it is greater than 6 in the previous sampling (step S 2 2 o), in the next sampling.
  • step S 2 3 o If it is larger (step S 2 3 o), it is determined that the left and right gains are in the divergent state, and the convergence is set (step S 2 4). Therefore, 4 corrections are set (step S 25)
  • the gain is 0 when the gain is on the hour and the gain is 0 on the hour when the gain is 0, respectively, according to the GPS Gb in the current sampling and the GPS Ga in the current sampling 6 in the current sampling, respectively. And was initially cured. In this case as well, the state as described in the implementation 2 to 5 is represented.
  • step S2 2 if the value is larger than the previous sampling (step S2 2 es), the previous setting is in the RUN state and the LA setting (step S2 8), correction-two sets (step S29). Similarly, in step S 2 3
  • step S2 3 es If it is larger (step S2 3 es), the number of times is in the oran state, and the error is set (step S2 6) and corrected / set (step S 27)
  • step S22 it is determined whether or not one of the two or two is set (step S22). Using the value in this step as a reference, the current gain G is in the convergence state in the previous or subsequent processing as a result of the gain difference correction processing, and the previous or subsequent processing is performed. Refer to the above 2 set up.
  • step S22 if either La or 2 is equal to (step 22 es), it is judged that the right and left gain numbers are in the converged state, and the converged la setting (step S22) and step S222 are performed. Shift to the new principle. In both cases of La and 2 (step S 2 2 o), the process proceeds to the new process of step S 222 without performing the determination of step S 22.
  • step S222 it is determined that the gain G in the sampling is added to the previous gain G (step S222) in order to keep the current gain number new (step S222) (step S223). ), And ends the series of processing.
  • GPS Gb in the current sampling in step 2 (22) is greater than the GPS Ga in the sampling (step S 2 o) using the chart shown in 24, explain. First, GPS Gb in this sampling is sampled.
  • step 224 It is judged whether or not it is larger than GPS Ga in (step 224). If GPS Gb at the first sampling is greater than GPS Ga at the sampling (step 224 o), then the series of operations ends. If the GPS Gb at the current sampling is larger than the GPS Ga at the sampling at step 224 (step 224 es was recorded at the cumulative sampling at the current sampling).
  • step S225 It is determined whether or not it is larger.
  • step S 225 o If it is larger (step S 225 o), the series of processing ends.
  • step S 225 es the decision is made based on the previous sampling (step S 226) and the subsequent sampling (step S 227 es).
  • step S 226 o If (step S 226 o) and the number of samplings are better (step S 2 27 o), it is determined that the right and left gains are in the divergent state, and the convergence rate is set (step 228). Therefore, 4 corrections are set (step S229).
  • step S226 the last sampling
  • step S 226 es If is greater than (step S 226 es), the previous time is the under-run state, and the La 2 setting (step 32) is performed and the correction is performed 2 (step S 233.) If all (step S 227 es), the time is in the under-run state, the La 2 setting (step S 23), correction and setting (step S 23).
  • step S 23 When the correction set is performed in step S 23 or step S 233, it is determined whether or not 2 is set to or (step S 234). 23 steps in this step S 22 In the same way, the value is used as a reference, and the current gain G is in the convergence state in the previous or the last processing as a result of the gain difference correction processing. Refer to the above 2 set in.
  • step S 234 it is judged that the right or left gain number is in the convergent state when La or 2 is (Step 234 es), and the convergent La setting (Step S 235), Step S 236. Shift to the new principle. In both cases of La and 2 (step S 234 o), the process proceeds to the new process of step S 236 without performing the determination of step S 235.
  • step S236 the gain G in the sampling is subtracted from the previous gain G (step S236), and it is determined that this time is in the off state (step S236). 237), and ends the series of processing.
  • step 2 9 (22
  • step S 2 g o When the sensor Sa is detected in the sampling, and the value is not the reference (step S 2 g o), the reason is explained. First, when the sensor Sa is detected in the sampling, it is judged whether or not the value is the reference (step S238). If the value is not the reference (step S 238 o), the series of processes ends.
  • step S238 es If the value is the reference in step S238 (step S238 es), the GPS Gb in the current sampling is sampled.
  • step S239 It is determined from GPS Ga in step S239 (step S239). If GPS Gb in the first sampling is greater than GPS Ga in the sampling (step S239o), the process proceeds to step S253 (26).
  • step S239 if GPS Gb in this sampling is more than GPS Ga in sampling (step S239es), , Followed by recorded in this sample
  • step 24 Since it is a negative output, it is judged to be greater than absolute (comparison) (step 24). Cumulative in step 24
  • step 24 o If is greater (step 24 o), the sequence ends.
  • step 24 if the current sampling is larger (step 24 es is followed by the previous sampling, if not (step S 24), and the next sampling is performed. Check whether or not (Step S 42).
  • step S 24 o If (step S 24 o) and the number of samplings is higher than that (step S 2 42 o), it is determined that the left and right gains are in the divergent state, and the convergence rate is set (step 243). Therefore, 4 corrections are set (step S44).
  • step S24 the last sampling
  • step S 24 es the previous time is the underrun state, and the error is set (step 247) and the correction is set to 2 (step 48). Similarly, in step 242, if the number of times of sampling is more than that of the number of times (step 242 es), the number of times is underrun and
  • step S 245 correction and setting
  • step S 246 correction and setting
  • step 249 if either La or 2 is equal to (Step 249 es), it is judged that the left and right gain numbers are in the convergence state, and the convergence La setting (Step S 25) and Step S 25 are set. Shift to new theory. In both cases of La and 2 (step S 249 o), the process proceeds to the new process of step S 25 without performing the determination of step S 25.
  • the gain G in the sampling is subtracted by the previous gain G (step S 25), and it is determined that this is in the off state (step S 25 2 ), And ends the series of processing.
  • Step S 239 o when the GPS Gb in this sampling is more than the GPS Ga in the sampling in Step 239 (25). explain. First, GPS Gb in this sampling is sampled.
  • step S253 It is determined whether or not it is larger than GPS Ga in step S253 (step S253). If the GPS Gb at the first sampling is larger than the GPS Ga at the sampling (step S 253 o), the series of processes ends.
  • step S 253 if the GPS Gb at this sampling is larger than the GPS Ga at the sampling (step S 253 es), it was recorded at this sampling at this sampling.
  • step S254 If the accumulation is smaller in each sampling (step 254 o), the series of processing ends.
  • step S 254 if this sampling is higher (step S 254), then it is larger than in the previous sampling. No (step S255) and no more than one sampling (step S256).
  • step 55 o If it is larger than 6 in 0226 samplings (step 55 o), and if it is larger than 6 in samplings (step S 2 56 o, it is judged that the right and left gains are in the divergence state and the convergence is achieved. Set (step 257), and accordingly set 4 corrections (step S258).
  • step S255 the previous sampling
  • step S 255 If it is larger (step S 255 es), the previous time is in the Oran state, and La 2 is set (step S 26) and correction is set to 2 (step 62).
  • step S256 if the number of times of sampling is larger (step S256es), the number of times is in the oran state, and the setting of La 2 (step S259) and correction / setting ( (Step S26) 0228
  • the correction set is performed in step S26 or step S2622
  • it is determined whether or not one of the two or two is set to (step 63).
  • step 25 of this step the value is the same as in step S 24 9 and the current gain G is determined to be in the converged state in the previous or subsequent processing as a result of the gain difference correction processing. Therefore, refer to the above 2) set in the previous processing.
  • step S263 if either La or 2 is equal to (Step S263 es), it is determined that the left and right gain numbers are in the convergence state, and the convergence La setting (Step 264), Step S265 is performed. Shift to the new principle. (Step S 26 3 o) where both La and 2 are the same as Step S 265, instead of performing Step 264. To go.
  • step S265 In order to update the number of gains this time, it is determined that the gain G in the sampling is added by the previous gain G (step S265), and it is determined that this is the underrun state (step S26). 6) Then, the series of processing ends.
  • the difference is the detection difference due to the gain (degree difference) of the angular velocity sensor depending on the direction of the vehicle, as defined above.
  • the gain degree difference
  • the detection difference is made every time, the present orlan or underrun state is accurately reflected in the quantification. Therefore, it is possible to perform positive correction based on the gain difference between the left and right at a high degree, obtain an accurate sensor position and distance per unit, and accurately navigate the vehicle.
  • the implementation and the implementation 2 are performed at the same time.
  • the vehicle can be navigated more accurately by carrying out the actions and actions 2 within one navigation 3.
  • the direction finding method described in the present embodiment can be realized by executing a prepared program with a computer such as a so-called computer wax station.
  • This program is recorded on a recording medium that can be read by a computer such as a disk, a disk, or C OO, and is executed by being read from the recording medium by the computer.
  • this program may be a body that can be distributed via a network such as the Internet.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)
  • Instructional Devices (AREA)

Abstract

A direction calculation device (100) includes: a direction calculation unit (101) for calculating a sensor direction and a GPS direction; a recording unit (102) for accumulating/recording a positive change amount or a negative change amount of the sensor direction change amount for each predetermined sampling cycle; a detection unit (103) for detecting the sampling time when the positive or negative change amount is stabilized and begins to be continuously recorded for a predetermined number of times as a first time and detecting the sampling time when the accumulated values of the positive change amount and the negative change amount from the first time have become equal as a second time; a comparison unit (104) for comparing the GPS directions and the sensor directions at the first time and the second time; a correction amount deciding unit (105) for deciding a correction amount by using the comparison result; and a corrected direction calculating unit (106) for calculating a corrected sensor direction by using the correction amount.

Description

明 細 書 Specification
方位算出装置、方位算出方法、方位算出プログラム、および記録媒体 技術分野 Direction calculation device, direction calculation method, direction calculation program, and recording medium Technical field
[0001] この発明は、角速度センサの検出誤差を自動的に補正する方位算出装置、方位算 出方法、方位算出プログラム、および記録媒体に関する。ただし、この発明の利用は 、前述の方位算出装置、方位算出方法、方位算出プログラム、および記録媒体に限 るものではない。 [0001] The present invention relates to an azimuth calculation device, an azimuth calculation method, an azimuth calculation program, and a recording medium that automatically correct a detection error of an angular velocity sensor. However, the use of this invention is not limited to the above-described direction calculation device, direction calculation method, direction calculation program, and recording medium.
背景技術 Background technology
[0002] 車両などに搭載するナビゲーシヨン装置は、自車両の方位を求めるために角速度 センサが用いられている。角速度センサからの出力値を用いて、自車両の角速度お よび曲折方向を算出することで方位を求めている。このとき、角速度センサの感度特 性は車両の曲折方向によって異なる場合があるため、検出誤差の補正が必要となる [0002] Navigation devices installed in vehicles and the like use angular velocity sensors to determine the direction of the own vehicle. The heading is determined by calculating the angular velocity and turning direction of the vehicle using the output value from the angular velocity sensor. At this time, the sensitivity characteristics of the angular velocity sensor may differ depending on the turning direction of the vehicle, so it is necessary to correct the detection error.
[0003] 従来、角速度センサにおいては、上述のような検出誤差は許容範囲内としてそのま ま利用するか、ナビゲーシヨン装置を使用するたびに検出誤差の補正処理を行った り、検出時に誤差が小さくなるような処理を施したりして利用していた。補正処理とし ては、実際に車両を所定の角度だけ左右に走行させ、曲折方向の感度差を検出し、 角速度センサの検出に反映させる技術や、曲折方向に応じて異なる補正係数を設け 、車両の曲折方向による角速度センサの感度特性への影響を除去するような補正機 能を備えたナビゲーシヨン装置が開示されている (たとえば、下記特許文献 1参照。 ) [0003] Conventionally, with angular velocity sensors, the above-mentioned detection errors are considered to be within the allowable range and used as is, or correction processing is performed each time the navigation device is used, or if the error occurs during detection. It was used by processing it to make it smaller. The correction process involves technology that actually drives the vehicle left and right at a predetermined angle, detects the difference in sensitivity in the direction of the turn, and reflects this in the detection of the angular velocity sensor, and sets different correction coefficients depending on the direction of the turn. A navigation device is disclosed that has a correction function that eliminates the influence of the bending direction on the sensitivity characteristics of an angular velocity sensor (for example, see Patent Document 1 below).
[0004] 特許文献 1 :特開平 8— 304090号公報 [0004] Patent document 1: Japanese Patent Application Laid-Open No. 8-304090
発明の開示 Disclosure of invention
発明が解決しょうとする課題 Problems that the invention seeks to solve
[0005] し力しながら、正確に方位を測定するためにナビゲーシヨン装置を使用するたびに 上述のような補正処理を行うことはユーザにとって負担となる。また、特許文献 1に記 載された技術を用いても、車両の曲折方向によって角速度センサの感度差 (ゲイン 差)が異なり、検出誤差の影響を除去しきれないため、所定の精度以上には正確な 方位は求められな ヽと 、う問題が一例として挙げられて 、る。 [0005] It is a burden for the user to perform the above-described correction process every time he or she uses the navigation device to accurately measure the orientation. Furthermore, even if the technology described in Patent Document 1 is used, the sensitivity difference (gain An example of this problem is that the direction cannot be determined more accurately than a predetermined accuracy because the effects of detection errors are different and the influence of detection errors cannot be completely removed.
課題を解決するための手段 Means to solve problems
[0006] 上述した課題を解決し、目的を達成するため、請求項 1の発明にかかる方位算出 装置は、角速度センサの出力値を用いてセンサ方位を算出するとともに、 GPS信号 に基づいて GPS方位を算出する方位算出手段と、前記角速度センサの出力値の変 化量を、所定のサンプリング周期ごとに、所定の基準値よりも大きい値 (正の変化量) と、小さい値 (負の変化量)としてそれぞれ記録する記録手段と、前記記録手段にお ける前記サンプリング周期を基準に所定の条件を満たす 2つのサンプリング時刻を検 出する検出手段と、前記検出手段によって検出された 2つのサンプリング時刻におけ る、前記方位算出手段によって算出した方位の値の比較または、前記記録手段によ つて記録した正および負の変化量の累積値の比較のいずれか一つ以上を行う比較 手段と、前記比較手段における比較結果に基づいて、前記センサ方位の検出誤差 を補正する補正量を決定する補正量決定手段と、前記補正量決定手段によって決 定された前記補正量を用いて、前記方位算出手段によって算出されたセンサ方位の 検出誤差を補正した補正方位として算出する補正方位算出手段と、を備えることを特 徴とする。 [0006] In order to solve the above-mentioned problems and achieve the purpose, the azimuth calculation device according to the invention of claim 1 calculates the sensor azimuth using the output value of the angular velocity sensor, and calculates the GPS azimuth based on the GPS signal. and an azimuth calculation means for calculating the change in the output value of the angular velocity sensor. ); a detection means for detecting two sampling times that satisfy a predetermined condition based on the sampling period of the recording means; a comparison means that performs one or more of the following: a comparison of the azimuth values calculated by the azimuth calculation means; or a comparison of cumulative values of positive and negative changes recorded by the recording means; correction amount determining means for determining a correction amount for correcting the detection error of the sensor orientation based on a comparison result in the means; The present invention is characterized by comprising a corrected azimuth calculation means for calculating a corrected azimuth in which a detection error of the calculated sensor azimuth is corrected.
[0007] また、請求項 2の発明にかかる方位算出装置は、角速度センサの出力値を用いて センサ方位を算出するとともに、 GPS信号に基づいて GPS方位を算出する方位算出 手段と、前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所 定の基準値よりも大き 、値 (正の変化量)と、小さ 1、値 (負の変化量)としてそれぞれ 記録する記録手段と、前記記録手段によって正または負の変化量が所定のサンプリ ング回数連続して記録された際に、当該記録が開始されたサンプリング時刻(第 1の 時刻)を検出するとともに、当該第 1の時刻から前記記録手段によって記録された正 の変化量を蓄積した値 (正の累積値)と、負の変化量を蓄積した値 (負の累積値)との 比較を行い、前記正の累積値と前記負の累積値とが等しくなつたサンプリング時刻 ( 第 2の時刻)を検出する検出手段と、前記検出手段によって検出された第 1の時刻に おける GPS方位の値と、前記第 2の時刻における GPS方位の値とを比較するととも に、第 1の時刻におけるセンサ方位の値と、前記第 2の時刻におけるセンサ方位の値 とを比較する比較手段と、前記比較手段による比較結果に基づいて、前記記録手段 によって連続して記録された変化量に対応する方向を基準として前記センサ方位の 検出誤差を補正する補正量を決定する補正量決定手段と、前記補正量決定手段に よって決定された前記補正量を用いて、前記方位算出手段によって算出されたセン サ方位の検出誤差を補正した補正方位として算出する補正方位算出手段と、を備え ることを特徴とする。 [0007] Further, the azimuth calculation device according to the invention of claim 2 includes: azimuth calculation means for calculating the sensor azimuth using the output value of the angular velocity sensor and calculating the GPS azimuth based on the GPS signal; and the angular velocity sensor. a recording means for recording the amount of change in the output value of the output value as a value larger than a predetermined reference value (a positive amount of change) and a value smaller than a predetermined reference value (a negative amount of change) at each predetermined sampling period; , when a positive or negative amount of change is continuously recorded by the recording means for a predetermined number of sampling times, a sampling time (first time) at which the recording is started is detected, and the first time is detected. A value obtained by accumulating the amount of positive change recorded by the recording means (positive cumulative value) is compared with a value obtained by accumulating the amount of negative change (negative cumulative value), and the value obtained by accumulating the amount of negative change is compared with the positive cumulative value. a detection means for detecting a sampling time (second time) at which the negative cumulative value becomes equal; a value of the GPS direction detected by the detection means at the first time; and a value of the GPS direction at the second time; When comparing with the GPS direction value a comparison means for comparing the sensor orientation value at the first time with the sensor orientation value at the second time; a correction amount determining means for determining a correction amount for correcting a detection error of the sensor orientation based on a direction corresponding to a change amount determined by the sensor; The present invention is characterized by comprising a corrected azimuth calculating means for calculating a corrected azimuth by correcting the detection error of the sensor azimuth calculated by the means.
[0008] また、請求項 4の発明にかかる方位算出装置は、角速度センサの出力値を用いて センサ方位を算出するとともに、 GPS信号に基づいて GPS方位を算出する方位算出 手段と、前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所 定の基準値よりも大き 、値 (正の変化量)と、小さ 1、値 (負の変化量)としてそれぞれ 記録する記録手段と、前記記録手段によって正の変化量または負の変化量が所定 のサンプリング回数連続して記録された際に、当該記録が開始されたサンプリング時 刻(第 1の時刻)を検出するとともに、前記方位算出手段において、前記第 1の時刻 におけるセンサ方位と等 、センサ方位が算出されたサンプリング時刻(第 2の時刻) を検出する検出手段と、前記検出手段によって検出された第 1の時刻における GPS 方位の値と、前記第 2の時刻における GPS方位の値とを比較するとともに、第 1の時 刻から第 2の時刻までの間の前記正の変化量を蓄積した値 (正の累積値)と、負の変 化量を蓄積した値 (負の累積値)とを比較する比較手段と、前記比較手段による比較 結果に基づ 、て、前記記録手段によって連続して記録された変化量に対応する方 向を基準として前記センサ方位の検出誤差を補正する補正量を決定する補正量決 定手段と、前記補正量決定手段によって決定された前記補正量を用いて、前記方位 算出手段によって算出されたセンサ方位の検出誤差を補正した補正方位として算出 する補正方位算出手段と、を備えることを特徴とする。 [0008] Further, the azimuth calculation device according to the invention of claim 4 includes: azimuth calculation means that calculates the sensor azimuth using the output value of the angular velocity sensor and calculates the GPS azimuth based on the GPS signal; and the angular velocity sensor. a recording means for recording the amount of change in the output value of the output value as a value larger than a predetermined reference value (a positive amount of change) and a value smaller than a predetermined reference value (a negative amount of change) at each predetermined sampling period; , when a positive amount of change or a negative amount of change is continuously recorded by the recording means for a predetermined number of sampling times, a sampling time (first time) at which the recording is started is detected, and the direction is detected. The calculation means includes a detection means for detecting a sampling time (second time) at which the sensor orientation is calculated, such as the sensor orientation at the first time, and a GPS orientation at the first time detected by the detection means. and the value of the GPS direction at the second time, and also compare the value of the positive change between the first time and the second time (positive cumulative value). , a comparison means for comparing the accumulated negative amount of change (negative cumulative value), and based on the comparison result by the comparison means, corresponds to the amount of change continuously recorded by the recording means. a correction amount determining means for determining a correction amount for correcting the detection error of the sensor azimuth based on the direction in which the sensor azimuth is detected; and a correction amount determining means for determining the correction amount determined by the correction amount determining means. The present invention is characterized by comprising a corrected azimuth calculation means for calculating a corrected azimuth in which a detection error of the sensor azimuth is corrected.
[0009] また、請求項 7の発明にかかる方位算出方法は、角速度センサの出力値を用いて センサ方位を算出するとともに、 GPS信号に基づいて GPS方位を算出する方位算出 工程と、前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所 定の基準値よりも大き 、値 (正の変化量)と、小さ 1、値 (負の変化量)としてそれぞれ 記録する記録工程と、前記記録工程における前記サンプリング周期を基準に所定の 条件を満たす 2つのサンプリング時刻を検出する検出工程と、前記検出工程によって 検出された 2つのサンプリング時刻における、前記方位算出手段によって算出した方 位の値の比較または、前記記録工程によって記録した正および負の変化量の累積 値の比較のいずれか一つ以上を行う比較工程と、前記比較手段における比較結果 に基づ!/、て、前記センサ方位の検出誤差を補正する補正量を決定する補正量決定 工程と、前記補正量決定工程によって選択された前記補正量を用いて、前記方位算 出工程によって算出されたセンサ方位の検出誤差を補正した補正方位として算出す る補正方位算出工程と、を含むことを特徴とする。 [0009] Further, the azimuth calculation method according to the invention of claim 7 includes a azimuth calculation step of calculating a sensor azimuth using an output value of an angular velocity sensor and calculating a GPS azimuth based on a GPS signal; The amount of change in the output value of is calculated as a value larger than a predetermined reference value (positive change amount) and a value smaller than the predetermined reference value (negative change amount) at each predetermined sampling period. a recording step of recording, a detection step of detecting two sampling times that satisfy a predetermined condition based on the sampling period in the recording step, and a direction calculation means at the two sampling times detected by the detection step. A comparison step of comparing one or more of the calculated azimuth values or the cumulative values of positive and negative changes recorded in the recording step, and based on the comparison results of the comparison means!/ , a correction amount determination step for determining a correction amount for correcting a detection error in the sensor orientation; and a sensor orientation calculated in the orientation calculation step using the correction amount selected in the correction amount determination step. The method is characterized in that it includes a corrected direction calculation step of calculating a corrected direction in which the detection error of the detected direction is corrected.
[0010] また、請求項 8の発明にかかる方位算出方法は、角速度センサの出力値を用いて センサ方位を算出するとともに、 GPS信号に基づいて GPS方位を算出する方位算出 工程と、前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所 定の基準値よりも大き 、値 (正の変化量)と、
Figure imgf000006_0001
、値 (負の変化量)としてそれぞれ 記録する記録工程と、前記記録工程によって正または負の変化量が所定のサンプリ ング回数連続して記録された際に、当該記録が開始されたサンプリング時刻(第 1の 時刻)を検出するとともに、当該第 1の時刻から前記記録手段によって記録された正 の変化量を蓄積した値 (正の累積値)と、負の変化量を蓄積した値 (負の累積値)との 比較を行い、前記正の累積値と前記負の累積値とが等しくなつたサンプリング時刻 ( 第 2の時刻)を検出する検出工程と、前記検出工程によって検出された第 1の時刻に おける GPS方位の値と、前記第 2の時刻における GPS方位の値とを比較するととも に、第 1の時刻におけるセンサ方位の値と、前記第 2の時刻におけるセンサ方位の値 とを比較する比較工程と、前記比較工程による比較結果に基づいて、前記記録工程 によって連続して記録された変化量に対応する方向を基準として前記センサ方位の 検出誤差を補正する補正量を決定する補正量決定工程と、前記補正量決定工程に よって選択された前記補正量を用いて、前記方位算出工程によって算出されたセン サ方位の検出誤差を補正した補正方位として算出する補正方位算出工程と、を含む ことを特徴とする。
[0010] Further, the azimuth calculation method according to the invention of claim 8 includes a azimuth calculation step of calculating a sensor azimuth using an output value of an angular velocity sensor and calculating a GPS azimuth based on a GPS signal; The amount of change in the output value of is greater than a predetermined reference value at each predetermined sampling period.
Figure imgf000006_0001
, a recording step in which the positive or negative amount of change is recorded as a value (negative amount of change), and when a positive or negative amount of change is continuously recorded a predetermined sampling number of times in the recording step, the sampling time (when the recording started) is recorded. The first time) is detected, and a value (positive cumulative value) that accumulates the positive changes recorded by the recording means from the first time and a value (negative cumulative value) that accumulates the negative changes recorded by the recording means from the first time are detected. a detection step of detecting a sampling time (second time) at which the positive cumulative value and the negative cumulative value become equal; and a first sampling time detected by the detecting step. The value of the GPS direction at the time and the value of the GPS direction at the second time are compared, and the value of the sensor direction at the first time is compared with the value of the sensor direction at the second time. and a correction amount for determining a correction amount for correcting the detection error of the sensor orientation based on the comparison result of the comparison step, with reference to the direction corresponding to the amount of change continuously recorded in the recording step. a determining step; and a corrected azimuth calculating step of calculating a corrected azimuth in which the detection error of the sensor azimuth calculated in the azimuth calculating step is corrected using the correction amount selected in the correction amount determining step. It is characterized by containing.
[0011] また、請求項 9の発明にかかる方位算出方法は、角速度センサの出力値を用いて センサ方位を算出するとともに、 GPS信号に基づいて GPS方位を算出する方位算出 工程と、前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所 定の基準値よりも大き 、値 (正の変化量)と、
Figure imgf000007_0001
、値 (負の変化量)としてそれぞれ 記録する記録工程と、前記記録工程によって正の変化量または負の変化量が所定 のサンプリング回数連続して記録された際に、当該記録が開始されたサンプリング時 刻(第 1の時刻)を検出するとともに、前記方位算出手段において、前記第 1の時刻 におけるセンサ方位と等 、センサ方位が算出されたサンプリング時刻(第 2の時刻) を検出する検出工程と、前記検出工程によって検出された第 1の時刻における GPS 方位の値と、前記第 2の時刻における GPS方位の値とを比較するとともに、第 1の時 刻から第 2の時刻までの間の前記正の変化量を蓄積した値 (正の累積値)と、負の変 化量を蓄積した値 (負の累積値)とを比較する比較工程と、前記比較工程による比較 結果に基づ ヽて、前記記録工程によって連続して記録された変化量に対応する方 向を基準として前記センサ方位の検出誤差を補正する補正量を決定する補正量決 定工程と、前記補正量決定工程によって決定された前記補正量を用いて、前記方位 算出工程によって算出されたセンサ方位の検出誤差を補正した補正方位として算出 する補正方位算出工程と、を含むことを特徴とする。
[0011] Further, the azimuth calculation method according to the invention of claim 9 uses the output value of the angular velocity sensor. An azimuth calculation process of calculating the sensor azimuth and calculating the GPS azimuth based on the GPS signal, and calculating the amount of change in the output value of the angular velocity sensor to a value larger than a predetermined reference value at each predetermined sampling period. (positive amount of change) and
Figure imgf000007_0001
, a recording process in which the value (negative change amount) is recorded, respectively, and a sampling process in which the recording is started when a positive change amount or a negative change amount is continuously recorded for a predetermined number of sampling times in the recording process. a detection step of detecting a time (first time) and, in the azimuth calculation means, detecting a sampling time (second time) at which the sensor azimuth was calculated, such as the sensor azimuth at the first time; , the value of the GPS direction at the first time detected by the detection step and the value of the GPS direction at the second time are compared, and the value of the GPS direction between the first time and the second time is compared. Based on the comparison process of comparing the accumulated positive amount of change (positive cumulative value) and the accumulated value of negative amount of change (negative cumulative value), and the comparison result from the comparison process. , a correction amount determining step for determining a correction amount for correcting the detection error of the sensor orientation based on a direction corresponding to the amount of change continuously recorded in the recording step; The present invention is characterized by comprising a corrected azimuth calculation step of calculating a corrected azimuth in which a detection error of the sensor azimuth calculated in the azimuth calculation step is corrected using the correction amount obtained in the azimuth calculation step.
[0012] また、請求項 10にかかる方位算出プログラムは、請求項 7〜9のいずれか一つに記 載の方位算出方法をコンピュータに実行させることを特徴とする。 [0012] Furthermore, the orientation calculation program according to claim 10 is characterized by causing a computer to execute the orientation calculation method according to any one of claims 7 to 9.
[0013] また、請求項 11の発明にかかる記録媒体は、請求項 10に記載の方位算出プログ ラムをコンピュータによる読み取り可能に記録したことを特徴とする。 [0013] Furthermore, a recording medium according to the invention of claim 11 is characterized in that the orientation calculation program according to claim 10 is recorded in a computer-readable manner.
図面の簡単な説明 Brief description of the drawing
[0014] [図 1]図 1は、この発明の本実施の形態の方位算出装置の機能的構成を示すブロッ ク図である。 [0014] [FIG. 1] FIG. 1 is a block diagram showing the functional configuration of a direction calculation device according to an embodiment of the present invention.
[図 2]図 2は、この発明の本実施の形態の方位算出装置の処理の内容を示すフロー チャートである。 [FIG. 2] FIG. 2 is a flow chart showing the contents of processing of the direction calculation device according to the present embodiment of the invention.
[図 3]図 3は、この発明の本実施例におけるナビゲーシヨン装置のハードウェア構成を 示すブロック図である。 [FIG. 3] FIG. 3 is a block diagram showing the hardware configuration of the navigation device in this embodiment of the invention.
[図 4]図 4は、この発明の本実施例における方位算出部および補正処理部の具体的 構成を示す機能ブロック図である。 [Figure 4] Figure 4 shows specifics of the direction calculation unit and correction processing unit in this embodiment of the invention. FIG. 2 is a functional block diagram showing the configuration.
[図 5]図 5は、実施例 1にかかる方位算出の原理を説明する図である。 [Fig. 5] Fig. 5 is a diagram illustrating the principle of azimuth calculation according to the first embodiment.
[図 6]図 6は、今回のサンプリング時刻 nTにおける変化量を累積する累積リングバッ ファの一例を示す説明図である。 [Figure 6] Figure 6 is an explanatory diagram showing an example of an accumulation ring buffer that accumulates the amount of change at the current sampling time nT.
[図 7]図 7は、前回のサンプリング時刻 nTにおける変化量を累積する累積リングバッ ファの一例を示す説明図である。 [Fig. 7] Fig. 7 is an explanatory diagram showing an example of an accumulation ring buffer that accumulates the amount of change at the previous sampling time nT.
[図 8]図 8は、前々回のサンプリング時刻 nTにおける変化量を累積する累積リングバ ッファの一例を示す説明図である。 [FIG. 8] FIG. 8 is an explanatory diagram showing an example of an accumulation ring buffer that accumulates the amount of change at the sampling time nT before the previous one.
[図 9]図 9は、実施例 1における補正係数設定処理の概要を示すフローチャートであ る。 [FIG. 9] FIG. 9 is a flowchart showing an overview of correction coefficient setting processing in the first embodiment.
[図 10]図 10は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 1)である。 [FIG. 10] FIG. 10 is a flowchart (part 1) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 11]図 11は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 2)である。 [FIG. 11] FIG. 11 is a flowchart (part 2) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 12]図 12は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 3)である。 [FIG. 12] FIG. 12 is a flowchart (part 3) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 13]図 13は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 4)である。 [FIG. 13] FIG. 13 is a flowchart (part 4) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 14]図 14は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 5)である。 [Fig. 14] Fig. 14 is a flowchart (part 5) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 15]図 15は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 6)である。 [Fig. 15] Fig. 15 is a flowchart (part 6) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 16]図 16は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 7)である。 [Fig. 16] Fig. 16 is a flowchart (part 7) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 17]図 17は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 8)である。 [Fig. 17] Fig. 17 is a flowchart (part 8) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 18]図 18は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 9)である。 [図 19]図 19は、実施例 1における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 10)である。 [Fig. 18] Fig. 18 is a flowchart (part 9) showing the detailed procedure of the correction coefficient setting process in the first embodiment. [FIG. 19] FIG. 19 is a flowchart (Part 10) showing the detailed procedure of the correction coefficient setting process in the first embodiment.
[図 20]図 20は、実施例 2にかかる方位算出の原理を説明する図である。 [Fig. 20] Fig. 20 is a diagram illustrating the principle of azimuth calculation according to the second embodiment.
[図 21]図 21は、実施例 2における補正係数設定処理の概要を示すフローチャートで ある。 [FIG. 21] FIG. 21 is a flowchart showing an overview of correction coefficient setting processing in the second embodiment.
[図 22]図 22は、実施例 2における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 1)である。 [Figure 22] Figure 22 is a flowchart (Part 1) showing the detailed procedure of the correction coefficient setting process in the second embodiment.
[図 23]図 23は、実施例 2における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 2)である。 [Fig. 23] Fig. 23 is a flowchart (part 2) showing the detailed procedure of the correction coefficient setting process in the second embodiment.
[図 24]図 24は、実施例 2における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 3)である。 [Fig. 24] Fig. 24 is a flowchart (part 3) showing the detailed procedure of the correction coefficient setting process in the second embodiment.
[図 25]図 25は、実施例 2における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 4)である。 [Fig. 25] Fig. 25 is a flowchart (part 4) showing the detailed procedure of the correction coefficient setting process in the second embodiment.
[図 26]図 26は、実施例 2における補正係数設定処理の詳細な手順を示すフローチヤ ート(その 5)である。 [Figure 26] Figure 26 is a flowchart (part 5) showing the detailed procedure of the correction coefficient setting process in the second embodiment.
符号の説明 Explanation of symbols
[0015] 100 方位算出装置 [0015] 100 Direction calculation device
101 方位算出部 101 Direction calculation section
102 記録部 102 Recording Department
103 検出部 103 Detection part
104 比較部 104 Comparison section
105 補正量決定部 105 Correction amount determination section
106 補正方位算出部 106 Correction direction calculation section
発明を実施するための最良の形態 BEST MODE FOR CARRYING OUT THE INVENTION
[0016] 以下に添付図面を参照して、この発明にかかる方位算出装置、方位算出方法、方 位算出プログラム、および記録媒体の好適な実施の形態を詳細に説明する。この発 明は、たとえば、車両に搭載されるナビゲーシヨン装置等へ適用することが可能であ る。 [0017] (方位算出装置の機能的構成) [0016] Hereinafter, preferred embodiments of a direction calculation device, a direction calculation method, a direction calculation program, and a recording medium according to the present invention will be described in detail with reference to the accompanying drawings. This invention can be applied to, for example, a navigation device mounted on a vehicle. [0017] (Functional configuration of direction calculation device)
はじめに、この発明の本実施の形態の方位算出装置の機能的構成について説明 する。図 1は、この発明の本実施の形態の方位算出装置の機能的構成を示すブロッ ク図である。方位算出装置 100は、方位算出部 101と、記録部 102と、検出部 103と 、比較部 104と、補正量決定部 105と、補正方位算出部 106と、を備えている。 First, the functional configuration of the direction calculation device according to this embodiment of the invention will be explained. FIG. 1 is a block diagram showing the functional configuration of a direction calculation device according to this embodiment of the invention. The orientation calculation device 100 includes an orientation calculation section 101, a recording section 102, a detection section 103, a comparison section 104, a correction amount determination section 105, and a corrected orientation calculation section 106.
[0018] 方位算出部 101は、車両に搭載されている角速度センサの出力値から求めた相対 方位を、あらかじめ GPSや地図情報に含まれている方位情報など力も取得した絶対 方位に基づ ヽて定めた基準方位へ累積加算することで方位 (以下、「センサ方位」と いう)を算出する。同時に車両などの移動体に搭載してある GPSレシーバによって受 信した GPS信号力も導き出された絶対位置 (経緯情報)から絶対方位 (以下、「GPS 方位」という)を算出する。方位算出部 101は、方位算出装置 100が搭載された車両 などの移動体が移動状態であれば常に方位の算出を行う。算出された方位の情報 は、記録部 102と、検出部 103と、比較部 104と、補正方位算出部 106へ出力される [0018] The azimuth calculation unit 101 calculates the relative azimuth obtained from the output value of the angular velocity sensor mounted on the vehicle based on the absolute azimuth obtained in advance, such as azimuth information included in GPS and map information. The direction (hereinafter referred to as ``sensor direction'') is calculated by cumulatively adding it to the specified reference direction. At the same time, the absolute direction (hereinafter referred to as ``GPS direction'') is calculated from the absolute position (historical information) derived from the GPS signal strength received by a GPS receiver mounted on a moving object such as a vehicle. The azimuth calculation unit 101 always calculates the azimuth when a moving object such as a vehicle on which the azimuth calculation device 100 is mounted is in a moving state. Information on the calculated orientation is output to the recording section 102, the detection section 103, the comparison section 104, and the corrected orientation calculation section 106.
[0019] 記録部 102は、方位算出部 101から入力されたセンサ方位の値を所定のサンプリ ング周期ごとに基準値より大きい値を正の変化量として記録し、基準値より小さい値 を負の変化量として記録する。基準値と比較した値の大小関係は、角速度センサの 右左の出力と対応している。つまり正の変化量は、右方向の出力を表し、負の変化 量は、左方向の出力を表す。 [0019] The recording unit 102 records the value of the sensor orientation input from the orientation calculation unit 101 at each predetermined sampling period, with values larger than the reference value being recorded as positive changes, and values smaller than the reference value being recorded as negative changes. Record as the amount of change. The magnitude relationship of the values compared with the reference value corresponds to the right and left outputs of the angular velocity sensor. In other words, a positive amount of change represents an output to the right, and a negative amount of change represents an output to the left.
[0020] 記録部 102に記録された変化量は、比較部 104において所定のサンプリング時刻 力 開始したサンプリング回数ごとに累積値とし、正の変化量の累積値と負の変化量 の累積値との比較が行われる。したがって、記録部 102に記録された正および負の 変化量を比較する際に、指定されたサンプリング期間におけるサンプリング回数の変 化量を足し合わせて累積量として用いてもよいが、あら力じめ、記録部 102に累積型 のリングバッファを用いて記録を行ってもよ 、。 [0020] The amount of change recorded in the recording section 102 is converted into a cumulative value in the comparison section 104 for each sampling number started at a predetermined sampling time, and the cumulative value of the positive amount of change and the cumulative value of the negative amount of change are calculated. A comparison is made. Therefore, when comparing the positive and negative changes recorded in the recording section 102, the changes in the number of samplings during the designated sampling period may be added together and used as the cumulative amount. Alternatively, recording may be performed using a cumulative ring buffer in the recording unit 102.
[0021] 検出部 103は、記録部 102において記録を行うサンプリング周期を基準にして、所 定の条件を満たすサンプリング時刻を検出する。本実施の形態において、サンプリン グ時刻を検出する条件の一例としては、記録部 102において正または負の変化量が 所定のサンプリング回数連続して記録された際に、そのサンプリング開始時刻を第 1 の時刻とし、第 1の時刻から正および負の変化量をそれぞれ累積した累積値が等しく なった時のサンプリング時刻を第 2の時刻として検出するような検出条件が挙げられ る。 [0021] The detection unit 103 detects a sampling time that satisfies a predetermined condition based on the sampling period at which recording is performed in the recording unit 102. In this embodiment, an example of the condition for detecting the sampling time is that the recording unit 102 has a positive or negative amount of change. When the specified number of samplings are continuously recorded, the sampling start time is the first time, and the sampling time when the cumulative values of positive and negative changes from the first time become equal is the sampling time. Examples of detection conditions include detection as the second time.
[0022] 比較部 104は、検出部 103によって検出された第 1の時刻と第 2の時刻において、 方位算出部 101によって算出した方位の値の比較を行い、比較結果を補正量決定 部 105へ出力する。より詳しくは、検出部 103において例示したような条件で 2つのサ ンプリング時刻を検出した場合は、第 1の時刻と第 2の時刻における GPS方位の値の 比較と、第 1の時刻と第 2の時刻におけるセンサ方位の値の比較とをそれぞれに対し て行う。 [0022] Comparison section 104 compares the azimuth values calculated by azimuth calculation section 101 at the first time detected by detection section 103 and the second time, and sends the comparison result to correction amount determination section 105. Output. More specifically, when the detection unit 103 detects two sampling times under the conditions illustrated, it compares the GPS direction values at the first time and the second time, and compares the values of the GPS direction at the first time and the second time. The value of the sensor direction at the time of is compared for each.
[0023] 補正量決定部 105は、比較部 104から入力された比較結果に基づいて、センサ方 位への補正を行う際の補正量を決定する。具体的には、センサ方位と GPS方位それ ぞれの今回の比較結果に基づ 、て、補正前のセンサ方位がアンダーラン状態である 、オーバーラン状態であるかを判断し、アンダーラン状態、オーバーラン状態それ ぞれの状況に応じて補正量を増加または減少させる処理を行う。 [0023] Correction amount determining section 105 determines the amount of correction to be performed when correcting the sensor orientation based on the comparison result input from comparison section 104. Specifically, based on the current comparison results of the sensor orientation and GPS orientation, it is determined whether the sensor orientation before correction is in an underrun state or an overrun state, and whether the sensor orientation is in an underrun state or an overrun state is determined. Processing is performed to increase or decrease the amount of correction depending on each overrun condition.
[0024] また、補正量決定部 105には前回、前々回など、過去の方位算出処理に用いられ た比較結果が記録されており、補正量を決定する際にこれらの値を用いることで、補 正量を収束させることができる。なお、過去の比較結果は、記録されている数が多い ほど収束させやすいが、所定の回数分のみ (たとえば、 3回)記録され、新たに方位 算出処理を行うごとに最も古い記録が更新されていくようにしても、方位算出処理を 行うごとに過去の比較結果を収束判断に用いるため、同様に収束させることができる 。補正量決定部 105によって決定された補正量は、補正方位算出部 106へ出力され る。 [0024]Furthermore, the correction amount determining unit 105 records the comparison results used in the past direction calculation processing, such as the previous time and the time before the previous time, and by using these values when determining the correction amount, the correction amount can be adjusted. Positive quantities can be converged. Note that it is easier to converge the past comparison results when there are more records, but they are only recorded a predetermined number of times (for example, three times), and the oldest record is updated each time a new direction calculation process is performed. Even if the direction calculation process is performed, the past comparison results are used to determine convergence each time the direction calculation process is performed, so convergence can be achieved in the same way. The correction amount determined by the correction amount determination section 105 is output to the correction direction calculation section 106.
[0025] 補正方位算出部 106は、補正量決定部 105から入力された補正量を用いて補正 係数の調整を行い、方位算出部 101から入力されたセンサ方位の補正を行うことで 角速度センサの検出誤差を補正した補正後の方位 (補正方位)を算出する。補正方 位算出部 106によって算出された方位は、方位算出装置 100が接続されたナビゲー シヨン装置などに出力される。 [0026] また、方位算出装置の他の実施の形態の場合、検出部 103は、サンプリング時刻 を検出する条件の他の例としては、記録部 102において、正または負の変化量が所 定のサンプリング回数連続して記録された際に、そのサンプリング開始時刻を第 1の 時刻として検出する。その後、第 1の時刻におけるセンサ方位と等しいセンサ方位を 記録した時刻を第 2の時刻として検出するような検出条件が挙げられる。 [0025] The correction azimuth calculation unit 106 adjusts the correction coefficient using the correction amount input from the correction amount determination unit 105, and corrects the sensor azimuth input from the azimuth calculation unit 101. Calculate the corrected direction (corrected direction) after correcting the detection error. The orientation calculated by the corrected orientation calculation unit 106 is output to a navigation device or the like to which the orientation calculation device 100 is connected. [0026] Furthermore, in the case of another embodiment of the azimuth calculation device, the detection unit 103 detects the sampling time when the positive or negative amount of change is within a predetermined amount in the recording unit 102. When the number of samplings is continuously recorded, the sampling start time is detected as the first time. Thereafter, a detection condition may be such that a time when a sensor orientation equal to the sensor orientation at the first time is recorded is detected as a second time.
[0027] 他の実施の形態の場合、比較部 104は、第 1の時刻と第 2の時刻において方位算 出部 101によって算出した方位の値の比較を行い、比較結果を補正量決定部 105 へ出力する。より詳しくは、第 1の時刻と第 2の時刻との GPS方位の比較と、第 1の時 刻から第 2の時刻の間の正の変化量の累積値と負の変化量の累積値の比較を行つ てもよい。 [0027] In another embodiment, the comparison unit 104 compares the azimuth values calculated by the azimuth calculation unit 101 at the first time and the second time, and sends the comparison result to the correction amount determination unit 105. Output to. In more detail, we will compare the GPS directions between the first time and the second time, and calculate the cumulative value of the positive change amount and the cumulative value of the negative change amount between the first time and the second time. Comparisons may be made.
[0028] (方位算出装置の処理の内容) [0028] (Contents of processing of direction calculation device)
つぎに、方位算出装置 100の処理の内容について説明する。図 2は、この発明の 本実施の形態の方位算出装置の処理の内容を示すフローチャートである。ここでは 、方位算出装置 100の具体的な処理手順の一例をとりあげて説明する。図 2のフロー チャートにおいて、まず、方位算出部 101において、センサ方位、 GPS方位を算出 する(ステップ S201)。ステップ S201の処理が行われると、記録部 102では、センサ 方位の正および負の変化量を記録する(ステップ S 202)。 Next, the contents of the processing of the direction calculation device 100 will be explained. FIG. 2 is a flowchart showing the contents of the processing of the direction calculation device according to this embodiment of the invention. Here, an example of a specific processing procedure of the direction calculation device 100 will be explained. In the flow chart of FIG. 2, first, the direction calculation unit 101 calculates the sensor direction and the GPS direction (step S201). When the process of step S201 is performed, the recording unit 102 records the positive and negative changes in the sensor orientation (step S202).
[0029] つぎに、記録部 102において正 (負)の変化量が連続して記録された力否かを判断 する (ステップ S 203)。正 (負)の変化量が連続して記録された状態とは、一例として は所定のサンプリング回数連続して正 (負)の変化量が記録された状態を指す。この 処理は、正 (負)の変化量が連続して記録されることで、正の変化量の場合は、右方 向への移動を表し、右出力値が基準となり、負の変化量の場合は、左方向への移動 を表し、左出力値が基準となる(角速度センサの上下の設置方向によっては正負と右 左との関係は逆になる)。また、連続して記録されたことが条件となることで、当刻所 定のサンプリング回数が少ない場合には、たとえば、サンプリング周期 Tが 100msの 時、所定のサンプリング回数が 10回とすると、 1秒間、正 (負)の変化量が連続されて 出力されても、 1秒間というのは一瞬の時間であり正確に右方向もしくは左方向を判 断することはできない。したがって、安定したサンプリング回数が必要となる。 [0030] ステップ S203において、正(負)の変化量が連続して記録されるのを待って、正(負 )の変化量が連続して記録されると (ステップ S203 : Yes)、つぎに、検出部 103にお いて、連続した出力が開始された時刻を第 1の時刻として検出する (ステップ S204) 。連続した出力が開始された時刻とは、記録部 102において正 (負)の変化量が連続 して記録された最初の記録のサンプリング時刻を指す。 [0029] Next, it is determined whether or not a positive (negative) change amount is continuously recorded in the recording unit 102 (step S203). An example of a state in which positive (negative) changes are continuously recorded is a state in which positive (negative) changes are continuously recorded a predetermined sampling number of times. In this process, positive (negative) changes are recorded continuously; a positive change represents movement to the right, and the right output value is used as the reference, and a negative change is indicates movement to the left, and the left output value is the reference (the relationship between positive and negative and right and left may be reversed depending on the vertical installation direction of the angular velocity sensor). In addition, if the predetermined number of samplings at the moment is small because the condition is that the data be recorded continuously, for example, if the sampling period T is 100ms and the predetermined number of samplings is 10, then 1 Even if positive (negative) changes are output continuously for a second, one second is a moment of time, and it is not possible to accurately determine whether the vehicle is going to the right or left. Therefore, a stable sampling frequency is required. [0030] In step S203, wait until the positive (negative) amount of change is recorded continuously, and if the positive (negative) amount of change is recorded continuously (step S203: Yes), then , the detection unit 103 detects the time when the continuous output is started as the first time (step S204). The time when continuous output is started refers to the sampling time of the first recording at which positive (negative) changes are continuously recorded in the recording unit 102.
[0031] ステップ S204において第 1の時刻が検出されると、つぎに、記録部 102によって記 録された正および負の変化量について、第 1の時刻から累積した正および負の変化 量が等しいか否かを判断する (ステップ S 205)。ここで、正および負の変化量が等し くなるのを待ち、累積した正および負の変化量が等しくなると (ステップ S205 : Yes)、 検出部 103において、累積した正および負の変化量が等しくなつた時刻を第 2の時 刻として検出する (ステップ S 206)。 [0031] When the first time is detected in step S204, next, regarding the positive and negative changes recorded by the recording unit 102, the accumulated positive and negative changes from the first time are equal. (Step S 205). Here, wait until the positive and negative changes become equal, and when the accumulated positive and negative changes become equal (step S205: Yes), the detection unit 103 detects the accumulated positive and negative changes. The time that becomes equal is detected as the second time (step S 206).
[0032] 続いて、比較部 104において、第 1の時刻と第 2の時刻における GPS方位の比較 およびセンサ方位の比較をそれぞれに対して行う(ステップ S 207)。つぎに、補正量 決定部 105において、ステップ S207における比較結果に応じて補正量を決定する( ステップ S208)。最後に、補正方位算出部 106において、ステップ S208によって決 定された補正量を用いてセンサ方位を補正した補正方位を算出し (ステップ S209)、 一連の処理を終了する。 [0032]Next, the comparison unit 104 compares the GPS direction and the sensor direction at the first time and the second time (step S207). Next, the correction amount determination unit 105 determines the correction amount according to the comparison result in step S207 (step S208). Finally, the correction azimuth calculation unit 106 calculates a correction azimuth in which the sensor azimuth is corrected using the correction amount determined in step S208 (step S209), and the series of processes ends.
[0033] 以上説明したように、本実施の形態の方位算出装置 100によれば、角速度センサ 力も算出したセンサ方位と、 GPS信号力も算出した GPS方位と、センサ方位の変化 量の累積を用いることで角速度センサによって算出されるセンサ方位の車両の曲折 方向による角速度センサの感度差 (ゲイン差)による検出誤差 (以下、「検出誤差」と いう)の補正に適した補正量を決定することができる。このようにして決定された補正 量を用いて補正係数の調整を行うことで、高精度な誤差補正を自動的に行うことがで きる。 [0033] As explained above, according to the azimuth calculation device 100 of the present embodiment, the sensor azimuth in which the angular velocity sensor force was also calculated, the GPS azimuth in which the GPS signal force was also calculated, and the cumulative amount of change in the sensor azimuth are used. It is possible to determine the amount of correction suitable for correcting the detection error (hereinafter referred to as "detection error") due to the sensitivity difference (gain difference) of the angular velocity sensor depending on the turning direction of the vehicle in the sensor orientation calculated by the angular velocity sensor. . By adjusting the correction coefficient using the correction amount determined in this way, highly accurate error correction can be performed automatically.
[0034] 他の実施の形態の場合、検出部 103において、センサ方位が等しくなつた 2つの時 刻を第 1の時刻、第 2の時刻として検出し、比較部 104においては、第 1の時刻と第 2 の時刻とにおける GPS方位の比較と、第 1の時刻〜第 2の時刻の間の正および負の 変化量の比較を行って、補正量決定部 105へ出力してもよい。上述した実施の形態 と同様に、高精度な誤差補正を自動的に行うことができる。 [0034] In the case of another embodiment, the detection unit 103 detects the two times when the sensor orientations become equal as the first time and the second time, and the comparison unit 104 detects the two times when the sensor orientations become equal as the first time and the second time. A comparison of the GPS direction between the first time and the second time, and a comparison of the positive and negative change amounts between the first time and the second time may be performed and output to the correction amount determination unit 105. Embodiment described above Similarly, highly accurate error correction can be performed automatically.
[0035] さらに、以上説明した 2つの実施の形態は、同じ検出手段によって検出されたパラメ ータ (正と負の変化量それぞれの累積値およびセンサ方位および GPS方位)を利用 して GPS方位の比較およびセンサ方位の比較と、 GPS方位の比較および正と負の 変化量それぞれの累積値の比較と、をすることから、比較部 104内に 2つの比較機 能部を設けることで、方位算出装置 100の構成を変えることなぐ同時に実行させるこ ともできる。 2つの実施の形態を同時に実行することで誤差補正の回数が増加し、より 正確なナビゲートを行うことができる。 [0035] Furthermore, the two embodiments described above use the parameters detected by the same detection means (cumulative values of positive and negative changes, sensor orientation, and GPS orientation) to determine the GPS orientation. Comparison and comparison of sensor orientation, comparison of GPS orientation, and comparison of cumulative values of positive and negative changes are performed, so by providing two comparison function units in the comparison unit 104, orientation calculation is possible. They can also be executed simultaneously without changing the configuration of the device 100. By executing the two embodiments simultaneously, the number of error corrections can be increased, and more accurate navigation can be performed.
実施例 1 Example 1
[0036] 以下に、この発明の実施例 1について説明する。実施例 1では、たとえば、車両(四 輪車、二輪車を含む)などの移動体に搭載されるナビゲーシヨン装置によって、この 発明の方位算出装置を実施した場合の一例について説明する。 [0036] Example 1 of the present invention will be described below. In Embodiment 1, an example in which the orientation calculation device of the present invention is implemented by a navigation device mounted on a moving object such as a vehicle (including four-wheeled vehicles and two-wheeled vehicles) will be described.
[0037] (ナビゲーシヨン装置のハードウェア構成) [0037] (Hardware configuration of navigation device)
はじめに、この発明の本実施例におけるナビゲーシヨン装置のハードウェア構成に ついて説明する。図 3は、この発明の本実施例におけるナビゲーシヨン装置のハード ウェア構成を示すブロック図である。この発明の本実施例におけるナビゲーシヨン装 置 300は、ナビゲーシヨン制御部 301と、ユーザ操作部 302と、表示部 303と、記録 媒体 304と、記録媒体デコード部 305と、案内音出力部 306と、通信部 307と、経路 探索部 308と、経路誘導部 309と、案内音生成部 310と、スピーカ 311と、位置取得 部 312と、方位算出部 313と、補正処理部 314と、によって構成される。 First, the hardware configuration of the navigation device in this embodiment of the invention will be explained. FIG. 3 is a block diagram showing the hardware configuration of the navigation device in this embodiment of the invention. The navigation device 300 in this embodiment of the invention includes a navigation control section 301, a user operation section 302, a display section 303, a recording medium 304, a recording medium decoding section 305, and a guide sound output section 306. , a communication section 307, a route search section 308, a route guidance section 309, a guide sound generation section 310, a speaker 311, a position acquisition section 312, a direction calculation section 313, and a correction processing section 314. Ru.
[0038] まず、ナビゲーシヨン制御部 301は、ナビゲーシヨン装置 300の全体を制御する。 [0038] First, the navigation control unit 301 controls the entire navigation device 300.
ナビゲーシヨン制御部 301は、たとえば、所定の演算処理を実行する CPU (Central Processing Unit)や、各種制御プログラムを格納する ROM (Read Only Me mory)、および、 CPUのワークエリアとして機能する RAM (Random Access Me mory)などによって構成されるマイクロコンピュータなどによって実現することができる 。 RAMには、たとえば、角速度の算出に際して用いられる補正係数が記憶されてい る。詳細は後述する力 RAMにおいては、車両の曲折方向ごとにそれぞれ設定され た補正係数が一つずつ記憶されている。本実施例においては、左ゲイン差の補正係 数 Glおよび右ゲイン差の補正係数 Grが記憶されている(図 4参照)。各補正係数 G1 および Grは、更新自在に記憶されている。 The navigation control unit 301 includes, for example, a CPU (Central Processing Unit) that executes predetermined arithmetic processing, a ROM (Read Only Memory) that stores various control programs, and a RAM (Random Processing Unit) that functions as a work area for the CPU. This can be realized by a microcomputer configured with an access memory (Access Memory), etc. For example, the RAM stores correction coefficients used when calculating angular velocity. In the force RAM, which will be described in detail later, one correction coefficient is stored for each turning direction of the vehicle. In this embodiment, the correction coefficient for the left gain difference is The number Gl and the correction coefficient Gr for the right gain difference are memorized (see Figure 4). Each correction coefficient G1 and Gr is stored in a freely updatable manner.
[0039] ナビゲーシヨン制御部 301は、経路誘導に際し、経路探索部 308、経路誘導部 30 9、案内音生成部 310との間で経路誘導に関する情報の入出力を行い、その結果得 られる情報を表示部 303および案内音出力部 306へ出力する。 [0039] During route guidance, the navigation control unit 301 inputs and outputs information regarding route guidance to and from the route search unit 308, route guidance unit 309, and guide sound generation unit 310, and uses the information obtained as a result. It is output to the display section 303 and the guide sound output section 306.
[0040] また、ユーザ操作部 302は、文字、数値、各種指示など、ユーザによって入力操作 された情報をナビゲーシヨン制御部 301に対して出力する。ユーザ操作部 302の構 成としては、物理的な押下 Z非押下を検出する押ボタンスィッチ、タツチパネル、キ 一ボード、ジョイスティックなど公知の各種形態を採用することが可能である。ユーザ 操作部 302は、外部からの音声を入力するマイクを用いて、音声によって入力操作 を行う形態としてもよい。 [0040] Furthermore, the user operation unit 302 outputs information input and operated by the user, such as characters, numbers, and various instructions, to the navigation control unit 301. As the configuration of the user operation unit 302, it is possible to adopt various known forms such as a pushbutton switch that detects physical pressing and non-pressing of Z, a touch panel, a keyboard, a joystick, etc. The user operation unit 302 may be configured to perform input operations by voice using a microphone that inputs voice from the outside.
[0041] ユーザ操作部 302は、ナビゲーシヨン装置 300に対して一体に設けられていてもよ V、し、リモコンのようにナビゲーシヨン装置 300から分離して操作可能な形態であって もよい。ユーザ操作部 302は、上述した各種形態のうちいずれか単一の形態で構成 されていてもよいし、複数の形態で構成されていてもよい。ユーザは、ユーザ操作部 302の形態に応じて、適宜入力操作を行うことによって情報を入力する。ユーザ操作 部 302の操作によって入力される情報としては、たとえば、探索する経路の目的地( 目的地の地点情報)または出発地(出発地の地点情報)が挙げられる。 [0041] The user operation unit 302 may be provided integrally with the navigation device 300, or may be operated separately from the navigation device 300, such as a remote control. The user operation unit 302 may be configured in any one of the various configurations described above, or may be configured in a plurality of configurations. The user inputs information by performing an appropriate input operation depending on the form of the user operation unit 302. Examples of information input by operating the user operation unit 302 include the destination (destination point information) or the departure point (departure point information) of the route to be searched.
[0042] 目的地または出発地の入力は、それぞれの地点の緯度'経度や住所を入力する他 、目的地または出発地となる施設の電話番号やジャンル、キーワードなどを指定する ことによって行ってもよい。目的地または出発地となる施設の電話番号やジャンル、 キーワードなどを指定することによって目的地または出発地の入力を行うことにより、 該当する施設が探索され、その位置を目的地または出発地として特定することができ る。より詳細には、これらの情報は、後述する記録媒体 304に記録された地図情報に 含まれる背景種別データに基づいて、地図上の一点として特定される。また、詳細を 後述する表示部 303に地図情報を表示させ、表示された地図上の一点を指定するよ うにしてもよい。 [0042] In addition to inputting the latitude and longitude and address of each point, the destination or departure point can also be entered by specifying the telephone number, genre, keyword, etc. of the facility serving as the destination or departure point. good. By inputting the destination or departure point by specifying the phone number, genre, keyword, etc. of the facility that is the destination or departure point, the corresponding facility is searched and the location is identified as the destination or departure point. can do. More specifically, this information is identified as a point on the map based on background type data included in map information recorded on a recording medium 304, which will be described later. Alternatively, map information may be displayed on the display section 303, the details of which will be described later, and one point on the displayed map may be specified.
[0043] また、表示部 303は、たとえば、 CRT(Cathode Ray Tube)、 TFT液晶ディスプ レイ、有機 EL (Electroluminescence)ディスプレイ、プラズマディスプレイなどを含 む。表示部 303は、具体的には、たとえば、映像 IZFや映像 IZFに接続された映像 表示用のディスプレイ装置によって構成することができる。 [0043] The display section 303 may be, for example, a CRT (Cathode Ray Tube) or a TFT liquid crystal display. This includes LED displays, organic EL (Electroluminescence) displays, plasma displays, etc. Specifically, the display unit 303 can be configured by, for example, a video IZF or a display device for displaying video connected to the video IZF.
[0044] 映像 IZFは、具体的には、たとえば、ディスプレイ装置全体の制御を行うグラフイツ クコントローラと、即時表示可能な画像情報を一時的に記憶する VRAM (Video R AM)などのバッファメモリと、グラフィックコントローラから出力される画像情報に基づ いて、ディスプレイ装置を表示制御する制御 ICなどによって構成される。表示部 303 には、アイコン、カーソル、メニュー、ウィンドウ、あるいは文字や画像などの各種情報 が表示される。また、表示部 303には、 HD (Hard Disk)に記憶された地図情報や 経路誘導に関する情報が表示される。 [0044] Specifically, the video IZF includes, for example, a graphics controller that controls the entire display device, a buffer memory such as VRAM (Video RAM) that temporarily stores image information that can be displayed immediately, It consists of a control IC that controls the display device based on the image information output from the graphics controller. The display section 303 displays icons, cursors, menus, windows, and various information such as text and images. Furthermore, the display section 303 displays map information and route guidance information stored in an HD (Hard Disk).
[0045] また、記録媒体 304は、地図情報、各種制御プログラム、各種情報などをコンビュ ータに読み取り可能な状態で記録する。記録媒体 304は、記録媒体デコード部 305 による情報の書き込みを受け付けるとともに、書き込まれた情報を不揮発に記録する 。記録媒体 304は、たとえば、 HDによって実現することができる。本実施例における 記録媒体 304には、方位算出プログラムが記録されている。なお、方位算出プロダラ ムは、記録媒体 304に記録されて 、るものに限らな 、。 [0045] Furthermore, the recording medium 304 records map information, various control programs, various information, etc. in a state readable by a computer. The recording medium 304 receives information written by the recording medium decoding unit 305 and records the written information in a non-volatile manner. The recording medium 304 can be realized by, for example, HD. In the present embodiment, the recording medium 304 records an orientation calculation program. Note that the direction calculation program is not limited to that recorded on the recording medium 304.
[0046] 記録媒体 304は、 HDに限るものではなぐ HDに代えて、あるいは、 HDに加えて、 DVD (Digital Versatile Disk)や CD (Compact Disk)など、記録媒体デコード 部 305に対して着脱可能であり可搬性を有するメディアを記録媒体 304として用いて もよい。記録媒体 304は、 DVDおよび CDに限るものではなぐ CD-ROM (CD-R 、 CD-RW)、 MO (Magneto -Optical disk)、メモリカードなど、記録媒体デコー ド部 305に対して着脱可能であり可搬性を有するメディアを利用することもできる。 [0046] The recording medium 304 is not limited to HD, but instead of or in addition to HD, DVD (Digital Versatile Disk), CD (Compact Disk), etc. can be attached to and detached from the recording medium decoding unit 305. A portable medium may be used as the recording medium 304. The recording medium 304 is not limited to DVDs and CDs, but also includes CD-ROMs (CD-Rs, CD-RWs), MOs (Magneto-Optical disks), memory cards, etc., which can be attached to and removed from the recording medium decoding section 305. It is also possible to use portable media.
[0047] 記録媒体 304に記録された地図情報は、建物、河川、地表面などの地物(フィーチ ャ)を表す背景データと、道路の形状や方位を表す道路形状データとを有しており、 表示部 303の表示画面にぉ 、て 2次元または 3次元に描画される。道路形状データ は、たとえば、マップマッチングにも用いられる。記録媒体 304に記録された地図情 報は、たとえば、ナビゲーシヨン装置 300が経路誘導中の場合に、位置取得部 312 によって取得された自車位置と重ねて表示される。 [0048] なお、本実施例では地図情報を記録媒体 304に記録するようにしたが、これに限る ものではない。地図情報は、ナビゲーシヨン装置 300のハードウェアと一体に設けら れているものに限って記録されているものではなぐナビゲーシヨン装置 300の外部 に設けられていてもよい。その場合、ナビゲーシヨン装置 300は、たとえば、通信部 3 07を通じて、ネットワークを介して地図情報を取得する。取得された地図情報は RA Mなどに記憶される。 [0047] The map information recorded in the recording medium 304 includes background data representing features such as buildings, rivers, and the ground surface, and road shape data representing the shape and direction of the road. The image is drawn in two or three dimensions on the display screen of the display unit 303. Road shape data is also used, for example, in map matching. The map information recorded on the recording medium 304 is displayed overlappingly with the own vehicle position acquired by the position acquisition unit 312, for example, when the navigation device 300 is guiding a route. [0048] In this embodiment, the map information is recorded on the recording medium 304, but the present invention is not limited to this. The map information is not limited to being recorded integrally with the hardware of the navigation device 300, but may be provided outside the navigation device 300. In that case, the navigation device 300 acquires map information via the network, for example through the communication unit 307. The acquired map information is stored in RAM, etc.
[0049] また、記録媒体デコード部 305は、記録媒体 304に対する情報の読み取り Z書き 込みの制御を行う。たとえば、記録媒体 304として HDを用いた場合には、記録媒体 デコード部 305は、 HDD (Hard Disk Drive)となる。同様に、記録媒体 304として DVDあるいは CD (CD— R、 CD— RWを含む)を用いた場合には、記録媒体デコー ド部 305は、 DVDドライブあるいは CDドライブとなる。書き込み可能かつ着脱可能な 記録媒体 304として、 CD— ROM (CD— R、 CD— RW)、 MO、メモリカードなどを利 用する場合には、各種記録媒体への情報の書き込みおよび各種記録媒体に記憶さ れた情報の読み取りが可能な専用のドライブ装置を、記録媒体デコード部 305として 適宜用いる。 [0049] Furthermore, the recording medium decoding unit 305 controls reading and writing of information on the recording medium 304. For example, when an HD is used as the recording medium 304, the recording medium decoding section 305 becomes an HDD (Hard Disk Drive). Similarly, when a DVD or a CD (including CD-R and CD-RW) is used as the recording medium 304, the recording medium decoding section 305 becomes a DVD drive or a CD drive. When using a CD-ROM (CD-R, CD-RW), MO, memory card, etc. as a writable and removable recording medium 304, it is possible to write information to and write information to various recording media. A dedicated drive device capable of reading stored information is appropriately used as the recording medium decoding section 305.
[0050] また、案内音出力部 306は、接続されたスピーカ 311への出力を制御することによ つて、案内音を再生する。スピーカ 311は、一つであってもよいし、複数であってもよ い。具体的には、案内音出力部 306は、音声出力用のスピーカ 311に接続される音 声 IZFによって実現することができる。より具体的には、音声 IZFは、たとえば、音声 デジタル情報の DZA変換を行う DZA変換回路と、 DZA変換回路カゝら出力される 音声アナログ信号を増幅する増幅器と、音声アナログ情報の AZD変換を行う AZD 変換回路と、カゝら構成することができる。 [0050] Further, the guide sound output section 306 reproduces the guide sound by controlling output to the connected speaker 311. The number of speakers 311 may be one or multiple. Specifically, the guide sound output unit 306 can be realized by an audio IZF connected to a speaker 311 for audio output. More specifically, the audio IZF includes, for example, a DZA conversion circuit that performs DZA conversion of audio digital information, an amplifier that amplifies the audio analog signal output from the DZA conversion circuit, and an AZD conversion of audio analog information. The AZD conversion circuit and the AZD conversion circuit can be configured separately.
[0051] 通信部 307は、渋滞や交通規制などの交通情報を、定期的 (不定期でも可)に受 信する。通信部 307による交通情報の受信は、 VICS (Vehicle Information and Communication System)センターから交通情報が配信されたタイミングで行つ てもよ 、し、 VICSセンターに対し定期的に交通情報を要求することで行ってもょ 、。 [0051] The communication unit 307 receives traffic information such as traffic jams and traffic regulations regularly (or irregularly). The communication department 307 may receive traffic information at the timing when traffic information is distributed from the VICS (Vehicle Information and Communication System) center, or it may receive traffic information by periodically requesting traffic information from the VICS center. Let's go.
[0052] 通信部 307は、たとえば、 FMチューナー、 VICSZビーコンレシーバおよびその他 の通信機器として実現することが可能である。受信された交通情報は、経路の探索( 再探索を含む)に際して用いられ、たとえば、渋滞箇所や時間規制箇所を回避する 経路の探索に供される。 [0052] The communication unit 307 can be realized as, for example, an FM tuner, a VICSZ beacon receiver, and other communication equipment. The received traffic information is used for route searching ( (including re-search), and is used, for example, to search for routes that avoid traffic jams or time-limited locations.
[0053] 公知の技術であるため詳細な説明を省略する力 「VICS」とは、 VICSセンターで 編集、処理された渋滞や交通規制などの交通情報をリアルタイムに送信し、ナビゲー シヨン装置 300などに文字'図形で表示する情報通信システムである。 VICSセンタ 一で編集、処理された交通情報 (VICS情報)をナビゲーシヨン装置 300に伝達する 方法としては、各道路上に設置された「ビーコン」と「FM多重放送」を利用する方法 がある。 [0053] Since it is a well-known technology, detailed explanation will be omitted. ``VICS'' is a technology that transmits traffic information such as congestion and traffic regulations edited and processed at the VICS center in real time to navigation devices such as the 300. It is an information communication system that displays characters and figures. One way to transmit traffic information (VICS information) edited and processed at the VICS center to the navigation device 300 is to use ``beacons'' installed on each road and ``FM multiplex broadcast.''
[0054] 「ビーコン」には、主に高速道路で使用される「電波ビーコン」と、主要な一般道路で 使用される「光ビーコン」がある。「FM多重放送」を利用する場合には、広域エリアの 交通情報を受信することが可能となる。「ビーコン」を利用する場合には、自車位置を 元にした直近の道路の詳細な情報など、自車が位置する場所にお!、て必要な交通 情報を受信することが可能となる。 [0054] "Beacons" include "radio wave beacons", which are mainly used on expressways, and "optical beacons", which are used on major general roads. When using FM multiplex broadcasting, it is possible to receive traffic information for a wide area. When using a beacon, it is possible to receive necessary traffic information based on the location of the vehicle, such as detailed information on the nearest roads based on the location of the vehicle.
[0055] また、経路探索部 308は、記録媒体 304に記録されている地図情報や、通信部 30 7を介して取得する VICS情報などを利用して、出発地(出発地の地点情報)から目 的地(目的地の地点情報)までの最適な経路を探索する。ここで、最適な経路とは、 ユーザが指定した条件に最も合致する経路である。一般に、出発地から目的地まで の経路は無数存在する。このため、経路探索にあたって考慮される事項を設定し、条 件に合致する経路を探索するようにして 1ヽる。 [0055] Furthermore, the route search unit 308 uses map information recorded in the recording medium 304, VICS information acquired via the communication unit 307, etc. to Search for the optimal route to the destination (destination point information). Here, the optimal route is the route that best matches the conditions specified by the user. Generally, there are an infinite number of routes from a departure point to a destination. For this reason, we set the items to be considered when searching for a route, and search for a route that meets the conditions.1.
[0056] また、経路誘導部 309は、経路探索部 308によって探索された誘導経路情報、位 置取得部 312によって取得された自車位置情報、記録媒体 304から記録媒体デコ ード部 305を経由して得られた地図情報に基づいて、リアルタイムな経路誘導情報 の生成を行う。このとき生成される経路誘導情報は、通信部 307によって受信した渋 滞情報を考慮したものであってもよ!、。経路誘導部 309で生成された経路誘導情報 は、ナビゲーシヨン制御部 301を介して表示部 303へ出力される。 [0056] The route guidance unit 309 also receives the guidance route information searched by the route search unit 308, the own vehicle position information acquired by the position acquisition unit 312, and the information from the recording medium 304 via the recording medium decoding unit 305. Real-time route guidance information is generated based on the map information obtained. The route guidance information generated at this time may take into consideration the traffic information received by the communication unit 307. The route guidance information generated by the route guidance section 309 is output to the display section 303 via the navigation control section 301.
[0057] また、案内音生成部 310は、パターンに対応したトーンと音声の情報を生成する。 [0057] Further, the guide sound generation unit 310 generates tone and voice information corresponding to the pattern.
すなわち、経路誘導部 309で生成された経路誘導情報に基づいて、案内ポイントに 対応した仮想音源の設定と音声ガイダンス情報の生成を行 ヽ、ナビゲーシヨン制御 部 301を介して案内音出力部 306へ出力する。 That is, based on the route guidance information generated by the route guidance unit 309, a virtual sound source corresponding to the guidance point is set and voice guidance information is generated. It is output to the guide sound output section 306 via the section 301.
[0058] 位置取得部 312は、 GPSレシーバおよび各種センサ力も構成され、車両の現在位 置の情報および車両の方位を示す方位情報を取得する。この方位情報を GPS方位 とする。 GPSレシーバは、 GPS衛星からの電波を受信し、 GPS衛星との幾何学的位 置を求める。なお、 GPSとは、 4つ以上の衛星からの電波を受信することによって地 上での位置を正確に求めるシステムである。 [0058] The position acquisition unit 312 is also configured with a GPS receiver and various sensors, and acquires information on the current position of the vehicle and orientation information indicating the orientation of the vehicle. This direction information is referred to as GPS direction. The GPS receiver receives radio waves from GPS satellites and determines the geometric position relative to the GPS satellites. Note that GPS is a system that accurately determines the position on the ground by receiving radio waves from four or more satellites.
[0059] GPSレシーバは、具体的に、たとえば、 GPS衛星からの電波を受信するためのァ ンテナ、受信した電波を復調するチューナーおよび復調した情報に基づ 、て現在位 置を算出する演算回路 (またはプログラム)などによって構成される。 [0059] The GPS receiver specifically includes, for example, an antenna for receiving radio waves from GPS satellites, a tuner for demodulating the received radio waves, and an arithmetic circuit for calculating the current position based on the demodulated information. (or program) etc.
[0060] なお、各種センサとしては、他に、車速センサ、走行距離センサ、傾斜センサ、およ び角速度センサなど自車に搭載された各種センサである。自車位置および方位情報 の算出に際し、 GPSレシーバによって外部力 得られた情報と合わせて、自車に搭 載された各種センサの出力する情報を用いることにより、より高い精度で自車位置を 取得することができる。 [0060] In addition, the various sensors include various sensors mounted on the vehicle, such as a vehicle speed sensor, a mileage sensor, an inclination sensor, and an angular velocity sensor. When calculating vehicle position and direction information, the vehicle position can be obtained with higher accuracy by using information output from various sensors installed in the vehicle, along with information obtained from external forces by the GPS receiver. can do.
[0061] 車速センサは、ナビゲーシヨン装置 300を搭載する車両のトランスミッションの出力 側ドライブシャフトから、 1回転あたりの車速パルス数を検出する。走行距離センサは 、車輪の回転に伴って出力される所定周期のパルス信号のパルス数をカウントするこ とによって車輪 1回転あたりのパルス数を算出し、その 1回転あたりのパルス数に基づ く走行距離情報を出力する。傾斜センサは、路面の傾斜角度を検出する。角速度セ ンサは、車両の曲折時の角速度を検出する。 [0061] The vehicle speed sensor detects the number of vehicle speed pulses per rotation from the output side drive shaft of the transmission of the vehicle in which the navigation device 300 is installed. The mileage sensor calculates the number of pulses per rotation of the wheel by counting the number of pulses of a pulse signal of a predetermined period that is output as the wheel rotates, and calculates the number of pulses per rotation of the wheel based on the number of pulses per rotation. Output mileage information. The inclination sensor detects the inclination angle of the road surface. The angular velocity sensor detects the angular velocity of the vehicle when turning.
[0062] 角速度センサは、具体的には、たとえば、圧電素子などを検出素子とする振動ジャ イロセンサによって実現することが可能である。この場合、角速度センサは、車両の 曲折時における角速度に応じた大きさの電圧値を出力する。ここで、たとえば、角速 度センサ力もの出力値が 2. 5V (規定零点電圧)である場合は、角速度がゼロ(0[de g/s] )状態であることを示す。 [0062] Specifically, the angular velocity sensor can be realized by, for example, a vibration gyro sensor using a piezoelectric element or the like as a detection element. In this case, the angular velocity sensor outputs a voltage value corresponding to the angular velocity of the vehicle when turning. Here, for example, if the output value of the angular velocity sensor is 2.5V (specified zero point voltage), it indicates that the angular velocity is zero (0[deg/s]).
[0063] ところで、角速度がゼロ状態となるのは、車両の静止時あるいは車両の直進時であ る力 一般的に、このような状況において実測される零点電圧は、温度変化などの影 響を受けてドリフトしている値であることが多い。このため、本実施例においては、車 両の静止時における角速度センサからの出力値あるいは車両の直進時における角 速度センサ力もの出力値に対して温度ドリフトの影響を補正した値を零点 (オフセット )電圧値として用いる。 [0063] Incidentally, the angular velocity becomes zero when the vehicle is stationary or when the vehicle is traveling straight. In many cases, the value is drifting due to the Therefore, in this example, the car The output value from the angular velocity sensor when both vehicles are stationary, or the output value from the angular velocity sensor force when the vehicle is moving straight, is corrected for the influence of temperature drift, and is used as the zero point (offset) voltage value.
[0064] 角速度センサは、検出した角速度を、 OV〜5Vのアナログ信号で出力する。角速度 センサの感度は、零点 (オフセット)電圧(2. 5Vの規定零点電圧)値からの角速度の 偏差の程度で表され、その単位は [mVZdegZsec]である。角速度センサの感度は 、水平状態で規定された規格に則っており、所定の誤差内に収まるよう調整されてい るものとする。以降、本実施例においては、角速度センサから出力された電圧値から 零点 (オフセット)電圧値を差し引いた値を、「角速度センサからの出力値」とする。角 速度センサ力もの出力値は、たとえば、サンプリング周期 Tごとに取得される。このサ ンプリング周期 Tは、任意の値を設定することが可能であり、具体的に、たとえば、 10 Omsecなどに設定される。 [0064] The angular velocity sensor outputs the detected angular velocity as an analog signal of OV to 5V. The sensitivity of an angular velocity sensor is expressed as the degree of deviation of the angular velocity from the zero point (offset) voltage (specified zero point voltage of 2.5V), and its unit is [mVZdegZsec]. It is assumed that the sensitivity of the angular velocity sensor complies with the standards specified in the horizontal state and is adjusted to fall within the specified error. Hereinafter, in this embodiment, the value obtained by subtracting the zero point (offset) voltage value from the voltage value output from the angular velocity sensor is referred to as the "output value from the angular velocity sensor." The output value of the angular velocity sensor force is obtained, for example, at every sampling period T. This sampling period T can be set to any value, and is specifically set to, for example, 10 Omsec.
[0065] 角速度センサは、時計廻りの方位変化すなわち右折に対応した正の角速度を、 5V 側への 2. 5Vからの偏差電圧として出力する。一方、この角速度センサは、反時計廻 りの方位変化すなわち左折に対応した負の角速度を、 OV側への 2. 5Vからの偏差 電圧として出力する。なお、角速度センサとして振動ジャイロを用いる場合、この振動 ジャイロによって検出したアナログの電圧値を AZD変換する AZD変換回路 420 ( 図 4参照)を設ける。 [0065] The angular velocity sensor outputs a positive angular velocity corresponding to a clockwise azimuth change, that is, a right turn, as a deviation voltage from 2.5V to the 5V side. On the other hand, this angular velocity sensor outputs a negative angular velocity corresponding to a counterclockwise direction change, that is, a left turn, as a deviation voltage from 2.5V to the OV side. Note that when a vibrating gyroscope is used as the angular velocity sensor, an AZD conversion circuit 420 (see FIG. 4) is provided to convert the analog voltage value detected by the vibrating gyroscope into AZD.
[0066] 方位算出部 313は、角速度センサ力ゝらの出力値にゲイン値と右ゲイン差補正係数 Grあるいは左ゲイン差補正係数 G1のどちらか一方を乗じた値を、サンプリング周期 T で積分して、前回の算出方位に累積して絶対方位 (以下、「センサ方位」という)を算 出する。このように角速度センサからの出力によって算出されたセンサ方位と、 GPS レシーバによって受信した GPS信号力 算出した GPS方位とを用いて、角速度セン サの検出誤差を検出し、検出結果を補正処理部 314と連動させることで、補正量を 決定し、検出誤差を補正した補正方位を算出することができる。 [0066] The azimuth calculation unit 313 integrates the value obtained by multiplying the output value of the angular velocity sensor force by the gain value and either the right gain difference correction coefficient Gr or the left gain difference correction coefficient G1 over a sampling period T. Then, the absolute direction (hereinafter referred to as "sensor direction") is calculated by accumulating the previously calculated direction. In this way, the detection error of the angular velocity sensor is detected using the sensor orientation calculated from the output from the angular velocity sensor and the GPS orientation calculated from the GPS signal strength received by the GPS receiver, and the detection result is corrected by the correction processing unit 314 By linking it with the above, it is possible to determine the amount of correction and calculate the corrected direction that corrects the detection error.
[0067] 方位算出部 313は、たとえば、専用の演算回路またはプログラムなどによって実現 することができる。また、方位算出部 313は、センサ方位の算出をサンプリング周期 T ごとに行い、このとき、センサ方位の算出と、位置取得部 312における GPS方位の算 出とを同期させる。 [0067] The direction calculation unit 313 can be realized by, for example, a dedicated arithmetic circuit or a program. Further, the direction calculation section 313 calculates the sensor direction at every sampling period T, and at this time, the direction calculation section 313 calculates the sensor direction and calculates the GPS direction in the position acquisition section 312. Synchronize the output.
[0068] 補正処理部 314は、方位算出部 313によって算出されたセンサ方位の検出誤差に 基づいて、センサ方位を補正するための補正係数の更新処理を行う。記録媒体 304 に記録された第 1の時刻の GPS方位と第 2の時刻の GPS方位とを比較した後に、第 1の時刻のセンサ方位と、第 2の時刻のセンサ方位とを比較した結果 (実施例 1)や、 第 1の時刻力 第 2の時刻まで累積した正負の変化量の累積値を比較した結果 (後 述する実施例 2)のどちらか一方を用いて、このどちらか一方の第 2の時刻における 値のアンダーラン、オーバーラン状態を判別する。また、第 1の時刻に判定した負の 変化量 (左方向出力値)基準であるか正の変化量 (右方向出力値)基準のどちらか一 方を基準とした場合に、その基準と反対の左右のゲイン差補正係数 G1あるいは Grの どちらか一方の更新を行う。なお、左右のゲイン差補正係数 G1および Grに関しては 図 4で説明する。 [0068] The correction processing unit 314 performs a process of updating a correction coefficient for correcting the sensor orientation based on the detection error of the sensor orientation calculated by the orientation calculation unit 313. After comparing the GPS orientation at the first time and the GPS orientation at the second time recorded on the recording medium 304, the result of comparing the sensor orientation at the first time and the sensor orientation at the second time ( Using either Example 1) or the results of comparing the cumulative values of positive and negative changes accumulated from the first time force to the second time (Example 2 described later), Determine whether the value is underrun or overrun at the second time. Also, if either the negative change amount (leftward output value) criterion or the positive change amount (rightward output value) criterion determined at the first time is used as a reference, the Update either the left or right gain difference correction coefficient G1 or Gr. Note that the left and right gain difference correction coefficients G1 and Gr will be explained with reference to FIG.
[0069] つぎに、この発明の本実施例における方位算出部 313および補正処理部 314の具 体的構成について説明する。図 4は、この発明の本実施例における方位算出部 313 および補正処理部 314の具体的構成を示す機能ブロック図である。方位算出部 313 および補正処理部 314における上述した各種機能は、具体的には、たとえば、図 4に 示す各部によって実現される。この発明の本実施例における方位算出部 313および 補正処理部 314は、減算処理部 401と、乗算処理部 402と、積和処理部 403と、直 進判定処理部 404と、零点調整処理部 405と、方位較正処理部 406と、比較処理部 407と、負の変化量基準判定処理部 408と、正の変化量基準判定処理部 409と、左 ゲイン差補正係数調整処理部 410と、右ゲイン差補正係数調整処理部 411と、補正 係数選択取得処理部 412と、を備えている。なお、図 4中符号 420は、角速度センサ 力ものアナログの出力値を AZD変換する AZD変換回路である。 [0069] Next, the specific configurations of the orientation calculation section 313 and the correction processing section 314 in this embodiment of the invention will be described. FIG. 4 is a functional block diagram showing a specific configuration of the orientation calculation section 313 and the correction processing section 314 in this embodiment of the invention. Specifically, the various functions described above in the direction calculation section 313 and the correction processing section 314 are realized, for example, by the respective sections shown in FIG. 4. The azimuth calculation unit 313 and the correction processing unit 314 in this embodiment of the invention include a subtraction processing unit 401, a multiplication processing unit 402, a sum of products processing unit 403, a straight-ahead determination processing unit 404, and a zero point adjustment processing unit 405 , azimuth calibration processing section 406 , comparison processing section 407 , negative change amount reference determination processing section 408 , positive change amount reference determination processing section 409 , left gain difference correction coefficient adjustment processing section 410 , right gain It includes a difference correction coefficient adjustment processing section 411 and a correction coefficient selection and acquisition processing section 412. Note that the reference numeral 420 in FIG. 4 is an AZD conversion circuit that converts the output value of the analog output value of the angular velocity sensor into AZD.
[0070] まず、減算処理部 401は、角速度センサから出力された電圧値力 零点 (オフセッ ト)電圧値を減算する。減算処理部 401には、 AZD変換回路 420によって AZD変 換されたデジタル値が入力される。乗算処理部 402は、角速度センサからの出力値 にゲイン値を乗算し、この乗算値に当該乗算値が正ならば右ゲイン差の補正係数 Gr 、負ならば左ゲイン差の補正係数 G1を乗算して、角速度を算出する。なお、ゲイン値 は、角速度センサからの出力値と角速度との対応関係に基づ 、て設定された値であ る。 [0070] First, the subtraction processing unit 401 subtracts the zero point (offset) voltage value output from the angular velocity sensor. A digital value that has been AZD converted by the AZD conversion circuit 420 is input to the subtraction processing unit 401. The multiplication processing unit 402 multiplies the output value from the angular velocity sensor by a gain value, and multiplies this multiplication value by a correction coefficient Gr for the right gain difference if the multiplication value is positive, and by a correction coefficient G1 for the left gain difference if it is negative. and calculate the angular velocity. In addition, the gain value is a value set based on the correspondence between the output value from the angular velocity sensor and the angular velocity.
[0071] また、積和処理部 403は、乗算処理部 402によって今回算出された角速度をサン プリング周期 Tで積分して算出された相対方位変位量を前回のセンサ方位に累積し 、これによつて車両の算出されたセンサ方位を算出する。直進判定処理部 404は、 乗算処理部 402によって算出された角速度に基づいて、車両が直進状態にあるか 否かを判定する。具体的に、直進判定処理部 404は、ある一定速度 (たとえば、 30. Okm/h)以上での走行時において、乗算処理部 402によって算出された角速度の 変位量が、所定期間 (たとえば、 10秒間)に亘つて所定の閾値未満である場合に、車 両が直進状態にあると判定する。 [0071] Furthermore, the product-sum processing unit 403 accumulates the relative azimuth displacement amount calculated by integrating the angular velocity currently calculated by the multiplication processing unit 402 over the sampling period T, to the previous sensor azimuth. Then, the calculated sensor orientation of the vehicle is calculated. The straight-ahead determination processing unit 404 determines whether the vehicle is in a straight-ahead state based on the angular velocity calculated by the multiplication processor 402. Specifically, the straight-ahead determination processing unit 404 determines whether the displacement amount of the angular velocity calculated by the multiplication processing unit 402 is within a predetermined period (for example, 10 km/h) or higher when traveling at a certain speed (for example, 30 km/h) or higher. If the value is less than a predetermined threshold for a period of 2 seconds, it is determined that the vehicle is traveling straight.
[0072] また、零点調整処理部 405は、直進判定処理部 404によって車両が直進状態にあ ると判定された場合に、上記所定期間における角速度センサからの出力値の平均値 に近づくように、零点 (オフセット)電圧値を調整する。方位較正処理部 406は、角速 度センサの動的な零点ドリフトの影響を除去するために、位置取得部 312および記 憶媒体 304より得られる他の絶対方位で方位較正をする。前回のセンサ方位に今回 算出された相対方位変位量を累積し続けると累積誤差が増加するためセンサ方位を GPS方位あるいは地図情報の道路形状方位データで方位較正する。 [0072] Furthermore, when the straight-ahead determination processing unit 404 determines that the vehicle is in a straight-ahead state, the zero-point adjustment processing unit 405 adjusts the output value so that the average value of the output values from the angular velocity sensor during the predetermined period approaches the average value. Adjust the zero point (offset) voltage value. The azimuth calibration processing unit 406 performs azimuth calibration using another absolute azimuth obtained from the position acquisition unit 312 and the storage medium 304 in order to eliminate the influence of the dynamic zero point drift of the angular velocity sensor. If the current calculated relative azimuth displacement continues to be accumulated on the previous sensor azimuth, the cumulative error will increase, so the sensor azimuth is calibrated using the GPS azimuth or road shape azimuth data from map information.
[0073] 具体的には、たとえば、所定値以上の車速 Vで車両が直進している場合には、算 出されたセンサ方位を、位置取得部 312によって取得された GPS方位で方位較正 する。また、具体的に、たとえば、交差点引込み処理の際には、センサ方位を、地図 データにおける地図方位データで方位較正する。比較処理部 407は、本実施例の 場合、検出された第 1の時刻の GPS方位と第 2の時刻の GPS方位とを比較した結果 で場合分けされる。その後、それらの場合分けの中で、第 1の時刻のセンサ方位と第 2の時刻のセンサ方位とを比較する。 [0073] Specifically, for example, when the vehicle is traveling straight at a vehicle speed V equal to or higher than a predetermined value, the calculated sensor orientation is calibrated with the GPS orientation acquired by the position acquisition unit 312. Further, specifically, for example, during intersection pull-in processing, the sensor orientation is calibrated using map orientation data in map data. In the case of this embodiment, the comparison processing unit 407 divides the cases based on the result of comparing the detected GPS azimuth at the first time and the detected GPS azimuth at the second time. Then, among those cases, the sensor orientation at the first time and the sensor orientation at the second time are compared.
[0074] 負の変化量基準判定処理部 408は、負の変化量が所定のサンプリング回数連続し て出力された力否かを判定する。同様に、正の変化量基準判定処理部 409は、正の 変化量が所定のサンプリング回数連続して出力されたか否かを判定する。 [0074] Negative change amount reference determination processing section 408 determines whether or not a negative change amount is continuously output for a predetermined sampling number of times. Similarly, the positive change amount reference determination processing unit 409 determines whether or not a positive change amount has been continuously output a predetermined sampling number of times.
[0075] 左ゲイン差補正係数調整処理部 410は、正の変化量基準判定処理部 409によつ て、右出力値が安定した所定のサンプリング回数連続して出力されたと判定されると 、右折方向出力値を基準として、左出力値を補正、つまり左ゲイン差を補正するため の左ゲイン差補正係数 G1を補正 (更新)する。 [0075] The left gain difference correction coefficient adjustment processing section 410 uses the positive change amount standard judgment processing section 409. When it is determined that the right output value is stable and has been output continuously for a predetermined sampling number of times, the left output value is corrected based on the right turn direction output value, that is, the left gain difference correction is performed to correct the left gain difference. Correct (update) coefficient G1.
[0076] 右ゲイン差補正係数調整処理部 411は、負の変化量基準判定処理部 408によつ て、左出力値が安定した所定のサンプリング回数連続して出力されたと判定されると 、左折方向出力値を基準として、右出力値を補正、つまり右ゲイン差を補正するため の右ゲイン差補正係数 Grを補正 (更新)する。 [0076] The right gain difference correction coefficient adjustment processing unit 411 performs a left turn when the negative change amount standard judgment processing unit 408 determines that the left output value has been output continuously for a stable predetermined number of sampling times. Based on the direction output value, the right output value is corrected, that is, the right gain difference correction coefficient Gr for correcting the right gain difference is corrected (updated).
[0077] 左ゲイン差補正係数調整処理部 410および右ゲイン差補正係数調整処理部 411 による補正係数の調整 (更新)は、現在設定されている補正係数に対する補正量を 決定して更新する。補正量は、たとえば、 ±0. 4%、 ±0. 2%、 ±0. 1%等の 6種類 を用いて、第 1の時刻から第 2の時刻までの正の変化量の累積値と負の変化量の累 積値が一致した時、取得して ヽた第 1の時刻の GPS方位 Gamと第 2の時刻の GPS 方位 Gbnとの比較結果による場合分けと第 1の時刻のセンサ方位 Samと第 2の時刻 のセンサ方位 Sbnとの比較結果に基づいて随時変更する(具体的な変更方法は、図 10〜図 19にお 、てフローチャートを用いて詳しく説明する)。この補正量の変更は、 車両における第 1の時刻のセンサ方位と第 2の時刻のセンサ方位との変化を観察し て、ゲイン値が正しい値に収束するように行う。 [0077] The left gain difference correction coefficient adjustment processing section 410 and the right gain difference correction coefficient adjustment processing section 411 adjust (update) the correction coefficient by determining and updating the correction amount for the currently set correction coefficient. For example, six types of correction amounts are used, such as ±0. 4%, ±0. 2%, ±0. 1%, etc., and the cumulative value of the positive change from the first time to the second time is calculated. When the cumulative values of negative changes match, case classification is performed based on the comparison result between the acquired GPS bearing Gam at the first time and the GPS bearing Gbn at the second time and the sensor bearing at the first time. It is changed at any time based on the comparison result between Sam and the sensor orientation Sbn at the second time (the specific changing method will be explained in detail using flowcharts in FIGS. 10 to 19). This correction amount is changed by observing changes in the sensor orientation of the vehicle at the first time and the sensor orientation at the second time so that the gain value converges to the correct value.
[0078] 補正係数選択取得処理部 412は、角速度センサ力 の出力値が負である場合に は、左ゲイン差補正係数調整処理部 410によって調整された左ゲイン差用の補正係 数 G1を選択する。また、補正係数選択取得処理部 412は、角速度センサからの出力 値が正である場合には、右ゲイン差補正係数調整処理部 411によって調整された右 ゲイン差用の補正係数 Grを選択する。補正係数選択取得処理部 412によって選択 された補正係数は、乗算処理部 402における角速度の算出に供される。 [0078] When the output value of the angular velocity sensor force is negative, the correction coefficient selection acquisition processing unit 412 selects the correction coefficient G1 for the left gain difference adjusted by the left gain difference correction coefficient adjustment processing unit 410. do. Furthermore, when the output value from the angular velocity sensor is positive, the correction coefficient selection and acquisition processing unit 412 selects the correction coefficient Gr for the right gain difference adjusted by the right gain difference correction coefficient adjustment processing unit 411. The correction coefficients selected by the correction coefficient selection and acquisition processing section 412 are used in the calculation of the angular velocity in the multiplication processing section 402.
[0079] (実施例 1における方位算出の原理) [0079] (Principle of direction calculation in Example 1)
図 5は、実施例 1にかかる方位算出の原理を説明する図である。図 5に示した図表 5 00において、横軸は時刻 tを表し、サンプリング周期 Tを縦線 (破線)で示してある。ま た、サンプリング周期 T間隔の図表 500の下部の上段には、サンプリング数(l〜n)を 、図表 500の下部の下段には、 0Tを開始時刻としたサンプリング時刻(0T〜nT)を それぞれ示して 、る。縦軸は加速度センサの出力範囲である OV〜5Vをデジタル値 の単位 [LSB]で表す。たとえば、 12ビットの AZDコンバータの場合、 OV〜5Vを 40 96分割しているので、 1. 22mV/LSBになる。 FIG. 5 is a diagram illustrating the principle of azimuth calculation according to the first embodiment. In chart 500 shown in FIG. 5, the horizontal axis represents time t, and the sampling period T is shown by a vertical line (dashed line). In addition, the upper row at the bottom of the chart 500 for the sampling period T interval shows the number of samples (l to n), and the lower row at the bottom of the chart 500 shows the sampling time (0T to nT) with 0T as the start time. Show each. The vertical axis represents the output range of the acceleration sensor, OV~5V, in the digital value unit [LSB]. For example, in the case of a 12-bit AZD converter, OV~5V is divided by 4096, resulting in 1.22mV/LSB.
[0080] 曲線 501は、たとえば、サンプリング周期 Tを 100 [ms]とした場合、外付け 12ビット AZDコンバータで 100 [ms]間に 20回(5ms間隔)の AZD変換を行っている場合 の出力値を表したものである。そして、下記(1)式を用いて、 100 [ms]間の平均化処 理を行い、 100[ms]ごとに 100[ms]間の角速度センサの出力値の AZD変換デー タの平均値 gynを表す。 [0080] Curve 501 is, for example, the output when the sampling period T is 100 [ms] and AZD conversion is performed 20 times (5 ms intervals) in 100 [ms] using an external 12-bit AZD converter. It represents a value. Then, using the formula (1) below, perform averaging processing for 100 [ms], and every 100 [ms], the average value of the AZD conversion data of the output value of the angular velocity sensor for 100 [ms] gyn represents.
[0081] [数 1] gyn-- / 20 … け) [0081] [Number 1] gyn-- / 20 … ke)
Figure imgf000024_0001
Figure imgf000024_0001
[0082] 角速度センサ出力の AZD変換後の平均値 gynがオフセット (零点)電圧値 gyO よ り大きければ、車両の右方向へのセンサ方位 Θ gnの角度変位量 (相対方位変位量) が検出されることを表す。また、曲線 501で示した角速度センサ出力の AZD変換後 の平均値 gyn力もオフセット (零点)電圧値 gyOを差し引いた値 (gyn-gyO)が、 V、わ ゆる「角速度センサからの出力値」である。この値にゲイン値 Gを乗じて、さらに「角速 度センサからの出力値」(gyn—gyO)の正負の値によって、右ゲイン差補正係数 Gr あるいは左ゲイン差補正係数 G1のどちらか一方を左右ゲイン差補正係数 Gkn— 1と して乗じることで、角速度 ω ηは下記(2)式によって算出することができる。 [0082] If the average value gyn of the angular velocity sensor output after AZD conversion is larger than the offset (zero point) voltage value gyO, the angular displacement amount (relative azimuth displacement amount) of the sensor orientation Θ gn toward the right of the vehicle is detected. represents something. In addition, the average value gyn force after AZD conversion of the angular velocity sensor output shown by curve 501 is also the offset (zero point) voltage value gyO subtracted (gyn-gyO), which is V, the so-called "output value from the angular velocity sensor". be. This value is multiplied by the gain value G, and then either the right gain difference correction coefficient Gr or the left gain difference correction coefficient G1 is set depending on the positive or negative value of the "output value from the angular velocity sensor" (gyn-gyO). By multiplying by the left and right gain difference correction coefficient Gkn-1, the angular velocity ω η can be calculated using the following equation (2).
[0083] o n=Gkn— Ι -G· (gyn-gyO) [deg/100ms] - -- (2) [0083] o n=Gkn— Ι -G· (gyn-gyO) [deg/100ms] - -- (2)
[0084] この角速度 ω ηを表してしるのが図 5に示した方形線で示した範囲 502a、 502b, 5 02cと、方形線で示した範囲 503a、 503bのそれぞれの 1サンプリング分にあたる。た とえば、方形線で示した範囲 502aは 2サンプリング分を表し、範囲 502bは 3サンプリ ング分を表し、範囲 502cは、 2サンプリング分を表し、範囲 503aは 4サンプリング分 を表し、範囲 503bは 2サンプリング分を表す。 [0084] This angular velocity ω η is expressed by one sampling of each of the ranges 502a, 502b, and 502c shown by the rectangular lines in FIG. 5, and the ranges 503a and 503b shown by the rectangular lines. For example, range 502a represented by square lines represents 2 samples, range 502b represents 3 samples, range 502c represents 2 samples, range 503a represents 4 samples, and range 503b represents 4 samples. Represents 2 samplings.
[0085] これら方形線で示した範囲全体のサンプリング時刻 1T時〜 nT時までを、順に 1サ ンプリングごとにサンプリング周期 Τで積分して、算出された各サンプリング時刻にお ける角度変位量 Δ Θ 81〜Δ 0 gnを各サンプリング時刻における前回のセンサ方位 Θ gO〜 Θ gn— 1に累積する。この処理を範囲全体のサンプリング回数分だけ順に行 つていくと、方形線で示した範囲全体力もセンサ方位 Θ gnが得られる。なお、方形線 で示した範囲 502a〜502cは正(右)の角度変位量を表し、範囲 503a〜503bは負 ( 左)の角度変位量を表す。 [0085] The sampling times of the entire range indicated by these rectangular lines from 1T hour to nT hour are successively integrated over the sampling period T for each sampling, and the result is calculated at each sampling time. The angular displacement amount Δ Θ 8 1 to Δ 0 gn is accumulated to the previous sensor orientation Θ gO to Θ gn− 1 at each sampling time. By repeating this process for the number of sampling times for the entire range, the sensor orientation Θ gn can also be obtained for the entire range force shown by the rectangular line. Note that the range 502a to 502c shown by the square line represents the positive (right) angular displacement amount, and the range 503a to 503b represents the negative (left) angular displacement amount.
[0086] 図 5に示したように、車両を移動させると、角速度センサ力 の出力値 (gyn— gyO) は、絶えず正負の値を示しながら変化する。したがって、本実施例ではたとえば、図 表 500に示した曲線 501がサンプリング数 k回連続して負の変化量が記録されると、 負の変化量の記録が開始されたサンプリング時刻 mTを検出する。また、サンプリン グ時刻 mTにおいて算出されたセンサ方位 Sam ( θ 1)と GPS方位 Gam ( Θ 2)を GP S方位系で表した方位単位円 504に示す。図表 500の場合は、負の変化量が k回連 続して記録されていることから、左方向への角度変位量累積値を基準に右ゲイン差 の補正を行う。 [0086] As shown in FIG. 5, when the vehicle is moved, the output value of the angular velocity sensor force (gyn-gyO) constantly changes while showing positive and negative values. Therefore, in this embodiment, for example, when a negative change amount is recorded in the curve 501 shown in Figure 500 continuously for k sampling times, the sampling time mT at which the recording of the negative change amount started is detected. . In addition, the sensor orientation Sam (θ 1) and the GPS orientation Gam (Θ 2) calculated at the sampling time mT are shown in the orientation unit circle 504 expressed in the GPS orientation system. In the case of chart 500, the negative change amount is recorded k times in a row, so the right gain difference is corrected based on the cumulative value of the leftward angular displacement amount.
[0087] 図表 500に示した例のようにサンプリング時刻 mTから開始された正および負の変 化量の累積値が等しくなつたサンプリング時刻 nTを検出している。つまり、(正の変化 量を表す範囲 502b + 502c) = I (負の変化量を表す範囲 503a + 503b) |となつ たサンプリング時刻 nTである。また、サンプリング時刻 nTを表す縦軸上に示したのは 、サンプリング時刻 nTに算出された GPS方位 Gbn ( Θ 4)とセンサ方位 Sbn ( Θ 3)を GPS方位系で表した方位単位円 505を示す。実施例 1では、まずサンプリング時刻 mTとサンプリング時刻 nTにおける GPS方位の Gam ( Θ 2)と Gbn( Θ 4)の比較を行 い、その比較結果力 Gamと Gbnの大小の場合分けが行われる。次にそれらの場合 分けの中で、サンプリング時刻 mTとサンプリング時刻 nTにおけるセンサ方位 Sam ( θ 1)と Sbn( Θ 3)の比較を行い、その比較結果から Samと Sbnの大小の場合分けが 行われる。そして、 GPS方位とセンサ方位の二重の場合分けの結果カゝらセンサ方位 Sbnが Samよりオーバーラン状態であるかアンダーラン状態であるかを判断し、左右 のゲイン差補正係数 G1あるいは Grのどちらか一方の補正量を決定する。 [0087] As in the example shown in Chart 500, a sampling time nT is detected at which the cumulative values of the positive and negative changes starting from the sampling time mT are equal. In other words, the sampling time nT is such that (range 502b + 502c representing the amount of positive change) = I (range 503a + 503b representing the amount of negative change) | Also, what is shown on the vertical axis representing the sampling time nT is the azimuth unit circle 505 in which the GPS azimuth Gbn ( Θ 4) and the sensor azimuth Sbn ( Θ 3) calculated at the sampling time nT are expressed in the GPS azimuth system. show. In Example 1, first, the GPS directions Gam (Θ 2) and Gbn (Θ 4) at the sampling time mT and the sampling time nT are compared, and the magnitude of the comparison results Gam and Gbn is determined. Next, among these cases, we compare the sensor orientations Sam ( θ 1) and Sbn ( Θ 3) at sampling time mT and sampling time nT, and from the comparison results, we can distinguish between the large and small values of Sam and Sbn. be exposed. Then, based on the results of the double case classification of the GPS direction and the sensor direction, it is determined whether the sensor direction Sbn is in an overrun state or an underrun state from Sam, and the left and right gain difference correction coefficient G1 or Gr is adjusted. Determine the correction amount for either one.
[0088] ここで、以降の説明において前回の正 (右)か負(左)のどちらか一方の変化量(出 力値≠0)および他方の変化量(出力値 =0)を累積する累積リングバッファの累積処 理に関する値には「 '」を付し、前々回の正 (右)力負(左)のどちらか一方の変化量( 出力値≠0)および他方の変化量(出力値 =0)を累積する累積リングバッファの累積 処理に関する値には「' '」を付して示す。まず、サンプリング時刻 nTにおいて、サン プリング時刻 mTからの正の変化量 (右出力値)の累積値と、負の変化量 (左出力値) の累積値とを比較する際には、サンプリング周期 Tごとに正 (右)か負(左)のどちらか 一方の変化量(出力値≠0)が該当する累積リングバッファ内の累積バッファ (n—m) に累積された累積値と、変化量 (出力値)が「0」である他方が該当する累積リングバッ ファ内の累積バッファ (n—m)に累積された累積値とを用いる(図 6参照)。実施例 1 および実施例 2では、今回(サンプリング時刻 nT時)、前回(サンプリング時刻 n'T時 )、前々回(サンプリング時刻 n' 'T時)と 3つの累積リングバッファが負(左)の変化量 用と、正 (右)の変化量用とでそれぞれ 2つずつ、合計 6つ用意されている。 [0088] Here, in the following explanation, the cumulative amount of change of either the previous positive (right) or negative (left) (output value ≠ 0) and the other (output value = 0) will be used. Ring buffer accumulation Add "'" to the value related to the process, and accumulate the amount of change of either positive (right) or negative (left) (output value ≠ 0) and the amount of change of the other (output value = 0) two times before. Values related to accumulation processing of the accumulation ring buffer are indicated with ``''. First, at sampling time nT, when comparing the cumulative value of positive changes (right output value) from sampling time mT with the cumulative value of negative changes (left output value), the sampling period T For each case, either the positive (right) or negative (left) amount of change (output value ≠ 0) corresponds to the cumulative value accumulated in the cumulative buffer (n—m) in the cumulative ring buffer, and the amount of change ( The other one whose output value (output value) is “0” uses the cumulative value accumulated in the cumulative buffer (n—m) in the corresponding cumulative ring buffer (see Figure 6). In Example 1 and Example 2, the three cumulative ring buffers have negative (left) changes: this time (sampling time nT), the previous time (sampling time n'T), and the time before the previous time (sampling time n''T). There are six in total, two for quantity and two for positive (right) change.
[0089] つぎに、正 (右)力負(左)のどちらか一方の変化量(出力値≠ 0)および他方の変化 量(出力値 =0)を累積する累積リングバッファにおける累積の様子を図 6〜図 8を用 いて説明する。図 6は、今回のサンプリング時刻 nTにおける変化量を累積する累積リ ングバッファの一例を示す説明図である。また、図 7は、前回のサンプリング時刻 nT における変化量を累積する累積リングバッファの一例を示す説明図である。また、図 8は、前々回のサンプリング時刻 nTにおける変化量を累積する累積リングバッファの 一例を示す説明図である。 [0089] Next, we will explain how the accumulation occurs in the accumulation ring buffer that accumulates the amount of change in either the positive (right) or negative (left) (output value ≠ 0) and the amount of change in the other (output value = 0). This will be explained using Figures 6 to 8. FIG. 6 is an explanatory diagram showing an example of an accumulation ring buffer that accumulates the amount of change at the current sampling time nT. Further, FIG. 7 is an explanatory diagram showing an example of an accumulation ring buffer that accumulates the amount of change at the previous sampling time nT. Further, FIG. 8 is an explanatory diagram showing an example of an accumulation ring buffer that accumulates the amount of change at the sampling time nT before the previous one.
[0090] まず、今回のサンプリング時刻 nTにおける変化量を累積する累積リングバッファへ の累積処理について説明する。たとえば、図 6に示した表 610は、今回の負の変化 量 (左出力値)累積バッファを示すリングバッファ 611と、今回の性の変化量 (右出力 値)累積バッファを示すリングバッファ 612とから構成されている。今回のサンプリング 時刻 nTにおける正 (右)か負(左)のどちらか一方の変化量(出力値≠0)および他方 の変化量(出力値 =0)を示す変化量 613を検出すると、変化量 613が、正の値か負 の値かによつて、リングバッファ 611もしくはリングバッファ 612に累積する。 [0090] First, a description will be given of the accumulation process in the accumulation ring buffer that accumulates the amount of change at the current sampling time nT. For example, table 610 shown in Figure 6 has a ring buffer 611 indicating the current negative change amount (left output value) cumulative buffer, and a ring buffer 612 showing the current gender change amount (right output value) cumulative buffer. It consists of When a change amount 613 indicating either the positive (right) or negative (left) change amount (output value ≠ 0) and the other change amount (output value = 0) at the current sampling time nT is detected, the change amount 613 is accumulated in ring buffer 611 or ring buffer 612 depending on whether it is a positive or negative value.
[0091] まず、今回のサンプリング時刻 nTから過去 1サンプリング周期(1T)分のセンサ方 位の変化量(出力値≠0)が負の変化量 (左出力値)の場合、リングバッファ 611に示 した最下位の「負の変化量 (左出力値)累積バッファ 1」〜最上位の「負の変化量 (左 出力値)累積バッファ n」の全てに負の変化量 (左出力値)を累積した後に上位方向 に 1バッファ分をシフトする。したがって、最上位であった「負の変化量 (左出力値)累 積バッファ n」は、負の変化量 (左出力値)累積バッファ n+ 1となり、リングバッファ 61 1から外れる(データ列 614)。そして、空いた最下位の「負の変化量 (左出力値)累積 ノ ッファ 1」には負の変化量 (左出力値)が格納される。また、リングバッファ 611に示 した「負の変化量 (左出力値)累積バッファ 1, 2, 3,〜, (n- 2) , (n- 1) , n」の各サ ンプリング数は、「1個, 2個, 3個,〜, (n— 2)個, (n— 1)個, n個」のように最下位 〜最上位バッファに向けて、 1個ずつ順に増加して!/、る。 [0091] First, if the amount of change (output value ≠ 0) in the sensor orientation for the past one sampling period (1T) from the current sampling time nT is a negative amount of change (left output value), the change is shown in the ring buffer 611. The lowest “Negative change amount (left output value) cumulative buffer 1” to the highest “Negative change amount (left output value) After accumulating the negative change amount (left output value) in all of the cumulative buffer n (output value), shift one buffer in the upper direction. Therefore, the highest level "negative change amount (left output value) accumulation buffer n" becomes negative change amount (left output value) accumulation buffer n+ 1 and is removed from ring buffer 61 1 (data string 614). . Then, the negative change amount (left output value) is stored in the vacant lowest ``negative change amount (left output value) cumulative noffer 1''. In addition, the number of samples for each of the ``negative change amount (left output value) cumulative buffer 1, 2, 3, ~, (n- 2), (n- 1), n'' shown in ring buffer 611 is `` 1, 2, 3, ~, (n- 2), (n- 1), n, and so on, increasing by 1 from the lowest to the highest buffer!/ ,ru.
[0092] 以上の説明と同様に、図 7に示した表 620の前回の負の変化量 (左出力値)累積バ ッファを示すリングバッファ 621は、前回のサンプリング時刻 nTにおける正 (右)か負 ( 左)のどちらか一方の変化量(出力値≠0)および他方の変化量(出力値 =0)を示す 変化量 623を検出すると、前回のサンプリング時刻 nTから過去 1サンプリング周期(1 Τ)分のセンサ方位の変化量 (出力値≠0)が負の変化量 (左出力値)の場合、最上 位であった「負の変化量 (左出力値)累積バッファ η」は、負の変化量 (左出力値)累 積バッファ n+ 1となり、リングバッファ 621から外れる(データ列 624)。 [0092] Similarly to the above explanation, the ring buffer 621 indicating the previous negative change amount (left output value) cumulative buffer in the table 620 shown in Figure 7 is the positive (right) value at the previous sampling time nT. When a negative (left) change amount of 623 is detected, which indicates the amount of change on one side (output value ≠ 0) and the amount of change on the other side (output value = 0), one sampling cycle (1 T) from the previous sampling time nT is detected. ) in the sensor orientation (output value≠0) is a negative change (left output value), the topmost “negative change (left output value) cumulative buffer η” is a negative change (output value≠0) The amount of change (left output value) becomes cumulative buffer n+ 1 and is removed from ring buffer 621 (data string 624).
[0093] 同じぐ図 8に示した表 630の前々回の負の変化量 (左出力値)累積バッファを示す リングバッファ 631は、前々回のサンプリング時刻 nTにおける正 (右)か負(左)のどち らか一方の変化量(出力値≠0)および他方の変化量(出力値 =0)を示す変化量 63 3を検出すると、前々回のサンプリング時刻 nTから過去 1サンプリング周期(1T)分の センサ方位の変化量 (出力値≠0)が負の変化量 (左出力値)の場合、最上位であつ た「負の変化量 (左出力値)累積バッファ η」は、負の変化量 (左出力値)累積バッファ η+ 1となり、リングバッファ 631から外れる(データ列 634)。 [0093] Table 630 shown in Figure 8 shows the cumulative buffer of the negative change amount (left output value) two times before the previous time. When detecting the amount of change 63 3 indicating the amount of change on one side (output value ≠ 0) and the amount of change on the other side (output value = 0), the sensor direction for the past one sampling period (1T) from the sampling time nT before the previous one is detected. When the amount of change (output value ≠ 0) is a negative amount of change (left output value), the topmost “negative amount of change (left output value) cumulative buffer η” is the amount of negative change (left output value). value) Cumulative buffer becomes η+ 1 and is removed from ring buffer 631 (data string 634).
[0094] つぎに、今回のサンプリング時刻 nT力も過去 1サンプリング周期(1T)分のセンサ 方位の変化量(出力値≠0)が正の変化量 (左出力値)の場合、リングバッファ 612に 示した最下位の「正の変化量 (右出力値)累積バッファ 1」〜最上位の「正の変化量( 右出力値)累積バッファ η」の全てに今回のサンプリング時刻 nTから過去 1サンプリン グ周期( 1T)分のセンサ方位の変化量(出力値)が「0」である正の変化量 (右出力値 )を見掛け上累積した後に上位方向に 1バッファ分をシフトする。したがって、最上位 であった「正の変化量 (右出力値)累積バッファ n」は、正の変化量 (左出力値)累積 バッファ n+ 1となり、リングバッファ 612から外れる(データ列 615)。そして、空いた最 下位の「正の変化量 (右出力値)累積バッファ 1」には正の変化量 (右出力値)が格納 される。また、リングバッファ 612に示した「正の変化量 (右出力値)累積バッファ 1, 2 , 3,〜,(n— 2) , (n- 1) , n」の各サンプリング数は、「1個, 2個, 3個,〜, (n— 2) 個, (n—l)個, n個」のように最下位〜最上位バッファに向けて、 1個ずつ順に増加 している。 [0094] Next, if the current sampling time nT force is also a positive change (output value ≠ 0) in the sensor orientation over the past one sampling period (1T), it is shown in the ring buffer 612. from the lowest “positive change amount (right output value) cumulative buffer 1” to the highest “positive change amount (right output value) cumulative buffer η” from the current sampling time nT to the past one sampling period. After apparently accumulating the positive amount of change (right output value) in which the amount of change (output value) in the sensor orientation for (1T) minutes is "0", shift one buffer in the upper direction. Therefore, the top The “positive change amount (right output value) cumulative buffer n” becomes the positive change amount (left output value) cumulative buffer n+ 1 and is removed from the ring buffer 612 (data string 615). Then, the positive change amount (right output value) is stored in the vacant lowest “positive change amount (right output value) accumulation buffer 1”. In addition, the number of samples for each of the "positive change amount (right output value) cumulative buffer 1, 2, 3, ~, (n- 2), (n- 1), n" shown in the ring buffer 612 is "1". The numbers are increased one by one from the lowest to the highest buffers, such as ``2, 3, ~, (n-2), (n-l), n''.
[0095] 以上の説明と同様に、図 7に示した表 620の前回の正の変化量 (右出力値)累積バ ッファを示すリングバッファ 621は、前回のサンプリング時刻 nTにおける正 (右)か負 ( 左)のどちらか一方の変化量(出力値≠0)および他方の変化量(出力値 =0)を示す 変化量 623を検出すると、前回のサンプリング時刻 nTから過去 1サンプリング周期(1 Τ)分のセンサ方位の変化量 (出力値≠0)が正の変化量 (右出力値)の場合、最上 位であった「正の変化量 (右出力値)累積バッファ η」は、正の変化量 (右出力値)累 積バッファ n+ 1となり、リングバッファ 622から外れる(データ列 625)。 [0095] Similar to the above explanation, the ring buffer 621 indicating the previous positive change amount (right output value) cumulative buffer in the table 620 shown in Figure 7 is the positive (right) value at the previous sampling time nT. When a negative (left) change amount of 623 is detected, which indicates the amount of change on one side (output value ≠ 0) and the amount of change on the other side (output value = 0), one sampling cycle (1 T) from the previous sampling time nT is detected. ) in the sensor orientation (output value≠0) is a positive change (right output value), the topmost “positive change (right output value) cumulative buffer η” is a positive change (output value≠0). The amount of change (right output value) becomes cumulative buffer n+ 1 and is removed from ring buffer 622 (data string 625).
[0096] 同じぐ図 8に示した表 630の前々回の正の変化量 (右出力値)累積バッファを示す リングバッファ 632は、前々回のサンプリング時刻 nTにおける正 (右)力負(左)のどち らか一方の変化量(出力値≠0)および他方の変化量(出力値 =0)を示す変化量 63 3を検出すると、前々回のサンプリング時刻 nTから過去 1サンプリング周期(1T)分の センサ方位の変化量(出力値≠0)が正の変化量 (右出力値)の場合、最上位であつ た「正の変化量 (右出力値)累積バッファ η」は、正の変化量 (右出力値)累積バッファ η+ 1となり、リングバッファ 632から外れる(データ列 635)。 [0096] Table 630 shown in Figure 8 shows the cumulative buffer of positive change amount (right output value) two times before the previous time. When detecting the amount of change 63 3 indicating the amount of change on one side (output value ≠ 0) and the amount of change on the other side (output value = 0), the sensor direction for the past one sampling period (1T) from the sampling time nT before the previous time is detected. When the amount of change (output value ≠ 0) is a positive amount of change (right output value), the topmost “positive amount of change (right output value) cumulative buffer η” is the amount of positive change (right output value). value) Cumulative buffer becomes η+ 1 and is removed from ring buffer 632 (data string 635).
[0097] (実施例 1における方位算出の処理手順) [0097] (Processing procedure for calculating direction in Example 1)
図 9は、実施例 1における補正係数設定処理の概要を示すフローチャートである。 これから説明するのは、本発明の特徴である左右のゲイン差の補正係数の更新にか カゝる処理の手順であり、図 4に示した左ゲイン差補正係数調整処理部 410、右ゲイン 差補正係数調整処理部 411および補正係数選択取得処理部 412における処理で ある。これから説明する手順によって設定された補正係数を用いて方位算出部 313 ( 図 3参照)によって方位を算出する。図 9に示したフローチャートにおいて、まずサン プリング周期 Tごとにセンサ方位および GPS方位を記録する (ステップ S901)。 FIG. 9 is a flowchart showing an overview of the correction coefficient setting process in the first embodiment. What will now be described is the processing procedure involved in updating the correction coefficient for the left and right gain difference, which is a feature of the present invention. This is the processing in the correction coefficient adjustment processing section 411 and the correction coefficient selection acquisition processing section 412. The orientation calculation unit 313 (see FIG. 3) calculates the orientation using the correction coefficient set by the procedure described below. In the flowchart shown in Figure 9, first The sensor direction and GPS direction are recorded every pulling cycle T (step S901).
[0098] つぎに、サンプリング周期 Tごとにセンサ方位の正 (右)か負(左)のどちらか一方の 変化量(出力値≠0)および他方の変化量(出力値 =0)を累積記録する (ステップ S9 02)。ここで、正の変化量とはセンサ方位の右出力値を表し、負の変化量とはセンサ 方位の左出力値を表す。 [0098] Next, at every sampling period T, the amount of change in either the positive (right) or negative (left) sensor orientation (output value ≠ 0) and the amount of change in the other (output value = 0) are cumulatively recorded. (Step S9 02). Here, the positive amount of change represents the right output value of the sensor orientation, and the negative amount of change represents the left output value of the sensor orientation.
[0099] 続いて、ステップ S902における処理において、正(右)か負(左)のどちらか一方の 変化量がサンプリング数 k回連続して記録されたか否かを判断する (ステップ S903) 。ここで、正 (右)か負(左)のどちらか一方の変化量力 ¾回連続して記録されるのを待 つて、記録された場合 (ステップ S903 : Yes)は、正 (右)の変化量が連続して記録さ れた場合は左ゲイン差補正を行!、、負(左)の変化量が連続して記録された場合は 右ゲイン差補正を行う (ステップ S904)。とともに、同じ曲折方向の連続した変化量が 開始されたサンプリング時刻 mTを検出する (ステップ S905)。 [0099]Next, in the process in step S902, it is determined whether or not the amount of change, either positive (right) or negative (left), has been continuously recorded k sampling times (step S903). Here, wait for either the positive (right) or negative (left) change amount to be recorded ¾ times in a row, and if it is recorded (Step S903: Yes), the positive (right) change If the amount of change is recorded continuously, perform left gain difference correction!, and if negative (left) change amount is continuously recorded, perform right gain difference correction (step S904). At the same time, the sampling time mT at which continuous changes in the same bending direction have started is detected (step S905).
[0100] 続いて、サンプリング時刻 mTからサンプリング周期 Tごとに正 (右)か負(左)のどち らか一方の変化量(出力値≠0)および他方の変化量(出力値 =0)を累積する (ステ ップ S906)。つぎに、ステップ S906において累積を開始した正 (右)の変化量の累 積値と、負(左)の変化量の累積値とが等しくなつた力否かを判断する (ステップ S90 7)。ここで、正 (右)の変化量の累積値と、負 (左)の変化量の累積値とが等しくなるま で待って、等しくなつた場合 (ステップ S907 : Yes)には、累積値が等しくなつたサン プリング時刻 nTを検出する (ステップ S908)。 [0100] Next, from the sampling time mT, for each sampling period T, calculate the amount of change in either the positive (right) or negative (left) (output value ≠ 0) and the amount of change in the other (output value = 0). Accumulate (step S906). Next, it is determined whether or not the cumulative value of the positive (right) amount of change that started to be accumulated in step S906 is equal to the cumulative value of the negative (left) amount of change (step S907). Here, wait until the cumulative value of the positive (right) amount of change and the cumulative value of the negative (left) amount of change are equal, and if they become equal (Step S907: Yes), the cumulative value is The sampling time nT that has become equal is detected (step S908).
[0101] なお、サンプリング時刻 mTにおけるセンサ方位を Sam ( θ 1)、 GPS方位を Gam ( [0101] Note that the sensor orientation at sampling time mT is Sam ( θ 1), and the GPS orientation is Gam (
Θ 2)と表し、サンプリング時刻 nTにおけるセンサ方位を Sbn ( Θ 3)、 GPS方位を Gb η ( θ 4)と表す。また、サンプリング時刻 nTにおける正の変化量の累積値を Θ rn、負 の変化量の累積値を I 0 In Iと表す。 Θ 2), the sensor orientation at sampling time nT is represented by Sbn ( Θ 3), and the GPS orientation is represented by Gb η ( θ 4). Also, the cumulative value of positive changes at sampling time nT is expressed as Θ rn, and the cumulative value of negative changes is expressed as I 0 In I.
[0102] 続いて、ステップ S905およびステップ S908において検出したサンプリング時刻 m T時の GPS方位 Gam ( Θ 2)とサンプリング時刻 nT時の GPS方位 Gbn ( Θ 4)とを比 較 (ステップ S909)し、続いて、サンプリング時刻 mT時のセンサ方位 Sam ( θ 1)とサ ンプリング時刻 nT時のセンサ方位 Sbn ( Θ 3)とを比較する(ステップ S910)。よって、 GPS方位の比較とセンサ方位の比較が行われると、この比較結果に基づ!/、て補正 量を決定する (ステップ S911 )。 [0102] Next, the GPS azimuth Gam (Θ 2) at the sampling time m T detected in step S905 and step S908 is compared with the GPS azimuth Gbn (Θ 4) at the sampling time nT (step S909), Next, the sensor orientation Sam (θ 1) at the sampling time mT is compared with the sensor orientation Sbn (Θ 3) at the sampling time nT (step S910). Therefore, when the GPS direction is compared with the sensor direction, the correction is made based on this comparison result. Determine the amount (step S911).
[0103] 最後にステップ S911にお 、て決定した補正量を用いて補正係数である G1ある ヽ は Grのどちらか一方を調整 (ステップ S912)し、一連の処理を終了する。以上説明し たように補正係数を更新する処理を繰り返すことで、補正係数は収束値に近づ ヽて いく。 [0103]Finally, one of the correction coefficients G1 and Gr is adjusted using the correction amount determined in step S911 (step S912), and the series of processes ends. As explained above, by repeating the process of updating the correction coefficient, the correction coefficient approaches the converged value.
[0104] 図 10〜図 19は、実施例 1における補正係数設定処理の詳細な手順を示すフロー チャートである。図 10に示したフローチャートにおいて、まず、今回のサンプリング時 刻 nTでは、 GPS測位状態が三次元測位状態であるか否かを判断 (ステップ S1001) し、続いて、 GPS速度データが 30[kmZh]以上であるか否かの判断 (ステップ S10 [0104] FIGS. 10 to 19 are flowcharts showing detailed procedures of the correction coefficient setting process in the first embodiment. In the flowchart shown in Figure 10, first, at the current sampling time nT, it is determined whether the GPS positioning state is a three-dimensional positioning state (step S1001), and then, the GPS speed data is determined to be 30 [kmZh]. or more (step S10)
02)し、車速パルス速度が 30 [kmZh]以上であるカゝ否かの判断を行う(ステップ S102) and determines whether the vehicle speed pulse speed is 30 [kmZh] or more (step S1).
003)。 003).
[0105] 今回のサンプリング時刻 nTでは、ステップ S1001〜ステップ S1003における条件 をすベて満たしている場合 (ステップ S1001〜ステップ S1003 :Yes)は、続いて GP S方位の平均角度の変化量が 0. 3 [deg]以下である力否かを判断 (ステップ S 1004 )し、続いて、角速度センサの出力により算出された角速度 [degZs]の変位量である 角加速度が 0. 3 [deg/s · s]以下であるか否かを判断する (ステップ S 1005)。 [0105] At the current sampling time nT, if all the conditions in step S1001 to step S1003 are satisfied (step S1001 to step S1003: Yes), then the amount of change in the average angle of the GP S direction is 0. It is determined whether the force is less than 3 [deg] (step S 1004), and then the angular acceleration, which is the displacement amount of the angular velocity [degZs] calculated from the output of the angular velocity sensor, is 0.3 [deg/s · s] or less (step S 1005).
[0106] 今回のサンプリング時刻 nTでは、ステップ S1001〜ステップ S1003の各ステップ にお 、て条件が当てはまらな!/、場合 (ステップ S 1001〜ステップ S 1003: No)や、ス テツプ S1004、ステップ S1005の各ステップにおいて条件を満たした場合 (ステップ S1004、 S1005 :Yes)は、いずれもステップ S 1006に移行し、正負の変化量(右左 出力値)累積リングバッファをすベてゼロクリア (ステップ S 1006)にし、一連の処理を 終了する。 [0106] At the current sampling time nT, if the condition does not apply in each step from step S1001 to step S1003 (step S1001 to step S1003: No), or if the condition does not apply at each step from step S1001 to step S1003, or if the condition does not apply at each step from step S1001 to step S1003 If the conditions are met in each step (steps S1004, S1005: Yes), the process moves to step S1006, and the positive and negative changes (right and left output values) cumulative ring buffers are all cleared to zero (step S1006). , completes the series of processing.
[0107] ステップ S1004およびステップ S1005における条件のどちらにも当てはまらない場 合 (ステップ S1004、 S 1005 : No)は、つぎにステップ S 1007の条件判定に移行し、 今回のサンプリング時刻 nTと、サンプリング時刻(m+k)Tとが等しいか否かを判断 する(ステップ S1007)。ここで、サンプリング時刻(m+k)Tとは、あるサンプリング時 刻 mTを開始時刻として、安定した所定のサンプリング数 k回分連続して、正か負のど ちらか一方の変化量が記録されたサンプリング時刻のことをいう。そして、ステップ S1 007の判断において、今回のサンプリング時刻 nTと、サンプリング時刻(m+k)丁と が等しい場合 (ステップ S 1007 : Yes)は、一連の処理を終了する。 [0107] If neither of the conditions in step S1004 and step S1005 apply (steps S1004, S1005: No), the process moves to step S1007, where the current sampling time nT and the sampling time are determined. It is determined whether (m+k)T are equal (step S1007). Here, the sampling time (m+k)T is the time at which either positive or negative changes are recorded continuously for a stable predetermined number of samplings, starting from a certain sampling time mT. Refers to sampling time. And step S1 In the judgment of 007, if the current sampling time nT and the sampling time (m+k)d are equal (step S1007: Yes), the series of processing ends.
[0108] 続いて、今回のサンプリング時刻 nTと、サンプリング時刻(m+k)Tとが等しくない 場合 (ステップ S 1007 : No)は、つぎに、今回のサンプリング時刻 nTにおけるリング バッファに累積記録された累積右出力値 0 rnと、累積左出力値 I 0 1n | (負の出力 であるため、絶対値にして比較)とが等しいか否かを判断する(ステップ S1008)。こ のとき、累積右出力値 0 rnおよび累積左出力値 I 0 1η I は 0より大きいことが前提 条件となる。この条件は、右折のみあるいは左折のみで 360° 回転して、 0 rn= | θ ΐη I にならないようにするためである。 [0108] Next, if the current sampling time nT and the sampling time (m+k)T are not equal (Step S 1007: No), then the cumulative recording in the ring buffer at the current sampling time nT is performed. It is determined whether or not the accumulated right output value 0 rn is equal to the accumulated left output value I 0 1n | (since this is a negative output, the absolute value is compared) (step S1008). At this time, the prerequisite is that the cumulative right output value 0 rn and the cumulative left output value I 0 1η I are greater than 0. This condition is to prevent 0 rn= | θ ΐη I from rotating 360° by turning only to the right or only to the left.
[0109] ステップ S1008の判断において、今回のサンプリング時刻 nTにおける累積右出力 値 Θ rnと、累積左出力値 I 0 In Iとが等しくない場合 (ステップ S1008 :No)は、一 連の処理を終了する。今回のサンプリング時刻 nTにおける累積右出力値 Θ rnと、累 積左出力値 I 0 1η Iとが等しい場合 (ステップ S 1008 : Yes)は、角速度の左右の検 出誤差 (ゲイン差)を補正するための処理へ移行するため、まず、サンプリング時刻 m Tにお 、てセンサ方位 Samを記録した時、右出力値が基準であった力否かを判断す る(ステップ S1009)。ステップ S1009は、安定した出力を確認した時の変化量が正( 右)であったか負(左)であつたかを確認し、左右どちらかの出力値を基準にして基準 と逆の曲折方向の補正係数の更新を行うかを判断するための処理である。 [0109] In the judgment in step S1008, if the cumulative right output value Θ rn and the cumulative left output value I 0 In I at the current sampling time nT are not equal (step S1008: No), the series of processing is terminated. do. If the cumulative right output value Θ rn and the cumulative left output value I 0 1η I at the current sampling time nT are equal (step S 1008 : Yes), the left and right detection error (gain difference) of the angular velocity is corrected. In order to move on to the processing for this purpose, first, it is determined whether or not the right output value was the reference force when the sensor orientation Sam was recorded at the sampling time mT (step S1009). Step S1009 checks whether the amount of change when confirming stable output was positive (right) or negative (left), and corrects the bending direction opposite to the reference based on either the left or right output value. This is a process for determining whether to update coefficients.
[0110] ステップ S1009において、右出力値が基準でなかった場合 (ステップ S1009 :No) は、ステップ S1065 (図 16参照)の処理に移行し、サンプリング時刻 mTにおいてセ ンサ方位 Samを記録した時、左出力値が基準であった力否かを判断する (ステップ S 1065)。右出力値が基準であった場合 (ステップ S1009 : Yes)は、つぎに、今回の サンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方 位 Gamより小さ!/、か否かを判断する(ステップ S1010)。 [0110] In step S1009, if the right output value is not the reference (step S1009: No), the process moves to step S1065 (see Figure 16), and when the sensor orientation Sam is recorded at sampling time mT, It is determined whether the left output value is the reference force or not (step S 1065). If the right output value is the reference (step S1009: Yes), then it is determined whether the GPS bearing Gbn at the current sampling time nT is smaller than the GPS bearing Gam at the sampling time mT!/, or not ( step S1010).
[0111] 今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおけ る GPS方位 Gamより小さくない場合 (ステップ S1010 :No)は、ステップ S1024 (図 1 2参照)に移行し、今回のサンプリング時刻 nTにおける GPS方位 Gbnと、サンプリン グ時刻 mTにおける GPS方位 Gamとの大小関係を確認するための処理を行う。今回 のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS 方位 Gamより小さい場合 (ステップ SIOIO : Yes)は、続いて今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 Samより小さ Vヽ(アンダーラン)か否かを判断する(ステップ S1011)。 [0111] If the GPS bearing Gbn at the current sampling time nT is not smaller than the GPS bearing Gam at the sampling time mT (step S1010: No), the process moves to step S1024 (see Figure 12), and the current sampling time Processing is performed to check the magnitude relationship between the GPS bearing Gbn at nT and the GPS bearing Gam at sampling time mT. this time If the GPS azimuth Gbn at the sampling time nT is smaller than the GPS azimuth Gam at the sampling time mT (step SIOIO: Yes), then the sensor azimuth Sbn at the current sampling time nT is smaller than the sensor azimuth Sam at the sampling time mT Vヽ(underrun) or not (step S1011).
[0112] ステップ S1011において、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnが サンプリング時刻 mTにおけるセンサ方位 Samより小さくな ヽ場合 (ステップ S1011: No)は、補正係数の更新を行わないことから、一連の処理を終了する。今回のサンプ リング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 S amより小さ!/ヽ(アンダーラン)場合 (ステップ S 1011: Yes)は、図 11のフローチャート に移行し、つぎに前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリ ング時刻 m, Tにおけるセンサ方位 Sam,より大きい(オーバーラン)力否かを判断す る(ステップ S 1012)。 [0112] In step S1011, if the sensor orientation Sbn at the current sampling time nT is smaller than the sensor orientation Sam at the sampling time mT (step S1011: No), the correction coefficient is not updated, so the series of processing end. If the sensor orientation Sbn at the current sampling time nT is smaller than the sensor orientation S am at the sampling time mT!/ヽ (underrun) (step S1011: Yes), the process moves to the flowchart in Figure 11, and then the previous It is determined whether the sensor orientation Sbn' at sampling time n'T is larger (overrun) than the sensor orientation Sam at sampling time m, T (step S1012).
[0113] ステップ S1012において、前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn, がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より大きくない場合 (ステップ S 10 12 :No)は、つぎに前々回のサンプリング時刻 n',Tにおけるセンサ方位 Sbn',がサ ンプリング時刻 m, 'Tにおけるセンサ方位 Sam' 'より大きいか否かを判断する(ステツ プ S1013)。ここで、前々回のサンプリング時刻 n',Tにおけるセンサ方位 Sbn',が サンプリング時刻 m' 'Tにおけるセンサ方位 Sam' 'より大きくない場合 (ステップ S10 13 :No)は、左右ゲイン差補正係数が発散状態であることから、収束発散状態フラグ =0とされる(ステップ S1014)。 [0113] In step S1012, if the sensor orientation Sbn, at the previous sampling time n'T is not larger than the sensor orientation Sam' at the sampling time m'T (step S1012:No), then the next sampling time It is determined whether the sensor orientation Sbn' at sampling time m, 'T' is greater than the sensor orientation Sam' ' at sampling time m, 'T' (step S1013). Here, if the sensor orientation Sbn' at the sampling time n' and T before the previous sampling time is not larger than the sensor orientation Sam' ' at the sampling time m' 'T (step S10 13: No), the left and right gain difference correction coefficient diverges. Since this is the state, the convergence-divergence state flag is set to 0 (step S1014).
[0114] ここで、フラグの説明を行う。フラグは、右ゲイン差補正時に用いる F Θ rと左ゲイン 差補正時に用いる F θ 1とでそれぞれ、今回のサンプリング時刻 nTにおける GPS方 位 Gbnとサンプリング時刻 mTにおける GPS方位 Gamの比較と、今回のサンプリング 時刻 nTにおけるセンサ方位 Sbnとサンプリング時刻 mTにおけるセンサ方位 Samの 比較とによって、それぞれ 4つに場合分けされ、初期状態は「0」にクリアされている。 フラグは、次回の調整 (補正)時の状態を表している。たとえば、今回の調整 (補正) が左ゲイン差補正時に今回がアンダーラン状態(Sbnく Sam)で、前回がオーバーラ ン状態(Sam,く Sbn,)の場合、補正量は—0. 2%となり、フラグ F Θ 11と F Θ 12は「1 」にセットされて、左ゲイン差補正係数 G1は、収束状態であるので「左右ゲイン差補正 係数」の収束発散状態フラグは「1」にセットされ、収束状態となる。したがって、次回 の調整 (補正)が右ゲイン差補正時では左ゲイン差補正係数 G1は収束状態であるこ とを表し、次回の調整 (補正)が左ゲイン差補正時の状態は、前回がアンダーラン状 態(Sbn' < Sam' )で、前々回がオーバーラン状態(Sam', < Sbn', )になる。 [0114] Here, flags will be explained. The flags are F Θ r used for right gain difference correction and F θ 1 used for left gain difference correction, respectively. Based on the comparison of the sensor orientation Sbn at sampling time nT and the sensor orientation Sam at sampling time mT, each case is divided into four cases, and the initial state is cleared to "0". The flag represents the state at the next adjustment (correction). For example, if the current adjustment (correction) is a left gain difference correction, and the current adjustment was in an underrun condition (Sbn, Sam) and the previous adjustment was in an overrun condition (Sam, Sbn,), the correction amount is -0. 2%. So the flags F Θ 11 and F Θ 12 are “1 ", and the left gain difference correction coefficient G1 is in a converged state. Therefore, the convergence-divergence state flag of the "left and right gain difference correction coefficient" is set to "1", and the left gain difference correction coefficient G1 is in a converged state. Therefore, when the next adjustment (correction) is to correct the right gain difference, it means that the left gain difference correction coefficient G1 is in a converged state, and when the next adjustment (correction) is to correct the left gain difference, it means that the previous adjustment is underrun. In the state (Sbn'<Sam'), the previous time becomes an overrun state (Sam', <Sbn', ).
[0115] さらに、次回の調整 (補正)が左ゲイン差補正時に今回がアンダーラン状態(Sbn< Sam)の場合、補正量は 0. 1%となり、フラグ F Θ 11と F Θ 12は「0」にクリアされても 、次々回以降の調整 (補正)が左ゲイン差補正時になるまでの間、次々回以降の調 整 (補正)が右ゲイン差補正時でも左ゲイン差補正係数 G1は収束状態であること表し 、次々回の調整 (補正)が左ゲイン差補正時の状態は、前回がアンダーラン状態 (Sb n, < Sam' )で、前々回もアンダーラン状態(Sbn,, < Sam', )になる。そして、次々 回の調整 (補正)が左ゲイン差補正時に今回がアンダーラン状態 (Sbn< Sam)の場 合、補正量は一 0. 4%となり、既にフラグ F Θ 11と F Θ 12は「0」にクリアされて、左ゲイ ン差補正係数 G1は、発散状態であるので「左右ゲイン差補正係数」の収束発散状態 フラグは「0」にクリアされて発散状態となる。なお、フラグ F 0 rlと F 0 r2の場合も、同 様に処理されるが、その際の補正量は、それぞれ +0. 2%、 +0. 1%、 +0. 4%が 用いられる。 [0115] Furthermore, if the next adjustment (correction) is an underrun condition (Sbn<Sam) when correcting the left gain difference, the correction amount will be 0.1%, and flags F Θ 11 and F Θ 12 will be set to "0. ”, the left gain difference correction coefficient G1 remains in the converged state even if the subsequent adjustments (corrections) are right gain difference correction until the next and subsequent adjustments (corrections) are corrected for the left gain difference. This means that the state when the left gain difference correction is performed one after another is an underrun state (Sb n, < Sam') the previous time, and an underrun state (Sbn,, < Sam', ) two times before. Become. Then, when the next adjustment (correction) is to correct the left gain difference, if this time there is an underrun condition (Sbn<Sam), the correction amount will be 10.4%, and flags F Θ 11 and F Θ 12 have already been set to " Since the left gain difference correction coefficient G1 is cleared to "0" and is in a divergent state, the convergence-divergence state flag of the "left and right gain difference correction coefficient" is cleared to "0" and becomes a divergent state. Note that the flags F 0 rl and F 0 r2 are processed in the same way, but the correction amounts used are +0. 2%, +0. 1%, and +0. 4%, respectively. .
[0116] また、たとえば、今回の調整 (補正)が左ゲイン差補正時に今回がオーバーラン状 態(Sam< Sbn)で、前回がアンダーラン状態(Sbn' < Sam' )の場合、補正量は + 0. 2%となり、フラグ F Θ 13と F Θ 14は「1」にセットされて、左ゲイン差補正係数 G1は、 収束状態であるので「左右ゲイン差補正係数」の収束発散状態フラグは「1」にセット され、収束状態となる。したがって、次回の調整 (補正)が右ゲイン差補正時では左ゲ イン差補正係数 G1は収束状態であることを表し、次回の調整 (補正)が左ゲイン差補 正時の状態は、前回がオーバーラン状態(Sam,く Sbn' )で、前々回がアンダーラン 状態(Sbn', < Sam', )になる。 [0116] Also, for example, when the current adjustment (correction) is to correct the left gain difference, if the current adjustment (correction) is in an overrun state (Sam< Sbn) and the previous one was in an underrun state (Sbn' < Sam'), the amount of correction is + 0. 2%, flags F Θ 13 and F Θ 14 are set to "1", and the left gain difference correction coefficient G1 is in a converged state, so the convergence-divergence state flag of "left and right gain difference correction coefficient" is It is set to “1” and enters the convergence state. Therefore, when the next adjustment (correction) is right gain difference correction, the left gain difference correction coefficient G1 is in a converged state, and when the next adjustment (correction) is left gain difference correction, the previous state is In an overrun state (Sam, < Sam', ), the previous time becomes an underrun state (Sbn', < Sam', ).
[0117] さらに、次回の調整 (補正)が左ゲイン差補正時に今回がオーバーラン状態(Sam く Sbn)の場合、補正量は + 0. 1%となり、フラグ F Θ 13と F Θ 14は「0」にクリアされて も、次々回以降の調整 (補正)が左ゲイン差補正時になるまでの間、次々回以降の調 整 (補正)が右ゲイン差補正時でも左ゲイン差補正係数 G1は収束状態であること表し 、次々回の調整 (補正)が左ゲイン差補正時の状態は、前回がオーバーラン状態 (Sa m, < Sbn,)で、前々回もオーバーラン状態(Sam,, < Sbn,, )になる。そして、次々 回の調整 (補正)が左ゲイン差補正時に今回がアンダーラン状態 (Sbn< Sam)の場 合、補正量は、 +0. 4%となり、既にフラグ F Θ 13と F Θ 14は「0」にクリアされて、左ゲ イン差補正係数 G1は、発散状態であるので「左右ゲイン差補正係数」の収束発散状 態フラグは「0」にクリアされて発散状態となる。なお、フラグ F Θ r3と F Θ r4の場合も、 同様に処理される力 その際の補正量は、それぞれ 0. 2%、 -0. 1%、 -0. 4% が用いられる。 [0117] Furthermore, if the next adjustment (correction) is to correct the left gain difference and this time is in an overrun state (Sam + Sbn), the correction amount will be + 0.1%, and flags F Θ 13 and F Θ 14 will be set to " Even if it is cleared to 0, subsequent adjustments (corrections) will continue until the left gain difference correction is performed. Even when the adjustment (correction) is correcting the right gain difference, the left gain difference correction coefficient G1 indicates that it is in a converged state. < Sbn, ), the overrun state occurred two times before (Sam,, < Sbn,, ). Then, when the next adjustment (correction) is to correct the left gain difference, if this time there is an underrun condition (Sbn<Sam), the correction amount will be +0.4%, and flags F Θ 13 and F Θ 14 have already been set. Since it is cleared to "0" and the left gain difference correction coefficient G1 is in a divergent state, the convergence-divergence state flag of the "left and right gain difference correction coefficient" is cleared to "0" and becomes a divergent state. Note that in the case of the flags F Θ r3 and F Θ r4, the forces are processed in the same way, and the correction amounts used are 0. 2%, -0. 1%, and -0. 4%, respectively.
[0118] フローチャートの説明に戻りステップ S 1014において、収束発散状態フラグ =0と 設定されたことから、つぎに、補正量 α =0. 4%とセットされる (ステップ S1015)。続 いて、今回の左ゲイン差補正係数を更新するため、サンプリング時刻 nTにおける左 ゲイン差補正係数 Ginを、前回の左ゲイン差補正係数 Gin— 1から aだけ減算した値 (ステップ S 1022)とし、今回がアンダーラン状態であると判断 (ステップ S 1023)し、 一連の処理を終了する。 [0118] Returning to the explanation of the flowchart, since the convergence-divergence state flag was set to 0 in step S1014, the correction amount α is then set to 0.4% (step S1015). Next, in order to update the current left gain difference correction coefficient, the left gain difference correction coefficient Gin at sampling time nT is set to a value obtained by subtracting a from the previous left gain difference correction coefficient Gin−1 (step S1022). It is determined that this is an underrun state (step S 1023), and the series of processing ends.
[0119] また、ステップ S 1012の判断に戻り、前回のサンプリング時刻 n' Tにおけるセンサ 方位 Sbn'がサンプリング時刻 m' Tにおけるセンサ方位 Sam'より大きい場合 (ステツ プ S1012 :Yes)は、前回がオーバーラン状態となり、フラグ F 0 11 = 1と設定される( ステップ S1018)。続いて、補正量 α =0. 2%とセットされる(ステップ S 1019)。前回 のサンプリング時刻 n' Tにおけるセンサ方位 Sbn'がサンプリング時刻 m' Tにおける センサ方位 Sam'より大きくない(ステップ S 1012 : No)力 前々回のサンプリング時 刻 n',Tにおけるセンサ方位 Sbn',がサンプリング時刻 m,,Tにおけるセンサ方位 Sa m' 'より大きい場合 (ステップ S1013 :Yes)は、前々回がオーバーラン状態となり、フ ラグ F Θ 11 = 0と設定 (ステップ S 1016)し、補正量 α =0. 1%とセットされる(ステップ S 1017)。 [0119] Returning to the judgment in step S1012, if the sensor orientation Sbn' at the previous sampling time n' T is larger than the sensor orientation Sam' at the sampling time m' T (step S1012: Yes), the previous An overrun state occurs, and the flag F 0 11 = 1 is set (step S1018). Subsequently, the correction amount α is set to 0.2% (step S 1019). The sensor orientation Sbn' at the previous sampling time n' T is not greater than the sensor orientation Sam' at the sampling time m' T (Step S 1012 : No). If the sensor orientation at sampling time m,, T is larger than Sa m' ' (step S1013: Yes), the previous time is in an overrun state, the flag F Θ 11 = 0 is set (step S 1016), and the correction amount α =0.1% (step S 1017).
[0120] ステップ S1017またはステップ S 1019において補正量のセットが行われると、つぎ にフラグ F 0 rl, F 0 r2, F Θ r3, F 0 r4のうち少なくとも一つが「1」に設定されている か否かを判断する (ステップ S1020)。このステップにおける処理は左出力値が基準 となり、右ゲイン差の補正処理の結果における前回もしくは前々回の処理において、 現在の右ゲイン差補正係数 Grnは収束状態にあるカゝ否かの判断を行っており、前回 もしくは前々回の処理にぉ 、て設定された上記 4つのフラグを参照する。 [0120] When the correction amount is set in step S1017 or step S1019, at least one of the flags F 0 rl, F 0 r2, F Θ r3, and F 0 r4 is set to “1”. It is determined whether or not (step S1020). The processing in this step is based on the left output value. As a result of the right gain difference correction process, it is determined whether or not the current right gain difference correction coefficient Grn is in a converged state in the previous or two previous processes. Refer to the four flags set above.
[0121] ステップ S1020において、フラグ F Θ ΓΙ, F 0 r2, F Θ r3, F Θ r4のうち少なくとも一 つが「1」の場合 (ステップ S1020 :Yes)は、左右ゲイン差補正係数が収束状態であ ると判断し、収束発散状態フラグ = 1と設定 (ステップ S1021)し、ステップ S1022の 更新処理に移行する。フラグ F Θ ΓΙ, F 0 r2, F 0 r3, F 0 r4のすべてが「0」の場合( ステップ S1020 :No)は、ステップ S 1021のフラグ設定を行わずに、ステップ S1022 の更新処理に移行する。 [0121] In step S1020, if at least one of the flags F Θ ΓΙ, F 0 r2, F Θ r3, F Θ r4 is “1” (Step S1020: Yes), the left and right gain difference correction coefficient is in a converged state. It is determined that there is, the convergence/divergence state flag is set to 1 (step S1021), and the process moves to update processing in step S1022. If all of the flags F Θ ΓΙ, F 0 r2, F 0 r3, and F 0 r4 are "0" (step S1020: No), the process moves to the update process of step S1022 without setting the flags of step S1021. do.
[0122] 続いて、図 10に戻り、ステップ S1010において、今回のサンプリング時刻 nTにお ける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Gamより小さくない場 合 (ステップ S1010: No)の処理にっ ヽて図 12のフローチャートを用いて説明する。 まず、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTに おける GPS方位 Gamと等しいか否かを判断する (ステップ S 1024)。今回のサンプリ ング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Gam と等しくな 、場合 (ステップ S 1024: No)は、ステップ S 1051 (図 14参照)の処理に移 行する。 [0122] Next, returning to FIG. 10, in step S1010, the process is performed when the GPS bearing Gbn at the current sampling time nT is not smaller than the GPS bearing Gam at the sampling time mT (Step S1010: No). This will be explained using the flowchart in Figure 12. First, it is determined whether the GPS bearing Gbn at the current sampling time nT is equal to the GPS bearing Gam at the sampling time mT (step S1024). If the GPS bearing Gbn at the current sampling time nT is not equal to the GPS bearing Gam at the sampling time mT (step S1024: No), the process moves to step S1051 (see FIG. 14).
[0123] GPS方位 Gbnが GPS方位 Gamと等しい場合 (ステップ S 1024 : Yes)は、続いて、 今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけ るセンサ方位 Samより小さいか否かの判断 (ステップ S1025)と、前回のサンプリング 時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'Tにおけるセンサ方位 Sa m,より大きいか否かの判断 (ステップ S1026)と、前々回のサンプリング時刻 n',丁に おけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam' 'より大 きいか否かの判断 (ステップ S 1027)を行う。 [0123] If the GPS orientation Gbn is equal to the GPS orientation Gam (step S 1024 : Yes), then the sensor orientation Sbn at the current sampling time nT is smaller than the sensor orientation Sam at the sampling time mT. Judgment (Step S1025), Judgment (Step S1026) as to whether the sensor orientation Sbn' at the previous sampling time n'T is greater than the sensor orientation Sa m, at the sampling time m'T, and the sampling time n' before the previous one. , it is determined whether the sensor orientation Sbn'' at sampling time m''T is greater than the sensor orientation Sam'' at sampling time m''T (step S1027).
[0124] 今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけ るセンサ方位 Samより小さく(ステップ S 1025 : Yes)、前回のサンプリング時刻 n'Tに おけるセンサ方位 Sbn'がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より大きく なく(ステップ S 1026 : No)、前々回のサンプリング時刻 n,,Tにおけるセンサ方位 Sb n',がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam"より大きくない場合 (ステツ プ S1027 :No)、左右ゲイン差補正係数は発散状態にあると判断し、収束発散状態 フラグ =0と設定する(ステップ S1028)。したがって、補正量 j8 =0. 4%とセットされ る(ステップ S 1029)。 [0124] The sensor orientation Sbn at the current sampling time nT is smaller than the sensor orientation Sam at the sampling time mT (Step S 1025 : Yes), and the sensor orientation Sbn' at the previous sampling time n'T is smaller than the sensor orientation Sam at the sampling time m'. The sensor orientation at T is not greater than Sam' (Step S 1026 : No), and the sensor orientation at T If n' is not larger than the sensor orientation Sam" at the sampling time m''T (Step S1027: No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag is set to 0. (Step S1028).Therefore, the correction amount j8 is set to 0.4% (Step S1029).
[0125] ステップ S1025において、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnが サンプリング時刻 mTにおけるセンサ方位 Samより小さくない場合 (ステップ S 1025 : No)は、ステップ S1038 (図 13参照)に移行し、今度は、今回のサンプリング時刻 nT におけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 Samより大きい か否かの判定処理を行う(ステップ S 1038)。 [0125] In step S1025, if the sensor orientation Sbn at the current sampling time nT is not smaller than the sensor orientation Sam at the sampling time mT (step S1025: No), the process moves to step S1038 (see Figure 13), and this time , a process is performed to determine whether the sensor orientation Sbn at the current sampling time nT is larger than the sensor orientation Sam at the sampling time mT (step S1038).
[0126] ステップ S1026において、前回のサンプリング時刻 n,Tにおけるセンサ方位 Sbn, がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より大きい場合 (ステップ S1026 : Yes)は、前回がオーバーラン状態となり、フラグ F Θ 12 = 1と設定 (ステップ S 1032) し、ネ ΐ正量 j8 =0. 2%とセットされる(ステップ S1033)。同様に、ステップ S1027に おいて、前々回のサンプリング時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング 時刻 m' 'Tにおけるセンサ方位 Sam' 'より大きい場合 (ステップ S1027 :Yes)は、前 々回がオーバーラン状態となり、フラグ F Θ 12 = 0と設定 (ステップ S 1030)し、補正量 β =0. 1%とセットされる(ステップ S1031)。 [0126] In step S1026, if the sensor orientation Sbn, at the previous sampling time n, T is larger than the sensor orientation Sam' at the sampling time m'T (step S1026: Yes), the previous time is in an overrun state, and the flag F Θ12 = 1 is set (step S1032), and the positive amount j8 is set as 0.2% (step S1033). Similarly, in step S1027, if the sensor orientation Sbn'' at the sampling time n' 'T before the previous time is larger than the sensor orientation Sam'' at the sampling time m' 'T' (step S1027: Yes), is in an overrun state, the flag F Θ 12 = 0 is set (step S 1030), and the correction amount β = 0.1% (step S 1031).
[0127] ステップ S 1031またはステップ S 1033において補正量のセットが行われると、つぎ にフラグ F 0 rl, F 0 r2, F Θ r3, F 0 r4のうち少なくとも一つが「1」に設定されている か否かを判断する(ステップ S1034)。このステップにおける処理は図 11のステップ S 1020と同じように左出力値が基準となり、右ゲイン差の補正処理の結果における前 回もしくは前々回の処理において、現在の右ゲイン差補正係数 Grnは収束状態にあ る力否かの判断を行っており、前回もしくは前々回の処理において設定された上記 4 つのフラグを参照する。 [0127] When the correction amount is set in step S 1031 or step S 1033, at least one of the flags F 0 rl, F 0 r2, F Θ r3, F 0 r4 is set to “1”. It is determined whether or not there is one (step S1034). The processing in this step is based on the left output value as in step S1020 in Figure 11, and the current right gain difference correction coefficient Grn is in the convergence state in the previous or the previous processing as a result of the right gain difference correction processing. It makes a judgment as to whether the power is present or not, and refers to the above four flags set in the previous process or the process before the previous process.
[0128] ステップ S1034において、フラグ F 0 rl, F 0 r2, F Θ r3, F Θ r4のうち少なくとも一 つが「1」の場合 (ステップ S1034 :Yes)は、左右ゲイン差補正係数が収束状態であ ると判断し、収束発散状態フラグ = 1と設定 (ステップ S1035)し、ステップ S1036 (図 13参照)の更新処理に移行する。フラグ F Θ ΓΙ, F 0 r2, F 0 r3, F 0 r4のすべてが「 0」の場合 (ステップ S1034 :No)は、ステップ S1035のフラグ設定を行わずに、ステ ップ S 1036 (図 13参照)の更新処理に移行する。 [0128] In step S1034, if at least one of the flags F 0 rl, F 0 r2, F Θ r3, F Θ r4 is "1" (step S1034: Yes), the left and right gain difference correction coefficient is in a converged state. It is determined that there is, the convergence/divergence state flag is set to 1 (step S1035), and the process moves to update processing in step S1036 (see FIG. 13). All of the flags F Θ ΓΙ, F 0 r2, F 0 r3, F 0 r4 are " 0" (step S1034: No), the flag is not set in step S1035 and the process moves to the update process in step S1036 (see FIG. 13).
[0129] つぎに、図 13に示したフローチャートの説明に移る。まず、ステップ S 1029、ステツ プ S1034 (Noの場合)、もしくはステップ S1035の処理が終了すると、続いて、今回 の左ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおける左ゲイン差 補正係数 Ginを、前回の左ゲイン差補正係数 Gin— 1から βだけ減算した値 (ステツ プ S 1036)とし、今回がアンダーラン状態であると判断 (ステップ S 1037)し、一連の 処理を終了する。 [0129] Next, the flowchart shown in FIG. 13 will be explained. First, when the processing in step S1029, step S1034 (in case of No), or step S1035 is completed, in order to update the current left gain difference correction coefficient, the left gain difference correction coefficient Gin at sampling time nT is updated. is set as a value obtained by subtracting β from the previous left gain difference correction coefficient Gin-1 (step S1036), it is determined that this time is an underrun state (step S1037), and the series of processing is terminated.
[0130] つぎに、図 12に示したフローチャートを用いて、ステップ S1025において今回のサ ンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方 位 Samより小さくないと判断された場合 (ステップ S 1025 : No)は、続いて今回のサン プリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方 位 Samより大きい否かの判断を行う(ステップ S 1038)。今回のサンプリング時刻 nT におけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 Samより大きく な 、場合 (ステップ S 1038: No)は、一連の処理を終了する。 [0130] Next, using the flowchart shown in FIG. 12, if it is determined in step S1025 that the sensor orientation Sbn at the current sampling time nT is not smaller than the sensor orientation Sam at the sampling time mT (Step S1025 : No), it is then determined whether the sensor orientation Sbn at the current sampling time nT is greater than the sensor orientation Sam at the sampling time mT (step S1038). If the sensor orientation Sbn at the current sampling time nT is larger than the sensor orientation Sam at the sampling time mT (step S1038: No), the series of processes ends.
[0131] ステップ S1038において、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnが サンプリング時刻 mTにおけるセンサ方位 Samより大きい場合 (ステップ S1038 : Yes )は、前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'T におけるセンサ方位 Sam'より小さいか否かの判断 (ステップ S1039)と、前々回のサ ンプリング時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおける センサ方位 Sam,,より小さいか否かの判断 (ステップ S 1040)とを行う。 [0131] In step S1038, if the sensor orientation Sbn at the current sampling time nT is larger than the sensor orientation Sam at the sampling time mT (Step S1038: Yes), the sensor orientation Sbn' at the previous sampling time n'T is the sampling time Judging whether the sensor orientation Sam' at m'T is smaller than (step S1039) and determining whether the sensor orientation Sbn'' at the sampling time n' 'T before the previous time is smaller than the sensor orientation Sam' at the sampling time m' 'T, . A determination is made as to whether or not it is small (step S 1040).
[0132] 前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'Tに おけるセンサ方位 Sam,より小さくなく(ステップ S 1039 : No)、前々回のサンプリング 時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam' 'より小さくない場合 (ステップ S 1040 : No)は、左右ゲイン差補正係数は発散 状態にあると判断し、収束発散状態フラグ =0と設定する (ステップ S1041)。したが つて、補正量 j8 =0. 4%とセットされる(ステップ S 1042)。 [0132] If the sensor orientation Sbn' at the previous sampling time n'T is not smaller than the sensor orientation Sam at the sampling time m'T (Step S 1039: No), the sensor orientation Sbn at the sampling time n' 'T before the previous If ' ' is not smaller than sensor orientation Sam' ' at sampling time m' 'T' (step S 1040: No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag is set to 0. (Step S1041). Therefore, the correction amount j8 is set to 0.4% (step S 1042).
[0133] ステップ S1039において、前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn, がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より小さい場合 (ステップ S1039 : Yes)は、ステップ S1045 (図 14参照)の処理に移行し、前回がアンダーラン状態とな り、フラグ F Θ 13 = 1と設定 (ステップ S 1045)し、補正量 j8 =0. 2%とセットされる(ス テツプ S1046)。同様に、図 13に戻り、ステップ S1040において、前々回のサンプリ ング時刻 n, 'Tにおけるセンサ方位 Sbn, 'がサンプリング時刻 m' 'Tにおけるセンサ 方位 Sam' 'より小さい場合 (ステップ S1040 : Yes)は、前々回がアンダーラン状態と なり、フラグ F Θ 13 = 0と設定 (ステップ S1043)し、補正量 j8 =0. 1%とセットされる( ステップ S 1044)。 [0133] In step S1039, the sensor orientation Sbn at the previous sampling time n'T, If is smaller than the sensor orientation Sam' at sampling time m'T (step S1039: Yes), the process moves to step S1045 (see Figure 14), the previous time is in an underrun state, and the flag F Θ 13 = 1 (Step S1045), and the correction amount j8 is set to =0.2% (Step S1046). Similarly, returning to Fig. 13, in step S1040, if the sensor orientation Sbn, ' at the sampling time n, 'T before the previous time is smaller than the sensor orientation Sam'' at the sampling time m''T' (step S1040: Yes), , the previous time was in an underrun state, and the flag F Θ 13 = 0 is set (step S1043), and the correction amount j8 is set to 0.1% (step S1044).
[0134] ステップ S 1044またはステップ S 1046において補正量のセットが行われると、つぎ にフラグ F 0 rl, F 0 r2, F Θ r3, F 0 r4のうち少なくとも一つが「1」に設定されている か否かを判断する(ステップ S1047)。このステップにおける処理は図 11のステップ S 1020と同じように左出力値が基準となり、右ゲイン差の補正処理の結果における前 回もしくは前々回の処理において、現在の右ゲイン差補正係数 Grnは収束状態にあ る力否かの判断を行っており、前回もしくは前々回の処理において設定された上記 4 つのフラグを参照する。 [0134] When the correction amount is set in step S 1044 or step S 1046, at least one of the flags F 0 rl, F 0 r2, F Θ r3, F 0 r4 is set to “1”. It is determined whether or not there is one (step S1047). The processing in this step is based on the left output value as in step S1020 in Figure 11, and the current right gain difference correction coefficient Grn is in the convergence state in the previous or the previous processing as a result of the right gain difference correction processing. It makes a judgment as to whether the power is present or not, and refers to the above four flags set in the previous process or the process before the previous process.
[0135] ステップ S1047にお!/、て、フラグ F 0 rl, F 0 r2, F Θ r3, F Θ r4のうち少なくとも一 つが「1」の場合 (ステップ S1047 :Yes)は、左右ゲイン差補正係数が収束状態であ ると判断し、収束発散状態フラグ = 1と設定 (ステップ S1048)し、ステップ S1049の 更新処理に移行する。フラグ F Θ ΓΙ, F 0 r2, F 0 r3, F 0 r4のすべてが「0」の場合( ステップ S 1047 : No)は、ステップ S 1048のフラグ設定を行わずに、ステップ S 1049 の更新処理に移行する。 [0135] In step S1047, if at least one of the flags F 0 rl, F 0 r2, F Θ r3, F Θ r4 is "1" (step S1047: Yes), the left and right gain difference correction is performed. It is determined that the coefficient is in a converged state, the convergence-divergence state flag is set to 1 (step S1048), and the process moves to update processing in step S1049. If all of the flags F Θ ΓΙ, F 0 r2, F 0 r3, and F 0 r4 are "0" (step S 1047 : No), the update process in step S 1049 is performed without setting the flags in step S 1048. to move to.
[0136] 続、て、今回の左ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る左ゲイン差補正係数 Ginを、前回の左ゲイン差補正係数 Gin— 1から βだけ加算し た値 (ステップ S 1049)とし、今回がオーバーラン状態であると判断 (ステップ S 1050 )し、一連の処理を終了する。 [0136] Next, in order to update the current left gain difference correction coefficient, the left gain difference correction coefficient Gin at sampling time nT is added by β from the previous left gain difference correction coefficient Gin−1. value (step S 1049), determines that this is an overrun state (step S 1050), and ends the series of processing.
[0137] つぎに、図 12に示したフローチャートを用いて、ステップ S1024において今回のサ ンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Gamと等しくない場合 (ステップ S 1024 : No)は、図 14に示したフローチャートにお V、て、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTに おける GPS方位 Gamより大きいか否かを判断する(ステップ S1051)。今回のサンプ リング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Ga mより大きい場合 (ステップ S1051 :Yes)は、続いて、今回のサンプリング時刻 nTに おけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 Samより大きいか 否かの判断を行う(ステップ S 1052)。 [0137] Next, using the flowchart shown in FIG. 12, if in step S1024 the GPS bearing Gbn at the current sampling time nT is not equal to the GPS bearing Gam at the sampling time mT (step S1024: No), The flowchart shown in Figure 14 V, it is determined whether the GPS bearing Gbn at the current sampling time nT is greater than the GPS bearing Gam at the sampling time mT (step S1051). If the GPS azimuth Gbn at the current sampling time nT is greater than the GPS azimuth Ga m at the sampling time mT (Step S1051: Yes), then the sensor azimuth Sbn at the current sampling time nT is the sensor azimuth at the sampling time mT. It is determined whether or not it is larger than Sam (step S 1052).
[0138] 今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおけ る GPS方位 Gamより大きくない場合 (ステップ S1051 :No)や、今回のサンプリング 時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 Samよ り大きくない場合 (ステップ S 1052 : No)は、一連の処理を終了する。今回のサンプリ ング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Gam より大きく(ステップ S1051: Yes)、今回のサンプリング時刻 nTにおけるセンサ方位 S bnがサンプリング時刻 mTにおけるセンサ方位 Samより大きい場合 (ステップ S 1052 : Yes)は、続いて図 15に示したフローチャートに移行し、まず、前回のサンプリング 時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'Tにおけるセンサ方位 Sa m,より小さいか否かの判断 (ステップ S1053)と、前々回のサンプリング時刻 n,,丁に おけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam' 'より小 さいか否かの判断 (ステップ S 1054)を行う。 [0138] If the GPS azimuth Gbn at the current sampling time nT is not greater than the GPS azimuth Gam at the sampling time mT (Step S1051: No), or if the sensor azimuth Sbn at the current sampling time nT is the sensor azimuth at the sampling time mT. If it is not larger than Sam (step S1052: No), the series of processing ends. If the GPS bearing Gbn at the current sampling time nT is larger than the GPS bearing Gam at the sampling time mT (step S1051: Yes), and the sensor bearing S bn at the current sampling time nT is larger than the sensor bearing Sam at the sampling time mT (step S 1052: Yes) then moves to the flowchart shown in Figure 15, and first determines whether the sensor orientation Sbn' at the previous sampling time n'T is smaller than the sensor orientation Sa m, at the sampling time m'T. (Step S1053) and determine whether the sensor orientation Sbn' ' at the sampling time n, , d before the previous time is smaller than the sensor orientation Sam' ' at the sampling time m' 'T (Step S1054). .
[0139] 前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'Tに おけるセンサ方位 Sam,より小さくなく(ステップ S 1053 : No)、前々回のサンプリング 時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam' 'より小さくない場合 (ステップ S 1054 : No)は、左右ゲイン差補正係数は発散 状態にあると判断し、収束発散状態フラグ =0と設定する (ステップ S1055)。したが つて、補正量 γ =0. 4%とセットされる(ステップ S1056)。 [0139] If the sensor orientation Sbn' at the previous sampling time n'T is not smaller than the sensor orientation Sam at the sampling time m'T (Step S 1053: No), the sensor orientation Sbn at the sampling time n' 'T before the previous one is not smaller than the sensor orientation Sam at the sampling time m'T. If ' ' is not smaller than sensor orientation Sam' ' at sampling time m' 'T' (step S 1054 : No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag is set to 0. (Step S1055). Therefore, the correction amount γ is set to 0.4% (step S1056).
[0140] ステップ S1053において、前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn, がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より小さい場合 (ステップ S1053 : Yes)は、前回がアンダーラン状態となり、フラグ F Θ 14= 1と設定し (ステップ S 1059) 、補正量 T =0. 2%とセットされる(ステップ S 1060)。同様に、ステップ S1054にお いて、前々回のサンプリング時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時 刻 m, 'Tにおけるセンサ方位 Sam' 'より小さい場合 (ステップ S1054:Yes)は、前々 回がアンダーラン状態となり、フラグ F Θ 14 = 0と設定 (ステップ S1057)し、補正量 γ =0. 1%とセットされる(ステップ S1058)。 [0140] In step S1053, if the sensor orientation Sbn, at the previous sampling time n'T is smaller than the sensor orientation Sam' at the sampling time m'T (step S1053: Yes), the previous time is in an underrun state, and the flag F Θ 14 = 1 is set (step S 1059), and the correction amount T =0.2% is set (step S 1060). Similarly, in step S1054 If the sensor orientation Sbn'' at the sampling time n''T of the sampling time before the previous time is smaller than the sensor orientation Sam'' at the sampling time m, 'T' (step S1054: Yes), the previous sampling time is in an underrun state. The flag F Θ 14 = 0 is set (step S1057), and the correction amount γ is set to 0.1% (step S1058).
[0141] ステップ S1058またはステップ S1060において補正量のセットが行われると、つぎ にフラグ F0rl, F0r2, F Θ r3, F 0 r4のうち少なくとも一つが「1」に設定されている か否かを判断する(ステップ S 1061)。このステップにおける処理は図 11のステップ S 1020と同じように左出力値が基準となり、右ゲイン差の補正処理の結果における前 回もしくは前々回の処理において、現在の右ゲイン差補正係数 Grnは収束状態にあ る力否かの判断を行っており、前回もしくは前々回の処理において設定された上記 4 つのフラグを参照する。 [0141] When the correction amount is set in step S1058 or step S1060, it is next determined whether at least one of the flags F0rl, F0r2, FΘr3, and F0r4 is set to "1". (Step S 1061). The processing in this step is based on the left output value as in step S1020 in Figure 11, and the current right gain difference correction coefficient Grn is in the convergence state in the previous or the previous processing as a result of the right gain difference correction processing. It makes a judgment as to whether the power is present or not, and refers to the above four flags set in the previous process or the process before the previous process.
[0142] ステップ S1061にお!/、て、フラグ F 0rl, F0 r2, F Θ r3, F Θ r4のうち少なくとも一 つが「 1」の場合 (ステップ S 1061: Yes)は、左右ゲイン差補正係数が収束状態であ ると判断し、収束発散状態フラグ =1と設定 (ステップ S1062)し、ステップ S1063の 更新処理に移行する。フラグ F Θ ΓΙ, F0r2, F0r3, F0 r4のすべてが「0」の場合( ステップ S 1061: No)は、ステップ S 1062のフラグ設定を行わずに、ステップ S 1063 の更新処理に移行する。 [0142] In step S1061, if at least one of the flags F 0rl, F0 r2, F Θ r3, F Θ r4 is “1” (Step S 1061: Yes), the left and right gain difference correction coefficient is in a converged state, sets the convergence-divergence state flag = 1 (step S1062), and moves to the update process of step S1063. If all of the flags FΘΓΙ, F0r2, F0r3, F0r4 are "0" (step S1061: No), the process moves to the update process of step S1063 without setting the flags of step S1062.
[0143] 続、て、今回の左ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る左ゲイン差補正係数 Ginを、前回の左ゲイン差補正係数 Gin— 1から γだけ加算し た値 (ステップ S 1063)とし、今回がオーバーラン状態であると判断 (ステップ S 1064 )し、一連の処理を終了する。 [0143] Next, in order to update the left gain difference correction coefficient this time, the left gain difference correction coefficient Gin at sampling time nT is added by γ from the previous left gain difference correction coefficient Gin−1. value (step S 1063), determines that this is an overrun state (step S 1064), and ends the series of processing.
[0144] つぎに、図 16に示したフローチャートの説明に移る。まず、ステップ S1009(図 10 参照)において、サンプリング時刻 mTにおいてセンサ方位 Samを検出した際に、右 出力値が基準でな力つた場合 (ステップ S 1009: No)の処理を説明する。まず、サン プリング時刻 mTにおいてセンサ方位 Samを検出した際に、左出力値が基準であつ た力否かを判断する (ステップ S1065)。左出力値が基準でな力つた場合 (ステップ S 1065: No)は、一連の処理を終了する。 [0144] Next, the flowchart shown in FIG. 16 will be explained. First, in step S1009 (see FIG. 10), when the sensor orientation Sam is detected at the sampling time mT, the process will be described when the right output value is less than the reference value (step S1009: No). First, when the sensor orientation Sam is detected at the sampling time mT, it is determined whether the left output value is the reference force or not (step S1065). If the left output value exceeds the reference value (step S1065: No), the series of processing ends.
[0145] ステップ S 1065において、左出力値が基準であった場合 (ステップ S 1065: Yes) は、つぎに、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Gamより小さいか否かを判断する(ステップ S 1066)。今回の サンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方 位 Gamより小さくない場合 (ステップ S1066 :No)は、ステップ S1080 (図 17参照)の 処理に移行する。 [0145] In step S 1065, if the left output value is the reference (step S 1065: Yes) Next, determines whether the GPS bearing Gbn at the current sampling time nT is smaller than the GPS bearing Gam at the sampling time mT (step S 1066). If the GPS bearing Gbn at the current sampling time nT is not smaller than the GPS bearing Gam at the sampling time mT (step S1066: No), the process moves to step S1080 (see Figure 17).
[0146] ステップ S1066において、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサ ンプリング時刻 mTにおける GPS方位 Gamより小さい場合 (ステップ S 1066 : Yes)は 、続いて、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 m Tにおけるセンサ方位 Samより小さいか否かの判断 (ステップ S 1067)と、前回のサン プリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'Tにおけるセンサ 方位 Sam,より大きいか否かの判断 (ステップ S1068)と、前々回のサンプリング時刻 n',Tにおけるセンサ方位 Sbn',がサンプリング時刻 m,,Tにおけるセンサ方位 Sam ,,より大きいか否かの判断を行う(ステップ S1069)。 [0146] In step S1066, if the GPS bearing Gbn at the current sampling time nT is smaller than the GPS bearing Gam at the sampling time mT (Step S1066: Yes), then the sensor bearing Sbn at the current sampling time nT is Determining whether the sensor orientation Sbn' at the sampling time m'T is smaller than the sensor orientation Sam at the sampling time m'T (step S1067) and determining whether the sensor orientation Sbn' at the previous sampling time n'T is greater than the sensor orientation Sam at the sampling time m'T. (Step S1068), and it is determined whether the sensor orientation Sbn' at the sampling time n', T before the previous sampling time is greater than the sensor orientation Sam, at the sampling time m, T (Step S1069).
[0147] 今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけ るセンサ方位 Samより小さく(ステップ S 1067 : Yes)、前回のサンプリング時刻 n'Tに おけるセンサ方位 Sbn'がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より大きく なく(ステップ S 1068 : No)、前々回のサンプリング時刻 n,,Tにおけるセンサ方位 Sb n',がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam"より大きくない場合 (ステツ プ S1069 :No)は、左右ゲイン差補正係数は発散状態にあると判断し、収束発散状 態フラグ =0と設定する(ステップ S1070)。したがって、補正量 α =0. 4%とセットさ れる(ステップ S 1071)。 [0147] The sensor orientation Sbn at the current sampling time nT is smaller than the sensor orientation Sam at the sampling time mT (Step S 1067 : Yes), and the sensor orientation Sbn' at the previous sampling time n'T is smaller than the sensor orientation Sam at the sampling time m'. If the sensor orientation at T is not greater than Sam' (step S 1068 : No), and the sensor orientation Sb n' at T is not greater than the sensor orientation Sam' at sampling time m' 'T (step S 1068 : No), Step S1069 :No), it is determined that the left and right gain difference correction coefficient is in a divergent state, and the convergence-divergence state flag is set to 0 (step S1070).Therefore, the correction amount α is set to 0.4%. (Step S 1071).
[0148] ステップ S1067において、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnが サンプリング時刻 mTにおけるセンサ方位 Samより小さくな!/、場合 (ステップ S 1067: No)は、一連の処理を終了する。ステップ S1068において、前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'Tにおけるセンサ方位 Sam'よ り大きい場合 (ステップ S1068 :Yes)は、前回がオーバーラン状態となり、フラグ F Θ r 1 = 1と設定 (ステップ S 1074)し、補正量 α =0. 2%とセットされる(ステップ S1075) 。同様に、ステップ S 1069において、前々回のサンプリング時刻 η',Τにおけるセン サ方位 Sbn',がサンプリング時刻 m, 'Tにおけるセンサ方位 Sam' 'より大きい場合( ステップ S 1069: Yes)は、前々回がオーバーラン状態となり、フラグ F Θ rl = 0と設定 (ステップ S1072)し、補正量 α =0. 1%とセットされる(ステップ S1073)。 [0148] In step S1067, if the sensor orientation Sbn at the current sampling time nT is smaller than the sensor orientation Sam at the sampling time mT!/, (step S1067: No), the series of processing ends. In step S1068, if the sensor orientation Sbn' at the previous sampling time n'T is larger than the sensor orientation Sam' at the sampling time m'T (step S1068: Yes), the previous time is in an overrun state, and the flag F Θ r 1 = 1 (step S1074), and the correction amount α =0.2% (step S1075). Similarly, in step S 1069, the sensor at the sampling time η', T before the previous one is If the sensor orientation Sbn' is larger than the sensor orientation Sam' at the sampling time m, 'T' (step S1069: Yes), the previous time is in an overrun state, and the flag FΘ rl = 0 is set (step S1072). , the correction amount α is set to 0.1% (step S1073).
[0149] ステップ S 1073またはステップ S 1075において補正量のセットが行われると、つぎ にフラグ F 011, F012, F013, F 014のうち少なくとも一つが「1」に設定されている か否かを判断する (ステップ S1076)。このステップにおける処理は右出力値が基準 となり、左ゲイン差の補正処理の結果における前回もしくは前々回の処理において、 現在の左ゲイン差補正係数 Ginは収束状態にあるカゝ否かの判断を行っており、前回 もしくは前々回の処理にぉ 、て設定された上記 4つのフラグを参照する。 [0149] When the correction amount is set in step S 1073 or step S 1075, it is next determined whether at least one of flags F 011, F012, F013, and F 014 is set to "1". (Step S1076). The process in this step is based on the right output value, and it is determined whether or not the current left gain difference correction coefficient Gin is in a converged state in the previous or two previous processes based on the results of the left gain difference correction process. The above four flags set in the previous process or the process before the previous process are referenced.
[0150] ステップ S1076において、フラグ F Θ11, F012, F Θ 13, F Θ 14のうち少なくとも一 つが「1」の場合 (ステップ S1076:Yes)は、左右ゲイン差補正係数が収束状態であ ると判断し、収束発散状態フラグ =1と設定 (ステップ S1077)し、ステップ S1078の 更新処理に移行する。フラグ F Θ11, F012, F013, F014のすべてが「0」の場合( ステップ S 1076: No)は、ステップ S 1077のフラグ設定を行わずに、ステップ S 1078 の更新処理に移行する。 [0150] In step S1076, if at least one of the flags F Θ11, F012, F Θ 13, F Θ 14 is "1" (step S1076: Yes), it is determined that the left and right gain difference correction coefficients are in a converged state. It is determined, the convergence-divergence state flag is set to 1 (step S1077), and the process moves to the update process of step S1078. If all of the flags F Θ11, F012, F013, and F014 are "0" (step S 1076: No), the process moves to the update process of step S 1078 without setting the flags of step S 1077.
[0151] 続、て、今回の右ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る右ゲイン差補正係数 Gmを、前回の右ゲイン差補正係数 Gm— 1から aだけ加算 した値 (ステップ S 1078)とし、今回がアンダーラン状態であると判断 (ステップ S107 9)し、一連の処理を終了する。 [0151] Next, in order to update the current right gain difference correction coefficient, the right gain difference correction coefficient Gm at sampling time nT is added by a from the previous right gain difference correction coefficient Gm−1. (Step S1078), it is determined that this time is an underrun state (Step S1079), and the series of processing is ended.
[0152] つぎに、図 17に示したフローチャートを用いて、ステップ S1066(図 16参照)にお いて今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにお ける GPS方位 Gamより小さくないと判断した場合 (ステップ S 1066: No)の処理を説 明する。まず、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時 刻 mTにおける GPS方位 Gamと等しいか否かを判断する(ステップ S 1080)。今回の サンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方 位 Gamと等しくない場合 (ステップ S 1080: No)は、ステップ S1107(図 19参照)の 処理に移行する。 [0152] Next, using the flowchart shown in Figure 17, it is determined in step S1066 (see Figure 16) that the GPS bearing Gbn at the current sampling time nT is not smaller than the GPS bearing Gam at the sampling time mT. The processing in the case (Step S 1066: No) will be explained. First, it is determined whether the GPS bearing Gbn at the current sampling time nT is equal to the GPS bearing Gam at the sampling time mT (step S1080). If the GPS bearing Gbn at the current sampling time nT is not equal to the GPS bearing Gam at the sampling time mT (step S1080: No), the process moves to step S1107 (see Figure 19).
[0153] 今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおけ る GPS方位 Gamと等しい場合 (ステップ S 1080 : Yes)は、続いて、今回のサンプリン グ時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 Sam より小さいか否かの判断 (ステップ S1081)と、前回のサンプリング時刻 n'Tにおける センサ方位 Sbn'がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より大きいか否 かの判断 (ステップ S 1082)と、前々回のサンプリング時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam' 'より大きいか否かの判 断 (ステップ S 1083)を行う。 [0153] The GPS direction Gbn at the current sampling time nT is If it is equal to the GPS bearing Gam (Step S1080: Yes), then it is determined whether the sensor bearing Sbn at the current sampling time nT is smaller than the sensor bearing Sam at the sampling time mT (Step S1081). Determining whether the sensor orientation Sbn' at the previous sampling time n'T is larger than the sensor orientation Sam' at the sampling time m'T (step S 1082), and determining whether the sensor orientation Sbn' at the sampling time n''T before the previous one is greater than the sensor orientation Sbn' at the sampling time m'T. It is determined whether or not ' is greater than sensor orientation Sam'' at sampling time m''T (step S 1083).
[0154] 今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけ るセンサ方位 Samより小さく(ステップ S1081: Yes)、前回のサンプリング時刻 n'Tに おけるセンサ方位 Sbn'がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より大きく なく(ステップ S 1082 : No)、前々回のサンプリング時刻 n,,Tにおけるセンサ方位 Sb n',がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam"より大きくない場合 (ステツ プ S1083 :No)は、左右ゲイン差補正係数は発散状態にあると判断し、収束発散状 態フラグ =0と設定する(ステップ S1084)。したがって、補正量 j8 =0. 4%とセットさ れる(ステップ S 1085)。 [0154] The sensor orientation Sbn at the current sampling time nT is smaller than the sensor orientation Sam at the sampling time mT (step S1081: Yes), and the sensor orientation Sbn' at the previous sampling time n'T is smaller than the sensor orientation Sam at the sampling time m'T. If the sensor orientation Sb n' at sampling time m' 'T is not greater than the sensor orientation Sam' at the sampling time m' 'T (step S 1082 : No), and the sensor orientation Sb n' at the sampling time n, ,T before the previous time S1083:No), it is determined that the left and right gain difference correction coefficient is in a divergent state, and the convergence-divergence state flag is set to 0 (step S1084).Therefore, the correction amount j8 is set to 0.4% ( Step S 1085).
[0155] ステップ S1081において、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnが サンプリング時刻 mTにおけるセンサ方位 Samより小さくない場合 (ステップ S 1081 : No)は、ステップ S1094 (図 18参照)の処理へ移行する。ステップ S1082において、 前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'Tにお けるセンサ方位 Sam'より大き!/、場合 (ステップ S 1082: Yes)は、前回がオーバーラ ン状態となり、フラグ F Θ r2= lと設定 (ステップ S1088)し、補正量 j8 =0. 2%とセッ トされる(ステップ S1089)。同様に、ステップ S1083において、前々回のサンプリン グ時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおけるセンサ方 位 Sam' 'より大きい場合 (ステップ S1083 : Yes)は、前々回がオーバーラン状態とな り、フラグ F Θ r2 = 0と設定 (ステップ S1086)し、補正量 j8 =0. 1%とセットされる(ス テツプ S 1087)。 [0155] In step S1081, if the sensor orientation Sbn at the current sampling time nT is not smaller than the sensor orientation Sam at the sampling time mT (step S1081: No), the process moves to step S1094 (see FIG. 18). In step S1082, if the sensor orientation Sbn' at the previous sampling time n'T is greater than the sensor orientation Sam' at the sampling time m'T!/, (step S1082: Yes), the previous time is an overrun state. Therefore, the flag F Θ r2 = l is set (step S1088), and the correction amount j8 =0. 2% is set (step S1089). Similarly, in step S1083, if the sensor orientation Sbn'' at the sampling time n' 'T before the previous one is larger than the sensor orientation Sam'' at the sampling time m' 'T (step S1083: Yes), the previous sampling time is over. A run state is entered, the flag F Θ r2 = 0 is set (step S1086), and the correction amount j8 is set to 0.1% (step S1087).
[0156] ステップ S 1087またはステップ S 1089において補正量のセットが行われると、つぎ にフラグ F 0 11, F 0 12, F 0 13, F 0 14のうち少なくとも一つが「1」に設定されている か否かを判断する(ステップ S1090)。このステップにおける処理は図 16のステップ S 1076と同じように右出力値が基準となり、左ゲイン差の補正処理の結果における前 回もしくは前々回の処理において、現在の左ゲイン差補正係数 Ginは収束状態にあ る力否かの判断を行っており、前回もしくは前々回の処理において設定された上記 4 つのフラグを参照する。 [0156] When the correction amount is set in step S 1087 or step S 1089, at least one of the flags F 0 11, F 0 12, F 0 13, and F 0 14 is set to “1”. There is It is determined whether or not (step S1090). The processing in this step is based on the right output value as in step S1076 in Fig. 16, and the current left gain difference correction coefficient Gin is in the convergence state in the previous or two previous processing as a result of the left gain difference correction processing. It makes a judgment as to whether the power is present or not, and refers to the above four flags set in the previous process or the process before the previous process.
[0157] ステップ S1090において、フラグ F Θ 11, F 0 12, F Θ 13, F Θ 14のうち少なくとも一 つが「1」の場合 (ステップ S1090 :Yes)は、左右ゲイン差補正係数が収束状態であ ると判断し、収束発散状態フラグ = 1と設定 (ステップ S1091)し、ステップ S1092の 更新処理に移行する。フラグ F Θ 11, F 0 12, F 0 13, F 0 14のすべてが「0」の場合は (ステップ S1090 :No)、ステップ S1091のフラグ設定を行わずに、ステップ S1092 の更新処理に移行する。 [0157] In step S1090, if at least one of the flags F Θ 11, F 0 12, F Θ 13, F Θ 14 is “1” (step S1090: Yes), the left and right gain difference correction coefficient is in a converged state. It is determined that there is, the convergence/divergence state flag is set to 1 (step S1091), and the process moves to the update process of step S1092. If all of the flags F Θ 11, F 0 12, F 0 13, F 0 14 are "0" (Step S1090: No), proceed to the update process of Step S1092 without setting the flags of Step S1091. .
[0158] 続、て、今回の右ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る右ゲイン差補正係数 Gmを、前回の右ゲイン差補正係数 Gm— 1から βだけ加算 した値 (ステップ S 1092)とし、今回がアンダーラン状態であると判断 (ステップ S109 3)し、一連の処理を終了する。 [0158] Next, in order to update the current right gain difference correction coefficient, the right gain difference correction coefficient Gm at sampling time nT is added by β from the previous right gain difference correction coefficient Gm−1. (Step S1092), it is determined that the current state is an underrun state (Step S1093), and the series of processing ends.
[0159] つぎに、図 18に示したフローチャートを用いて、ステップ S1081 (図 17参照)にお いて今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTに おけるセンサ方位 Samより小さくないと判断された場合 (ステップ S 1081: No)の処 理の説明を行う。まず、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプ リング時刻 mTにおけるセンサ方位 Samより大き!/、か否かの判断を行う(ステップ S10 94)。今回のサンプリング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTに おけるセンサ方位 Samより大きくない場合 (ステップ S1094 :No)は、一連の処理を 終了する。 [0159] Next, using the flowchart shown in Figure 18, it is determined in step S1081 (see Figure 17) that the sensor orientation Sbn at the current sampling time nT is not smaller than the sensor orientation Sam at the sampling time mT. (Step S1081: No). First, it is determined whether the sensor orientation Sbn at the current sampling time nT is greater than the sensor orientation Sam at the sampling time mT!/ (step S1094). If the sensor orientation Sbn at the current sampling time nT is not larger than the sensor orientation Sam at the sampling time mT (step S1094: No), the series of processes ends.
[0160] ステップ S1094において、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnが サンプリング時刻 mTにおけるセンサ方位 Samより大きい場合 (ステップ S1094 : Yes )は、前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'T におけるセンサ方位 Sam'より小さいか否かの判断 (ステップ S1095)と、前々回のサ ンプリング時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおける センサ方位 Sam,,より小さいか否かの判断 (ステップ S 1096)とを行う。 [0160] In step S1094, if the sensor orientation Sbn at the current sampling time nT is larger than the sensor orientation Sam at the sampling time mT (Step S1094: Yes), the sensor orientation Sbn' at the previous sampling time n'T is the sampling time It is determined whether the sensor orientation at m'T is smaller than Sam' (step S1095) and the sensor orientation Sbn' at the sampling time n''T before the previous time is smaller than the sensor orientation at the sampling time m''T. A determination is made as to whether the sensor orientation is smaller than Sam, (step S1096).
[0161] 前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m,丁に おけるセンサ方位 Sam,より小さくなく(ステップ S 1095 : No)、前々回のサンプリング 時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam' 'より小さくない場合 (ステップ S 1096 : No)は、左右ゲイン差補正係数は発散 状態にあると判断し、収束発散状態フラグ =0と設定する (ステップ S1097)。したが つて、補正量 j8 =0. 4%とセットされる(ステップ S1098)。 [0161] If the sensor orientation Sbn' at the previous sampling time n'T is not smaller than the sensor orientation Sam at the sampling time m, d (Step S 1095: No), the sensor orientation Sbn at the previous sampling time n' 'T If ' ' is not smaller than sensor orientation Sam' ' at sampling time m' 'T' (Step S 1096 : No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag is set to 0. (Step S1097). Therefore, the correction amount j8 is set to 0.4% (step S1098).
[0162] ステップ S1095において、前回のサンプリング時刻 n,Tにおけるセンサ方位 Sbn, がサンプリング時刻 m'Tにおけるセンサ方位 Sam'より小さい場合 (ステップ S1095 : Yes)は、前回がアンダーラン状態となり、フラグ F 0 r3 = lと設定 (ステップ S1101)し 、ネ ΐ正量 j8 =0. 2%とセットされる(ステップ SI 102)。同様に、ステップ S1096にお いて、前々回のサンプリング時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時 刻 m,,Tにおけるセンサ方位 Sam,,より小さい場合 (ステップ S1096 :Yes)は、前々 回がアンダーラン状態となり、フラグ F Θ r3 = 0と設定 (ステップ S1099)し、補正量 j8 =0. 1%とセットされる(ステップ S1100)。 [0162] In step S1095, if the sensor orientation Sbn, at the previous sampling time n, T is smaller than the sensor orientation Sam' at the sampling time m'T (step S1095: Yes), the previous time is in an underrun state, and the flag F 0 r3 = l (step S1101), and the positive amount j8 =0.2% (step SI 102). Similarly, in step S1096, if the sensor orientation Sbn'' at the sampling time n''T before the previous one is smaller than the sensor orientation Sam, at the sampling time m,,T (step S1096: Yes), times is in an underrun state, the flag F Θ r3 = 0 is set (step S1099), and the correction amount j8 =0.1% is set (step S1100).
[0163] ステップ S1100またはステップ S1102において補正量のセットが行われると、つぎ にフラグ F 0 11, F 0 12, F 0 13, F 0 14のうち少なくとも一つが「1」に設定されている か否かを判断する(ステップ S1103)。このステップにおける処理は図 16のステップ S 1076と同じように右出力値が基準となり、左ゲイン差の補正処理の結果における前 回もしくは前々回の処理において、現在の左ゲイン差補正係数 Ginは収束状態にあ る力否かの判断を行っており、前回もしくは前々回の処理において設定された上記 4 つのフラグを参照する。 [0163] When the correction amount is set in step S1100 or step S1102, it is next determined whether at least one of the flags F 0 11, F 0 12, F 0 13, and F 0 14 is set to “1”. It is determined whether or not (step S1103). The processing in this step is based on the right output value as in step S1076 in Fig. 16, and the current left gain difference correction coefficient Gin is in the convergence state in the previous or two previous processing as a result of the left gain difference correction processing. It makes a judgment as to whether the power is present or not, and refers to the above four flags set in the previous process or the process before the previous process.
[0164] ステップ S1103において、フラグ F Θ 11, F 0 12, F Θ 13, F Θ 14のうち少なくとも一 つが「1」の場合 (ステップ S1103 : Yes)は、左右ゲイン差補正係数が収束状態であ ると判断し、収束発散状態フラグ = 1と設定 (ステップ S1104)し、ステップ S1105の 更新処理に移行する。フラグ F Θ 11, F 0 12, F 0 13, F 0 14のすべてが「0」の場合( ステップ S 1103 : No)は、ステップ S 1104のフラグ設定を行わずに、ステップ S 1105 の更新処理に移行する。 [0165] 続、て、今回の右ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る右ゲイン差補正係数 Gmを、前回の右ゲイン差補正係数 Gm— 1から βだけ減算 した値とし (ステップ S 1105)、今回がオーバーラン状態であると判断 (ステップ S 110 6)し、一連の処理を終了する。 [0164] In step S1103, if at least one of the flags F Θ 11, F 0 12, F Θ 13, F Θ 14 is “1” (Step S1103: Yes), the left and right gain difference correction coefficient is in a converged state. It is determined that there is, the convergence/divergence state flag is set to 1 (step S1104), and the process moves to update processing in step S1105. If all of the flags F Θ 11, F 0 12, F 0 13, F 0 14 are "0" (Step S 1103 : No), the update processing in Step S 1105 is performed without setting the flags in Step S 1104. to move to. [0165] Next, in order to update the current right gain difference correction coefficient, the right gain difference correction coefficient Gm at sampling time nT is the value obtained by subtracting β from the previous right gain difference correction coefficient Gm−1. (Step S1105), determines that this is an overrun state (Step S1106), and ends the series of processing.
[0166] 最後に、図 19に示したフローチャートを用いて、ステップ S1080 (図 17参照)にお いて今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにお ける GPS方位 Gamと等しくな!/、場合 (ステップ S 1080: No)の処理にっ 、て説明す る。まず、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mT における GPS方位 Gamより大きいか否かを判断する(ステップ S1107)。今回のサン プリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 G amより大きくない場合 (ステップ S1107 :No)は、一連の処理を終了する。 [0166] Finally, using the flowchart shown in Figure 19, in step S1080 (see Figure 17), it is determined that the GPS bearing Gbn at the current sampling time nT is not equal to the GPS bearing Gam at the sampling time mT!/ , the processing in the case (step S1080: No) will be explained. First, it is determined whether the GPS bearing Gbn at the current sampling time nT is larger than the GPS bearing Gam at the sampling time mT (step S1107). If the GPS azimuth Gbn at the current sampling time nT is not larger than the GPS azimuth G am at the sampling time mT (step S1107: No), the series of processes ends.
[0167] 今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおけ る GPS方位 Gamより大きい場合 (ステップ S1107 : Yes)は、続いて、今回のサンプリ ング時刻 nTにおけるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 Sa mより大きいか否かの判断を行う(ステップ S1108)。今回のサンプリング時刻 nTにお けるセンサ方位 Sbnがサンプリング時刻 mTにおけるセンサ方位 Samより大きくない 場合 (ステップ S1108: No)は、一連の処理を終了する。 [0167] If the GPS bearing Gbn at the current sampling time nT is greater than the GPS bearing Gam at the sampling time mT (Step S1107: Yes), then the sensor bearing Sbn at the current sampling time nT is set to the sampling time mT. A determination is made as to whether the sensor orientation is larger than Sa m (step S1108). If the sensor orientation Sbn at the current sampling time nT is not larger than the sensor orientation Sam at the sampling time mT (step S1108: No), the series of processes ends.
[0168] ステップ S1108において、今回のサンプリング時刻 nTにおけるセンサ方位 Sbnが サンプリング時刻 mTにおけるセンサ方位 Samより大き!/、場合 (ステップ S1108: Yes )は、前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'T におけるセンサ方位 Sam'より小さいか否かの判断 (ステップ S1109)と、前々回のサ ンプリング時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおける センサ方位 Sam,,より小さいか否かの判断とを行う(ステップ S1110)。 [0168] In step S1108, if the sensor orientation Sbn at the current sampling time nT is greater than the sensor orientation Sam at the sampling time mT!/ (Step S1108: Yes), the sensor orientation Sbn' at the previous sampling time n'T is smaller than the sensor orientation Sam' at the sampling time m'T (step S1109), and the sensor orientation Sbn' at the sampling time n' 'T before the previous time is determined to be smaller than the sensor orientation Sam' at the sampling time m' 'T. , , is smaller than (step S1110).
[0169] 前回のサンプリング時刻 n'Tにおけるセンサ方位 Sbn'がサンプリング時刻 m'Tに おけるセンサ方位 Sam'より小さくなく(ステップ S 1109 : No)、前々回のサンプリング 時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時刻 m' 'Tにおけるセンサ方位 Sam' 'より小さくない場合 (ステップ S 1110 : No)は、左右ゲイン差補正係数は発散 状態にあると判断し、収束発散状態フラグ =0と設定する (ステップ Sl l l l)。したが つて、補正量 γ =0.4%とセットされる(ステップ S1112)。 [0169] If the sensor orientation Sbn' at the previous sampling time n'T is not smaller than the sensor orientation Sam' at the sampling time m'T (Step S 1109: No), the sensor orientation Sbn at the previous sampling time n''T If '' is not smaller than sensor orientation Sam'' at sampling time m''T (Step S1110: No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag is set to 0. (step Sl lll). However, Therefore, the correction amount γ is set to 0.4% (step S1112).
[0170] ステップ S1109において、前回のサンプリング時刻 n,Tにおけるセンサ方位 Sbn, がサンプリング時刻 m' Tにおけるセンサ方位 Sam'より小さい場合 (ステップ SI 109: Yes)は、前回がアンダーラン状態となり、フラグ F0r4=lと設定 (ステップ S1115)し 、ネ ΐ正量 T =0. 2%とセットされる(ステップ SI 116)。同様に、ステップ S1110にお いて、前々回のサンプリング時刻 n' 'Tにおけるセンサ方位 Sbn' 'がサンプリング時 刻 m, 'Tにおけるセンサ方位 Sam' 'より小さい場合 (ステップ S1110:Yes)は、前々 回がアンダーラン状態となり、フラグ F Θ r4 = 0と設定 (ステップ S1113)し、補正量 γ =0. 1%とセットされる(ステップ S1114)。 [0170] In step S1109, if the sensor orientation Sbn, at the previous sampling time n, T is smaller than the sensor orientation Sam' at the sampling time m' T (step SI 109: Yes), the previous time is in an underrun state, and the flag is set. F0r4=l is set (step S1115), and the positive amount T is set to 0.2% (step SI 116). Similarly, in step S1110, if the sensor orientation Sbn'' at the sampling time n' 'T before the previous one is smaller than the sensor orientation Sam'' at the sampling time m, 'T' (step S1110: Yes), times is in an underrun state, the flag F Θ r4 = 0 is set (step S1113), and the correction amount γ is set to 0.1% (step S1114).
[0171] ステップ S1114またはステップ S1116において補正量のセットが行われると、つぎ にフラグ F 011, F012, F013, F 014のうち少なくとも一つが「1」に設定されている か否かを判断する(ステップ S1117)。このステップにおける処理は図 16のステップ S 1076と同じように右出力値が基準となり、左ゲイン差の補正処理の結果における前 回もしくは前々回の処理において、現在の左ゲイン差補正係数 Ginは収束状態にあ る力否かの判断を行っており、前回もしくは前々回の処理において設定された上記 4 つのフラグを参照する。 [0171] When the correction amount is set in step S1114 or step S1116, it is next determined whether at least one of the flags F 011, F012, F013, and F 014 is set to "1" ( step S1117). The processing in this step is based on the right output value as in step S1076 in Fig. 16, and the current left gain difference correction coefficient Gin is in the convergence state in the previous or two previous processing as a result of the left gain difference correction processing. It makes a judgment as to whether the power is present or not, and refers to the above four flags set in the previous process or the process before the previous process.
[0172] ステップ S1117において、フラグ F Θ11, F012, F Θ 13, F Θ 14のうち少なくとも一 つが「1」の場合 (ステップ S1117: Yes)は、左右ゲイン差補正係数が収束状態であ ると判断し、収束発散状態フラグ =1と設定 (ステップ S 1118)し、ステップ S1119の 更新処理に移行する。フラグ F Θ11, F012, F013, F014のすべてが「0」の場合( ステップ S1117:No)は、ステップ S 1118のフラグ設定を行わずに、ステップ S1119 の更新処理に移行する。 [0172] In step S1117, if at least one of the flags F Θ11, F012, F Θ 13, F Θ 14 is “1” (step S1117: Yes), it is determined that the left and right gain difference correction coefficients are in a converged state. Then, the convergence-divergence state flag is set to 1 (step S1118), and the process moves to update processing in step S1119. If all of the flags FΘ11, F012, F013, and F014 are "0" (step S1117: No), the process moves to the update process of step S1119 without setting the flags of step S1118.
[0173] 続、て、今回の右ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る右ゲイン差補正係数 Gmを、前回の右ゲイン差補正係数 Gm— 1から γだけ減算 した値 (ステップ S1119)とし、今回がオーバーラン状態であると判断 (ステップ S 112 0)し、一連の処理を終了する。 [0173] Next, in order to update the current right gain difference correction coefficient, the right gain difference correction coefficient Gm at sampling time nT is the value obtained by subtracting γ from the previous right gain difference correction coefficient Gm−1. (Step S1119), determines that this time is an overrun state (Step S1120), and ends the series of processing.
[0174] 以上説明したような処理によって、現在の更新された左右ゲイン差 (感度差)補正 係数 Ginあるいは Grnのどちらか一方を用いることによって、角速度センサの検出誤 差が除去された補正後のセンサ方位を算出することができる。ここでいう検出誤差と は先ほど定義したように、車両の曲折方向の違いによって、角速度センサのゲイン差 [0174] Through the processing described above, detection errors of the angular velocity sensor can be reduced by using either the currently updated left/right gain difference (sensitivity difference) correction coefficient Gin or Grn. A corrected sensor orientation with the difference removed can be calculated. As defined earlier, the detection error here refers to the difference in gain of the angular velocity sensor due to differences in the direction of the vehicle's turn.
(感度差)による検出誤差である。つまり、実施例 1によれば、高精度に検出誤差が算 出されるため、現在のオーバーラン状態またはアンダーラン状態が正確に補正係数 の設定に反映される。したがって、左右ゲイン差による誤差補正を高精度かつ自動 的に行うことができ、正確なセンサ方位と単位時間あたりの走行距離が得られ、車両 を正確にナビゲートすることができる。 This is the detection error due to (sensitivity difference). In other words, according to the first embodiment, since the detection error is calculated with high accuracy, the current overrun state or underrun state is accurately reflected in the setting of the correction coefficient. Therefore, error correction due to the left and right gain difference can be performed automatically and with high precision, and accurate sensor orientation and travel distance per unit time can be obtained, allowing the vehicle to be navigated accurately.
実施例 2 Example 2
[0175] つぎに、この発明の実施例 2について説明する。実施例 2は、実施例 1で説明した ハードウェア構成の一部分を用いて実現される。したがって、以下に実施例 1と異な る部分のハードウェア構成について説明する。 [0175] Next, Example 2 of the present invention will be described. The second embodiment is realized using part of the hardware configuration described in the first embodiment. Therefore, the hardware configuration of the parts that are different from the first embodiment will be explained below.
[0176] 図 4に示した方位算出部 313および補正処理部 314において、比較処理部 407は 、本実施例の場合、検出された第 1の時刻の GPS方位と第 2の時刻の GPS方位とを 比較した結果で場合分けされる。その後、それらの場合分けの中で、第 1の時刻から 第 2の時刻まで累積した正と負の変化量の累積値とを比較する。 [0176] In the azimuth calculation unit 313 and the correction processing unit 314 shown in FIG. Cases are divided based on the comparison results. Thereafter, in those cases, the cumulative values of positive and negative changes accumulated from the first time to the second time are compared.
[0177] また、左ゲイン差補正係数調整処理部 410および右ゲイン差補正係数調整処理部 411による補正係数の調整 (更新)は、現在設定されて!、る補正係数に対する補正 量を決定して更新する。補正量は、たとえば、 ±0. 4%、 ±0. 2%、 ±0. 1%等の 6 種類を用いて、第 1の時刻のセンサ方位 Samと第 2の時刻のセンサ方位 Sbnがー致 した時、取得して 、た第 1の時刻の GPS方位 Gamと第 2の時刻の GPS方位 Gbnとの 比較結果による場合分けと第 1の時刻力 第 2の時刻までの正の変化量の累積値と 負の変化量の累積値との比較結果に基づいて随時変更する(具体的な変更方法は 、図 22〜図 26においてフローチャートを用いて詳しく説明する)。この補正量の変更 は、車両における第 1の時刻から第 2の時刻まで累積した正の変化量と負の変化量と の大小を観察して、ゲイン値が正 、値に収束するように行う。 [0177] Further, the adjustment (update) of the correction coefficient by the left gain difference correction coefficient adjustment processing section 410 and the right gain difference correction coefficient adjustment processing section 411 is performed by determining the amount of correction for the currently set correction coefficient. Update. For example, six types of correction amounts, such as ±0. 4%, ±0. 2%, and ±0. 1%, are used to calculate the difference between the sensor orientation Sam at the first time and the sensor orientation Sbn at the second time. When the GPS direction Gam at the first time is acquired and the GPS direction Gbn at the second time is compared, the cases are divided and the amount of positive change from the first time force to the second time is calculated. It is changed as needed based on the comparison result between the cumulative value and the cumulative value of the amount of negative change (the specific method of changing is explained in detail using flowcharts in FIGS. 22 to 26). This correction amount is changed by observing the magnitude of the positive and negative changes accumulated in the vehicle from the first time to the second time so that the gain value converges to a positive value. .
[0178] (実施例 2における方位算出の原理) [0178] (Principle of direction calculation in Example 2)
図 20は、実施例 2にかかる方位算出の原理を説明する図である。図 20に示した図 表 600において、横軸は時刻 tを表し、サンプリング周期 Tを縦線 (破線)で示してあ る。また、サンプリング周期 T間隔の図表 600の下部の上段には、サンプリング数(1 〜η)を、図表 600の下部の下段には、 0Τを開始時刻としたサンプリング時刻(0Τ〜 ηΤ)をそれぞれ示している。縦軸は加速度センサの出力範囲である 0V〜5Vをデジ タル値の単位 [LSB]で表す。たとえば、 12ビットの AZDコンバータの場合、 0V〜5 Vを 4096分割しているので、 1. 22mV/LSBになる。 FIG. 20 is a diagram illustrating the principle of azimuth calculation according to the second embodiment. In the diagram and table 600 shown in Figure 20, the horizontal axis represents time t, and the sampling period T is shown by the vertical line (dashed line). Ru. In addition, the upper row at the bottom of chart 600 for the sampling period T interval shows the number of samples (1 to η), and the lower row at the bottom of chart 600 shows the sampling time (0T to ηT) with 0T as the starting time. ing. The vertical axis represents the output range of the acceleration sensor, 0V to 5V, in the digital value unit [LSB]. For example, in the case of a 12-bit AZD converter, 0V to 5V is divided by 4096, resulting in 1.22mV/LSB.
[0179] 曲線 601は、実施例 1と同様に、たとえば、サンプリング周期 Tを 100 [ms]とした場 合、外付け 12ビット AZDコンバータで 100[ms]間に 20回(5ms間隔)の AZD変換 を行っている場合の出力値を表したものである。そして、上記(1)式を用いて、 100[ ms]間の平均化処理を行い、 100[ms]ごとに 100[ms]間の角速度センサの出力値 の AZD変換データの平均値 gynを表す。 [0179] Curve 601 is similar to Example 1. For example, when the sampling period T is 100 [ms], AZD is performed 20 times (at 5 ms intervals) in 100 [ms] using an external 12-bit AZD converter. It represents the output value when conversion is performed. Then, using the above formula (1), perform averaging processing for 100[ms], and every 100[ms] represents the average value gyn of the AZD conversion data of the output value of the angular velocity sensor for 100[ms]. .
[0180] また、角速度 ω ηは上記(2)式によって算出することができる。この角速度 ω ηを表 してしるのが図 20に示した方形線で示した範囲 602a、 602b, 602cと、方形線で示 した範囲 603a、 603bのそれぞれの 1サンプリング分にあたる。たとえば、方形線で 示した範囲 602aは 2サンプリング分を表し、範囲 602bは 3サンプリング分を表し、範 囲 602cは、 2サンプリング分を表し、範囲 603aは 4サンプリング分を表し、範囲 603b は 2サンプリング分を表す。 [0180] Further, the angular velocity ω η can be calculated using the above equation (2). This angular velocity ω η is represented by one sampling of each of the ranges 602a, 602b, 602c shown by the rectangular lines and the ranges 603a, 603b shown by the rectangular lines shown in FIG. For example, range 602a shown with square lines represents 2 samples, range 602b represents 3 samples, range 602c represents 2 samples, range 603a represents 4 samples, and range 603b represents 2 samples. represents minutes.
[0181] これら方形線で示した範囲全体のサンプリング時刻 1T時〜 nT時までを、順に 1サ ンプリングごとにサンプリング周期 Τで積分して、算出された各サンプリング時刻にお ける角度変位量 Δ Θ 81〜Δ 0 gnを各サンプリング時刻における前回のセンサ方位 Θ g0〜 Θ gn— 1に累積する。この処理を範囲全体のサンプリング回数分だけ順に行 つていくと、方形線で示した範囲全体力もセンサ方位 Θ gnが得られる。なお、方形線 で示した範囲 602a〜602cは正(右)の角度変位量を表し、範囲 603a〜603bは負 ( 左)の角度変位量を表す。 [0181] The angular displacement amount Δ Θ at each sampling time is calculated by integrating the sampling times 1T to nT in the entire range indicated by these rectangular lines in order over the sampling period T for each sampling. 8 1 to Δ 0 gn are accumulated to the previous sensor orientation Θ g0 to Θ gn— 1 at each sampling time. By repeating this process for the number of sampling times for the entire range, the sensor orientation Θ gn can also be obtained for the entire range force shown by the rectangular line. Note that the range 602a to 602c shown by the square line represents the positive (right) angular displacement amount, and the range 603a to 603b represents the negative (left) angular displacement amount.
[0182] 図 20に示したように、車両を移動させると、角速度センサ力もの出力値 (gyn— gyO )は、絶えず正負の値を示しながら変化する。したがって、本実施例ではたとえば、図 表 600に示した曲線 601がサンプリング数 k回連続して負の変化量が記録されると、 負の変化量の記録が開始されたサンプリング時刻 mTを検出する。また、サンプリン グ時刻 mTにおいて算出されたセンサ方位 Sam ( Θ 5)と GPS方位 Gam ( Θ 6)を GP S方位系で表した方位単位円 604に示す。図表 600の場合は、負の変化量が k回連 続して記録されていることから、左方向への角度変位量累積値を基準に右ゲイン差 の補正を行う。 [0182] As shown in FIG. 20, when the vehicle is moved, the output value (gyn-gyO) of the angular velocity sensor constantly changes while showing positive and negative values. Therefore, in this embodiment, for example, when a negative change amount is recorded in the curve 601 shown in FIG. . In addition, the sensor orientation Sam (Θ 5) and the GPS orientation Gam (Θ 6) calculated at the sampling time mT are expressed as GP Azimuth unit circle expressed in the S orientation system is shown in 604. In the case of chart 600, since the negative amount of change is recorded k times in a row, the right gain difference is corrected based on the cumulative value of the angular displacement amount to the left.
[0183] サンプリング時刻 mTから正の変化量の累積値と負の変化量の累積値とを比較する 際には、サンプリング周期 Tごとに正と負のそれぞれの変化量はリングバッファに累積 された累積値を用いる。実施例 2ではサンプリング時刻 mTにお ヽて算出されたセン サ方位 Sam ( Θ 5)と等しいセンサ方位が算出されるまで、サンプリング時刻 mTにお ける GPS方位 Gam ( Θ 6)を取得後、サンプリング周期 Tごとに GPS方位の取得と正 または負の変化量の累積リングバッファへの累積とを続ける。図表 600に示した例の ようにサンプリング時刻 mTにおけるセンサ方位 Samと等しくなつたセンサ方位が記 録されたサンプリング時刻 nTを検出している。つまり、サンプリング時刻 ηΤにおける センサ方位 Sbn( Θ 5)がセンサ方位 Sam ( Θ 5)と等しい値を示したことになる。また、 サンプリング時刻 nTを表す縦軸上に示したのは、サンプリング時刻 nTに算出された GPS方位 Gbn( Θ 7)とセンサ方位 Sbn ( Θ 5)を GPS方位系で示した方位単位円 60 5に示す。実施例 2では、まずサンプリング時刻 mTとサンプリング時刻 nTにおける G PS方位の Gam ( Θ 6)と Gbn( Θ 7)の比較を行い、その比較結果から Gamと Gbnの 大小の場合分けが行われる。次にそれらの場合分けの中で、サンプリング時刻 mTか らサンプリング時刻 nT間の正の変化量の累積値 Θ rn= (602b + 602c)と負の変化 量の累積値 I Θ In I = I (603a + 603b) |との比較を行い、その比較結果力 正 の変化量の累積値 0 rnが負の変化量の累積値 I 0 1η Iよりオーバーラン状態であ るかアンダーラン状態であるかを判断し、左右のゲイン差補正係数 G1ある ヽは Grの どちらか一方の補正量を決定する。 [0183] When comparing the cumulative values of positive and negative changes from sampling time mT, the positive and negative changes are accumulated in the ring buffer for each sampling period T. Use cumulative value. In Example 2, sampling is performed after obtaining the GPS bearing Gam (Θ 6) at the sampling time mT until a sensor bearing equal to the sensor bearing Sam (Θ 5) calculated at the sampling time mT is calculated. Acquisition of GPS direction and accumulation of positive or negative changes in the accumulation ring buffer are continued every cycle T. As in the example shown in Figure 600, sampling time nT is detected at which a sensor orientation that is equal to sensor orientation Sam at sampling time mT is recorded. In other words, the sensor orientation Sbn (Θ 5) at the sampling time ηΤ is equal to the sensor orientation Sam (Θ 5). Also, shown on the vertical axis representing the sampling time nT is the azimuth unit circle showing the GPS azimuth Gbn ( Θ 7) and the sensor azimuth Sbn ( Θ 5) calculated at the sampling time nT in the GPS azimuth system. Shown below. In Example 2, first, the GPS directions Gam (Θ 6) and Gbn (Θ 7) at the sampling time mT and the sampling time nT are compared, and based on the comparison results, the magnitude of Gam and Gbn is determined. Next, among these cases, the cumulative value of positive changes from sampling time mT to sampling time nT Θ rn= (602b + 602c) and the cumulative value of negative changes I Θ In I = I ( 603a + 603b) | and as a result of the comparison, whether the cumulative value of positive changes in force 0 rn is in an overrun or underrun state from the cumulative value of negative changes I 0 1η I Determine the amount of correction for either the left or right gain difference correction coefficient G1 or Gr.
[0184] (実施例 2における方位算出の処理手順) [0184] (Processing procedure for calculating direction in Example 2)
図 21は、実施例 2における補正係数設定処理の概要を示すフローチャートである。 これから説明する手順によって設定された補正係数を用いて方位算出部 313 (図 3 参照)によって方位を算出する。図 21に示したフローチャートにおいて、まずサンプリ ング周期 Tごとにセンサ方位および GPS方位を記録する (ステップ S 2001)。 FIG. 21 is a flowchart showing an overview of the correction coefficient setting process in the second embodiment. The direction calculation unit 313 (see FIG. 3) calculates the direction using the correction coefficient set by the procedure described below. In the flowchart shown in Figure 21, first, the sensor orientation and GPS orientation are recorded every sampling period T (step S 2001).
[0185] つぎに、サンプリング周期 Tごとにセンサ方位の正 (右)か負(左)のどちらか一方の 変化量(出力値≠0)および他方の変化量(出力値 =0)を累積記録する (ステップ S2 [0185] Next, at each sampling period T, either the positive (right) or negative (left) sensor orientation is Cumulatively record the amount of change (output value ≠ 0) and the other amount of change (output value = 0) (Step S2
002)。ここで、正の変化量とはセンサ方位の右出力値を表し、負の変化量とはセン サ方位の左出力値を表す。 002). Here, the positive amount of change represents the right output value of the sensor orientation, and the negative amount of change represents the left output value of the sensor orientation.
[0186] 続いて、ステップ S2002における処理において、正(右)か負(左)のどちらか一方 の変化量がサンプリング数 k回連続して記録された力否かを判断する (ステップ S200 [0186] Next, in the process in step S2002, it is determined whether the amount of change in either the positive (right) or negative (left) force has been continuously recorded k times of sampling (step S200
3)。ここで、正 (右)か負(左)のどちらか一方の変化量力 ¾回連続して記録されるのを 待って、記録された場合 (ステップ S2003 :Yes)は、正 (右)の変化量が連続して記 録された場合は左ゲイン差補正を行 ヽ、負(左)の変化量が連続して記録された場合 は右ゲイン差補正を行う(ステップ S 2004)、とともに、同じ曲折方向の連続した変化 量が開始されたサンプリング時刻 mTを検出する (ステップ S 2005)。 3). Here, wait for either the positive (right) or negative (left) change amount to be recorded ¾ times in a row, and if it is recorded (Step S2003: Yes), the positive (right) change is recorded. If the amount of change is recorded continuously, perform left gain difference correction. If negative (left) change amount is recorded continuously, perform right gain difference correction (Step S 2004). The sampling time mT at which the continuous change in the bending direction started is detected (Step S 2005).
[0187] 続いて、サンプリング時刻 mTからサンプリング周期 Tごとに正 (右)か負(左)のどち らか一方の変化量(出力値≠0)および他方の変化量(出力値 =0)を累積する (ステ ップ S2006)。つぎに、ステップ S2005においてサンプリング時刻 mTを検出した後、 サンプリング時刻 mTのセンサ方位と等しいセンサ方位を記録したカゝ否かを判断する (ステップ S2007)。ここで、サンプリング時刻 mTのセンサ方位と等しいセンサ方位が 記録されるのを待って、記録された場合 (ステップ S2007 :Yes)には、サンプリング時 刻 mTのセンサ方位と等 、センサ方位を記録したサンプリング時刻 nTを検出する( ステップ S 2008)。 [0187] Next, from the sampling time mT, at every sampling period T, either the positive (right) or negative (left) change amount (output value ≠ 0) and the other change amount (output value = 0) are calculated. Accumulate (step S2006). Next, after detecting sampling time mT in step S2005, it is determined whether a sensor orientation equal to the sensor orientation at sampling time mT has been recorded (step S2007). Here, wait until a sensor orientation equal to the sensor orientation at sampling time mT is recorded, and if it is recorded (step S2007: Yes), the sensor orientation is recorded equal to the sensor orientation at sampling time mT. Detect sampling time nT (step S 2008).
[0188] なお、サンプリング時刻 mTにおけるセンサ方位を Sam ( 0 5)、 GPS方位を Gam ( [0188] Note that the sensor orientation at sampling time mT is Sam ( 0 5), and the GPS orientation is Gam (
Θ 6)と表し、サンプリング時刻 nTにおけるセンサ方位を Sbn ( Θ 5)、 GPS方位を Gb η ( θ 7)と表す。また、サンプリング時刻 nTにおける正の変化量の累積値を Θ rn、負 の変化量の累積値を I 0 In Iと表す。 Θ 6), the sensor orientation at sampling time nT is represented by Sbn ( Θ 5), and the GPS orientation is represented by Gb η ( θ 7). Also, the cumulative value of positive changes at sampling time nT is expressed as Θ rn, and the cumulative value of negative changes is expressed as I 0 In I.
[0189] つぎに、サンプリング時刻 mTの GPS方位 Gam ( Θ 6)とサンプリング時刻 nTの GP S方位 Gbn( Θ 7)とを比較 (ステップ S 2009)し、サンプリング時刻 mT力もサンプリン グ時刻 nTまでの正の変化量の累積値 Θ rnと負の変化量の累積値 | Θ In |とを比較 する(ステップ S2010)。よって、ステップ S2009とステップ S2010が行われると、この 比較結果に基づ!/、て補正量を決定する (ステップ S 2011)。 [0189] Next, the GPS azimuth Gam (Θ 6) at sampling time mT is compared with the GPS azimuth Gbn (Θ 7) at sampling time nT (step S 2009), and the sampling time mT force is also calculated up to sampling time nT. The cumulative value of positive changes Θ rn and the cumulative value of negative changes | Θ In | are compared (step S2010). Therefore, after steps S2009 and S2010 are performed, the correction amount is determined based on the comparison result (step S2011).
[0190] 最後にステップ S 2011にお 、て決定した補正量を用いて補正係数である G1ある ヽ は Grのどちらか一方を調整 (ステップ S2012)し、一連の処理を終了する。以上説明 したように補正係数を更新する処理を繰り返すことで、補正係数は収束値に近づ ヽ ていく。 [0190] Finally, the correction coefficient G1 is calculated using the correction amount determined in step S 2011. adjusts either one of Gr (step S2012) and ends the series of processing. As explained above, by repeating the process of updating the correction coefficient, the correction coefficient approaches the converged value.
[0191] 図 22〜図 26は、実施例 2における補正係数設定処理の詳細な手順を示すフロー チャートである。図 22に示したフローチャートにおいて、まず、今回のサンプリング時 刻 nTでは、 GPS測位状態が三次元測位状態であるか否かを判断 (ステップ S1201) し、続いて、 GPS速度データが 30[kmZh]以上であるか否かの判断 (ステップ S12 02)し、車速パルス速度が 30 [kmZh]以上であるカゝ否かの判断を行う(ステップ S1 203)。 [0191] FIGS. 22 to 26 are flowcharts showing detailed procedures of the correction coefficient setting process in the second embodiment. In the flowchart shown in Figure 22, first, at the current sampling time nT, it is determined whether the GPS positioning state is a three-dimensional positioning state (step S1201), and then, the GPS speed data is determined to be 30 [kmZh]. It is determined whether the vehicle speed pulse speed is 30 [kmZh] or more (step S1 203).
[0192] 今回のサンプリング時刻 nTでは、ステップ S1201〜ステップ S1203における条件 をすベて満たしている場合 (ステップ S 1201〜ステップ S 1203 : Yes)は、続いて GP S方位の平均角度の変化量が 0. 3 [deg]以下である力否かを判断 (ステップ S 1204 )し、続いて、角速度センサの出力により算出された角速度 [degZs]の変位量である 角加速度が 0. 3 [deg/s · s]以下であるか否かを判断する (ステップ S 1205)。 [0192] At the current sampling time nT, if all the conditions in step S1201 to step S1203 are satisfied (step S1201 to step S1203: Yes), then the amount of change in the average angle of the GP S direction is It is determined whether the force is less than 0.3 [deg] (step S1204), and then the angular acceleration, which is the displacement amount of the angular velocity [degZs] calculated from the output of the angular velocity sensor, is 0.3 [deg/ s · s] or less (step S 1205).
[0193] 今回のサンプリング時刻 nTでは、ステップ S1201〜ステップ S1203の各ステップ にお 、て条件が当てはまらな!/、場合 (ステップ S 1201〜ステップ S 1203 : No)や、ス テツプ S 1204、ステップ S 1205の各ステップにお!/、て条件を満たした場合 (ステップ S1204、 SI 205 : Yes)は、いずれもステップ SI 206に移行し、正負の変ィ匕量(右左 出力値)累積リングバッファをすベてゼロクリア (ステップ S1206)にし、一連の処理を 終了する。 [0193] At the current sampling time nT, if the conditions do not apply in each step from step S1201 to step S1203 (step S1201 to step S1203: No), or if the condition does not apply to each step from step S1201 to step S1203, or if the condition does not apply to each step from step S1201 to step S1203, or if the condition does not apply to each step from step S1201 to step S1203, or if the condition does not apply to each step from step S1201 to step S1203 (step S1201 to step S1203: No), or from step S1204 to step S If the conditions are satisfied in each step of 1205 (step S1204, SI 205: Yes), the process moves to step SI 206, and the positive and negative change amount (right and left output values) cumulative ring buffer is stored. All are cleared to zero (step S1206) and the series of processing ends.
[0194] ステップ S 1204およびステップ S 1205における条件のどちらにも当てはまらな!/、場 合 (ステップ S1204、 SI 205 : No)は、つぎにステップ S1207の条件判定に移行し、 今回のサンプリング時刻 nTと、サンプリング時刻(m+k)Tとが等しいか否かを判断 する(ステップ S1207)。ここで、サンプリング時刻(m+k)Tとは、あるサンプリング時 刻 mTを開始時刻として、安定した所定のサンプリング数 k回分連続して、正か負のど ちらか一方の変化量が記録されたサンプリング時刻のことをいう。そして、ステップ S1 207の判断において、今回のサンプリング時刻 nTと、サンプリング時刻(m+k)丁と が等しい場合 (ステップ S 1207 : Yes)は、一連の処理を終了する。 [0195] 続いて、今回のサンプリング時刻 nTと、サンプリング時刻(m+k)Tとが等しくない 場合 (ステップ S 1207 : No)は、つぎに、今回のサンプリング時刻 nTにおけるセンサ 方位 Sbnと、サンプリング時刻 mTにおけるセンサ方位 Samとが等 Uヽか否かを判断 する(ステップ S1208)。ステップ S1208の判断において、今回のサンプリング時刻 n Tにおけるセンサ方位 Sbnと、サンプリング時刻 mTにおけるセンサ方位 Samとが等 しくな 、場合 (ステップ S 1208: No)は、一連の処理を終了する。 [0194] If neither of the conditions in Step S 1204 and Step S 1205 apply!/, (Step S1204, SI 205: No), the process moves to the condition determination in Step S1207, and the current sampling time nT It is determined whether or not and sampling time (m+k)T are equal (step S1207). Here, the sampling time (m+k)T is the time at which either positive or negative changes are recorded continuously for a stable predetermined number of samplings, starting from a certain sampling time mT. Refers to sampling time. Then, in the judgment at step S1 207, if the current sampling time nT and the sampling time (m+k)d are equal (step S1207: Yes), the series of processing ends. [0195] Next, if the current sampling time nT and the sampling time (m+k)T are not equal (Step S 1207: No), then the sensor orientation Sbn at the current sampling time nT and the sampling It is determined whether the sensor orientation Sam at time mT is equal to U (step S1208). If it is determined in step S1208 that the sensor orientation Sbn at the current sampling time nT is not equal to the sensor orientation Sam at the sampling time mT (step S1208: No), the series of processes ends.
[0196] 今回のサンプリング時刻 nTにおけるセンサ方位 Sbnと、サンプリング時刻 mTにお けるセンサ方位 Samとが等しい場合 (ステップ S 1208 : Yes)は、角速度の左右の検 出誤差 (ゲイン差)を補正するための処理へ移行するため、まず、サンプリング時刻 m Tにお 、てセンサ方位 Samを記録した時、右出力値が基準であった力否かを判断す る(ステップ S1209)。ステップ S1209は、安定した出力を確認した時の変化量が正( 右)であったか負(左)であつたかを確認し、左右どちらかの出力値を基準にして基準 と逆の曲折方向の補正係数の更新を行うかを判断するための処理である。 [0196] If the sensor orientation Sbn at the current sampling time nT is equal to the sensor orientation Sam at the sampling time mT (Step S 1208 : Yes), correct the left and right detection error (gain difference) of the angular velocity. In order to move on to the processing for this purpose, first, it is determined whether or not the right output value was the reference force when the sensor orientation Sam was recorded at the sampling time mT (step S1209). Step S1209 checks whether the amount of change when confirming stable output was positive (right) or negative (left), and corrects the bending direction opposite to the reference based on either the left or right output value. This is a process for determining whether to update coefficients.
[0197] ステップ S1209において、右出力値が基準でなかった場合 (ステップ S1209 :No) は、ステップ S1238 (図 25参照)の処理に移行し、サンプリング時刻 mTにおいてセ ンサ方位 Samを記録した時、左出力値が基準であった力否かを判断する (ステップ S 1238)。右出力値が基準であった場合 (ステップ S1209 : Yes)は、つぎに、今回の サンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方 位 Gamより小さいか否かを判断する(ステップ S1210)。 [0197] In step S1209, if the right output value is not the reference (step S1209: No), the process moves to step S1238 (see Figure 25), and when the sensor orientation Sam is recorded at sampling time mT, It is determined whether the left output value is the reference force or not (step S 1238). If the right output value is the reference (Step S1209: Yes), then it is determined whether the GPS bearing Gbn at the current sampling time nT is smaller than the GPS bearing Gam at the sampling time mT (Step S1210). .
[0198] 今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおけ る GPS方位 Gamより小さくない場合 (ステップ S1210 :No)は、ステップ S1224 (図 2 4参照)に移行し、今回のサンプリング時刻 nTにおける GPS方位 Gbnと、サンプリン グ時刻 mTにおける GPS方位 Gamとの大小関係を確認するための処理を行う。今回 のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS 方位 Gamより小さい場合 (ステップ S1210 : Yes)は、続いて今回のサンプリング時刻 nTにおいて累積リングバッファに記録された累積左出力値 I 0 1η | (負の出力であ るため、絶対値にして比較)が累積右出力値 Θ rnより小さ 、 (アンダーラン)か否かを 判断する (ステップ S1211)。このとき、累積右出力値 0 mおよび累積左出力値 I Θ In I は 0より大きいことが前提条件となる。なお、以降は累積右出力値 0 rnと、累積 左出力値 I 0 1η Iとの比較を行う判断においては、すべて 0より大きいことが前提条 件となる。この条件は、右折のみあるいは左折のみで 360° 回転して、 0 rnと I 0 1η Iを比較しないようにするためである。 [0198] If the GPS bearing Gbn at the current sampling time nT is not smaller than the GPS bearing Gam at the sampling time mT (step S1210: No), the process moves to step S1224 (see Figure 24), and the current sampling time Processing is performed to check the magnitude relationship between the GPS bearing Gbn at nT and the GPS bearing Gam at sampling time mT. If the GPS azimuth Gbn at the current sampling time nT is smaller than the GPS azimuth Gam at the sampling time mT (step S1210: Yes), then the cumulative left output value I 0 1η recorded in the cumulative ring buffer at the current sampling time nT is It is determined whether | (since it is a negative output, the absolute value is compared) is smaller than the cumulative right output value Θ rn (underrun) or not (step S1211). At this time, the cumulative right output value is 0 m and the cumulative left output value I Θ The precondition is that In I is greater than 0. Note that, from now on, in the judgment of comparing the cumulative right output value 0 rn and the cumulative left output value I 0 1η I, it is a prerequisite that they are all larger than 0. This condition is to avoid comparing 0 rn and I 0 1η I by rotating 360° only by turning right or only turning left.
[0199] ステップ S1211では、今回のサンプリング時刻 ηΤにおいて累積左出力値 I 0 In | が累積右出力値 Θ rnより小さくない場合 (ステップ S1211 :No)は、補正係数の更新 を行わないことから、一連の処理を終了する。今回のサンプリング時刻 nTにおいて累 積左出力値 I 0 1η Iが累積右出力値 0 rnより小さい (アンダーラン)場合 (ステップ S 1211 : Yes)は、図 23に示したフローチャートに移行し、まず、前回のサンプリング時 刻 n'Tにおいて累積左出力値 I 0 1η, Iが累積右出力値 0 rn'より大きい (オーバ 一ラン)力否かの判断 (ステップ S1212)と、前々回のサンプリング時刻 n' 'Tにおい て累積左出力値 I θ ΐη" Iが累積右出力値 θ πι"より大きい (オーバーラン)力否 かを判断する (ステップ S1213)。 [0199] In step S1211, if the cumulative left output value I 0 In | is not smaller than the cumulative right output value Θ rn at the current sampling time ηΤ (step S1211: No), the correction coefficient is not updated. Finish the series of processing. If the cumulative left output value I 0 1η I is smaller than the cumulative right output value 0 rn at the current sampling time nT (underrun) (step S 1211 : Yes), the process moves to the flowchart shown in FIG. 23, and first, At the previous sampling time n'T, the cumulative left output value I 0 1η, I is larger than the cumulative right output value 0 rn' (over one run) or not (step S1212), and the sampling time n' before the previous one is determined. At 'T, it is determined whether the cumulative left output value I θ ΐη" I is larger (overrun) than the cumulative right output value θ πι" (step S1213).
[0200] ステップ S1212では、前回のサンプリング時刻 n'Tにおいて累積左出力値 I Θ In' [0200] In step S1212, the cumulative left output value I Θ In' at the previous sampling time n'T
Iが累積右出力値 0 rn'より大きくない場合 (ステップ S1212 :No)は、つぎに前々 回のサンプリング時刻 n' 'Tにおいて累積左出力値 I 0 1η" Iが累積右出力値 0 r n"より大きくない場合 (ステップ S1213 :No)は、左右ゲイン差補正係数は発散状 態にあると判断し、収束発散状態フラグ =0と設定する (ステップ S1214)。したがつ て、補正量 α =0. 4%とセットされる(ステップ S1215)。 If I is not larger than the cumulative right output value 0 rn' (Step S1212: No), then the cumulative left output value I 0 1η" I is the cumulative right output value 0 r n at the sampling time n' 'T before the previous one. If it is not larger than "(Step S1213: No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag is set to 0 (Step S1214). Therefore, the correction amount α is set to 0.4% (step S1215).
[0201] ここで、フラグの説明を行う。フラグは、右ゲイン差補正時に用いる F Θ rと左ゲイン 差補正時に用いる F θ 1とでそれぞれ、今回のサンプリング時刻 nTにおける GPS方 位 Gbnとサンプリング時刻 mTにおける GPS方位 Gamの比較と、今回のサンプリング 時刻 nTにおいる累積右出力値 0 rnと累積左出力値 | 0 In |の比較とによって、そ れぞれ 2つに場合分けされ、初期状態は「0」にクリアされている。ここでもフラグは、 実施例 1の段落番号 0112〜0115で説明したような状態を表す。 [0201] Here, flags will be explained. The flags are F Θ r used for right gain difference correction and F θ 1 used for left gain difference correction, respectively. Based on the comparison between the cumulative right output value 0 rn and the cumulative left output value | 0 In | at sampling time nT, each case is divided into two cases, and the initial state is cleared to "0". Again, the flags represent the states described in paragraph numbers 0112 to 0115 of Example 1.
[0202] フローチャートの説明に戻りステップ S1212では、前回のサンプリング時刻 n'Tに おいて累積左出力値 I θ ΐη' Iが累積右出力値 θ πι'より大きい場合 (ステップ S12 12 : Yes)は、前回がオーバーラン状態となり、フラグ F 0 11 = 1と設定 (ステップ S121 8)し、ネ甫正量 α =0. 2%とセットされる(ステップ S 1219)。同様に、ステップ S1213 では、前々回のサンプリング時刻 n' ' Tにおいて累積左出力値 I 0 In' ' Iが累積右 出力値 0 rn,,より大き 、場合 (ステップ S 1213 : Yes)は、前々回がオーバーラン状 態となり、フラグ F Θ 11 = 0と設定 (ステップ S1216)し、補正量 α =0. 1%とセットされ る(ステップ S 1217)。 [0202] Returning to the explanation of the flowchart, in step S1212, if the cumulative left output value I θ ΐη' I is larger than the cumulative right output value θ πι' at the previous sampling time n'T (step S12 12 : Yes), , the previous time was in an overrun state, and the flag F 0 11 = 1 is set (step S121 8), and the negative amount α is set to 0.2% (step S 1219). Similarly, in step S1213, if the cumulative left output value I 0 In'' I is larger than the cumulative right output value 0 rn, at the sampling time n'' T of the previous two times (step S1213: Yes), then An overrun state occurs, and the flag F Θ 11 = 0 is set (step S1216), and the correction amount α is set to 0.1% (step S1217).
[0203] ステップ S1217またはステップ S 1219において補正量のセットが行われると、つぎ にフラグ F Θ rlまたはフラグ F Θ r2のうち少なくとも一つが「1」に設定されているか否 かを判断する(ステップ S 1220)。このステップにおける処理は左出力値が基準となり 、右ゲイン差の補正処理の結果における前回もしくは前々回の処理において、現在 の右ゲイン差補正係数 Grnは収束状態にあるカゝ否かの判断を行っており、前回もしく は前々回の処理にぉ 、て設定された上記 2つのフラグを参照する。 [0203] When the correction amount is set in step S1217 or step S1219, it is then determined whether at least one of the flag F Θ rl or the flag F Θ r2 is set to "1" (step S 1220). The processing in this step is based on the left output value, and it is determined whether or not the current right gain difference correction coefficient Grn is in a converged state in the previous or two previous processes based on the results of the right gain difference correction process. The above two flags set in the previous or two previous processes are referenced.
[0204] ステップ S1220において、フラグ F Θ rlまたはフラグ F Θ r2のうち少なくとも一つが「 1」の場合 (ステップ S 1220 : Yes)は、左右ゲイン差補正係数が収束状態であると判 断し、収束発散状態フラグ = 1と設定 (ステップ S 1221)し、ステップ S 1222の更新処 理に移行する。フラグ F Θ rlおよびフラグ F Θ r2が双方とも「0」の場合 (ステップ S 12 20 : No)は、ステップ S1221のフラグ設定を行わずに、ステップ S 1222の更新処理 に移行する。 [0204] In step S1220, if at least one of the flag F Θ rl or the flag F Θ r2 is “1” (step S 1220 : Yes), it is determined that the left and right gain difference correction coefficient is in a converged state, The convergence/divergence state flag is set to 1 (step S1221), and the process moves to the update process of step S1222. If the flag F Θ rl and the flag F Θ r2 are both “0” (step S 12 20 : No), the process moves to the update process of step S 1222 without setting the flag in step S 1221 .
[0205] 続、て、今回の左ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る左ゲイン差補正係数 Ginを、前回の左ゲイン差補正係数 Gin— 1から aだけ加算し た値 (ステップ S1222)とし、今回がアンダーラン状態であると判断 (ステップ S1223) し、一連の処理を終了する。 [0205] Next, in order to update the current left gain difference correction coefficient, the left gain difference correction coefficient Gin at sampling time nT is added by a from the previous left gain difference correction coefficient Gin− 1. value (step S1222), it is determined that this time is an underrun state (step S1223), and the series of processing ends.
[0206] つぎに、図 24に示したフローチャートを用いて、ステップ S 1210 (図 22参照)にお いて今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにお ける GPS方位 Gamより小さくな!/、場合 (ステップ S1210: No)の処理にっ 、て説明 する。まず、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Gamより大きいか否かを判断する(ステップ S 1224)。今回の サンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方 位 Gamより大きくない場合 (ステップ S1224 : No)は、一連の処理を終了する。 [0207] ステップ S1224において、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサ ンプリング時刻 mTにおける GPS方位 Gamより大き!/、場合 (ステップ S 1224: Yes)は 、今回のサンプリング時刻 nTにおいて、累積リングバッファに記録された累積左出力 値 I 0 1η Iが累積右出力値 0 rnより大きいか否かを判断する (ステップ S1225)。累 積左出力値 I 0 1η Iが累積右出力値 0 mより大きくない場合 (ステップ S1225 :No )は、一連の処理を終了する。 [0206] Next, using the flowchart shown in Figure 24, in step S1210 (see Figure 22), determine if the GPS bearing Gbn at the current sampling time nT is smaller than the GPS bearing Gam at the sampling time mT! /, the processing in case (step S1210: No) will be explained. First, it is determined whether the GPS bearing Gbn at the current sampling time nT is greater than the GPS bearing Gam at the sampling time mT (step S1224). If the GPS bearing Gbn at the current sampling time nT is not larger than the GPS bearing Gam at the sampling time mT (step S1224: No), the series of processes ends. [0207] In step S1224, if the GPS bearing Gbn at the current sampling time nT is greater than the GPS bearing Gam at the sampling time mT!/ (Step S1224: Yes), the cumulative ring buffer is set at the current sampling time nT. It is determined whether the cumulative left output value I 0 1η I recorded in is greater than the cumulative right output value 0 rn (step S1225). If the cumulative left output value I 0 1η I is not larger than the cumulative right output value 0 m (step S1225: No), the series of processing ends.
[0208] ステップ S1225では、今回のサンプリング時刻 nTにおいて累積左出力値 I 0 In | が累積右出力値 0 rnより大きい場合 (ステップ S1225 :Yes)は、続いて、前回のサン プリング時刻 n'Tにおいて累積左出力値 I 0 1η, Iが累積右出力値 0 rn'より小さい か否かの判断 (ステップ S 1226)と、前々回のサンプリング時刻 n' 'Tにおいて累積 左出力値 I 0 1η" Iが累積右出力値 0 rn"より小さいか否かを判断する (ステップ S1227)。 [0208] In step S1225, if the cumulative left output value I 0 In | is larger than the cumulative right output value 0 rn at the current sampling time nT (step S1225: Yes), then the previous sampling time n'T Judging whether or not the cumulative left output value I 0 1η, I is smaller than the cumulative right output value 0 rn' (step S 1226), and the cumulative left output value I 0 1η" I at the sampling time n' 'T before the previous time. is smaller than the cumulative right output value 0 rn" (step S1227).
[0209] 前回のサンプリング時刻 n'Tにおいて累積左出力値 I 0 In' Iが累積右出力値 0 rn,より小さくなく(ステップ S1226 :No)、前々回のサンプリング時刻 n, 'Tにおいて 累積左出力値 I 0 1η" Iが累積右出力値 0 m"より小さくない場合 (ステップ S12 27 : No)は、左右ゲイン差補正係数は発散状態にあると判断し、収束発散状態フラ グ =0と設定する (ステップ S 1228)。したがって、補正量 j8 =0. 4%とセットされる( ステップ S 1229)。 [0209] The cumulative left output value I 0 In' I at the previous sampling time n'T is not smaller than the cumulative right output value 0 rn (Step S1226: No), and the cumulative left output value at the sampling time n, 'T before the previous one is not smaller than the cumulative right output value 0 rn. If the value I 0 1η" I is not smaller than the cumulative right output value 0 m" (Step S12 27: No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag is set to 0. (Step S 1228). Therefore, the correction amount j8 is set to 0.4% (step S 1229).
[0210] ステップ S1226では、前回のサンプリング時刻 n'Tにおいて累積左出力値 I Θ In' [0210] In step S1226, the cumulative left output value I Θ In' at the previous sampling time n'T
Iが累積右出力値 0 rn'より小さい場合 (ステップ S1226 :Yes)は、前回がアンダー ラン状態となり、フラグ F Θ 12 = 1と設定 (ステップ S 1232)し、補正量 j8 =0. 2%とセ ットされる(ステップ S1233)。同様に、ステップ S1227では、前々回のサンプリング時 刻 n 'Tにおいて累積左出力値 I θ ΐη" Iが累積右出力値 0 rn"より小さい場合( ステップ S 1227 : Yes)は、前々回がアンダーラン状態となり、フラグ F Θ 12 = 0と設定 (ステップ S1230)し、補正量 j8 =0. 1%とセットされる(ステップ S1231)。 If I is smaller than the cumulative right output value 0 rn' (Step S1226: Yes), the previous time is an underrun condition, the flag F Θ 12 = 1 is set (Step S 1232), and the correction amount j8 =0. 2%. is set (step S1233). Similarly, in step S1227, if the cumulative left output value I θ ΐη" I is smaller than the cumulative right output value 0 rn" at the sampling time n 'T of the time before the previous one (step S 1227 : Yes), the previous time is in an underrun state. Therefore, the flag F Θ 12 = 0 is set (step S1230), and the correction amount j8 is set to 0.1% (step S1231).
[0211] ステップ S1231またはステップ S1233において補正量のセットが行われると、つぎ にフラグ F Θ rlまたはフラグ F Θ r2のうち少なくとの一つが「1」に設定されているか否 かを判断する(ステップ S1234)。このステップにおける処理は図 23のステップ S122 0と同じように左出力値が基準となり、右ゲイン差の補正処理の結果における前回も しくは前々回の処理において、現在の右ゲイン差補正係数 Grnは収束状態にあるか 否かの判断を行っており、前回もしくは前々回の処理において設定された上記 2つの フラグを参照する。 [0211] When the correction amount is set in step S1231 or step S1233, it is next determined whether at least one of the flag F Θ rl or the flag F Θ r2 is set to "1" ( step S1234). The processing in this step is shown in step S122 in Figure 23. As with 0, the left output value is used as the reference, and it is determined whether or not the current right gain difference correction coefficient Grn is in a converged state in the previous or two previous processes based on the results of right gain difference correction processing. The above two flags set in the previous or two previous processes are referenced.
[0212] ステップ S1234において、フラグ F Θ rlまたはフラグ F Θ r2のうち少なくとの一つが「 1」の場合 (ステップ S 1234 : Yes)は、左右ゲイン差補正係数が収束状態であると判 断し、収束発散状態フラグ = 1と設定 (ステップ S1235)し、ステップ S1236の更新処 理に移行する。フラグ F Θ rlおよびフラグ F Θ r2が双方とも「0」の場合 (ステップ S 12 34 : No)は、ステップ S 1235のフラグ設定を行わずに、ステップ S 1236の更新処理 に移行する。 [0212] In step S1234, if at least one of flag F Θ rl or flag F Θ r2 is “1” (step S 1234 : Yes), it is determined that the left and right gain difference correction coefficient is in a converged state. Then, the convergence/divergence state flag is set to 1 (step S1235), and the process moves to update processing in step S1236. If the flag F Θ rl and the flag F Θ r2 are both “0” (step S 1234 : No), the process moves to the update process of step S 1236 without setting the flag in step S 1235 .
[0213] 続、て、今回の左ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る左ゲイン差補正係数 Ginを、前回の左ゲイン差補正係数 Gin— 1から βだけ減算し た値 (ステップ S 1236)とし、今回がオーバーラン状態であると判断 (ステップ S 1237 )し、一連の処理を終了する。 [0213] Next, in order to update the current left gain difference correction coefficient, the left gain difference correction coefficient Gin at sampling time nT was subtracted by β from the previous left gain difference correction coefficient Gin−1. value (step S 1236), determines that this is an overrun state (step S 1237), and ends the series of processing.
[0214] つぎに、図 25に示したフローチャートの説明に移る。まず、ステップ S1209 (図 22 参照)において、サンプリング時刻 mTにおいてセンサ方位 Samを検出した際に、右 出力値が基準でな力つた場合 (ステップ S 1209 : No)の処理を説明する。まず、サン プリング時刻 mTにおいてセンサ方位 Samを検出した際に、左出力値が基準であつ た力否かを判断 (ステップ S 1238)する。左出力値が基準でな力つた場合 (ステップ S 1238 :No)は、一連の処理を終了する。 [0214] Next, the flowchart shown in FIG. 25 will be explained. First, in step S1209 (see FIG. 22), when the sensor orientation Sam is detected at the sampling time mT, the processing will be explained when the right output value is lower than the reference value (step S1209: No). First, when sensor orientation Sam is detected at sampling time mT, it is determined whether the left output value is a reference force or not (step S1238). If the left output value exceeds the reference value (step S1238: No), the series of processing ends.
[0215] ステップ S1238において、左出力値が基準であった場合 (ステップ S 1238 : Yes) は、つぎに、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Gamより小さいか否かを判断する(ステップ S 1239)。今回の サンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方 位 Gamより小さくない場合 (ステップ S1239 :No)は、ステップ S1253 (図 26参照)の 処理に移行する。 [0215] In step S1238, if the left output value is the reference (step S1238: Yes), next, determine whether the GPS bearing Gbn at the current sampling time nT is smaller than the GPS bearing Gam at the sampling time mT. (Step S 1239). If the GPS bearing Gbn at the current sampling time nT is not smaller than the GPS bearing Gam at the sampling time mT (step S1239: No), the process moves to step S1253 (see Figure 26).
[0216] ステップ S1239において、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサ ンプリング時刻 mTにおける GPS方位 Gamより小さい場合 (ステップ S 1239 : Yes)は 、続いて、今回のサンプリング時刻 nTにおいてリングバッファに記録された累積右出 力値 0 rnが累積左出力値 I 0 1n | (負の出力であるため、絶対値にして比較)より 大きいか否かを判断する(ステップ S1240)。ステップ S1240において、累積右出力 値 0 rnが累積左出力値 I 0 1η Iより大きくない場合 (ステップ S1240 :No)は、一連 の処理を終了する。 [0216] In step S1239, if the GPS bearing Gbn at the current sampling time nT is smaller than the GPS bearing Gam at the sampling time mT (Step S1239: Yes), Then, it is determined whether the cumulative right output value 0 rn recorded in the ring buffer at the current sampling time nT is greater than the cumulative left output value I 0 1n | (since it is a negative output, it is compared as an absolute value). (Step S1240). In step S1240, if the cumulative right output value 0 rn is not larger than the cumulative left output value I 0 1η I (step S1240: No), the series of processes ends.
[0217] ステップ S1240では、今回のサンプリング時刻 nTにおいて累積右出力値 Θ rnが 累積左出力値 I 0 1η Iより大きい場合 (ステップ S1240 :Yes)は、続いて、前回の サンプリング時刻 n,Tにおいて累積右出力値 0 rn,が累積左出力値 I 0 ln, |より 小さいか否かの判断 (ステップ S1241)と、前々回のサンプリング時刻 n,,Tにおいて 累積右出力値 0 rn"が累積左出力値 I 0 1η" |より小さいか否かの判断を行う (ス テツプ S 1242)。 [0217] In step S1240, if the cumulative right output value Θ rn is larger than the cumulative left output value I 0 1η I at the current sampling time nT (step S1240: Yes), then at the previous sampling time n,T Judging whether the cumulative right output value 0 rn is smaller than the cumulative left output value I 0 ln, | (step S1241), and determining whether the cumulative right output value 0 rn is smaller than the cumulative left output value I 0 ln, | at the sampling time n,,T before the previous time. Determine whether it is smaller than the value I 0 1η" | (Step S 1242).
[0218] 前回のサンプリング時刻 η'Τにおいて累積右出力値 Θ rn'が累積左出力値 | Θ In , Iより小さくなく(ステップ S 1241: No)、前々回のサンプリング時刻 n,,Tにおいて 累積右出力値 0 rn"が累積左出力値 I 0 1η" |より小さくない場合 (ステップ S12 42 : No)は、左右ゲイン差補正係数は発散状態にあると判断し、収束発散状態フラ グ =0と設定する (ステップ S 1243)。したがって、補正量 α =0. 4%とセットされる( ステップ S 1244)。 [0218] The cumulative right output value Θ rn' at the previous sampling time η'Τ is not smaller than the cumulative left output value | Θ In , I (Step S 1241: No), and the cumulative right output value at the sampling time n,,T before the previous If the output value 0 rn" is not smaller than the cumulative left output value I 0 1η" | (Step S12 42: No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag =0. Set (Step S 1243). Therefore, the correction amount α is set to 0.4% (step S 1244).
[0219] ステップ S1241では、前回のサンプリング時刻 η,Τにおいて累積右出力値 Θ rn' が累積左出力値 I θ ΐη' Iより小さい場合 (ステップ S1241 : Yes)は、前回がアンダ 一ラン状態となり、フラグ F Θ rl = lと設定 (ステップ S1247)し、補正量 α =0. 2%と セットされる(ステップ S 1248)。同様に、ステップ S1242では、前々回のサンプリング 時刻 η 'Τにおいて累積右出力値 0 rn"が累積左出力値 I Θ In" |より小さい場 合 (ステップ S 1242 : Yes)は、前々回がアンダーラン状態となり、フラグ F 0 rl = 0と 設定 (ステップ S 1245)し、補正量 α =0. 1%とセットされる(ステップ S1246)。 [0219] In step S1241, if the cumulative right output value Θ rn' is smaller than the cumulative left output value I θ ΐη' I at the previous sampling time η, Τ (step S1241: Yes), the previous one is in an under-run state. , the flag F Θ rl = l is set (step S1247), and the correction amount α =0.2% (step S1248). Similarly, in step S1242, if the cumulative right output value 0 rn" is smaller than the cumulative left output value I Θ In" | at the sampling time η 'Τ of the previous sampling time (step S 1242 : Yes), the sampling time η 'Τ of the previous sampling is in an underrun state. Therefore, the flag F 0 rl = 0 is set (step S1245), and the correction amount α is set to 0.1% (step S1246).
[0220] ステップ SI 246またはステップ SI 248において補正量のセットが行われると、つぎ にフラグ F Θ 11またはフラグ F Θ 12のうち少なくとも一つが「1」に設定されているか否 かを判断する(ステップ S1249)。このステップにおける処理は右出力値が基準となり 、左ゲイン差の補正処理の結果における前回もしくは前々回の処理において、現在 の左ゲイン差補正係数 Ginは収束状態にある否かの判断を行っており、前回もしくは 前々回の処理にお 、て設定された上記 2つのフラグを参照する。 [0220] When the correction amount is set in step SI 246 or step SI 248, it is next determined whether at least one of flag F Θ 11 or flag F Θ 12 is set to “1” ( step S1249). The processing in this step is based on the right output value, and the current The left gain difference correction coefficient Gin determines whether or not the convergence state is reached, and refers to the above two flags set in the previous or two previous processes.
[0221] ステップ S1249において、フラグ F Θ 11またはフラグ F Θ 12のうち少なくとも一つが「 [0221] In step S1249, at least one of flag F Θ 11 or flag F Θ 12 is set to “
1」の場合 (ステップ S 1249 : Yes)は、左右ゲイン差補正係数が収束状態であると判 断し、収束発散状態フラグ = 1と設定 (ステップ S 1250)し、ステップ S 1251の更新処 理に移行する。フラグ F Θ 11およびフラグ F Θ 12が双方とも「0」の場合 (ステップ S 124 9 : No)は、ステップ S1250のフラグ設定を行わずに、ステップ S1251の更新処理に 移行する。 1" (Step S1249: Yes), it is determined that the left and right gain difference correction coefficients are in a converged state, the convergence-divergence state flag is set to 1 (Step S1250), and the update process in Step S1251 is performed. to move to. If the flag F Θ 11 and the flag F Θ 12 are both “0” (step S 124 9 : No), the process moves to the update process of step S 1251 without setting the flag in step S 1250 .
[0222] 続、て、今回の右ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る右ゲイン差補正係数 Gmを、前回の右ゲイン差補正係数 Gm— 1から aだけ減算 した値 (ステップ S 1251)とし、今回がオーバーラン状態であると判断 (ステップ S 125 2)し、一連の処理を終了する。 [0222] Next, in order to update the current right gain difference correction coefficient, the right gain difference correction coefficient Gm at sampling time nT is subtracted by a from the previous right gain difference correction coefficient Gm− 1. (Step S1251), determines that this time is an overrun state (Step S1252), and ends the series of processing.
[0223] 最後に、図 26に示したフローチャートを用いて、ステップ S1239 (図 25参照)にお いて今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにお ける GPS方位 Gamより小さくない場合の(ステップ S 1239 : No)の処理について説明 する。まず、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方位 Gamより大きいか否かを判断する(ステップ S 1253)。今回の サンプリング時刻 nTにおける GPS方位 Gbnがサンプリング時刻 mTにおける GPS方 位 Gamより大きくない場合 (ステップ S1253 : No)は、一連の処理を終了する。 [0223] Finally, using the flowchart shown in Figure 26, in step S1239 (see Figure 25), calculate the case where the GPS bearing Gbn at the current sampling time nT is not smaller than the GPS bearing Gam at the sampling time mT. (Step S1239: No) will be explained below. First, it is determined whether the GPS bearing Gbn at the current sampling time nT is greater than the GPS bearing Gam at the sampling time mT (step S1253). If the GPS bearing Gbn at the current sampling time nT is not larger than the GPS bearing Gam at the sampling time mT (step S1253: No), the series of processes ends.
[0224] ステップ S1253において、今回のサンプリング時刻 nTにおける GPS方位 Gbnがサ ンプリング時刻 mTにおける GPS方位 Gamより大きい場合 (ステップ S1253 : Yes)は 、今回のサンプリング時刻 nTにおいて、リングバッファに記録された累積右出力値 Θ rnが累積左出力値 I 0 1η Iより小さいか否かを判断する (ステップ S 1254)。今回の サンプリング時刻 nTにおいて、累積右出力値 0 rnが累積左出力値 | 0 In |より小 さくない場合 (ステップ S 1254 : No)は、一連の処理を終了する。 [0224] In step S1253, if the GPS bearing Gbn at the current sampling time nT is larger than the GPS bearing Gam at the sampling time mT (Step S1253: Yes), the cumulative amount recorded in the ring buffer at the current sampling time nT is It is determined whether the right output value Θ rn is smaller than the cumulative left output value I 0 1η I (step S 1254). If the cumulative right output value 0 rn is not smaller than the cumulative left output value | 0 In | at the current sampling time nT (step S 1254 : No), the series of processes ends.
[0225] ステップ S1254では、今回のサンプリング時刻 nTにおいて累積右出力値 Θ rnが 累積左出力値 I 0 1η Iより小さい場合 (ステップ S1254 : Yes)は、続いて、前回のサ ンプリング時刻 n,Tにおいて累積右出力値 0 rn,が累積左出力値 I 0 ln, |より大き いか否かの判断 (ステップ S1255)と、前々回のサンプリング時刻 n' 'Tにおいて累積 右出力値 0 rn"が累積左出力値 I 0 1η" |より大きいか否かの判断とを行う(ステ ップ S 1256)。 [0225] In step S1254, if the cumulative right output value Θ rn is smaller than the cumulative left output value I 0 1η I at the current sampling time nT (step S1254: Yes), then the previous sampling time n, T , the cumulative right output value 0 rn, is larger than the cumulative left output value I 0 ln, | (step S1255) and whether the cumulative right output value 0 rn" is larger than the cumulative left output value I 0 1η" | at the sampling time n''T before the previous time (step S1255). Pu S 1256).
[0226] 前回のサンプリング時刻 η'Τにおいて累積右出力値 Θ rn,が累積左出力値 | Θ In , Iより大きくなく(ステップ S1255 :No)、前々回のサンプリング時刻 n,,Tにおいて 累積右出力値 0 rn"が累積左出力値 I 0 1η" |より大きくない場合 (ステップ S12 56 : No)は、左右ゲイン差補正係数は発散状態にあると判断し、収束発散状態フラ グ =0と設定する (ステップ S 1257)。したがって、補正量 j8 =0. 4%とセットされる( ステップ S 1258)。 [0226] The cumulative right output value Θ rn, at the previous sampling time η'Τ is not greater than the cumulative left output value | Θ In , I (Step S1255: No), and the cumulative right output value at the sampling time n,,T before the previous one. If the value 0 rn" is not larger than the cumulative left output value I 0 1η" | (Step S12 56: No), it is determined that the left and right gain difference correction coefficients are in a divergent state, and the convergence-divergence state flag is set to 0. (Step S 1257). Therefore, the correction amount j8 is set to 0.4% (step S 1258).
[0227] ステップ S1255では、前回のサンプリング時刻 n,Tにおいて累積右出力値 Θ rn, が累積左出力値 I 0 1n, Iより大きい場合 (ステップ S1255 : Yes)は、前回がオーバ 一ラン状態となり、フラグ F Θ r2 = 1と設定 (ステップ S 1261)し、補正量 j8 =0. 2%と セットされる(ステップ S1262)。同様に、ステップ S1256では、前々回のサンプリング 時刻 n 'Tにおいて累積右出力値 0 m"が累積左出力値 I 0 1η" |より大きい場 合 (ステップ S 1256 : Yes)は、前々回がオーバーラン状態となり、フラグ F 0 r2 = 0と 設定 (ステップ S1259)し、補正量 j8 =0. 1%とセットされる(ステップ S1260)。 [0227] In step S1255, if the cumulative right output value Θ rn, is larger than the cumulative left output value I 0 1n, I at the previous sampling time n, T (step S1255: Yes), the previous one is in an overrun state. , the flag FΘ r2 = 1 is set (step S1261), and the correction amount j8 is set to 0.2% (step S1262). Similarly, in step S1256, if the cumulative right output value 0 m" is larger than the cumulative left output value I 0 1η" | at the sampling time n 'T of the previous sampling time (step S 1256 : Yes), the sampling time n 'T of the previous sampling is in an overrun state. Therefore, the flag F 0 r2 = 0 is set (step S1259), and the correction amount j8 is set to 0.1% (step S1260).
[0228] ステップ S1260またはステップ S1262において補正量のセットが行われると、つぎ にフラグ F Θ 11またはフラグ F Θ 12のうち少なくとも一つが「1」に設定されているか否 かを判断する(ステップ S1263)。このステップにおける処理は図 25のステップ S124 9と同じように右出力値が基準となり、左ゲイン差の補正処理の結果における前回も しくは前々回の処理において、現在の左ゲイン差補正係数 Ginは収束状態にあるか 否かの判断を行っており、前回もしくは前々回の処理において設定された上記 2つの フラグを参照する。 [0228] When the correction amount is set in step S1260 or step S1262, it is next determined whether at least one of flag F Θ 11 or flag F Θ 12 is set to "1" (step S1263 ). The processing in this step is based on the right output value, as in step S124 9 in Figure 25, and the current left gain difference correction coefficient Gin has converged in the previous or two previous processing as a result of the left gain difference correction processing. It judges whether or not it is in the current state, and refers to the above two flags that were set in the previous or two previous processes.
[0229] ステップ S 1263において、フラグ F Θ 11またはフラグ F Θ 12のうち少なくとも一つが「 1」の場合 (ステップ S1263 :Yes)は、左右ゲイン差補正係数が収束状態であると判 断し、収束発散状態フラグ = 1と設定 (ステップ S 1264)し、ステップ S1265の更新処 理に移行する。フラグ F Θ 11およびフラグ F Θ 12が双方とも「0」の場合 (ステップ S 126 3 : No)は、ステップ S 1264のフラグ設定を行わずに、ステップ S 1265の更新処理に 移行する。 [0229] In step S1263, if at least one of flag F Θ 11 or flag F Θ 12 is "1" (step S1263: Yes), it is determined that the left and right gain difference correction coefficient is in a converged state, The convergence/divergence state flag is set to 1 (step S1264), and the process moves to the update process of step S1265. If flag F Θ 11 and flag F Θ 12 are both “0” (step S 126 3 : No), the update processing in step S 1265 is performed without setting the flag in step S 1264. Transition.
[0230] 続、て、今回の右ゲイン差補正係数の更新を行うため、サンプリング時刻 nTにおけ る右ゲイン差補正係数 Grnを、前回の右ゲイン差補正係数 Grn— 1から βだけ加算 した値 (ステップ S 1265)とし、今回がアンダーラン状態であると判断 (ステップ S126 6)し、一連の処理を終了する。 [0230] Next, in order to update the current right gain difference correction coefficient, the right gain difference correction coefficient Grn at sampling time nT is the value obtained by adding β from the previous right gain difference correction coefficient Grn−1. (Step S1265), determines that this time is an underrun state (Step S1266), and ends the series of processing.
[0231] 以上説明したような処理によって、現在の更新された左右ゲイン差 (感度差)補正 係数 Ginあるいは Grnのどちらか一方を用いることによって、角速度センサの検出誤 差が除去された補正後のセンサ方位を算出することができる。ここでいう検出誤差と は先ほど定義したように、車両の曲折方向の違いによって、角速度センサのゲイン差 (感度差)による検出誤差である。実施例 2も実施例 1と同様に、高精度に検出誤差 が算出されるため、現在のオーバーラン状態またはアンダーラン状態が正確に補正 係数の設定に反映される。したがって、左右ゲイン差による誤差補正を高精度かつ 自動的に行うことができ、正確なセンサ方位と単位時間あたりの走行距離が得られ、 車両を正確にナビゲートすることができる。 [0231] Through the processing described above, by using either the currently updated left/right gain difference (sensitivity difference) correction coefficient Gin or Grn, the detection error of the angular velocity sensor is removed. Sensor orientation can be calculated. As defined earlier, the detection error referred to here is the detection error due to the gain difference (sensitivity difference) of the angular velocity sensor due to the difference in the turning direction of the vehicle. In the second embodiment, as in the first embodiment, the detection error is calculated with high precision, so the current overrun state or underrun state is accurately reflected in the setting of the correction coefficient. Therefore, error correction due to the left and right gain difference can be performed automatically and with high precision, and accurate sensor orientation and travel distance per unit time can be obtained, allowing accurate navigation of the vehicle.
[0232] また、より好適な実施例として、実施例 1および実施例 2とを同時に行うとよい。同一 のナビゲーシヨン装置 300内で実施例 1および実施例 2による誤差補正を行うことで、 車両をより正確にナビゲートすることができる。 [0232] Furthermore, as a more preferred example, Example 1 and Example 2 may be performed simultaneously. By performing the error correction according to the first embodiment and the second embodiment within the same navigation device 300, it is possible to more accurately navigate the vehicle.
[0233] なお、本実施の形態で説明した方位算出法は、あら力じめ用意されたプログラムを パーソナル.コンピュータやワークステーション等のコンピュータで実行することにより 実現することができる。このプログラムは、ハードディスク、フレキシブルディスク、 CD -ROM, MO、 DVD等のコンピュータで読み取り可能な記録媒体に記録され、コン ピュータによって記録媒体力も読み出されることによって実行される。またこのプログ ラムは、インターネット等のネットワークを介して配布することが可能な伝送媒体であ つてもよい。 [0233] Note that the direction calculation method described in this embodiment can be realized by executing a previously prepared program on a computer such as a personal computer or a workstation. This program is recorded on a computer-readable recording medium such as a hard disk, flexible disk, CD-ROM, MO, DVD, etc., and is executed by reading the recording medium by the computer. Furthermore, this program may be a transmission medium that can be distributed via a network such as the Internet.

Claims

請求の範囲 The scope of the claims
[1] 角速度センサの出力値を用いてセンサ方位を算出するとともに、 GPS信号に基づ いて GPS方位を算出する方位算出手段と、 [1] An azimuth calculation means that calculates a sensor azimuth using an output value of an angular velocity sensor and also calculates a GPS azimuth based on a GPS signal;
前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所定の 基準値よりも大きい値 (正の変化量)と、小さい値 (負の変化量)としてそれぞれ記録 する記録手段と、 a recording means for recording the amount of change in the output value of the angular velocity sensor as a value larger (positive amount of change) and a value smaller (negative amount of change) than a predetermined reference value at each predetermined sampling period;
前記記録手段における前記サンプリング周期を基準に所定の条件を満たす 2つの サンプリング時刻を検出する検出手段と、 detection means for detecting two sampling times that satisfy a predetermined condition based on the sampling period in the recording means;
前記検出手段によって検出された 2つのサンプリング時刻における、前記方位算出 手段によって算出した前記センサ方位の値の比較または、前記記録手段によって記 録した正および負の変化量の累積値の比較のいずれか一つ以上を行う比較手段と 前記比較手段における比較結果に基づいて、前記センサ方位の検出誤差を補正 する補正量を決定する補正量決定手段と、 Comparison of the values of the sensor orientation calculated by the orientation calculation means at two sampling times detected by the detection means, or comparison of cumulative values of positive and negative changes recorded by the recording means. Comparison means for performing one or more of the following: a correction amount determining means for determining a correction amount for correcting the detection error of the sensor orientation based on the comparison result of the comparison means;
前記補正量決定手段によって決定された前記補正量を用いて、前記方位算出手 段によって算出されたセンサ方位の検出誤差を補正した補正方位として算出する補 正方位算出手段と、 Correction azimuth calculation means for calculating a correction azimuth in which a detection error of the sensor azimuth calculated by the azimuth calculation means is corrected using the correction amount determined by the correction amount determination means;
を備えることを特徴とする方位算出装置。 An azimuth calculation device comprising:
[2] 角速度センサの出力値を用いてセンサ方位を算出するとともに、 GPS信号に基づ いて GPS方位を算出する方位算出手段と、 [2] An azimuth calculation means that calculates the sensor azimuth using the output value of the angular velocity sensor and also calculates the GPS azimuth based on the GPS signal;
前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所定の 基準値よりも大きい値 (正の変化量)と、小さい値 (負の変化量)としてそれぞれ記録 する記録手段と、 a recording means for recording the amount of change in the output value of the angular velocity sensor as a value larger (positive amount of change) and a value smaller (negative amount of change) than a predetermined reference value at each predetermined sampling period;
前記記録手段によって正または負の変化量が所定のサンプリング回数連続して記 録された際に、当該記録が開始されたサンプリング時刻 (第 1の時刻)を検出するとと もに、当該第 1の時刻から前記記録手段によって記録された正の変化量を蓄積した 値 (正の累積値)と、負の変化量を蓄積した値 (負の累積値)との比較を行い、前記正 の累積値と前記負の累積値とが等しくなつたサンプリング時刻 (第 2の時刻)を検出す る検出手段と、 When a positive or negative amount of change is continuously recorded a predetermined number of sampling times by the recording means, the sampling time (first time) at which the recording started is detected, and the first time is detected. A value obtained by accumulating the amount of positive change recorded by the recording means from time (positive cumulative value) is compared with a value obtained by accumulating the amount of negative change (negative cumulative value), and the positive cumulative value is determined. Detect the sampling time (second time) when and the negative cumulative value become equal. detection means,
前記検出手段によって検出された第 1の時刻における GPS方位の値と、前記第 2 の時刻における GPS方位の値とを比較するとともに、第 1の時刻におけるセンサ方位 の値と、前記第 2の時刻におけるセンサ方位の値とを比較する比較手段と、 The value of the GPS direction detected by the detection means at the first time and the value of the GPS direction at the second time are compared, and the value of the sensor direction at the first time and the value of the sensor direction at the second time are compared. a comparison means for comparing the value of the sensor orientation at
前記比較手段による比較結果に基づ!/、て、前記記録手段によって連続して記録さ れた変化量に対応する方向を基準として前記センサ方位の検出誤差を補正する補 正量を決定する補正量決定手段と、 Based on the comparison result by the comparison means, a correction amount for correcting the detection error of the sensor orientation is determined based on the direction corresponding to the amount of change continuously recorded by the recording means. A quantity determining means,
前記補正量決定手段によって決定された前記補正量を用いて、前記方位算出手 段によって算出されたセンサ方位の検出誤差を補正した補正方位として算出する補 正方位算出手段と、 Correction azimuth calculation means for calculating a correction azimuth in which a detection error of the sensor azimuth calculated by the azimuth calculation means is corrected using the correction amount determined by the correction amount determination means;
を備えることを特徴とする方位算出装置。 An azimuth calculation device comprising:
[3] 前記補正量決定手段は、前記補正量を決定する際に、前回の補正量決定に用い たセンサ方位の値の比較結果、および前々回の補正量決定に用いたセンサ方位の 値の比較結果を基に、前記補正量が収束するように前記補正量を調整することを特 徴とする請求項 2に記載の方位算出装置。 [3] When determining the correction amount, the correction amount determining means compares the results of comparing the sensor orientation values used in the previous correction amount determination and the sensor orientation values used in the previous correction amount determination. The azimuth calculation device according to claim 2, wherein the correction amount is adjusted based on the result so that the correction amount converges.
[4] 角速度センサの出力値を用いてセンサ方位を算出するとともに、 GPS信号に基づ いて GPS方位を算出する方位算出手段と、 [4] An azimuth calculation means that calculates a sensor azimuth using the output value of the angular velocity sensor and also calculates a GPS azimuth based on a GPS signal;
前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所定の 基準値よりも大きい値 (正の変化量)と、小さい値 (負の変化量)としてそれぞれ記録 する記録手段と、 a recording means for recording the amount of change in the output value of the angular velocity sensor as a value larger (positive amount of change) and a value smaller (negative amount of change) than a predetermined reference value at each predetermined sampling period;
前記記録手段によって正の変化量または負の変化量が所定のサンプリング回数連 続して記録された際に、当該記録が開始されたサンプリング時刻(第 1の時刻)を検 出するとともに、前記方位算出手段において、前記第 1の時刻におけるセンサ方位と 等しいセンサ方位が算出されたサンプリング時刻(第 2の時刻)を検出する検出手段 と、 When the recording means records a positive amount of change or a negative amount of change consecutively for a predetermined number of sampling times, the sampling time (first time) at which the recording was started is detected, and the direction is detected. In the calculation means, a detection means for detecting a sampling time (second time) at which a sensor orientation equal to the sensor orientation at the first time is calculated;
前記検出手段によって検出された第 1の時刻における GPS方位の値と、前記第 2 の時刻における GPS方位の値とを比較するとともに、第 1の時刻から第 2の時刻まで の間の前記正の変化量を蓄積した値 (正の累積値)と、負の変化量を蓄積した値 (負 の累積値)とを比較する比較手段と、 The value of the GPS direction detected by the detection means at the first time and the value of the GPS direction at the second time are compared, and the positive value between the first time and the second time is determined. The value that accumulates the amount of change (positive cumulative value) and the value that accumulates the amount of negative change (negative cumulative value) a comparison means for comparing the cumulative value of
前記比較手段による比較結果に基づ!/、て、前記記録手段によって連続して記録さ れた変化量に対応する方向を基準として前記センサ方位の検出誤差を補正する補 正量を決定する補正量決定手段と、 Based on the comparison result by the comparison means, a correction amount for correcting the detection error of the sensor orientation is determined based on the direction corresponding to the amount of change continuously recorded by the recording means. A quantity determining means,
前記補正量決定手段によって決定された前記補正量を用いて、前記方位算出手 段によって算出されたセンサ方位の検出誤差を補正した補正方位として算出する補 正方位算出手段と、 Correction azimuth calculation means for calculating a correction azimuth in which a detection error of the sensor azimuth calculated by the azimuth calculation means is corrected using the correction amount determined by the correction amount determination means;
を備えることを特徴とする方位算出装置。 An azimuth calculation device comprising:
[5] 前記補正量決定手段は、前記補正量を決定する際に、前回の補正量設定に用い た前記第 1の時刻から第 2の時刻までの間の前記正の累積値と前記負の累積値との 比較結果、および前々回の補正量選択に用いた前記第 1の時刻から第 2の時刻まで の間の前記正の累積値と前記負の累積値との比較結果を基に、前記補正量が収束 するように前記補正量を調整することを特徴とする請求項 4に記載の方位算出装置。 [5] When determining the correction amount, the correction amount determining means calculates the positive cumulative value from the first time to the second time used for setting the previous correction amount and the negative cumulative value. Based on the comparison result with the cumulative value and the comparison result between the positive cumulative value and the negative cumulative value between the first time and the second time used for selecting the correction amount two times before, 5. The direction calculation device according to claim 4, wherein the correction amount is adjusted so that the correction amount converges.
[6] 前記記録手段は、リングバッファを用いることを特徴とする請求項 1〜5のいずれか 一つに記載の方位算出装置。 [6] The azimuth calculation device according to any one of claims 1 to 5, wherein the recording means uses a ring buffer.
[7] 角速度センサの出力値を用いてセンサ方位を算出するとともに、 GPS信号に基づ いて GPS方位を算出する方位算出工程と、 [7] An azimuth calculation step that calculates the sensor azimuth using the output value of the angular velocity sensor and also calculates the GPS azimuth based on the GPS signal;
前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所定の 基準値よりも大きい値 (正の変化量)と、小さい値 (負の変化量)としてそれぞれ記録 する記録工程と、 a recording step of recording the amount of change in the output value of the angular velocity sensor as a value larger (positive amount of change) and a value smaller (negative amount of change) than a predetermined reference value at each predetermined sampling period;
前記記録工程における前記サンプリング周期を基準に所定の条件を満たす 2つの サンプリング時刻を検出する検出工程と、 a detection step of detecting two sampling times that satisfy a predetermined condition based on the sampling period in the recording step;
前記検出工程によって検出された 2つのサンプリング時刻における、前記方位算出 手段によって算出した方位の値の比較または、前記記録工程によって記録した正お よび負の変化量の累積値の比較のいずれか一つ以上を行う比較工程と、 Either a comparison of the azimuth values calculated by the azimuth calculation means at the two sampling times detected by the detection step, or a comparison of cumulative values of positive and negative changes recorded by the recording step. A comparison process that performs the above,
前記比較手段における比較結果に基づいて、前記センサ方位の検出誤差を補正 する補正量を決定する補正量決定工程と、 a correction amount determining step of determining a correction amount for correcting the detection error of the sensor orientation based on the comparison result of the comparison means;
前記補正量決定工程によって選択された前記補正量を用いて、前記方位算出ェ 程によって算出されたセンサ方位の検出誤差を補正した補正方位として算出する補 正方位算出工程と、 The direction calculation module uses the correction amount selected in the correction amount determination step. a correction direction calculation step of calculating a correction direction by correcting the detection error of the sensor direction calculated by the process;
を含むことを特徴とする方位算出方法。 A direction calculation method characterized by comprising:
[8] 角速度センサの出力値を用いてセンサ方位を算出するとともに、 GPS信号に基づ いて GPS方位を算出する方位算出工程と、 [8] A direction calculation step of calculating the sensor direction using the output value of the angular velocity sensor and also calculating the GPS direction based on the GPS signal;
前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所定の 基準値よりも大きい値 (正の変化量)と、小さい値 (負の変化量)としてそれぞれ記録 する記録工程と、 a recording step of recording the amount of change in the output value of the angular velocity sensor as a value larger (positive amount of change) and a value smaller (negative amount of change) than a predetermined reference value at each predetermined sampling period;
前記記録工程によって正または負の変化量が所定のサンプリング回数連続して記 録された際に、当該記録が開始されたサンプリング時刻 (第 1の時刻)を検出するとと もに、当該第 1の時刻から前記記録手段によって記録された正の変化量を蓄積した 値 (正の累積値)と、負の変化量を蓄積した値 (負の累積値)との比較を行い、前記正 の累積値と前記負の累積値とが等しくなつたサンプリング時刻 (第 2の時刻)を検出す る検出工程と、 When a positive or negative amount of change is continuously recorded a predetermined sampling number of times in the recording process, the sampling time (first time) at which the recording started is detected, and the first time is detected. A value obtained by accumulating the amount of positive change recorded by the recording means from time (positive cumulative value) is compared with a value obtained by accumulating the amount of negative change (negative cumulative value), and the positive cumulative value is determined. a detection step of detecting a sampling time (second time) at which the negative cumulative value and the negative cumulative value become equal;
前記検出工程によって検出された第 1の時刻における GPS方位の値と、前記第 2 の時刻における GPS方位の値とを比較するとともに、第 1の時刻におけるセンサ方位 の値と、前記第 2の時刻におけるセンサ方位の値とを比較する比較工程と、 The value of the GPS direction at the first time detected by the detection step and the value of the GPS direction at the second time are compared, and the value of the sensor direction at the first time and the value of the sensor direction at the second time are compared. a comparison step of comparing the value of the sensor orientation at
前記比較工程による比較結果に基づ 、て、前記記録工程によって連続して記録さ れた変化量に対応する方向を基準として前記センサ方位の検出誤差を補正する補 正量を決定する補正量決定工程と、 Based on the comparison result in the comparison step, determining a correction amount for correcting the detection error of the sensor orientation with reference to the direction corresponding to the amount of change continuously recorded in the recording step. process and
前記補正量決定工程によって選択された前記補正量を用いて、前記方位算出ェ 程によって算出されたセンサ方位の検出誤差を補正した補正方位として算出する補 正方位算出工程と、 a correction azimuth calculation step of calculating a correction azimuth in which the detection error of the sensor azimuth calculated in the azimuth calculation step is corrected using the correction amount selected in the correction amount determination step;
を含むことを特徴とする方位算出方法。 A direction calculation method characterized by comprising:
[9] 角速度センサの出力値を用いてセンサ方位を算出するとともに、 GPS信号に基づ いて GPS方位を算出する方位算出工程と、 [9] A direction calculation step of calculating the sensor direction using the output value of the angular velocity sensor and also calculating the GPS direction based on the GPS signal;
前記角速度センサの出力値の変化量を、所定のサンプリング周期ごとに、所定の 基準値よりも大きい値 (正の変化量)と、小さい値 (負の変化量)としてそれぞれ記録 する記録工程と、 The amount of change in the output value of the angular velocity sensor is recorded at each predetermined sampling period as a value larger (positive amount of change) and a value smaller (negative amount of change) than a predetermined reference value. a recording process to
前記記録工程によって正の変化量または負の変化量が所定のサンプリング回数連 続して記録された際に、当該記録が開始されたサンプリング時刻(第 1の時刻)を検 出するとともに、前記方位算出手段において、前記第 1の時刻におけるセンサ方位と 等しいセンサ方位が算出されたサンプリング時刻(第 2の時刻)を検出する検出工程 と、 When a positive amount of change or a negative amount of change is continuously recorded a predetermined number of sampling times in the recording step, the sampling time (first time) at which the recording was started is detected, and the direction is detected. a detection step of detecting, in the calculation means, a sampling time (second time) at which a sensor orientation equal to the sensor orientation at the first time is calculated;
前記検出工程によって検出された第 1の時刻における GPS方位の値と、前記第 2 の時刻における GPS方位の値とを比較するとともに、第 1の時刻から第 2の時刻まで の間の前記正の変化量を蓄積した値 (正の累積値)と、負の変化量を蓄積した値 (負 の累積値)とを比較する比較工程と、 The value of the GPS direction at the first time detected by the detection step is compared with the value of the GPS direction at the second time, and the positive value between the first time and the second time is compared. a comparison step of comparing the accumulated amount of change (positive accumulated value) with the accumulated value of negative changed amount (negative accumulated value);
前記比較工程による比較結果に基づ 、て、前記記録工程によって連続して記録さ れた変化量に対応する方向を基準として前記センサ方位の検出誤差を補正する補 正量を決定する補正量決定工程と、 Based on the comparison result in the comparison step, determining a correction amount for correcting the detection error of the sensor orientation with reference to the direction corresponding to the amount of change continuously recorded in the recording step. process and
前記補正量決定工程によって決定された前記補正量を用いて、前記方位算出ェ 程によって算出されたセンサ方位の検出誤差を補正した補正方位として算出する補 正方位算出工程と、 a correction azimuth calculation step of calculating a correction azimuth in which a detection error of the sensor azimuth calculated in the azimuth calculation step is corrected using the correction amount determined in the correction amount determination step;
を含むことを特徴とする方位算出方法。 A direction calculation method characterized by comprising:
[10] 請求項 7〜9のいずれか一つに記載の方位算出方法をコンピュータに実行させるこ とを特徴とする方位算出プログラム。 [10] An orientation calculation program that causes a computer to execute the orientation calculation method according to any one of claims 7 to 9.
[11] 請求項 10に記載の方位算出プログラムをコンピュータによる読み取り可能に記録し たことを特徴とする記録媒体。 [11] A recording medium on which the orientation calculation program according to claim 10 is recorded in a computer-readable manner.
PCT/JP2006/324374 2005-12-08 2006-12-06 Direction calculation device, direction calculation method, direction calculation program, and recording medium WO2007066695A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007549157A JPWO2007066695A1 (en) 2005-12-08 2006-12-06 Direction calculation apparatus, direction calculation method, direction calculation program, and recording medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005354758 2005-12-08
JP2005-354758 2005-12-08

Publications (1)

Publication Number Publication Date
WO2007066695A1 true WO2007066695A1 (en) 2007-06-14

Family

ID=38122841

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/324374 WO2007066695A1 (en) 2005-12-08 2006-12-06 Direction calculation device, direction calculation method, direction calculation program, and recording medium

Country Status (2)

Country Link
JP (1) JPWO2007066695A1 (en)
WO (1) WO2007066695A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021193269A1 (en) * 2020-03-26 2021-09-30 日立建機株式会社 Work vehicle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06167347A (en) * 1992-11-26 1994-06-14 Suzuki Motor Corp Gyro correction device for vehicle
JPH0771964A (en) * 1993-09-06 1995-03-17 Clarion Co Ltd Method and circuit for correcting drift of gyro
JPH08304090A (en) * 1995-05-08 1996-11-22 Pioneer Electron Corp Car navigation system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10206177A (en) * 1997-01-27 1998-08-07 Casio Comput Co Ltd Position-measuring apparatus, method for correcting output of angular velocity sensor and recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06167347A (en) * 1992-11-26 1994-06-14 Suzuki Motor Corp Gyro correction device for vehicle
JPH0771964A (en) * 1993-09-06 1995-03-17 Clarion Co Ltd Method and circuit for correcting drift of gyro
JPH08304090A (en) * 1995-05-08 1996-11-22 Pioneer Electron Corp Car navigation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021193269A1 (en) * 2020-03-26 2021-09-30 日立建機株式会社 Work vehicle
JP2021156678A (en) * 2020-03-26 2021-10-07 日立建機株式会社 Work vehicle

Also Published As

Publication number Publication date
JPWO2007066695A1 (en) 2009-05-21

Similar Documents

Publication Publication Date Title
US6374180B1 (en) Points of interest for a navigation system
JP5831308B2 (en) Moving body position detection system, moving body position detection apparatus, moving body position detection method, and computer program
JPH0227218A (en) Distance errors correction for navigation apparatus
US20020022924A1 (en) Propagation of position with multiaxis accelerometer
JPH08313278A (en) Apparatus and method for correcting positioning data
WO2007116637A1 (en) Navigation device, route guidance method, and route guidance program
JPS6260647B2 (en)
JP2013190279A (en) System, device and method for detecting mobile object position, and computer program
JP2853978B2 (en) Drive simulation device
US20080221792A1 (en) Navigation apparatus
JP5605186B2 (en) Control device, control method of control device, and computer program
JP4612678B2 (en) Route guidance device, route guidance method, route guidance program, and recording medium
WO2007066695A1 (en) Direction calculation device, direction calculation method, direction calculation program, and recording medium
JPH029688B2 (en)
JP4232943B2 (en) Voice recognition device for navigation
JP4734329B2 (en) Direction calculation apparatus, direction calculation method, direction calculation program, and recording medium
JP3850613B2 (en) Navigation device
JP3514786B2 (en) Moving object positioning device and car navigation device
JP4629738B2 (en) Navigation device, method thereof, program thereof and recording medium thereof
JP2013186050A (en) Navigation device
JP2780206B2 (en) Vehicle navigation system
JP2007232390A (en) Information apparatus, guide information providing method, and program
JP4295609B2 (en) Car navigation system
JPH0445476A (en) Location device
WO2007088686A1 (en) Navigation device and route search method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
ENP Entry into the national phase

Ref document number: 2007549157

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06834129

Country of ref document: EP

Kind code of ref document: A1