JP2008154165A - Wireless communication apparatus - Google Patents

Wireless communication apparatus Download PDF

Info

Publication number
JP2008154165A
JP2008154165A JP2006342657A JP2006342657A JP2008154165A JP 2008154165 A JP2008154165 A JP 2008154165A JP 2006342657 A JP2006342657 A JP 2006342657A JP 2006342657 A JP2006342657 A JP 2006342657A JP 2008154165 A JP2008154165 A JP 2008154165A
Authority
JP
Japan
Prior art keywords
radio wave
radio
communication
intensity
wave intensity
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.)
Pending
Application number
JP2006342657A
Other languages
Japanese (ja)
Inventor
Yasuyuki Motoki
康之 元木
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2006342657A priority Critical patent/JP2008154165A/en
Publication of JP2008154165A publication Critical patent/JP2008154165A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Studio Devices (AREA)
  • Transceivers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To effectively suppress the consumption of a battery during wireless communication. <P>SOLUTION: A CPU 108 communicates with a communication object while reducing a radio wave strength of radio waves outputted from a radio module 109 and determines a radio wave strength of predetermined reference quality with which predetermined communication quality can be maintained. A radio wave strength of radio waves outputted from the radio module 109 is then set to the determined radio wave strength of the predetermined reference quality to communicate with the communication object. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、無線接続された機器と通信を行うための無線通信装置に関する。   The present invention relates to a wireless communication apparatus for communicating with a wirelessly connected device.

次のような撮影装置が知られている。この撮影装置は、撮影装置が無線通信の通信可能エリア内にある場合のみ、撮影して得た画像を無線で画像サーバに送信する。このとき、撮影装置のバッテリー残量が減少するのに応じて、撮影装置が無線通信の通信可能エリア内にあるか否かの検出周期を長くすることで、バッテリー容量減少時のバッテリーの消費を抑える(例えば、特許文献1)。   The following imaging devices are known. This photographing device transmits an image obtained by photographing to the image server wirelessly only when the photographing device is within a communicable area for wireless communication. At this time, as the remaining battery level of the imaging device decreases, the battery consumption when the battery capacity is reduced can be increased by increasing the detection cycle of whether the imaging device is within the wireless communication coverage area. (For example, Patent Document 1).

特開2004−260286号公報JP 2004-260286 A

しかしながら、従来の撮影装置では、無線通信時のバッテリーの消費は、出力する無線電波の強度に応じても変化するが、この点について全く考慮されていないため、未だバッテリーの消費を抑えるための対策が不十分であった。   However, in conventional imaging devices, battery consumption during wireless communication varies depending on the strength of the output radio wave, but since this point has not been taken into account at all, measures to reduce battery consumption are still in effect. Was insufficient.

本発明は、無線電波を出力し、出力する無線電波の電波強度を低下させつつ通信対象と通信を行って、所定の通信品質を維持することができる所定基準品質の電波強度を決定し、出力する無線電波の電波強度を、決定した所定基準品質の電波強度に設定して通信対象と通信を行うことを特徴とする。
この場合、出力することができる最大の電波強度から電波強度を低下させていくことが好ましく、使用者からの無線通信環境の入力を受付け、受付けた無線通信環境に応じて設定した電波強度から電波強度を所定量ずつ低下させていくようにしてもよい。
本発明はまた、無線電波を出力し、出力する無線電波の電波強度を上昇させつつ通信対象と通信を行って、所定の通信品質を維持することができる所定基準品質の電波強度を決定し、出力する無線電波の電波強度を、決定した所定基準品質の電波強度に設定して通信対象と通信を行うことを特徴とする。
この場合、電波出力手段が出力することができる最小の電波強度から電波強度を上昇させていくことが好ましい。
また、通信対象に対してテストデータを送信し、その応答として受信した通信の成功を示すデータの、テストデータに対する割合に基づいて、所定基準品質の電波強度を決定するようにしてもよい。
あるいは、無線通信が切断される電波強度を検出し、検出した電波強度よりも所定レベル高い電波強度を所定基準品質の電波強度として決定するようにしてもよい。
本発明では、無線通信時の電力消費を抑えることを目的とする省電力モードと、無線通信時の通信品質の維持を目的とする品質優先モードとを切り替えることができ、省電力モードが設定された場合には、出力する無線電波の電波強度を所定基準品質の電波強度に設定し、品質優先モードが設定された場合には、出力する無線電波の電波強度を所定の強度以上に設定することが好ましい。
この場合、無線通信装置に電力を供給する電池の残量を測定し、品質優先モードが設定されているときに、電池の残量が所定以下となったことを検出した場合には、省電力モードへの切り替えを行うようにしてもよい。
本発明はさらに、無線電波を出力し、電力を供給する電池の残量を測定し、所定の通信品質を維持することができる所定基準品質の電波強度を決定し、出力する無線電波の電波強度を、所定の強度以上に設定しているときに、電池の残量が所定以下となったことを検出した場合には、出力する無線電波の電波強度を決定した所定基準品質の電波強度に切り替えることを特徴とする。
The present invention outputs a radio wave, communicates with a communication target while reducing the radio wave intensity of the output radio wave, determines a radio wave intensity of a predetermined reference quality capable of maintaining a predetermined communication quality, and outputs The radio wave intensity of the radio wave to be transmitted is set to the determined radio wave intensity of the predetermined reference quality, and communication with the communication target is performed.
In this case, it is preferable to reduce the radio wave intensity from the maximum radio wave intensity that can be output. The radio wave receiving environment input from the user is accepted and the radio wave intensity is set according to the received radio wave communication environment. The strength may be decreased by a predetermined amount.
The present invention also outputs a radio wave, performs communication with a communication target while increasing the radio wave intensity of the output radio wave, determines a radio wave intensity of a predetermined reference quality capable of maintaining a predetermined communication quality, The radio wave intensity of the output radio wave is set to the determined radio wave intensity of a predetermined reference quality, and communication is performed with the communication target.
In this case, it is preferable to increase the radio wave intensity from the minimum radio wave intensity that can be output by the radio wave output means.
Alternatively, the test data is transmitted to the communication target, and the radio field intensity of the predetermined reference quality may be determined based on the ratio of the data indicating the success of communication received as a response to the test data.
Alternatively, the radio wave intensity at which the wireless communication is disconnected may be detected, and the radio wave intensity that is higher than the detected radio wave intensity by a predetermined level may be determined as the radio wave intensity of the predetermined reference quality.
In the present invention, a power saving mode for suppressing power consumption during wireless communication and a quality priority mode for maintaining communication quality during wireless communication can be switched, and the power saving mode is set. If the radio wave strength of the output radio wave is set to the radio wave strength of the specified reference quality, and the quality priority mode is set, the radio wave strength of the output radio wave is set to the predetermined strength or higher. Is preferred.
In this case, if the remaining battery level for supplying power to the wireless communication device is measured and it is detected that the remaining battery level is below the specified level when the quality priority mode is set, Switching to the mode may be performed.
The present invention further outputs a radio wave, measures the remaining amount of a battery that supplies power, determines a radio intensity of a predetermined reference quality capable of maintaining a predetermined communication quality, and outputs the radio wave intensity of the radio radio wave to be output. Is set to a predetermined strength or higher, and if the remaining battery level is detected to be lower than the predetermined level, the radio strength of the output radio wave is switched to the predetermined standard quality. It is characterized by that.

本発明によれば、無線通信時の出力電波を抑えて効果的にバッテリーの消費を抑えることができる。   According to the present invention, it is possible to effectively suppress battery consumption by suppressing output radio waves during wireless communication.

―第1の実施の形態―
図1は、第1の実施の形態におけるカメラの一実施の形態の構成を示すブロック図である。カメラ100は、例えばデジタルカメラであって、レンズ101と、撮像素子102と、画像処理回路103と、メモリインタフェース104と、メモリ105と、表示装置106と、操作部材107と、CPU108と、無線モジュール109と、フラッシュメモリ110と、電圧測定回路111と、電池112とを備えている。101〜110の各要素(メモリ105およびCPU108を除く)は、CPU108によって制御される。
-First embodiment-
FIG. 1 is a block diagram illustrating a configuration of an embodiment of a camera according to the first embodiment. The camera 100 is, for example, a digital camera, and includes a lens 101, an image sensor 102, an image processing circuit 103, a memory interface 104, a memory 105, a display device 106, an operation member 107, a CPU 108, and a wireless module. 109, a flash memory 110, a voltage measurement circuit 111, and a battery 112. Each element of 101 to 110 (excluding the memory 105 and the CPU 108) is controlled by the CPU 108.

レンズ101は、複数の光学レンズ群から構成されるが、図1では代表して1枚のレンズで表している。撮像素子102は、例えばCCDやCMOSが用いられ、レンズ101を通して入力される被写体像を撮像して、撮像して得た画像信号を画像処理回路103へ出力する。なお、撮像素子103は、使用者による操作部材107に含まれるレリーズボタンが押下されることにより被写体像の撮像を行う。   The lens 101 is composed of a plurality of optical lens groups, but is represented by a single lens in FIG. The image sensor 102 is, for example, a CCD or CMOS, images a subject image input through the lens 101, and outputs an image signal obtained by the imaging to the image processing circuit 103. Note that the image sensor 103 captures a subject image by pressing a release button included in the operation member 107 by the user.

画像処理回路103は、撮像素子102から入力されるアナログ画像信号をデジタル画像信号に変換(A/D変換)する。また、画像処理回路103は、A/D変換後のデジタル画像信号(画像データ)に対して、公知の階調補正処理や輪郭強調処理などの種々の画像処理を施した後、所定の画像形式に圧縮して画像ファイルを生成し、メモリインタフェース104へ出力する。メモリインタフェース104は、例えばメモリカードスロットであって、スロット内に格納されたメモリ105、例えばメモリカード内に画像ファイルを記録する。なお、画像処理回路103は、内蔵メモリとしてのフラッシュメモリ110に画像ファイルを出力して記録することもできる。   The image processing circuit 103 converts an analog image signal input from the image sensor 102 into a digital image signal (A / D conversion). The image processing circuit 103 performs various image processing such as known gradation correction processing and contour enhancement processing on the digital image signal (image data) after A / D conversion, and then performs a predetermined image format. To generate an image file and output it to the memory interface 104. The memory interface 104 is, for example, a memory card slot, and records an image file in a memory 105 stored in the slot, for example, a memory card. Note that the image processing circuit 103 can also output and record an image file in the flash memory 110 as a built-in memory.

なお、本実施の形態におけるカメラ100では、メモリ105がメモリインタフェース104に格納されている場合には、メモリ105への画像の記録を優先するものとする。すなわち、メモリ105がメモリインタフェース104に格納されている場合には、フラッシュメモリ110には画像を記録せず、メモリ105にのみ記録する。一方、メモリ105がメモリインタフェース104に格納されていない場合には、フラッシュメモリ110に画像を記録する。以下の説明においては、メモリ105がメモリインタフェース104に格納されているものとする。   In the camera 100 according to the present embodiment, when the memory 105 is stored in the memory interface 104, priority is given to recording an image in the memory 105. That is, when the memory 105 is stored in the memory interface 104, an image is not recorded in the flash memory 110, but only in the memory 105. On the other hand, when the memory 105 is not stored in the memory interface 104, an image is recorded in the flash memory 110. In the following description, it is assumed that the memory 105 is stored in the memory interface 104.

表示装置106は、例えばカメラ100の背面に搭載されたTFTモニタであって、CPU108からの指示に基づいて、メモリ105内に記録された画像の再生画像やカメラ100を設定するためのメニュー画面等を表示する。操作部材107は、使用者によって操作される種々のスイッチやボタンを含んでいる。例えば、操作部材107には、電源ボタン、再生ボタン、モードスイッチ、レリーズボタン、ズームボタン、メニューボタン、十字ボタンなどが含まれる。   The display device 106 is, for example, a TFT monitor mounted on the back surface of the camera 100. Based on an instruction from the CPU 108, a playback image of an image recorded in the memory 105, a menu screen for setting the camera 100, or the like. Is displayed. The operation member 107 includes various switches and buttons operated by the user. For example, the operation member 107 includes a power button, a playback button, a mode switch, a release button, a zoom button, a menu button, a cross button, and the like.

CPU108は、上述したようにカメラ100が備える各要素を制御する。また、フラッシュメモリ110に記録されたプログラムを読み込んで、後述する種々の処理を実行する。無線モジュール109は、例えば無線LANモジュールであって、あらかじめ構築されている無線LANネットワークに接続して、ネットワーク内の他の機器と無線通信(ワイヤレス通信)を行うことができる。   The CPU 108 controls each element included in the camera 100 as described above. Further, the program recorded in the flash memory 110 is read and various processes described later are executed. The wireless module 109 is, for example, a wireless LAN module, and can be connected to a wireless LAN network that has been built in advance to perform wireless communication (wireless communication) with other devices in the network.

電圧測定回路111は、不図示の電池ボックスに格納されている電池(バッテリー)112から出力される出力電圧値を測定して、測定結果をCPU108へ出力する。なお、電池112からの出力電圧値は、新しい電池に交換した直後が最も高く、電池112が消耗するにしたがって徐々に低下していく。   The voltage measurement circuit 111 measures an output voltage value output from a battery (battery) 112 stored in a battery box (not shown), and outputs the measurement result to the CPU 108. Note that the output voltage value from the battery 112 is highest immediately after replacement with a new battery, and gradually decreases as the battery 112 is consumed.

本実施の形態における無線通信可能なカメラ100においては、無線モジュール109は、無線電波を出力するために電池112から電力供給を受ける必要がある。無線モジュール109が消費する電力は、出力する電波の電波強度が強ければ大きく、弱ければ小さい。このため、無線通信時の通信品質を優先して、無線モジュール100から出力する無線電波を強い状態で維持すれば、電池112の消耗は激しくなる。一方、無線モジュール109から出力する無線電波を無線通信が途切れない程度に低下させて、所定の通信品質を維持することができる所定基準品質の電波強度を維持すれば、電池112の消耗を抑えることができる。   In camera 100 capable of wireless communication in the present embodiment, wireless module 109 needs to be supplied with power from battery 112 in order to output wireless radio waves. The power consumed by the wireless module 109 is large when the radio wave intensity of the output radio wave is strong and small when it is weak. For this reason, if priority is given to the communication quality at the time of radio | wireless communication and the radio wave output from the radio | wireless module 100 is maintained in a strong state, the consumption of the battery 112 will become intense. On the other hand, if the radio wave output from the radio module 109 is reduced to such an extent that the radio communication is not interrupted and the radio wave intensity of a predetermined reference quality capable of maintaining the predetermined communication quality is maintained, the consumption of the battery 112 is suppressed. Can do.

よって、本実施の形態では、カメラ100のモードとして、無線通信時の通信品質を優先する品質優先モードと、電池112の消耗を抑えるための省エネモードとを備えており、使用者がいずれかのモードを設定できる。そして、CPU108は、使用者によって設定されたモードに応じて、無線モジュール109から出力する無線電波の電波強度を制御する。なお、本実施の形態では、無線モジュール109が出力可能な電波強度の範囲は、10dB〜15dBであるものとし、CPU108は、当該範囲内で1dBずつ電波強度を上昇または低下させることで、無線モジュール109から出力する無線電波の電波強度を制御する場合について説明する。   Therefore, in the present embodiment, the camera 100 is provided with a quality priority mode that prioritizes communication quality during wireless communication and an energy saving mode for suppressing the consumption of the battery 112. You can set the mode. Then, the CPU 108 controls the radio wave intensity of the radio wave output from the radio module 109 according to the mode set by the user. In this embodiment, the range of radio wave intensity that can be output by the wireless module 109 is 10 dB to 15 dB, and the CPU 108 increases or decreases the radio wave intensity by 1 dB within the range, thereby A case where the radio wave intensity of the radio wave output from 109 is controlled will be described.

具体的には、CPU108は、後述する図2の処理を実行して、カメラ100の使用環境に応じて設定した電波強度を初期の電波強度とし、そこから電波強度を低下させつつ通信対象と通信を行って、所定の通信品質を維持することができる所定基準品質の電波強度を決定する。そして、無線モジュール109から出力する無線電波の電波強度を、決定した所定基準品質の電波強度に設定して通信対象と通信を開始する。ここで、カメラ100の使用環境は、無線通信環境に相当し、例えば「屋外」、「店舗内」、「屋内」の中からあらかじめ使用者によって選択されている。また、使用者はカメラ100の使用環境を設定しないで通信を開始することも可能である。   Specifically, the CPU 108 executes the processing of FIG. 2 described later to set the radio wave intensity set according to the use environment of the camera 100 as the initial radio wave intensity, and communicate with the communication target while reducing the radio wave intensity therefrom. To determine the radio intensity of the predetermined reference quality that can maintain the predetermined communication quality. Then, the radio wave intensity output from the radio module 109 is set to the determined radio wave intensity of the predetermined reference quality, and communication with the communication target is started. Here, the usage environment of the camera 100 corresponds to a wireless communication environment, and is selected in advance by the user from, for example, “outdoor”, “in-store”, and “indoor”. In addition, the user can start communication without setting the use environment of the camera 100.

無線通信環境として「屋外」が設定された場合には、屋外では無線通信を阻害する要因が多いことから、CPU108は、無線モジュール109から出力する初期の電波強度を無線モジュール109から出力可能な最大の電波強度、すなわち15dBに設定する。無線通信環境として「店舗内」が設定された場合には、無線通信を阻害する要因が「屋外」ほど多くないことから、無線モジュール109から出力する初期の電波強度を「屋外」の場合よりも小さい値、例えば「13dB」に設定する。無線通信環境として「屋内」が設定された場合には、無線通信を阻害する要因が「屋外」や「店舗内」ほど多くないことから、無線モジュール109から出力する初期の電波強度を「屋外」や「店舗内」の場合よりもさらに小さい値、例えば「12dB」に設定する。   When “outdoor” is set as the wireless communication environment, there are many factors that hinder wireless communication outdoors. Therefore, the CPU 108 can output the initial radio wave intensity output from the wireless module 109 to the maximum that can be output from the wireless module 109. Is set to 15 dB, that is, 15 dB. When “in-store” is set as the wireless communication environment, there are not as many factors that obstruct wireless communication as “outdoors”, so the initial radio wave intensity output from the wireless module 109 is higher than in “outdoors”. A small value, for example, “13 dB” is set. When “indoor” is set as the wireless communication environment, there are not as many factors that hinder wireless communication as “outdoor” or “inside the store”, so the initial radio wave intensity output from the wireless module 109 is “outdoor”. Or a value smaller than the case of “inside the store”, for example, “12 dB”.

また、いずれの無線通信環境も設定されていない場合には、CPU108は、無線モジュール109から出力する初期の電波強度を最大値、すなわち15dBに設定する。なお、上記の各無線通信環境が選択された場合に設定する初期の電波強度は、あくまでも例示であり、これに限定されるものではない。また、選択可能なカメラ100の使用環境は、「屋外」、「店舗内」、「屋内」に限定されず、その他の想定される使用環境、例えば「車内」などを選択できるようにしてもよい。   When no wireless communication environment is set, the CPU 108 sets the initial radio wave intensity output from the wireless module 109 to the maximum value, that is, 15 dB. Note that the initial radio wave intensity set when each of the above wireless communication environments is selected is merely an example, and the present invention is not limited to this. The selectable use environment of the camera 100 is not limited to “outdoor”, “in-store”, and “indoor”, and other assumed use environments such as “in-vehicle” may be selected. .

図2は、第1の実施の形態における電波強度制御処理の流れを示すフローチャートである。図2に示す処理は、使用者によって操作部材107が操作され、無線通信回線を介して接続可能な通信対象、例えばパソコンやネットワークプリンタとの通信開始が指示されると起動するプログラムとして実行される。   FIG. 2 is a flowchart showing a flow of radio wave intensity control processing in the first embodiment. The process shown in FIG. 2 is executed as a program that is started when the operation member 107 is operated by the user and an instruction to start communication with a communication target that can be connected via a wireless communication line, such as a personal computer or a network printer, is given. .

ステップS10において、CPU108は、カメラ100のモードとして上述した省電力モードと品質優先モードのいずれが設定されているかを判断する。省電力モードが設定されていると判断した場合には、ステップS20へ進む。ステップS20では、使用者によって、上述したカメラ100の使用環境があらかじめ設定されているか否かを判断する。未設定であると判断した場合には、ステップS30へ進み、上述した初期の電波強度を、無線モジュール109の最大出力電波強度である15dBに設定してステップS40へ進む。   In step S <b> 10, the CPU 108 determines which of the power saving mode and the quality priority mode described above is set as the camera 100 mode. If it is determined that the power saving mode is set, the process proceeds to step S20. In step S20, it is determined whether or not the use environment of the camera 100 described above is set in advance by the user. If it is determined that it has not been set, the process proceeds to step S30, the initial radio wave intensity described above is set to 15 dB which is the maximum output radio wave intensity of the wireless module 109, and the process proceeds to step S40.

これに対して、カメラ100の使用環境が設定されていると判断した場合には、ステップS130へ進み、「屋外」が設定されているか否かを判断する。「屋外」が設定されていると判断した場合には、ステップS30へ進み、初期の電波強度を15dBに設定してステップS40へ進む。一方、「屋外」が設定されていないと判断した場合には、ステップS140へ進み、「店舗内」が設定されているか否かを判断する。「店舗内」が設定されていると判断した場合には、ステップS150へ進み、初期の電波強度を13dBに設定してステップS40へ進む。「店舗内」が設定されていていないと判断した場合には、「屋内」が設定されていると判断してステップS160へ進み、初期の電波強度を12dBに設定してステップS40へ進む。   On the other hand, if it is determined that the use environment of the camera 100 is set, the process proceeds to step S130 to determine whether “outdoor” is set. If it is determined that “outdoor” is set, the process proceeds to step S30, the initial radio wave intensity is set to 15 dB, and the process proceeds to step S40. On the other hand, if it is determined that “outdoor” is not set, the process proceeds to step S140, and it is determined whether “in-store” is set. If it is determined that “in-store” is set, the process proceeds to step S150, the initial radio wave intensity is set to 13 dB, and the process proceeds to step S40. If it is determined that “in-store” is not set, it is determined that “indoor” is set, and the process proceeds to step S160, the initial radio wave intensity is set to 12 dB, and the process proceeds to step S40.

ステップS40では、CPU108は、無線モジュール109を制御して通信対象と無線通信を開始するための接続処理を行う。なお、接続処理の内容は、一般的な無線LAN通信開始時の接続処理と同様のため、説明を省略する。その後、ステップS50へ進み、通信対象との通信が成功したか否かを判断する。成功していないと判断した場合には、ステップS60へ進み、表示装置106にエラー表示を行って、使用者に対して接続に失敗した旨を通知する。その後、ステップS70へ進み、CPU108は、使用者によって操作部材107が操作されることにより、通信対象への再接続が指示されたか否かを判断する。指示されなかったと判断した場合には、処理を終了する。これに対して、指示されたと判断した場合には、ステップS30へ戻る。   In step S <b> 40, the CPU 108 performs a connection process for starting the wireless communication with the communication target by controlling the wireless module 109. The content of the connection process is the same as the connection process at the start of general wireless LAN communication, and thus the description thereof is omitted. Then, it progresses to step S50 and it is judged whether communication with the communication object was successful. If it is determined that the connection has not been successful, the process proceeds to step S60, where an error message is displayed on the display device 106 to notify the user that the connection has failed. Thereafter, the process proceeds to step S70, and the CPU 108 determines whether or not reconnection to the communication target is instructed by the operation of the operation member 107 by the user. If it is determined that no instruction has been given, the process ends. On the other hand, if it is determined that the instruction has been given, the process returns to step S30.

一方、ステップS50で通信が成功したと判断した場合には、ステップS80へ進む。ステップS80では、CPU108は、通信対象との通信状況を確認するためのテストパケット(テストデータ)を生成して、無線モジュール109を介して通信対象へ送信する。テストパケットは、通信対象が当該テストパケットを正常に受信したことに応答して、受信成功を示すデータ(成功パケット)を送信するように定義されているデータを含んでいる。CPU108は、このテストパケットを複数パケット、例えば100パケット生成して、通信対象に送信する。その後、ステップS90へ進む。   On the other hand, if it is determined in step S50 that the communication is successful, the process proceeds to step S80. In step S80, the CPU 108 generates a test packet (test data) for confirming the communication status with the communication target, and transmits the test packet to the communication target via the wireless module 109. The test packet includes data defined to transmit data indicating a successful reception (success packet) in response to the communication target normally receiving the test packet. The CPU 108 generates a plurality of test packets, for example, 100 packets, and transmits them to the communication target. Thereafter, the process proceeds to step S90.

ステップS90では、テストパケットの送信数に対して、上述した成功パケットを、通信対象との間で所定以上の通信品質で通信が確立していることを示す所定の割合以上受信したか否かを判断する。例えば、CPU108は、テストパケットの送信数に対して、4割以上の成功パケットを受信した場合に、通信対象との間で所定以上の通信品質で通信が確立していると判定する。よって、上述したように100のテストパケットを送信した場合には、40以上の成功パケットを受信した場合に、通信対象との間で所定以上の通信品質で通信が確立しているものと判定する。   In step S90, it is determined whether or not the above-mentioned success packet is received with respect to the number of test packets transmitted over a predetermined ratio indicating that communication with the communication target is established with a predetermined or higher communication quality. to decide. For example, when the CPU 108 receives 40% or more of success packets with respect to the number of test packets transmitted, the CPU 108 determines that communication is established with a communication quality of a predetermined level or higher with a communication target. Therefore, when 100 test packets are transmitted as described above, when 40 or more success packets are received, it is determined that communication is established with a communication quality of a predetermined level or higher with a communication target. .

成功パケットを所定割合以上受信したと判断した場合には、ステップS100へ進み、CPU108は、現在の電波強度の設定値が無線モジュール109から出力可能な電波強度の最低値である10dBであるか否かを判断する。否定判断した場合にはステップS110へ進み、CPU108は、電波強度の設定値を1dB下げてステップS80へ戻る。これに対して否定判断した場合には、これ以上電波強度を下げることができないと判断し、後述するステップS120へ進む。   If it is determined that a success packet or more has been received, the process proceeds to step S100, and the CPU 108 determines whether or not the current radio field intensity setting value is 10 dB, which is the minimum radio field intensity that can be output from the wireless module 109. Determine whether. If a negative determination is made, the process proceeds to step S110, and the CPU 108 lowers the set value of the radio wave intensity by 1 dB and returns to step S80. On the other hand, if a negative determination is made, it is determined that the radio field intensity cannot be lowered any further, and the process proceeds to step S120 described later.

一方、ステップS90で、送信したテストパケットに対する成功パケットの受信割合が所定の割合未満であると判断した場合には、ステップS120へ進む。ステップS120では、CPU108は、現在の電波強度の設定値が上述した所定の通信品質を維持することができる所定基準品質の電波強度であると決定する。その後、ステップS121へ進み、現在の電波強度の設定値(電波出力値)をフラッシュメモリ110へ記憶して、処理を終了する。   On the other hand, if it is determined in step S90 that the reception ratio of successful packets to the transmitted test packet is less than a predetermined ratio, the process proceeds to step S120. In step S120, the CPU 108 determines that the current set value of the radio wave intensity is the radio wave intensity of a predetermined reference quality that can maintain the predetermined communication quality described above. Thereafter, the process proceeds to step S121, where the current set value of radio wave intensity (radio wave output value) is stored in the flash memory 110, and the process is terminated.

次に、ステップS10でカメラ100のモードとして品質優先モードが設定されていると判断した場合の処理について説明する。この場合にはステップS170へ進み、CPU108は、上述した初期の電波強度を、所定の強度以上、例えば、無線モジュール109の最大出力電波強度である15dBに設定してステップS180へ進む。ステップS180では、CPU108は、ステップS40と同様に、無線モジュール109を制御して通信対象と無線通信を開始するための接続処理を行う。その後、ステップS190へ進む。   Next, processing when it is determined in step S10 that the quality priority mode is set as the mode of the camera 100 will be described. In this case, the process proceeds to step S170, and the CPU 108 sets the above-described initial radio wave intensity to a predetermined intensity or higher, for example, 15 dB that is the maximum output radio wave intensity of the wireless module 109, and then proceeds to step S180. In step S180, as in step S40, the CPU 108 performs connection processing for controlling the wireless module 109 and starting wireless communication with the communication target. Thereafter, the process proceeds to step S190.

ステップS190では、CPU108は、通信対象との通信が成功したか否かを判断し、成功したと判断した場合には、そのまま通信対象との通信を継続して、処理を終了する。これに対して、通信が成功していないと判断した場合には、ステップS200へ進む。ステップS200では、CPU108は、表示装置106にエラー表示を行って、使用者に対して接続に失敗した旨を通知する。その後、ステップS210へ進み、使用者によって操作部材107が操作されることにより、通信対象への再接続が指示されたか否かを判断する。指示されたと判断した場合には、ステップS180へ戻る。一方、指示されなかったと判断した場合には、処理を終了する。   In step S190, the CPU 108 determines whether or not the communication with the communication target is successful. If it is determined that the communication is successful, the CPU 108 continues the communication with the communication target and ends the processing. On the other hand, if it is determined that the communication is not successful, the process proceeds to step S200. In step S200, the CPU 108 displays an error on the display device 106 to notify the user that the connection has failed. Thereafter, the process proceeds to step S210, and it is determined whether or not reconnection to the communication target is instructed by the operation member 107 being operated by the user. If it is determined that the instruction has been given, the process returns to step S180. On the other hand, if it is determined that no instruction has been given, the process ends.

本実施の形態におけるカメラ100では、図2に上述した処理で設定した電波強度で通信対象との無線通信を行う。このとき、カメラ100のモードが品質優先モードに設定されている場合には、無線モジュール109の最大出力電波強度(15dB)を維持して通信を行うため、電池112の消耗が激しい。これは、電池112の残量が多い場合には問題がないが、電池112の残量が少ない場合には、カメラ100の駆動時間が短くなってしまう。   In the camera 100 according to the present embodiment, wireless communication with a communication target is performed with the radio wave intensity set in the process described above with reference to FIG. At this time, when the mode of the camera 100 is set to the quality priority mode, the communication is performed while maintaining the maximum output radio wave intensity (15 dB) of the wireless module 109, so that the battery 112 is consumed significantly. This is not a problem when the remaining amount of the battery 112 is large, but when the remaining amount of the battery 112 is small, the driving time of the camera 100 is shortened.

よって、本実施の形態では、カメラ100のモードが品質優先モードに設定されている場合には、CPU108は、通信対象との通信を開始した後、電圧測定回路111からの出力を定期的に検出して、電池112の残量を監視する。そして、電池112の残量が少なくなってきたことを検出した場合には、少しでも長くカメラ100を駆動できるように、無線モジュール109から出力する無線電波の電波強度を、上述した所定基準品質の電波強度に切り替えて、無線モジュール109が消費する電力を抑えるようにする。   Therefore, in the present embodiment, when the mode of the camera 100 is set to the quality priority mode, the CPU 108 periodically detects the output from the voltage measurement circuit 111 after starting communication with the communication target. Then, the remaining amount of the battery 112 is monitored. When it is detected that the remaining amount of the battery 112 is decreasing, the radio wave intensity of the radio wave output from the radio module 109 is set to the above-mentioned predetermined reference quality so that the camera 100 can be driven as long as possible. By switching to the radio wave intensity, the power consumed by the wireless module 109 is suppressed.

すなわち、CPU108は、カメラ100のモードが品質優先モードに設定されているときに、電池112の残量が所定の残量、例えばフル充電時の1/3未満になったことを検出した場合には、カメラ100のモードを省電力モードに切り替える。具体的には、CPU108は、カメラ100のモードが品質優先モードに設定されているには、通信対象との通信を開始した後に図3に示す電波強度切替処理を実行する。なお、図3においては、図2に示した処理と処理内容が同一のステップについては、同じステップ番号を付与し説明を省略する。   That is, when the CPU 108 detects that the remaining amount of the battery 112 has become a predetermined remaining amount, for example, less than 1/3 of the full charge, when the mode of the camera 100 is set to the quality priority mode. Switches the mode of the camera 100 to the power saving mode. Specifically, when the mode of the camera 100 is set to the quality priority mode, the CPU 108 executes the radio wave intensity switching process shown in FIG. 3 after starting communication with the communication target. In FIG. 3, steps having the same processing content as the processing shown in FIG. 2 are given the same step numbers and description thereof is omitted.

ステップS310において、CPU108は、電圧測定回路111による測定値を取得して電池112の残量を測定(監視)する。その後、ステップS320へ進み、電池112の電池残量が多いか少ないかを判断する。例えば、電池112の電池残量がフル充電時の1/3以上であれば電池残量は多いと判断し、1/3未満であれば電池残量は少ないと判断する。電池残量が多いと判断した場合には、そのまま処理を終了する。   In step S <b> 310, the CPU 108 acquires a measurement value by the voltage measurement circuit 111 and measures (monitors) the remaining amount of the battery 112. Then, it progresses to step S320 and it is judged whether the battery remaining amount of the battery 112 is large or small. For example, if the remaining battery level of the battery 112 is 1/3 or more of the full charge, it is determined that the remaining battery level is high, and if it is less than 1/3, it is determined that the remaining battery level is low. If it is determined that the remaining battery level is high, the process ends.

これに対して、電池残量が少ないと判断した場合には、ステップS80へ進む。その後、CPU108は、図2で上述したステップS80〜S121の各処理を実行する。このとき、ステップS110では、現在の電波強度の設定値から電波強度を1dB低下させる。   In contrast, if it is determined that the remaining battery level is low, the process proceeds to step S80. Thereafter, the CPU 108 executes the processes of steps S80 to S121 described above with reference to FIG. At this time, in step S110, the radio field intensity is reduced by 1 dB from the current set value of the radio field intensity.

次に、通信対象と通信を行っているときに、通信対象との無線通信が切断されてしまった場合に、再接続を行うための処理について説明する。通信対象との無線通信が切断される理由としては、通信環境の悪化等が考えられる。したがって、通信が切断されたときの電波強度で再接続を試みたとしても接続が成功する可能性は低い。よって、ここでは、通信切断後に使用者によって再接続が指示された場合には、通信が切断される前の通信時よりも電波強度を強くして再接続を試みる方法について説明する。なお、電池112の残量が少ない場合には、電池112の持ちを優先するために、電波強度を強くせずに再接続を試みるようにする。具体的には、CPU108は、図4に示す再接続処理を実行する。   Next, a process for performing reconnection when wireless communication with a communication target is disconnected during communication with the communication target will be described. The reason why wireless communication with the communication target is disconnected may be due to deterioration of the communication environment. Therefore, even if reconnection is attempted with the radio wave intensity when communication is disconnected, the possibility of successful connection is low. Therefore, here, a method will be described in which, when a reconnection is instructed by the user after the communication is disconnected, the reconnection is attempted by increasing the radio wave intensity compared to the communication before the communication is disconnected. When the remaining amount of the battery 112 is low, reconnection is attempted without increasing the radio wave intensity in order to give priority to the possession of the battery 112. Specifically, the CPU 108 executes the reconnection process shown in FIG.

ステップS410において、CPU108は、通信対象との無線通信が切断されたか否かを判断する。なお、ここでは、使用者からの切断指示に基づく通信切断は対象としない。否定判断した場合には、そのまま処理を終了する。これに対して、肯定判断した場合には、ステップS420へ進む。ステップS420では、表示装置106に使用者に対して通信が切断された旨を通知するためのエラー表示を行って、ステップS430へ進む。   In step S410, CPU 108 determines whether or not wireless communication with the communication target has been disconnected. Here, the communication disconnection based on the disconnection instruction from the user is not a target. If a negative determination is made, the process is terminated as it is. On the other hand, if a positive determination is made, the process proceeds to step S420. In step S420, an error is displayed on the display device 106 to notify the user that communication has been disconnected, and the process proceeds to step S430.

ステップS430では、使用者がエラー表示に応答して、通信対象への再接続を指示したか否かを判断する。否定判断した場合には、そのまま処理を終了する。これに対して、肯定判断した場合には、ステップS440へ進み、CPU108は、電圧測定回路111からの出力に基づいて、電池112の残量を測定する。その後、ステップS450へ進み、CPU108は、図2のステップS121でフラッシュメモリ110に記憶した現在の電波強度の設定値を読み込んで、ステップS460へ進む。   In step S430, it is determined whether the user has instructed reconnection to the communication target in response to the error display. If a negative determination is made, the process is terminated as it is. On the other hand, if an affirmative determination is made, the process proceeds to step S440, and the CPU 108 measures the remaining amount of the battery 112 based on the output from the voltage measurement circuit 111. Thereafter, the process proceeds to step S450, and the CPU 108 reads the current set value of the radio field intensity stored in the flash memory 110 in step S121 of FIG. 2, and proceeds to step S460.

ステップS460では、図3のステップS320と同様に、電池残量が多いか少ないかを判断する。少ないと判断した場合には、上述したように電池112の持ちを優先するために、電波強度を強くせずに再接続を試みるようにする。このため、CPU108は、ステップS450で読み込んだ現在の電波強度の設定値を再接続時の電波強度に設定して、後述するステップS490へ進む。これに対して、多いと判断した場合には、ステップS470へ進む。   In step S460, as in step S320 of FIG. 3, it is determined whether the remaining battery level is high or low. When it is determined that the battery capacity is low, in order to give priority to the possession of the battery 112 as described above, reconnection is attempted without increasing the radio wave intensity. Therefore, the CPU 108 sets the current radio field strength setting value read in step S450 to the radio field strength at the time of reconnection, and proceeds to step S490 described later. On the other hand, if it is determined that there are many, the process proceeds to step S470.

ステップS470では、ステップS450で読み込んだ現在の電波強度の設定値が、無線モジュール109の最大出力電波強度に相当する15dBであるか否かを判断する。肯定判断した場合には、これ以上電波強度を上げることはできないため、現在の電波強度の設定値を再接続時の電波強度に設定して、ステップS490へ進む。これに対して、否定判断した場合には、ステップS480へ進む。ステップS480では、CPU108は、読み込んだ現在の電波強度の設定値よりも所定レベル強い電波強度、例えば1dB高い電波強度を再接続時の電波強度に設定して、ステップS490へ進む。   In step S470, it is determined whether or not the current radio field intensity setting value read in step S450 is 15 dB corresponding to the maximum output radio field intensity of the wireless module 109. If the determination is affirmative, the radio field intensity cannot be increased any more, so the current radio field intensity setting value is set to the radio field intensity at the time of reconnection, and the process proceeds to step S490. On the other hand, if a negative determination is made, the process proceeds to step S480. In step S480, CPU 108 sets a radio field strength that is a predetermined level stronger than the read current radio field strength setting value, for example, a radio field strength that is 1 dB higher, and proceeds to step S490.

ステップS490では、図2で上述したステップS40と同様に、CPU108は、通信対象との通信を開始するための接続処理、すなわち再接続処理を行って、ステップS500へ進む。ステップS500では、通信対象との通信が成功したか否かを判断する。成功していないと判断した場合には、ステップS510へ進み、設定した再接続時の電波強度が無線モジュール109の最大出力電波強度に相当する15dBであるか否かを判断する。肯定判断した場合には、ステップS520へ進む。   In step S490, similar to step S40 described above with reference to FIG. 2, the CPU 108 performs connection processing for starting communication with the communication target, that is, reconnection processing, and proceeds to step S500. In step S500, it is determined whether or not communication with the communication target is successful. If it is determined that it has not succeeded, the process proceeds to step S510, and it is determined whether or not the set radio wave intensity at the time of reconnection is 15 dB corresponding to the maximum output radio wave intensity of the wireless module 109. If a positive determination is made, the process proceeds to step S520.

ステップS520では、これ以上電波強度を上げることはできないため、表示装置106に使用者に対して通信対象との再接続に失敗した旨を通知するためのエラー表示を行って、ステップS430へ戻る。一方、ステップS510で否定判断した場合には、ステップS460へ戻る。   In step S520, since the radio field intensity cannot be increased any more, an error is displayed on the display device 106 to notify the user that the reconnection with the communication target has failed, and the process returns to step S430. On the other hand, if a negative determination is made in step S510, the process returns to step S460.

以上説明した第1の実施の形態によれば、以下のような作用効果を得ることができる。
(1)無線モジュール109から出力する無線電波の電波強度を低下させつつ通信対象と通信を行って、所定の通信品質を維持することができる所定基準品質の電波強度を決定し、無線モジュール109から出力する無線電波の電波強度を、決定した所定基準品質の電波強度に設定して通信対象と通信を行うようにした。これによって、所定の通信品質を維持しつつ、無線モジュール109から出力する無線電波の電波強度を抑えて、電池112の消耗を防ぐことができる。
According to the first embodiment described above, the following operational effects can be obtained.
(1) Communicating with the communication target while reducing the radio wave intensity of the radio wave output from the radio module 109, determining the radio wave intensity of a predetermined reference quality that can maintain the predetermined communication quality, The radio wave intensity of the output radio wave is set to the determined radio wave intensity of the predetermined reference quality so that communication is performed with the communication target. Accordingly, the radio wave intensity output from the radio module 109 can be suppressed while maintaining a predetermined communication quality, and the battery 112 can be prevented from being consumed.

(2)無線モジュール109から出力する無線電波の初期の電波強度を、カメラ100の使用環境に応じて設定するようにした。これによって、無線通信を阻害する要因の多さを加味して、最適な初期の電波強度を設定することができる。 (2) The initial radio wave intensity of the radio wave output from the wireless module 109 is set according to the usage environment of the camera 100. Accordingly, it is possible to set an optimal initial radio wave intensity in consideration of many factors that hinder wireless communication.

(3)カメラ100の使用環境が使用者によって設定されていない場合には、無線モジュール109から出力する無線電波の初期の電波強度を無線モジュール109から出力可能な最大の電波強度とするようにした。これによって、使用環境が不明な場合でも、最大の電波強度から徐々に電波強度を下げていって、的確に所定基準品質の電波強度を設定することができる。 (3) When the use environment of the camera 100 is not set by the user, the initial radio wave intensity output from the radio module 109 is set to the maximum radio wave intensity that can be output from the radio module 109. . As a result, even when the use environment is unknown, the radio wave intensity can be gradually reduced from the maximum radio wave intensity, and the radio wave intensity of a predetermined reference quality can be accurately set.

(4)通信対象との通信が成功した後、通信対象に対してテストデータを送信し、その応答として受信した通信の成功を示すデータの、テストデータに対する割合に基づいて、所定基準品質の電波強度を決定するようにした。これによって、通信対象との間で所定以上の通信品質で通信が確立したときの電波強度を所定基準品質の電波強度とすることができ、通信対象との間で高い通信品質を維持して通信を行うことができる。 (4) After the communication with the communication target is successful, the test data is transmitted to the communication target, and based on the ratio of the data indicating the success of the communication received as a response to the test data, the radio wave having a predetermined reference quality The intensity was determined. As a result, the radio wave intensity when communication with the communication target is established with a communication quality of a predetermined level or higher can be set to the radio wave intensity of the predetermined reference quality, and communication can be performed while maintaining high communication quality with the communication target. It can be performed.

(5)カメラ100のモードとして省電力モードと品質優先モードとを備え、省電力モードが設定されている場合には、無線モジュール109から出力する無線電波の電波強度を、所定基準品質の電波強度に設定するようにした。また、品質優先モードが設定されている場合には、無線モジュール109から出力する無線電波の電波強度を、所定の強度以上に設定するようにした。これによって、使用者は電池112の消耗防止と、高い通信品質の維持のどちらを優先するかを選択することができる。 (5) When the power saving mode and the quality priority mode are provided as the modes of the camera 100 and the power saving mode is set, the radio wave intensity of the radio wave output from the wireless module 109 is set to the radio wave intensity of a predetermined reference quality. Was set to. In addition, when the quality priority mode is set, the radio wave intensity of the radio wave output from the radio module 109 is set to a predetermined intensity or higher. Accordingly, the user can select whether to give priority to preventing the battery 112 from being consumed or maintaining high communication quality.

(6)カメラ100のモードとして品質優先モードが設定されているときに、電圧測定回路111による測定結果に基づいて電池112の残量が所定以下となったことを検出した場合には、省電力モードへの切り替えを行うようにした。これによって、電池112の残量が少なくなった場合には、自動的に省電力モードに移行して、電池の持ちをよくすることができる。 (6) When the quality priority mode is set as the mode of the camera 100, when it is detected that the remaining amount of the battery 112 is less than or equal to a predetermined value based on the measurement result by the voltage measurement circuit 111, power saving Switch to mode. As a result, when the remaining amount of the battery 112 is reduced, it is possible to automatically shift to the power saving mode and improve the battery life.

―第2の実施の形態―
第1の実施の形態では、無線モジュール109から出力する初期の電波強度を高く設定しておき、そこから電波強度を低下させつつ通信対象と通信を行って、所定基準品質の電波強度を決定する場合の処理について説明した。これに対して第2の実施の形態では、無線モジュール109から出力する初期の電波強度を低く設定しておき、そこから電波強度を上昇させつつ通信対象と通信を行って、所定の通信品質を維持することができる所定基準品質の電波強度を決定する場合の処理について説明する。
-Second embodiment-
In the first embodiment, the initial radio wave intensity output from the wireless module 109 is set high, and the radio wave intensity of a predetermined reference quality is determined by communicating with the communication target while reducing the radio wave intensity therefrom. The processing in the case has been described. On the other hand, in the second embodiment, the initial radio wave intensity output from the wireless module 109 is set low, and communication with the communication target is performed while increasing the radio wave intensity from there, and a predetermined communication quality is obtained. A process for determining the radio wave intensity of a predetermined reference quality that can be maintained will be described.

なお、図1に示したブロック図、図3に示した電波強度切替処理の流れを示すフローチャート図、および図4に示した再接続処理の流れを示すフローチャート図については、第1の実施の形態と同様のため、説明を省略する。   The block diagram shown in FIG. 1, the flowchart showing the flow of the radio wave intensity switching process shown in FIG. 3, and the flowchart showing the flow of the reconnection process shown in FIG. 4 are described in the first embodiment. Since it is the same as that, description is abbreviate | omitted.

図5は、第2の実施の形態における電波強度制御処理の流れを示すフローチャートである。図5においては、第1の実施の形態で上述した図2と同一の処理については同じステップ番号を付与して説明を省略し、相違点を中心に説明する。   FIG. 5 is a flowchart showing a flow of radio field intensity control processing in the second embodiment. In FIG. 5, the same processes as those in FIG. 2 described above in the first embodiment are given the same step numbers and the description thereof is omitted, and differences will be mainly described.

ステップS31において、CPU108は、無線モジュール109から出力する初期の電波強度を無線モジュール109から出力可能な最小の電波強度、すなわち10dBに設定する。   In step S31, the CPU 108 sets the initial radio field intensity output from the wireless module 109 to the minimum radio field intensity that can be output from the wireless module 109, that is, 10 dB.

その後、ステップS50で通信対象との通信が成功していないと判断した場合には、ステップS51へ進み、CPU108は、現在の電波強度の設定値が無線モジュール109から出力可能な電波強度の最大値である15dBであるか否かを判断する。否定判断した場合にはステップS52へ進み、CPU108は、電波強度の設定値を1dB上げてステップS40へ戻る。これに対して肯定判断した場合には、これ以上電波強度を上げることができないと判断し、後述するステップS102へ進む。   Thereafter, if it is determined in step S50 that communication with the communication target has not been successful, the process proceeds to step S51, and the CPU 108 determines that the current radio field intensity setting value is the maximum radio field intensity that can be output from the wireless module 109. It is determined whether or not it is 15 dB. If a negative determination is made, the process proceeds to step S52, and the CPU 108 increases the set value of the radio wave intensity by 1 dB and returns to step S40. If the determination is affirmative, it is determined that the radio field intensity cannot be increased any more, and the process proceeds to step S102 described later.

ステップS101では、CPU108は、現在の電波強度の設定値が無線モジュール109から出力可能な電波強度の最大値である15dBであるか否かを判断する。否定判断した場合にはステップS111へ進み、CPU108は、電波強度の設定値を1dB上げてステップS80へ戻る。これに対して否定判断した場合には、これ以上電波強度を上げることができないと判断し、ステップS102へ進む。   In step S <b> 101, the CPU 108 determines whether or not the current set value of the radio field intensity is 15 dB, which is the maximum radio field intensity that can be output from the wireless module 109. If a negative determination is made, the process proceeds to step S111, and the CPU 108 increases the set value of the radio wave intensity by 1 dB and returns to step S80. On the other hand, if a negative determination is made, it is determined that the radio field intensity cannot be increased any more, and the process proceeds to step S102.

ステップS102では、CPU108は、表示装置106にエラー表示を行って、使用者に対して接続に失敗した旨を通知する。その後、ステップS103へ進み、使用者によって操作部材107が操作されることにより、通信対象への再接続が指示されたか否かを判断する。指示されたと判断した場合には、ステップS40へ戻る。一方、指示されなかったと判断した場合には、処理を終了する。   In step S102, the CPU 108 displays an error on the display device 106 to notify the user that the connection has failed. Thereafter, the process proceeds to step S103, where it is determined whether or not reconnection to the communication target is instructed by the operation member 107 being operated by the user. If it is determined that the instruction has been given, the process returns to step S40. On the other hand, if it is determined that no instruction has been given, the process ends.

以上説明した第2の実施の形態によれば、第1の実施の形態における作用効果に加えて、次のような効果を得ることができる。
(1)無線モジュール109から出力する無線電波の電波強度を上昇させつつ通信対象と通信を行って、所定の通信品質を維持することができる所定基準品質の電波強度を決定し、無線モジュール109から出力する無線電波の電波強度を、決定した所定基準品質の電波強度に設定して通信対象と通信を行うようにした。これによって、所定の通信品質を維持しつつ、無線モジュール109から出力する無線電波の電波強度を抑えて、電池112の消耗を防ぐことができる。
According to the second embodiment described above, the following effects can be obtained in addition to the functions and effects of the first embodiment.
(1) Communicating with the communication target while increasing the radio wave intensity of the radio wave output from the radio module 109, determining the radio intensity of a predetermined reference quality that can maintain the predetermined communication quality, The radio wave intensity of the output radio wave is set to the determined radio wave intensity of the predetermined reference quality so that communication is performed with the communication target. Accordingly, the radio wave intensity output from the radio module 109 can be suppressed while maintaining a predetermined communication quality, and the battery 112 can be prevented from being consumed.

(2)無線モジュール109から出力する無線電波の初期の電波強度を無線モジュール109から出力可能な最小の電波強度とするようにした。これによって、最小の電波強度から徐々に電波強度を上げていって、的確に所定基準品質の電波強度を設定することができる。 (2) The initial radio field intensity of the radio wave output from the radio module 109 is set to the minimum radio field intensity that can be output from the radio module 109. As a result, the radio wave intensity is gradually increased from the minimum radio wave intensity, and the radio wave intensity of a predetermined reference quality can be accurately set.

―変形例―
なお、上述した実施の形態のカメラは、以下のように変形することもできる。
(1)上述した第1の実施の形態では、無線モジュール109から出力する無線電波の初期電波強度を、カメラ100の使用環境(無線通信環境)に応じて設定する例について説明した。しかしながら、使用者が初期電波強度を数値で指定できるようにしてもよい。また、カメラ100の使用環境が指定されていない場合および「屋外」が設定されている場合には、無線モジュール109から出力する初期の電波強度として、無線モジュール109から出力することができる最大の電波強度を設定するようにした。しかしながら、所定以上の電波強度であれば最大値に限らない。
-Modification-
The camera according to the above-described embodiment can be modified as follows.
(1) In the above-described first embodiment, the example in which the initial radio wave intensity of the radio wave output from the radio module 109 is set according to the use environment (wireless communication environment) of the camera 100 has been described. However, the user may be able to designate the initial radio wave intensity numerically. When the use environment of the camera 100 is not specified and “outdoor” is set, the maximum radio wave that can be output from the wireless module 109 as the initial radio wave intensity output from the wireless module 109. The intensity was set. However, it is not limited to the maximum value as long as the radio field intensity is greater than or equal to a predetermined value.

(2)上述した第1および第2の実施の形態では、無線モジュール109が出力可能な電波強度の範囲は、10dB〜15dBであるものとし、CPU108は、当該範囲内で1dBずつ電波強度を上昇または低下させることで、無線モジュール109から出力する無線電波の電波強度を制御する例について説明した。しかしながら、無線モジュール109が出力可能な電波強度の範囲は上記以外の範囲でもよい。また、電波強度を変更するにあたっては、例えば0.1dBずつ、または2dBずつなどでもよく、1dBずつに限定されるものではない。 (2) In the first and second embodiments described above, the range of radio wave intensity that can be output by the wireless module 109 is 10 dB to 15 dB, and the CPU 108 increases the radio wave intensity by 1 dB within the range. Alternatively, the example in which the radio wave intensity of the radio wave output from the radio module 109 is controlled by reducing the frequency has been described. However, the range of the radio wave intensity that can be output by the wireless module 109 may be other than the above range. Further, when changing the radio wave intensity, for example, it may be 0.1 dB or 2 dB, and is not limited to 1 dB.

(3)上述した第1の実施の形態では、CPU108は、図2のステップS50で通信対象との通信が成功したと判断した後、通信対象に対してテストパケットを送信して、その応答パケット(成功パケット)の、テストパケットに対する割合に基づいて、さらに電波強度を下げるか、あるいは現在の設定値を所定基準品質の電波強度として決定するかを判断する例について説明した。しかしながら、CPU108は、通信対象との通信が成功した後、そのときの電波強度から徐々に電波強度を低下させていき、通信対象との無線通信が切断される電波強度を検出する。そして、検出した電波強度よりも所定レベル高い電波強度を所定基準品質の電波強度として決定するようにしてもよい。 (3) In the first embodiment described above, the CPU 108 transmits a test packet to the communication target after determining that the communication with the communication target is successful in step S50 of FIG. Based on the ratio of (success packet) to the test packet, an example has been described in which it is determined whether to further reduce the radio wave intensity or to determine the current set value as the radio wave intensity of the predetermined reference quality. However, after the communication with the communication target is successful, the CPU 108 gradually decreases the radio wave intensity from the current radio wave intensity, and detects the radio wave intensity at which the wireless communication with the communication target is disconnected. Then, a radio wave intensity that is higher by a predetermined level than the detected radio wave intensity may be determined as the radio wave intensity of a predetermined reference quality.

例えば、電波強度が11dBとなったときに通信対象との無線通信が切断された場合には、切断時よりも1dB高い12dBを所定基準品質の電波強度として決定する。これによって、通信対象との間でテストパケットおよび成功パケットの送受信を行う必要がなくなり、無線モジュール109の消費電力をさらに抑えることができる。また、所定基準品質の電波強度を決定するための処理を高速化することができる。   For example, when the radio communication with the communication target is disconnected when the radio wave intensity becomes 11 dB, 12 dB that is 1 dB higher than that at the time of disconnection is determined as the radio wave intensity of the predetermined reference quality. As a result, it is not necessary to transmit / receive test packets and success packets to / from the communication target, and the power consumption of the wireless module 109 can be further suppressed. In addition, it is possible to speed up the process for determining the radio field intensity of the predetermined reference quality.

(4)上述した第2の実施の形態では、CPU108は、図5のステップS50で通信対象との通信が成功したと判断した後、通信対象に対してテストパケットを送信して、その応答パケット(成功パケット)の、テストパケットに対する割合に基づいて、さらに電波強度を上げるか、あるいは現在の設定値を所定基準品質の電波強度として決定するかを判断する例について説明した。しかしながら、CPU108は、ステップS50で通信対象との通信が成功した時点で、そのときの電波強度を所定基準品質の電波強度として決定するようにしてもよい。これによって、通信対象との間でテストパケットおよび成功パケットの送受信を行う必要がなくなり、無線モジュール109の消費電力をさらに抑えることができる。また、所定基準品質の電波強度を決定するための処理を高速化することができる。 (4) In the second embodiment described above, the CPU 108 determines that the communication with the communication target is successful in step S50 of FIG. Based on the ratio of (success packet) to the test packet, an example has been described in which it is determined whether to further increase the radio wave intensity or to determine the current set value as the radio wave intensity of a predetermined reference quality. However, the CPU 108 may determine the radio wave intensity at that time as the radio wave intensity of the predetermined reference quality when the communication with the communication target is successful in step S50. As a result, it is not necessary to transmit / receive test packets and success packets to / from the communication target, and the power consumption of the wireless module 109 can be further suppressed. In addition, it is possible to speed up the process for determining the radio field intensity of the predetermined reference quality.

なお、本発明の特徴的な機能を損なわない限り、本発明は、上述した実施の形態における構成に何ら限定されない。   Note that the present invention is not limited to the configurations in the above-described embodiments as long as the characteristic functions of the present invention are not impaired.

カメラの一実施の形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment of a camera. 第1の実施の形態における電波強度制御処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the electromagnetic wave intensity control process in 1st Embodiment. 電波強度切替処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of a radio wave intensity switching process. 再接続処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of a reconnection process. 第2の実施の形態における電波強度制御処理の流れを示すフローチャート図である。It is a flowchart figure which shows the flow of the electromagnetic wave intensity control process in 2nd Embodiment.

符号の説明Explanation of symbols

100 カメラ、101 レンズ、102 撮像素子、103 画像処理回路、104 メモリインタフェース、105 メモリ、106 表示装置、107 操作部材、108 CPU、109 無線モジュール、110 フラッシュメモリ、111 電圧測定回路、112 電池 DESCRIPTION OF SYMBOLS 100 Camera, 101 Lens, 102 Image pick-up element, 103 Image processing circuit, 104 Memory interface, 105 Memory, 106 Display apparatus, 107 Operation member, 108 CPU, 109 Wireless module, 110 Flash memory, 111 Voltage measurement circuit, 112 Battery

Claims (10)

無線電波を出力する電波出力手段と、
前記電波出力手段から出力する無線電波の電波強度を低下させつつ通信対象と通信を行って、所定の通信品質を維持することができる所定基準品質の電波強度を決定する決定手段と、
前記電波出力手段から出力する無線電波の電波強度を、前記決定手段で決定した前記所定基準品質の電波強度に設定して前記通信対象と通信を行う通信制御手段とを備えることを特徴とする無線通信装置。
Radio wave output means for outputting radio waves;
Determining means for determining a radio intensity of a predetermined reference quality capable of maintaining a predetermined communication quality by performing communication with a communication target while reducing the radio wave intensity of the radio wave output from the radio wave output means;
And a communication control unit configured to communicate with the communication target by setting the radio wave intensity of the radio wave output from the radio wave output unit to the radio wave intensity of the predetermined reference quality determined by the determining unit. Communication device.
請求項1に記載の無線通信装置において、
前記決定手段は、前記電波出力手段が出力することができる最大の電波強度から前記電波強度を低下させていくことを特徴とする無線通信装置。
The wireless communication device according to claim 1,
The wireless communication apparatus according to claim 1, wherein the determining means reduces the radio wave intensity from a maximum radio wave intensity that can be output by the radio wave output means.
請求項1に記載の無線通信装置において、
使用者からの無線通信環境の入力を受付ける受付手段をさらに備え、
前記決定手段は、前記受付手段で受付けた前記無線通信環境に応じて設定した電波強度から前記電波強度を所定量ずつ低下させていくことを特徴とする無線通信装置。
The wireless communication device according to claim 1,
A reception unit for receiving a wireless communication environment input from a user;
The wireless communication apparatus according to claim 1, wherein the determination unit decreases the radio field intensity by a predetermined amount from the radio field intensity set according to the radio communication environment received by the reception unit.
無線電波を出力する電波出力手段と、
前記電波出力手段から出力する無線電波の電波強度を上昇させつつ通信対象と通信を行って、所定の通信品質を維持することができる所定基準品質の電波強度を決定する決定手段と、
前記電波出力手段から出力する無線電波の電波強度を、前記決定手段で決定した前記所定基準品質の電波強度に設定して前記通信対象と通信を行う通信制御手段とを備えることを特徴とする無線通信装置。
Radio wave output means for outputting radio waves;
Determining means for determining a predetermined reference quality radio wave intensity capable of maintaining a predetermined communication quality by performing communication with a communication target while increasing the radio wave radio wave intensity output from the radio wave output means;
And a communication control unit configured to communicate with the communication target by setting the radio wave intensity of the radio wave output from the radio wave output unit to the radio wave intensity of the predetermined reference quality determined by the determining unit. Communication device.
請求項4に記載の無線通信装置において、
前記決定手段は、前記電波出力手段が出力することができる最小の電波強度から前記電波強度を上昇させていくことを特徴とする無線通信装置。
The wireless communication apparatus according to claim 4, wherein
The wireless communication apparatus according to claim 1, wherein the determining unit increases the radio field intensity from a minimum radio field intensity that can be output by the radio wave output unit.
請求項1または4に記載の無線通信装置において、
前記決定手段は、前記通信対象に対してテストデータを送信し、その応答として受信した通信の成功を示すデータの、前記テストデータに対する割合に基づいて、前記所定基準品質の電波強度を決定することを特徴とする無線通信装置。
The wireless communication device according to claim 1 or 4,
The determining means transmits test data to the communication target, and determines the radio field intensity of the predetermined reference quality based on a ratio of data indicating successful communication received as a response to the test data. A wireless communication device.
請求項1または4に記載の無線通信装置において、
前記決定手段は、無線通信が切断される電波強度を検出し、検出した電波強度よりも所定レベル高い電波強度を前記所定基準品質の電波強度として決定することを特徴とする無線通信装置。
The wireless communication device according to claim 1 or 4,
The determination unit detects a radio wave intensity at which radio communication is cut off, and determines a radio field intensity higher than the detected radio wave intensity by a predetermined level as the radio wave intensity of the predetermined reference quality.
請求項1または4に記載の無線通信装置において、
無線通信時の電力消費を抑えることを目的とする省電力モードと、無線通信時の通信品質の維持を目的とする品質優先モードとを切り替えるモード設定手段をさらに備え、
前記通信制御手段は、前記モード設定手段によって前記省電力モードが設定された場合には、前記電波出力手段から出力する無線電波の電波強度を、前記決定手段で決定した前記所定基準品質の電波強度に設定し、前記品質優先モードが設定された場合には、前記電波出力手段から出力する無線電波の電波強度を、所定の強度以上に設定することを特徴とする無線通信装置。
The wireless communication device according to claim 1 or 4,
Further comprising a mode setting means for switching between a power saving mode for suppressing power consumption during wireless communication and a quality priority mode for maintaining communication quality during wireless communication;
The communication control means, when the power saving mode is set by the mode setting means, the radio wave intensity of the radio wave output from the radio wave output means, the radio wave intensity of the predetermined reference quality determined by the determining means When the quality priority mode is set, the radio communication apparatus sets the radio wave intensity of the radio wave output from the radio wave output means to a predetermined intensity or higher.
請求項8に記載の無線通信装置において、
無線通信装置に電力を供給する電池の残量を測定する電池残量測定手段をさらに備え、
前記モード設定手段は、前記品質優先モードが設定されているときに、前記電池残量測定手段による測定結果に基づいて前記電池の残量が所定以下となったことを検出した場合には、前記省電力モードへの切り替えを行うことを特徴とする無線通信装置。
The wireless communication apparatus according to claim 8, wherein
Battery level measuring means for measuring the remaining battery level for supplying power to the wireless communication device;
The mode setting means, when the quality priority mode is set, when detecting that the remaining battery level is less than or equal to a predetermined value based on the measurement result by the remaining battery level measuring unit, A wireless communication apparatus that switches to a power saving mode.
無線電波を出力する電波出力手段と、
電力を供給する電池の残量を測定する電池残量測定手段と、
所定の通信品質を維持することができる所定基準品質の電波強度を決定する決定手段と、
前記電波出力手段から出力する無線電波の電波強度を、所定の強度以上に設定しているときに、前記電池残量測定手段による測定結果に基づいて、前記電池の残量が所定以下となったことを検出した場合には、前記電波出力手段から出力する無線電波の電波強度を、前記決定手段で決定した前記所定基準品質の電波強度に切り替える通信制御手段とを備えることを特徴とする無線通信装置。
Radio wave output means for outputting radio waves;
Battery remaining amount measuring means for measuring the remaining amount of the battery supplying power;
Determining means for determining the radio intensity of a predetermined reference quality capable of maintaining a predetermined communication quality;
When the radio wave intensity of the radio wave output from the radio wave output unit is set to be equal to or higher than a predetermined strength, the remaining battery level becomes equal to or lower than the predetermined level based on the measurement result by the remaining battery level measuring unit. And a communication control means for switching the radio wave intensity of the radio wave output from the radio wave output means to the radio wave intensity of the predetermined reference quality determined by the determining means. apparatus.
JP2006342657A 2006-12-20 2006-12-20 Wireless communication apparatus Pending JP2008154165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006342657A JP2008154165A (en) 2006-12-20 2006-12-20 Wireless communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006342657A JP2008154165A (en) 2006-12-20 2006-12-20 Wireless communication apparatus

Publications (1)

Publication Number Publication Date
JP2008154165A true JP2008154165A (en) 2008-07-03

Family

ID=39655842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006342657A Pending JP2008154165A (en) 2006-12-20 2006-12-20 Wireless communication apparatus

Country Status (1)

Country Link
JP (1) JP2008154165A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154153A (en) * 2008-12-25 2010-07-08 Sharp Corp Wireless lan terminal device and wireless lan network system
JP2017139812A (en) * 2017-05-08 2017-08-10 カシオ計算機株式会社 System, power consumption control method, electronic apparatus, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010154153A (en) * 2008-12-25 2010-07-08 Sharp Corp Wireless lan terminal device and wireless lan network system
JP2017139812A (en) * 2017-05-08 2017-08-10 カシオ計算機株式会社 System, power consumption control method, electronic apparatus, and program

Similar Documents

Publication Publication Date Title
US20080074535A1 (en) Imaging apparatus
US20100144273A1 (en) Portable device
EP1732278A1 (en) Method for switching channels in a wireless communication network
KR101543498B1 (en) Communication apparatus, control method for communication apparatus, imaging apparatus, control method for imaging apparatus, and recoding medium
US20150036521A1 (en) Wireless communication apparatus, program, and communication control method
KR20180095531A (en) INFORMATION PROCESSING APPARATUS, IMAGING DEVICE, INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING METHOD, AND PROGRAM
JP2008147958A (en) Image regeneration apparatus, and control method therefor
JP2006086595A (en) Imaging apparatus
US9485431B2 (en) Image capturing apparatus and method for controlling the same
JP2013115551A (en) Electronic apparatus and program
JP2004357182A (en) Electronic apparatus system and memory device
US20170353922A1 (en) Communication apparatus, control method for communication apparatus, and non-transitory computer-readable storage medium
JP2018061290A (en) Imaging device, imaging method, and program
JP2010287950A (en) Electronic device
JP2007028219A (en) Wireless communication device, wireless communication method, and wireless communication system
JP4759372B2 (en) Communication terminal for informing wireless communication state and control method thereof
JP2008154165A (en) Wireless communication apparatus
JP2006343646A (en) Imaging apparatus and flash unit
JP2018056778A (en) Communication control device, communication control method, and program
JP2007329557A (en) Information terminal with display apparatus, display method, and program
JP2007282083A (en) Data recording apparatus, data recording method, data recording program, and recording medium
JP2008199445A (en) Radio communication device
JP2008010939A (en) Lens unit, camera main body, camera system, and method and program of operating lens unit or camera main body
JP2014057145A (en) Connection device and program
JP2009049603A (en) Imaging device