TWI529609B - Portable electronic device and rotation detection method thereof - Google Patents

Portable electronic device and rotation detection method thereof Download PDF

Info

Publication number
TWI529609B
TWI529609B TW103116676A TW103116676A TWI529609B TW I529609 B TWI529609 B TW I529609B TW 103116676 A TW103116676 A TW 103116676A TW 103116676 A TW103116676 A TW 103116676A TW I529609 B TWI529609 B TW I529609B
Authority
TW
Taiwan
Prior art keywords
electronic device
portable electronic
display
angle
tilt angle
Prior art date
Application number
TW103116676A
Other languages
Chinese (zh)
Other versions
TW201543349A (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 TW103116676A priority Critical patent/TWI529609B/en
Publication of TW201543349A publication Critical patent/TW201543349A/en
Application granted granted Critical
Publication of TWI529609B publication Critical patent/TWI529609B/en

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Description

可攜式電子裝置及其旋轉偵測方法 Portable electronic device and rotation detecting method thereof

本發明係有關一種可攜式電子裝置,更特別有關一種可攜式電子裝置及其旋轉偵測方法,其可偵測±90度傾斜角時的旋轉方向。 The present invention relates to a portable electronic device, and more particularly to a portable electronic device and a rotation detecting method thereof, which can detect a rotation direction when a tilt angle of ±90 degrees.

可攜式電子裝置除了如其名稱般地具有可隨身攜帶的優點外,另一優點在於其顯示器所顯示的方向還可根據使用需求而改變。 In addition to the advantages that the portable electronic device has the advantage of being portable with it, another advantage is that the direction in which the display is displayed can also be changed according to the needs of use.

例如參照第1A圖所示,其顯示一可攜式電子裝置於旋轉角度為零度時其顯示器的顯示情形;其中,顯示器係以X'軸向作為垂直軸向而以Y'軸向作為水平軸向進行顯示。當可攜式電子裝置被順時針旋轉90度而形成如第1B圖所示時,為了方便使用者觀看顯示畫面,顯示器則改以Y'軸向作為垂直軸向而以X'軸向作為水平軸向進行顯示。如此,使用者可在使用不同應用程式時隨意選擇適當顯示方向來操作,藉以增加使用者經驗。 For example, as shown in FIG. 1A, it shows a display situation of a display of a portable electronic device when the rotation angle is zero degrees; wherein the display uses the X ' axis as the vertical axis and the Y ' axis as the horizontal axis. Show to show. When the portable electronic device is rotated 90 degrees clockwise to form as shown in FIG. 1B, in order to facilitate the user to view the display screen, the display is changed to the Y ' axis as the vertical axis and the X ' axis as the level. Display in the axial direction. In this way, the user can select an appropriate display direction to operate when using different applications, thereby increasing the user experience.

然而,受限於加速感測器的偵測限制,習知可攜式電子裝置並非在所有情況下皆能夠正確地偵測旋轉角度,例如當可攜式電子裝置的顯示面平行於空間水平面(horizontal plane)時,亦即可攜式電子裝置被放置於桌面或使用者以躺平姿勢使用時,由於加速感測器9的三個感測軸向(例如X'、Y'、Z')相同於習知可攜式電子裝置的三個維度軸向(例如X、Y、Z),如第2A及2B圖所示,因此當加速感測器9的Z軸感測方向垂直於空間水平面時則無法有效地偵測旋轉角度,造成顯示器之顯示內容便無法依據使用者的轉動來改變。 However, limited by the detection limit of the acceleration sensor, the conventional portable electronic device does not correctly detect the rotation angle in all cases, for example, when the display surface of the portable electronic device is parallel to the spatial level ( Horizontal plane), when the portable electronic device is placed on the table or when the user is used in a lying posture, due to the three sensing axes of the acceleration sensor 9 (for example, X ' , Y ' , Z ' ) The three dimensional axes (eg, X, Y, Z) are the same as those of the conventional portable electronic device, as shown in FIGS. 2A and 2B, so when the Z-axis sensing direction of the acceleration sensor 9 is perpendicular to the spatial level At this time, the rotation angle cannot be effectively detected, and the display content of the display cannot be changed according to the rotation of the user.

有鑑於此,本發明提出一種可攜式電子裝置及其旋轉偵測方法,其利用改變加速感測器(acceleration sensor)於Z軸向的加速度感測方 向,以解決習知可攜式電子裝置無法進行垂直傾斜角度之旋轉偵測的問題。 In view of this, the present invention provides a portable electronic device and a rotation detecting method thereof, which utilizes an acceleration sensor that changes an acceleration sensor in the Z-axis direction. To solve the problem that the conventional portable electronic device cannot perform the rotation detection of the vertical tilt angle.

本發明提供一種可攜式電子裝置及其旋轉偵測方法,其在使用者實際可操作的傾斜角度範圍內,均可根據旋轉方向來顯示影像內容。 The present invention provides a portable electronic device and a rotation detecting method thereof, which can display image content according to a rotation direction within a range of tilt angles that a user can actually operate.

本發明提供一種可攜式電子裝置,包含一顯示器、一加速感測器、一處理單元、一第一電路基板以及一第二電路基板。該顯示器具有一顯示面用以顯示影像。該加速感測器用以偵測三維加速度。該處理單元用以根據該三維加速度計算該可攜式電子裝置於三維空間上的一傾斜角。該第一電路基板具有一第一表面平行該顯示面,其中該顯示器電性連接於該第一電路基板。該第二電路基板電性連接於該第一電路基板且具有一第二表面,其中該第二表面與該第一表面間具有小於90度之一偏移夾角,該加速感測器設置於該第二表面。 The present invention provides a portable electronic device including a display, an acceleration sensor, a processing unit, a first circuit substrate, and a second circuit substrate. The display has a display surface for displaying images. The acceleration sensor is used to detect three-dimensional acceleration. The processing unit is configured to calculate an inclination angle of the portable electronic device in a three-dimensional space according to the three-dimensional acceleration. The first circuit substrate has a first surface parallel to the display surface, wherein the display is electrically connected to the first circuit substrate. The second circuit substrate is electrically connected to the first circuit substrate and has a second surface, wherein the second surface and the first surface have an offset angle of less than 90 degrees, and the acceleration sensor is disposed on the second surface The second surface.

本發明另提供一種可攜式電子裝置,包含一顯示器、一加速感測器以及一處理單元。該顯示器具有一顯示面用以顯示影像。該加速感測器具有複數個偵測陣列,用以偵測三維加速度,其中該複數個偵測陣列中之至少一者係與該顯示面間具有小於90度之一偏移夾角。該處理單元用以根據該三維加速度計算該可攜式電子裝置於三維空間上的一傾斜角。 The invention further provides a portable electronic device comprising a display, an acceleration sensor and a processing unit. The display has a display surface for displaying images. The acceleration sensor has a plurality of detection arrays for detecting three-dimensional acceleration, wherein at least one of the plurality of detection arrays has an offset angle of less than 90 degrees from the display surface. The processing unit is configured to calculate an inclination angle of the portable electronic device in a three-dimensional space according to the three-dimensional acceleration.

本發明另提供一種可攜式電子裝置之旋轉偵測方法,該可攜式電子裝置包含一顯示器、一電路基板與一加速感測器電性耦接於該電路基板,該加速感測器用以偵測三維加速度並具有至少一偵測陣列與該顯示器之一顯示面間具有小於90度之一偏移夾角。該旋轉偵測方法包含下列步驟:根據該三維加速度計算該可攜式電子裝置於三維空間上的一傾斜角;以該偏移夾角修正該傾斜角藉以產生一修正傾斜角或以該偏移夾角修正一預設範圍藉以產生一修正範圍;比較該傾斜角與該修正範圍或比較該修正傾斜角與該預設範圍;以及當該傾斜角位於該修正範圍內或該修正傾斜角位於該預設範圍內時,根據該三維加速度計算一旋轉方向。 The present invention further provides a method for detecting a rotation of a portable electronic device. The portable electronic device includes a display, a circuit substrate and an acceleration sensor electrically coupled to the circuit substrate, and the acceleration sensor is used for The three-dimensional acceleration is detected and has an offset angle between the detection array and one of the display surfaces of the display having an offset of less than 90 degrees. The rotation detecting method includes the following steps: calculating a tilt angle of the portable electronic device in three-dimensional space according to the three-dimensional acceleration; correcting the tilt angle by the offset angle to generate a corrected tilt angle or an angle of the offset Correcting a preset range to generate a correction range; comparing the tilt angle to the correction range or comparing the corrected tilt angle to the preset range; and when the tilt angle is within the correction range or the corrected tilt angle is at the preset In the range, a rotation direction is calculated based on the three-dimensional acceleration.

本發明實施例之可攜式電子裝置及其旋轉偵測方法中,由於該加速感測器係用以偵測與該顯示面相差一偏移夾角之一方向上的加速度,因此可解決習知技術中無法偵測±90度傾斜角時的旋轉方向的問題。此外,於習知軟體程式加入一修正角度(即修正該偏移夾角)即可適用於本發明之可攜式電子裝置,故本發明具有極佳的可適用性。 In the portable electronic device and the rotation detecting method thereof, the acceleration sensor is configured to detect an acceleration in a direction offset from the display surface by an offset angle, so that the conventional technology can be solved. The problem of the direction of rotation when the ±90 degree tilt angle cannot be detected. In addition, the conventional software program can be applied to the portable electronic device of the present invention by adding a correction angle (ie, correcting the offset angle), so that the present invention has excellent applicability.

為了讓本發明之上述和其他目的、特徵和優點能更明顯,下文將配合所附圖示,詳細說明如下。此外,於本發明之說明中,相同之構件係以相同之符號表示,於此合先述明。 The above and other objects, features, and advantages of the present invention will become more apparent from the accompanying drawings. In the description of the present invention, the same components are denoted by the same reference numerals and will be described first.

1、1'、1"‧‧‧可攜式電子裝置 1, 1 ' , 1 " ‧‧‧ portable electronic devices

10‧‧‧殼體 10‧‧‧shell

11‧‧‧顯示器 11‧‧‧ Display

11d‧‧‧顯示面 11d‧‧‧ display surface

12、12'‧‧‧加速感測器 12, 12 ' ‧‧‧ Acceleration Sensor

121‧‧‧第一偵測陣列 121‧‧‧First detection array

122‧‧‧第二偵測陣列 122‧‧‧Second detection array

123‧‧‧第三偵測陣列 123‧‧‧The third detection array

13‧‧‧處理單元 13‧‧‧Processing unit

14‧‧‧第一電路基板 14‧‧‧First circuit board

15‧‧‧第二電路基板 15‧‧‧Second circuit substrate

16‧‧‧記憶單元 16‧‧‧Memory unit

17‧‧‧電源控制IC 17‧‧‧Power Control IC

18‧‧‧固定件 18‧‧‧Fixed parts

9‧‧‧加速感測器 9‧‧‧Acceleration sensor

θ‧‧‧偏移夾角 Θ‧‧‧ offset angle

θt‧‧‧傾斜角 Θt‧‧‧ tilt angle

θts‧‧‧修正傾斜角 Θts‧‧‧corrected tilt angle

XYZ‧‧‧顯示器之軸向 XYZ‧‧‧Axis of display

X'Y'Z'‧‧‧加速感測器之軸向 X ' Y ' Z ' ‧‧‧ Acceleration of the axial direction of the sensor

aX、aY、aZ‧‧‧加速度 a X , a Y , a Z ‧ ‧ acceleration

Sc‧‧‧方向控制信號 Sc‧‧‧ direction control signal

S21~S27‧‧‧步驟 S 21 ~S 27 ‧‧‧Steps

第1A及1B圖顯示可攜式電子裝置不同旋轉角度之顯示影像之示意圖。 Figures 1A and 1B show schematic views of display images of portable electronic devices at different rotation angles.

第2A及2B圖顯示習知可攜式電子裝置之維度軸向與加速感測器之感測軸向相同。 2A and 2B show that the dimension of the conventional portable electronic device is the same as the sensing axis of the acceleration sensor.

第3A圖顯示本發明第一實施例之可攜式電子裝置之剖面示意圖。 FIG. 3A is a cross-sectional view showing the portable electronic device according to the first embodiment of the present invention.

第3B圖顯示本發明第一實施例之可攜式電子裝置之加速感測器之示意圖。 FIG. 3B is a schematic diagram showing an acceleration sensor of the portable electronic device according to the first embodiment of the present invention.

第4圖顯示本發明實施例之可攜式電子裝置之方塊圖。 FIG. 4 is a block diagram showing a portable electronic device according to an embodiment of the present invention.

第5A圖顯示本發明第二實施例之可攜式電子裝置之剖面示意圖。 FIG. 5A is a cross-sectional view showing a portable electronic device according to a second embodiment of the present invention.

第5B圖顯示本發明第二實施例之可攜式電子裝置之加速感測器之示意圖。 FIG. 5B is a schematic diagram showing an acceleration sensor of the portable electronic device according to the second embodiment of the present invention.

第6A圖顯示本發明實施例之可攜式電子裝置中傾斜角之預設範圍之示意圖。 FIG. 6A is a schematic diagram showing a preset range of tilt angles in the portable electronic device according to the embodiment of the present invention.

第6B圖顯示本發明實施例之可攜式電子裝置中傾斜角之修正範圍之示意圖。 FIG. 6B is a schematic diagram showing a correction range of a tilt angle in the portable electronic device according to the embodiment of the present invention.

第7A及7B圖顯示本發明實施例之可攜式電子裝置之旋轉偵測方法之流程圖。 7A and 7B are flowcharts showing a method for detecting rotation of a portable electronic device according to an embodiment of the present invention.

第8圖顯示本發明另一實施例之可攜式電子裝置之剖面 示意圖。 FIG. 8 is a cross-sectional view showing a portable electronic device according to another embodiment of the present invention. schematic diagram.

請參照第3A圖所示,其顯示本發明第一實施例之可攜式電子裝置之剖面示意圖。本實施例之可攜式電子裝置1例如可為一行動電話、一平板電腦、一個人數位助理、一行車紀錄器或一衛星導航裝置等,但並不以此為限。該可攜式電子裝置1包含一殼體10、一顯示器11、一加速感測器12、一處理單元13、一第一電路基板14、一第二電路基板15、一記憶單元16、一電源控制IC17及一固定件18;其中,該殼體10用以保護其內部各構件並供使用者握持,其材質及外型並無特定限制。 Referring to FIG. 3A, a cross-sectional view of the portable electronic device according to the first embodiment of the present invention is shown. The portable electronic device 1 of the present embodiment can be, for example, a mobile phone, a tablet computer, a number of person assistants, a line of vehicle recorders, or a satellite navigation device, but is not limited thereto. The portable electronic device 1 includes a housing 10, a display 11, an acceleration sensor 12, a processing unit 13, a first circuit substrate 14, a second circuit substrate 15, a memory unit 16, and a power supply. The control unit 17 and the fixing member 18 are used for protecting the internal components and being held by the user. The material and appearance thereof are not particularly limited.

該第一電路基板14及該第二電路基板15例如可為硬式印刷電路板,其上具有相互耦接之電路走線用以往返傳遞電信號;例如該加速感測器12、處理單元13、記憶單元16及電源控制IC17即透過所述走線電性耦接。該第二電路基板15例如透過一第一端固定於該第一電路基板14之一表面而一第二端遠離該第一電路基板14以與該第一電路基板14間形成一偏移夾角θ,例如第3A圖顯示該第二電路基板15設置於該第一電路基板14之一下表面。其它實施例中,該第二電路基板15亦可固定於該第一電路基板14之一上表面。為了保持該第二電路基板15與該第一電路基板14間之該偏移夾角θ,可另利用一固定件18用以連接於該第二電路基板15之該第二端與該第一電路基板14間,該固定件18例如可為一可撓性印刷電路板(FPCB),用以電性連接該第一電路基板14與該第二電路基板15,但並不以此為限。只要能夠使該第二電路基板15與該第一電路基板14間保持該偏移夾角θ,亦可利用其他固定件或固定方式將該第二電路基板15固定於該第一電路基板14上而使該第一電路基板14與該第二電路基板15透過第一端電性連接,並無特定限制。一實施例中,該偏移夾角θ例如可介於15度至35度間,以使該可攜式電子裝置1之一顯示面11d於大致平行空間水平面(horizontal plane)時仍能夠正確偵測旋轉角度;其中,該偏移夾角θ例如可根據該加速感測器12本身所能偵測之傾斜角度範圍而定,並不限於本發明說明中所揭示者。該第一電路基板14之上表面及下表面大致平行該顯示面11d。 The first circuit substrate 14 and the second circuit substrate 15 can be, for example, a hard printed circuit board having circuit traces coupled to each other for transmitting and receiving electrical signals; for example, the acceleration sensor 12, the processing unit 13, The memory unit 16 and the power control IC 17 are electrically coupled through the trace. The second circuit substrate 15 is fixed to a surface of the first circuit substrate 14 through a first end, and a second end is away from the first circuit substrate 14 to form an offset angle θ with the first circuit substrate 14 . For example, FIG. 3A shows that the second circuit substrate 15 is disposed on a lower surface of the first circuit substrate 14. In other embodiments, the second circuit substrate 15 may also be fixed to an upper surface of the first circuit substrate 14 . In order to maintain the offset angle θ between the second circuit substrate 15 and the first circuit substrate 14, a fixing member 18 is additionally used for connecting to the second end of the second circuit substrate 15 and the first circuit. The fixing member 18 is, for example, a flexible printed circuit board (FPCB) for electrically connecting the first circuit substrate 14 and the second circuit substrate 15, but is not limited thereto. As long as the offset angle θ can be maintained between the second circuit substrate 15 and the first circuit substrate 14 , the second circuit substrate 15 can be fixed to the first circuit substrate 14 by using other fixing members or fixing methods. The first circuit board 14 and the second circuit board 15 are electrically connected to each other through the first end, and are not particularly limited. In an embodiment, the offset angle θ can be, for example, between 15 degrees and 35 degrees, so that the display surface 11d of the portable electronic device 1 can still be correctly detected when the display surface 11d is substantially parallel to the horizontal plane. The angle of rotation θ can be determined, for example, according to the range of tilt angles that the acceleration sensor 12 itself can detect, and is not limited to those disclosed in the description of the present invention. The upper surface and the lower surface of the first circuit substrate 14 are substantially parallel to the display surface 11d.

該顯示器11例如為一液晶顯示面板(LCD display panel)、一 有機發光二極體顯示面板(OLED display panel)、一發光二極體顯示面板(LED display panel)或其他顯示面板係用以顯示一影像。該顯示器11具有改變該影像之顯示方向之功能。該顯示器11電性連接於該第一電路基板14,且具有該顯示面11d,使用者位於該顯示面11d前方觀看該顯示器11所顯示的影像。根據使用者握持該可攜式電子裝置1之方向,該顯示器11可改變影像之一顯示方向。為方便說明,此處定義該可攜式電子裝置1之一長度方向為X'方向、一寬度方向為Y'方向而該顯示面11d之一法線方向為Z'方向。必須說明的是,所述長度方向可大於、小於或等於該寬度方向,並無特定限制。 The display 11 is, for example, a liquid crystal display panel (LCD display panel), an OLED display panel, an LED display panel, or other display panel for displaying a image. The display 11 has a function of changing the display direction of the image. The display 11 is electrically connected to the first circuit substrate 14 and has the display surface 11d. The user views the image displayed on the display 11 in front of the display surface 11d. According to the direction in which the user holds the portable electronic device 1, the display 11 can change the display direction of one of the images. For convenience of description, one of the portable electronic devices 1 is defined herein to have a longitudinal direction of X ' direction, a width direction of Y ' direction, and a normal direction of the display surface 11d of the Z ' direction. It should be noted that the length direction may be greater than, less than or equal to the width direction, and there is no particular limitation.

該加速感測器12可設置於該第二電路基板15之一上表面或一下表面,用以偵測三維加速度;其中,該第二電路基板15之該上表面及該下表面大致彼此平行。如前所述,由於該第二電路基板15與該第一電路基板14間具有該偏移夾角θ,該第二電路基板15之上下表面與該第一電路基板14之上下表面及該顯示面11d間同樣具有該偏移夾角θ。一種實施例中,該加速感測器12例如可使用型號為Bosch BMA250E之一重力感測器(G sensor),但並不以此為限。 The acceleration sensor 12 can be disposed on an upper surface or a lower surface of the second circuit substrate 15 for detecting a three-dimensional acceleration; wherein the upper surface and the lower surface of the second circuit substrate 15 are substantially parallel to each other. As described above, the offset angle θ between the second circuit substrate 15 and the first circuit substrate 14 , the upper surface of the second circuit substrate 15 and the upper surface of the first circuit substrate 14 and the display surface The offset angle θ is also present between the 11d. In one embodiment, the acceleration sensor 12 can be, for example, a Bosch BMA250E gravity sensor (G sensor), but is not limited thereto.

例如參照第3B圖所示,其顯示本發明第一實施例之可攜式電子裝置之加速感測器之示意圖。請同時參考第3A與3B圖,本實施例之加速感測器12包含一第一感測陣列121、一第二感測陣列122及一第三感測陣列123分別用以感測並輸出三個維度中其中一個維度的加速度值;其中,該第一感測陣列121、第二感測陣列122及第三感測陣列123之內部結構已為習知,故於此不再贅述。本實施例中,為說明的目的,定義該第一感測陣列121感測X方向之加速度、該第二感測陣列122感測Y方向之加速度而該第三感測陣列123感測Z方向之加速度;其中,該X方向、Y方向及Z方向兩兩互相垂直。因此,當該加速感測器12設置於該第二電路基板15上且該可攜式電子裝置1置放於一平面上使顯示面11d於大致平行空間水平面時,該第一感測陣列121與該第三感測陣列123偏移該偏移夾角θ,亦即X方向及Z方向分別與X'方向及Z'方向偏移該偏移夾角θ而Y方向與Y'方向平行(如第3A圖所示)。 For example, referring to FIG. 3B, a schematic diagram of an acceleration sensor of the portable electronic device according to the first embodiment of the present invention is shown. Referring to FIG. 3A and FIG. 3B, the acceleration sensor 12 of the embodiment includes a first sensing array 121, a second sensing array 122, and a third sensing array 123 for sensing and outputting three, respectively. The internal values of the first sensing array 121, the second sensing array 122, and the third sensing array 123 are well known, and thus are not described herein. In this embodiment, for the purpose of description, the first sensing array 121 is configured to sense the acceleration in the X direction, the second sensing array 122 senses the acceleration in the Y direction, and the third sensing array 123 senses the Z direction. The acceleration; wherein the X direction, the Y direction, and the Z direction are perpendicular to each other. Therefore, when the acceleration sensor 12 is disposed on the second circuit substrate 15 and the portable electronic device 1 is placed on a plane such that the display surface 11d is substantially parallel to the horizontal plane, the first sensing array 121 The offset angle θ is offset from the third sensing array 123, that is, the X direction and the Z direction are offset from the X direction and the Z direction by the offset angle θ, and the Y direction is parallel to the Y direction (eg, Figure 3A shows).

該處理單元13,例如可為一中央處理器(CPU),可設置於該 第一電路基板14之上表面或下表面,用以根據該加速感測器12所偵測之三維加速度計算該可攜式電子裝置1於三維空間上的一傾斜角。例如,假設該第一感測陣列121偵測該X方向之一第一加速度aX、該第二感測陣列122偵測該Y方向之一第二加速度aY且第三感測陣列123偵測該Z方向之一第三加速度aZ,該處理單元13例如可利用式(1)來計算傾斜角θt;本發明說明中,該傾斜角θt係定義為該顯示面11d之Z'方向與空間水平面之夾角。 The processing unit 13 can be, for example, a central processing unit (CPU), and can be disposed on the upper surface or the lower surface of the first circuit substrate 14 for calculating the three-dimensional acceleration detected by the acceleration sensor 12 The tilt angle of the portable electronic device 1 in three-dimensional space. For example, it is assumed that the first sensing array 121 detects one of the first accelerations a X in the X direction, the second sensing array 122 detects the second acceleration a Y in the Y direction, and the third sensing array 123 detects The third acceleration a Z in the Z direction is measured, and the processing unit 13 can calculate the tilt angle θt using, for example, the equation (1). In the description of the present invention, the tilt angle θt is defined as the Z direction of the display surface 11d. The angle between the horizontal planes of the space.

該記憶單元16及該電源控制IC 17可設置於該第一電路基板14之上表面或下表面上,端視該第一電路基板14上之走線而定。該電源控制IC 17用以控制提供至該顯示器11、加速感測器12、處理單元13及記憶單元16之電力。該記憶單元16用以儲存可操作傾斜角資訊、可操作加速度範圍資訊、可操作旋轉角度資訊以及其他旋轉運作時所需的資訊。該顯示器11、加速感測器12、處理單元13、記憶單元16及電源控制IC 17透過信號線或匯流排(即走線)彼此電性耦接,如第4圖所示。可以了解的是,第4圖中各元件的連接方式僅為例示,並非用以限定本發明。 The memory unit 16 and the power control IC 17 can be disposed on the upper surface or the lower surface of the first circuit substrate 14, depending on the trace on the first circuit substrate 14. The power control IC 17 is used to control the power supplied to the display 11, the acceleration sensor 12, the processing unit 13, and the memory unit 16. The memory unit 16 is configured to store the operable tilt angle information, the operable acceleration range information, the operable rotation angle information, and other information required for the rotation operation. The display 11, the acceleration sensor 12, the processing unit 13, the memory unit 16, and the power control IC 17 are electrically coupled to each other through signal lines or bus bars (ie, traces), as shown in FIG. It is to be understood that the connection of the various elements in FIG. 4 is merely illustrative and is not intended to limit the invention.

相較於第2A圖與第2B圖中的習知可攜式電子裝置而言,本實施例中當可攜式電子裝置1放置於桌面或使用者以躺平姿勢使用時,亦即當該顯示器11之顯示面11d之法線方向Z'平行於空間鉛直線時,由於該加速感測器12之該第三感測陣列123感測加速度aZ之Z方向與Z'方向相差該偏移夾角θ,因此仍能夠有效地偵測旋轉角度,使得顯示器11之顯示影像仍可依據該所偵測到的旋轉角度來改變顯示方向。 Compared with the conventional portable electronic device in FIG. 2A and FIG. 2B , in the embodiment, when the portable electronic device 1 is placed on the desktop or the user is used in a lying posture, that is, when When the normal direction Z of the display surface 11 d of the display 11 is parallel to the space lead straight line, the third sensing array 123 of the acceleration sensor 12 senses the offset of the Z direction of the acceleration a Z from the Z direction. The angle θ is still able to effectively detect the rotation angle, so that the display image of the display 11 can still change the display direction according to the detected rotation angle.

請參照第5A圖所示,其顯示本發明第二實施例之可攜式電子裝置1'之剖面示意圖。本實施例與第一實施例之差異在於,第二實施例中,一加速感測器12'與該處理單元13、記憶單元16及電源控制IC 17設置於該第一電路基板14之相同或不同表面。為了達成與第一實施例的相同功效,該加速感測器12'中感測陣列之配置不同於該加速感測器12。 Referring to FIG. 5A, there is shown a cross-sectional view of a portable electronic device 1 ' according to a second embodiment of the present invention. The difference between this embodiment and the first embodiment is that, in the second embodiment, an acceleration sensor 12 ′ is the same as the processing unit 13 , the memory unit 16 and the power control IC 17 disposed on the first circuit substrate 14 or Different surfaces. In order to achieve the same efficacy as the first embodiment, the configuration of the sensing array in the acceleration sensor 12 ' is different from that of the acceleration sensor 12.

請參照第5B圖所示,其顯示本發明第二實施例之可攜式電子裝置之加速感測器之示意圖。該加速感測器12'同樣包含該第一偵測陣列121、該第二偵測陣列122及該第三偵測陣列123。惟本實施例中,該第三 偵測陣列123並非與該第一偵測陣列121及該第二偵測陣列122相互垂直,該第三偵測陣列123與該第一偵測陣列121及該第二偵測陣列122所位於之設置平面間具有一偏移夾角θ(θ≠90度)。藉此,該可攜式電子裝置1'可不另外形成一第二電路基板15,該加速感測器12'係直接設置於該第一電路基板14之上表面或下表面。因此,當該加速感測器12'設置於該第一電路基板14上時,該第一偵測陣列121及該第二偵測陣列122平行於該顯示面11d而該第三偵測陣列123與該顯示面11d間具有該偏移夾角θ。 Please refer to FIG. 5B, which shows a schematic diagram of an acceleration sensor of the portable electronic device according to the second embodiment of the present invention. The acceleration sensor 12 ′ also includes the first detection array 121 , the second detection array 122 , and the third detection array 123 . In this embodiment, the third detection array 123 is not perpendicular to the first detection array 121 and the second detection array 122, and the third detection array 123 and the first detection array 121 and the The second detection array 122 has an offset angle θ (θ ≠ 90 degrees) between the set planes. Therefore, the portable electronic device 1 may not separately form a second circuit substrate 15 , and the acceleration sensor 12 is directly disposed on the upper surface or the lower surface of the first circuit substrate 14 . Therefore, when the acceleration sensor 12 ′ is disposed on the first circuit substrate 14 , the first detection array 121 and the second detection array 122 are parallel to the display surface 11 d and the third detection array 123 The offset angle θ is provided between the display surface 11d.

上述第一及第二實施例中,該處理單元13係直接根據該加速感測器12之三維加速度,例如包含該第一加速度aX、第二加速度aY及第三加速度aZ,以式(1)計算一傾斜角θt,因此所求出之該傾斜角θt同時包含了該偏移夾角θ的效果。因此,該處理單元13可依該偏移夾角θ修正該傾斜角θt以求得一修正傾斜角(θt±θ),其表示該顯示面11d之實際傾斜角。 In the first and second embodiments, the processing unit 13 directly includes the first acceleration a X , the second acceleration a Y , and the third acceleration a Z according to the three-dimensional acceleration of the acceleration sensor 12 . (1) A tilt angle θt is calculated, so that the obtained tilt angle θt simultaneously includes the effect of the offset angle θ. Therefore, the processing unit 13 can correct the tilt angle θt according to the offset angle θ to obtain a corrected tilt angle (θt±θ), which represents the actual tilt angle of the display surface 11d.

此外,該加速感測器12(12')並非於所有狀態均能夠正確計算三維加速度,例如Z方向垂直於空間水平面時。因此,上述第一及第二實施例中,該處理單元13另可判斷所求出之傾斜角θt或修正傾斜角(θt±θ)是否位於可操作角度範圍內以避免誤動作。例如,當該處理單元13係判斷該修正傾斜角(θt±θ)時,由於該修正傾斜角(θt±θ)已不包含該偏移夾角θ之效果,該處理單元13判斷該修正傾斜角(θt±θ)是否位於一預設範圍內;其中,該預設範圍可為該加速感測器12本身可偵測之傾斜角範圍並可預先儲存於該記憶單元16中。此外,當該處理單元13係判斷該傾斜角θt時,由於該傾斜角θt包含該偏移夾角θ之效果,該處理單元13判斷該傾斜角θt是否位於一修正範圍內;其中,該修正範圍為以該偏移夾角θ修正該預設範圍而得。本發明中,該修正範圍及該預設範圍用以分別界定該傾斜角θt及該修正傾斜角(θt±θ)之一可操作角度;其中,該預設範圍不涵蓋±90度傾斜角而該修正範圍涵蓋±90度傾斜角。 In addition, the acceleration sensor 12 (12 ' ) is not capable of correctly calculating the three-dimensional acceleration in all states, for example, when the Z direction is perpendicular to the spatial level. Therefore, in the first and second embodiments, the processing unit 13 can further determine whether the obtained inclination angle θt or the corrected inclination angle (θt±θ) is within the operable angle range to avoid malfunction. For example, when the processing unit 13 determines the corrected tilt angle (θt±θ), since the corrected tilt angle (θt±θ) does not include the effect of the offset angle θ, the processing unit 13 determines the corrected tilt angle. (θt±θ) is within a predetermined range; wherein the preset range may be a range of tilt angles detectable by the acceleration sensor 12 itself and may be pre-stored in the memory unit 16. In addition, when the processing unit 13 determines the tilt angle θt, since the tilt angle θt includes the effect of the offset angle θ, the processing unit 13 determines whether the tilt angle θt is within a correction range; wherein the correction range It is obtained by correcting the preset range with the offset angle θ. In the present invention, the correction range and the preset range are respectively used to define one of the tilt angle θt and the correctable tilt angle (θt±θ); wherein the preset range does not cover the ±90 degree tilt angle This correction range covers ±90 degree tilt angle.

參照第6A圖所示,該預設範圍例如介於該顯示面11d之傾斜角θTH~-θTH之間,而θTH及-θTH相對於空間水平線H大致為對稱,如圖所示,由於習知行動電話所偵測之傾斜角未包含本發明中偏移夾角θ之效果,因此於±90度傾斜角時無法進行旋轉偵測。參照第6B圖所示,該修正範圍例如介於該顯示面11d之傾斜角θTH1~-θTH1 '及θTH2~-θTH2 '之間,而θTH1及-θTH1 ' 以及θTH2及-θTH2 '相對於空間水平線H可不對稱。一實施例中,θTH1TH+θ而-θTH1 '=-θTH+θ;θTH2 'TH-θ而-θTH2 '=-θTH-θ,但並不以此為限。第6A及6B圖中,符號V為空間鉛直方向而符號H為空間水平方向。 Referring to FIG. 6A, the preset range is, for example, between the tilt angles θ TH - - θ TH of the display surface 11d, and θ TH and - θ TH are substantially symmetrical with respect to the spatial horizontal line H, as shown in the figure. Since the tilt angle detected by the conventional mobile phone does not include the effect of the offset angle θ in the present invention, the rotation detection cannot be performed at a tilt angle of ±90 degrees. Referring to FIG. 6B, the correction range is, for example, between the inclination angles θ TH1 to -θ TH1 ' and θ TH2 ~-θ TH2 ' of the display surface 11d, and θ TH1 and -θ TH1 ' and θ TH2 and - θ TH2 ' is asymmetrical with respect to the spatial horizontal line H. In one embodiment, θ TH1 = θ TH + θ and - θ TH1 ' = - θ TH + θ; θ TH2 ' = θ TH - θ and - θ TH2 ' = - θ TH - θ, but this is not limit. In Figs. 6A and 6B, the symbol V is the spatial vertical direction and the symbol H is the spatial horizontal direction.

當該處理單元13判斷該傾斜角θt或該修正傾斜角(θt±θ)符合可操作角度範圍時,該處理單元則根據該三維加速度計算一旋轉方向,例如根據下式(2)計算一旋轉角度θo;本發明說明中,該旋轉角度θo定義為以該Z方向為軸時,順時針或逆時針旋轉可攜式電子裝置的角度, When the processing unit 13 determines that the tilt angle θt or the corrected tilt angle (θt±θ) meets the operable angle range, the processing unit calculates a rotation direction according to the three-dimensional acceleration, for example, calculates a rotation according to the following formula (2). Angle θ o ; In the description of the present invention, the rotation angle θ o is defined as an angle of rotating the portable electronic device clockwise or counterclockwise when the Z direction is the axis,

當該旋轉角度θo超過一旋轉門檻值時,例如,但不限於,30~60度旋轉角,該處理單元13產生一方向控制信號Sc控制該顯示器11根據該旋轉方向旋轉影像之顯示方向。 When the rotation angle θ o exceeds a rotation threshold, for example, but not limited to, a rotation angle of 30 to 60 degrees, the processing unit 13 generates a direction control signal Sc to control the display direction of the display 11 to rotate the image according to the rotation direction.

因此,本實施例之可攜式電子裝置之旋轉偵測方法可包含下列步驟:根據一加速度感測器所偵測之三維加速度計算一可攜式電子裝置於三維空間上的一傾斜角;以該加速度感測器之至少一偵測陣列與一顯示器之一顯示面間小於90度之一偏移夾角修正該傾斜角與一預設範圍其中之一;以及當符合一可操作角度時,根據該三維加速度計算一旋轉方向。以下舉出兩實施例來進行說明。 Therefore, the method for detecting rotation of the portable electronic device of the present embodiment may include the following steps: calculating a tilt angle of the portable electronic device in three-dimensional space according to the three-dimensional acceleration detected by an acceleration sensor; ???the at least one detection array of the acceleration sensor and one of the display surfaces of one of the displays has an offset angle of less than 90 degrees to correct the tilt angle and one of the preset ranges; and when conforming to an operable angle, according to The three-dimensional acceleration calculates a direction of rotation. Two embodiments will be described below.

請參照第7A圖所示,其顯示本發明實施例之可攜式電子裝置之旋轉偵測方法之流程圖,其可同時適用於上述第一實施例及第二實施例之可攜式電子裝置1及1'。如前所述,本發明實施例之加速感測器12(12')用以偵測與該顯示器11之一顯示面11d平行(第5A圖)之一X方向上的一第一加速度aX或具有該偏移夾角θ(第3A圖)之一X方向上的一第一加速度aX,偵測與該顯示面11d平行之一Y方向上的一第二加速度aY(第3A、5A圖)以及偵測與該顯示面11d之一法線方向具有該偏移夾角θ之一Z方向上的一第三加速度aZ(第3A、5A圖)。 Please refer to FIG. 7A, which shows a flowchart of a method for detecting rotation of a portable electronic device according to an embodiment of the present invention, which can be applied to the portable electronic device of the first embodiment and the second embodiment. 1 and 1 ' . As described above, the acceleration sensor 12 (12 ' ) of the embodiment of the present invention is configured to detect a first acceleration a X in one of the X directions parallel to the display surface 11d of the display 11 (Fig. 5A). Or having a first acceleration a X in one of the X directions of the offset angle θ (Fig. 3A), detecting a second acceleration a Y in the Y direction parallel to the display surface 11d (3A, 5A) And detecting a third acceleration a Z (3A, 5A) in one of the offset angles θ in one of the normal directions of the display surface 11d.

本實施例之旋轉偵測方法包含下列步驟:以一第一方向顯示影像(步驟S21);偵測加速資料(步驟S22);計算一傾斜角(步驟S23);計算一修正傾斜角(步驟S24);判斷該修正傾斜角是否位於一預設範圍(步驟S25);計算一旋轉方向(步驟S26);以及以一第二方向顯示影像(步驟S27)。請 同時參照第3A、4、5A及7A圖,接著說明本實施例之實施方式。第4圖顯示本發明實施例之可攜式電子裝置之方塊圖,其同時適用於上述第一及第二實施例。 Rotation detection method of the present embodiment comprises the steps of: displaying an image in a first direction (step S 21); detecting acceleration data (step S 22); calculating an inclination angle (step S 23); calculating a correction angle of inclination (step S 24); determining whether the correction is located at a predetermined tilt angle range (step S 25); a rotational direction is calculated (step S 26); and displaying the image in a second direction (step S 27). Please refer to the drawings 3A, 4, 5A and 7A at the same time, and then the embodiment of the embodiment will be described. FIG. 4 is a block diagram showing a portable electronic device according to an embodiment of the present invention, which is applicable to both the first and second embodiments.

步驟S21:首先,該顯示器11以一第一方向顯示影像,例如橫向顯示或縱向顯示。 Step S 21: First, the display 11 displays the image in a first direction, for example, landscape or portrait.

步驟S22:該加速感測器12(12')以該第一感測陣列121、第二感測陣列122及第三感測陣列123分別感測一第一加速度aX、一第二加速度aY及一第三加速度aZ(即三維加速度)並傳送至該處理單元13。 Step S 22: The acceleration sensor 12 (12 ') to the first sensing array 121, second array 122 and third sensing sensing array 123 are sensing a first acceleration a X, a second acceleration a Y and a third acceleration a Z (ie, three-dimensional acceleration) are transmitted to the processing unit 13.

步驟S23:該處理單元13例如以式(1)根據該第一加速度aX、該第二加速度aY及該第三加速度aZ計算該可攜式電子裝置1(1')於三維空間上的一傾斜角θt。 Step S 23: The processing unit 13, for example, in the formula (1) based on the first acceleration a X, a Y acceleration of the second and the third acceleration calculating a Z 1 of the portable electronic device (1 ') in three-dimensional space A tilt angle θt on the upper.

步驟S24:由於本發明中該傾斜角θt包含該偏移夾角θ之效果,該處理單元13接著以該偏移夾角θ修正該傾斜角θt並產生一修正傾斜角θts=(θ±θt)以正確表示該顯示面11d之傾斜角。 Step S 24: Since the present invention comprises the effect of the inclination angle [theta] t [theta] of the offset angle, then the processing unit 13 to the offset angle [theta] t [theta] correction of the inclination angle and generate a corrected tilt angle θts = (θ ± θt) The inclination angle of the display surface 11d is correctly indicated.

步驟S25:該處理單元13比較該修正傾斜角θts與事先儲存於該記憶單元16中之一預設範圍(如第6A圖)以確定該修正傾斜角θts是否位於可操作範圍(±θTH)內;其中,一實施例中該預設範圍例如介於-75至75度間,但並不以此為限。當修正傾斜角θts不位於該預設範圍內時,該修正傾斜角θts可能不適用於旋轉判斷,該處理單元13則不判斷為一旋轉操作而重新接收該加速感測器12(12')於下一個偵測時間所偵測之三維加速度,即回到步驟S22。當修正傾斜角θts位於該預設範圍內(即符合可操作角度)時,則進入步驟S26Step S 25: The correction processing unit 13 compares the inclination angle stored in advance in one of the θts predetermined range in the memory unit 16 (e.g., Figure 6A) determines the correction to the inclination angle is located θts operable range (± θ TH In the embodiment, the preset range is, for example, between -75 and 75 degrees, but is not limited thereto. When the corrected tilt angle θts is not within the preset range, the corrected tilt angle θts may not be applicable to the rotation determination, and the processing unit 13 does not determine to receive the rotation sensor and re-receives the acceleration sensor 12 (12 ' ). next to a three-dimensional acceleration detected by the detecting time, i.e., returns to step S 22. When the corrected tilt angle θts is within the preset range (ie, conforms to the operable angle), then step S26 is reached.

步驟S26:該處理單元13例如以式(2)根據該第一加速度aX及該第二加速度aY計算三維空間上的一旋轉角度及一旋轉方向。 Step S26 : The processing unit 13 calculates a rotation angle and a rotation direction in a three-dimensional space according to the first acceleration a X and the second acceleration a Y, for example, by Equation (2).

步驟S27:當該旋轉角度大於一旋轉門檻值時,該處理單元13產生一方向控制信號Sc至該顯示器11以改變該第一顯示方向為一第二顯示方向,例如改變為縱向顯示或橫向顯示。 Step S27 : When the rotation angle is greater than a rotation threshold, the processing unit 13 generates a direction control signal Sc to the display 11 to change the first display direction to a second display direction, for example, to a portrait display or a landscape orientation. display.

請參照第7B圖所示,其顯示本發明實施例之可攜式電子裝置之另一旋轉偵測方法之流程圖,其同樣可同時適用於上述第一實施例及第二實施例之可攜式電子裝置1及1'。本實施例與第7A圖實施例之差異在 於,第7B圖中該處理單元13並不對該傾斜角θt進行修正(即不包含步驟S24),而是直接將該傾斜角θt與事先儲存於該記憶單元16中的修正範圍(如第6B圖)進行比較,以確定該傾斜角θt是否位於可操作範圍(θTH1~-θTH1 'TH2~-θTH2 ')內。當該傾斜角θt位於該修正範圍(θTH1TH1 '或θTH2TH2 ')內(即符合可操作角度)時則進入步驟S26;反之,則回到步驟S22以該加速感測器12(12')重新偵測三維加速度。本實施例中,與第7A圖相同標號的步驟的實施方式相類似,故於此不再贅述。 Referring to FIG. 7B, a flowchart of another method for detecting rotation of the portable electronic device according to the embodiment of the present invention is also applicable to the portability of the first embodiment and the second embodiment. Electronic devices 1 and 1 ' . The difference between this embodiment and the embodiment of FIG. 7A is that the processing unit 13 in FIG. 7B does not correct the tilt angle θt (ie, does not include step S 24 ), but directly stores the tilt angle θt in advance. The correction range in the memory unit 16 (as in Fig. 6B) is compared to determine whether the tilt angle θt is within the operable range (θ TH1 ~ - θ TH1 ' , θ TH2 ~ - θ TH2 ' ). The process proceeds to step S 26 when the inclination angle θt is located in the correction range (θ TH1 ~ θ TH1 'or θ TH2 ~ θ TH2') within (i.e., the angle is operable compliance); otherwise, the process returns to step S 22 to the acceleration The sensor 12 (12 ' ) re-detects the three-dimensional acceleration. In this embodiment, the implementation of the steps of the same reference numerals as in FIG. 7A is similar, and thus will not be described again.

可以了解的是,第7A及7B圖未繪示某些步驟,例如濾波、座標變化及判斷是否為旋轉操作等步驟,因其並非本發明之標的,故於此不再贅述。本發明在於使可攜式電子裝置能夠偵測實際操作狀況下的旋轉方向。 It can be understood that the steps 7A and 7B do not show some steps, such as filtering, coordinate change, and judging whether it is a rotation operation or the like, and since it is not the subject of the present invention, it will not be described herein. The invention is to enable the portable electronic device to detect the direction of rotation under actual operating conditions.

此外,本發明還可透過其他方式來實現,只要使用以偵測該第三加速度aZ之第三偵測陣列與該顯示面11d之法線方向Z'間具有該偏移夾角θ即可,其中該偏移夾角θ係小於90度(不包含0度且大於0度)。例如,將第3B圖之加速感測器12與該處理單元13同時設置於該第一電路基板14,而該第一電路基板14之上/下表面與該顯示面11d間具有該偏移夾角θ,如第8圖所示,此時第一偵測陣列121及第二偵測陣列122平行於第一電路基板14之上/下表面而第三偵測陣列123垂直第一電路基板14之上/下表面但與顯示面11d之法線方向間具有該偏移夾角θ(或與顯示面11d間具有該偏移夾角θ之餘角90-θ);或者,透過特殊封裝形狀使第3B圖之加速感測器12設置於該第一電路基板14時,該第三加速度aZ之方向Z與該顯示面11d之法線方向Z'間具有該偏移夾角θ(或與顯示面11d間具有該偏移夾角θ之餘角90-θ),此時第一偵測陣列121、第二偵測陣列122及第三偵測陣列123兩兩互相垂直,由於加速感測器12可以傾斜的設置於第一電路基板14上,而使至少一偵測陣列(例如第三偵測陣列123)與顯示面11d間具有小於90度之偏移夾角θ。 In addition, the present invention may be implemented in other manners, as long as the third detection array for detecting the third acceleration a Z and the normal direction Z ′ of the display surface 11 d have the offset angle θ. Wherein the offset angle θ is less than 90 degrees (excluding 0 degrees and greater than 0 degrees). For example, the acceleration sensor 12 of FIG. 3B and the processing unit 13 are simultaneously disposed on the first circuit substrate 14, and the offset angle between the upper/lower surface of the first circuit substrate 14 and the display surface 11d is θ, as shown in FIG. 8 , the first detection array 121 and the second detection array 122 are parallel to the upper/lower surface of the first circuit substrate 14 and the third detection array 123 is perpendicular to the first circuit substrate 14 . The upper/lower surface has the offset angle θ (or the complementary angle 90-θ with the offset angle θ from the display surface 11d) from the normal direction of the display surface 11d; or the third package is transmitted through the special package shape. FIG acceleration sensor 12 is provided at the time of the first circuit board 14, the third acceleration direction of a Z Z Z direction normal to the display surface 11d 'having the offset between the angle [theta] (or the display surface 11d The first detection array 121, the second detection array 122, and the third detection array 123 are perpendicular to each other, since the acceleration sensor 12 can be tilted. The first circuit substrate 14 is disposed on the first circuit substrate 14 to have at least one detection array (for example, the third detection array 123) and the display surface 11d. Offset angle θ less than 90 degrees.

必須說明的是,本發明第一實施例中,該第二電路基板15較佳僅用以設置該加速感測器12以縮小該第二電路基板15之體積。然而,其他實施例中,設置於該第一電路基板14之部分構件亦可設置於該第二電路基板15,並無特定限制。 It should be noted that, in the first embodiment of the present invention, the second circuit substrate 15 is preferably only used to set the acceleration sensor 12 to reduce the volume of the second circuit substrate 15. However, in other embodiments, some of the components disposed on the first circuit substrate 14 may be disposed on the second circuit substrate 15 without particular limitation.

綜上所述,習知技術並無法偵測顯示器之顯示面平行於空間水平面時的旋轉角度,因而造成使用上受到限制。因此,本發明另提供一種可攜式電子裝置(第3A、5A及8圖)及其旋轉偵測方法(第7A及7B圖),其僅於實際上使用者較不會操作的傾斜角時無法偵測旋轉角度,故不會出現使用上的不便。此外,只要將目前軟體程式修正傾斜角或修正可操作傾斜角的範圍,即可適用於本發明之可攜式電子裝置,故具有極佳的適用性。 In summary, the prior art does not detect the angle of rotation of the display surface of the display parallel to the horizontal plane of the space, thereby causing limited use. Therefore, the present invention further provides a portable electronic device (Figs. 3A, 5A, and 8) and a rotation detecting method thereof (Figs. 7A and 7B), which are only when the tilt angle is actually not operated by the user. The rotation angle cannot be detected, so there is no inconvenience in use. In addition, as long as the current software program corrects the tilt angle or corrects the range of the operable tilt angle, it can be applied to the portable electronic device of the present invention, so that it has excellent applicability.

雖然本發明已以前述實例揭示,然其並非用以限定本發明,任何本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與修改。因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 While the present invention has been disclosed by the foregoing examples, it is not intended to be construed as limiting the scope of the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

1‧‧‧可攜式電子裝置 1‧‧‧Portable electronic device

10‧‧‧殼體 10‧‧‧shell

11‧‧‧顯示器 11‧‧‧ Display

11d‧‧‧顯示面 11d‧‧‧ display surface

12‧‧‧加速感測器 12‧‧‧Acceleration sensor

13‧‧‧處理單元 13‧‧‧Processing unit

14‧‧‧第一電路基板 14‧‧‧First circuit board

15‧‧‧第二電路基板 15‧‧‧Second circuit substrate

16‧‧‧記憶單元 16‧‧‧Memory unit

17‧‧‧電源控制IC 17‧‧‧Power Control IC

18‧‧‧固定件 18‧‧‧Fixed parts

θ‧‧‧偏移夾角 Θ‧‧‧ offset angle

XYZ‧‧‧顯示器之軸向 XYZ‧‧‧Axis of display

X'Y'Z'‧‧‧加速感測器之軸向 X ' Y ' Z ' ‧‧‧ Acceleration of the axial direction of the sensor

Claims (15)

一種可攜式電子裝置,包含:一顯示器,具有一顯示面,用以顯示影像;一加速感測器,用以偵測三維加速度;一處理單元,用以根據該三維加速度計算該可攜式電子裝置於三維空間上的一傾斜角;一第一電路基板,具有一第一表面平行該顯示面,其中該顯示器電性連接於該第一電路基板;以及一第二電路基板,電性連接於該第一電路基板,且具有一第二表面,其中該第二表面與該第一表面間具有小於90度之一偏移夾角,該加速感測器設置於該第二表面。 A portable electronic device includes: a display having a display surface for displaying an image; an acceleration sensor for detecting three-dimensional acceleration; and a processing unit for calculating the portable type according to the three-dimensional acceleration a first circuit substrate having a first surface parallel to the display surface, wherein the display is electrically connected to the first circuit substrate; and a second circuit substrate electrically connected The first circuit substrate has a second surface, wherein the second surface and the first surface have an offset angle of less than 90 degrees, and the acceleration sensor is disposed on the second surface. 如申請專利範圍第1項所述之可攜式電子裝置,其中該處理單元設置於該第一表面,並根據該偏移夾角修正該傾斜角。 The portable electronic device of claim 1, wherein the processing unit is disposed on the first surface, and corrects the tilt angle according to the offset angle. 如申請專利範圍第1項所述之可攜式電子裝置,其中該處理單元另判斷該傾斜角是否位於一修正範圍內,該修正範圍為以該偏移夾角修正一預設範圍而得,及其中該修正範圍及該預設範圍用以界定一可操作角度,該預設範圍不涵蓋±90度傾斜角而該修正範圍涵蓋±90度傾斜角。 The portable electronic device of claim 1, wherein the processing unit further determines whether the tilt angle is within a correction range, wherein the correction range is obtained by correcting a preset range by the offset angle, and The correction range and the preset range are used to define an operable angle that does not cover a ±90 degree tilt angle and the correction range covers a ±90 degree tilt angle. 如申請專利範圍第1項所述之可攜式電子裝置,其中該處理單元另根據該三維加速度計算該可攜式電子裝置於該三維空間上的一旋轉方向,該顯示器係根據該旋轉方向旋轉該影像。 The portable electronic device of claim 1, wherein the processing unit further calculates a rotation direction of the portable electronic device in the three-dimensional space according to the three-dimensional acceleration, and the display is rotated according to the rotation direction. The image. 如申請專利範圍第1項所述之可攜式電子裝置,其中該第二電路基板係透過一可撓性印刷電路板電性連接於該第一電路基板。 The portable electronic device of claim 1, wherein the second circuit substrate is electrically connected to the first circuit substrate through a flexible printed circuit board. 如申請專利範圍第1項所述之可攜式電子裝置,其中該加速感測器具有一第一偵測陣列、一第二偵測陣列及一第三偵測陣列,用以偵測該三維加速度,其中該第一偵測陣列與該顯示面具有該偏移夾角,該第二偵測陣列平行於該顯示面,該第三偵測陣列與該顯示面之一法線方向間具有該偏移夾角。 The portable electronic device of claim 1, wherein the acceleration sensor has a first detection array, a second detection array, and a third detection array for detecting the three-dimensional acceleration. The first detection array and the display surface have the offset angle, the second detection array is parallel to the display surface, and the third detection array has the offset from a normal direction of the display surface Angle. 一種可攜式電子裝置,包含:一顯示器,具有一顯示面,用以顯示影像;一加速感測器,具有複數個偵測陣列,用以偵測三維加速度,其中該複數個偵測陣列中之至少一者係與該顯示面間具有小於90度之一偏移夾角;以及一處理單元,用以根據該三維加速度計算該可攜式電子裝置於三維空間上的一傾斜角。 A portable electronic device includes: a display having a display surface for displaying an image; and an acceleration sensor having a plurality of detection arrays for detecting three-dimensional acceleration, wherein the plurality of detection arrays At least one of the display surfaces has an offset angle of less than 90 degrees with the display surface; and a processing unit for calculating an inclination angle of the portable electronic device in three-dimensional space according to the three-dimensional acceleration. 如申請專利範圍第7項所述之可攜式電子裝置,其中該複數個偵測陣列包含一第一偵測陣列、一第二偵測陣列及一第三偵測陣列,該第一偵測陣列與該顯示面具有該偏移夾角,該第二偵測陣列平行於該顯示面,該第三偵測陣列與該顯示面之一法線方向間具有該偏移夾角。 The portable electronic device of claim 7, wherein the plurality of detection arrays comprise a first detection array, a second detection array, and a third detection array, the first detection The array has an offset angle with the display surface, the second detection array is parallel to the display surface, and the third detection array has the offset angle from a normal direction of the display surface. 如申請專利範圍第7項所述之可攜式電子裝置,其中另包含: 一第一電路基板,具有一第一表面平行該顯示面,其中該顯示器電性連接於該第一電路基板,其中該加速感測器設置於該第一表面,且該複數個偵測陣列包含一第一偵測陣列、一第二偵測陣列及一第三偵測陣列,該第一偵測陣列及該第二偵測陣列平行於該第一表面而該第三偵測陣列與該第一表面間具有該偏移夾角。 The portable electronic device of claim 7, wherein the method further comprises: a first circuit substrate having a first surface parallel to the display surface, wherein the display is electrically connected to the first circuit substrate, wherein the acceleration sensor is disposed on the first surface, and the plurality of detection arrays comprise a first detection array, a second detection array, and a third detection array, the first detection array and the second detection array being parallel to the first surface and the third detection array and the first The offset angle is between a surface. 如申請專利範圍第7項所述之可攜式電子裝置,其中該處理單元另根據該偏移夾角修正該傾斜角。 The portable electronic device of claim 7, wherein the processing unit further corrects the tilt angle according to the offset angle. 如申請專利範圍第7項所述之可攜式電子裝置,其中該處理單元另判斷該傾斜角是否位於一修正範圍內,該修正範圍為以該偏移夾角修正一預設範圍而得,及其中該修正範圍及該預設範圍用以界定一可操作角度,該預設範圍不涵蓋±90度傾斜角而該修正範圍涵蓋±90度傾斜角。 The portable electronic device of claim 7, wherein the processing unit further determines whether the tilt angle is within a correction range, wherein the correction range is obtained by correcting a preset range by the offset angle, and The correction range and the preset range are used to define an operable angle that does not cover a ±90 degree tilt angle and the correction range covers a ±90 degree tilt angle. 如申請專利範圍第7項所述之可攜式電子裝置,其中該處理單元另根據該三維加速度計算該可攜式電子裝置於該三維空間上的一旋轉方向,其中該顯示器係根據該旋轉方向旋轉該影像。 The portable electronic device of claim 7, wherein the processing unit further calculates a rotation direction of the portable electronic device in the three-dimensional space according to the three-dimensional acceleration, wherein the display is based on the rotation direction. Rotate the image. 一種用於可攜式電子裝置之旋轉偵測方法,該可攜式電子裝置包含一顯示器、一電路基板與一加速感測器電性耦接於該電路基板,該加速感測器用以偵測三維加速度並具有至少一偵測陣列與該顯示器之一顯示面間具有小於90度之一偏移夾角,該旋轉偵測方法包含:根據該三維加速度計算該可攜式電子裝置於三維空間上的一傾斜角; 以該偏移夾角修正該傾斜角藉以產生一修正傾斜角或以該偏移夾角修正一預設範圍藉以產生一修正範圍;比較該傾斜角與該修正範圍或比較該修正傾斜角與該預設範圍;及當該傾斜角位於該修正範圍內或該修正傾斜角位於該預設範圍內時,根據該三維加速度計算一旋轉方向。 A method for detecting a rotation of a portable electronic device, the portable electronic device comprising a display, a circuit substrate and an acceleration sensor electrically coupled to the circuit substrate, the acceleration sensor for detecting The three-dimensional acceleration has at least one detection array and one display surface of the display having an offset angle of less than 90 degrees. The rotation detection method includes: calculating the portable electronic device in three-dimensional space according to the three-dimensional acceleration a tilt angle Correcting the tilt angle by the offset angle to generate a corrected tilt angle or correcting a preset range by the offset angle to generate a correction range; comparing the tilt angle with the correction range or comparing the corrected tilt angle with the preset a range; and when the tilt angle is within the correction range or the corrected tilt angle is within the preset range, a rotation direction is calculated according to the three-dimensional acceleration. 如申請專利範圍第13項所述之旋轉偵測方法,其中該修正範圍及該預設範圍用以界定該可操作角度,該預設範圍不涵蓋±90度傾斜角而該修正範圍涵蓋±90度傾斜角。 The rotation detecting method of claim 13, wherein the correction range and the preset range are used to define the operable angle, the preset range does not cover a ±90 degree tilt angle and the correction range covers ±90 Degree of inclination. 如申請專利範圍第13項所述之旋轉偵測方法,另包含:根據該旋轉方向旋轉該顯示器上的影像以改變一顯示方向。 The rotation detecting method of claim 13, further comprising: rotating the image on the display according to the rotation direction to change a display direction.
TW103116676A 2014-05-12 2014-05-12 Portable electronic device and rotation detection method thereof TWI529609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103116676A TWI529609B (en) 2014-05-12 2014-05-12 Portable electronic device and rotation detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103116676A TWI529609B (en) 2014-05-12 2014-05-12 Portable electronic device and rotation detection method thereof

Publications (2)

Publication Number Publication Date
TW201543349A TW201543349A (en) 2015-11-16
TWI529609B true TWI529609B (en) 2016-04-11

Family

ID=55220945

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103116676A TWI529609B (en) 2014-05-12 2014-05-12 Portable electronic device and rotation detection method thereof

Country Status (1)

Country Link
TW (1) TWI529609B (en)

Also Published As

Publication number Publication date
TW201543349A (en) 2015-11-16

Similar Documents

Publication Publication Date Title
KR102278816B1 (en) Display apparatus and method for dring the same
TWI544398B (en) Mobile device and rotating method of image thereon
US9261981B2 (en) Portable electronic device and rotation detection method thereof
US9298221B2 (en) Method of displaying folding information and foldable display apparatus using the method
US7353069B2 (en) Electronic apparatus capable of adjusting display direction and display-direction adjusting method thereof
US9429987B2 (en) Electronic device capable of rotating display image and display image rotating method thereof
US9874900B2 (en) Form adjustable angle between a battery and battery cavity to selectively place a video display in viewing orientations
JP2008064761A (en) Hybrid type sensor module and sensing method using it
KR20140125840A (en) Method for managing screen orientation of a portable electronic device
EP3906456B1 (en) Method for controlling display and electronic device thereof
CN103970259A (en) Screen mode switching method and terminal equipment
KR100686718B1 (en) Display Apparatus And Portable Computer With It
US8947359B2 (en) Information processing apparatus and operation method of information processing apparatus
KR20200140607A (en) An electronic device including a display and a compensating method of an image displayed by the electronic device
JP5186645B2 (en) Electronic compass
KR20160143036A (en) Mobile terminal and method for correting a posture using the same
US20150160841A1 (en) Desktop-like device and method for displaying user interface
JP2008215915A (en) Magnetic data processor, method and program and magnetic processing system
WO2012108183A1 (en) Portable terminal and display method
TWI566169B (en) Method of managing display units, computer-readable medium, and related system
TWI529609B (en) Portable electronic device and rotation detection method thereof
US11348358B2 (en) Electronic device including structure compensating for height difference between sensor and elastic member disposed on back surface of display
WO2019127139A1 (en) Calibration method for magnetometer and related device
JP5947999B2 (en) Method, electronic device and computer program for improving operation accuracy for touch screen
JP2010145837A (en) Electronic apparatus and display method