[go: up one dir, main page]

CN100418144C - Electronic device with placement angle sensing function and method for selecting operation mode - Google Patents

Electronic device with placement angle sensing function and method for selecting operation mode Download PDF

Info

Publication number
CN100418144C
CN100418144C CNB2004100316975A CN200410031697A CN100418144C CN 100418144 C CN100418144 C CN 100418144C CN B2004100316975 A CNB2004100316975 A CN B2004100316975A CN 200410031697 A CN200410031697 A CN 200410031697A CN 100418144 C CN100418144 C CN 100418144C
Authority
CN
China
Prior art keywords
light
light sensor
angle
operating mode
light source
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CNB2004100316975A
Other languages
Chinese (zh)
Other versions
CN1684167A (en
Inventor
林瑞江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lite On IT Corp
Original Assignee
Lite On IT Corp
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 Lite On IT Corp filed Critical Lite On IT Corp
Priority to CNB2004100316975A priority Critical patent/CN100418144C/en
Publication of CN1684167A publication Critical patent/CN1684167A/en
Application granted granted Critical
Publication of CN100418144C publication Critical patent/CN100418144C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)

Abstract

The invention provides an electronic device with a placing angle sensing function, which comprises an electronic component, a light sensor for sensing light, a light source for emitting the light to the light source sensor, a light blocker for blocking the light emitted to the light sensor by the light source when the electronic component inclines to an angle within a preset range, and a control circuit which is connected to the light sensor and is used for controlling the electronic component to select one of a plurality of operation modes to execute according to the intensity of the light sensed by the light sensor.

Description

具有置放角度感测功能的电子装置及选择操作模式的方法 Electronic device with placement angle sensing function and method for selecting operation mode

技术领域 technical field

本发明相关于一种电子装置,尤指一种具有置放角度感测功能的电子装置。The present invention relates to an electronic device, in particular to an electronic device with a placement angle sensing function.

背景技术 Background technique

近年来,由于数字科技的快速发展,使得诸如影像及声音等各种模拟型资料皆可被转换成数字型资料,以方便后续的储存或传输处理。随着数字型资料对于储存空间的需求越来越大,过往的资料储存媒体,如磁带或磁盘,早已不敷使用,取而代之的是光盘片,而光驱则一种用来存取一光盘片内所储存的数字型资料的电子装置.In recent years, due to the rapid development of digital technology, various analog data such as images and sounds can be converted into digital data for subsequent storage or transmission processing. With the increasing demand for storage space for digital data, the past data storage media, such as tapes or magnetic disks, have long been insufficient, replaced by optical discs, and optical drives are used to access an optical disc. An electronic device that stores digital data.

一般来说,光驱需处于水平状态方能正确地读取储存于光盘片内的资料.换言之,若光驱实已处于非水平状态,例如倒置,但仍不自知地继续读取该光盘片,此时,光驱所读取到的资料很可能是错误的。不仅如此,倒置运作的光驱另有可能造成光盘片的卡片,并进而造成光驱内昂贵光学读取头的毁损。Generally speaking, the optical drive needs to be in a horizontal state to correctly read the data stored in the optical disc. In other words, if the optical drive is already in a non-horizontal state, such as upside down, but continues to read the optical disc without knowing it, At this time, the data read by the optical drive may be wrong. Not only that, but an upside-down optical drive can also cause the disc to jam, which in turn can cause damage to the expensive optical pickup inside the drive.

发明内容 Contents of the invention

因此本发明的主要目的在于提供一种具有置放角度感测功能的电子装置,以解决现有技术的问题.Therefore, the main purpose of the present invention is to provide an electronic device with a placement angle sensing function to solve the problems in the prior art.

本发明提供了:一种具有置放角度感测功能的电子装置,其特征在于,包含:一光驱;一光线传感器,用来感测光线;一光源,用来将一光线朝向该光线传感器的方向发射;以及一光线阻绝器,用来于该光驱倾斜至介于水平放置状态与一特定角度之间时,阻绝由该光源所朝向该光线传感器发射的光线,该特定角度大于0度且小于等于180度;以及一控制电路,电连接于该光线传感器,依据该光线传感器所感测该光线的强度,控制该光驱自致能运作模式和关闭运作模式中择一执行。本发明还提供了:一种具有置放角度感测功能的电子装置,其特征在于,包含:一直/横两用的液晶显示面板;一光线传感器,用来感测光线;一光源,用来将一光线朝向该光线传感器的方向发射;以及一光线阻绝器,用来于该直/横两用的液晶显示面板倾斜至介于水平放置状态与一特定角度之间时,阻绝由该光源所朝向该光线传感器发射的光线,该特定角度为大于0度且小于等于90度;以及一控制电路,电连接于该光线传感器,依据该光线传感器所感测该光线的强度,控制该直/横两用的液晶显示面板自直式图像显示运作模式和横式图像显示运作模式中择一执行。The present invention provides: an electronic device with a placement angle sensing function, characterized in that it includes: an optical drive; a light sensor, used to sense light; a light source, used to direct a light toward the light sensor direction emission; and a light blocker, used to block the light emitted by the light source toward the light sensor when the optical drive is tilted between a horizontally placed state and a specific angle, the specific angle is greater than 0 degrees and less than It is equal to 180 degrees; and a control circuit is electrically connected to the light sensor, and controls the optical drive to select one of the enabled operation mode and the closed operation mode according to the intensity of the light sensed by the light sensor. The present invention also provides: an electronic device with a placement angle sensing function, which is characterized in that it includes: a vertical/horizontal liquid crystal display panel; a light sensor for sensing light; a light source for emitting a light toward the direction of the light sensor; and a light blocker, which is used to block the light from the light source when the vertical/horizontal liquid crystal display panel is tilted between a horizontally placed state and a specific angle. For the light emitted toward the light sensor, the specific angle is greater than 0 degrees and less than or equal to 90 degrees; and a control circuit, electrically connected to the light sensor, controls the vertical/horizontal two according to the intensity of the light sensed by the light sensor. The liquid crystal display panel used is selected from a vertical image display operation mode and a horizontal image display operation mode for execution.

本发明提供了:一种于电子装置中依据其置放角度选择操作模式的方法,其特征在于,包括以下步骤:利用一光源向一光线传感器发射一光线;利用一光线阻绝器,当光驱倾斜至一水平放置状态与一特定角度之间时,该光线阻绝器转动至阻绝该光源向该光线传感器发射的光线的位置;根据该光线传感器是否能感测到光线,在致能运作模式或关闭运作模式中择一作为光驱的运作模式,该特定角度为大于0度且小于等于90度.本发明还提供了:一种于电子装置中依据其置放角度选择操作模式的方法,其特征在于,包括以下步骤:利用一光源向一光线传感器发射一光线;利用一光线阻绝器,当一直/横两用的液晶显示面板倾斜至一水平放置状态与一特定角度之间时,该光线阻绝器阻绝由该光源向该光线传感器发射的光线,该光线阻绝器转动至阻绝该光源向该光线传感器发射的光线的位置;根据该光线传感器是否能感测到光线,在直式图像显示运作模式和横式图像显示运作模式中择一作为该直/横两用的液晶显示面板的运作模式,该特定角度为大于0度且小于等于180度.The invention provides: a method for selecting an operation mode in an electronic device according to its placement angle, which is characterized in that it includes the following steps: using a light source to emit a light to a light sensor; using a light blocker, when the optical drive is tilted When it is placed between a horizontal state and a specific angle, the light blocker rotates to the position of blocking the light emitted by the light source to the light sensor; according to whether the light sensor can sense light, it is in the enabling operation mode or off Choose one of the operation modes as the operation mode of the optical drive, and the specific angle is greater than 0 degrees and less than or equal to 90 degrees. The present invention also provides: a method for selecting an operation mode in an electronic device according to its placement angle, which is characterized in that , comprising the following steps: using a light source to emit a light to a light sensor; using a light blocker, when the vertical/horizontal liquid crystal display panel is tilted between a horizontal placement state and a specific angle, the light blocker To block the light emitted by the light source to the light sensor, the light blocker rotates to the position of blocking the light emitted by the light source to the light sensor; according to whether the light sensor can sense the light, the direct image display operation mode and Choose one of the horizontal image display operation modes as the operation mode of the vertical/horizontal liquid crystal display panel, and the specific angle is greater than 0 degrees and less than or equal to 180 degrees.

本发明还提供了:一种于电子装置中依据其置放角度选择操作模式的方法,其特征在于,包括以下步骤:利用一光源向一光线传感器发射一光线;利用一光线阻绝器,当一直/横两用的液晶显示面板倾斜至一水平放置状态与一特定角度之间时,该光线阻绝器阻绝由该光源向该光线传感器发射的光线,该光线阻绝器转动至阻绝该光源向该光线传感器发射的光线的位置;根据该光线传感器是否能感测到光线,在直式图像显示运作模式和横式图像显示运作模式中择一作为该直/横两用的液晶显示面板的运作模式,该特定角度为大于0度且小于等于180度.The present invention also provides: a method for selecting an operation mode in an electronic device according to its placement angle, which is characterized in that it includes the following steps: using a light source to emit a light to a light sensor; using a light blocker, when always When the dual-purpose liquid crystal display panel is tilted between a horizontal position and a specific angle, the light blocker blocks the light emitted from the light source to the light sensor, and the light blocker rotates to block the light source from the light source The position of the light emitted by the sensor; according to whether the light sensor can sense the light, one of the vertical image display operation mode and the horizontal image display operation mode is selected as the operation mode of the vertical/horizontal liquid crystal display panel, The specific angle is greater than 0 degrees and less than or equal to 180 degrees.

由于本发明的电子装置具有置放角度感测功能,因此,当该电子装置内的电子组件倾斜至超过该预定范围内的角度时,该控制电路便会相对应地改变该电子组件的运作模式,例如当该电子组件为一光驱时,选择是否关闭并保护该光驱;或当该电子组件为一液晶显示面板时,改变该液晶显示面板的图像显示模式。Since the electronic device of the present invention has a placement angle sensing function, when the electronic components in the electronic device are tilted to an angle exceeding the predetermined range, the control circuit will change the operation mode of the electronic components accordingly For example, when the electronic component is an optical drive, select whether to close and protect the optical drive; or when the electronic component is a liquid crystal display panel, change the image display mode of the liquid crystal display panel.

附图说明 Description of drawings

图1为本发明的较佳实施例中一水平置放的电子装置的透视图.1 is a perspective view of a horizontally placed electronic device in a preferred embodiment of the present invention.

图2为处于倒置状态的显示于图1的电子装置的透视图.FIG. 2 is a perspective view of the electronic device shown in FIG. 1 in an inverted state.

图3为本发明的第二实施例中一水平置放的电子装置的透视图。FIG. 3 is a perspective view of an electronic device placed horizontally in a second embodiment of the present invention.

图4为图3中所显示的电子装置中一液晶显示面板朝逆时针的方向旋转九十度后该电子装置的透视图.4 is a perspective view of the electronic device shown in FIG. 3 after a liquid crystal display panel is rotated 90 degrees counterclockwise.

图5为本发明的第二实施例中光线阻绝器另一种实施方式的侧视图.Fig. 5 is a side view of another embodiment of the light blocker in the second embodiment of the present invention.

图6为本发明的第三实施例中一水平置放的电子装置的透视图.6 is a perspective view of an electronic device placed horizontally in a third embodiment of the present invention.

图7为图6中所显示的电子装置沿一切线LL′的剖面图.7 is a cross-sectional view of the electronic device shown in FIG. 6 along the tangent line LL'.

图8为一方块图,用以说明根据本发明的控制电路的一实施例.FIG. 8 is a block diagram illustrating an embodiment of a control circuit according to the present invention.

图9为一方块图,用以说明根据本发明的控制电路的另一实施例。Fig. 9 is a block diagram illustrating another embodiment of the control circuit according to the present invention.

符号说明Symbol Description

10、30、60    电子装置        12    光驱10, 30, 60 Electronic Devices 12 Optical Drive

14、64         光线传感器       16、66       光源14, 64 Light sensor 16, 66 Light source

18、38、68     壳体             20、40、70   光线阻绝器18, 38, 68 Housing 20, 40, 70 Light blocker

22、72         控制电路         32           液晶显示面板22, 72 Control circuit 32 Liquid crystal display panel

44、74         第一边           46、76       第二边44, 74 The first side 46, 76 The second side

48、78、96     转动轴           50、80、90   光线阻绝本体48, 78, 96 Rotation shaft 50, 80, 90 Light blocking body

98             虚拟第一边       100          虚拟第二边98 virtual first side 100 virtual second side

92             杆体             94           底边92 Rod Body 94 Bottom

802            微控制器         804          主机802 Microcontroller 804 Host

806            内存             808          动态随机存取内存806 Memory 808 Dynamic Random Access Memory

810            射频讯号放大器   812          致动器与马达810 RF Signal Amplifier 812 Actuator and Motor

820            比较器           822          光线传感器820 Comparator 822 Light Sensor

824            参考电压         830          数字-模拟转换器824 Reference Voltage 830 Digital-to-Analog Converter

具体实施方式 Detailed ways

请参阅图1,图1为本发明的较佳实施例中一水平置放的电子装置10的透视图,电子装置10具有置放角度感测功能。电子装置10包含一光驱12、一用来感测光线的光线传感器14、一用来将光线朝向光源传感器14发射的光源16、一壳体18、一以可转动的方式固定于壳体18且用来随着光驱12的倾斜而转动并于光驱12倾斜至介于一预定范围内的角度时阻绝由光源16所朝向光线传感器14发出的光线的光线阻绝器20、以及一电连接于光线传感器14且用来依据光线传感器14的是否接收到光源16所发出的光线以控制光驱12的运作的控制电路22,其中光线阻绝器20因重力作用,于光驱12倾斜至不同角度时,可造成不同程度的光线遮蔽阻绝效果。Please refer to FIG. 1 . FIG. 1 is a perspective view of a horizontally placed electronic device 10 in a preferred embodiment of the present invention. The electronic device 10 has a placement angle sensing function. The electronic device 10 includes an optical drive 12, a light sensor 14 for sensing light, a light source 16 for emitting light toward the light sensor 14, a housing 18, a rotatable fixed to the housing 18 and Used to rotate with the inclination of the optical drive 12 and block the light emitted by the light source 16 toward the light sensor 14 when the optical drive 12 is tilted to an angle within a predetermined range, and a light blocker 20 electrically connected to the light sensor 14 and the control circuit 22 used to control the operation of the optical drive 12 according to whether the light sensor 14 receives the light emitted by the light source 16, wherein the light blocker 20 can cause different angles when the optical drive 12 is tilted to different angles due to gravity. Degree of light shading blocking effect.

图1中所显示的电子装置10的运作过程略述如下:由于光驱12水平放置着,所以光线阻绝器20会随着光驱12的水平置放而倚靠在壳体18上,换言之,光线阻绝器20并未位于一可阻绝光线传感器14感测到光源16所发出的光线的阻绝位置,如虚线所示;于此同时,光线传感器14会感测到光源16所发出的光线,而控制电路22依据光线传感器14有感测到光源16所发出的光线而控制光驱12的运作。举例来说,若光驱12正在读取一光盘片的资料,则控制电路22此时会控制光驱12的运作模式为一致能运作模式,以持续地读取该光盘片的资料。The operation process of the electronic device 10 shown in FIG. 1 is briefly described as follows: Since the optical drive 12 is placed horizontally, the light blocker 20 will lean against the housing 18 as the optical drive 12 is placed horizontally. 20 is not located in a blocking position that can prevent the light sensor 14 from sensing the light emitted by the light source 16, as shown in dotted lines; at the same time, the light sensor 14 can sense the light emitted by the light source 16, and the control circuit 22 The operation of the optical drive 12 is controlled according to the light sensor 14 sensing the light emitted by the light source 16 . For example, if the optical drive 12 is reading the data of an optical disc, the control circuit 22 will control the operation mode of the optical drive 12 to be the consistent operation mode, so as to continuously read the data of the optical disc.

请参阅图2,图2为处于倒置状态的电子装置10的透视图。如图2所示,光线阻绝器20会随着光驱12的倒置而位于该阻绝位置,于此同时,光线传感器14便无法感测到光源16所发出的任何光线,而控制电路22依据光线传感器14并未感测到光源16所发出的任何光线而控制光驱12的运作。举例来说,若光驱12正在读取一光盘片的资料,则控制电路22此时会控制光驱12的运作模式为一关闭运作模式,例如光驱12可发出声音讯号或光讯号做为警示、停止读取该光盘片的资料、或干脆关闭光驱12。Please refer to FIG. 2 , which is a perspective view of the electronic device 10 in an upside-down state. As shown in Figure 2, the light blocker 20 will be located at the blocking position along with the inversion of the optical drive 12, and at the same time, the light sensor 14 will not be able to detect any light emitted by the light source 16, and the control circuit 22 will be based on the light sensor. 14 does not sense any light emitted by the light source 16 to control the operation of the optical drive 12 . For example, if the optical drive 12 is reading the data of an optical disc, the control circuit 22 will control the operation mode of the optical drive 12 to be a closed operation mode at this time, for example, the optical drive 12 can send a sound signal or a light signal as a warning, stop Read the data of the optical disc, or simply close the optical drive 12.

请参阅图3,图3为本发明的第二实施例中一水平置放的电子装置30的透视图,同样地,电子装置30亦具有置放角度感测功能。电子装置30包含一直/横两用的液晶显示面板32、光线传感器14、光源16、一壳体38、一光线阻绝器40及控制电路22.光线阻绝器40包含一固定于壳体38且设置于该阻绝位置外的转动轴48、及一固定于转动轴48且可随着液晶显示面板32的转动而绕着转动轴48旋转的光线阻绝本体50。光线阻绝本体50的第一边44及第二边46间的夹角为九十度,其中光线阻绝器40因重力作用,于液晶显示面板32倾斜至不同角度时,可造成不同程度的光线遮蔽阻绝效果。Please refer to FIG. 3 . FIG. 3 is a perspective view of a horizontally placed electronic device 30 in a second embodiment of the present invention. Similarly, the electronic device 30 also has a placement angle sensing function. The electronic device 30 includes a vertical/horizontal liquid crystal display panel 32, a light sensor 14, a light source 16, a casing 38, a light blocker 40 and a control circuit 22. The light blocker 40 includes a fixed on the casing 38 and is set The rotating shaft 48 outside the blocking position, and a light blocking body 50 fixed on the rotating shaft 48 and capable of rotating around the rotating shaft 48 as the liquid crystal display panel 32 rotates. The included angle between the first side 44 and the second side 46 of the light blocking body 50 is 90 degrees, wherein the light blocking device 40 can cause different degrees of light shielding when the liquid crystal display panel 32 is tilted to different angles due to the effect of gravity blocking effect.

图3中所显示的电子装置30的运作过程略述如下:由于液晶显示面板32水平放置着,并且由于光线阻绝器40的光线阻绝本体50会因重力的关系而保持向下地静止,因此,光线阻绝本体50并不会位于该阻绝位置;于此同时,光线传感器14会感测到光源16所发出的光线,而控制电路22依据光线传感器14有感测到光源16所发出的光线而控制液晶显示面板32的运作,举例来说,控制电路22此时会控制液晶显示面板32的运作模式为一直式图像显示运作模式,例如主动地以垂直方式显示图像,或是告知主机,指示目前应改用垂直方式显示图像.The operation process of the electronic device 30 shown in FIG. 3 is briefly described as follows: since the liquid crystal display panel 32 is placed horizontally, and because the light blocking body 50 of the light blocking device 40 will remain downward due to gravity, the light The blocking body 50 will not be in the blocking position; at the same time, the light sensor 14 will sense the light emitted by the light source 16, and the control circuit 22 will control the liquid crystal according to the light sensor 14 sensing the light emitted by the light source 16. The operation of the display panel 32, for example, the control circuit 22 will control the operation mode of the liquid crystal display panel 32 to be a straight image display operation mode at this time, such as actively displaying images in a vertical manner, or notifying the host to indicate that it should be changed at present. Display the image vertically.

当图3中的液晶显示面板32朝逆时针的方向渐渐转动时,光线阻绝本体50会随着液晶显示面板32的转动而绕着转动轴48旋转,并进而渐渐地接近该阻绝位置.当液晶显示面板32朝逆时针的方向转动四十五度时,光线阻绝本体50的第一边44恰好会位于该阻绝位置,于此同时,光线传感器14也恰好会从有感测到光源16所发出的光线转变成未感测到光源16所发出的任何光线。When the liquid crystal display panel 32 in FIG. 3 gradually rotates counterclockwise, the light blocking body 50 will rotate around the rotation axis 48 along with the rotation of the liquid crystal display panel 32, and then gradually approach the blocking position. When the display panel 32 rotates forty-five degrees in the counterclockwise direction, the first side 44 of the light blocking body 50 will just be located at the blocking position. Any light emitted by the light source 16 is not sensed.

请参阅图4,图4为图3中所显示的液晶显示面板32朝逆时针的方向旋转九十度后电子装置30的透视图。在图4所显示的电子装置30中,光线阻绝本体50位于该阻绝位置,换言之,光线传感器14无法感测到光源16所发出的任何光线,而控制电路22便依据光线传感器14并未感测到光源16所发出的任何光线而改变液晶显示面板32的运作.举例来说,控制电路22此时会控制液晶显示面板32的运作模式为一横式图像显示运作模式,例如主动地以水平方式显示图像,或是告知主机,指示目前应改用水平方式显示图像。Please refer to FIG. 4 , which is a perspective view of the electronic device 30 after the liquid crystal display panel 32 shown in FIG. 3 is rotated 90 degrees counterclockwise. In the electronic device 30 shown in FIG. 4 , the light blocking body 50 is located at the blocking position. In other words, the light sensor 14 cannot detect any light emitted by the light source 16, and the control circuit 22 relies on the fact that the light sensor 14 does not sense any light emitted by the light source 16. Any light emitted by the light source 16 will change the operation of the liquid crystal display panel 32. For example, the control circuit 22 will control the operation mode of the liquid crystal display panel 32 at this time to be a horizontal image display operation mode, such as actively displaying images in a horizontal manner Displays an image, or informs the host that the image should now be displayed horizontally instead.

当图4中所显示的液晶显示面板32朝逆时针的方向旋转达超过四十五度而至九十度后,光线阻绝本体50便会移离该阻绝位置,换言之,光线传感器14便可再次感测到光源16所发出的光线,而控制电路22便依据光线传感器14有感测到光源16所发出的光线而控制液晶显示面板32的运作模式为该直式图像显示运作模式。When the liquid crystal display panel 32 shown in FIG. 4 rotates counterclockwise over forty-five degrees to ninety degrees, the light blocking body 50 will move away from the blocking position, in other words, the light sensor 14 can be turned on again The light emitted by the light source 16 is sensed, and the control circuit 22 controls the operation mode of the liquid crystal display panel 32 to be the direct image display operation mode according to the light sensor 14 sensing the light emitted by the light source 16 .

在本发明的第二实施例中,光线阻绝本体50的第一边44及第二边46的夹角为九十度,当然,该夹角也可视实际需要而作适度的修改.请参阅图5,光线阻绝器亦可视需要做各种形式上的更改,例如第二实施例中的光阻绝本体50可用如图5中的光阻绝本体90替代,光阻绝本体90更包含一杆体92以及一底边94,与一转动轴96共同动作,构成假想的虚拟第一边98与虚拟第二边100,利用类似于第二实施例中所述的原理,亦可达成如第二实施例中的功效;此外,底边94可依需要做外型上的改变,且于底边94上更可根据需要开设一个以上的孔洞,使底边94形成一类似光栅的结构,使光线能于该电子组件处于某些特定角度时得以穿透,而于其它角度时被阻绝。In the second embodiment of the present invention, the included angle between the first side 44 and the second side 46 of the light-blocking body 50 is 90 degrees. Of course, the included angle can also be moderately modified according to actual needs. Please refer to As shown in Fig. 5, the light blocking device can also be modified in various forms as required. For example, the light blocking body 50 in the second embodiment can be replaced by the light blocking body 90 as shown in FIG. 5, and the light blocking body 90 further includes a rod body 92. And a bottom edge 94, which works together with a rotating shaft 96, constitutes a virtual first edge 98 and an imaginary second edge 100. Using the principle similar to that described in the second embodiment, the second embodiment can also achieve In addition, the bottom edge 94 can be changed in appearance as required, and more than one hole can be opened on the bottom edge 94 as required, so that the bottom edge 94 forms a structure similar to a grating, so that the light can The electronic component is penetrated at certain angles and blocked at other angles.

请参阅图6及图7,图6为本发明的第三实施例中一电子装置60的透视图,同样地,电子装置60亦具有置放角度感测功能,而图7为图6中所显示的电子装置60沿一切线LL′的剖面图。电子装置60包含光驱12、一光线传感器64、一光源66、一壳体68、一光线阻绝器70及控制电路72。光线阻绝器70包含一固定于壳体68上的转动轴78、及一固定于转动轴48且可随着光驱12的转动而绕着转动轴78旋转的光线阻绝本体80.光线阻绝本体80的第一边74及第二边76间的夹角为六十度.Please refer to Fig. 6 and Fig. 7, Fig. 6 is the perspective view of an electronic device 60 in the third embodiment of the present invention, similarly, electronic device 60 also has placement angle sensing function, and Fig. 7 is that shown in Fig. 6 A cross-sectional view of electronic device 60 along tangent line LL' is shown. The electronic device 60 includes an optical drive 12 , a light sensor 64 , a light source 66 , a housing 68 , a light blocker 70 and a control circuit 72 . The light blocking device 70 includes a rotating shaft 78 fixed on the casing 68, and a light blocking body 80 fixed on the rotating shaft 48 and rotatable around the rotating shaft 78 with the rotation of the optical drive 12. The light blocking body 80 The included angle between the first side 74 and the second side 76 is 60 degrees.

电子装置60的运作方式类似于电子装置10的运作方式.电子装置60的运作过程略述如下:当电子装置60中的光驱12水平放置时,如图6中所示,光线阻绝器70的光线阻绝本体80位于一可阻绝光线传感器64感测到光源66所发出的光线的阻绝位置P2,于此同时,光线传感器64不会感测到光源16所发出的任何光线,而控制电路72依据光线传感器64未感测到光源66所发出的任何光线而控制光驱12的运作模式为一致能运作模式,以持续地读取该光盘片的资料;当电子装置60中的光驱12渐渐倾斜时,光线阻绝器70的光线阻绝本体80会随着光驱12的倾斜而绕着转动轴78旋转,并且渐渐移离阻绝位置P2.当光驱12的倾斜角度达三十度时,光线阻绝本体80的第一边74或第二边76(视光驱12逆时针转动或顺时针转动)会恰好位于阻绝位置P2,于此同时,光线传感器64也恰好会从未感测到光源66所发出的任何光线转变成有感测到光源66所发出的光线;最后,当电子装置60中的光驱12持续倾斜,光线阻绝本体80会移离阻绝位置P2,于此同时,光线传感器64会感测到光源66所发出的光线,而控制电路72便依据光线传感器64有感测到光源66所发出的光线控制光驱12的运作模式为一关闭运作模式,例如光驱12可发出声音讯号或光讯号做为警示、停止读取该光盘片的资料、或干脆关闭光驱12。The operation mode of the electronic device 60 is similar to the operation mode of the electronic device 10. The operation process of the electronic device 60 is briefly described as follows: when the optical drive 12 in the electronic device 60 is placed horizontally, as shown in FIG. The blocking body 80 is located at a blocking position P 2 which can block the light sensor 64 from sensing the light emitted by the light source 66. At the same time, the light sensor 64 will not sense any light emitted by the light source 16, and the control circuit 72 will The light sensor 64 does not sense any light emitted by the light source 66 and controls the operation mode of the optical drive 12 to be a consistent operation mode, so as to continuously read the data of the optical disc; when the optical drive 12 in the electronic device 60 is gradually tilted, The light blocking body 80 of the light blocking device 70 will rotate around the rotation axis 78 with the inclination of the optical drive 12, and gradually move away from the blocking position P2 . When the inclination angle of the optical drive 12 reaches thirty degrees, the light blocking body 80 will The first side 74 or the second side 76 (depending on the counterclockwise rotation or clockwise rotation of the optical drive 12) will just be located at the blocking position P2 , and at the same time, the light sensor 64 will never sense any light emitted by the light source 66. The light is transformed into the light emitted by the sensed light source 66; finally, when the optical drive 12 in the electronic device 60 continues to tilt, the light blocking body 80 will move away from the blocking position P2 , and at the same time, the light sensor 64 will sense The light emitted by the light source 66, and the control circuit 72 controls the operation mode of the optical drive 12 to be a closed operation mode according to the light sensor 64 sensing the light emitted by the light source 66. For example, the optical drive 12 can send out a sound signal or a light signal as Warn, stop reading the data of the optical disc, or simply close the optical drive 12.

另外,本发明中更提出一种于电子装置中依据其置放角度选择操作模式的方法,其依据一光线传感器所感测一光源所朝向该光线传感器发射的一光线的强度,自复数个运作模式中择一作为一电子组件的运作模式.该方法利用一光线阻绝器,于该电子组件倾斜时,根据该电子组件的倾斜角度阻绝该光线,该光线阻绝器因重力作用,于该电子组件倾斜不同角度时,可造成不同程度的光线遮蔽阻绝效果,其中该电子装置更包含一壳体,该光线阻绝器以可转动的方式固定于该壳体上,于一实施例中,当该电子组件的置放角度位于该预定范围内时,该光线阻绝器转动至一可阻绝该光线传感器感测到该光线的位置.举例而言,当该电子组件为一光驱时,可以依据该光线传感器所感测的光线强度选择致能运作模式或是关闭运作模式;当该电子组件为一直/横两用的液晶显示面板(LCD)时,可以依据该光线传感器所感测的光线强度选择直式图像显示运作模式或是横式图像显示运作模式.In addition, the present invention further proposes a method for selecting an operating mode in an electronic device according to its placement angle, which is based on a light sensor sensing a light intensity emitted by a light source toward the light sensor, from a plurality of operating modes Choose one as the operation mode of an electronic component. This method uses a light blocker to block the light according to the tilt angle of the electronic component when the electronic component is tilted. The light blocker is tilted at the electronic component due to gravity. At different angles, different degrees of light shielding and blocking effects can be caused, wherein the electronic device further includes a casing, and the light blocking device is fixed on the casing in a rotatable manner. In one embodiment, when the electronic component When the placement angle is within the predetermined range, the light blocker rotates to a position where the light sensor can be blocked from sensing the light. For example, when the electronic component is an optical drive, the light sensor can sense The detected light intensity can be used to select the enabled operation mode or the closed operation mode; when the electronic component is a vertical/horizontal liquid crystal display panel (LCD), the vertical image display operation can be selected according to the light intensity sensed by the light sensor mode or horizontal image display operation mode.

相较于现有技术,本发明的电子装置具有置放角度感测功能,其包含一电子组件、一控制电路、一光源、一光线传感器及一光线阻绝器.该控制电路可于该光线传感器因该光线阻绝器的阻绝而未感测到该光源所发出的任何光线时,改变该电子组件的运作方式,以保护该电子组件免于受损.此外,该控制电路亦可更进一步地依据该光线传感器所感测该光线的强度,控制该电子组件自复数个运作模式中择一执行,以光驱为例,该光线阻绝器因重力作用,于该电子组件倾斜不同角度时,可能造成不同程度的遮蔽阻绝效果,则该控制电路可以根据该光线传感器所感测该光线的强度,得知目前该光驱的倾斜角度,进而选择不同的光驱自动平衡模式或是如上所述的关闭运作模式.Compared with the prior art, the electronic device of the present invention has a placement angle sensing function, which includes an electronic component, a control circuit, a light source, a light sensor and a light blocker. The control circuit can be used in the light sensor When any light emitted by the light source is not sensed due to the blocking of the light blocker, the operation mode of the electronic component is changed to protect the electronic component from damage. In addition, the control circuit can also be further based on The intensity of the light sensed by the light sensor controls the electronic component to choose one of a plurality of operating modes. Taking the optical drive as an example, the light blocker may cause different degrees of damage when the electronic component is tilted at different angles due to gravity. The control circuit can know the current tilt angle of the optical drive according to the intensity of the light sensed by the light sensor, and then select a different automatic balance mode of the optical drive or the above-mentioned closed operation mode.

请参阅图8,图8为一方块图,用以说明根据本发明的控制电路之一实施例,为简化说明起见,此处以光驱为例,且图中省去了部分电路,然而省去的部分皆为现有技术者所熟知:光驱中由一微控制器802负责处理大部分的控制及运算工作,并与主机804沟通,以接收或传送指令及资料,一般而言,该微控制器802执行储存于一闪存806的程序代码,并与一动态随机存取内存808互动以完成各种预先设计的运算.此外,一射频讯号放大器810将盘片反射的激光讯号放大后传送给该微控制器802,供微控制器802进行伺服控制与数据译码,而该微控制器802再依运算结果输出伺服控制讯号予光驱中的致动器与马达812。这些动作为一般光驱中的动作,皆能为现有技术使用者所熟知。Please refer to FIG. 8. FIG. 8 is a block diagram for illustrating an embodiment of the control circuit according to the present invention. For the sake of simplicity of description, an optical drive is taken as an example here, and some circuits are omitted in the figure, but the omitted Some of them are well known to those skilled in the art: a microcontroller 802 in the optical drive is responsible for handling most of the control and calculation work, and communicates with the host 804 to receive or transmit instructions and data. Generally speaking, the microcontroller 802 executes the program code stored in a flash memory 806, and interacts with a dynamic random access memory 808 to complete various pre-designed calculations. In addition, a radio frequency signal amplifier 810 amplifies the laser signal reflected by the disk and sends it to the micro The controller 802 is used for the microcontroller 802 to perform servo control and data decoding, and the microcontroller 802 outputs servo control signals to the actuators and motors 812 in the optical drive according to the calculation results. These actions are actions in common CD-ROM drives, and are well known to users of the prior art.

图8中另外包括了一光线传感器822、一参考电压824以及一比较器820,图中并省略了光源及光线阻绝器,当该光线传感器因光线阻绝器的阻绝,而使得感测到的光线强度有所变化,此时可以利用该比较器820与该参考电压824,例如当光线传感器822输出电压小于该参考电压824时,则该比较器输出一逻辑讯号给该微控制器802,该微控制器802便能判定是否改变该光驱的运作方式,例如选择不同的光驱自动平衡模式或是如先前所述的关闭运作模式.In Fig. 8, a light sensor 822, a reference voltage 824 and a comparator 820 are additionally included. The light source and the light blocker are omitted in the figure. When the light sensor is blocked by the light blocker, the sensed light If the intensity changes, the comparator 820 and the reference voltage 824 can be used at this time. For example, when the output voltage of the light sensor 822 is lower than the reference voltage 824, the comparator outputs a logic signal to the microcontroller 802. The controller 802 can determine whether to change the operation mode of the optical drive, for example, select a different automatic balance mode of the optical drive or close the operation mode as described above.

请再参阅图9,图9为亦一方块图,用以说明根据本发明的控制电路的另一实施例。与图8比较,该光线传感器822的输出提供给一数字-模拟转换器830,该数字-模拟转换器830将该光线传感器822的输出转换为数字资料后传送给该微控制器802,该微控制器802便能判定是否改变该光驱的运作方式,例如由该光线传感器822所感测光线的强度不同,便可推算出目前该光驱的倾斜角度,进而选择不同的光驱自动平衡模式或是如先前所述的关闭运作模式.Please refer to FIG. 9 again. FIG. 9 is also a block diagram illustrating another embodiment of the control circuit according to the present invention. Compared with FIG. 8, the output of the light sensor 822 is provided to a digital-to-analog converter 830, and the digital-to-analog converter 830 converts the output of the light sensor 822 into digital data and sends it to the microcontroller 802. The controller 802 can determine whether to change the operation mode of the optical drive. For example, the intensity of the light sensed by the light sensor 822 is different, and the current tilt angle of the optical drive can be calculated, and then a different automatic balance mode of the optical drive can be selected or the same as before. Said shutdown mode of operation.

以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明专利的涵盖范围.The above are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the patent of the present invention.

Claims (11)

1. one kind has the electronic installation of putting the angle sensing function, it is characterized in that, comprises:
One CD-ROM drive;
One light sensor is used for light sensing;
One light source is used for the direction emission of a light towards this light sensor; And
One light blocks device, is used for when this CD-ROM drive tilts between a horizontal positioned state and a special angle, block by this light source towards the light of this light sensor emission, this special angle is greater than 0 degree and smaller or equal to 180 degree; And
One control circuit is electrically connected on this light sensor, according to the intensity of this light sensor institute this light of sensing, controls this CD-ROM drive and selects an execution from the activation operating mode in the operating mode with closing.
2. electronic installation as claimed in claim 1, it is characterized in that, also comprise a housing, this light blocks device and is fixed on this housing in the mode of rotating, the storing angle of this CD-ROM drive is between horizontal positioned state and special angle the time, and this light blocks device and turns to one and can block the position that this light sensor senses the light that this light source sends.
3. electronic installation as claimed in claim 2 is characterized in that, described activation operating mode is for reading the data of discs constantly; And close operating mode for this CD-ROM drive sound signal or light signal as caution, stop to read the data of discs or close CD-ROM drive.
4. one kind has the electronic installation of putting the angle sensing function, it is characterized in that, comprises:
Always/horizontal dual-purpose display panels;
One light sensor is used for light sensing;
One light source is used for the direction emission of a light towards this light sensor; And
One light blocks device, be used in this is straight/when horizontal dual-purpose display panels tilts between a horizontal positioned state and a special angle, block by this light source towards the light of this light sensor emission, this special angle be to spend greater than 0 degree and smaller or equal to 90; And
One control circuit is electrically connected on this light sensor, according to the intensity of this light sensor institute this light of sensing, controls this straight/horizontal dual-purpose display panels and shows from straight formula image that operating mode and horizontal type image show in the operating mode and select an execution.
5. electronic installation as claimed in claim 4, it is characterized in that, also comprise a housing, this light blocks device and is fixed on this housing in the mode of rotating, should be straight/the storing angle of horizontal dual-purpose display panels is between horizontal positioned state and special angle the time, and this light blocks device and turns to one and can block the position that this light sensor senses the light that this light source sends.
One kind in electronic installation according to its method of putting the angle Selection operator scheme, it is characterized in that, may further comprise the steps:
Utilize a light source to launch a light to a light sensor;
Utilize a light to block device, when CD-ROM drive tilted between a horizontal positioned state and the special angle, this light blocked device and turns to and block the position of this light source to the light of this light sensor emission;
Whether can sense light according to this light sensor, in the activation operating mode or close the operating mode that chooses one as CD-ROM drive in the operating mode, this special angle is greater than 0 degree and smaller or equal to 90 degree.
7. be set forth in the electronic installation method of putting the angle Selection operator scheme according to it as claim 6, it is characterized in that, the activation operating mode is for reading the data of discs constantly; And
Close operating mode for this CD-ROM drive sound signal or light signal as caution, stop to read the data of discs or close CD-ROM drive.
8. be set forth in the method for putting the angle Selection operator scheme in the electronic installation according to it as claim 7, it is characterized in that, this electronic installation more comprises a housing, this light blocks device and is fixed on this housing in rotating mode, and when the storing angle of this CD-ROM drive when the horizontal positioned state is between this special angle, this light blocks device and turns to one and can block the position that this light sensor senses this light.
One kind in electronic installation according to its method of putting the angle Selection operator scheme, it is characterized in that, may further comprise the steps:
Utilize a light source to launch a light to a light sensor;
Utilize a light to block device, when always/when horizontal dual-purpose display panels tilts between a horizontal positioned state and the special angle, this light blocks device and blocks by the light of this light source to the emission of this light sensor, and this light blocks device and turns to and block the position of this light source to the light of this light sensor emission;
Whether can sense light according to this light sensor, show that at straight formula image operating mode and horizontal type image show the operating mode that chooses one as the dual-purpose display panels of this straight/horizontal stroke in the operating mode, this special angle is greater than 0 degree and smaller or equal to 180 degree.
10. be set forth in the electronic installation method of putting the angle Selection operator scheme as claim 9, it is characterized in that wherein a plurality of operating modes comprise according to it:
Straight formula image shows operating mode; And the horizontal type image shows operating mode.
11. be set forth in the method for putting the angle Selection operator scheme in the electronic installation according to it as claim 9, it is characterized in that, this electronic installation more comprises a housing, this light blocks device and is fixed on this housing in rotating mode, and when this is straight/when the storing angle of horizontal dual-purpose display panels was positioned at this preset range, this light blocked device and turns to one and can block the position that this light sensor senses this light.
CNB2004100316975A 2004-04-13 2004-04-13 Electronic device with placement angle sensing function and method for selecting operation mode Expired - Fee Related CN100418144C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100316975A CN100418144C (en) 2004-04-13 2004-04-13 Electronic device with placement angle sensing function and method for selecting operation mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100316975A CN100418144C (en) 2004-04-13 2004-04-13 Electronic device with placement angle sensing function and method for selecting operation mode

Publications (2)

Publication Number Publication Date
CN1684167A CN1684167A (en) 2005-10-19
CN100418144C true CN100418144C (en) 2008-09-10

Family

ID=35263446

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100316975A Expired - Fee Related CN100418144C (en) 2004-04-13 2004-04-13 Electronic device with placement angle sensing function and method for selecting operation mode

Country Status (1)

Country Link
CN (1) CN100418144C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101762267B (en) * 2008-12-24 2011-12-28 亿光电子工业股份有限公司 Tilt Sensing Device
CN111564166B (en) * 2020-05-06 2021-09-03 杭州郜灵科技有限公司 Magnetic disc maintenance equipment for computer storage equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1147320A (en) * 1994-04-28 1997-04-09 艾利森电话股份有限公司 Bad frame detection
JP2000155952A (en) * 1998-11-18 2000-06-06 Matsushita Electric Ind Co Ltd Optical head device
JP2001307371A (en) * 2000-04-26 2001-11-02 Sankyo Seiki Mfg Co Ltd Optical pickup device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1147320A (en) * 1994-04-28 1997-04-09 艾利森电话股份有限公司 Bad frame detection
JP2000155952A (en) * 1998-11-18 2000-06-06 Matsushita Electric Ind Co Ltd Optical head device
JP2001307371A (en) * 2000-04-26 2001-11-02 Sankyo Seiki Mfg Co Ltd Optical pickup device

Also Published As

Publication number Publication date
CN1684167A (en) 2005-10-19

Similar Documents

Publication Publication Date Title
US6542449B2 (en) Disk drive apparatus
CN115698615A (en) Refrigerator and control method thereof
CN100418144C (en) Electronic device with placement angle sensing function and method for selecting operation mode
JP2002101362A (en) Image display device
US20040042371A1 (en) Optical disc drive
US7813072B2 (en) Method and apparatus for improving performance of hard disk drive at low temperature
US7386866B2 (en) Disk drive with improved tray control
US7436380B2 (en) Electronic Apparatus with level detecting function
KR100457140B1 (en) Method and system for controlling disk servo
JP4435822B2 (en) Information processing apparatus and read control method
TWI241571B (en) Multi-directional controlling method of optical disk drive laser power and device using same
US20110141612A1 (en) Method of unloading transducer in data storage device and disk drive and storage medium using the method
JP3435565B2 (en) Optical disc playback device
US20040042108A1 (en) Information processor and storage device control method
JP2004055135A (en) Method for controlling home-in mode in disk drive, and its device
JP2006114124A (en) Hard disk drive device
CN117435010A (en) Electronic device and method for controlling fan speed
JP2003296964A (en) Apparatus for evaluating adjustment of optical pickup
US20060020952A1 (en) Optical control apparatus
JP2003099932A (en) Optical disk recording device and phase-change type optical medium recording device
US20070006248A1 (en) Disk drive for preventing turntable from tilting
JPH05134781A (en) Electronic equipment
KR20030046837A (en) Method for controlling of laser in optical disc device
JP2008159219A (en) Device, method and program for processing recording medium, imaging device, and program recording medium recording the recording medium processing program
KR20110067666A (en) Disk Servo Parameter Setting Apparatus and Method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080910

Termination date: 20100413