Cumulative altitude calculation device, cumulative altitude calculation method and program

The cumulative altitude calculation device uses dual smoothing filters to process atmospheric pressure data, distinguishing between noisy and calm states to achieve accurate altitude estimation, addressing inaccuracies from external factors.

JP2024127666APending Publication Date: 2024-09-20CASIO COMPUTER CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023037008
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-09
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing portable altimeters inaccurately calculate cumulative altitude due to external factors like strong winds or arm swings, and fail to account for gradual altitude changes.

Method used

A cumulative altitude calculation device that uses two types of smoothing filters with different intensities to process atmospheric pressure data, determining the current state as either noisy or calm, and integrates altitude calculations based on these states to derive accurate cumulative altitude.

Benefits of technology

The device accurately calculates cumulative altitude by minimizing the impact of external noise and fluctuations, ensuring precise altitude estimation even in noisy conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127666000001
    Figure 2024127666000001
Patent Text Reader

Abstract

To provide a cumulative altitude calculation device, a cumulative altitude calculation method and a program that accurately calculate the altitude of the current location by suppressing the influence of atmospheric pressure variation caused by external factors such as strong winds and body movements.SOLUTION: A cumulative altitude calculation device 100 includes: an atmospheric pressure data acquisition unit 110 which acquires atmospheric pressure data from an atmospheric pressure sensor; a first calculation unit 120 which calculates the first cumulative altitude from the acquired atmospheric pressure data; a second calculation unit 130 which calculates the second cumulative altitude from the acquired atmospheric pressure data; a state determination unit 140 which determines whether the current state is the first state or second state based on the acquired atmospheric pressure data; and an integration unit 150 which derives the cumulative altitude on the basis of the first cumulative altitude and the second cumulative altitude according to the determined state.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an accumulated altitude calculation device, an accumulated altitude calculation method, and a program. [Background technology]

[0002] There is a known portable altimeter that calculates the altitude of the current location by acquiring atmospheric pressure data from a pressure sensor that measures atmospheric pressure and converting the atmospheric pressure into altitude. In reality, due to the influence of factors such as atmospheric pressure fluctuations due to the climate, it is difficult to obtain an accurate value by directly converting the atmospheric pressure data into altitude. Therefore, a method is known in which the altitude of the current location is estimated by sequentially adding minute altitude difference values ​​obtained from atmospheric pressure data that changes from moment to moment to the altitude at a reference point (for example, Patent Document 1).

[0003] The portable altimeter disclosed in Patent Document 1 determines that the device is moving if the change in altitude is large, and that the device is stationary if the change in altitude is small. If the device is moving, it estimates the current altitude by adding the difference in altitude and updating the cumulative altitude. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2001-289632 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, the portable altimeter disclosed in Patent Document 1 is susceptible to external factors such as strong winds or arm swinging when the device is worn on the arm, which can lead to the altitude being calculated higher than the actual altitude. Conversely, there is also a risk that the altitude will not be calculated if the change in altitude is gradual.

[0006] An object of the present invention is to provide an accumulated altitude calculation device, an accumulated altitude calculation method, and a program for calculating the altitude of a current location with high accuracy. [Means for solving the problem]

[0007] In order to achieve the above-mentioned object, a cumulative altitude calculation device according to a first aspect of the present invention is characterized in comprising an atmospheric pressure data acquisition unit that acquires atmospheric pressure data from a atmospheric pressure sensor, a first calculation unit that calculates a first cumulative altitude from the acquired atmospheric pressure data, a second calculation unit that calculates a second cumulative altitude from the acquired atmospheric pressure data, a state determination unit that determines whether the current state is the first state or the second state from the acquired atmospheric pressure data, and an integration unit that derives a cumulative altitude based on the first cumulative altitude and the second cumulative altitude depending on which of the determined states is present.

[0008] In addition, a cumulative altitude calculation method according to a second aspect of the present invention is characterized in that it acquires atmospheric pressure data from a pressure sensor, calculates a first cumulative altitude from the acquired atmospheric pressure data, calculates a second cumulative altitude from the acquired atmospheric pressure data, determines whether the current state is the first state or the second state from the acquired atmospheric pressure data, and derives a cumulative altitude based on the first cumulative altitude and the second cumulative altitude depending on which of the determined states.

[0009] Further, a program according to a third aspect of the present invention includes: The device is characterized by functioning as an atmospheric pressure data acquisition unit that acquires atmospheric pressure data from a atmospheric pressure sensor, a first calculation unit that calculates a first cumulative altitude from the acquired atmospheric pressure data, a second calculation unit that calculates a second cumulative altitude from the acquired atmospheric pressure data, a state determination unit that determines whether the current state is the first state or the second state from the acquired atmospheric pressure data, and an integration unit that derives a cumulative altitude based on the first cumulative altitude and the second cumulative altitude depending on which of the determined states. Effect of the Invention

[0010] According to the present invention, it is possible to accurately calculate the current altitude while suppressing the influence of changes in atmospheric pressure due to external factors such as strong winds and body movements. [Brief description of the drawings]

[0011] [Figure 1] FIG. 2 is a diagram showing the hardware configuration of a wristwatch according to an embodiment. [Diagram 2] 1A is a diagram showing an example of a change in air pressure over time in a first state, and FIG. 1B is a diagram showing an example of a change in air pressure over time in a second state. [Diagram 3] FIG. 2 is a diagram illustrating a functional configuration of the accumulated altitude calculation device according to the embodiment. [Figure 4] 10 is a flowchart showing an accumulated altitude calculation process according to the embodiment. [Diagram 5] FIG. 11 is a diagram showing a first altitude change table. [Figure 6] FIG. 11 is a diagram showing a second altitude change table. [Figure 7] 4 is a flowchart showing a first calculation process according to the embodiment. [Figure 8] 10 is a flowchart showing a calculation process of a continuous altitude change according to the embodiment. [Figure 9] 11 is a flowchart showing a second calculation process according to the embodiment. [Figure 10] 5 is a flowchart showing a state determination process according to the embodiment. [Figure 11] 4 is a flowchart showing an integration process according to the first embodiment. [Figure 12] 11 is a flowchart showing an integration process according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Below, a wristwatch 1 and an accumulated altitude calculation device 100 according to an embodiment of the present invention will be described in detail with reference to the drawings. Note that this embodiment is for the purpose of explanation and does not limit the scope of the present invention. Therefore, a person skilled in the art can adopt an embodiment in which each or all of these elements are replaced with an equivalent, and these embodiments are also included in the scope of the present invention.

[0013] (Embodiment 1) The wristwatch 1 according to the first embodiment is a wristwatch that includes an air pressure sensor, estimates the altitude of the current location from the acquired air pressure data, and provides it to the user by displaying it on the display unit. As shown in Fig. 1, the wristwatch 1 includes a CPU 10, a RAM 20, a ROM 30, an air pressure sensor 40, an A / D conversion circuit 50, an oscillator circuit 60, a frequency divider circuit 70, an input device 80, and a display device 90, all of which are connected to each other via a bus (not shown). The wristwatch 1 also includes a wristband (not shown) and the like.

[0014] The accumulated altitude calculation device 100 is a device realized by the CPU 10 of the wristwatch 1 and the like, and converts the acquired atmospheric pressure data into altitude data and calculates the altitude of the current location.

[0015] CPU 10 is a central processing unit (CPU) that performs overall control of wristwatch 1. CPU 10 executes programs stored in ROM 30 to realize various functions of accumulated altitude calculation device 100.

[0016] The RAM 20 is a RAM (Random Access Memory) into which programs are loaded from the ROM 30 and which is used as a working area for the CPU 10. The RAM 20 also holds an altitude change table 21 in which altitude data converted from atmospheric pressure data is stored. The ROM 30 is a ROM (Read Only Memory) that stores programs for the operation of the CPU 10 and various data used in processing.

[0017] The air pressure sensor 40 is an air pressure sensor such as a piezo-resistance type barometer, and measures the air pressure value under instructions from the CPU 10. Under instructions from the CPU 10, the A / D conversion circuit 50 converts the air pressure value measured by the air pressure sensor 40 into digital data and sends it to the CPU 10.

[0018] The oscillator circuit 60 and the frequency divider circuit 70 are used to supply a clock signal having a constant clock frequency to the CPU 10. This clock signal is used by the software processing executed by the CPU 10 to count the number of rising edges of a clock pulse, thereby keeping time.

[0019] The input device 80 is a switch or the like that receives instructions from a user. The display device 90 is a liquid crystal display, an organic EL (Electro Luminescence) display, or the like, and may be a capacitive touch panel or the like integrated with the input device 80 that is a touch pad.

[0020] The cumulative altitude calculation device 100, which is realized by the CPU 10 of the wristwatch 1, etc., acquires the atmospheric pressure value measured by the atmospheric pressure sensor 40, and smoothes it with a level corresponding to the amount of noise contained in the temporal change in the atmospheric pressure value. For example, as shown in FIG. 2(a), when gently changing atmospheric pressure data is obtained, the cumulative altitude calculation device 100 smoothes the atmospheric pressure data with a low level of smoothing. Conversely, as shown in FIG. 2(b), when noisy atmospheric pressure data is obtained, the cumulative altitude calculation device 100 smoothes the atmospheric pressure data with a high level of smoothing. The cumulative altitude calculation device 100 then estimates the altitude of the current location based on the smoothed atmospheric pressure data.

[0021] Here, a low smoothing strength means that the cutoff frequency in the low-pass filter is high, and a high smoothing strength means that the cutoff frequency is low.

[0022] As shown in FIG. 3, the cumulative altitude calculation device 100 includes an atmospheric pressure data acquisition unit 110 that acquires atmospheric pressure data from an atmospheric pressure sensor 40, a first calculation unit 120 that calculates a cumulative altitude from atmospheric pressure data smoothed with a low intensity, a second calculation unit 130 that calculates a cumulative altitude from atmospheric pressure data smoothed with a high intensity, a state determination unit 140 that determines the current noise state, and an integration unit 150 that adopts a cumulative altitude according to the noise state.

[0023] The atmospheric pressure data acquisition unit 110 is composed of the CPU 10, an A / D conversion circuit 50, etc., and acquires atmospheric pressure data from the atmospheric pressure sensor 40.

[0024] The first calculation unit 120 calculates a first accumulated altitude from the atmospheric pressure data acquired from the atmospheric pressure sensor 40. The accumulated altitude is an altitude obtained by sequentially adding the difference value of the altitude calculated for each predetermined period to the altitude of the reference location.

[0025] The first calculation unit 120 includes a first smoothing filter 121 that smoothes the atmospheric pressure data with a first strength, a first ascent / descent determination unit 122 that determines the ascent / descent direction in a first period for each predetermined cycle, and a first cumulative altitude calculation unit 123 that calculates a difference value of ascent / descent in a predetermined cycle and calculates a first cumulative altitude based on the ascent / descent direction and the difference value. The first smoothing filter 121 is an arbitrary low-pass filter or the like. The first period is a period for the first calculation unit 120 to calculate the ascent / descent direction for each predetermined cycle, such as one clock, in order to calculate the first cumulative altitude from the atmospheric pressure data.

[0026] The second calculation unit 130 calculates a second cumulative altitude from the atmospheric pressure data acquired from the atmospheric pressure sensor 40. The second calculation unit 130 includes a second smoothing filter 131 that smoothes the atmospheric pressure data with a second strength, a second ascent / descent determination unit 132 that determines the direction of ascent / descent in a second period for each predetermined cycle, and a second cumulative altitude calculation unit 133 that calculates a difference value of ascent / descent in a predetermined cycle and calculates a second cumulative altitude based on the direction of ascent / descent and the difference value. The second smoothing filter 131 is an arbitrary low-pass filter or the like. The second period is a period for the second calculation unit 130 to calculate the direction of ascent / descent for each predetermined cycle in order to calculate the second cumulative altitude from the atmospheric pressure data. Here, the second strength is greater than the first strength, and the second period is greater than the first period.

[0027] The state determination unit 140 determines whether the current state is a first state or a second state from the atmospheric pressure data acquired from the atmospheric pressure sensor 40. Here, the first state is a state in which there is little noise included in the temporal change in the atmospheric pressure value, and the second state is a state in which there is a lot of noise. The state determination unit 140 determines that the current state is the first state if the atmospheric pressure data contains less noise than a predetermined criterion, and determines that the current state is the second state if the noise is more than the predetermined criterion.

[0028] The integration unit 150 derives the accumulated altitude based on the first accumulated altitude and the second accumulated altitude in accordance with any one of the states determined by the state determination unit 140.

[0029] 4 is a flowchart illustrating the cumulative altitude calculation process executed by the cumulative altitude calculation device 100. The cumulative altitude calculation process is a process for estimating the altitude of the current location by calculating the cumulative altitude up to the present time from the atmospheric pressure data acquired from the atmospheric pressure sensor 40.

[0030] The cumulative altitude calculation process starts when the user operates the input device 80 of the wristwatch 1 to input the altitude of the current location (or the altitude ascended or descended up to that point) H0. When the cumulative altitude calculation process starts, the cumulative altitude calculation device 100 first stores an initial state in the altitude change table 21 held in the RAM 20. Specifically, the cumulative altitude calculation device 100 sets the clock cycle number i=0, the atmospheric pressure value p0 when the altitude H0 is input, the altitude H0, etc., as shown in the first row of the first altitude change table 21j shown in FIG. 5. The cumulative altitude calculation device 100 also sets the clock cycle number i=0, the atmospheric pressure value p0 when the altitude H0 is input, the altitude H0, etc., as shown in the first row of the second altitude change table 21k shown in FIG. 6. The atmospheric pressure value p0 is also calculated by multiplying the atmospheric pressure value p0 smoothed by the i=0th first smoothing filter 121 and p 1,0 and the pressure value p after being smoothed by the second smoothing filter 131. 2,0 is assigned to.

[0031] 4, the first calculation process (step S100), the second calculation process (step S200), the state determination process (step S300), and the integration process (step S400) are started. These processes are terminated when the user operates the input device 80 to instruct the cumulative altitude calculation device 100 to stop the cumulative altitude calculation process, etc.

[0032] FIG. 7 is a flowchart explaining the first calculation process that starts when the cumulative altitude calculation process shown in FIG. 4 is started. The first calculation process is a process executed by the first calculation unit 120, and a first cumulative altitude is calculated from the atmospheric pressure data. The atmospheric pressure data is acquired from the atmospheric pressure sensor 40 for each clock period of the clock signal supplied from the oscillation circuit 60 and the frequency division circuit 70. The first calculation unit 120 also calculates the first cumulative altitude in a first period for each predetermined period, such as each clock period. The first period is a period that is an integer multiple of the clock period, and here, it is assumed that the clock period is 1 second (1 Hz) and the first period is 10 seconds.

[0033] When the first calculation process starts, the first calculation process goes into a standby state until any of the conditions described below is satisfied (step S101). When the first calculation unit 120 acquires atmospheric pressure data from the atmospheric pressure data acquisition unit 110, it increments the clock cycle number i (step S102). Then, the first calculation unit 120 calculates the atmospheric pressure value p i is stored in the first altitude change table 21j (step S103).

[0034] Next, the first calculation unit 120 smoothes the acquired atmospheric pressure data with the first smoothing filter 121 (step S104). After that, the first calculation unit 120 stores the smoothed atmospheric pressure data p 1,i (step S105). Then, the process returns to step S101.

[0035] Next, the first calculation unit 120 adds the atmospheric pressure data p after filtering by the first smoothing filter 121 to the first altitude change table 21j. 1,i Once stored, the filtered pressure data p 1,i If the first calculation unit 120 determines that the clock cycle number i is 10 or more (Yes in step S106), the first accumulated altitude calculation unit 123 calculates the i-th filtered air pressure value p 1,i and the (i-1)th filtered pressure value p 1,i-1 The difference between the pressure difference p 1,i -p 1,i-1 (Step S107). On the other hand, if the first calculation unit 120 determines that i is less than 10 (No in Step S106), the process returns to Step S101.

[0036] Returning to step S107, the first cumulative altitude calculation unit 123 calculates the atmospheric pressure p 1,i , p 1,i-1 Then, convert the altitude difference to the corresponding altitude, and calculate the difference in elevation h 1,i is calculated (step S108).

[0037] Next, the first cumulative altitude calculation unit 123 calculates the i-th elevation difference value h 1,i The first cumulative altitude calculation unit 123 determines whether the absolute value of the i-th ascent / descent difference value h 1,i If the absolute value of is greater than the first threshold (Yes in step S109), the i-th ascent / descent difference value h 1,i Using the i-th first cumulative altitude H 1,i =H 1,i-1 +h 1,i Calculate (step S110).

[0038] On the other hand, the first cumulative altitude calculation unit 123 calculates the i-th ascent / descent difference value h 1,i If the absolute value of is smaller than the first threshold value (No in step S109), step S110 is skipped and the difference value h 1,iDo not add.

[0039] Next, the first ascending / descending determination unit 122 determines the i-th ascending / descending direction (step S111). The first ascending / descending determination unit 122 calculates the ascending / descending difference value h 1,i The direction of ascent or descent is determined as follows: if the value is 0, it is toward flat ground, if it is positive, it is toward upward direction, and if it is negative, it is toward downward direction. In the first altitude change table 21j in Fig. 5, "↑" is stored for upward direction, "↓" for downward direction, and "→" for flat ground direction.

[0040] Here, when the first ascent / descent determination unit 122 determines in step S109 that the absolute value of the ascent / descent difference value is smaller than the first threshold, it may determine that the ascent / descent direction is the flat ground direction. Also, for a period in which the clock cycle number i is less than i=9, which is less than the initial first period, the flat ground direction "→" may be stored as the initial value.

[0041] Returning to FIG. 7, the first calculation unit 120 then executes a calculation process for a continuous change in altitude (step S130). In the calculation process for a continuous change in altitude, if the first ascent / descent determination unit 122 determines that the direction of ascent / descent is a continuous upward or downward direction, the first cumulative altitude calculation unit 123 calculates the difference value h of ascent / descent in the section determined to be a continuous upward or downward direction. 1,j and stores the sum as a continuous altitude change. When the first ascent / descent determination unit 122 determines that the direction of ascent / descent has changed from an ascending direction to a descending direction, or from a descending direction to an ascending direction, the first cumulative altitude calculation unit 123 resets the continuous altitude change. When the state determination unit 140 determines that the second state is present, the integration unit 150 adds up the first cumulative altitude H if the continuous altitude change exceeds a predetermined threshold. 1,j will be adopted.

[0042] Furthermore, in the process of calculating the continuous altitude change, if the section in which the first ascent / descent determination unit 122 determines that the direction of ascent / descent is continuously toward flat ground exceeds a predetermined threshold, the first cumulative altitude calculation unit 123 resets the continuous altitude change.

[0043] FIG. 8 shows a first calculation process in which the first calculation unit 120 calculates a first cumulative altitude H 1,i 10 is a flowchart illustrating a calculation process of continuous altitude changes that is executed when

[0044] When the calculation process of the continuous altitude change starts, the first ascent / descent determination unit 122 determines whether or not there has been a change in the direction of ascent / descent in the i-th clock cycle (step S131). For example, if the first ascent / descent determination unit 122 determines that the direction of ascent / descent in the (i-1)-th clock cycle was toward flat ground (→) but the direction of ascent / descent in the i-th clock cycle was upward (↑) or downward (↓), the first cumulative altitude calculation unit 123 sets the continuous altitude change to start counting the continuous altitude change (step S132). At this time, the continuous altitude change is initialized with an ascent / descent difference value h 1,i is set.

[0045] In addition, when the first ascent / descent determination unit 122 determines that the direction of ascent / descent in the (i-1)th clock period was an upward direction (↑) and the direction of ascent / descent in the i-th clock period was an upward direction (↑), or when the direction of ascent / descent in the (i-1)th clock period was a downward direction (↓) and the direction of ascent / descent in the i-th clock period was a downward direction (↓), the first accumulated altitude calculation unit 123 calculates the ascent / descent difference value h 1,i The continuous altitude change is updated by adding (step S133).

[0046] Furthermore, if the first ascent / descent determination unit 122 determines, for example, that the direction of ascent / descent in the (i-1)th clock cycle was upward (↑) but the direction of ascent / descent in the i-th clock cycle was downward (↓), or if the direction of ascent / descent in the (i-1)th clock cycle was downward (↓) but the direction of ascent / descent in the i-th clock cycle was upward (↑), the first cumulative altitude calculation unit 123 resets the continuous altitude change (step S134).

[0047] In addition, when the first up-down determining unit 122 determines that the direction of up-down in the (i-1)th clock cycle was the flat ground direction (→) and the direction of up-down in the i-th clock cycle was the flat ground direction (→), when the first up-down determining unit 122 determines that the direction of up-down in the (i-1)th clock cycle was the upward direction (↑) and the direction of up-down in the i-th clock cycle was the flat ground direction (→), or when the first up-down determining unit 122 determines that the direction of up-down in the (i-1)th clock cycle was the downward direction (↓) and the direction of up-down in the i-th clock cycle was the flat ground direction (→), the first up-down determining unit 122 determines that the period T f It is determined whether the period is equal to or longer than a predetermined period γ (step S135).

[0048] The first ascending / descending determination unit 122 determines whether the vehicle is moving in the direction toward flat ground during a period T f is equal to or longer than the predetermined period γ (Yes in step S135), the first cumulative altitude calculation unit 123 resets the continuous altitude change (step S136). f is not equal to or greater than the predetermined period γ (No in step S135), first accumulated altitude calculation section 123 maintains the continuous altitude change (step S137).

[0049] Thereafter, the process proceeds to "A" in Fig. 8, and returns to step 101 shown in Fig. 7. Note that the set, updated, or maintained continuous altitude change is stored in the RAM 20.

[0050] Next, in step S101, if the first calculation unit 120 determines that the other condition is satisfied, it executes another process corresponding to that condition (step S112). After that, the process returns to step S101.

[0051] By proceeding in this manner, values ​​are sequentially stored in the first altitude change table 21j, as shown in FIG.

[0052] FIG. 9 is a flowchart explaining the second calculation process that starts when the cumulative altitude calculation process shown in FIG. 4 is started. The second calculation process is a process executed by the second calculation unit 130, and a second cumulative altitude is calculated from the air pressure data. The second calculation unit 130 calculates a second cumulative altitude in a second period for each predetermined period, such as each clock period. The second period is an integer multiple of the clock period and is longer than the first period. Here, it is assumed that the clock period is 1 second (1 Hz) and the second period is 50 seconds.

[0053] When the second calculation process starts, the second calculation process goes into a standby state until any of the conditions described below is satisfied (step S201). When the second calculation unit 130 acquires atmospheric pressure data from the atmospheric pressure data acquisition unit 110, the second calculation unit 130 increments the clock cycle number i (step S202). Then, the second calculation unit 130 stores the atmospheric pressure value pi, which is the i-th atmospheric pressure data, in the second altitude change table 21k (step S203).

[0054] Next, the second calculation unit 130 smoothes the acquired atmospheric pressure data with the second smoothing filter 131 (step S204). After that, the second calculation unit 130 stores the smoothed atmospheric pressure data p 2,i is stored (step S205).

[0055] Next, the second calculation unit 130 adds the atmospheric pressure data p after filtering by the second smoothing filter 131 to the second altitude change table 21k. 2,i Once stored, the filtered pressure data p 2,i If the second calculation unit 130 determines that the clock cycle number i is 50 or more (Yes in step S206), the second accumulated altitude calculation unit 133 calculates the i-th filtered air pressure value p 2,i and the (i-1)th filtered pressure value p 2,i-1 The difference between the pressure difference p 2,i -p 2,i-1(Step S207). On the other hand, if the second calculation unit 130 determines that i is less than 50 (No in Step S206), the process returns to Step S201.

[0056] Returning to step S207, the second cumulative altitude calculation unit 133 calculates the pressure difference p 2,i -p 2,i-1 The difference between the elevation and descent values ​​is h 2,i (step S208).

[0057] Next, the second cumulative altitude calculation unit 133 calculates the i-th elevation difference value h 2,i The second cumulative altitude calculation unit 133 determines whether the absolute value of the i-th ascent / descent difference value h 2,i If the absolute value of is greater than the second threshold (Yes in step S209), the i-th ascent / descent difference value h 2,i Using the i-th second cumulative altitude H 2,i =H 2,i-1 +h 2,i Calculate (step S210).

[0058] On the other hand, the second cumulative altitude calculation unit 133 calculates the i-th elevation difference value h 2,i If the absolute value of is smaller than the second threshold value (No in step S209), step S210 is skipped and the elevation difference value h 2,i Do not add.

[0059] Next, the second ascending / descending determination unit 132 determines the i-th ascending / descending direction (step S211). The method of ascending / descending determination is the same as that of the first ascending / descending determination unit 122. After that, the process returns to step S201.

[0060] Next, in step S201, if the second calculation unit 130 determines that the other condition is satisfied, it executes another process corresponding to that condition (step S215), after which the process returns to step S201.

[0061] By proceeding in this manner, values ​​are sequentially stored in the second altitude change table 21k, as shown in FIG.

[0062] Fig. 10 is a flowchart explaining the state determination process that starts when the accumulated altitude calculation process shown in Fig. 4 is started. The state determination process is a process executed by the state determination unit 140, and determines whether the current state is the first state or the second state from the air pressure data. The state determination unit 140 determines the current state every second, which is the clock cycle.

[0063] When the state determination process starts, state determination unit 140 sets clock cycle number i to i=1 (step S301). Then, state determination unit 140 determines whether the current state is the first state or not (step S302). Note that the first state may be set in the first clock cycle. Here, since it is the first clock cycle, it is assumed that state determination unit 140 has determined that the current state is the first state (Yes in step S302).

[0064] Next, the state determination unit 140 determines whether the frequency F1 of switching between ascent and descent is equal to or greater than a predetermined value α (step S303). The frequency F1 of switching between ascent and descent means the number of times the direction of ascent and descent in the first altitude change table 21j shown in FIG. 5 switches per unit time. The state determination unit 140 calculates the frequency F1 of switching between ascent and descent in a predetermined period up to clock cycle number i, and determines whether it is equal to or greater than the predetermined value α. For example, the determination in step S303 may be made based on the frequency F1 of switching between ascent and descent in a first period, which is the past 10 seconds, as the predetermined period.

[0065] If the state determination unit 140 determines that the frequency F1 of switching between up and down is equal to or greater than the predetermined value α (Yes in step S303), it determines that the current state in the i=1st clock period has switched to the second state (step S304). On the other hand, if the state determination unit 140 determines that the frequency F1 of switching between up and down is equal to or less than the predetermined value α (No in step S303), it determines that the current state continues to be the first state (step S305).

[0066] Then, the state determination unit 140 stores the determined current state in the RAM 20 (step S306), and increments the clock cycle number i (step S307). After that, the process returns to step S302.

[0067] Next, in step S302, if the state determination unit 140 determines that the current state is the second state (No in step S302), the state determination unit 140 determines whether the ascending / descending switching frequency F1 is equal to or less than a predetermined value β different from α (step S308). The state determination unit 140 calculates the ascending / descending switching frequency F1 in a predetermined period up to the clock cycle number i, and determines whether it is equal to or less than the predetermined value β. Even if the current state is the second state, the ascending / descending switching frequency F1 calculated from the ascending / descending direction in the first altitude change table 21j is used because the first strength related to the smoothing strength is smaller than the second strength, and can pick up noise closer to real noise. Of course, the ascending / descending switching frequency calculated from the ascending / descending direction in the second altitude change table 21k may be used. Also, α and β may be the same value.

[0068] If the state determination unit 140 determines that the up / down switching frequency F1 is equal to or less than the predetermined value β (Yes in step S308), it determines that the current state in the i=1th clock cycle has switched to the first state (step S309). On the other hand, if the state determination unit 140 determines that the up / down switching frequency F1 is equal to or more than the predetermined value β (No in step S308), it determines that the current state continues to be the second state (step S310). Then, the process proceeds to step S306 and continues as described above.

[0069] Fig. 11 is a flowchart explaining the integration process that starts when the accumulated altitude calculation process shown in Fig. 4 is started. The integration process is a process executed by the integration unit 150, and the accumulated altitude is derived based on the first accumulated altitude and the second accumulated altitude depending on whether the current state is the first state or the second state.

[0070] When the integration process starts, the integration unit 150 sets the clock cycle number i to i=1 (step S401). Then, the integration unit 150 determines whether the current state is the first state or not (step S402). Note that the first state may be set in the first clock cycle. Here, since it is the first clock cycle, it is assumed that the integration unit 150 determines that the current state is the first state (Yes in step S402).

[0071] Then, the integration unit 150 calculates the first accumulated altitude H 1,i is the second cumulative altitude H 2,i It is determined whether or not it is equal to or greater than this (step S403).

[0072] The integration unit 150 calculates the first accumulated altitude H 1,i is the second cumulative altitude H 2,i If it is determined that the altitude is equal to or greater than the first cumulative altitude H 1,i On the other hand, the integration unit 150 adopts the first accumulated altitude H 1,i is the second cumulative altitude H 2,iIf it is determined that the second cumulative altitude H 2,i is adopted (step S405).

[0073] On the other hand, in step S402, when the integration unit 150 determines that the current state is the second state (No in step S402), it determines whether the continuous altitude change is equal to or greater than the predetermined value δ (step S431). When the integration unit 150 determines that the continuous altitude change is equal to or greater than the predetermined value δ (Yes in step S431), it calculates the first cumulative altitude H 1,i On the other hand, when the integration unit 150 determines that the continuous altitude change is equal to or smaller than the predetermined value δ (No in step S431), the integration unit 150 uses the second cumulative altitude H 2,i is adopted (step S433). After that, the process proceeds to step S406, and proceeds in the same manner as in the first embodiment.

[0074] That is, when the state determination unit 140 determines that the vehicle is in the first state, the integration unit 150 calculates the first cumulative altitude H 1,i and the second cumulative altitude H 2,i On the other hand, if the state determination unit 140 determines that the state is the second state, the integration unit 150 uses the first cumulative altitude H 1,i or the second cumulative altitude H 2,i Then, the clock cycle number i is incremented (step S406), and the process returns to step S402.

[0075] As described above, in the first state, the integration unit 150 calculates the first cumulative altitude H 1,i and the second cumulative altitude H 2,i The larger accumulated altitude is adopted. This configuration can solve the case where the difference value of the ascent and descent is cancelled out by the up and down swing of the user's arms, which does not exceed the first threshold value in the calculation by the first calculation unit 120, even though the user is actually ascending a gentle slope. Of course, in the first state, the first accumulated altitude H 1,i In the second state, the second cumulative altitude H 2,iIt is also possible to configure the system to adopt the above.

[0076] As described above, according to the first embodiment, the cumulative altitude calculation device 100 smoothes the atmospheric pressure data using two types of smoothing filters with different strengths, and estimates the cumulative altitude of the current location by adopting one of the two types of smoothed data depending on the amount of noise contained in the atmospheric pressure data. As a result, when there are many external factors such as strong winds or arm swinging, atmospheric pressure data smoothed with a large strength can be adopted, so that the altitude of the current location can be calculated with high accuracy.

[0077] According to the first embodiment, the continuous altitude change is calculated, and even in the second state, if the continuous altitude change is equal to or greater than a predetermined value, the first cumulative altitude H 1,i This allows for a more accurate estimation of the accumulated altitude in noisy situations, such as when running up and down stairs. That is, even if it is determined that the state has been switched to the second state due to a lot of noise, the first accumulated altitude H, which is considered to be a more realistic value, can be estimated if there is an actual change in altitude due to a sudden ascent or descent rather than a change in air pressure due to noise. 1,i By adopting this method, the altitude of the current location can be estimated with high accuracy.

[0078] Furthermore, according to the first embodiment, in the period T f If the period is shorter than the predetermined period, the continuous altitude change is maintained without being reset. As a result, even if the landing of a staircase or the like is temporarily determined to be flat, the continuous altitude change is maintained, and the first cumulative altitude H 1,i This allows the altitude of the current location to be estimated with high accuracy.

[0079] (Embodiment 2) Next, a second embodiment of the present invention will be described. The same reference numerals are used for configurations and processes equivalent to those of the first embodiment. In the first embodiment, one of the accumulated altitudes is always adopted during the period of the current state, depending on the current state. In the second state in which the amount of noise is large, the second period for calculating the difference in elevation and descent is a period for calculating the difference in elevation and descent from the air pressure data smoothed with a large strength, and therefore needs to be a relatively long period. For this reason, there is a time lag before the difference in elevation and descent is calculated, and there is a problem that an estimated value of the current altitude cannot be provided to the user during that time. In the second embodiment, the first accumulated altitude H is adopted for a while after switching from the first state to the second state. 1,i The system is structured to adopt the following:

[0080] In the second embodiment, of the four processes that start when the cumulative altitude calculation process shown in FIG. 4 starts, the first calculation process (step S100), the second calculation process (step S200), and the state determination process (step S300) are equivalent to those in the first embodiment.

[0081] 12 is a flowchart for explaining the integration process in the second embodiment. When the integration process starts, the integration unit 150 sets the clock cycle number i to i=1 (step S401). Then, the integration unit 150 determines whether the current state is the first state (step S402). Here, it is assumed that the integration unit 150 determines that the current state is the first state (Yes in step S402).

[0082] Then, the integration unit 150 calculates the first accumulated altitude H 1,i is the second cumulative altitude H 2,i It is determined whether or not it is equal to or greater than this (step S403).

[0083] The integration unit 150 calculates the first accumulated altitude H 1,i is the second cumulative altitude H 2,i If it is determined that the altitude is equal to or greater than the first cumulative altitude H 1,iOn the other hand, the integration unit 150 adopts the first accumulated altitude H 1,i is the second cumulative altitude H 2,i If it is determined that the second cumulative altitude H 2,i is adopted (step S405).

[0084] On the other hand, in step S402, if the integration unit 150 determines that the current state is the second state (No in step S402), it determines whether the initial second period has elapsed since the state changed from the first state to the second state (step S421).

[0085] When the integration unit 150 determines that the first second period has not elapsed since the first state changed to the second state (No in step S421), the integration unit 150 updates the first cumulative altitude H 1,i In other words, when the state determination unit 140 determines that the state has transitioned from the first state to the second state, the integration unit 150 adopts the first accumulated altitude until the first second period has elapsed.

[0086] On the other hand, when the integration unit 150 determines that the first second period has elapsed since the first state was changed to the second state (Yes in step S421), the integration unit 150 calculates the second cumulative altitude H 2,i is adopted (step S423).

[0087] After that, the integration unit 150 increments the clock cycle number i (step S406), and the process returns to step S402.

[0088] In addition, in step S421, the integration unit 150 may determine whether a predetermined period other than the initial second period has elapsed, instead of determining whether the initial second period has elapsed since switching from the first state to the second state.

[0089] As described above, according to the second embodiment, the integration unit 150 does not calculate the first cumulative altitude H1,i By configuring in this way, it is possible to fill the time lag between when the first state is switched to the second state and when the first ascent / descent difference value is calculated, and to provide the user with a more accurate estimate of the current altitude.

[0090] (Modification) In the above-described embodiment, the first calculation process and the second calculation process are executed in parallel. For example, in a noisy situation, the first cumulative altitude H 1,i The value of H increases, and the second cumulative altitude H 2,i Therefore, when the state determination unit 140 determines that the vehicle is in the second state, the integration unit 150 may be configured to interrupt the calculation by the first calculation unit 120. In this case, the second cumulative altitude H 2,i is the first cumulative altitude H 1,i When the first calculation unit 120 catches up with the first calculation unit 120, the calculation may be resumed.

[0091] Various embodiments and modifications of the present disclosure are possible without departing from the broad spirit and scope of the present disclosure. The above-described embodiments are for explaining the present disclosure and do not limit the scope of the present disclosure. That is, the scope of the present disclosure is indicated by the claims, not the embodiments. Various modifications made within the scope of the claims and the scope of the disclosure equivalent thereto are considered to be within the scope of the present disclosure. [Explanation of symbols]

[0092] 1. Wristwatch 10 CPU 20 RAM 21 Altitude change table 30 ROM 40 Barometric pressure sensor 50 A / D conversion circuit 60 Oscillator Circuit 70 frequency divider circuit 80 Input Devices 90 Display device 100 Cumulative altitude calculation device 110 Barometric pressure data acquisition unit 120 First Calculation Section 121 First smoothing filter 122 First lifting / lowering determination unit 123 First Accumulative Altitude Calculation Unit 130 Second Calculation Section 131 Second smoothing filter 132 Second lifting / lowering determination unit 133 Second Accumulative Altitude Calculation Unit 140 Status determination unit 150 Integration Department

Claims

1. an atmospheric pressure data acquisition unit that acquires atmospheric pressure data from a atmospheric pressure sensor; a first calculation unit that calculates a first cumulative altitude from the acquired air pressure data; a second calculation unit that calculates a second accumulated altitude from the acquired air pressure data; a state determination unit that determines whether a current state is a first state or a second state based on the acquired air pressure data; an integration unit that derives an accumulated altitude based on the first accumulated altitude and the second accumulated altitude in response to any of the determined states; A cumulative altitude calculation device comprising:

2. the first calculation unit includes a first smoothing filter that smoothes the acquired air pressure data with a first strength; the second calculation unit includes a second smoothing filter that smoothes the acquired air pressure data with a second strength that is greater than the first strength; the state determination unit determines that the current state is a first state when the noise included in the acquired atmospheric pressure data is less than a predetermined criterion, and determines that the current state is a second state when the noise included in the acquired atmospheric pressure data is more than the predetermined criterion.

2. The cumulative altitude calculation device according to claim 1 .

3. The first calculation unit: a first ascent / descent determination unit that determines an ascent / descent direction during a first period for each predetermined period from the air pressure data smoothed by the first smoothing filter; a first cumulative altitude calculation unit that calculates a difference value of ascent and descent in the predetermined period, and calculates the first cumulative altitude based on the determined direction of ascent and descent and the calculated difference value of ascent and descent, The second calculation unit is a second ascent / descent determination unit that determines a direction of ascent / descent in a second period longer than the first period at each predetermined cycle from the air pressure data smoothed by the second smoothing filter; and a second cumulative altitude calculation unit that calculates a difference value of ascent and descent in the predetermined period, and calculates the second cumulative altitude based on the determined direction of ascent and descent and the calculated difference value of ascent and descent.

3. The cumulative altitude calculation device according to claim 2 .

4. the first cumulative altitude calculation unit calculates the first cumulative altitude using the difference value of ascent and descent in the predetermined period if the difference value of ascent and descent in the predetermined period is greater than a first threshold value; the second cumulative altitude calculation unit calculates the second cumulative altitude using the difference value of ascent and descent in the predetermined period if the difference value of ascent and descent in the predetermined period is greater than a second threshold value that is smaller than the first threshold value; 4. The cumulative altitude calculation device according to claim 3.

5. When the state determination unit determines that the state is the first state, the integration unit adopts the larger of the first cumulative altitude and the second cumulative altitude, When the state determination unit determines that the state is the second state, the integration unit adopts the second cumulative altitude.

2. The cumulative altitude calculation device according to claim 1 .

6. When the state determination unit determines that the state has transitioned from the first state to the second state, the integration unit employs the first cumulative altitude until the second period has elapsed since the state was switched from the first state to the second state.

5. The cumulative altitude calculation device according to claim 3 or 4.

7. When the first ascent / descent determination unit determines that the direction of the ascent / descent is a continuous upward or downward direction, the first cumulative altitude calculation unit adds up the difference values ​​of the ascent / descent in the section determined to be the continuous upward or downward direction, and stores the sum as a continuous altitude change; When the first ascent / descent determination unit determines that the direction of ascent / descent has changed from an ascending direction to a descending direction, or from a descending direction to an ascending direction, the first cumulative altitude calculation unit resets the continuous altitude change, When the state determination unit determines that the state is the second state, the integration unit adopts the first cumulative altitude when the continuous altitude change exceeds a predetermined threshold.

5. The cumulative altitude calculation device according to claim 3 or 4.

8. When a section in which the first ascent / descent determination unit has determined that the ascent / descent direction is continuously in the direction toward flat ground exceeds a predetermined threshold, the first cumulative altitude calculation unit resets the continuous altitude change.

8. The cumulative altitude calculation device according to claim 7 .

9. When the state determination unit determines that the state is the second state, the integration unit suspends the calculation by the first calculation unit, and when the second cumulative altitude by the second calculation unit catches up with the first cumulative altitude by the first calculation unit, resumes the calculation by the first calculation unit.

2. The cumulative altitude calculation device according to claim 1 .

10. A method executed by an accumulated altitude calculation device, comprising: Obtaining atmospheric pressure data from an atmospheric pressure sensor Calculating a first cumulative altitude from the acquired air pressure data; Calculating a second accumulated altitude from the acquired air pressure data; determining whether the current state is a first state or a second state based on the acquired air pressure data; deriving a cumulative altitude based on the first cumulative altitude and the second cumulative altitude in response to any of the determined states; A cumulative altitude calculation method comprising the steps of:

11. Computer, an atmospheric pressure data acquisition unit that acquires atmospheric pressure data from a atmospheric pressure sensor; a first calculation unit that calculates a first cumulative altitude from the acquired air pressure data; a second calculation unit that calculates a second accumulated altitude from the acquired air pressure data; a state determination unit that determines whether a current state is a first state or a second state based on the acquired air pressure data; an integration unit that derives an accumulated altitude based on the first accumulated altitude and the second accumulated altitude in response to any of the determined states; A program characterized by causing the program to function as a

Citation Information

Patent Citations

  • Position estimation device, method for position estimation, and program

    JP2018155635A

  • Altitude measuring device

    JP2023020040A

  • Adaptive filtering for altimeters

    US20080051948A1

  • Analysing movement of a subject

    US20200300884A1

  • Digital barometric altimeter

    US4507962A