TWI652954B - Operation mode switching method and electronic device using the same - Google Patents

Operation mode switching method and electronic device using the same Download PDF

Info

Publication number
TWI652954B
TWI652954B TW107103295A TW107103295A TWI652954B TW I652954 B TWI652954 B TW I652954B TW 107103295 A TW107103295 A TW 107103295A TW 107103295 A TW107103295 A TW 107103295A TW I652954 B TWI652954 B TW I652954B
Authority
TW
Taiwan
Prior art keywords
air pressure
acceleration
processing unit
sensing
determination result
Prior art date
Application number
TW107103295A
Other languages
Chinese (zh)
Other versions
TW201933903A (en
Inventor
孫振翔
陳瑞和
林柏翰
Original Assignee
和碩聯合科技股份有限公司
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 和碩聯合科技股份有限公司 filed Critical 和碩聯合科技股份有限公司
Priority to TW107103295A priority Critical patent/TWI652954B/en
Application granted granted Critical
Publication of TWI652954B publication Critical patent/TWI652954B/en
Publication of TW201933903A publication Critical patent/TW201933903A/en

Links

Landscapes

  • Navigation (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

本發明的操作模式切換方法包含以下步驟:透過加速規單元感測第一加速度;由處理單元判斷以下條件是否成立:第一加速度≧加速度閾值,當判斷結果為是時,透過氣壓感測單元感測第一氣壓以及第二氣壓;由處理單元判斷以下條件是否成立:〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值,當判斷結果為是時執,電子裝置切換開啟一飛航模式。 The operation mode switching method of the present invention comprises the steps of: sensing a first acceleration through an acceleration gauge unit; and determining, by the processing unit, whether the following condition is true: a first acceleration ≧ acceleration threshold value, when the determination result is YES, the sense of the air pressure sensing unit Measuring the first air pressure and the second air pressure; determining, by the processing unit, whether the following condition is true: [(second air pressure - first air pressure) / (sensing the time difference between the first air pressure and the second air pressure)] ≧ pressure difference threshold, when judging The result is yes, the electronic device switches to open a flight mode.

Description

操作模式切換方法及使用此方法的電子裝置 Operation mode switching method and electronic device using the same

本發明係關於一種操作模式切換方法及使用此方法的電子裝置。 The present invention relates to an operation mode switching method and an electronic device using the same.

目前IoT(Internet of Things)的快速發展,小型電子裝置都具有無線上網與通訊的功能。然而根據國際美國聯邦航空局(Federal Aviation Administration,FAA)和一般航空公司法規,在飛機起飛和降落時禁止無線通訊設備進行通訊,以利飛航安全。換言之,在飛機起飛和降落時,為了飛行安全,應關閉電源或切換飛航模式(Flight mode),藉以關閉無線通訊功能。 At present, the rapid development of the Internet of Things (IoT), small electronic devices have the function of wireless Internet access and communication. However, according to the International Federal Aviation Administration (FAA) and general airline regulations, wireless communication equipment is prohibited from communicating when the aircraft takes off and land to facilitate flight safety. In other words, when the aircraft is taking off and landing, for flight safety, the power should be turned off or the flight mode should be switched to turn off the wireless communication function.

在目前市面上IoT產品的飛航模式切換,並須手動切換,或設定定時開關進行切換,使用方便性較低。當裝置離開身邊或忘記手動切換飛航模式時,此將產生相關的飛航風險。 In the current flight mode switching of IoT products on the market, it is necessary to manually switch, or set the time switch to switch, which is less convenient to use. This will create an associated flight risk when the device leaves or forgets to manually switch the flight mode.

本發明之主要目的在於提供一種操作模式切換方法,可提高電子裝置的使用方便性。 The main object of the present invention is to provide an operation mode switching method, which can improve the usability of the electronic device.

本發明之主要目的在於提供一種電子裝置,具有較佳的使用方便性。 The main object of the present invention is to provide an electronic device which has better usability.

本發明的操作模式切換方法係供電子裝置使用。其中,電子裝置包含處理單元、加速規單元、以及氣壓感測單元。操作模式切換方法包含以下步驟:透過加速規單元感測第一加速度;由處理單元判斷以下條件是否成立:第一加速度≧加速度閾值;當判斷結果為是時,透過氣壓感測單元感測第一氣壓以及第二氣壓;由處理單元判斷以下條件是否成立:〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值;當判斷結果為是時,電子裝置切換開啟一飛航模式。 The operating mode switching method of the present invention is for use with an electronic device. The electronic device includes a processing unit, an accelerometer unit, and a barometric sensing unit. The operation mode switching method includes the following steps: sensing the first acceleration through the acceleration gauge unit; determining, by the processing unit, whether the following condition is true: a first acceleration ≧ acceleration threshold; and when the determination result is YES, sensing the first through the air pressure sensing unit The air pressure and the second air pressure; the processing unit determines whether the following condition is true: [(second air pressure - first air pressure) / (sensing the time difference between the first air pressure and the second air pressure)] ≧ air pressure difference threshold; when the judgment result is yes When the electronic device switches to open a flight mode.

在本發明的實施例中,其中由處理單元判斷以下條件是否成立:第一加速度≧一加速度閾值,當判斷結果為否時,執行透過加速規單元感測第一加速度之步驟。 In an embodiment of the present invention, the processing unit determines whether the following condition is satisfied: the first acceleration 加速度 an acceleration threshold, and when the determination result is no, the step of sensing the first acceleration through the acceleration gauge unit is performed.

在本發明的實施例中,其中由處理單元判斷以下條件是否成立:〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值,當判斷結果為否時,執行透過加速規單元感測第一加速度之步驟。 In an embodiment of the present invention, wherein the processing unit determines whether the following condition is true: [(second air pressure - first air pressure) / (sensing time difference between the first air pressure and the second air pressure)] ≧ air pressure difference threshold, when judging When the result is no, the step of sensing the first acceleration through the acceleration gauge unit is performed.

在本發明的實施例中,由處理單元判斷第一加速度≧加速度閾值之條件是否成立之步驟後進一步包含:透過氣壓感測單元感測起飛氣壓;由處理單元判斷以下條件是否成立:起飛氣壓≧第一預定氣壓閾值,當判斷結果為是時,由處理單元判斷〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值之條件是否成立。 In the embodiment of the present invention, after the step of determining whether the condition of the first acceleration ≧ acceleration threshold is established by the processing unit, the method further comprises: sensing the takeoff air pressure through the air pressure sensing unit; and determining, by the processing unit, whether the following condition is satisfied: the takeoff pressure ≧ The first predetermined air pressure threshold, when the determination result is YES, the processing unit determines [(second air pressure - first air pressure) / (sense time difference between the first air pressure and the second air pressure)] that the condition of the air pressure difference threshold is established. .

在本發明的實施例中,由處理單元判斷以下條件是否成立:起飛氣壓≧第一預定氣壓閾值,當判斷結果為否時,執行透過加速規單元感測第一加速度之步驟。 In the embodiment of the present invention, the processing unit determines whether the following condition is satisfied: the takeoff air pressure ≧ the first predetermined air pressure threshold, and when the determination result is no, the step of sensing the first acceleration through the acceleration gauge unit is performed.

在本發明的實施例中,第一預定氣壓閾值為海拔高度465呎的氣壓值。 In an embodiment of the invention, the first predetermined air pressure threshold is a barometric pressure value at an altitude of 465 。.

在本發明的實施例中,由處理單元判斷〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值之條件是否成立之步驟後進一步包含:透過加速規單元感測水平加速度;由處理單元判斷以下條件是否成立:水平加速度≧水平加速度閾值,當判斷結果為是時,電子裝置切換開啟飛航模式。 In the embodiment of the present invention, the processing unit further determines that the condition of the (the second air pressure - the first air pressure) / (the time difference between the first air pressure and the second air pressure) is determined. : The horizontal acceleration is sensed by the acceleration gauge unit; the following condition is determined by the processing unit: the horizontal acceleration ≧ the horizontal acceleration threshold, and when the determination result is YES, the electronic device switches to the flight mode.

在本發明的實施例中,由處理單元判斷以下條件是否成立:水平加速度≧水平加速度閾值,當判斷結果為否時,執行透過該加速規單元感測第一加速度之步驟。 In the embodiment of the present invention, the processing unit determines whether the following condition is satisfied: a horizontal acceleration ≧ horizontal acceleration threshold, and when the determination result is no, performing a step of sensing the first acceleration through the acceleration gauge unit.

在本發明的實施例中,電子裝置切換開啟飛航模式之步驟之後進一步包含以下步驟:透過氣壓感測單元感測降落氣壓;由處理單元判斷以下條件是否成立:降落氣壓≦第二預定氣壓閾值;當判斷結果為是時,透過加速規單元感測第二加速度;由處理單元判斷以下條件是否成立:第 二加速度=0;當判斷結果為是時,電子裝置切換關閉飛航模式。 In an embodiment of the present invention, after the step of switching the electronic mode to the flying mode, the electronic device further includes the following steps: sensing the falling air pressure through the air pressure sensing unit; determining, by the processing unit, whether the following condition is true: the falling air pressure ≦ the second predetermined air pressure threshold When the judgment result is YES, the second acceleration is sensed through the acceleration gauge unit; the processing unit determines whether the following condition is true: The second acceleration=0; when the judgment result is YES, the electronic device switches to close the flight mode.

在本發明的實施例中,由處理單元判斷以下條件是否成立:降落氣壓≦第二預定氣壓閾值,當判斷結果為否時,執行透過氣壓感測單元感測降落氣壓之步驟。 In the embodiment of the present invention, the processing unit determines whether the following condition is established: the falling air pressure ≦ the second predetermined air pressure threshold, and when the determination result is no, the step of sensing the falling air pressure by the air pressure sensing unit is performed.

在本發明的實施例中由處理單元判斷以下條件是否成立:第二加速度=0,當判斷結果為否時,執行透過氣壓感測單元感測降落氣壓之步驟。 In the embodiment of the present invention, the processing unit determines whether the following condition is satisfied: the second acceleration=0, and when the determination result is no, the step of sensing the falling air pressure by the air pressure sensing unit is performed.

本發明的電子裝置包含加速規單元、氣壓感測單元、以及處理單元。加速規單元用以感測第一加速度。氣壓感測單元用以感測第一氣壓以及第二氣壓。處理單元耦接加速規單元及氣壓感測單元。處理單元判斷以下條件是否成立:第一加速度≧加速度閾值,當判斷結果為是時,處理單元判斷以下條件是否成立:〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值,當判斷結果為是時,處理單元產生切換開啟飛航模式指令。 The electronic device of the present invention includes an accelerometer unit, a barometric sensing unit, and a processing unit. The accelerometer unit is configured to sense the first acceleration. The air pressure sensing unit is configured to sense the first air pressure and the second air pressure. The processing unit is coupled to the accelerometer unit and the air pressure sensing unit. The processing unit determines whether the following condition is true: the first acceleration ≧ acceleration threshold, when the determination result is YES, the processing unit determines whether the following condition is true: [(second air pressure - first air pressure) / (sensing the first air pressure and the second The time difference of the air pressure)] ≧ ≧ air pressure difference threshold, when the judgment result is YES, the processing unit generates a command to switch the air navigation mode.

在本發明的實施例中,氣壓感測單元更用以感測起飛氣壓,處理單元更判斷以下條件是否成立:起飛氣壓≧第一預定氣壓閾值,當判斷結果為是時,氣壓感測單元感測第一氣壓以及第二氣壓,當判斷結果為否時,加速規單元感測第一加速度。 In the embodiment of the present invention, the air pressure sensing unit is further configured to sense the takeoff air pressure, and the processing unit further determines whether the following condition is met: the takeoff air pressure ≧ the first predetermined air pressure threshold, and when the determination result is yes, the air pressure sensing unit senses The first air pressure and the second air pressure are measured, and when the determination result is no, the acceleration gauge unit senses the first acceleration.

在本發明的實施例中,加速規單元更用以感測水平加速度,處理單元更判斷以下條件是否成立:水平加速度≧水平加速度閾值,當判斷結果為是時,處理單元產生切換開啟飛航模式指令,當判斷結果為否時,加速規單元感測第一加速度。 In an embodiment of the present invention, the acceleration gauge unit is further configured to sense a horizontal acceleration, and the processing unit further determines whether the following condition is met: a horizontal acceleration ≧ a horizontal acceleration threshold, and when the determination result is YES, the processing unit generates a switching-on flight mode. The instruction, when the determination result is no, the acceleration gauge unit senses the first acceleration.

在本發明的實施例中,電子裝置根據切換開啟飛航模式指令切換開啟飛航模式。 In an embodiment of the invention, the electronic device switches to turn on the flight mode according to the switch-on flight mode command.

在本發明的實施例中,處理單元在產生切換開啟飛航模式指令的同時,氣壓感測單元進一步感測降落氣壓,處理單元判斷以下條件是否成立:降落氣壓≦第二預定氣壓閾值,當判斷結果為是時,加速規單元感測第二加速度,當判斷結果為否時,氣壓感測單元感測降落氣壓。且處理單元判斷以下條件是否成立:第二加速度=0,當判斷結果為是時,處理 單元輸出切換關閉飛航模式指令,當判斷結果為否時,加速規單元感測第二加速度。 In an embodiment of the present invention, the processing unit further senses the falling air pressure while generating the switch-on flight mode command, and the processing unit determines whether the following condition is met: the falling air pressure ≦ the second predetermined air pressure threshold, when determining When the result is YES, the acceleration gauge unit senses the second acceleration, and when the determination result is no, the air pressure sensing unit senses the landing air pressure. And the processing unit determines whether the following condition is true: the second acceleration=0, when the judgment result is yes, the processing The unit output switching closes the flight mode command, and when the determination result is no, the acceleration gauge unit senses the second acceleration.

在本發明的實施例中,電子裝置根據該切換關閉飛航模式指令切換關閉飛航模式。 In an embodiment of the invention, the electronic device switches to close the flight mode according to the switching off the flight mode command.

100‧‧‧處理單元 100‧‧‧Processing unit

200‧‧‧加速規單元 200‧‧‧Acceleration unit

300‧‧‧氣壓感測單元 300‧‧‧Pneumatic sensing unit

400‧‧‧無線通訊模組 400‧‧‧Wireless communication module

900‧‧‧電子裝置 900‧‧‧Electronic devices

1000、1500、1700、1800、2000、2500、2700、2800、3000、4000、4500、5000、5500、6000‧‧‧步驟 1000, 1500, 1700, 1800, 2000, 2500, 2700, 2800, 3000, 4000, 4500, 5000, 5500, 6000‧‧ steps

圖1為本發明電子裝置之實施例方塊示意圖。 1 is a block diagram of an embodiment of an electronic device of the present invention.

圖2為本發明操作模式切換方法之不同實施例方塊示意圖。 2 is a block diagram showing different embodiments of an operation mode switching method according to the present invention.

圖3為本發明操作模式切換方法之實施例流程示意圖。 FIG. 3 is a schematic flowchart of an embodiment of an operation mode switching method according to the present invention.

圖4A及圖4B為本發明操作模式切換方法之不同實施例流程示意圖。 4A and FIG. 4B are schematic flowcharts of different embodiments of an operation mode switching method according to the present invention.

本文使用的”約”、”近似”或、”實質上”包括所述值和在本領域普通技術人員確定的特定值的可接受的偏差範圍內的平均值,考慮到所討論的測量和與測量相關的誤差的特定數量(即,測量系統的限制)。例如,”約”可以表示在所述值的一個或多個標準偏差內,或±30%、±20%、±10%、±5%內。再者,本文使用的“約”、”近似”或“實質上”可依光學性質、蝕刻性質或其它性質,來選擇較可接受的偏差範圍或標準偏差,而可不用一個標準偏差適用全部性質。 As used herein, "about," or "substantially" includes the values and average values within acceptable deviations of the particular values determined by one of ordinary skill in the art, in view of the measurements and The specific amount of error associated with the measurement (ie, the limits of the measurement system) is measured. For example, "about" can mean within one or more standard deviations of the stated value, or within ±30%, ±20%, ±10%, ±5%. Furthermore, as used herein, "about", "approximately" or "substantially" may select a more acceptable range or standard deviation depending on optical properties, etching properties or other properties, and may apply all properties without a standard deviation. .

除非另有定義,本文使用的所有術語(包括技術和科學術語)具有與本發明所屬領域的普通技術人員通常理解的相同的含義。將進一步理解的是,諸如在通常使用的字典中定義的那些術語應當被解釋為具有與它們在相關技術和本發明的上下文中的含義一致的含義,並且將不被解釋為理想化的或過度正式的意義,除非本文中明確地這樣定義。 All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs, unless otherwise defined. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having meanings consistent with their meaning in the context of the related art and the present invention, and will not be construed as idealized or excessive. Formal meaning, unless explicitly defined in this article.

本發明之操作模式切換方法係供電子裝置使用。電子裝置包含為平板電腦、筆記型電腦、桌上型電腦、智慧型手機、個人數位助理、電子書、數位相框、數位隨身聽、電子辭典、全球定位系統導航機等。 The operation mode switching method of the present invention is used for an electronic device. The electronic device includes a tablet computer, a notebook computer, a desktop computer, a smart phone, a personal digital assistant, an e-book, a digital photo frame, a digital walkman, an electronic dictionary, a GPS navigation machine, and the like.

如圖1所示的實施例,本發明的電子裝置900包含處理單元100、加速規單元200、以及氣壓感測單元300。處理單元100可為中央處理器(Central Processing Unit,CPU)。加速規單元200包含為重力感測器 (G-Sensor),用以感測第一加速度。處理單元100耦接加速規單元200。更具體而言,在一實施例中,處理單元100輸出一加速度感測指令,加速規單元200根據加速度感測指令感測第一加速度。 As shown in the embodiment of FIG. 1, the electronic device 900 of the present invention includes a processing unit 100, an accelerometer unit 200, and a barometric sensing unit 300. The processing unit 100 can be a Central Processing Unit (CPU). Acceleration gauge unit 200 is included as a gravity sensor (G-Sensor) to sense the first acceleration. The processing unit 100 is coupled to the accelerometer unit 200. More specifically, in an embodiment, the processing unit 100 outputs an acceleration sensing command, and the acceleration gauge unit 200 senses the first acceleration according to the acceleration sensing command.

更具體而言,飛機起飛時必須加速,因此可藉由第一加速度判斷電子裝置所在的飛機是否處於起飛狀態。以較佳實施例而言,參考一般民用航空器的技術資料,起飛時加速度為2m/s2以上,故加速度閾值較佳為2m/s2More specifically, the aircraft must be accelerated when it takes off, so it can be judged by the first acceleration whether the aircraft in which the electronic device is located is in a take-off state. In the preferred embodiment, with reference to the technical data of a general civil aircraft, the acceleration at takeoff is 2 m/s 2 or more, so the acceleration threshold is preferably 2 m/s 2 .

氣壓感測單元300包含基於微機電(MEMS)和壓阻式壓力感測技術的氣壓計,用以感測第一氣壓以及第二氣壓。處理單元100耦接氣壓感測單元300。更具體而言,在一實施例中,處理單元判斷以下條件是否成立:第一加速度≧加速度閾值,當判斷結果為是時,氣壓感測單元300根據氣壓感測指令感測第一氣壓以及第二氣壓。處理單元100判斷以下條件是否成立:〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值。 The air pressure sensing unit 300 includes a barometer based on microelectromechanical (MEMS) and piezoresistive pressure sensing technology for sensing the first air pressure and the second air pressure. The processing unit 100 is coupled to the air pressure sensing unit 300. More specifically, in an embodiment, the processing unit determines whether the following condition is met: a first acceleration ≧ acceleration threshold, and when the determination result is YES, the air pressure sensing unit 300 senses the first air pressure according to the air pressure sensing instruction and the first Two air pressures. The processing unit 100 determines whether or not the following conditions are satisfied: [(second air pressure - first air pressure) / (sensing time difference between the first air pressure and the second air pressure)] ≧ air pressure difference threshold.

當判斷結果為是時,處理單元100產生切換開啟飛航模式指令;當判斷結果為否時,處理單元100輸出加速度感測指令。電子裝置根據切換開啟飛航模式指令切換開啟飛航模式。 When the determination result is YES, the processing unit 100 generates a switch-on flight mode command; when the determination result is no, the processing unit 100 outputs an acceleration sensing command. The electronic device switches to turn on the flight mode according to the switch-on flight mode command.

更具體而言,因為可由氣壓計算高度,所以單位時間內氣壓的變化,實質上等同於單位時間內高度的變化。更具體而言,當氣壓差閾值為0,且〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值,表示高度增加中,亦即電子裝置位在處於爬升狀態的飛機中。 More specifically, since the height can be calculated from the air pressure, the change in the air pressure per unit time is substantially equivalent to the change in height per unit time. More specifically, when the air pressure difference threshold is 0, and [(second air pressure - first air pressure) / (sensing the time difference between the first air pressure and the second air pressure)] ≧ air pressure difference threshold, indicating a height increase, that is, The electronic device is located in an aircraft that is in a climbing state.

在一實施例中,氣壓感測單元更用以感測起飛氣壓。處理單元100更判斷以下條件是否成立:起飛氣壓≧第一預定氣壓閾值。 In an embodiment, the air pressure sensing unit is further configured to sense the takeoff air pressure. The processing unit 100 further determines whether the following condition is satisfied: the takeoff air pressure ≧ the first predetermined air pressure threshold.

其中當判斷結果為是時,氣壓感測單元感測第一氣壓以及第二氣壓。;當判斷結果為否時,加速規單元感測第一加速度。更具體而言, 當判斷結果為是時,處理單元100輸出雙氣壓感測指令,氣壓感測單元300根據雙氣壓感測指令感測第一氣壓以及第二氣壓。當判斷結果為否時,處理單元100輸出加速度感測指令,加速規單元200根據加速度感測指令感測第一加速度。更具體而言,為了確保人員及/或貨物的安全,航空器在起飛時機艙內的壓力會預先加壓。因此,可藉由起飛氣壓判斷電子裝置所在的飛機是否處於起飛狀態。以較佳實施例而言,參考一般民用航空器的技術資料,第一預定氣壓閾值為海拔高度465呎的氣壓值。 When the determination result is YES, the air pressure sensing unit senses the first air pressure and the second air pressure. When the judgment result is no, the acceleration gauge unit senses the first acceleration. More specifically, When the determination result is YES, the processing unit 100 outputs a dual air pressure sensing command, and the air pressure sensing unit 300 senses the first air pressure and the second air pressure according to the dual air pressure sensing command. When the determination result is no, the processing unit 100 outputs an acceleration sensing instruction, and the acceleration gauge unit 200 senses the first acceleration according to the acceleration sensing instruction. More specifically, in order to ensure the safety of personnel and/or cargo, the pressure in the cabin during the take-off will be pre-stressed. Therefore, whether the aircraft in which the electronic device is located can be judged to be in a take-off state by the takeoff air pressure. In the preferred embodiment, with reference to the technical data of a general civil aircraft, the first predetermined air pressure threshold is a barometric pressure value of 465 海拔 above sea level.

在一實施例中,加速規單元200更用以感測水平加速度。更具體而言,氣壓感測單元300與處理單元100耦接,其中氣壓感測單元300根據氣壓感測指令感測第一氣壓以及第二氣壓。處理單元100判斷以下條件是否成立:〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值,其中當判斷結果為是時,處理單元100輸出水平加速度感測指令;當判斷結果為否時,處理單元輸出加速度感測指令。 In an embodiment, the accelerometer unit 200 is further configured to sense a horizontal acceleration. More specifically, the air pressure sensing unit 300 is coupled to the processing unit 100, wherein the air pressure sensing unit 300 senses the first air pressure and the second air pressure according to the air pressure sensing command. The processing unit 100 determines whether the following condition is satisfied: [(second air pressure - first air pressure) / (sensing the time difference between the first air pressure and the second air pressure)] ≧ air pressure difference threshold, wherein when the determination result is YES, the processing unit 100 The horizontal acceleration sensing command is output; when the determination result is no, the processing unit outputs an acceleration sensing instruction.

加速規單元200進一步根據水平加速度感測指令感測水平加速度。處理單元判斷以下條件是否成立:水平加速度≧水平加速度閾值。 The accelerometer unit 200 further senses the horizontal acceleration based on the horizontal acceleration sensing command. The processing unit determines whether the following conditions are true: horizontal acceleration ≧ horizontal acceleration threshold.

其中當判斷結果為是時,處理單元100產生切換開啟飛航模式指令;當判斷結果為否時,加速規單元200感測第一加速度。在一實施例中,當判斷結果為否時,處理單元100輸出加速度感測指令,加速規單元200根據加速度感測指令感測第一加速度。 When the determination result is YES, the processing unit 100 generates a switching start flight mode command; when the determination result is no, the acceleration gauge unit 200 senses the first acceleration. In an embodiment, when the determination result is no, the processing unit 100 outputs an acceleration sensing instruction, and the acceleration gauge unit 200 senses the first acceleration according to the acceleration sensing instruction.

更具體而言,飛機爬升時除了高度變化外,會有水平方向的加速度,因此在量測到飛機有高度變化時,可進一步藉由水平加速度確認電子裝置所在的飛機是否處於爬升狀態。 More specifically, in addition to the height change, the aircraft has a horizontal acceleration, so when the aircraft is measured to have a height change, it is further confirmed by the horizontal acceleration whether the aircraft in which the electronic device is located is in a climbing state.

在一實施例中,處理單元100在產生切換開啟飛航模式指令的同時,氣壓感測單元300進一步感測降落氣壓。更具體而言,處理單元100在產生切換開啟飛航模式指令的同時,產生降落氣壓感測指令,氣壓感測單元300根據降落氣壓感測指令感測降落氣壓。處理單元100判斷以下條 件是否成立:降落氣壓≦第二預定氣壓閾值,當判斷結果為是時,加速規單元200感測第二加速度,當判斷結果為否時,氣壓感測單元再次感測降落氣壓。更具體而言,在一實施例中,當判斷結果為是時,處理單元100輸出第二加速度感測指令,加速規單元200根據第二加速度感測指令感測第二加速度;當判斷結果為否時,處理單元輸出降落氣壓感測指令,氣壓感測單元根據降落氣壓感測指令再次感測降落氣壓。 In an embodiment, the processing unit 100 further senses the falling air pressure while generating the switch-on flight mode command. More specifically, the processing unit 100 generates a landing air pressure sensing command while generating a switch-on flight mode command, and the air pressure sensing unit 300 senses the landing air pressure according to the landing air pressure sensing command. The processing unit 100 determines the following Whether the piece is established: the landing pressure ≦ second predetermined air pressure threshold, when the judgment result is YES, the acceleration gauge unit 200 senses the second acceleration, and when the determination result is no, the air pressure sensing unit senses the landing air pressure again. More specifically, in an embodiment, when the determination result is yes, the processing unit 100 outputs a second acceleration sensing instruction, and the acceleration gauge unit 200 senses the second acceleration according to the second acceleration sensing instruction; when the determination result is Otherwise, the processing unit outputs a falling air pressure sensing command, and the air pressure sensing unit senses the falling air pressure again according to the falling air pressure sensing command.

因為可由氣壓計算高度,所以感測降落氣壓,實質上等同於感測高度。更具體而言,飛機降落停妥時,地面高度為0,而降落地點的海拔高度小於一預設值,此預設值對應的氣壓即第二預定氣壓閾值。因此,可藉由降落氣壓判斷電子裝置所在的飛機是否處於降落停妥狀態。以較佳實施例而言,參考一般民用航空器的技術資料,第二預定氣壓閾值為海拔高度100呎的氣壓值。 Since the height can be calculated from the air pressure, the drop air pressure is sensed, which is substantially equivalent to the sense height. More specifically, when the landing of the aircraft is stopped, the ground height is 0, and the altitude of the landing site is less than a preset value, and the preset air pressure is the second predetermined air pressure threshold. Therefore, it is possible to determine whether the aircraft in which the electronic device is located is in a landing stop state by dropping the air pressure. In the preferred embodiment, with reference to the technical data of a general civil aircraft, the second predetermined air pressure threshold is a barometric pressure value of 100 海拔 above sea level.

加速規單元200根據第二加速度感測指令感測第二加速度後,處理單元判斷以下條件是否成立:第二加速度=0,其中當判斷結果為是時,處理單元100輸出切換關閉飛航模式指令,電子裝置根據切換關閉飛航模式指令切換關閉飛航模式;當判斷結果為否時,加速規單元200感測第二加速度。更具體而言,在一實施例中,當判斷結果為否時,處理單元100再次輸出第二加速度感測指令,使加速規單元200根據第二加速度感測指令感測第二加速度。 After the acceleration gauge unit 200 senses the second acceleration according to the second acceleration sensing command, the processing unit determines whether the following condition is satisfied: the second acceleration=0, wherein when the determination result is YES, the processing unit 100 outputs the switching off the flight mode command. The electronic device switches to close the flight mode according to the switching off the flight mode command; when the determination result is no, the acceleration gauge unit 200 senses the second acceleration. More specifically, in an embodiment, when the determination result is no, the processing unit 100 outputs the second acceleration sensing instruction again, so that the acceleration gauge unit 200 senses the second acceleration according to the second acceleration sensing instruction.

更具體而言,飛機降落停妥時,加速度為0,因此可藉由第二加速度判斷電子裝置所在的飛機是否處於降落停妥狀態。 More specifically, when the landing of the aircraft is stopped, the acceleration is zero, so that the second acceleration can be used to determine whether the aircraft in which the electronic device is located is in a landing stop state.

如圖2所示的實施例,本發明的電子裝置900進一步包含無線通訊模組400。無線通訊模組400包含為符合行動通訊標準(mobile communication technology standards)、IEEE 802.11標準、藍芽標準等的通訊模組。無線通訊模組400與處理單元100耦接,其中當電子裝置900切換開啟飛航模式,無線通訊模組400關閉,當電子裝置900切換關閉飛航模式,無線通訊模組400開啟。更具體而言,在此實施例中,電子裝置900藉由切換 開啟或離開飛航模式以關閉或開啟無線通訊模組400。然而在不同實施例中,電子裝置900可藉由切換開啟或離開飛航模式以對其他與處理單元耦接的模組進行關閉、開啟或功能調節。 As shown in the embodiment of FIG. 2, the electronic device 900 of the present invention further includes a wireless communication module 400. The wireless communication module 400 includes communication modules that conform to mobile communication technology standards, IEEE 802.11 standards, Bluetooth standards, and the like. The wireless communication module 400 is coupled to the processing unit 100. When the electronic device 900 switches to the flight mode, the wireless communication module 400 is turned off. When the electronic device 900 switches to the flight mode, the wireless communication module 400 is turned on. More specifically, in this embodiment, the electronic device 900 is switched by Turn on or leave the flight mode to turn the wireless communication module 400 off or on. However, in various embodiments, the electronic device 900 can be turned off, turned on, or functionally adjusted by switching the on or off flight mode to other modules coupled to the processing unit.

以下進一步說明,本發明的操作模式切換方法。如圖3所示的實施例流程圖,本發明的操作模式切換方法包含例如以下步驟。 The operation mode switching method of the present invention is further explained below. As shown in the flowchart of the embodiment shown in FIG. 3, the operation mode switching method of the present invention includes, for example, the following steps.

步驟1000,透過加速規單元感測第一加速度。更具體而言,係如圖1所示的實施例,透過與處理單元100耦接的加速規單元200感測電子裝置900的第一加速度。其中,加速規單元200包含為重力感測器(G-Sensor)。 In step 1000, the first acceleration is sensed through the acceleration gauge unit. More specifically, as shown in the embodiment of FIG. 1 , the first acceleration of the electronic device 900 is sensed through the accelerometer unit 200 coupled to the processing unit 100 . The accelerometer unit 200 is included as a gravity sensor (G-Sensor).

步驟1500,由處理單元判斷以下條件是否成立:第一加速度≧加速度閾值 (條件1) Step 1500: The processing unit determines whether the following condition is true: a first acceleration ≧ acceleration threshold (condition 1)

更具體而言,如圖1所示的實施例,處理單元100接收感測自加速規單元的第一加速度,並透過計算判斷上列條件1是否成立。其中,當判斷結果為是時執行次一步驟。在較佳實施例中,當判斷結果為否時執行步驟1000。 More specifically, as shown in the embodiment shown in FIG. 1, the processing unit 100 receives the first acceleration that senses the self-acceleration gauge unit, and determines whether the above-described condition 1 is established by calculation. Wherein, the next step is performed when the judgment result is YES. In the preferred embodiment, step 1000 is performed when the determination is negative.

進一步而言,飛機起飛時必須加速,因此透過步驟1000及步驟1500,可判斷電子裝置所在的飛機是否處於起飛狀態,並決定是否執行次一步驟。其中,參考一般民用航空器的技術資料,起飛時加速度為2m/s2以上,故加速度閾值較佳為2m/s2Further, the aircraft must be accelerated when taking off. Therefore, through steps 1000 and 1500, it can be determined whether the aircraft in which the electronic device is located is in a take-off state, and whether to perform the next step is determined. Among them, referring to the technical data of the general civil aircraft, the acceleration at takeoff is 2 m/s 2 or more, so the acceleration threshold is preferably 2 m/s 2 .

步驟2000,透過氣壓感測單元感測第一氣壓以及第二氣壓。更具體而言,係如圖1所示的實施例,透過與處理單元100耦接的氣壓感測單元300感測第一氣壓以及第二氣壓。 In step 2000, the first air pressure and the second air pressure are sensed by the air pressure sensing unit. More specifically, in the embodiment shown in FIG. 1 , the first air pressure and the second air pressure are sensed by the air pressure sensing unit 300 coupled to the processing unit 100 .

步驟2500,由處理單元判斷以下條件是否成立:〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值 (條件2) In step 2500, the processing unit determines whether the following condition is true: [(second air pressure - first air pressure) / (sensing the time difference between the first air pressure and the second air pressure)] ≧ air pressure difference threshold (condition 2)

更具體而言,如圖1所示的實施例,處理單元100接收感測自氣壓感測單元300的第一氣壓、第二氣壓、以及此兩氣壓的感測時間,並透過計算判斷上列條件2是否成立。當判斷結果為是時執行次一步驟。在較佳實施例中,當判斷結果為否時執行步驟1000。 More specifically, in the embodiment shown in FIG. 1 , the processing unit 100 receives the sensing time of the first air pressure, the second air pressure, and the two air pressures sensed from the air pressure sensing unit 300, and determines the above by calculation. Whether condition 2 is true. The next step is performed when the judgment result is YES. In the preferred embodiment, step 1000 is performed when the determination is negative.

進一步而言,因為可由氣壓計算高度,所以單位時間內氣壓的變化,實質上等同於單位時間內高度的變化。更具體而言,當氣壓差閾值為0,且〔(第二氣壓-第一氣壓)/(感測第一氣壓及第二氣壓的時間差)〕≧氣壓差閾值,表示高度增加中,亦即電子裝置位在處於爬升狀態的飛機中。因此透過步驟2000及步驟2500,可判斷電子裝置所在的飛機是否處於爬升狀態,並決定是否執行次一步驟。 Further, since the height can be calculated from the air pressure, the change in the air pressure per unit time is substantially equivalent to the change in height per unit time. More specifically, when the air pressure difference threshold is 0, and [(second air pressure - first air pressure) / (sensing the time difference between the first air pressure and the second air pressure)] ≧ air pressure difference threshold, indicating a height increase, that is, The electronic device is located in an aircraft that is in a climbing state. Therefore, through step 2000 and step 2500, it can be determined whether the aircraft where the electronic device is located is in a climbing state, and whether to perform the next step is determined.

步驟3000,電子裝置切換開啟一飛航模式。更具體而言,電子裝置可藉由切換開啟或離開飛航模式以關閉或開啟無線通訊模組。然而在不同實施例中,電子裝置可藉由切換開啟或離開飛航模式以對其他與處理單元耦接的模組進行關閉、開啟或功能調節。 In step 3000, the electronic device switches to activate a flight mode. More specifically, the electronic device can turn off or turn on the wireless communication module by switching on or off the flight mode. However, in various embodiments, the electronic device can be turned off, turned on, or functionally adjusted by switching the on or off flight mode to other modules coupled to the processing unit.

綜上所述,透過本發明的操作模式切換方法,電子裝置可在所處飛機起飛並爬升時自動切換開啟飛航模式,無須使用者手動設定,因此具有較佳的使用方便性。以不同角度觀之,飛機起飛時必然先加速而後爬升,因此本發明的操作模式切換方法以步驟1000及步驟1500判斷飛機是否加速,再以步驟2000及步驟2500判斷飛機是否爬升,作為使電子裝置切換開啟飛航模式的根據,不僅有效還可避免誤判而誤使電子裝置切換開啟飛航模式。 In summary, according to the operation mode switching method of the present invention, the electronic device can automatically switch to the flying mode when the aircraft is taken off and climbs, without manual setting by the user, so that the electronic device has better usability. Observing from different angles, the aircraft must first accelerate and then climb when taking off. Therefore, the operation mode switching method of the present invention determines whether the aircraft is accelerated by steps 1000 and 1500, and then judges whether the aircraft climbs in steps 2000 and 2500, as an electronic device. The basis for switching the flight mode is not only effective but also avoids misjudgment and causes the electronic device to switch to the flight mode.

如圖4A及圖4B所示的不同實施例流程圖,本發明的操作模式切換方法在步驟1500及步驟2000之間進一步包含步驟1700以及步驟1800。 As shown in FIG. 4A and FIG. 4B, the operation mode switching method of the present invention further includes step 1700 and step 1800 between step 1500 and step 2000.

步驟1700,透過氣壓感測單元感測起飛氣壓。更具體而言,係如圖1所示的實施例,透過與處理單元100耦接的氣壓感測單元300感測起飛氣壓。 At step 1700, the takeoff air pressure is sensed by the air pressure sensing unit. More specifically, as shown in the embodiment of FIG. 1, the air pressure sensing unit 300 coupled to the processing unit 100 senses the takeoff air pressure.

步驟1800,由處理單元判斷以下條件是否成立:起飛氣壓≧第一預定氣壓閾值 (條件3) In step 1800, it is determined by the processing unit whether the following conditions are met: takeoff pressure ≧ first predetermined air pressure threshold (condition 3)

更具體而言,如圖1所示的實施例,處理單元100接收感測自氣壓感測單元300的起飛氣壓,並透過計算判斷上列條件3是否成立。當判斷結果為是時執行次一步驟。在較佳實施例中,當判斷結果為否時執行步驟1000。 More specifically, as shown in the embodiment shown in FIG. 1, the processing unit 100 receives the takeoff air pressure sensed from the air pressure sensing unit 300, and determines whether the above listed condition 3 is established by calculation. The next step is performed when the judgment result is YES. In the preferred embodiment, step 1000 is performed when the determination is negative.

進一步而言,為了確保人員及/或貨物的安全,航空器在起 飛時機艙內的壓力會預先加壓。因此,透過步驟1700及步驟1800,可判斷電子裝置所在的飛機是否處於起飛狀態。換言之,為了判斷電子裝置所在的飛機是否處於起飛狀態,除了透過步驟1000及步驟1500外,還可加入步驟1700及步驟1800作為重複確認,以減少誤判(例如位處加速中的高速鐵路卻誤判為位處起飛中的飛機)。其中,參考一般民用航空器的技術資料,第一預定氣壓閾值較佳為海拔高度465呎的氣壓值。 Further, in order to ensure the safety of personnel and / or goods, the aircraft is starting The pressure in the flight space will be pre-pressurized. Therefore, through steps 1700 and 1800, it can be determined whether the aircraft in which the electronic device is located is in a take-off state. In other words, in order to determine whether the aircraft in which the electronic device is located is in a take-off state, in addition to the steps 1000 and 1500, steps 1700 and 1800 may be added as duplicate confirmations to reduce false positives (for example, the high-speed railway in the acceleration is misjudged as The plane is at the takeoff.) Wherein, referring to the technical data of the general civil aircraft, the first predetermined air pressure threshold is preferably an air pressure value of 465 海拔 above sea level.

如圖4A及圖4B所示的不同實施例流程圖,本發明的操作模式切換方法在步驟2500及步驟3000之間進一步包含步驟2700以及步驟2800。 As shown in the flowchart of the different embodiments shown in FIG. 4A and FIG. 4B, the operation mode switching method of the present invention further includes step 2700 and step 2800 between step 2500 and step 3000.

步驟2700,透過加速規單元感測水平加速度。更具體而言,係如圖1所示的實施例,透過與處理單元100耦接的加速規單元200感測水平加速度。 In step 2700, the horizontal acceleration is sensed through the acceleration gauge unit. More specifically, as shown in the embodiment of FIG. 1, the acceleration level unit 200 coupled to the processing unit 100 senses the horizontal acceleration.

步驟2800,由處理單元判斷以下條件是否成立:水平加速度≧水平加速度閾值 (條件4) Step 2800, the processing unit determines whether the following condition is true: horizontal acceleration ≧ horizontal acceleration threshold (condition 4)

更具體而言,如圖1所示的實施例,處理單元100接收感測自加速規單元200的水平加速度,並透過計算判斷上列條件4是否成立。當判斷結果為是時執行次一步驟。在較佳實施例中,當判斷結果為否時執行步驟1000。 More specifically, as in the embodiment shown in FIG. 1, the processing unit 100 receives the sensed horizontal acceleration of the self-acceleration gauge unit 200, and determines whether the above-described condition 4 is established by calculation. The next step is performed when the judgment result is YES. In the preferred embodiment, step 1000 is performed when the determination is negative.

進一步而言,飛機爬升時除了高度變化外,必然會有水平方向的加速度,因此在量測到飛機有高度變化時,可進一步藉由水平加速度確認電子裝置所在的飛機是否處於爬升狀態。換言之,為了判斷電子裝置所在的飛機是否處於爬升狀態,除了透過步驟2000及步驟2500外,還可加入步驟2700及步驟2800作為重複確認,以減少誤判(例如位處爬升中的高速高樓電梯卻誤判為位處爬升中的飛機)。 Further, in addition to the height change, the aircraft must have a horizontal acceleration, so when measuring the altitude change of the aircraft, it can be further confirmed by the horizontal acceleration whether the aircraft where the electronic device is located is in a climbing state. In other words, in order to determine whether the aircraft in which the electronic device is located is in a climbing state, in addition to step 2000 and step 2500, step 2700 and step 2800 may be added as duplicate confirmation to reduce misjudgment (for example, a high-speed high-rise elevator in a climbing position) Misjudged as the plane in the climb).

如圖4A及圖4B所示的不同實施例流程圖,本發明的操作模式切換方法在步驟3000之後進一步包含步驟4000、步驟4500、步驟5000、步驟5500、以及步驟6000。 As shown in FIG. 4A and FIG. 4B, the operation mode switching method of the present invention further includes step 4000, step 4500, step 5000, step 5500, and step 6000 after step 3000.

步驟4000,透過氣壓感測單元感測降落氣壓。更具體而言,係如圖1所示的實施例,透過與處理單元100耦接的氣壓感測單元300感測降落氣壓。 In step 4000, the landing pressure is sensed by the air pressure sensing unit. More specifically, as shown in the embodiment of FIG. 1, the air pressure sensing unit 300 coupled to the processing unit 100 senses the falling air pressure.

步驟4500,由處理單元判斷以下條件是否成立:降落氣壓≦第二預定氣壓閾值 (條件5) In step 4500, it is determined by the processing unit whether the following conditions are met: the falling pressure ≦ the second predetermined air pressure threshold (condition 5)

更具體而言,如圖1所示的實施例,處理單元100接收感測自氣壓感測單元300的降落氣壓,並透過計算判斷上列條件5是否成立。當判斷結果為是時執行次一步驟。在較佳實施例中,當判斷結果為否時執行步驟4000。 More specifically, as shown in the embodiment shown in FIG. 1, the processing unit 100 receives the sensed drop pressure from the air pressure sensing unit 300, and determines whether the above listed condition 5 is established by calculation. The next step is performed when the judgment result is YES. In the preferred embodiment, step 4000 is performed when the determination is negative.

進一步而言,飛機降落停妥時,地面高度為0,而降落地點的海拔高度小於一預設值,此預設值對應的氣壓即第二預定氣壓閾值。因此,透過步驟4000及步驟4500,可判斷電子裝置所在的飛機是否處於降落停妥狀態。其中,參考一般民用航空器的技術資料,第二預定氣壓閾值為海拔高度100呎的氣壓值。 Further, when the landing of the aircraft is stopped, the ground height is 0, and the altitude of the landing site is less than a preset value, and the preset air pressure is the second predetermined air pressure threshold. Therefore, through steps 4000 and 4500, it can be determined whether the aircraft where the electronic device is located is in a landing stop state. Wherein, referring to the technical data of the general civil aircraft, the second predetermined air pressure threshold is a pressure value of 100 海拔 above sea level.

步驟5000,透過加速規單元感測第二加速度。更具體而言,係如圖1所示的實施例,透過與處理單元100耦接的加速規單元200感測第二加速度。 In step 5000, the second acceleration is sensed through the acceleration gauge unit. More specifically, as shown in the embodiment of FIG. 1, the second acceleration is sensed by the accelerometer unit 200 coupled to the processing unit 100.

步驟5500,由處理單元判斷以下條件是否成立:第二加速度=0 (條件6) Step 5500, the processing unit determines whether the following condition is true: the second acceleration=0 (condition 6)

更具體而言,如圖1所示的實施例,處理單元100接收感測自加速規單元200的第二加速度,並透過計算判斷上列條件6是否成立。當判斷結果為是時執行次一步驟。在較佳實施例中,當判斷結果為否時執行步驟5000。 More specifically, as shown in the embodiment shown in FIG. 1, the processing unit 100 receives the second acceleration that senses the self-acceleration gauge unit 200, and determines whether the above-described condition 6 is established by calculation. The next step is performed when the judgment result is YES. In the preferred embodiment, step 5000 is performed when the determination is negative.

進一步而言,飛機降落停妥時,加速度為0,因此透過步驟5000及步驟5500,可判斷電子裝置所在的飛機是否處於降落停妥狀態。 Further, when the landing of the aircraft is stopped, the acceleration is 0. Therefore, through steps 5000 and 5500, it can be determined whether the aircraft where the electronic device is located is in a landing stop state.

步驟6000,該電子裝置切換關閉該飛航模式。綜上所述,透過步驟4000、步驟4500、步驟5000、步驟5500、以及步驟6000,本發明的操作模式切換方法可使電子裝置在所處飛機降落停妥時自動切換關閉飛航模式,無須使用者手動設定,更提升使用方便性。 In step 6000, the electronic device switches to turn off the flight mode. In summary, through the step 4000, the step 4500, the step 5000, the step 5500, and the step 6000, the operation mode switching method of the present invention can automatically switch the off-air mode when the aircraft is landed and stopped, without the user Manual setting for increased ease of use.

雖然前述的描述及圖式已揭示本發明之較佳實施例,必須瞭解到各種增添、許多修改和取代可能使用於本發明較佳實施例,而不會脫離如所附申請專利範圍所界定的本發明原理之精神及範圍。熟悉本發明所屬技術領域之一般技藝者將可體會,本發明可使用於許多形式、結構、佈置、比例、材料、元件和組件的修改。因此,本文於此所揭示的實施例應 被視為用以說明本發明,而非用以限制本發明。本發明的範圍應由後附申請專利範圍所界定,並涵蓋其合法均等物,並不限於先前的描述。 While the foregoing description of the preferred embodiments of the invention, the embodiments of the invention The spirit and scope of the principles of the invention. Modifications of many forms, structures, arrangements, ratios, materials, components and components can be made by those skilled in the art to which the invention pertains. Therefore, the embodiments disclosed herein should It is intended to be illustrative of the invention and not to limit the invention. The scope of the present invention is defined by the scope of the appended claims, and the legal equivalents thereof are not limited to the foregoing description.

Claims (17)

一種操作模式切換方法,供一電子裝置使用,其中該電子裝置包含一處理單元、一加速規單元、以及一氣壓感測單元,該操作模式切換方法包含以下步驟:透過該加速規單元感測一第一加速度;由該處理單元判斷以下條件是否成立:該第一加速度≧一加速度閾值;當判斷結果為是時,透過該氣壓感測單元感測一第一氣壓以及一第二氣壓;由該處理單元判斷以下條件是否成立:〔(該第二氣壓-該第一氣壓)/(感測該第一氣壓及該第二氣壓的時間差)〕≧一氣壓差閾值;當判斷結果為是時,透過該加速規單元感測一水平加速度;由該處理單元判斷以下條件是否成立:該水平加速度≧一水平加速度閾值;以及當判斷結果為是時,該電子裝置切換開啟一飛航模式。 An operating mode switching method for use in an electronic device, wherein the electronic device includes a processing unit, an accelerometer unit, and a barometric sensing unit, the operating mode switching method includes the step of: sensing one through the accelerometer unit The first acceleration is determined by the processing unit: the first acceleration is an acceleration threshold; when the determination result is YES, the first air pressure and the second air pressure are sensed by the air pressure sensing unit; The processing unit determines whether the following condition is true: [(the second air pressure - the first air pressure) / (sensing the time difference between the first air pressure and the second air pressure)] a pressure difference threshold; when the judgment result is yes, Sensing a horizontal acceleration through the acceleration gauge unit; determining, by the processing unit, whether the condition is: the horizontal acceleration ≧ a horizontal acceleration threshold; and when the determination result is YES, the electronic device switches to start a flight mode. 如請求項1所述之操作模式切換方法,其中由該處理單元判斷以下條件是否成立:該第一加速度≧該加速度閾值,當判斷結果為否時,執行該透過該加速規單元感測該第一加速度之步驟。 The operation mode switching method of claim 1, wherein the processing unit determines whether the following condition is satisfied: the first acceleration ≧ the acceleration threshold, and when the determination result is no, performing the transmitting the acceleration unit to sense the first An acceleration step. 如請求項1所述之操作模式切換方法,其中由該處理單元判斷以下條件是否成立:〔(該第二氣壓-該第一氣壓)/(感測該第一氣壓及該第二氣壓的時間差)〕≧該氣壓差閾值,當判斷結果為否時,執行該透過該加速規單元感測該第一加速度之步驟。 The operation mode switching method according to claim 1, wherein the processing unit determines whether the following condition is satisfied: [(the second air pressure - the first air pressure) / (sensing the time difference between the first air pressure and the second air pressure) And ≧ ≧ the air pressure difference threshold, when the determination result is no, the step of sensing the first acceleration through the acceleration gauge unit is performed. 如請求項1所述之操作模式切換方法,其中在由該處理單元判斷該第一加速度≧該加速度閾值之條件是否成立之步驟後進一步包含:透過該氣壓感測單元感測一起飛氣壓;由該處理單元判斷以下條件是否成立:該起飛氣壓≧一第一預定氣壓閾值,當判斷結果為是時,由該處理單元判斷〔(該第二氣壓-該第一氣壓)/(感測該第一氣壓及該第二氣壓的時間差)〕≧該氣壓差閾值之條件是否成立。 The operation mode switching method of claim 1, wherein after the step of determining, by the processing unit, the condition that the first acceleration ≧ the acceleration threshold is established, the method further comprises: sensing the flying air pressure through the air pressure sensing unit; The processing unit determines whether the following condition is met: the takeoff air pressure is a first predetermined air pressure threshold, and when the determination result is YES, the processing unit determines [(the second air pressure - the first air pressure) / (senses the first The time difference between one air pressure and the second air pressure)) 是否 Is the condition of the air pressure difference threshold established? 如請求項4所述之操作模式切換方法,其中由該處理單元判斷以下條件是否成立: 該起飛氣壓≧該第一預定氣壓閾值,當判斷結果為否時,執行該透過該加速規單元感測該第一加速度之步驟。 The operation mode switching method of claim 4, wherein the processing unit determines whether the following condition is true: The takeoff air pressure is the first predetermined air pressure threshold. When the determination result is no, the step of sensing the first acceleration through the acceleration gauge unit is performed. 如請求項4所述之操作模式切換方法,其中該第一預定氣壓閾值為海拔高度465呎的氣壓值。 The operation mode switching method of claim 4, wherein the first predetermined air pressure threshold is a gas pressure value of an altitude of 465 。. 如請求項1所述之操作模式切換方法,其中由該處理單元判斷以下條件是否成立:該水平加速度≧一水平加速度閾值,當判斷結果為否時,執行該透過該加速規單元感測該第一加速度之步驟。 The operation mode switching method of claim 1, wherein the processing unit determines whether the following condition is met: the horizontal acceleration ≧ a horizontal acceleration threshold, and when the determination result is no, performing the transmitting the acceleration metric unit to sense the first An acceleration step. 如請求項1所述之操作模式切換方法,其中在該電子裝置切換開啟該飛航模式之步驟後進一步包含以下步驟:透過該氣壓感測單元感測一降落氣壓;由該處理單元判斷以下條件是否成立:該降落氣壓≦一第二預定氣壓閾值;當判斷結果為是時,透過該加速規單元感測一第二加速度;由該處理單元判斷以下條件是否成立:該第二加速度=0;以及當判斷結果為是時,該電子裝置切換關閉該飛航模式。 The operation mode switching method of claim 1, wherein after the step of switching the electronic mode to start the flight mode, the method further includes the step of: sensing a drop air pressure through the air pressure sensing unit; and determining, by the processing unit, the following condition Whether it is established: the landing pressure is a second predetermined air pressure threshold; when the determination result is yes, a second acceleration is sensed through the acceleration gauge unit; and the processing unit determines whether the following condition is true: the second acceleration=0; And when the judgment result is YES, the electronic device switches to turn off the flight mode. 如請求項8所述之操作模式切換方法,其中由該處理單元判斷以下條件是否成立:該降落氣壓≦該第二預定氣壓閾值,當判斷結果為否時,執行該透過該氣壓感測單元感測一降落氣壓之步驟。 The operation mode switching method of claim 8, wherein the processing unit determines whether the following condition is satisfied: the landing pressure ≦ the second predetermined air pressure threshold, and when the determination result is no, performing the sensing through the air pressure sensing unit The step of measuring the drop pressure. 如請求項8所述之操作模式切換方法,其中由該處理單元判斷以下條件是否成立:該第二加速度=0,當判斷結果為否時,執行該透過該氣壓感測單元感測一降落氣壓之步驟。 The operation mode switching method of claim 8, wherein the processing unit determines whether the following condition is met: the second acceleration=0, and when the determination result is no, performing the sensing of a falling air pressure through the air pressure sensing unit The steps. 一種電子裝置,包含:一加速規單元,用以感測一第一加速度與一水平加速度;一氣壓感測單元,用以感測一第一氣壓以及一第二氣壓;以及一處理單元,耦接該加速規單元及該氣壓感測單元,該處理單元判斷以下條件是否成立:該第一加速度≧一加速度閾值,當判斷結果為是時,該處理單元判斷以下條件是否成立; 〔(該第二氣壓-該第一氣壓)/(感測該第一氣壓及該第二氣壓的時間差)〕≧一氣壓差閾值,當判斷結果為是時,該處理單元更判斷以下條件是否成立:該水平加速度≧一水平加速度閾值,當判斷結果為是時,該處理單元產生一切換開啟飛航模式指令。 An electronic device includes: an accelerometer unit for sensing a first acceleration and a horizontal acceleration; a barometric sensing unit for sensing a first air pressure and a second air pressure; and a processing unit coupled Connected to the accelerometer unit and the air pressure sensing unit, the processing unit determines whether the following condition is met: the first acceleration is an acceleration threshold, and when the determination result is yes, the processing unit determines whether the following condition is satisfied; [(the second air pressure - the first air pressure) / (sensing the time difference between the first air pressure and the second air pressure)] ≧ a pressure difference threshold, when the determination result is YES, the processing unit further determines whether the following conditions are Set up: the horizontal acceleration ≧ a horizontal acceleration threshold. When the judgment result is YES, the processing unit generates a switching start flight mode command. 如請求項11所述之電子裝置,其中:該氣壓感測單元更用以感測一起飛氣壓,該處理單元更判斷以下條件是否成立:該起飛氣壓≧一第一預定氣壓閾值,當判斷結果為是時,該氣壓感測單元感測該第一氣壓及該第二氣壓,當判斷結果為否時,該加速規單元感測該第一加速度。 The electronic device of claim 11, wherein: the air pressure sensing unit is further configured to sense a flying air pressure, and the processing unit further determines whether the following condition is met: the take-off air pressure is a first predetermined air pressure threshold, and the determination result is In the case of YES, the air pressure sensing unit senses the first air pressure and the second air pressure, and when the determination result is no, the acceleration gauge unit senses the first acceleration. 如請求項11所述之電子裝置,其中:當該處理單元判斷以下條件是否成立:該水平加速度≧一水平加速度閾值,而判斷結果為否時,該加速規單元感測該第一加速度。 The electronic device of claim 11, wherein: the processing unit senses whether the following condition is met: the horizontal acceleration is a horizontal acceleration threshold, and the determination result is no, the acceleration gauge unit senses the first acceleration. 如請求項11到13任一項所述之電子裝置,其中該第一預定氣壓閾值為海拔高度465呎的氣壓值。 The electronic device of any one of claims 11 to 13, wherein the first predetermined air pressure threshold is an air pressure value at an altitude of 465 。. 如請求項11到13任一項所述之電子裝置,其中該電子裝置根據該切換開啟飛航模式指令切換開啟一飛航模式。 The electronic device of any one of claims 11 to 13, wherein the electronic device switches to turn on a flight mode according to the switching on the flight mode command. 如請求項11到13任一項所述之電子裝置,其中:該處理單元在產生該切換開啟飛航模式指令的同時,該氣壓感測單元進一步感測一降落氣壓,該處理單元判斷以下條件是否成立:該降落氣壓≦一第二預定氣壓閾值,當判斷結果為是時,該加速規單元感測一第二加速度,當判斷結果為否時,該氣壓感測單元感測該降落氣壓;且該處理單元判斷以下條件是否成立:該第二加速度=0,當判斷結果為是時,該處理單元輸出一切換關閉飛航模式指令,當判斷結果為否時,該加速規單元感測該第二加速度。 The electronic device of any one of claims 11 to 13, wherein: the processing unit further senses a drop air pressure while generating the switch-on flight mode command, and the processing unit determines the following condition Is it established: the landing pressure is a second predetermined air pressure threshold, and when the determination result is YES, the acceleration gauge unit senses a second acceleration, and when the determination result is no, the air pressure sensing unit senses the falling air pressure; And the processing unit determines whether the following condition is met: the second acceleration=0, when the determination result is yes, the processing unit outputs a switching off flight mode command, and when the determination result is no, the acceleration gauge unit senses the Second acceleration. 如請求項16所述之電子裝置,其中該電子裝置根據該切換關閉飛航模式指令切換 關閉該飛航模式。 The electronic device of claim 16, wherein the electronic device switches according to the switching off the flight mode command Turn off the flight mode.
TW107103295A 2018-01-30 2018-01-30 Operation mode switching method and electronic device using the same TWI652954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107103295A TWI652954B (en) 2018-01-30 2018-01-30 Operation mode switching method and electronic device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107103295A TWI652954B (en) 2018-01-30 2018-01-30 Operation mode switching method and electronic device using the same

Publications (2)

Publication Number Publication Date
TWI652954B true TWI652954B (en) 2019-03-01
TW201933903A TW201933903A (en) 2019-08-16

Family

ID=66590580

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107103295A TWI652954B (en) 2018-01-30 2018-01-30 Operation mode switching method and electronic device using the same

Country Status (1)

Country Link
TW (1) TWI652954B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112489074A (en) * 2020-11-30 2021-03-12 北航(四川)西部国际创新港科技有限公司 Unmanned aerial vehicle behavior pattern classification method based on motion characteristics

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112073577B (en) * 2020-08-19 2021-08-24 深圳移航通信技术有限公司 Terminal control method and device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102396213A (en) 2009-04-16 2012-03-28 联邦快递公司 System and method for management of wireless devices aboard an aircraft
TW201436607A (en) 2012-12-21 2014-09-16 Chi Mei Comm Systems Inc System and method for managing a wireless communication device
CN105208216A (en) 2015-10-22 2015-12-30 小米科技有限责任公司 Control method and device for terminal, and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102396213A (en) 2009-04-16 2012-03-28 联邦快递公司 System and method for management of wireless devices aboard an aircraft
TW201436607A (en) 2012-12-21 2014-09-16 Chi Mei Comm Systems Inc System and method for managing a wireless communication device
CN105208216A (en) 2015-10-22 2015-12-30 小米科技有限责任公司 Control method and device for terminal, and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112489074A (en) * 2020-11-30 2021-03-12 北航(四川)西部国际创新港科技有限公司 Unmanned aerial vehicle behavior pattern classification method based on motion characteristics

Also Published As

Publication number Publication date
TW201933903A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
US20170336805A1 (en) Method an apparatus for controlling unmanned aerial vehicle to land on landing platform
US10113869B2 (en) Device for identifying change in vertical direction by using air pressure measurement value
TWI652954B (en) Operation mode switching method and electronic device using the same
CA2809951C (en) Stall management system
US11840349B2 (en) Aerial vehicle powering off method and device, and aerial vehicle
US10868906B2 (en) Mobile device transportation mode management device, system and method
CN110989668A (en) Aircraft, takeoff control method and system thereof, and landing control method and system thereof
US9317041B2 (en) Rotor moment feedback for stability augmentation
CN104898694B (en) Flying vehicles control method and aircraft
KR20140038495A (en) The rotor blade drone safety landing pack
CN103888591A (en) Method and system for managing wireless communication device under flight condition
US10728379B1 (en) Modifying wireless communication settings of a wireless communication device when the device is in an aircraft environment
US9156540B2 (en) Hard landing detection and orientation control
EP3094561B1 (en) Short landing warning
JP2019163028A (en) Methods and systems for controlling thrust produced by multiple engines on aircraft for assisting in certain flight conditions
US10906654B2 (en) Parachute landing assistant
US11956380B2 (en) Enabling and disabling wireless communication in electronic devices
WO2018187934A1 (en) Method for detecting state of unmanned aircraft, device, and unmanned aircraft
JP6683444B2 (en) Computer system and aircraft for determining aircraft approach
US10457416B2 (en) Parachute landing assistant
CN109581381A (en) Enhanced turbulent flow detection method based on the vertical load factor
US20100198432A1 (en) Stable approach monitor (sam) system
US7483773B1 (en) System and method for monitoring aircraft for excessive deviation from flight regime
EP3127818A1 (en) Computer system for determining approach of aircraft and aircraft
US20240267454A1 (en) Enabling and disabling wireless communication in electronic devices