JP5695974B2 - Mobile terminal, brightness control program, and brightness control method - Google Patents

Mobile terminal, brightness control program, and brightness control method Download PDF

Info

Publication number
JP5695974B2
JP5695974B2 JP2011117599A JP2011117599A JP5695974B2 JP 5695974 B2 JP5695974 B2 JP 5695974B2 JP 2011117599 A JP2011117599 A JP 2011117599A JP 2011117599 A JP2011117599 A JP 2011117599A JP 5695974 B2 JP5695974 B2 JP 5695974B2
Authority
JP
Japan
Prior art keywords
brightness
distance
detected
detection unit
unit
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
JP2011117599A
Other languages
Japanese (ja)
Other versions
JP2012248974A (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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2011117599A priority Critical patent/JP5695974B2/en
Publication of JP2012248974A publication Critical patent/JP2012248974A/en
Application granted granted Critical
Publication of JP5695974B2 publication Critical patent/JP5695974B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、携帯端末、輝度制御プログラムおよび輝度制御方法に関し、特にたとえば、表示部の輝度を制御する、携帯端末、輝度制御プログラムおよび輝度制御方法に関する。 The present invention relates to a mobile terminal, a brightness control program, and a brightness control method, and more particularly to a mobile terminal, a brightness control program, and a brightness control method that control the brightness of a display unit, for example.

この種の携帯端末の一例が特許文献1に開示されている。この特許文献1の通信端末の一例である携帯電話の制御回路は、環境照度検出回路の出力に応じてバックライトの制御値を算出し、算出結果に基づきバックライトの点灯/非点灯および輝度を制御する機能を有している。   An example of this type of portable terminal is disclosed in Patent Document 1. The control circuit of the mobile phone which is an example of the communication terminal of Patent Document 1 calculates the backlight control value according to the output of the ambient illuminance detection circuit, and determines whether the backlight is turned on / off and the brightness based on the calculation result. It has a function to control.

また、背景技術の他の例が特許文献2に開示されている。この特許文献2の環境適応型画面表示システムは、ディスプレイ装置に、ディスプレイ画面の近傍の環境照度を測定する照度センサと、前方に位置する操作者とディスプレイ画面との距離を測定する距離センサとを備える。コンピュータは、照度センサの出力と距離センサの出力とでディスプレイ画面の輝度とコントラストとを制御する。たとえば、環境照度が明るいときは輝度を高くコントラストも強くし、周囲が暗いときには輝度を低くコントラストも弱くする方が見やすい。また、画面との距離が近いときは輝度が低くコントラストが弱くてもよいが、画面との距離が遠くなると輝度を高くコントラストも強くしないと見にくい。   Another example of the background art is disclosed in Patent Document 2. This environment-adaptive screen display system of Patent Document 2 includes, on a display device, an illuminance sensor that measures environmental illuminance in the vicinity of the display screen, and a distance sensor that measures the distance between an operator located in front and the display screen. Prepare. The computer controls the brightness and contrast of the display screen by the output of the illuminance sensor and the output of the distance sensor. For example, when the ambient illuminance is bright, it is easier to see when the brightness is high and the contrast is strong, and when the surroundings are dark, the brightness is low and the contrast is weak. Further, when the distance to the screen is short, the luminance may be low and the contrast may be weak. However, when the distance from the screen is increased, it is difficult to see unless the luminance is high and the contrast is strong.

さらに、背景技術のその他の例が特許文献3に開示されている。この特許文献3の調光機能付モニタ装置は、制御部により、外光センサで検出された外光の光量に応じてLCD画面の輝度調整(自動調光率制御)を行い、さらに、タッチパネル操作が行われている期間中は、タッチパネルが操作された時点での輝度状態(操作検出時点での外光の光量に応じた調光率)を固定化して一定に制御している。
特開2004−96593号[H04M 1/00, G02F 1/133, G09G 3/20, G09G 3/30 G09G 3/34] 特開2000−98991号[G09G 5/00, G09G 5/10, H04N 5/57, H04N 5/66] 特開2007−79113号[G09G 5/00, G09G 3/36, H05B 37/02, G02F 1/1333, G02F 1/133]
Further, another example of the background art is disclosed in Patent Document 3. In the monitor device with dimming function of Patent Document 3, the controller adjusts the brightness of the LCD screen (automatic dimming rate control) according to the amount of external light detected by the external light sensor, and further operates the touch panel. During the period when the touch panel is operated, the luminance state at the time when the touch panel is operated (the dimming rate according to the amount of external light at the time of detecting the operation) is fixed and controlled to be constant.
JP 2004-96593 [H04M 1/00, G02F 1/133, G09G 3/20, G09G 3/30 G09G 3/34] JP 2000-98991 [G09G 5/00, G09G 5/10, H04N 5/57, H04N 5/66] JP 2007-79113 [G09G 5/00, G09G 3/36, H05B 37/02, G02F 1/1333, G02F 1/133]

しかし、特許文献1の携帯電話では、環境照度検出回路の出力に応じてバックライトの点灯/非点灯および輝度を制御するようにしてあるため、環境照度を検出する部分を使用者の顔や手指などで覆っている場合には、正確に環境輝度を検出することができない。この場合には、環境照度検出回路の出力に応じて制御されるバックライトの点灯/非点灯および輝度を正しく制御することができない。   However, since the mobile phone of Patent Document 1 controls the lighting / non-lighting of the backlight and the luminance in accordance with the output of the environmental illuminance detection circuit, the portion for detecting the environmental illuminance is used as the face or finger of the user. When it is covered with, etc., environmental brightness cannot be detected accurately. In this case, the lighting / non-lighting of the backlight and the brightness controlled according to the output of the ambient illuminance detection circuit cannot be correctly controlled.

また、特許文献2の環境適応型画面表示システムでは、画面を見やすくするために、環境照度および前方に位置する操作者とディスプレイ画面との間の距離に基づいて、ディスプレイ画面の輝度およびコントラストを制御するだけであり、特許文献1の携帯電話と同様に、環境照度を検出する部分を使用者の顔や手指などで覆っている場合には、正確に環境輝度を検出することができない。したがって、ディスプレイ画面の輝度およびコントラストを正しく制御できない場合がある。   In addition, in the environment adaptive screen display system of Patent Document 2, the brightness and contrast of the display screen are controlled based on the environmental illumination and the distance between the operator located in front and the display screen in order to make the screen easier to see. As with the mobile phone of Patent Document 1, when the portion for detecting the ambient illuminance is covered with the user's face or fingers, the ambient brightness cannot be detected accurately. Therefore, the brightness and contrast of the display screen may not be correctly controlled.

さらに、特許文献3の調光機能付モニタ装置では、タッチパネル操作が行われている期間中は、タッチパネルが操作された時点の輝度状態やディスク排出状態を検出したときの輝度状態を固定化して一定に制御するようにしてあるため、タッチパネル操作の途中で外光センサへの光入射が遮られなくなった場合には、LCD画面の輝度が適切でない場合がある。特に、この調光機能付モニタ装置を携帯型の電子機器に採用した場合には、使用環境の変化に対応することができないと考えられる。   Further, in the monitor device with dimming function of Patent Document 3, during the period when the touch panel operation is performed, the luminance state when the touch panel is operated and the luminance state when the disc ejection state is detected are fixed and fixed. Therefore, the brightness of the LCD screen may not be appropriate when light incident on the external light sensor is not blocked during the touch panel operation. In particular, when this monitor device with dimming function is employed in a portable electronic device, it is considered that it cannot cope with changes in the usage environment.

それゆえに、この発明の主たる目的は、新規な、携帯端末、輝度制御プログラムおよび輝度制御方法を提供することである。 Therefore, a main object of the present invention is to provide a novel portable terminal, a brightness control program, and a brightness control method.

また、この発明の他の目的は、周囲の明るさを高い精度で検出できる、携帯端末、輝度制御プログラムおよび輝度制御方法を提供することである。 Another object of the present invention is to provide a portable terminal, a brightness control program, and a brightness control method that can detect ambient brightness with high accuracy.

本発明は、上記の課題を解決するために、以下の構成を採用した。なお、括弧内の参照符号および補足説明等は、本発明の理解を助けるために後述する実施の形態との対応関係を示したものであって、本発明を何ら限定するものではない。   The present invention employs the following configuration in order to solve the above problems. The reference numerals in parentheses, supplementary explanations, and the like indicate correspondence relationships with embodiments described later to help understanding of the present invention, and do not limit the present invention in any way.

第1の発明は、表示部、携帯端末の周囲の明るさを検出する明るさ検出部、明るさ検出部と当該明るさ検出部を遮蔽する遮蔽物との距離を検出する距離検出部、距離検出部によって検出された距離に応じて、明るさ検出部によって検出される明るさを補正する補正部、および明るさ検出部が遮蔽された場合に、補正部によって補正された明るさに応じて表示部の輝度を制御する輝度制御部を備える、携帯端末である。 The first invention includes a display unit, a brightness detection unit that detects brightness around the portable terminal, a distance detection unit that detects a distance between the brightness detection unit and a shielding object that shields the brightness detection unit , According to the distance detected by the separation detection unit, the correction unit that corrects the brightness detected by the brightness detection unit , and the brightness corrected by the correction unit when the brightness detection unit is shielded The mobile terminal includes a luminance control unit that controls the luminance of the display unit .

第1の発明では、携帯端末(10)は表示部(30)を備え、検出部(24、44、48)は、携帯端末の周囲の明るさを検出する。距離検出部(24、42、S1)は、明るさ検出部と当該明るさ検出部を遮蔽する遮蔽物との距離を検出する。補正部(24、S3、S5)は、距離検出部によって検出された距離に応じて、明るさ検出部によって検出される明るさを補正する。つまり、遮蔽物によって明るさ検出部が遮蔽されることにより、当該明るさ検出部で検出される明るさが低減される場合に、その遮蔽の度合に応じて、補正部によってその明るさが補われる。輝度制御部(24、40)は、明るさ検出部が遮蔽された場合に、補正部によって補正された明るさに応じて表示部の輝度を制御する。 In the first invention, the mobile terminal (10) is provided with a display unit (30), detector (24,44,48) detects the brightness around the mobile terminal end. The distance detection unit (24, 42, S1) detects the distance between the brightness detection unit and the shielding object that blocks the brightness detection unit. The correction unit (24, S3, S5) corrects the brightness detected by the brightness detection unit in accordance with the distance detected by the distance detection unit. In other words, when the brightness detected by the brightness detection unit is reduced by shielding the brightness detection unit by the shielding object, the brightness is compensated by the correction unit according to the degree of shielding. Is called. The luminance control unit (24, 40) controls the luminance of the display unit according to the brightness corrected by the correction unit when the brightness detection unit is shielded.

第1の発明によれば、遮蔽物によって低減された明るさを補うので、高い精度で明るさを検出することができる。   According to the first aspect, since the brightness reduced by the shielding object is compensated, the brightness can be detected with high accuracy.

第2の発明は、第1の発明に従属し、明るさ検出部によって検出された明るさに基づく値を増幅する増幅部をさらに備え、補正部は、距離検出部によって検出された距離に応じて、増幅部の増幅率を変化させる。   A second invention is dependent on the first invention and further includes an amplifying unit that amplifies a value based on the brightness detected by the brightness detecting unit, and the correcting unit corresponds to the distance detected by the distance detecting unit. Then, the amplification factor of the amplification unit is changed.

第2の発明では、携帯端末は、増幅部(46)をさらに備える。この増幅部は、明るさ検出部によって検出された明るさに基づく値(実施例では、電圧値)を増幅する。補正部は、距離検出部によって検出された距離に応じて、増幅部の増幅率を変化させる。距離が長い程、増幅率が小さくされ、距離が短い程、増幅率が大きくされる。   In the second invention, the portable terminal further includes an amplification unit (46). The amplifying unit amplifies a value (in the embodiment, a voltage value) based on the brightness detected by the brightness detecting unit. The correction unit changes the amplification factor of the amplification unit according to the distance detected by the distance detection unit. The longer the distance, the smaller the amplification factor, and the shorter the distance, the larger the amplification factor.

第2の発明によれば、明るさ検出部と当該明るさ検出部を遮蔽する遮蔽物との距離に応じて明るさに基づく値の増幅率を変化させるので、遮蔽物によって低減された明るさを補うことができる。   According to the second invention, since the amplification factor of the value based on the brightness is changed according to the distance between the brightness detection unit and the shielding object that shields the brightness detection unit, the brightness reduced by the shielding object Can be supplemented.

第3の発明は、第1の発明に従属し、補正部は、距離検出部によって検出された距離に応じて、明るさ検出部によって検出された明るさに基づく値に補正値を加算する。   A third invention is dependent on the first invention, and the correction unit adds a correction value to a value based on the brightness detected by the brightness detection unit according to the distance detected by the distance detection unit.

第3の発明では、補正部は、距離検出部によって検出された距離に応じて、明るさ検出部によって検出された明るさに基づく値に補正値を加算する。たとえば、補正値は、予め決定されており、距離に応じて可変的に設定される。この補正値もまた、距離が短い程、大きくされ、距離が長い程、小さくされる。   In the third invention, the correction unit adds the correction value to the value based on the brightness detected by the brightness detection unit according to the distance detected by the distance detection unit. For example, the correction value is determined in advance and is variably set according to the distance. This correction value is also increased as the distance is shorter, and is decreased as the distance is longer.

第3の発明においても、第2の発明と同様に、遮蔽物によって低減された明るさを補うことができる。   In the third invention as well, as with the second invention, the brightness reduced by the shielding object can be compensated.

第4の発明は、第1の発明に従属し、補正部は、距離検出部によって検出された距離に応じて、明るさ検出部によって検出された明るさに基づく値に所定の倍率を乗算する。   A fourth invention is dependent on the first invention, and the correction unit multiplies a value based on the brightness detected by the brightness detection unit by a predetermined magnification according to the distance detected by the distance detection unit. .

第4の発明では、第1の発明に従属し、補正部は、距離検出部によって検出された距離に応じて、明るさ検出部によって検出された明るさに基づく値に所定の倍率を乗算する。たとえば、所定の倍率は、予め決定されており、距離に応じて可変的に設定される。この所定の倍率もまた、距離が短い程、大きくされ、距離が長い程、小さくされる。   In a fourth invention, according to the first invention, the correction unit multiplies a value based on the brightness detected by the brightness detection unit by a predetermined magnification according to the distance detected by the distance detection unit. . For example, the predetermined magnification is determined in advance and is variably set according to the distance. The predetermined magnification is also increased as the distance is shorter, and is decreased as the distance is longer.

第4の発明においても、第2の発明と同様に、遮蔽物によって低減された明るさを補うことができる。
第5の発明は、第1ないし第4の発明のいずれかに従属し、距離検出部によって検出された距離がゼロである場合に、明るさ検出部によって検出された明るさを無効にする無効部をさらに備える。
第5の発明では、無効部(24)は、距離検出部によって検出された距離がゼロである場合に、明るさ検出部によって検出された明るさを無効にする。
In the fourth invention as well, as with the second invention, the brightness reduced by the shielding object can be compensated.
A fifth invention is dependent on any one of the first to fourth inventions, and invalidates the brightness detected by the brightness detection unit when the distance detected by the distance detection unit is zero. The unit is further provided.
In the fifth invention, the invalid portion (24) invalidates the brightness detected by the brightness detector when the distance detected by the distance detector is zero.

の発明は、表示部および携帯端末の周囲の明るさを検出する明るさ検出部を備える、携帯端末のプロセッサに、明るさ検出部と当該明るさ検出部によって検出される明るさを低減する遮蔽物との距離を検出する距離検出ステップ、距離検出ステップによって検出された距離に応じて、明るさ検出部によって検出される明るさを補正する補正ステップ、および明るさ検出部が遮蔽された場合に、補正ステップによって補正された明るさに応じて表示部の輝度を制御する輝度制御ステップを実行させる、輝度制御プログラムである。 Sixth invention, the display unit and comprising a brightness detector for detecting ambient brightness of the portable terminal, the processor of the portable terminal, the brightness thus detected in Brightness Is detector and the brightness detecting unit is distance detection step of detecting the distance between the shield to reduce, in accordance with the distance detected by the distance detecting step, the correction step of correcting the brightness is thus detected in brightness detector, and brightness detector This is a brightness control program that executes a brightness control step for controlling the brightness of the display unit in accordance with the brightness corrected by the correction step .

の発明は、表示部および携帯端末の周囲の明るさを検出する明るさ検出部を備える、携帯端末における輝度制御方法であって、(a明るさ検出部と当該明るさ検出部によって検出される明るさを低減する遮蔽物との距離を検出し、(b)ステップ()によって検出された距離に応じて、明るさ検出部によって検出される明るさを補正し、そして(c)明るさ検出部が遮蔽された場合に、ステップ(b)によって補正された明るさに応じて表示部の輝度を制御する、輝度制御方法であるA seventh invention is a luminance control method in a mobile terminal , comprising a display unit and a brightness detection unit for detecting the brightness around the mobile terminal , wherein (a ) the brightness detection unit and the brightness detection unit Detecting the distance to the shield that reduces the detected brightness, correcting the brightness detected by the brightness detection unit according to the distance detected by (b ) step ( a ) , and (c ) A brightness control method for controlling the brightness of the display unit according to the brightness corrected in step (b) when the brightness detection unit is shielded .

および第の発明においても、第1の発明と同様に、周囲の明るさを高い精度で検出することができる。 In the sixth and seventh inventions, as in the first invention, ambient brightness can be detected with high accuracy.

この発明によれば、遮蔽物によって明るさ検出部が遮蔽されることにより、当該明るさ検出部で検出される明るさが低減される場合に、その遮蔽の度合に応じて明るさを補正するので、周囲の明るさを高い精度で検出することができる。   According to this invention, when the brightness detected by the brightness detecting unit is reduced by the brightness detecting unit being shielded by the shielding object, the brightness is corrected according to the degree of shielding. Therefore, ambient brightness can be detected with high accuracy.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1はこの発明の一実施例の携帯電話機の電気的な構成を示すブロック図である。FIG. 1 is a block diagram showing the electrical configuration of a mobile phone according to an embodiment of the present invention. 図2は図1に示す携帯電話機の外観を示す図である。FIG. 2 is a diagram showing an appearance of the mobile phone shown in FIG. 図3は補正テーブルの一例を示す図である。FIG. 3 is a diagram illustrating an example of the correction table. 図4は図1に示すRAMのメモリマップの一例を示す図である。FIG. 4 is a diagram showing an example of a memory map of the RAM shown in FIG. 図5は図1に示すプロセッサのゲイン調整処理を示すフロー図である。FIG. 5 is a flowchart showing gain adjustment processing of the processor shown in FIG. 図6は補正テーブルの他の例を示す図である。FIG. 6 is a diagram showing another example of the correction table. 図7は補正テーブルのその他の例を示す図である。FIG. 7 is a diagram showing another example of the correction table.

図1を参照して、この発明の携帯端末の一実施例である携帯電話機10は、CPUまたはコンピュータと呼ばれるプロセッサ24を含む。このプロセッサ24には、無線通信回路14、A/D変換器16、D/A変換器20、キー入力装置26、表示ドライバ28、フラッシュメモリ32、RAM34、タッチパネル制御回路36、バックライト40、近接センサ42、A/D変換器44およびアンプ46が接続される。   Referring to FIG. 1, a mobile phone 10 as an embodiment of a mobile terminal of the present invention includes a processor 24 called a CPU or a computer. The processor 24 includes a wireless communication circuit 14, an A / D converter 16, a D / A converter 20, a key input device 26, a display driver 28, a flash memory 32, a RAM 34, a touch panel control circuit 36, a backlight 40, a proximity A sensor 42, an A / D converter 44 and an amplifier 46 are connected.

また、無線通信回路14にはアンテナ12が接続され、A/D変換器16にはマイク18が接続され、D/A変換器20にはアンプ(図示せず)を介してスピーカ22が接続される。また、表示ドライバ28には、ディスプレイ30が接続される。さらに、タッチパネル制御回路36にはタッチパネル38が接続される。そして、A/D変換器44には、アンプ46を介して照度センサ48が接続される。   An antenna 12 is connected to the wireless communication circuit 14, a microphone 18 is connected to the A / D converter 16, and a speaker 22 is connected to the D / A converter 20 via an amplifier (not shown). The A display 30 is connected to the display driver 28. Further, a touch panel 38 is connected to the touch panel control circuit 36. An illuminance sensor 48 is connected to the A / D converter 44 via an amplifier 46.

プロセッサ24は、制御用のICであり、携帯電話機10の全体制御を司る。RAM34は、プロセッサ24の作業領域(描画領域を含む)ないしバッファ領域として用いられる。フラッシュメモリ32には、携帯電話機10の文字、画像、音声、音および映像のようなコンテンツ、アドレス帳、電子メール(送信メール、受信メール)、スケジュールおよびメモ帳などのデータが記録される。   The processor 24 is an IC for control, and governs overall control of the mobile phone 10. The RAM 34 is used as a work area (including a drawing area) or a buffer area of the processor 24. The flash memory 32 stores contents such as characters, images, sounds, sounds and videos of the mobile phone 10, data such as an address book, electronic mail (transmitted mail, received mail), schedule, and memo pad.

A/D変換器16は、マイク18を通して入力される音声ないし音についてのアナログ音声信号を、デジタル音声信号に変換して、プロセッサ24に出力する。D/A変換器20は、デジタル音声信号をアナログ音声信号に変換(復号)し、アンプを介してスピーカ22に与える。したがって、アナログ音声信号に対応する音声ないし音がスピーカ22から出力される。   The A / D converter 16 converts an analog audio signal for audio or sound input through the microphone 18 into a digital audio signal and outputs the digital audio signal to the processor 24. The D / A converter 20 converts (decodes) the digital audio signal into an analog audio signal, and supplies the analog audio signal to the speaker 22 via the amplifier. Therefore, sound or sound corresponding to the analog sound signal is output from the speaker 22.

キー入力装置26は、図2(A)に示すように、通話キー26a、メニューキー26bおよび終話キー26cを含み、使用者が操作したキーの情報(キーデータ)はプロセッサ24に入力される。詳細な説明は省略するが、たとえば、キー入力装置26に含まれる各キーが操作されると、クリック音が鳴る。したがって、使用者は、クリック音を聞くことで、キー操作に対する操作感を得ることができる。   As shown in FIG. 2A, the key input device 26 includes a call key 26 a, a menu key 26 b, and an end key 26 c, and key information (key data) operated by the user is input to the processor 24. . Although a detailed description is omitted, for example, when each key included in the key input device 26 is operated, a click sound is generated. Therefore, the user can obtain an operational feeling for the key operation by listening to the click sound.

表示ドライバ28は、プロセッサ24の指示の下、ディスプレイ30の表示を制御する。また、表示ドライバ28は表示する画像データを一時的に記憶するVRAM(Video RAM)を含み、プロセッサ24は、ディスプレイ30に出力する画像データを、このVRAMに記憶させる。   The display driver 28 controls display on the display 30 under the instruction of the processor 24. The display driver 28 includes a VRAM (Video RAM) that temporarily stores image data to be displayed, and the processor 24 stores the image data to be output to the display 30 in the VRAM.

タッチパネル38は、指が表面に接近して生じた電極間の静電容量の変化を検出する静電容量方式のタッチパネルであり、たとえば1本または複数本の指がタッチパネル38に触れたことを検出する。このタッチパネル38は、ディスプレイ30の画面内で、任意の位置を指示するためのポインティングデバイスとして機能する。たとえば、タッチパネル38は、その表面を指で、押したり、撫でたり(擦ったり)、触られたりすることにより操作されると、その操作を検出する。そして、接触検出部として機能するタッチパネル制御回路36は、タッチパネル38に指が触れると、その指の位置を特定し、操作された位置を示す座標のデータ(座標データ)をプロセッサ24に出力する。   The touch panel 38 is a capacitive touch panel that detects a change in capacitance between electrodes that occurs when a finger approaches the surface. For example, the touch panel 38 detects that one or more fingers touch the touch panel 38. To do. The touch panel 38 functions as a pointing device for instructing an arbitrary position within the screen of the display 30. For example, when the touch panel 38 is operated by pressing, stroking (rubbing), or touching the surface with a finger, the touch panel 38 detects the operation. Then, when the touch panel 38 touches the touch panel 38, the touch panel control circuit 36 that functions as a contact detection unit specifies the position of the finger and outputs coordinate data (coordinate data) indicating the operated position to the processor 24.

なお、タッチ操作は指だけに限らず、導電体が先端に取り付けられたタッチペンなどを用いて行われてもよい。また、タッチパネル38としては、静電容量方式のものに限定される必要はなく、抵抗膜方式、超音波方式、赤外線方式および電磁誘導方式などの他の方式のものが用いられてもよい。   The touch operation is not limited to a finger, and may be performed using a touch pen with a conductor attached to the tip. Further, the touch panel 38 is not limited to the capacitive type, and other types such as a resistive film type, an ultrasonic type, an infrared type, and an electromagnetic induction type may be used.

バックライト40は、ディスプレイ30を背面から照明するものであり、たとえば、エッジライト方式が採用される。バックライト40の明るさは、プロセッサ24によって可変的に設定される。たとえば、バックライト40の明るさは、最大値と最小値との間を線形的に変化されたり、段階的に変化されたりする。   The backlight 40 illuminates the display 30 from the back, and for example, an edge light system is adopted. The brightness of the backlight 40 is variably set by the processor 24. For example, the brightness of the backlight 40 is linearly changed between a maximum value and a minimum value, or is changed stepwise.

近接センサ42は、たとえば、赤外線を用いた汎用の近接センサであり、対象物体の有無および当該対象物体までの距離(たとえば、数mm〜数10cm程度)を測定(検出)する。ただし、近接センサ42は、赤外線以外の光(レーザ光)を用いたものを採用してもよいし、超音波を用いた他の近接センサを採用してもよい。   The proximity sensor 42 is a general-purpose proximity sensor using infrared rays, for example, and measures (detects) the presence / absence of the target object and the distance to the target object (for example, about several mm to several tens of centimeters). However, the proximity sensor 42 may employ one using light (laser light) other than infrared light, or may employ another proximity sensor using ultrasonic waves.

照度センサ48は、光を感知するセンサ(フォトセンサ)であり、感知した光の明るさに応じた大きさの電流を発生する。照度センサ48で発生された電流は、アンプ46に与えられ、アンプ46は、照度センサ48からの電流をアンプ46によって電圧に変換するとともに増幅し、A/D変換器44に与えられる。A/D変換器44は、アンプ46から与えられるアナログの電圧値を、デジタルの電圧値に変換してプロセッサ24に与える。プロセッサ24は、照度センサ48が感知した携帯電話機10の周囲(環境)の明るさに応じて、ディスプレイ30を照明するバックライト40の明るさ(輝度)を調整する。たとえば、外部が明るい場合にはバックライト40を明るく点灯させ、外部が暗い場合には明るさを抑えてバックライト40を点灯させる。ただし、上述したように、プロセッサ24はアンプ46に接続されており、プロセッサ24はアンプ46の利得(ゲイン)Gを調整する。図1に示すように、プロセッサ24はアンプ46にゲイン調整信号を出力する。したがって、アンプ46の増幅率が変化され、照度センサ48で検出された明るさに基づく値(電圧値)が調整される。   The illuminance sensor 48 is a sensor (photosensor) that senses light, and generates a current having a magnitude corresponding to the brightness of the sensed light. The current generated by the illuminance sensor 48 is supplied to the amplifier 46, and the amplifier 46 converts the current from the illuminance sensor 48 into a voltage by the amplifier 46, amplifies it, and provides it to the A / D converter 44. The A / D converter 44 converts the analog voltage value supplied from the amplifier 46 into a digital voltage value and supplies the digital voltage value to the processor 24. The processor 24 adjusts the brightness (luminance) of the backlight 40 that illuminates the display 30 according to the brightness of the surroundings (environment) of the mobile phone 10 detected by the illuminance sensor 48. For example, when the outside is bright, the backlight 40 is turned on brightly, and when the outside is dark, the brightness is reduced and the backlight 40 is turned on. However, as described above, the processor 24 is connected to the amplifier 46, and the processor 24 adjusts the gain G of the amplifier 46. As shown in FIG. 1, the processor 24 outputs a gain adjustment signal to the amplifier 46. Therefore, the amplification factor of the amplifier 46 is changed, and the value (voltage value) based on the brightness detected by the illuminance sensor 48 is adjusted.

無線通信回路14は、CDMA方式で無線通信を行うための回路である。たとえば、使用者がキー入力装置26を用いて電話発信を指示すると、無線通信回路14は、プロセッサ24の指示の下、電話発信処理を実行し、アンテナ12を介して電話発信信号を出力する。電話発信信号は、基地局および通信網(図示せず)を経て相手の電話機に送信される。そして、相手の電話機において着信処理が行われると、通信可能状態が確立され、プロセッサ24は通話処理を実行する。   The wireless communication circuit 14 is a circuit for performing wireless communication by the CDMA method. For example, when the user instructs a telephone call using the key input device 26, the wireless communication circuit 14 executes a telephone call process under the instruction of the processor 24 and outputs a telephone call signal through the antenna 12. The telephone call signal is transmitted to the other party's telephone through a base station and a communication network (not shown). Then, when an incoming call process is performed at the other party's telephone, a communicable state is established, and the processor 24 executes a call process.

通常の通話処理について具体的に説明すると、相手の電話機から送られてきた変調音声信号はアンテナ12によって受信される。受信された変調音声信号には、無線通信回路14によって復調処理および復号処理が施される。そして、これらの処理によって得られた受話音声信号は、D/A変換器20によってアナログ音声信号に変換された後、スピーカ22から出力される。一方、マイク18を通して取り込まれた送話音声信号は、A/D変換器16によってデジタル音声信号に変換された後、プロセッサ24に与えられる。デジタル音声信号に変換された送話信号には、プロセッサ24の指示の下、無線通信回路14によって符号化処理および変調処理が施され、アンテナ12を介して出力される。したがって、変調音声信号は、基地局および通信網を介して相手の電話機に送信される。   The normal call processing will be described in detail. The modulated audio signal transmitted from the other party's telephone is received by the antenna 12. The received modulated audio signal is demodulated and decoded by the wireless communication circuit 14. The received voice signal obtained by these processes is converted into an analog voice signal by the D / A converter 20 and then output from the speaker 22. On the other hand, the transmission voice signal captured through the microphone 18 is converted into a digital voice signal by the A / D converter 16 and then given to the processor 24. The transmission signal converted into the digital audio signal is subjected to encoding processing and modulation processing by the wireless communication circuit 14 under the instruction of the processor 24, and is output via the antenna 12. Therefore, the modulated voice signal is transmitted to the other party's telephone through the base station and the communication network.

また、相手の電話機からの発呼信号がアンテナ12によって受信されると、無線通信回路14は、電話着信(着呼と言うこともある)をプロセッサ24に通知する。これに応じて、プロセッサ24は、表示ドライバ28を制御して、着信通知に記述された発信元情報(電話番号)をディスプレイ30に表示する。また、これとほぼ同時に、プロセッサ24は、図示しないスピーカから着信音(着信メロディ、着信音声と言うこともある。)を出力させる。さらに、プロセッサ24は電話着信をユーザに通知するために、携帯電話機10を振動させたり、図示しないLEDを発光させたりする。   When a call signal from the other party's telephone is received by the antenna 12, the wireless communication circuit 14 notifies the processor 24 of an incoming call (sometimes called an incoming call). In response to this, the processor 24 controls the display driver 28 to display the caller information (phone number) described in the incoming call notification on the display 30. At substantially the same time, the processor 24 outputs a ring tone (sometimes called a ringing melody or a ringing voice) from a speaker (not shown). Further, the processor 24 vibrates the mobile phone 10 or emits an LED (not shown) to notify the user of an incoming call.

そして、使用者が、通話キー26aを用いて応答操作を行うと、無線通信回路14は、プロセッサ24の指示の下、電話着信処理を実行し、通信可能状態が確立され、プロセッサ24は上述した通常の通話処理を実行する。   When the user performs a response operation using the call key 26a, the wireless communication circuit 14 executes the incoming call process under the instruction of the processor 24, and a communicable state is established. Perform normal call processing.

また、通話可能状態に移行した後に終話キー26cによって通話終了操作が行われると、プロセッサ24は、無線通信回路14を制御して、通話相手に通話終了信号を送信する。通話終了信号の送信後、プロセッサ24は通話処理を終了する。また、先に通話相手から通話終了信号を受信した場合も、プロセッサ24は通話処理を終了する。さらに、通話相手によらず、移動通信網から通話終了信号を受信した場合も、プロセッサ24は通話処理を終了する。   In addition, when a call end operation is performed by the call end key 26c after the transition to the call ready state, the processor 24 controls the wireless communication circuit 14 to transmit a call end signal to the call partner. After transmitting the call end signal, the processor 24 ends the call process. The processor 24 also ends the call process when a call end signal is received from the other party first. Furthermore, the processor 24 also ends the call process when a call end signal is received from the mobile communication network regardless of the call partner.

図2(A)および図2(B)は、携帯電話機10の外観を示す図である。ただし、図2(A)は、携帯電話機10の表側(表面側)の外観を示す図であり、図2(B)は携帯電話機10の裏側(裏面側)の外観を示す図である。図2(A)を参照して、携帯電話機10は、平面矩形の板状に形成された筐体Cを有する。筐体Cの表面のほぼ中央に、ディスプレイ30がそのモニタ画面を露出して配置される。このディスプレイ30の上面にタッチパネル38が設けられる。   2A and 2B are views showing the appearance of the mobile phone 10. However, FIG. 2A is a diagram showing the appearance of the front side (front side) of the mobile phone 10, and FIG. 2B is a diagram showing the appearance of the back side (back side) of the mobile phone 10. Referring to FIG. 2A, the mobile phone 10 has a housing C formed in a planar rectangular plate shape. A display 30 is disposed in the approximate center of the surface of the housing C with its monitor screen exposed. A touch panel 38 is provided on the upper surface of the display 30.

また、筐体Cの表面の上端部には、開口OP1、近接センサ42および照度センサ48が設けられる。開口OP1が設けられる位置に対応して、筐体Cの内部に上述したスピーカ22が設けられる。近接センサ42および照度センサ48は、筐体Cの表面の右上端部であり、少なくとも各検出部が筐体Cから露出するように、互いに接近して(隣接して)設けられる。ただし、近接センサ42および照度センサ48は筐体Cの表面の左上端部に設けるようにしてもよい。   An opening OP1, a proximity sensor 42, and an illuminance sensor 48 are provided at the upper end of the surface of the housing C. Corresponding to the position where the opening OP1 is provided, the above-described speaker 22 is provided inside the housing C. The proximity sensor 42 and the illuminance sensor 48 are at the upper right end of the surface of the housing C, and are provided close to (adjacent to) each other so that at least each detection unit is exposed from the housing C. However, the proximity sensor 42 and the illuminance sensor 48 may be provided at the upper left end of the surface of the housing C.

なお、この実施例では、照度センサ48とこれを遮蔽する遮蔽物との間の距離を出来る限り正確に測定するために、近接センサ42と照度センサ48とを隣接して設けてある。ただし、後述するように、或る程度の距離の範囲に応じて、アンプ46のゲインGが調整されるため、或る程度の精度で距離が測定されればよい。したがって、近接センサ42と照度センサ48とは、或る程度の間隔を隔てて配置されてもよい。ただし、照度センサ48の検出部を手指で塞いでいることを検出できる必要はある。   In this embodiment, the proximity sensor 42 and the illuminance sensor 48 are provided adjacent to each other in order to measure the distance between the illuminance sensor 48 and the shielding object that shields it as accurately as possible. However, as will be described later, since the gain G of the amplifier 46 is adjusted according to a certain range of distance, the distance may be measured with a certain degree of accuracy. Therefore, the proximity sensor 42 and the illuminance sensor 48 may be arranged with a certain distance therebetween. However, it is necessary to be able to detect that the detection unit of the illuminance sensor 48 is closed with fingers.

さらに、筐体Cの表面の下端部には、上述したように、キー入力装置26(通話キー26a、メニューキー26bおよび終話キー26c)が設けられる。また、キー入力装置26(メニューキー26b)の下方には、開口OP2が設けられる。開口OP2が設けられる位置に対応して、筐体Cの内部に上述したマイク18が設けられる。   Further, as described above, the key input device 26 (the call key 26a, the menu key 26b, and the call end key 26c) is provided at the lower end of the surface of the housing C. An opening OP2 is provided below the key input device 26 (menu key 26b). Corresponding to the position where the opening OP2 is provided, the above-described microphone 18 is provided inside the housing C.

なお、図1に示したアンテナ12、無線通信回路14、A/D変換器16、D/A変換器20、プロセッサ24、表示ドライバ28、フラッシュメモリ32、RAM34、タッチパネル制御回路36、バックライト40、A/D変換器44およびアンプ46は筐体Cに内蔵されているため、図2(A),(B)では図示されない。   1, the antenna 12, the wireless communication circuit 14, the A / D converter 16, the D / A converter 20, the processor 24, the display driver 28, the flash memory 32, the RAM 34, the touch panel control circuit 36, and the backlight 40. The A / D converter 44 and the amplifier 46 are not shown in FIGS. 2A and 2B because they are built in the housing C.

たとえば、携帯電話機10では、電話の着信操作や発信操作を行ったり、電子メールの作成、送信、受信、確認を行ったり、アドレス帳の編集、確認を行ったり、スケジュールの入力、確認を行ったり、その他のアプリケーションを実行したりする。   For example, the mobile phone 10 performs incoming and outgoing calls, creates, sends, receives, and confirms e-mails, edits and confirms an address book, and inputs and confirms schedules. Or run other applications.

このとき、ディスプレイ30には、それぞれのアプリケーションの動作(処理)に応じた画面が表示される。その際、照度センサ48で検出される明るさに応じて、バックライト40の明るさ(輝度)が制御される。また、使用者は、たとえば、一方の手で携帯電話機10を持ち、他方の手でキー入力装置26やタッチパネル38を操作する。   At this time, a screen corresponding to the operation (process) of each application is displayed on the display 30. At that time, the brightness (luminance) of the backlight 40 is controlled according to the brightness detected by the illuminance sensor 48. The user holds the mobile phone 10 with one hand and operates the key input device 26 and the touch panel 38 with the other hand, for example.

しかし、使用者の手指や顔が照度センサ48の検出部を覆ってしまったり、塞いでしまったりして、照度センサ48(の検出部)の正面に遮蔽物がある場合には、照度センサ48dで検出される明るさがその遮蔽物によって低減されるため、周囲の明るさを正しく検出することができない。   However, when the user's finger or face covers or closes the detection unit of the illuminance sensor 48 and there is a shield in front of the illuminance sensor 48 (the detection unit), the illuminance sensor 48d. Since the brightness detected by the shutter is reduced by the shielding object, the ambient brightness cannot be detected correctly.

そこで、この実施例では、近接センサ42によって、照度センサ48の正面に在る遮蔽物までの距離を計測して、計測した遮蔽物までの距離に応じてアンプ46のゲインGを変化させる(調整する)ことにより、状況に応じて高い精度で周囲の明るさを検出できるようにしてある。つまり、遮蔽物が照度センサ48に照射する光を遮ることにより低減された明るさが補われる。   Therefore, in this embodiment, the proximity sensor 42 measures the distance to the shielding object in front of the illuminance sensor 48, and changes the gain G of the amplifier 46 according to the measured distance to the shielding object (adjustment). The ambient brightness can be detected with high accuracy according to the situation. In other words, the reduced brightness is compensated by blocking the light that the shielding object irradiates the illuminance sensor 48 with.

たとえば、図3に示すような補正テーブルが用意されており、この補正テーブルを参照して、アンプ46のゲインGが調整される。図3に示すように、補正テーブルでは、照度センサ48の正面に在る遮蔽物までの距離Dの範囲に対応して、アンプ46のゲインGが記述される。ただし、補正テーブルにおいて、距離d1、d2、d3、d4の大小関係は、d1>d2>d3>d4であり、ゲインG1、G2、G3、G4、G5の大小関係は、G5>G4>G3>G2>G1である。つまり、計測された距離Dが長くなるに連れて、ゲインGが小さくなり、計測された距離Dが短くなるに連れて、ゲインGが大きくなる。すなわち、計測された距離DとゲインGとは反比例する。これは、距離Dが短い程、遮蔽物が照度センサ48の検出部を遮蔽している度合が高いと考えられるため、このような場合に、アンプ46のゲインGが大きくされる。   For example, a correction table as shown in FIG. 3 is prepared, and the gain G of the amplifier 46 is adjusted with reference to this correction table. As shown in FIG. 3, the gain G of the amplifier 46 is described in the correction table corresponding to the range of the distance D to the shielding object in front of the illuminance sensor 48. However, in the correction table, the relationship between the distances d1, d2, d3, and d4 is d1> d2> d3> d4, and the relationship between the gains G1, G2, G3, G4, and G5 is G5> G4> G3>. G2> G1. That is, as the measured distance D becomes longer, the gain G becomes smaller, and as the measured distance D becomes shorter, the gain G becomes larger. That is, the measured distance D and gain G are inversely proportional. This is because the shorter the distance D, the higher the degree that the shielding object shields the detection unit of the illuminance sensor 48. In such a case, the gain G of the amplifier 46 is increased.

なお、距離D、d1−d4およびゲインG1−G5は、使用する近接センサ42および照度センサ48の性能によって可変的に設定される値(数値)であり、実験等によって経験的に得られる。したがって、具体的な数値は示していない。   The distances D, d1-d4, and the gains G1-G5 are values (numerical values) that are variably set depending on the performance of the proximity sensor 42 and the illuminance sensor 48 to be used, and are obtained empirically through experiments and the like. Therefore, specific numerical values are not shown.

ここでは、図3に示すような補正テーブルを用いてゲインGを調整するように記載してあるが、実施には、ゲインGを調整するために、アンプ46の可変抵抗のボリュームが制御される。つまり、上述したゲイン調整信号は、厳密には、ボリューム制御信号である。   Here, it is described that the gain G is adjusted using a correction table as shown in FIG. 3, but in practice, the volume of the variable resistor of the amplifier 46 is controlled in order to adjust the gain G. . That is, the above-described gain adjustment signal is strictly a volume control signal.

なお、この実施例では、補正テーブルに従えば、距離Dがd4よりも小さい場合には、ゲインGがG5に設定される。しかし、距離Dが0の場合には、照度センサ48の検出部の全部または一部を塞いでしまっているため、明るさを正しく検出することができない。かかる場合には、照度センサ48で検出される明るさを無効にし、たとえば、明るさを正しく検出できていない旨を示す音やその旨の音声(合成音声)を出力するようにしてもよい。   In this embodiment, according to the correction table, the gain G is set to G5 when the distance D is smaller than d4. However, when the distance D is 0, all or part of the detection unit of the illuminance sensor 48 is blocked, and thus the brightness cannot be detected correctly. In such a case, the brightness detected by the illuminance sensor 48 may be invalidated, and for example, a sound indicating that the brightness has not been correctly detected or a sound to that effect (synthesized sound) may be output.

また、この実施例では、検出した距離Dに応じて5段階でゲインGを設定するようにしてあるが、2段階以上であれば、6段階以上でゲインGを設定可能にしてもよい。また、補正テーブルによらず、距離Dに基づいてゲインGを算出してもよい。かかる場合には、線形的にゲインGを調整することも可能である。   In this embodiment, the gain G is set in five steps according to the detected distance D. However, the gain G may be set in six steps or more as long as it is two or more steps. Further, the gain G may be calculated based on the distance D regardless of the correction table. In such a case, the gain G can be adjusted linearly.

図4は図1に示したRAM34のメモリマップ500の一例を示す。図4に示すように、RAM34は、プログラム記憶領域502およびデータ記憶領域504を含む。プログラム記憶領域502には、携帯電話機10を動作させるための動作プログラムが記憶され、この動作プログラムは、通話プログラム502a、通信プログラム502b、距離検出プログラム502c、ゲイン調整プログラム502dおよび明るさ検出プログラム502eなどによって構成される。   FIG. 4 shows an example of the memory map 500 of the RAM 34 shown in FIG. As shown in FIG. 4, the RAM 34 includes a program storage area 502 and a data storage area 504. An operation program for operating the mobile phone 10 is stored in the program storage area 502. The operation program includes a call program 502a, a communication program 502b, a distance detection program 502c, a gain adjustment program 502d, a brightness detection program 502e, and the like. Consists of.

通話プログラム502aは、他の電話機との間で通話処理を実行するためのプログラムである。通信プログラム502bは、電子メールを送受信するなど他のコンピュータと通信するためのプログラムである。距離検出プログラム502cは、照度センサ48とこの照度センサ48の正面に在る遮蔽物との間の距離を検出するためのプログラムである。ゲイン調整プログラム502dは、補正テーブルを参照して、距離検出プログラム502cに従って検出された距離に応じて、アンプ46のゲインGを調整するためのプログラムである。したがって、照度センサ48で検出される明るさに基づく値(電圧値)が調整される。明るさ検出プログラム502eは、照度センサ48によって当該携帯電話機10の周囲の明るさを検出するためのプログラムである。   The call program 502a is a program for executing a call process with another telephone. The communication program 502b is a program for communicating with other computers such as sending and receiving electronic mail. The distance detection program 502c is a program for detecting the distance between the illuminance sensor 48 and a shield in front of the illuminance sensor 48. The gain adjustment program 502d is a program for adjusting the gain G of the amplifier 46 according to the distance detected according to the distance detection program 502c with reference to the correction table. Therefore, the value (voltage value) based on the brightness detected by the illuminance sensor 48 is adjusted. The brightness detection program 502 e is a program for detecting the brightness around the mobile phone 10 by the illuminance sensor 48.

図示は省略するが、プログラム記憶領域502には、携帯電話機10を動作させるための他のプログラムや様々なアプリケーションについてのプログラムも記憶される。   Although illustration is omitted, the program storage area 502 also stores other programs for operating the mobile phone 10 and programs for various applications.

データ記憶領域504には、距離データ504a、明るさデータ504bおよび補正テーブルデータ504cが記憶される。距離データ504aは、距離検出プログラム502cに従って検出された照度センサ48と遮蔽物との間の距離についてのデータである。明るさデータ504bは、明るさ検出プログラム502eに従って検出された明るさに対応する電圧値のデータである。補正テーブルデータ504cは、図3に示した補正テーブルについてのデータである。   The data storage area 504 stores distance data 504a, brightness data 504b, and correction table data 504c. The distance data 504a is data on the distance between the illuminance sensor 48 and the shielding object detected according to the distance detection program 502c. The brightness data 504b is data of a voltage value corresponding to the brightness detected according to the brightness detection program 502e. The correction table data 504c is data regarding the correction table shown in FIG.

図示は省略するが、データ記憶領域504には、動作プログラムやアプリケーションプログラムの実行に必要な他のデータが記憶されたり、それらのプログラムの実行に必要なフラグやカウンタ(タイマ)が設けられたりする。   Although illustration is omitted, the data storage area 504 stores other data necessary for the execution of the operation program and the application program, and is provided with a flag and a counter (timer) necessary for the execution of these programs. .

図5は、図1に示したプロセッサ24のゲイン調整処理を示すフロー図である。図5に示すように、プロセッサ24は、ゲイン調整処理を開始すると、ステップS1で、距離を検出する。つまり、プロセッサ24は、近接センサ42で検出された距離Dを取得し、データ記憶領域504に距離Dに対応する距離データ504aを記憶する。次のステップS3では、距離に応じてゲインを決定する。つまり、プロセッサ24は、補正テーブルデータ504cに対する補正テーブルを参照し、ステップS1で検出した距離Dに応じたゲインGを取得する。   FIG. 5 is a flowchart showing the gain adjustment processing of the processor 24 shown in FIG. As shown in FIG. 5, when starting the gain adjustment process, the processor 24 detects the distance in step S1. That is, the processor 24 acquires the distance D detected by the proximity sensor 42 and stores the distance data 504 a corresponding to the distance D in the data storage area 504. In the next step S3, the gain is determined according to the distance. That is, the processor 24 refers to the correction table for the correction table data 504c and acquires the gain G corresponding to the distance D detected in step S1.

続いて、ステップS5では、ゲインを調整する。ここでは、プロセッサ24は、ステップS3で決定したゲインGとなるように、アンプ46の可変抵抗のボリュームを調整する。したがって、アンプ46の増幅率が変化される。このため、照度センサ48から出力された明るさに応じた電流が電圧に変換されるとともに増幅され、A/D変換器44でデジタルの電圧信号に変換され、プロセッサ24に与えられる。つまり、遮蔽物によって、検出される明るさが低減されたとしても、アンプ46のゲインGを大きくすることにより、その明るさを補正するようにしてある。具体的には、明るさに基づく電圧値が補正される。   Subsequently, in step S5, the gain is adjusted. Here, the processor 24 adjusts the volume of the variable resistor of the amplifier 46 so that the gain G determined in step S3 is obtained. Therefore, the amplification factor of the amplifier 46 is changed. Therefore, the current corresponding to the brightness output from the illuminance sensor 48 is converted into a voltage and amplified, converted into a digital voltage signal by the A / D converter 44, and supplied to the processor 24. That is, even if the detected brightness is reduced by the shielding object, the brightness is corrected by increasing the gain G of the amplifier 46. Specifically, the voltage value based on the brightness is corrected.

そして、ステップS7では、終了かどうかを判断する。ここでは、プロセッサ24は、たとえば、ディスプレイ30の表示を終了するかどうかを判断する。ステップS7で“NO”であれば、つまり終了でなければ、そのままステップS1に戻る。一方、ステップS7で“YES”であれば、つまり終了であれば、ゲイン調整処理を終了する。   In step S7, it is determined whether or not the process is finished. Here, the processor 24 determines whether or not to end the display on the display 30, for example. If “NO” in the step S7, that is, if not finished, the process returns to the step S1 as it is. On the other hand, if “YES” in the step S7, that is, if it is finished, the gain adjustment processing is finished.

なお、図示は省略するが、図5に示すゲイン調整処理を実行するタスクとは別のタスクによって、通話、通信およびアプリケーションの処理が実行され、当該処理において画面表示が制御されるときに、照度センサ48によって明るさが検出され、バックライト40の輝度が制御される。   Although illustration is omitted, when the call, communication, and application processes are executed by a task different from the task that executes the gain adjustment process shown in FIG. The brightness is detected by the sensor 48, and the luminance of the backlight 40 is controlled.

この実施例によれば、照度センサとこの照度センサを遮蔽する遮蔽物との距離に応じて照度センサの出力を増幅するアンプのゲインを調整するので、周囲の明るさを高い精度で検出することができる。したがって、明るさに基づいて制御されるバックライトの輝度のようなパラメータを適切に制御することができる。   According to this embodiment, since the gain of the amplifier that amplifies the output of the illuminance sensor is adjusted according to the distance between the illuminance sensor and the shielding object that shields the illuminance sensor, ambient brightness can be detected with high accuracy. Can do. Therefore, it is possible to appropriately control parameters such as the brightness of the backlight that is controlled based on the brightness.

なお、この実施例では、照度センサで検出された明るさに基づく電圧値を増幅するアンプ(アナログアンプ)のゲインを調整するようにしたが、これに限定される必要はない。アンプはデジタルアンプを用いてもよい。かかる場合には、たとえば、照度センサ48から出力される明るさに応じた電流値が電圧値に変換され、さらにA/D変換された後に、デジタルアンプで増幅される。デジタルアンプは、プロセッサ24とA/D変換器44との間に設けてよいし、プロセッサ24に内蔵してもよい。このデジタルアンプのゲインが近接センサ42で検出される距離Dに応じて調整される。   In this embodiment, the gain of the amplifier (analog amplifier) that amplifies the voltage value based on the brightness detected by the illuminance sensor is adjusted. However, the present invention is not limited to this. A digital amplifier may be used as the amplifier. In such a case, for example, a current value corresponding to the brightness output from the illuminance sensor 48 is converted into a voltage value, further A / D converted, and then amplified by a digital amplifier. The digital amplifier may be provided between the processor 24 and the A / D converter 44 or may be built in the processor 24. The gain of this digital amplifier is adjusted according to the distance D detected by the proximity sensor 42.

また、この実施例では、アンプのゲインを調整するようにしたが、距離Dに応じて、明るさに応じた電圧値に補正値を加算するようにしてもよい。または、距離Dに応じて、明るさに応じた電圧値に所定の倍率(1よりも大きい)を乗算するようにしてもよい。たとえば、前者の場合には、図6に示すように、距離Dの範囲に応じて補正値αを記述した補正テーブルが予め用意される。また、後者の場合には、図7に示すように、距離Dの範囲に応じて倍率φを記述した補正テーブルが予め用意される。ただし、補正テーブルでは、距離が長くなるに連れて、補正値αや倍率φは小さくされ、距離が短くなるに連れて、補正値αや倍率φは大きくされる。つまり、図6において、d1>d2>d3>d4であり、α5>α4>α3>α2>α1である。また、図7において、d1>d2>d3>d4であり、φ5>φ4>φ3>φ2>φ1である。ただし、補正値α1−α5や倍率φ1−φ5もまた、図3に示したゲインG1−G5と同様に、使用する近接センサ42および照度センサ48の性能によって可変的に設定される値(数値)であり、実験等によって経験的に得られる。このように、補正値αを加算したり、倍率φを乗算したりする場合には、プロセッサ24が演算処理を実行するだけなので、アンプ46は不要である。   In this embodiment, the gain of the amplifier is adjusted. However, the correction value may be added to the voltage value corresponding to the brightness according to the distance D. Alternatively, a voltage value corresponding to the brightness may be multiplied by a predetermined magnification (greater than 1) according to the distance D. For example, in the former case, as shown in FIG. 6, a correction table describing the correction value α according to the range of the distance D is prepared in advance. In the latter case, as shown in FIG. 7, a correction table describing the magnification φ in accordance with the range of the distance D is prepared in advance. However, in the correction table, the correction value α and the magnification φ are reduced as the distance becomes longer, and the correction value α and the magnification φ are increased as the distance becomes shorter. That is, in FIG. 6, d1> d2> d3> d4 and α5> α4> α3> α2> α1. In FIG. 7, d1> d2> d3> d4, and φ5> φ4> φ3> φ2> φ1. However, the correction values α1-α5 and the magnifications φ1-φ5 are also values (numerical values) that are variably set according to the performance of the proximity sensor 42 and the illuminance sensor 48 to be used, similarly to the gains G1-G5 shown in FIG. It can be obtained empirically through experiments and the like. As described above, when the correction value α is added or multiplied by the magnification φ, the processor 46 only executes the arithmetic processing, and thus the amplifier 46 is unnecessary.

さらに、この実施例では、携帯端末の一例として携帯電話機を示したが、これに限定される必要はない。たとえば、PDA、タブレット型のコンピュータ(iPad、iPod、Walkman(登録商標)などを含む)および携帯ゲーム機などにも適用することができる。   Furthermore, in this embodiment, a mobile phone is shown as an example of a mobile terminal, but the present invention is not limited to this. For example, the present invention can also be applied to PDAs, tablet computers (including iPad, iPod, Walkman (registered trademark), etc.) and portable game machines.

さらにまた、この実施例では、ディスプレイ上にタッチパネルを設けるようにしたが、タッチパネルは設けなくてもよい。   Furthermore, in this embodiment, the touch panel is provided on the display, but the touch panel may not be provided.

また、以上の説明で挙げた具体的な数値は、いずれも単なる一例であり、製品の仕様などの必要に応じて適宜変更可能である。   In addition, the specific numerical values given in the above description are merely examples, and can be appropriately changed according to the needs of product specifications and the like.

10 …携帯電話機
14 …無線通信回路
18 …マイク
22 …スピーカ
24 …プロセッサ
26 …キー入力装置
28 …表示ドライバ
30 …ディスプレイ
32 …フラッシュメモリ
34 …RAM
38 …タッチパネル
40 …バックライト
42 …近接センサ
46 …アンプ
48 …照度センサ
DESCRIPTION OF SYMBOLS 10 ... Mobile phone 14 ... Wireless communication circuit 18 ... Microphone 22 ... Speaker 24 ... Processor 26 ... Key input device 28 ... Display driver 30 ... Display 32 ... Flash memory 34 ... RAM
38 ... Touch panel 40 ... Backlight 42 ... Proximity sensor 46 ... Amplifier 48 ... Illuminance sensor

Claims (7)

表示部、
携帯端末の周囲の明るさを検出する明るさ検出部、
前記明るさ検出部と当該明るさ検出部を遮蔽する遮蔽物との距離を検出する距離検出部
前記距離検出部によって検出された距離に応じて、前記明るさ検出部によって検出される明るさを補正する補正部、および
前記明るさ検出部が遮蔽された場合に、前記補正部によって補正された明るさに応じて前記表示部の輝度を制御する輝度制御部を備える、携帯端末。
Display,
A brightness detector that detects the brightness around the mobile device,
A distance detection unit that detects a distance between the brightness detection unit and a shield that shields the brightness detection unit ;
A correction unit that corrects the brightness detected by the brightness detection unit according to the distance detected by the distance detection unit ; and
A portable terminal comprising: a luminance control unit that controls the luminance of the display unit according to the brightness corrected by the correction unit when the brightness detection unit is shielded .
前記明るさ検出部によって検出された明るさに基づく値を増幅する増幅部をさらに備え、
前記補正部は、前記距離検出部によって検出された距離に応じて、前記増幅部の増幅率を変化させる、請求項1記載の携帯端末。
An amplifying unit for amplifying a value based on the brightness detected by the brightness detecting unit;
The mobile terminal according to claim 1, wherein the correction unit changes an amplification factor of the amplification unit according to the distance detected by the distance detection unit.
前記補正部は、前記距離検出部によって検出された距離に応じて、前記明るさ検出部によって検出された明るさに基づく値に補正値を加算する、請求項1記載の携帯端末。   The mobile terminal according to claim 1, wherein the correction unit adds a correction value to a value based on the brightness detected by the brightness detection unit according to the distance detected by the distance detection unit. 前記補正部は、前記距離検出部によって検出された距離に応じて、前記明るさ検出部によって検出された明るさに基づく値に所定の倍率を乗算する、請求項1記載の携帯端末。   The mobile terminal according to claim 1, wherein the correction unit multiplies a value based on the brightness detected by the brightness detection unit by a predetermined magnification according to the distance detected by the distance detection unit. 前記距離検出部によって検出された距離がゼロである場合に、前記明るさ検出部によって検出された明るさを無効にする無効部をさらに備える、請求項1ないし4のいずれかに記載の携帯端末。5. The mobile terminal according to claim 1, further comprising: an invalid unit that invalidates the brightness detected by the brightness detection unit when the distance detected by the distance detection unit is zero. . 表示部および携帯端末の周囲の明るさを検出する明るさ検出部を備える、携帯端末のプロセッサに
記明るさ検出部と当該明るさ検出部によって検出される明るさを低減する遮蔽物との距離を検出する距離検出ステップ
記距離検出ステップによって検出された距離に応じて、前記明るさ検出部によって検出される明るさを補正する補正ステップ、および
前記明るさ検出部が遮蔽された場合に、前記補正ステップによって補正された明るさに応じて前記表示部の輝度を制御する輝度制御ステップを実行させる、輝度制御プログラム。
A processor of a mobile terminal including a brightness detection unit that detects brightness around the display unit and the mobile terminal ,
Distance detection step of detecting the distance between the shield to reduce the pre-Symbol brightness detector and the brightness detection portion thus brightness to be detected,
Depending on the distance detected by the prior Symbol distance detection step, the correction step of correcting a result detected by the brightness in the brightness detection unit, and
A brightness control program for executing a brightness control step for controlling the brightness of the display unit according to the brightness corrected by the correction step when the brightness detection unit is shielded .
表示部および携帯端末の周囲の明るさを検出する明るさ検出部を備える、携帯端末における輝度制御方法であって、
(a)前記明るさ検出部と当該明るさ検出部によって検出される明るさを低減する遮蔽物との距離を検出し
)前記ステップ()によって検出された距離に応じて、前記明るさ検出部によって検出される明るさを補正し、そして
(c)前記明るさ検出部が遮蔽された場合に、前記ステップ(b)によって補正された明るさに応じて前記表示部の輝度を制御する輝度制御方法。
A brightness control method for a mobile terminal, comprising a brightness detector for detecting brightness around the display unit and the mobile terminal,
(A ) detecting a distance between the brightness detection unit and a shield that reduces the brightness detected by the brightness detection unit ;
(B) in response to said distance detected by the step (a), to correct the brightness detected by the brightness detection unit, and
(C) A brightness control method for controlling the brightness of the display unit according to the brightness corrected in the step (b) when the brightness detection unit is shielded .
JP2011117599A 2011-05-26 2011-05-26 Mobile terminal, brightness control program, and brightness control method Expired - Fee Related JP5695974B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011117599A JP5695974B2 (en) 2011-05-26 2011-05-26 Mobile terminal, brightness control program, and brightness control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011117599A JP5695974B2 (en) 2011-05-26 2011-05-26 Mobile terminal, brightness control program, and brightness control method

Publications (2)

Publication Number Publication Date
JP2012248974A JP2012248974A (en) 2012-12-13
JP5695974B2 true JP5695974B2 (en) 2015-04-08

Family

ID=47469040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011117599A Expired - Fee Related JP5695974B2 (en) 2011-05-26 2011-05-26 Mobile terminal, brightness control program, and brightness control method

Country Status (1)

Country Link
JP (1) JP5695974B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5895426B2 (en) * 2011-09-29 2016-03-30 カシオ計算機株式会社 Display device
JP6171594B2 (en) * 2013-06-07 2017-08-02 富士通株式会社 TERMINAL DEVICE, TERMINAL DEVICE CONTROL METHOD AND ITS PROGRAM
JP2016038504A (en) * 2014-08-08 2016-03-22 シャープ株式会社 Portable terminal device and control method therefor
CN105094616B (en) 2015-08-12 2019-02-12 小米科技有限责任公司 Touch screen control method and device
CN106131311B (en) * 2016-06-21 2017-08-25 广东欧珀移动通信有限公司 Adjust the method, device and mobile terminal of the screen backlight brightness of mobile terminal
US10802631B2 (en) 2016-08-08 2020-10-13 Mitsubishi Electric Corporation Display control device, moving body display device, and display control method for determining illuminance value of the display screen
CN106850989B (en) * 2017-02-08 2019-08-06 Oppo广东移动通信有限公司 Display screen condition control method and device
KR102489072B1 (en) * 2017-11-03 2023-01-16 삼성전자주식회사 Electronic device for measuring illuminance and operating method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3383714B2 (en) * 1995-01-13 2003-03-04 松下電工株式会社 Lighting equipment
JPH11283755A (en) * 1998-03-30 1999-10-15 Toshiba Tec Corp Luminaire
JP2010199706A (en) * 2009-02-23 2010-09-09 Sharp Corp Proximity sensor with illuminance detection function and electronic device

Also Published As

Publication number Publication date
JP2012248974A (en) 2012-12-13

Similar Documents

Publication Publication Date Title
JP5695974B2 (en) Mobile terminal, brightness control program, and brightness control method
JP5688330B2 (en) Portable terminal, backlight control program, and backlight control method
JP4897596B2 (en) INPUT DEVICE, STORAGE MEDIUM, INFORMATION INPUT METHOD, AND ELECTRONIC DEVICE
JP5465076B2 (en) Mobile terminal device
JP5743847B2 (en) Mobile terminal and low sensitivity area setting program
JP2018500859A (en) Volume adjustment method, apparatus and terminal
CN111179861B (en) Brightness calibration method and device, storage medium and terminal
WO2014084224A1 (en) Electronic device and line-of-sight input method
JP5743679B2 (en) Portable terminal, invalid area setting program, and invalid area setting method
JP6325754B2 (en) Touch screen control method, apparatus, program, and recording medium
KR102552874B1 (en) Mobile terminal and sound output control method
JP5120269B2 (en) Electronics
CN109493821B (en) Screen brightness adjusting method and device and storage medium
JP2017527061A5 (en)
CN108769401B (en) Signal detection method and related product
KR20120074648A (en) Method and apparatus for touch input for electronic device
US8816980B2 (en) Mobile electronic device
KR20140003974A (en) Method for providing video call service and an electronic device thereof
CN108287627B (en) Interface operation method based on flexible screen, terminal and computer readable storage medium
CN110851107B (en) Control method of electronic equipment and electronic equipment
JP2014116710A (en) Imaging apparatus, imaging condition setting method, and program
KR102007595B1 (en) Image distortion processing method, device and storage medium
CN109639905B (en) Incoming call reminding method, mobile terminal and computer readable storage medium
JP5973619B2 (en) Portable terminal, invalid area setting program, and invalid area setting method
CN112689051B (en) Audio playing control method and device, mobile terminal and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140210

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141104

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150105

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150203

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150209

R150 Certificate of patent or registration of utility model

Ref document number: 5695974

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees