JP2019020771A - Control module, electronic apparatus, control method and program - Google Patents

Control module, electronic apparatus, control method and program Download PDF

Info

Publication number
JP2019020771A
JP2019020771A JP2017135595A JP2017135595A JP2019020771A JP 2019020771 A JP2019020771 A JP 2019020771A JP 2017135595 A JP2017135595 A JP 2017135595A JP 2017135595 A JP2017135595 A JP 2017135595A JP 2019020771 A JP2019020771 A JP 2019020771A
Authority
JP
Japan
Prior art keywords
module
communication means
communication
control
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.)
Pending
Application number
JP2017135595A
Other languages
Japanese (ja)
Inventor
大士 鳥海
Hiroshi Chokai
大士 鳥海
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2017135595A priority Critical patent/JP2019020771A/en
Publication of JP2019020771A publication Critical patent/JP2019020771A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a control module, an electronic apparatus, a control method and a program that can satisfactorily connects between a plurality of modules.SOLUTION: A control module, in which a first module is connected to a post stage and a second module may be connected to the post stage of the first module, comprises: determination means that determines whether or not a predetermined condition is satisfied; and control means that determines whether or not to control to be in a state, in which first communication means owned by the control module and second communication means owned by the first module are electrically connected through a signal line, the second communication means and third communication means owned by the first module are electrically isolated by means of a switch, and the third communication means and fourth communication means owned by the second module are electrically connected through a signal line, on the basis of a determination result of whether or not the predetermined condition is satisfied.SELECTED DRAWING: Figure 2A

Description

本発明は、制御モジュール、電子機器、制御方法およびプログラムに関する。   The present invention relates to a control module, an electronic device, a control method, and a program.

複数のモジュールから構成される電子機器においては、マスタモジュールのIC(Integrated Circuit:集積回路)とスレーブモジュールのICとの間で通信を行うことにより、電子機器全体の制御が行われる。IC間の通信規格として、I2C(Inter−Integrated Circuit)規格が知られている。I2C規格に基づく通信であるI2C通信においては、I2C通信用の信号線であるシリアルクロック線SCLおよびシリアルデータ線SDAを介して通信が行われる。I2C通信用の信号線における伝送信号の立ち上がり時間および立ち下がり時間は、I2C規格によって定められている。一方、特許文献1には、再生装置に接続される出力装置に応じてプルアップ抵抗を変化させることによって、伝送信号の立ち上がり時間を調整する方法が記載されている。   In an electronic device including a plurality of modules, the entire electronic device is controlled by performing communication between an IC (Integrated Circuit) of a master module and an IC of a slave module. As a communication standard between ICs, an I2C (Inter-Integrated Circuit) standard is known. In I2C communication which is communication based on the I2C standard, communication is performed via a serial clock line SCL and a serial data line SDA which are signal lines for I2C communication. The rise time and fall time of the transmission signal in the signal line for I2C communication are defined by the I2C standard. On the other hand, Patent Document 1 describes a method of adjusting the rise time of a transmission signal by changing a pull-up resistor in accordance with an output device connected to a reproduction device.

国際公開第2006/043547号International Publication No. 2006/043547

I2C通信用の信号線では、伝送信号の立ち上がり時間および立ち下がり時間は、信号線の抵抗および容量の影響を受ける。このため、多数の電子機器を直列に接続した場合には、I2C通信用の信号線における伝送信号の立ち上がり時間または立ち下がり時間がI2C規格において定められた条件を満足し得ず、良好に接続を確立し得ない場合が想定される。特許文献1のようにプルアップ抵抗を変化させるようにした場合には、接続処理の煩雑化等を招いてしまうことが想定される。   In the signal line for I2C communication, the rise time and fall time of the transmission signal are affected by the resistance and capacitance of the signal line. For this reason, when a large number of electronic devices are connected in series, the rise time or fall time of the transmission signal in the signal line for I2C communication cannot satisfy the conditions defined in the I2C standard, and the connection is made satisfactorily. It is assumed that it cannot be established. When the pull-up resistance is changed as in Patent Document 1, it is assumed that the connection process becomes complicated.

そこで、本発明は、複数のモジュールの接続を良好に行い得る制御モジュール、電子機器、制御方法およびプログラムを提供することを目的とする。   Therefore, an object of the present invention is to provide a control module, an electronic device, a control method, and a program that can satisfactorily connect a plurality of modules.

本発明の一態様に係る制御モジュールは、後段に第1のモジュールが接続され、前記第1のモジュールの後段に第2のモジュールが接続され得る制御モジュールであって、所定の条件が満たされるか否かを判定する判定手段と、前記制御モジュールが有する第1の通信手段と前記第1のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第1のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第2のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定する制御手段とを有する。   The control module according to one aspect of the present invention is a control module in which a first module is connected to the subsequent stage and a second module can be connected to the subsequent stage of the first module, and whether a predetermined condition is satisfied A first communication unit included in the control module and a second communication unit included in the first module are electrically connected via a signal line, and the second communication And the third communication means included in the first module are electrically separated by a switch, and the third communication means and the fourth communication means included in the second module provide a signal line. Control means for determining whether to control to be in an electrically connected state based on a determination result of whether or not the predetermined condition is satisfied.

本発明の一態様に係る電子機器は、第1のモジュールと、前記第1のモジュールの後段に位置する第2のモジュールと、前記第2のモジュールの後段に位置する第3のモジュールとを有する電子機器であって、所定の条件が満たされるか否かを判定する判定手段と、前記第1のモジュールが有する第1の通信手段と前記第2のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第2のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第3のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定する制御手段とを有する。   An electronic device according to one embodiment of the present invention includes a first module, a second module positioned at a subsequent stage of the first module, and a third module positioned at a subsequent stage of the second module. A determination unit that determines whether or not a predetermined condition is satisfied, and a first communication unit included in the first module and a second communication unit included in the second module are signals. Electrically connected via a line, the second communication means and the third communication means of the second module are electrically separated by a switch, and the third communication means and the second communication means Whether to control the fourth communication means of the third module to be in a state of being electrically connected via the signal line, based on the determination result of whether the predetermined condition is satisfied. Control means to determine Having.

本発明の一態様に係る制御方法は、後段に第1のモジュールが接続され、前記第1のモジュールの後段に第2のモジュールが接続され得る制御モジュールの制御方法であって、所定の条件が満たされるか否かを判定するステップと、前記制御モジュールが有する第1の通信手段と前記第1のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第1のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第2のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定するステップとを有する。   A control method according to an aspect of the present invention is a control method for a control module in which a first module is connected to a subsequent stage and a second module can be connected to the subsequent stage of the first module, and the predetermined condition is A step of determining whether or not the first communication means and the second communication means of the first module are electrically connected via a signal line; and And the third communication means of the first module are electrically separated by a switch, and the third communication means and the fourth communication means of the second module are signals. Determining whether to control to be electrically connected via a line based on a determination result of whether or not the predetermined condition is satisfied.

本発明の一態様に係る制御方法は、第1のモジュールと、前記第1のモジュールの後段に位置する第2のモジュールと、前記第2のモジュールの後段に位置する第3のモジュールとを有する電子機器の制御方法であって、所定の条件が満たされるか否かを判定するステップと、前記第1のモジュールが有する第1の通信手段と前記第2のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第2のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第3のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定するステップとを有する。   The control method which concerns on 1 aspect of this invention has a 1st module, the 2nd module located in the back | latter stage of the said 1st module, and the 3rd module located in the back | latter stage of the said 2nd module. A method for controlling an electronic device, the step of determining whether or not a predetermined condition is satisfied, a first communication unit included in the first module, and a second communication unit included in the second module; Are electrically connected via a signal line, and the second communication means and the third communication means of the second module are electrically separated by a switch, and the third communication means A determination result of whether or not the predetermined condition is satisfied as to whether or not control is performed so that the fourth communication means included in the third module is electrically connected via a signal line. To decide based on And a step.

本発明の一態様に係るプログラムは、後段に第1のモジュールが接続され、前記第1のモジュールの後段に第2のモジュールが接続され得る制御モジュールで用いられるプログラムであって、コンピュータを、所定の条件が満たされるか否かを判定する判定手段と、前記制御モジュールが有する第1の通信手段と前記第1のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第1のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第2のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定する制御手段として機能させるためのプログラムである。   A program according to an aspect of the present invention is a program used in a control module in which a first module is connected to a subsequent stage and a second module can be connected to the subsequent stage of the first module, The determination means for determining whether or not the above condition is satisfied, the first communication means included in the control module, and the second communication means included in the first module are electrically connected via a signal line. The second communication unit and the third communication unit included in the first module are electrically separated by a switch, and the fourth communication included in the third communication unit and the second module. Control means for determining whether or not to control so as to be electrically connected to the means via a signal line based on a determination result of whether or not the predetermined condition is satisfied; Is a program for making the function Te.

本発明の一態様に係るプログラムは、第1のモジュールと、前記第1のモジュールの後段に位置する第2のモジュールと、前記第2のモジュールの後段に位置する第3のモジュールとを有する電子機器で用いられるプログラムであって、コンピュータを、所定の条件が満たされるか否かを判定する判定手段と、前記第1のモジュールが有する第1の通信手段と前記第2のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第2のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第3のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定する制御手段として機能させるためのプログラムである。   The program which concerns on 1 aspect of this invention has a 1st module, the 2nd module located in the back | latter stage of the said 1st module, and the 3rd module located in the back | latter stage of the said 2nd module. A program used in a device, wherein the computer includes a determination unit that determines whether or not a predetermined condition is satisfied, a second communication unit included in the first module, and a second unit included in the second module. Communication means are electrically connected via a signal line, the second communication means and the third communication means of the second module are electrically separated by a switch, and the third Whether the predetermined condition is satisfied whether or not the communication means and the fourth communication means of the third module are controlled to be electrically connected via a signal line. Is a program for functioning as a control means for determining on the basis of the Kano determination result.

本発明によれば、複数のモジュールの接続を良好に行い得る制御モジュール、電子機器、制御方法およびプログラムを提供することができる。   According to the present invention, it is possible to provide a control module, an electronic device, a control method, and a program that can satisfactorily connect a plurality of modules.

実施形態1における電子機器600が有する複数のモジュールの例を説明するための図である。6 is a diagram for describing an example of a plurality of modules included in the electronic device 600 according to Embodiment 1. FIG. 実施形態1における電子機器600が有する複数のモジュールの例を説明するための図である。6 is a diagram for describing an example of a plurality of modules included in the electronic device 600 according to Embodiment 1. FIG. モジュール100、200、300、400および500の構成要素を説明するためのブロック図である。2 is a block diagram for explaining components of modules 100, 200, 300, 400, and 500. FIG. モジュール100、200、300、400および500の構成要素を説明するためのブロック図である。2 is a block diagram for explaining components of modules 100, 200, 300, 400, and 500. FIG. モジュール100、200、300、400および500の構成要素を説明するためのブロック図である。2 is a block diagram for explaining components of modules 100, 200, 300, 400, and 500. FIG. モジュール100、200、300、400および500の構成要素を説明するためのブロック図である。2 is a block diagram for explaining components of modules 100, 200, 300, 400, and 500. FIG. モジュール100、200、300、400および500の構成要素を説明するためのブロック図である。2 is a block diagram for explaining components of modules 100, 200, 300, 400, and 500. FIG. モジュール100、200、300、400および500の構成要素を説明するためのブロック図である。2 is a block diagram for explaining components of modules 100, 200, 300, 400, and 500. FIG. 実施形態1における電子機器600の動作例を説明するためのフローチャートである。6 is a flowchart for explaining an operation example of the electronic apparatus 600 according to the first embodiment. I2C通信部113の構成例を説明するためのブロック図である。3 is a block diagram for explaining a configuration example of an I2C communication unit 113. FIG. 伝送信号の例を説明するためのタイムチャートである。It is a time chart for demonstrating the example of a transmission signal. 電子機器600で行われる所定の通知の例を説明するための図である。FIG. 11 is a diagram for describing an example of a predetermined notification performed in electronic device 600.

以下、図面を参照して本発明の実施形態を説明する。ただし、本発明は以下の実施形態に限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the present invention is not limited to the following embodiments.

[実施形態1]
図1Aおよび図1Bは、電子機器600が有する複数のモジュールの例を説明するための図である。実施形態1では、電子機器600が直列に接続された5つのモジュール100、200、300、400および500で構成される例を説明するが、電子機器600の構成はこのような構成に限定されるものではない。図1Aおよび図1Bには、複数のモジュール100、200、300、400および500が互いに分離された状態が示されている。図1Aは、互いに分離されたモジュール100、200、300、400および500を一方の側から見た際の斜視図である。図1Bは、互いに分離されたモジュール100、200、300、400および500を他方の側から見た際の斜視図である。モジュール100は、例えばカメラモジュールであり、例えばマスタモジュールとして動作し得る。モジュール200、300および400は、例えば、特定の機能をそれぞれ有するモジュールであり、スレーブモジュールとして動作可能であるが、マスタモジュールとしても動作可能である。モジュール200、300および400としては、例えば、外部機器と通信するためのコネクタを有するI/O(入出力)モジュール、近距離無線通信を行うNFC(Near Field Communication)モジュールが挙げられる。また、モジュール200、300および400として、外部機器との間で無線通信によってデータの送受信を行う通信モジュール、デジタル化された画像を出力する画像出力モジュール、音楽または操作音を出力するスピーカモジュールが挙げられる。また、モジュール200、300および400として、音声入力のためのマイクモジュール、大容量のデータを保存し得る記録モジュール、表示装置(例:液晶表示装置)を有する表示モジュール、他のモジュールを冷却する冷却ユニット等が挙げられる。ユーザは、所望の機能を有するモジュール200、300および400をモジュール100に接続し得る。モジュール500は、例えば電源モジュールであり、例えばスレーブモジュールとして動作し得る。複数のモジュール100、200、300、400および500の接続は、モジュール500によって終端される。なお、複数のモジュール100、200、300、400および500の接続の順序は、上記に限定されるものではない。実施形態1および他の実施形態では、複数のモジュールが組み合わされたものを電子機器と称しているが、個々のモジュールを電子機器と称することもできる。また、複数のモジュールが組み合わされた電子機器は、通信システムと称することもできるし、電子システムと称することもできる。また、モジュールは、モジュールデバイスと称することもできるし、電子装置と称することもできるし、制御モジュールと称することもできる。
[Embodiment 1]
1A and 1B are diagrams for describing an example of a plurality of modules included in the electronic apparatus 600. FIG. In the first embodiment, an example in which the electronic device 600 includes five modules 100, 200, 300, 400, and 500 connected in series will be described. However, the configuration of the electronic device 600 is limited to such a configuration. It is not a thing. 1A and 1B show a state where a plurality of modules 100, 200, 300, 400 and 500 are separated from each other. FIG. 1A is a perspective view of modules 100, 200, 300, 400, and 500 separated from each other when viewed from one side. FIG. 1B is a perspective view of the modules 100, 200, 300, 400, and 500 separated from each other when viewed from the other side. The module 100 is a camera module, for example, and can operate as a master module, for example. The modules 200, 300, and 400 are modules having specific functions, for example, and can operate as slave modules, but can also operate as master modules. Examples of the modules 200, 300, and 400 include an I / O (input / output) module having a connector for communicating with an external device and an NFC (Near Field Communication) module that performs short-range wireless communication. Further, examples of the modules 200, 300, and 400 include a communication module that transmits / receives data to / from an external device by wireless communication, an image output module that outputs a digitized image, and a speaker module that outputs music or operation sound. It is done. Further, as modules 200, 300 and 400, a microphone module for voice input, a recording module capable of storing a large amount of data, a display module having a display device (eg, a liquid crystal display device), and cooling for cooling other modules. Unit etc. are mentioned. The user can connect the modules 200, 300, and 400 having a desired function to the module 100. The module 500 is a power supply module, for example, and can operate as a slave module, for example. The connection of the plurality of modules 100, 200, 300, 400 and 500 is terminated by the module 500. Note that the order of connection of the plurality of modules 100, 200, 300, 400, and 500 is not limited to the above. In Embodiment 1 and other embodiments, a combination of a plurality of modules is referred to as an electronic device, but individual modules can also be referred to as electronic devices. In addition, an electronic device in which a plurality of modules is combined can be referred to as a communication system or an electronic system. Further, the module can be referred to as a module device, an electronic device, or a control module.

モジュール100は、上述したように、例えばカメラモジュールである。モジュール100は、被写体の光学像からデジタル化された画像を生成する撮像部102と、モジュール100を操作するためのユーザインタフェースである操作部104とを有する。操作部104は、電源の投入または切断を行うための電源ボタン、被写体を撮像するためのレリーズボタン等を含む。また、モジュール100は、入出力用ジャックを保護するためのジャックカバー部108を有する。ジャックカバー部108を開いた状態にすることによって、入出力用ジャックに各種ケーブルを接続することが可能である。また、モジュール100は、後段のモジュール200、300、400および500をモジュール100に機構的にロックするためのロック部109を有する。ロック部109は、回動させることが可能であり、ロック位置とロック解除位置との間で操作され得る。ロック部109をロック解除位置に設定することよって、後段のモジュール200、300、400および500をモジュール100から取り外すことが可能である。モジュール100は、後段のモジュール200を接続するためのコネクタ199を有する。   As described above, the module 100 is, for example, a camera module. The module 100 includes an imaging unit 102 that generates a digitized image from an optical image of a subject, and an operation unit 104 that is a user interface for operating the module 100. The operation unit 104 includes a power button for turning on / off the power, a release button for imaging the subject, and the like. Further, the module 100 has a jack cover portion 108 for protecting the input / output jack. By making the jack cover portion 108 open, various cables can be connected to the input / output jack. Further, the module 100 includes a lock unit 109 for mechanically locking the modules 200, 300, 400, and 500 at the subsequent stage to the module 100. The lock part 109 can be rotated and can be operated between a lock position and a lock release position. By setting the lock portion 109 to the unlock position, the subsequent modules 200, 300, 400 and 500 can be detached from the module 100. The module 100 includes a connector 199 for connecting the module 200 at the subsequent stage.

モジュール200、300および400は、上述したように、特定の機能をそれぞれ有する。モジュール200は、モジュール200の前段に接続されるモジュール100と接続するためのコネクタ201と、モジュール200の後段に接続されるモジュール300と接続するためのコネクタ299とを有する。モジュール300は、モジュール300の前段に接続されるモジュール200と接続するためのコネクタ301と、モジュール300の後段に接続されるモジュール400と接続するためのコネクタ399とを有する。モジュール400は、モジュール400の前段に接続されるモジュール300と接続するためのコネクタ401と、モジュール400の後段に接続されるモジュール500と接続するためのコネクタ499とを有する。   The modules 200, 300 and 400 each have a specific function as described above. The module 200 includes a connector 201 for connecting to the module 100 connected to the previous stage of the module 200 and a connector 299 for connecting to the module 300 connected to the subsequent stage of the module 200. The module 300 includes a connector 301 for connecting to the module 200 connected to the previous stage of the module 300 and a connector 399 for connecting to the module 400 connected to the subsequent stage of the module 300. The module 400 includes a connector 401 for connecting to the module 300 connected to the previous stage of the module 400 and a connector 499 for connecting to the module 500 connected to the subsequent stage of the module 400.

モジュール500は、上述したように電源モジュールである。モジュール500は、モジュール500の前段に接続されるモジュール400と接続するためのコネクタ501を有する。上述したように、複数のモジュール100、200、300、400および500の接続は、モジュール500によって終端される。従って、モジュール500は、モジュール100、200、300、400および500の接続を終端するような構造となっている。   The module 500 is a power supply module as described above. The module 500 has a connector 501 for connecting to the module 400 connected to the previous stage of the module 500. As described above, the connection of the plurality of modules 100, 200, 300, 400 and 500 is terminated by the module 500. Therefore, the module 500 has a structure that terminates the connection between the modules 100, 200, 300, 400, and 500.

次に、図2A、図2B、図2Cおよび図2Dを参照して、モジュール100、200、300、400および500の構成要素を説明する。図2Aは、スイッチ123がON状態であり、スイッチ223、323および423がOFF状態である状態を示している。図2Aにおいては、スイッチ227、327および427はON状態であり、スイッチ229、329および429はOFF状態である。図2Bは、図2Aに示す状態において、スイッチ223をOFF状態からON状態に変化させた状態を示している。図2Cは、図2Bに示す状態において、スイッチ323および423をOFF状態からON状態に変化させた状態を示している。図2Dは、図2Cに示す状態において、スイッチ427をON状態からOFF状態に変化させ、スイッチ429をOFF状態からON状態に変化させた状態を示している。   The components of modules 100, 200, 300, 400, and 500 will now be described with reference to FIGS. 2A, 2B, 2C, and 2D. FIG. 2A shows a state in which the switch 123 is in the ON state and the switches 223, 323, and 423 are in the OFF state. In FIG. 2A, the switches 227, 327, and 427 are in the ON state, and the switches 229, 329, and 429 are in the OFF state. FIG. 2B shows a state in which the switch 223 is changed from the OFF state to the ON state in the state shown in FIG. 2A. FIG. 2C shows a state where the switches 323 and 423 are changed from the OFF state to the ON state in the state shown in FIG. 2B. FIG. 2D shows a state in which the switch 427 is changed from the ON state to the OFF state and the switch 429 is changed from the OFF state to the ON state in the state shown in FIG. 2C.

図2Aに示すように、モジュール100は、レンズユニット101と、撮像部102と、絞り103と、操作部104と、シャッタ105と、メモリ110と、制御部111と、電源部115と、表示部119と、記録部121とを有する。モジュール100は、スイッチ123と、プルアップ抵抗127とをさらに有する。レンズユニット101は、被写体の光学像を撮像部102の撮像面に導く。撮像部102は、上述したように、被写体の光学像からデジタル化された画像を生成する。絞り103は、撮像部102の撮像面に達する光量を調整する。シャッタ105は、撮像部102の撮像面に達する光の入射時間を制御する。メモリ110は、制御部111のワークエリアとして用い得る。メモリ110には、電子機器600の各種設定情報が記憶される。メモリ110には、シリアルクロック線SCLおよびシリアルデータ線SDAの伝送信号の立ち上がり時間に応じたカウント値が記憶される。制御部111は、モジュール100の各構成要素を制御するためのプログラムを記憶したメモリと、そのメモリに記憶されたプログラムを実行することによりモジュール100の各構成要素を制御するプロセッサ(例えばハードウェアプロセッサ)とを有する。これにより、制御部111は、レンズユニット101と、絞り103と、シャッタ105とを含む撮像光学系を制御し得る。制御部111は、撮像部102を含む画像処理系も制御し得る。さらに、制御部111は、シリアルクロック線SCLおよびシリアルデータ線SDAにそれぞれ接続されているスイッチ123をも制御する。スイッチ123は、制御部111から供給されるイネーブル(Enable)信号によって制御される。制御部111はさらに、I2C通信部113を有する。I2C通信部113は、モジュール200、300、400および500のI2C通信部213、313、413および513と通信可能である。具体的には、I2C通信部113は、他のモジュール200、300、400および500を直列に接続するI2C用の信号線を介して、I2C通信部213、313、413および513と通信する。より具体的には、I2C通信部113は、シリアルクロック線SCLおよびシリアルデータ線SDAを介して、他のモジュール200、300、400および500のI2C通信部213、313、413および513との間でそれぞれI2C通信を行い得る。モジュール100のI2C通信部113はマスタであり、他のモジュール200、300、400および500のI2C通信部213、313、413および513はいずれもスレーブとする。モジュール100のI2Cアドレスは、例えば0x05とする。I2C通信部113は、以下のような状態において、所定の条件が満たされているか否かを判定する。その状態とは、I2C通信部113とモジュール200のI2C通信部213とが信号線を介して電気的に接続され、且つ、モジュール200のI2C通信部213とモジュール300のI2C通信部313とがスイッチ223によって電気的に分離されている状態である。I2C通信部113は、以下のような状態において、所定の条件が満たされているか否かを判定する。その状態とは、I2C通信部113とモジュール300のI2C通信部313とが信号線を介して電気的に接続され、且つ、モジュール300のI2C通信部313とモジュール400のI2C通信部413とがスイッチ323によって電気的に分離されている状態である。さらに、I2C通信部113は、以下のような状態において、所定の条件が満たされているか否かを判定する。その状態とは、I2C通信部113とモジュール400のI2C通信部413とが信号線を介して電気的に接続され、且つ、モジュール400のI2C通信部413とモジュール500のI2C通信部513とがスイッチ423によって電気的に分離されている状態である。電源部115は、モジュール100の各構成要素に電力を供給する。制御部111およびプルアップ抵抗127にも、電源部115から電力が供給される。表示部119には、ライブビュー画像、再生画像、電子機器600の状態等が表示され得る。I2C通信が成立しない場合等に発せられる通知情報も、表示部119に表示され得る。記録部121は、撮像によって取得された画像を記録する。記録部121としては、モジュール100に内蔵された記録媒体であってもよいし、モジュール100から取り外し可能な記録媒体等であってもよい。スイッチ123は、シリアルクロック線SCLおよびシリアルデータ線SDAに接続されている。図2Aに示す状態においては、スイッチ123がON状態となっているため、モジュール100のI2C通信用の信号線と、モジュール100の後段に接続されているモジュール200のI2C通信用の信号線とが電気的に接続されている。プルアップ抵抗127の一方の端部は、電源部115に接続されている。プルアップ抵抗127の他方の端部は、シリアルクロック線SCLおよびシリアルデータ線SDAにそれぞれ接続されている。コネクタ199は、モジュール100の後段に接続されるモジュール200のコネクタ201に接続されている。   As illustrated in FIG. 2A, the module 100 includes a lens unit 101, an imaging unit 102, an aperture 103, an operation unit 104, a shutter 105, a memory 110, a control unit 111, a power supply unit 115, and a display unit. 119 and a recording unit 121. Module 100 further includes a switch 123 and a pull-up resistor 127. The lens unit 101 guides the optical image of the subject to the imaging surface of the imaging unit 102. As described above, the imaging unit 102 generates a digitized image from the optical image of the subject. The diaphragm 103 adjusts the amount of light reaching the imaging surface of the imaging unit 102. The shutter 105 controls the incident time of light reaching the imaging surface of the imaging unit 102. The memory 110 can be used as a work area for the control unit 111. In the memory 110, various setting information of the electronic device 600 is stored. The memory 110 stores count values corresponding to the rising times of the transmission signals of the serial clock line SCL and the serial data line SDA. The control unit 111 includes a memory that stores a program for controlling each component of the module 100, and a processor (for example, a hardware processor) that controls each component of the module 100 by executing the program stored in the memory. ). Thereby, the control unit 111 can control the imaging optical system including the lens unit 101, the diaphragm 103, and the shutter 105. The control unit 111 can also control an image processing system including the imaging unit 102. Further, the control unit 111 also controls the switches 123 connected to the serial clock line SCL and the serial data line SDA. The switch 123 is controlled by an enable signal supplied from the control unit 111. The control unit 111 further includes an I2C communication unit 113. The I2C communication unit 113 can communicate with the I2C communication units 213, 313, 413, and 513 of the modules 200, 300, 400, and 500. Specifically, the I2C communication unit 113 communicates with the I2C communication units 213, 313, 413, and 513 through an I2C signal line that connects the other modules 200, 300, 400, and 500 in series. More specifically, the I2C communication unit 113 communicates with the I2C communication units 213, 313, 413, and 513 of the other modules 200, 300, 400, and 500 via the serial clock line SCL and the serial data line SDA. Each can perform I2C communication. The I2C communication unit 113 of the module 100 is a master, and the I2C communication units 213, 313, 413, and 513 of the other modules 200, 300, 400, and 500 are all slaves. The I2C address of the module 100 is, for example, 0x05. The I2C communication unit 113 determines whether or not a predetermined condition is satisfied in the following state. The state is that the I2C communication unit 113 and the I2C communication unit 213 of the module 200 are electrically connected via a signal line, and the I2C communication unit 213 of the module 200 and the I2C communication unit 313 of the module 300 are switched. 223 is electrically separated by H.223. The I2C communication unit 113 determines whether or not a predetermined condition is satisfied in the following state. The state is that the I2C communication unit 113 and the I2C communication unit 313 of the module 300 are electrically connected via a signal line, and the I2C communication unit 313 of the module 300 and the I2C communication unit 413 of the module 400 are switched. 323 is electrically separated by H.323. Further, the I2C communication unit 113 determines whether or not a predetermined condition is satisfied in the following state. The state is that the I2C communication unit 113 and the I2C communication unit 413 of the module 400 are electrically connected via a signal line, and the I2C communication unit 413 of the module 400 and the I2C communication unit 513 of the module 500 are switched. 423 is electrically separated. The power supply unit 115 supplies power to each component of the module 100. Power is also supplied from the power supply unit 115 to the control unit 111 and the pull-up resistor 127. The display unit 119 can display a live view image, a reproduced image, the state of the electronic device 600, and the like. Notification information issued when I2C communication is not established or the like can also be displayed on the display unit 119. The recording unit 121 records an image acquired by imaging. The recording unit 121 may be a recording medium built in the module 100 or a recording medium that is removable from the module 100. The switch 123 is connected to the serial clock line SCL and the serial data line SDA. In the state shown in FIG. 2A, since the switch 123 is in the ON state, the signal line for I2C communication of the module 100 and the signal line for I2C communication of the module 200 connected to the subsequent stage of the module 100 are Electrically connected. One end of the pull-up resistor 127 is connected to the power supply unit 115. The other end of the pull-up resistor 127 is connected to the serial clock line SCL and the serial data line SDA. The connector 199 is connected to the connector 201 of the module 200 that is connected to the subsequent stage of the module 100.

モジュール200は、負荷部203と、制御部211と、電源部215と、スイッチ223、227および229と、プルアップ抵抗231とを有する。負荷部203は、モジュール200の機能を実現するためのものである。負荷部203は、例えば、外部機器と通信するためのI/O機能部であるが、これに限定されるものではない。制御部211は、モジュール200の各構成要素を制御するためのプログラムを記憶したメモリと、そのメモリに記憶されたプログラムを実行することによりモジュール200の各構成要素を制御するプロセッサ(例えばハードウェアプロセッサ)とを有する。これにより、制御部211は、負荷部203を制御し得る。さらに、制御部211は、シリアルクロック線SCLおよびシリアルデータ線SDAにそれぞれ接続されているスイッチ223をも制御し得る。スイッチ223は、制御部211から供給されるイネーブル信号によって制御される。制御部211はさらに、I2C通信部213とI2C通信部225とを有する。I2C通信部213は、モジュール100、300、400および500のI2C通信部113、313、413および513と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部213は、スレーブとして動作することが可能である。I2C通信部213のI2Cアドレスは、例えば0x10とする。I2C通信部225は、モジュール300、400および500のI2C通信部313、413および513と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部225は、マスタとして動作することが可能である。I2C通信部225のI2Cアドレスは、例えば0x11とする。電源部215は、モジュール200の各構成要素に電力を供給する。制御部211、負荷部203およびプルアップ抵抗231にも、電源部215から電力が供給される。スイッチ223および227は、I2C通信の信号線であるシリアルクロック線SCLおよびシリアルデータ線SDAに接続されている。図2Aにおいては、スイッチ223がOFF状態となっているため、モジュール200のI2C通信用の信号線と、モジュール200の後段に接続されているモジュール300のI2C通信用の信号線とは電気的に分離されている。プルアップ抵抗231の一方の端部は、電源部215に接続されている。プルアップ抵抗231の他方の端部に接続されたシリアルデータ線SDAおよびシリアルクロック線SCLは、スイッチ229を介して、シリアルデータ線SDAおよびシリアルクロック線SCLにそれぞれ接続されている。I2C通信部225は、スイッチ227および229をも制御し得る。スイッチ227および229は、I2C通信部225から供給されるマスタイネーブル(Master Enable)信号によって制御される。図2Aにおいては、スイッチ229がOFF状態となっているため、I2C通信部225に接続されたI2C通信用の信号線と、スイッチ223および227に接続されたI2C通信用の信号線とは、電気的に分離されている。I2C通信部225をマスタとするI2C通信を行う場合、スイッチ227はOFF状態とされ、スイッチ229はON状態とされる。一方、I2C通信部225をマスタとするI2C通信を行わない場合、スイッチ227はON状態とされ、スイッチ229はOFF状態とされる。コネクタ299は、モジュール200の後段に接続されているモジュール300のコネクタ301に接続されている。図2Aにおいて矢印が付された破線は、コネクタ299とコネクタ301とが接続されていることを概念的に示している。   Module 200 includes a load unit 203, a control unit 211, a power supply unit 215, switches 223, 227 and 229, and a pull-up resistor 231. The load unit 203 is for realizing the function of the module 200. The load unit 203 is, for example, an I / O function unit for communicating with an external device, but is not limited to this. The control unit 211 includes a memory that stores a program for controlling each component of the module 200, and a processor (for example, a hardware processor) that controls each component of the module 200 by executing the program stored in the memory. ). Thereby, the control unit 211 can control the load unit 203. Furthermore, the control unit 211 can also control the switches 223 connected to the serial clock line SCL and the serial data line SDA, respectively. The switch 223 is controlled by an enable signal supplied from the control unit 211. The control unit 211 further includes an I2C communication unit 213 and an I2C communication unit 225. The I2C communication unit 213 can communicate with the I2C communication units 113, 313, 413, and 513 of the modules 100, 300, 400, and 500 via the serial clock line SCL and the serial data line SDA. The I2C communication unit 213 can operate as a slave. The I2C address of the I2C communication unit 213 is, for example, 0x10. The I2C communication unit 225 can communicate with the I2C communication units 313, 413, and 513 of the modules 300, 400, and 500 via the serial clock line SCL and the serial data line SDA. The I2C communication unit 225 can operate as a master. The I2C address of the I2C communication unit 225 is set to 0x11, for example. The power supply unit 215 supplies power to each component of the module 200. Power is also supplied from the power supply unit 215 to the control unit 211, the load unit 203, and the pull-up resistor 231. The switches 223 and 227 are connected to a serial clock line SCL and a serial data line SDA, which are I2C communication signal lines. In FIG. 2A, since the switch 223 is in the OFF state, the signal line for I2C communication of the module 200 and the signal line for I2C communication of the module 300 connected to the subsequent stage of the module 200 are electrically connected. It is separated. One end of the pull-up resistor 231 is connected to the power supply unit 215. The serial data line SDA and the serial clock line SCL connected to the other end of the pull-up resistor 231 are connected to the serial data line SDA and the serial clock line SCL via the switch 229, respectively. The I2C communication unit 225 can also control the switches 227 and 229. The switches 227 and 229 are controlled by a master enable signal supplied from the I2C communication unit 225. In FIG. 2A, since the switch 229 is in the OFF state, the signal line for I2C communication connected to the I2C communication unit 225 and the signal line for I2C communication connected to the switches 223 and 227 are Separated. When performing I2C communication using the I2C communication unit 225 as a master, the switch 227 is turned off and the switch 229 is turned on. On the other hand, when I2C communication using the I2C communication unit 225 as a master is not performed, the switch 227 is turned on and the switch 229 is turned off. The connector 299 is connected to the connector 301 of the module 300 that is connected to the subsequent stage of the module 200. A broken line with an arrow in FIG. 2A conceptually shows that the connector 299 and the connector 301 are connected.

モジュール300は、負荷部303と、制御部311と、電源部315と、スイッチ323、327および329と、プルアップ抵抗331とを有する。負荷部303は、モジュール300の機能を実現するためのものである。負荷部303は、例えば、無線通信によって外部機器との間でデータの送受信を行うための通信機能部であるが、これに限定されるものではない。制御部311は、モジュール300の各構成要素を制御するためのプログラムを記憶したメモリと、そのメモリに記憶されたプログラムを実行することによりモジュール300の各構成要素を制御するプロセッサ(例えばハードウェアプロセッサ)とを有する。これにより、制御部311は、負荷部303を制御し得る。さらに、制御部311は、シリアルクロック線SCLおよびシリアルデータ線SDAにそれぞれ接続されているスイッチ323をも制御し得る。スイッチ323は、制御部311から供給されるイネーブル信号によって制御される。制御部311はさらに、I2C通信部313とI2C通信部325とを有する。I2C通信部313は、モジュール100、200、400および500のI2C通信部113、213、413および513と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部313はさらに、モジュール200のI2C通信部225と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部313は、スレーブとして動作することが可能である。I2C通信部313のI2Cアドレスは、例えば0x15とする。I2C通信部325は、モジュール400および500のI2C通信部413および513と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部325は、マスタとして動作することが可能である。I2C通信部325のI2Cアドレスは、例えば0x16とする。電源部315は、モジュール300の各構成要素に電力を供給する。制御部311、負荷部303およびプルアップ抵抗331にも、電源部315から電力が供給される。スイッチ323および327は、シリアルクロック線SCLおよびシリアルデータ線SDAに接続されている。図2Aにおいては、スイッチ323がOFF状態となっているため、モジュール300のI2C通信用の信号線と、モジュール300の後段に接続されているモジュール400のI2C通信用の信号線とは電気的に分離されている。プルアップ抵抗331の一方の端部は、電源部315に接続されている。プルアップ抵抗331の他方の端部に接続されたシリアルデータ線SDAおよびシリアルクロック線SCLは、スイッチ329を介して、シリアルデータ線SDAおよびシリアルクロック線SCLにそれぞれ接続されている。I2C通信部325は、スイッチ327および329をも制御し得る。スイッチ327および329は、I2C通信部325から供給されるマスタイネーブル信号によって制御される。図2Aにおいては、スイッチ329がOFF状態となっているため、I2C通信部325のI2C通信用の信号線と、スイッチ323および327のI2C通信用の信号線とは、電気的に分離されている。I2C通信部325をマスタとするI2C通信を行う場合、スイッチ327はOFF状態とされ、スイッチ329はON状態とされる。一方、I2C通信部325をマスタとするI2C通信を行わない場合、スイッチ327はON状態とされ、スイッチ329はOFF状態とされる。コネクタ399は、モジュール300の後段に接続されているモジュール400のコネクタ401に接続されている。   Module 300 includes a load unit 303, a control unit 311, a power supply unit 315, switches 323, 327 and 329, and a pull-up resistor 331. The load unit 303 is for realizing the function of the module 300. The load unit 303 is, for example, a communication function unit for transmitting / receiving data to / from an external device by wireless communication, but is not limited thereto. The control unit 311 includes a memory that stores a program for controlling each component of the module 300, and a processor (for example, a hardware processor) that controls each component of the module 300 by executing the program stored in the memory. ). Thereby, the control unit 311 can control the load unit 303. Further, the control unit 311 can also control the switches 323 connected to the serial clock line SCL and the serial data line SDA, respectively. The switch 323 is controlled by an enable signal supplied from the control unit 311. The control unit 311 further includes an I2C communication unit 313 and an I2C communication unit 325. The I2C communication unit 313 can communicate with the I2C communication units 113, 213, 413, and 513 of the modules 100, 200, 400, and 500 via the serial clock line SCL and the serial data line SDA. Further, the I2C communication unit 313 can communicate with the I2C communication unit 225 of the module 200 via the serial clock line SCL and the serial data line SDA. The I2C communication unit 313 can operate as a slave. The I2C address of the I2C communication unit 313 is set to 0x15, for example. The I2C communication unit 325 can communicate with the I2C communication units 413 and 513 of the modules 400 and 500 via the serial clock line SCL and the serial data line SDA. The I2C communication unit 325 can operate as a master. The I2C address of the I2C communication unit 325 is, for example, 0x16. The power supply unit 315 supplies power to each component of the module 300. Power is also supplied from the power supply unit 315 to the control unit 311, the load unit 303, and the pull-up resistor 331. The switches 323 and 327 are connected to the serial clock line SCL and the serial data line SDA. In FIG. 2A, since the switch 323 is in the OFF state, the signal line for I2C communication of the module 300 and the signal line for I2C communication of the module 400 connected to the subsequent stage of the module 300 are electrically connected. It is separated. One end of the pull-up resistor 331 is connected to the power supply unit 315. The serial data line SDA and the serial clock line SCL connected to the other end of the pull-up resistor 331 are connected to the serial data line SDA and the serial clock line SCL via the switch 329, respectively. The I2C communication unit 325 can also control the switches 327 and 329. The switches 327 and 329 are controlled by a master enable signal supplied from the I2C communication unit 325. In FIG. 2A, since the switch 329 is in the OFF state, the signal line for I2C communication of the I2C communication unit 325 and the signal line for I2C communication of the switches 323 and 327 are electrically separated. . When performing I2C communication using the I2C communication unit 325 as a master, the switch 327 is turned off and the switch 329 is turned on. On the other hand, when I2C communication using the I2C communication unit 325 as a master is not performed, the switch 327 is turned on and the switch 329 is turned off. The connector 399 is connected to the connector 401 of the module 400 that is connected to the subsequent stage of the module 300.

モジュール400は、負荷部403と、制御部411と、電源部415と、スイッチ423、427および429と、プルアップ抵抗431とを有する。負荷部403は、モジュール400の機能を実現するためのものである。負荷部403は、例えば、デジタル化された画像または画像および音声を外部に出力するための機能部であるが、これに限定されるものではない。制御部411は、モジュール400の各構成要素を制御するためのプログラムを記憶したメモリと、そのメモリに記憶されたプログラムを実行することによりモジュール400の各構成要素を制御するプロセッサ(例えばハードウェアプロセッサ)とを有する。これにより、制御部411は、負荷部403を制御し得る。さらに、制御部411は、シリアルクロック線SCLおよびシリアルデータ線SDAにそれぞれ接続されているスイッチ423をも制御し得る。スイッチ423は、制御部411から供給されるイネーブル信号によって制御される。制御部411はさらに、I2C通信部413およびI2C通信部425を有する。I2C通信部413は、モジュール100、200、300および500のI2C通信部113、213、313および513と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部413はさらに、モジュール200および300のI2C通信部225および325と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部413は、スレーブとして動作することが可能である。I2C通信部413のI2Cアドレスは、例えば0x1Aとする。I2C通信部425は、モジュール500のI2C通信部513と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部425は、マスタとして動作することが可能である。I2C通信部425のI2Cアドレスは、例えば0x1Bとする。電源部415は、モジュール400の各構成要素に電力を供給する。制御部411、負荷部403およびプルアップ抵抗431にも、電源部415から電力が供給される。スイッチ423および427は、シリアルクロック線SCLおよびシリアルデータ線SDAに接続されている。図2Aにおいては、スイッチ423がOFF状態となっているため、モジュール400のI2C通信用の信号線と、モジュール400の後段に接続されているモジュール500のI2C通信用の信号線とは電気的に分離されている。プルアップ抵抗431の一方の端部は、電源部415に接続されている。プルアップ抵抗431の他方の端部に接続されたシリアルデータ線SDAおよびシリアルクロック線SCLは、スイッチ429を介して、シリアルデータ線SDAおよびシリアルクロック線SCLにそれぞれ接続されている。I2C通信部425は、スイッチ427および429をも制御し得る。スイッチ427および429は、I2C通信部425から供給されるマスタイネーブル信号によって制御される。図2Aにおいては、スイッチ429がOFF状態となっているため、I2C通信部425に接続されたI2C通信用の信号線と、スイッチ423および427が接続されたI2C通信用の信号線とは、電気的に分離されている。I2C通信部425をマスタとするI2C通信を行う場合、スイッチ427はOFF状態とされ、スイッチ429はON状態とされる。一方、I2C通信部425をマスタとするI2C通信を行わない場合、スイッチ427はON状態とされ、スイッチ429はOFF状態とされる。コネクタ499は、モジュール400の後段に接続されているモジュール500のコネクタ501に接続されている。   Module 400 includes a load unit 403, a control unit 411, a power supply unit 415, switches 423, 427 and 429, and a pull-up resistor 431. The load unit 403 is for realizing the function of the module 400. The load unit 403 is, for example, a functional unit for outputting a digitized image or image and sound to the outside, but is not limited to this. The control unit 411 includes a memory that stores a program for controlling each component of the module 400, and a processor (for example, a hardware processor) that controls each component of the module 400 by executing the program stored in the memory. ). Thereby, the control unit 411 can control the load unit 403. Further, the control unit 411 can also control the switches 423 connected to the serial clock line SCL and the serial data line SDA, respectively. The switch 423 is controlled by an enable signal supplied from the control unit 411. The control unit 411 further includes an I2C communication unit 413 and an I2C communication unit 425. The I2C communication unit 413 can communicate with the I2C communication units 113, 213, 313, and 513 of the modules 100, 200, 300, and 500 via the serial clock line SCL and the serial data line SDA. Further, the I2C communication unit 413 can communicate with the I2C communication units 225 and 325 of the modules 200 and 300 via the serial clock line SCL and the serial data line SDA. The I2C communication unit 413 can operate as a slave. The I2C address of the I2C communication unit 413 is, for example, 0x1A. The I2C communication unit 425 can communicate with the I2C communication unit 513 of the module 500 via the serial clock line SCL and the serial data line SDA. The I2C communication unit 425 can operate as a master. The I2C address of the I2C communication unit 425 is, for example, 0x1B. The power supply unit 415 supplies power to each component of the module 400. Power is also supplied from the power supply unit 415 to the control unit 411, the load unit 403, and the pull-up resistor 431. The switches 423 and 427 are connected to the serial clock line SCL and the serial data line SDA. In FIG. 2A, since the switch 423 is in the OFF state, the signal line for I2C communication of the module 400 and the signal line for I2C communication of the module 500 connected to the subsequent stage of the module 400 are electrically connected. It is separated. One end of the pull-up resistor 431 is connected to the power supply unit 415. The serial data line SDA and the serial clock line SCL connected to the other end of the pull-up resistor 431 are connected to the serial data line SDA and the serial clock line SCL via the switch 429, respectively. The I2C communication unit 425 can also control the switches 427 and 429. The switches 427 and 429 are controlled by a master enable signal supplied from the I2C communication unit 425. In FIG. 2A, since the switch 429 is in the OFF state, the signal line for I2C communication connected to the I2C communication unit 425 and the signal line for I2C communication to which the switches 423 and 427 are connected are Separated. When performing I2C communication using the I2C communication unit 425 as a master, the switch 427 is turned off and the switch 429 is turned on. On the other hand, when I2C communication using the I2C communication unit 425 as a master is not performed, the switch 427 is turned on and the switch 429 is turned off. The connector 499 is connected to the connector 501 of the module 500 that is connected to the subsequent stage of the module 400.

モジュール500は、制御部511と、電源部515とを有する。制御部511は、モジュール500の各構成要素を制御するためのプログラムを記憶したメモリと、そのメモリに記憶されたプログラムを実行することによりモジュール500の各構成要素を制御するプロセッサ(例えばハードウェアプロセッサ)とを有する。制御部511はさらに、I2C通信部513を有する。I2C通信部513は、モジュール100、200、300、400のI2C通信部113、213、313および413と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。I2C通信部513はさらに、モジュール200、300、400のI2C通信部225、325および435と、シリアルクロック線SCLおよびシリアルデータ線SDAを介して通信可能である。なお、モジュール500のI2Cアドレスは、例えば0x1Fとする。電源部515は、モジュール500の各構成要素に電力を供給する。制御部511にも、電源部515から電力が供給される。電源部515の接地端子は、接地電位527に接続される接地線に接続されている。電源部115、215、315、415および515の接地端子は、接地線によって互いに接続される。なお、モジュール500は、モジュール500の後段に他のモジュールが接続されないような機構となっている。   The module 500 includes a control unit 511 and a power supply unit 515. The control unit 511 includes a memory that stores a program for controlling each component of the module 500, and a processor (for example, a hardware processor) that controls each component of the module 500 by executing the program stored in the memory. ). The control unit 511 further includes an I2C communication unit 513. The I2C communication unit 513 can communicate with the I2C communication units 113, 213, 313, and 413 of the modules 100, 200, 300, and 400 via the serial clock line SCL and the serial data line SDA. Further, the I2C communication unit 513 can communicate with the I2C communication units 225, 325, and 435 of the modules 200, 300, and 400 via the serial clock line SCL and the serial data line SDA. Note that the I2C address of the module 500 is, for example, 0x1F. The power supply unit 515 supplies power to each component of the module 500. Power is also supplied to the control unit 511 from the power supply unit 515. A ground terminal of the power supply unit 515 is connected to a ground line connected to the ground potential 527. The ground terminals of power supply units 115, 215, 315, 415, and 515 are connected to each other by a ground line. The module 500 has a mechanism that prevents other modules from being connected to the subsequent stage of the module 500.

次に、図3のフローチャートを参照して、電子機器600の動作例を説明する。図3では、電子機器600を起動した際に行われるモジュールの識別方法を説明する。   Next, an operation example of the electronic apparatus 600 will be described with reference to the flowchart of FIG. FIG. 3 illustrates a module identification method performed when the electronic apparatus 600 is activated.

ステップS301において、モジュール100は、モジュール100の後段に接続されているモジュールの識別を開始する。モジュールの識別は、マスタモジュールであるモジュール100の近くに位置しているモジュールから順に行われる。従って、まずは、モジュール200の識別が行われる。モジュール200の識別は、モジュール100のI2C通信部113とモジュール200のI2C通信部213とが、シリアルクロック線SCLおよびシリアルデータ線SDAを介して電気的に接続されている状態で行われる。この際、I2C通信部313、325、413、425および513は、モジュール200のスイッチ223によって、I2C通信部113および213から電気的に分離される。また、I2C通信部225は、モジュール200のスイッチ229によって、I2C通信に用いられる信号線から分離される。モジュールの識別は、モジュールからの応答があるまでI2Cアドレスをインクリメントしていくことによって行われる。上述したように、モジュール200のアドレスは、例えば0x10である。従って、ICアドレスを0x10までインクリメントした際に、モジュール100はモジュール200からの応答を得る。こうして、モジュール200の識別が行われることとなる。   In step S <b> 301, the module 100 starts identifying a module connected to the subsequent stage of the module 100. Module identification is performed in order from the module located near the module 100 which is the master module. Therefore, first, the module 200 is identified. The module 200 is identified in a state where the I2C communication unit 113 of the module 100 and the I2C communication unit 213 of the module 200 are electrically connected via the serial clock line SCL and the serial data line SDA. At this time, the I2C communication units 313, 325, 413, 425, and 513 are electrically separated from the I2C communication units 113 and 213 by the switch 223 of the module 200. Further, the I2C communication unit 225 is separated from the signal line used for I2C communication by the switch 229 of the module 200. Module identification is performed by incrementing the I2C address until there is a response from the module. As described above, the address of the module 200 is, for example, 0x10. Therefore, the module 100 obtains a response from the module 200 when the IC address is incremented to 0x10. In this way, the module 200 is identified.

ステップS302において、モジュール100のI2C通信部113は、IC2通信に用いられる信号線における遅延時間がI2C規格に定められた所定の条件を満たすか否かを判定する。所定の条件は、例えば、I2C通信用の信号線における信号の遅延が所定時間未満であるという条件である。所定の条件を満足するか否かに基づいて、所定の条件を満足するようにするための制御を行うか否かが決定される。I2C通信部113は、シリアルクロック線SCLおよびシリアルデータ線SDAにおける遅延時間がかかる所定の条件を満足するか否かを判定する。具体的には、I2C通信部113は、シリアルクロック線SCLおよびシリアルデータ線SDAの伝送信号の立ち上がり時間をカウントする。そして、I2C通信部113は、当該カウント値が規格値(閾値)未満であるか否かに基づいて、シリアルクロック線SCLおよびシリアルデータ線SDAにおける遅延時間がI2C規格を満足するか否かを判定する。   In step S302, the I2C communication unit 113 of the module 100 determines whether or not the delay time in the signal line used for IC2 communication satisfies a predetermined condition defined in the I2C standard. The predetermined condition is, for example, a condition that a signal delay in a signal line for I2C communication is less than a predetermined time. Whether or not to perform control for satisfying the predetermined condition is determined based on whether or not the predetermined condition is satisfied. The I2C communication unit 113 determines whether or not a predetermined condition requiring a delay time in the serial clock line SCL and the serial data line SDA is satisfied. Specifically, the I2C communication unit 113 counts rise times of transmission signals of the serial clock line SCL and the serial data line SDA. Then, the I2C communication unit 113 determines whether or not the delay time in the serial clock line SCL and the serial data line SDA satisfies the I2C standard based on whether or not the count value is less than the standard value (threshold value). To do.

図4を参照して、I2C通信部113の構成例を説明する。I2C通信部113は、FET(Field−Effect Transistor)129および131を有する。FET129および131のソースは、それぞれ接地線に接続されている。FET129のドレインは、シリアルクロック線SCLに接続されている。FET131のドレインは、シリアルデータ線SDAに接続されている。FET129および131のゲートには、FET制御部137から出力される制御信号が印加されるようになっている。FET制御部137は、FET129および131を制御するものである。FET制御部137がFET129のゲートにHighレベルの制御信号を印加すると、FET129はON状態となり、シリアルクロック線SCLがLowレベルになる。FET制御部137がFET131のゲートにHighレベルの制御信号を印加すると、FET131はON状態となり、シリアルデータ線SDAがLowレベルになる。FET制御部137からFET129のゲートに供給される制御信号がLowレベルになると、FET129がOFF状態となり、シリアルクロック線SCLがLowレベルに固定されない状態となる。FET制御部137からFET131のゲートに供給される制御信号がLowレベルになると、FET131がOFF状態となり、シリアルデータ線SDAがLowレベルに固定されない状態となる。I2C通信部113は、FET129のドレインおよびシリアルクロック線SCLに接続されたバッファ135を有する。I2C通信部113は、FET131のドレインおよびシリアルデータ線SDAに接続されたバッファ133をさらに有する。バッファ133および135の出力は、それぞれカウンタ139に入力されるようになっている。カウンタ139は、シリアルクロック線SCLおよびシリアルデータ線SDAがLowレベルからHighレベルに遷移するまでの時間をそれぞれカウントし得る。例えば、カウンタ139は、FET制御部137がFET129をON状態からOFF状態に変化させてから、バッファ135の出力がLowレベルからHighレベルに遷移するまでの時間をカウントし得る。また、カウンタ139は、FET制御部137がFET131をON状態からOFF状態に変化させてから、バッファ133の出力がLowレベルからHighレベルに遷移するまでの時間をカウントし得る。   A configuration example of the I2C communication unit 113 will be described with reference to FIG. The I2C communication unit 113 includes FETs (Field-Effect Transistors) 129 and 131. The sources of the FETs 129 and 131 are each connected to a ground line. The drain of the FET 129 is connected to the serial clock line SCL. The drain of the FET 131 is connected to the serial data line SDA. A control signal output from the FET control unit 137 is applied to the gates of the FETs 129 and 131. The FET control unit 137 controls the FETs 129 and 131. When the FET control unit 137 applies a high level control signal to the gate of the FET 129, the FET 129 is turned on and the serial clock line SCL is set to the low level. When the FET control unit 137 applies a high level control signal to the gate of the FET 131, the FET 131 is turned on and the serial data line SDA is set to the low level. When the control signal supplied from the FET control unit 137 to the gate of the FET 129 becomes a low level, the FET 129 is turned off, and the serial clock line SCL is not fixed at the low level. When the control signal supplied from the FET control unit 137 to the gate of the FET 131 becomes the low level, the FET 131 is turned off, and the serial data line SDA is not fixed at the low level. The I2C communication unit 113 includes a buffer 135 connected to the drain of the FET 129 and the serial clock line SCL. The I2C communication unit 113 further includes a buffer 133 connected to the drain of the FET 131 and the serial data line SDA. The outputs of the buffers 133 and 135 are input to the counter 139, respectively. The counter 139 can count the time until the serial clock line SCL and the serial data line SDA transition from the low level to the high level. For example, the counter 139 can count the time from when the FET control unit 137 changes the FET 129 from the ON state to the OFF state until the output of the buffer 135 changes from the Low level to the High level. The counter 139 can count the time from when the FET control unit 137 changes the FET 131 from the ON state to the OFF state until the output of the buffer 133 transitions from the Low level to the High level.

図5(a)〜図5(d)のタイムチャートを参照して、伝送信号の例を説明する。図5は、シリアルクロック線SCLおよびシリアルデータ線SDAにおける伝送信号の例を示している。図5(a)は、例えば図2Aの状態に対応しており、図5(b)は例えば図2Cの状態に対応している。図5(c)は、図5(a)のうちの四角で囲まれた部分を拡大して示したものであり、図5(d)は、図5(b)のうちの四角で囲まれた部分を拡大して示したものである。   An example of a transmission signal will be described with reference to the time charts of FIGS. 5 (a) to 5 (d). FIG. 5 shows an example of transmission signals on the serial clock line SCL and the serial data line SDA. FIG. 5A corresponds to the state of FIG. 2A, for example, and FIG. 5B corresponds to the state of FIG. 2C, for example. FIG. 5 (c) is an enlarged view of a portion surrounded by the square in FIG. 5 (a), and FIG. 5 (d) is surrounded by the square in FIG. 5 (b). The enlarged part is shown.

タイミングt1において、FET制御部137は、シリアルクロック線SCLに接続されているFET129をON状態からOFF状態に変化させるとともに、カウンタ139によるカウント動作を開始する。シリアルクロック線SCLがプルアップ抵抗127を介してプルアップされているため、FET129をON状態からOFF状態に変化させると、シリアルクロック線SCLがLowレベルからHighレベルに遷移する。シリアルクロック線SCLがLowレベルからHighレベルに遷移するまでの時間は、シリアルクロック線SCLの抵抗および容量、並びに、プルアップ抵抗127の抵抗に応じた時間となる。FET129をON状態からOFF状態に変化させた際に、シリアルクロック線SCLがLowレベルからHighレベルに遷移するまでの時間は、モジュール100に接続されているモジュールの数が多くなるほど長くなる。図5に示す閾値Vthは、バッファ135の出力がLowレベルからHighレベルに遷移する際のシリアルクロック線SCLの電位である。シリアルクロック線SCLの電位が閾値Vthに達すると、バッファ135の出力がLowからHighレベルに変化し、カウンタ139はカウント動作を停止する。I2C通信部113は、シリアルクロック線SCLにおける遅延時間が、I2C規格に定められている規格値を満足するか否かを判定する。具体的には、I2C通信部113は、カウンタ139によって得られたカウント値と、I2C規格に定められている規格値に応じたカウント値と比較する。なお、I2C規格に定められている規格値に応じたカウント値は、例えば、メモリ110等に格納されている。   At timing t1, the FET control unit 137 changes the FET 129 connected to the serial clock line SCL from the ON state to the OFF state, and starts the count operation by the counter 139. Since the serial clock line SCL is pulled up via the pull-up resistor 127, when the FET 129 is changed from the ON state to the OFF state, the serial clock line SCL changes from the Low level to the High level. The time until the serial clock line SCL transitions from the low level to the high level is a time corresponding to the resistance and capacitance of the serial clock line SCL and the resistance of the pull-up resistor 127. When the FET 129 is changed from the ON state to the OFF state, the time until the serial clock line SCL transitions from the Low level to the High level becomes longer as the number of modules connected to the module 100 increases. The threshold value Vth shown in FIG. 5 is the potential of the serial clock line SCL when the output of the buffer 135 transits from the Low level to the High level. When the potential of the serial clock line SCL reaches the threshold value Vth, the output of the buffer 135 changes from Low to High level, and the counter 139 stops counting. The I2C communication unit 113 determines whether or not the delay time in the serial clock line SCL satisfies the standard value defined in the I2C standard. Specifically, the I2C communication unit 113 compares the count value obtained by the counter 139 with the count value corresponding to the standard value defined in the I2C standard. Note that the count value corresponding to the standard value defined in the I2C standard is stored in the memory 110, for example.

I2C通信に用いられる信号線における遅延時間がI2C規格を満たす場合には(ステップS302でYES)、ステップS303に移行する。一方、I2C通信に用いられる信号線における遅延時間がI2C規格を満たさない場合には(ステップS302でNO)、ステップS309に移行する。図2Aに示す状態においては、図5(a)および図5(c)に示すように、タイミングt2において、シリアルクロック線SCLの電位が閾値Vthに達する。タイミングt1からタイミングt2までの時間は、I2C規格において規定されている遅延時間未満とする。従って、図2Aに示す状態の場合には、ステップS303に移行する。   When the delay time in the signal line used for I2C communication satisfies the I2C standard (YES in step S302), the process proceeds to step S303. On the other hand, when the delay time in the signal line used for I2C communication does not satisfy the I2C standard (NO in step S302), the process proceeds to step S309. In the state shown in FIG. 2A, as shown in FIGS. 5A and 5C, the potential of the serial clock line SCL reaches the threshold value Vth at timing t2. The time from timing t1 to timing t2 is less than the delay time defined in the I2C standard. Therefore, in the case of the state shown in FIG. 2A, the process proceeds to step S303.

ステップS303において、I2C通信部113は、検出されたモジュールが電源モジュール500であるか否かを識別する。かかる識別は、I2C通信によって行われる。電源モジュール500のアドレスは、上述したように例えば0x1Fである。従って、検出されたモジュールのアドレスが0x1Fであるか否かに基づいて、当該モジュールが電源モジュール500であるか否かを判定し得る。なお、検出されたモジュールが電源モジュール500であるか否かを判定するのは、電源モジュール500によって複数のモジュールの接続が終端される仕様となっているため、更なるモジュールの検出が不要なためである。なお、電源モジュール500から、電源電圧値、バッテリ残量、劣化度等の情報を取得するようにしてもよい。検出されたモジュールが電源モジュール500である場合には(ステップS303でYES)、ステップS307に移行する。一方、検出されたモジュールが電源モジュール500でない場合には(ステップS303でNO)、ステップS304に移行する。   In step S <b> 303, the I2C communication unit 113 identifies whether or not the detected module is the power supply module 500. Such identification is performed by I2C communication. As described above, the address of the power supply module 500 is, for example, 0x1F. Therefore, whether or not the module is the power supply module 500 can be determined based on whether or not the detected address of the module is 0x1F. Note that the reason for determining whether or not the detected module is the power supply module 500 is that the connection of a plurality of modules is terminated by the power supply module 500, so that no further module detection is required. It is. Information such as the power supply voltage value, the remaining battery level, and the degree of deterioration may be acquired from the power supply module 500. If the detected module is the power supply module 500 (YES in step S303), the process proceeds to step S307. On the other hand, when the detected module is not the power supply module 500 (NO in step S303), the process proceeds to step S304.

ステップS304において、モジュール100の制御部111は、ステップS301において識別の対象となったモジュールの後段に位置するモジュールのI2C通信部がI2C通信用の信号線を介してI2C通信部113に接続されるように制御を行う。なお、説明の便宜上、ステップS301において識別の対象となったモジュールの後段に位置するモジュールを、「次のモジュール」とも称することとする。例えば、図2Aに示す状態になっている場合、I2C通信部113は、図2Bに示す状態になるように制御を行う。モジュール100の制御部111は、モジュール200の後段に接続されたモジュール300を識別すべく、モジュール200のスイッチ223がON状態となるように命令を行う。かかる命令は、例えばI2C通信によって、モジュール200の制御部211に送信される。モジュール200の制御部211がスイッチ223をON状態にすると、モジュール100は、モジュール200の後段に接続されたモジュール300の識別を行うことが可能となる。   In step S304, the control unit 111 of the module 100 connects the I2C communication unit of the module located after the module identified in step S301 to the I2C communication unit 113 via the signal line for I2C communication. Control as follows. For convenience of explanation, the module located in the subsequent stage of the module that was identified in step S301 is also referred to as “next module”. For example, in the state shown in FIG. 2A, the I2C communication unit 113 performs control so as to be in the state shown in FIG. 2B. The control unit 111 of the module 100 issues an instruction to turn on the switch 223 of the module 200 in order to identify the module 300 connected to the subsequent stage of the module 200. Such a command is transmitted to the control unit 211 of the module 200 by, for example, I2C communication. When the control unit 211 of the module 200 turns on the switch 223, the module 100 can identify the module 300 connected to the subsequent stage of the module 200.

ステップS305において、モジュール100の制御部111は、次のモジュールを接続するための処理が完了したか否かを、モジュール200に対して問い合わせる。具体的には、モジュール100は、モジュール200のスイッチ223をON状態にする処理が完了したか否かを、例えばI2C通信によってモジュール200の制御部211に対して問い合わせる。次のモジュールを接続するための処理が完了した場合には(ステップS305でYES)、ステップS301に戻る。次のモジュールを接続するための処理が完了せず、次のモジュールを接続することが不可能である場合には(ステップS305でNO)、ステップS306に移行する。次のモジュールがモジュール300である場合には、図2Aに示す状態から図2Bに示す状態に移行する。図2Bに示す状態においては、モジュール100のスイッチ123と、モジュール200のスイッチ223および227とがON状態となっている。このため、モジュール100、200および300のI2C通信用の信号線が互いに接続された状態となる。次のモジュールがモジュール400である場合には、以下のような不図示の状態に移行する。不図示の状態においては、モジュール100のスイッチ123と、モジュール200のスイッチ223および227と、モジュール300のスイッチ323および327とがON状態となっている。このため、モジュール100、200、300および400のI2C通信用の信号線が互いに接続された状態となる。次のモジュールがモジュール500である場合には、上記のような不図示の状態から図2Cに示す状態に移行する。図2Cに示す状態においては、モジュール100のスイッチ123と、モジュール200のスイッチ223および227とがON状態になっている。また、モジュール300のスイッチ323および327と、モジュール400のスイッチ423および427とがON状態となっている。このため、モジュール100、200、300、400および500のI2C通信用の信号線が互いに接続された状態となる。この後、ステップS301以降の動作が上記と同様にして繰り返される。   In step S305, the control unit 111 of the module 100 inquires of the module 200 whether or not the process for connecting the next module is completed. Specifically, the module 100 inquires of the control unit 211 of the module 200 whether or not the process of turning on the switch 223 of the module 200 is completed, for example, by I2C communication. When the process for connecting the next module is completed (YES in step S305), the process returns to step S301. If the process for connecting the next module is not completed and it is impossible to connect the next module (NO in step S305), the process proceeds to step S306. When the next module is the module 300, the state shown in FIG. 2A shifts to the state shown in FIG. 2B. In the state shown in FIG. 2B, the switch 123 of the module 100 and the switches 223 and 227 of the module 200 are in the ON state. Therefore, the signal lines for I2C communication of the modules 100, 200 and 300 are connected to each other. When the next module is the module 400, the state shifts to a state not shown below. In a state not shown, the switch 123 of the module 100, the switches 223 and 227 of the module 200, and the switches 323 and 327 of the module 300 are in the ON state. Therefore, the signal lines for I2C communication of the modules 100, 200, 300 and 400 are connected to each other. When the next module is the module 500, the state shifts from the state not shown above to the state shown in FIG. 2C. In the state shown in FIG. 2C, the switch 123 of the module 100 and the switches 223 and 227 of the module 200 are in the ON state. In addition, the switches 323 and 327 of the module 300 and the switches 423 and 427 of the module 400 are in the ON state. Therefore, the signal lines for I2C communication of the modules 100, 200, 300, 400, and 500 are connected to each other. Thereafter, the operations after step S301 are repeated in the same manner as described above.

図2Cに示す状態においては、図5(b)および図5(d)に示すように、タイミングt3において、シリアルクロック線SCLの電位が閾値Vthに達する。図2Cに示す状態において、シリアルクロック線SCLの電位が閾値Vthに達するまでの時間が図2Aに示す場合よりも長くなるのは、モジュールの接続数の増加によって、シリアルクロック線SCLの抵抗および容量が増加したためである。タイミングt1からタイミングt3までの時間は、例えば、I2C規格において規定されている遅延時間以上とする。従って、図2Cに示す状態の場合には、I2C通信に用いられる信号線における遅延時間がI2C規格を満たさず(ステップS302でNO)、ステップS309に移行する。   In the state shown in FIG. 2C, as shown in FIGS. 5B and 5D, the potential of the serial clock line SCL reaches the threshold value Vth at timing t3. In the state shown in FIG. 2C, the time until the potential of the serial clock line SCL reaches the threshold value Vth is longer than that in the case shown in FIG. 2A because the resistance and capacitance of the serial clock line SCL increase as the number of modules connected increases. This is because of the increase. The time from the timing t1 to the timing t3 is, for example, a delay time defined in the I2C standard or more. Therefore, in the case of the state shown in FIG. 2C, the delay time in the signal line used for I2C communication does not satisfy the I2C standard (NO in step S302), and the process proceeds to step S309.

ステップS309において、モジュール100の制御部111は、マスタが所定数未満であるか否かを判定する。マスタが所定数未満か否かを判定するのは、マスタの数が多くなると、モジュール100とモジュール500との間における通信遅延が大きくなってしまうため、マスタの数を所定数以下に制限することが好ましいためである。ここでは、マスタの数を2つまで許容する場合を例に説明するが、これに限定されるものではない。マスタの数が所定数未満である場合には(ステップS309でYES)、ステップS310に移行する。一方、マスタの数が所定数以上である場合には、ステップS306に移行する。   In step S309, the control unit 111 of the module 100 determines whether the number of masters is less than a predetermined number. Whether the number of masters is less than a predetermined number is determined because the communication delay between the module 100 and the module 500 increases as the number of masters increases, so the number of masters is limited to a predetermined number or less. Is preferable. Here, a case where the number of masters is allowed up to two will be described as an example, but the present invention is not limited to this. If the number of masters is less than the predetermined number (YES in step S309), the process proceeds to step S310. On the other hand, if the number of masters is greater than or equal to the predetermined number, the process proceeds to step S306.

ステップS310において、モジュール100の制御部111は、今回識別対象となったモジュールをマスタモジュールとして動作させるための命令を、当該モジュールの制御部に対して送信する。かかる命令の送信は、例えばI2C通信によって行われる。今回識別対象となったモジュールがモジュール400である場合には、以下のような処理が行われる。モジュール100の制御部111は、モジュール400の制御部411に対し、I2C通信部425をマスタとして動作させるための命令を行う。モジュール400の制御部411は、モジュール100の制御部111からの命令に基づいて、I2C通信部425を制御する。I2C通信部425は、マスタイネーブル信号をイネーブル状態とすることにより、スイッチ427をOFF状態にし、スイッチ429をON状態にする。スイッチ427がOFF状態となるため、I2C通信部413に接続されたI2C通信用の信号線と、I2C通信部425に接続されたI2C通信用の信号線とが電気的に分離される。I2C通信部413に接続されたI2C通信用の信号線と、I2C通信部425に接続されたI2C通信用の信号線とが電気的に分離されるため、これらI2C通信用の信号線における電気抵抗や寄生容量が十分に小さくなる。このため、これらIC2通信用の信号線における遅延時間がI2C規格に定められた所定の条件を満たすようになる。   In step S <b> 310, the control unit 111 of the module 100 transmits a command for operating the module that has been identified this time as a master module to the control unit of the module. Such a command is transmitted by, for example, I2C communication. When the module to be identified this time is the module 400, the following processing is performed. The control unit 111 of the module 100 instructs the control unit 411 of the module 400 to operate using the I2C communication unit 425 as a master. The control unit 411 of the module 400 controls the I2C communication unit 425 based on a command from the control unit 111 of the module 100. The I2C communication unit 425 turns the switch 427 OFF and the switch 429 ON by setting the master enable signal to the enable state. Since the switch 427 is turned off, the signal line for I2C communication connected to the I2C communication unit 413 and the signal line for I2C communication connected to the I2C communication unit 425 are electrically separated. Since the signal line for I2C communication connected to the I2C communication unit 413 and the signal line for I2C communication connected to the I2C communication unit 425 are electrically separated, the electric resistance in these signal lines for I2C communication And parasitic capacitance is sufficiently small. For this reason, the delay time in these signal lines for IC2 communication satisfies a predetermined condition defined in the I2C standard.

ステップS311において、モジュール100の制御部111は、今回識別対象となったモジュールをマスタモジュールとして動作させるための初期化処理が完了したか否かを判定する。かかる初期化処理が完了した場合には(ステップS311でYES)、ステップS301以降の動作を繰り返す。一方、かかる初期化処理が完了していない場合には(ステップS311でNO)、ステップS312に移行する。   In step S <b> 311, the control unit 111 of the module 100 determines whether or not the initialization process for causing the currently identified module to operate as a master module is completed. When the initialization process is completed (YES in step S311), the operations in and after step S301 are repeated. On the other hand, if the initialization process has not been completed (NO in step S311), the process proceeds to step S312.

ステップS312において、モジュール100の制御部111は、ステップS311において初期化処理を行い得なかったモジュールの前段に位置するモジュールに対し、マスタとして動作させるための命令を行う。ステップS311において初期化処理を行い得なかったモジュールがモジュール400である場合には、モジュール400の前段に位置するモジュールはモジュール300である。この場合、モジュール100の制御部111は、モジュール300のI2C通信部325をマスタとして動作させるための命令を行う。モジュール300の制御部311は、モジュール100の制御部111からの命令に基づいて、I2C通信部325を制御する。I2C通信部325は、マスタイネーブル信号をイネーブル状態とすることにより、スイッチ327をOFF状態にし、スイッチ329をON状態にする。これにより、スイッチ327がOFF状態となるため、I2C通信部313に接続されたI2C通信用の信号線と、I2C通信部325に接続されたI2C通信用の信号線とが電気的に分離される。I2C通信部313に接続されたI2C通信用の信号線と、I2C通信部325に接続されたI2C通信用の信号線とが電気的に分離されるため、以下のようなI2C通信を行うことが可能となる。I2C通信部113をマスタとし、I2C通信部213および313をスレーブとするI2C通信を行うとともに、I2C通信部325をマスタとするI2C通信を行うことが可能となる。この後、ステップS313に移行する。   In step S312, the control unit 111 of the module 100 issues a command for operating as a master to the module located in the previous stage of the module that could not be initialized in step S311. If the module that could not be initialized in step S 311 is the module 400, the module located in the previous stage of the module 400 is the module 300. In this case, the control unit 111 of the module 100 issues a command for operating the I2C communication unit 325 of the module 300 as a master. The control unit 311 of the module 300 controls the I2C communication unit 325 based on a command from the control unit 111 of the module 100. The I2C communication unit 325 sets the switch 327 to the OFF state and the switch 329 to the ON state by setting the master enable signal to the enable state. Accordingly, since the switch 327 is turned off, the signal line for I2C communication connected to the I2C communication unit 313 and the signal line for I2C communication connected to the I2C communication unit 325 are electrically separated. . Since the signal line for I2C communication connected to the I2C communication unit 313 and the signal line for I2C communication connected to the I2C communication unit 325 are electrically separated, the following I2C communication can be performed. It becomes possible. It is possible to perform I2C communication using the I2C communication unit 113 as a master and the I2C communication units 213 and 313 as slaves and performing I2C communication using the I2C communication unit 325 as a master. Thereafter, the process proceeds to step S313.

ステップS313において、モジュール100の制御部111は、ステップS311において初期化処理を行い得なかったモジュールの前段に位置するモジュールが、制御部111を有するモジュール100であるか否かを判定する。ステップS311において初期化処理を行い得なかったモジュールの前段に位置するモジュールが、制御部111を有するモジュール100である場合には、ステップS306に移行する。一方、ステップS311において初期化処理を行い得なかったモジュールの前段に位置するモジュールが、制御部111を有するモジュール100でない場合には、ステップS311に移行する。このように、ステップS311において初期化処理を行い得ない場合には、後段側から前段側に向かって、マスタモジュールとして機能させ得るモジュールの検出が行われることとなる。図2Eは、ステップS311において初期化処理を行い得ない場合の例を示す図である。図2Eに示す例においては、スレーブとして機能し得るI2C通信部413を、モジュール400の制御部411が有している。しかし、モジュール400の制御部411は、マスタとして機能し得るI2C通信部413(図2A参照)を有していない。マスタとして機能し得るI2C通信部425を、モジュール400の制御部411が有していないため、図2Eに示す例においては、I2C通信部413に対する初期化処理をステップS311において行い得ない。このような場合には、モジュール400の前段に位置しているモジュール300のI2C通信部325をマスタとして動作するための処理がステップS312において行われる。図2Eに示す例においては、マスタとして機能し得るI2C通信部313を、モジュール300の制御部311が有している。このため、モジュール300のI2C通信部325をマスタとして動作させるための処理がステップS312において行われる。ステップS312においてマスタとして動作させるための処理が行われたモジュールがモジュール300である場合、当該モジュールはモジュール100ではないため(ステップS313でNO)、ステップS311に移行する。モジュール300のI2C通信部325をマスタとして動作させるための初期化処理が完了した場合には(ステップS311でYES)、ステップS301以降の動作が繰り返される。この場合には、ステップS301において、モジュール300のI2C通信部325が、モジュール300の後段に接続されているモジュールの識別を開始する。このように、マスタとして機能し得るI2C通信部425を、モジュール400の制御部411が有していない場合、マスタとして機能し得るI2C通信部325を制御部311が有しているモジュール300をマスタとしてI2C通信を行い得る。   In step S313, the control unit 111 of the module 100 determines whether or not the module located in the previous stage of the module that could not be initialized in step S311 is the module 100 having the control unit 111. If the module located in the previous stage of the module that could not be initialized in step S311 is the module 100 having the control unit 111, the process proceeds to step S306. On the other hand, if the module located in the previous stage of the module that could not be initialized in step S311 is not the module 100 having the control unit 111, the process proceeds to step S311. As described above, when the initialization process cannot be performed in step S311, a module that can function as a master module is detected from the rear side to the front side. FIG. 2E is a diagram illustrating an example of the case where the initialization process cannot be performed in step S311. In the example illustrated in FIG. 2E, the control unit 411 of the module 400 includes an I2C communication unit 413 that can function as a slave. However, the control unit 411 of the module 400 does not have the I2C communication unit 413 (see FIG. 2A) that can function as a master. Since the control unit 411 of the module 400 does not have the I2C communication unit 425 that can function as a master, in the example illustrated in FIG. 2E, the initialization process for the I2C communication unit 413 cannot be performed in step S311. In such a case, a process for operating the I2C communication unit 325 of the module 300 located in the preceding stage of the module 400 as a master is performed in step S312. In the example illustrated in FIG. 2E, the control unit 311 of the module 300 includes the I2C communication unit 313 that can function as a master. For this reason, processing for operating the I2C communication unit 325 of the module 300 as a master is performed in step S312. If the module for which the process for operating as the master in step S312 has been performed is the module 300, the module is not the module 100 (NO in step S313), and thus the process proceeds to step S311. When the initialization process for causing the I2C communication unit 325 of the module 300 to operate as a master is completed (YES in step S311), the operations after step S301 are repeated. In this case, in step S301, the I2C communication unit 325 of the module 300 starts identifying the module connected to the subsequent stage of the module 300. As described above, when the control unit 411 of the module 400 does not have the I2C communication unit 425 that can function as the master, the module 300 in which the control unit 311 has the I2C communication unit 325 that can function as the master. I2C communication can be performed.

ステップS306において、モジュール100の制御部111は、表示部119(通知手段)を用いて所定の警告(通知)を行う。図6(a)〜図6(c)を参照して、電子機器600で行われる所定の通知の例を説明する。例えば、制御部111は、直列接続されるモジュールの数を減ずることをユーザに促すための通知を行い得る。具体的には、図6(a)に示すように、制御部111は、「制限台数を超えています。接続モジュール数を少なくしてください。」という通知情報を、表示部119に表示し得る。このような表示は、例えば以下のような場合に行われる。例えば、所定数を超える数のモジュールをマスタモジュールにしない限り、I2C通信用の信号線における遅延時間がI2C規格を満たし得ない場合には、ステップS309でNOとなり、図6(a)に示すような表示が行われる。また、I2C通信用の信号線における遅延時間がI2C規格を満たさず、しかも、モジュール100以外のモジュール200、300および400をマスタモジュールとし得ない場合には、ステップS313でNOとなり、図6(a)に示すような表示が行われる。この後、ステップS308に移行する。   In step S306, the control unit 111 of the module 100 issues a predetermined warning (notification) using the display unit 119 (notification unit). An example of a predetermined notification performed in the electronic device 600 will be described with reference to FIGS. For example, the control unit 111 may perform a notification for prompting the user to reduce the number of modules connected in series. Specifically, as illustrated in FIG. 6A, the control unit 111 may display notification information “Exceeding the limit number. Please reduce the number of connected modules.” On the display unit 119. . Such a display is performed in the following cases, for example. For example, if the delay time in the signal line for I2C communication cannot satisfy the I2C standard unless the number of modules exceeding the predetermined number is set as the master module, NO is determined in step S309, as shown in FIG. Is displayed. If the delay time in the signal line for I2C communication does not satisfy the I2C standard and the modules 200, 300, and 400 other than the module 100 cannot be used as the master module, the result in step S313 is NO, and FIG. ) Is displayed. Thereafter, the process proceeds to step S308.

ステップS308において、モジュール100の制御部111は、モジュールの識別を終了する(識別失敗)。   In step S308, the control unit 111 of the module 100 ends module identification (identification failure).

ステップS307において、モジュール100の制御部111は、モジュールの識別を終了する(識別成功)。この後、電子機器600を用いた撮像等がユーザ等による操作に基づいて行われる。   In step S307, the control unit 111 of the module 100 ends the module identification (successful identification). Thereafter, imaging using the electronic device 600 is performed based on an operation by a user or the like.

なお、ここでは、I2C通信用の信号線における遅延時間がI2C規格を満足するか否かを判定し、その判定結果に応じた内容が表示部119に表示される場合を例に説明したが、これに限定されるものではない。例えば、制御部111は、複数のモジュールのうちのいずれかとの間で通信を確立できない場合には、通信を確立できないことを示す表示を、表示部119を用いて行うようにしてもよい。さらには、制御部111は、モジュールの再接続やモジュールの交換を促す表示を、表示部119を用いて行うようにしてもよい。例えば、図6(b)に示すように、制御部111は、「通信できません。モジュールを再接続または交換してください。」という通知情報を、表示部119を用いて表示するようにしてもよい。この際、制御部111は、通信不能なモジュールを示す情報を、表示部119に表示するようにしてもよい。このような表示は、例えば以下のような場合に行われる。例えば、何らかの電気的異常によって通信が確立できない場合には、ステップS305でNOとなり、図6(b)に示すような表示が行われる。また、正規の仕様でないモジュールが接続されている場合にも、ステップS305でNOとなり、図6(b)に示すような表示が行われる。また、制御部111は、通信可能なモジュールを、表示部119を用いて一覧表示するようにしてもよい。例えば、図6(c)に示すように、「通信可能モジュール:AA、BB、CC」という通知情報を、表示部119を用いて表示するようにしてもよい。   Here, the case where it is determined whether or not the delay time in the signal line for I2C communication satisfies the I2C standard and the content corresponding to the determination result is displayed on the display unit 119 has been described as an example. It is not limited to this. For example, the control unit 111 may perform display indicating that communication cannot be established using the display unit 119 when communication cannot be established with any of the plurality of modules. Furthermore, the control unit 111 may perform display for prompting reconnection of the module or replacement of the module using the display unit 119. For example, as illustrated in FIG. 6B, the control unit 111 may display notification information “cannot communicate. Please reconnect or replace the module” using the display unit 119. . At this time, the control unit 111 may display information indicating a module incapable of communication on the display unit 119. Such a display is performed in the following cases, for example. For example, if communication cannot be established due to some electrical abnormality, NO is determined in step S305, and a display as shown in FIG. 6B is performed. Also, when a module that is not in a normal specification is connected, NO is determined in step S305, and a display as shown in FIG. 6B is performed. The control unit 111 may display a list of communicable modules using the display unit 119. For example, as illustrated in FIG. 6C, notification information “Communicable modules: AA, BB, CC” may be displayed using the display unit 119.

モジュール400のI2C通信部425をマスタとした場合には、以下のようなI2C通信を行うことが可能となる。I2C通信部113をマスタとし、I2C通信部213、313および413をスレーブとするI2C通信を行うとともに、I2C通信部425をマスタとし、I2C通信部513をスレーブとするI2C通信を行うことが可能となる。この場合、モジュール100とモジュール500との間のI2C通信は、例えば以下のようにして行われる。マスタとして動作するI2C通信部113からスレーブとして動作するI2C通信部413に対して、I2C通信用の信号線を介して命令が送信される。そして、当該命令が、マスタとして動作するI2C通信部425からスレーブとして動作するI2C通信部513に対して、I2C通信用の信号線を介して送信される。こうして、モジュール100から発せられた命令がモジュール500に伝達される。この後、スレーブとして動作するI2C通信部513からマスタとして動作するI2C通信部425に対して、上記のような命令に対する応答が送信される。そして、当該応答が、スレーブとして動作するI2C通信部413からマスタとして動作するI2C通信部113に対して送信される。こうして、モジュール500から発せられた応答がモジュール100に伝達される。   When the I2C communication unit 425 of the module 400 is used as a master, the following I2C communication can be performed. It is possible to perform I2C communication using the I2C communication unit 113 as a master and the I2C communication units 213, 313, and 413 as slaves, and performing I2C communication using the I2C communication unit 425 as a master and I2C communication unit 513 as a slave. Become. In this case, the I2C communication between the module 100 and the module 500 is performed as follows, for example. A command is transmitted from the I2C communication unit 113 operating as a master to the I2C communication unit 413 operating as a slave via a signal line for I2C communication. Then, the command is transmitted from the I2C communication unit 425 operating as a master to the I2C communication unit 513 operating as a slave via a signal line for I2C communication. In this way, a command issued from the module 100 is transmitted to the module 500. Thereafter, a response to the command as described above is transmitted from the I2C communication unit 513 operating as a slave to the I2C communication unit 425 operating as a master. Then, the response is transmitted from the I2C communication unit 413 operating as a slave to the I2C communication unit 113 operating as a master. In this way, the response issued from the module 500 is transmitted to the module 100.

このように、実施形態1では、スレーブとして動作させ得るI2C通信部213、313および413のみならず、マスタとして動作させ得るI2C通信部225、325および425を、モジュール200、300および400がそれぞれ有している。スレーブとして動作し得るI2C通信部213、313および413と、マスタとして動作し得るI2C通信部225、325および425とは、I2C通信用の信号線に接続されたスイッチ227、327および427によってそれぞれ電気的に分離され得る。IC2通信用の信号線における遅延時間がI2C規格に定められた所定の条件を満たさない場合には、スイッチ227、327および427のうちのいずれかをOFF状態とし、スイッチ229、329および429のうちのいずれかをON状態とする。そして、I2C通信部225、325および425のいずれかをマスタとして動作させる。このため、実施形態1によれば、多数のモジュールを良好に接続することが可能となる。   As described above, in the first embodiment, not only the I2C communication units 213, 313, and 413 that can be operated as slaves but also the I2C communication units 225, 325, and 425 that can be operated as masters are provided in the modules 200, 300, and 400, respectively. doing. The I2C communication units 213, 313, and 413 that can operate as slaves and the I2C communication units 225, 325, and 425 that can operate as masters are electrically connected by switches 227, 327, and 427 connected to signal lines for I2C communication, respectively. Can be separated. When the delay time in the signal line for IC2 communication does not satisfy the predetermined condition defined in the I2C standard, one of the switches 227, 327 and 427 is turned off, and the switch 229, 329 and 429 Either of these is turned on. Then, any one of the I2C communication units 225, 325, and 425 is operated as a master. For this reason, according to Embodiment 1, it becomes possible to connect many modules satisfactorily.

なお、実施形態1では、表示部119を用いて警告等を表示する場合を例に説明したが、これに限定されるものではなく、音声等による警告を通知するようにしてもよい。   In the first embodiment, the case where a warning or the like is displayed using the display unit 119 has been described as an example. However, the present invention is not limited to this, and a warning by voice or the like may be notified.

また、実施形態1では、モジュール100の表示部119によって通知が行われる場合を例に説明したが、これに限定されるものではない。例えば、モジュール100とは別個のモジュール、具体的には、モジュール200の表示部によって、所定の通知が行われるようにしてもよい。   In the first embodiment, the case where notification is performed by the display unit 119 of the module 100 has been described as an example, but the present invention is not limited to this. For example, the predetermined notification may be performed by a module different from the module 100, specifically, by a display unit of the module 200.

[実施形態2]
実施形態1で説明した様々な機能、処理または方法は、パーソナルコンピュータ、マイクロコンピュータ、CPU(central processing unit)、プロセッサなどがプログラムを用いて実現することもできる。以下、実施形態2では、パーソナルコンピュータ、マイクロコンピュータ、CPU(central processing unit)、プロセッサなどを「コンピュータX」と呼ぶ。また、実施形態2では、コンピュータXを制御するためのプログラムであって、実施形態1で説明した様々な機能、処理または方法を実現するためのプログラムを「プログラムY」と呼ぶ。
[Embodiment 2]
The various functions, processes, or methods described in the first embodiment can also be realized by a personal computer, a microcomputer, a CPU (central processing unit), a processor, and the like using a program. Hereinafter, in the second embodiment, a personal computer, a microcomputer, a CPU (central processing unit), a processor, and the like are referred to as “computer X”. In the second embodiment, a program for controlling the computer X and realizing the various functions, processes, or methods described in the first embodiment is referred to as “program Y”.

実施形態1で説明した様々な機能、処理または方法は、コンピュータXがプログラムYを実行することによって実現される。この場合において、プログラムYは、コンピュータ読み取り可能な記憶媒体を介してコンピュータXに供給される。実施形態2におけるコンピュータ読み取り可能な記憶媒体は、ハードディスク装置、磁気記憶装置、光記憶装置、光磁気記憶装置、メモリカード、揮発性メモリ、不揮発性メモリなどの少なくとも1つを含む。実施形態2におけるコンピュータ読み取り可能な記憶媒体は、non−transitoryな記憶媒体である。   The various functions, processes, or methods described in the first embodiment are realized by the computer X executing the program Y. In this case, the program Y is supplied to the computer X via a computer-readable storage medium. The computer-readable storage medium according to the second embodiment includes at least one of a hard disk device, a magnetic storage device, an optical storage device, a magneto-optical storage device, a memory card, a volatile memory, and a nonvolatile memory. The computer-readable storage medium in Embodiment 2 is a non-transitory storage medium.

なお、本発明の実施形態は上述の実施形態1または2に限定されるものではない。発明の要旨を逸脱しない範囲で変更または修正された実施形態1または2も本発明の実施形態に含まれる。   The embodiment of the present invention is not limited to the above-described first or second embodiment. Embodiments 1 and 2 that are changed or modified without departing from the gist of the invention are also included in the embodiments of the present invention.

100、200、300、400、500 モジュール
600 電子機器
123、223、227、229、323、327、329、423、427、429 スイッチ
199、201、299、301、399、401、499、501 コネクタ
100, 200, 300, 400, 500 Module 600 Electronic device 123, 223, 227, 229, 323, 327, 329, 423, 427, 429 Switch 199, 201, 299, 301, 399, 401, 499, 501 Connector

Claims (10)

後段に第1のモジュールが接続され、前記第1のモジュールの後段に第2のモジュールが接続され得る制御モジュールであって、
所定の条件が満たされるか否かを判定する判定手段と、
前記制御モジュールが有する第1の通信手段と前記第1のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第1のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第2のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定する制御手段と
を有することを特徴とする制御モジュール。
A control module in which a first module can be connected to a subsequent stage and a second module can be connected to a subsequent stage of the first module;
Determining means for determining whether or not a predetermined condition is satisfied;
The first communication means included in the control module and the second communication means included in the first module are electrically connected via a signal line, and the second communication means and the first module include. A state where the third communication means is electrically separated by a switch, and the third communication means and the fourth communication means included in the second module are electrically connected via a signal line. A control module that determines whether or not to perform control based on a determination result of whether or not the predetermined condition is satisfied.
前記所定の条件は、信号線における信号の遅延が所定時間未満であるという条件であることを特徴とする請求項1に記載の制御モジュール。   The control module according to claim 1, wherein the predetermined condition is a condition that a signal delay in the signal line is less than a predetermined time. 前記第3の通信手段は、前記状態において、前記第2の通信手段が前記第1の通信手段から受け取った信号に応じた信号を前記第4の通信手段に送信し得ることを特徴とする請求項1または2に記載の制御モジュール。   The third communication unit may transmit a signal according to a signal received from the first communication unit by the second communication unit to the fourth communication unit in the state. Item 3. The control module according to Item 1 or 2. 前記第1の通信手段と前記第3の通信手段とは、それぞれマスタとして動作し、
前記第2の通信手段と前記第4の通信手段とは、それぞれスレーブとして動作することを特徴とする請求項1から3のいずれか1項に記載の制御モジュール。
The first communication means and the third communication means each operate as a master,
4. The control module according to claim 1, wherein each of the second communication unit and the fourth communication unit operates as a slave. 5.
前記制御手段は、前記マスタの数を所定数以下に制限することを特徴とする請求項4に記載の制御モジュール。   The control module according to claim 4, wherein the control unit limits the number of masters to a predetermined number or less. 第1のモジュールと、前記第1のモジュールの後段に位置する第2のモジュールと、前記第2のモジュールの後段に位置する第3のモジュールとを有する電子機器であって、
所定の条件が満たされるか否かを判定する判定手段と、
前記第1のモジュールが有する第1の通信手段と前記第2のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第2のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第3のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定する制御手段と
を有することを特徴とする電子機器。
An electronic apparatus comprising: a first module; a second module positioned at a subsequent stage of the first module; and a third module positioned at a subsequent stage of the second module,
Determining means for determining whether or not a predetermined condition is satisfied;
The first communication means included in the first module and the second communication means included in the second module are electrically connected via a signal line, and the second communication means and the second module are connected. And the third communication means of the first module is electrically separated by a switch, and the third communication means and the fourth communication means of the third module are electrically connected via a signal line. An electronic device comprising: control means for determining whether or not to perform control so that the predetermined condition is satisfied based on a determination result of whether or not the predetermined condition is satisfied.
後段に第1のモジュールが接続され、前記第1のモジュールの後段に第2のモジュールが接続され得る制御モジュールの制御方法であって、
所定の条件が満たされるか否かを判定するステップと、
前記制御モジュールが有する第1の通信手段と前記第1のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第1のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第2のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定するステップと
を有することを特徴とする制御方法。
A control method of a control module in which a first module is connected to a subsequent stage and a second module is connected to a subsequent stage of the first module,
Determining whether a predetermined condition is satisfied;
The first communication means included in the control module and the second communication means included in the first module are electrically connected via a signal line, and the second communication means and the first module include. A state where the third communication means is electrically separated by a switch, and the third communication means and the fourth communication means included in the second module are electrically connected via a signal line. Determining whether or not to perform control based on a determination result of whether or not the predetermined condition is satisfied.
第1のモジュールと、前記第1のモジュールの後段に位置する第2のモジュールと、前記第2のモジュールの後段に位置する第3のモジュールとを有する電子機器の制御方法であって、
所定の条件が満たされるか否かを判定するステップと、
前記第1のモジュールが有する第1の通信手段と前記第2のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第2のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第3のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定するステップと
を有することを特徴とする制御方法。
A method for controlling an electronic device, comprising: a first module; a second module positioned downstream of the first module; and a third module positioned downstream of the second module,
Determining whether a predetermined condition is satisfied;
The first communication means included in the first module and the second communication means included in the second module are electrically connected via a signal line, and the second communication means and the second module are connected. And the third communication means of the first module is electrically separated by a switch, and the third communication means and the fourth communication means of the third module are electrically connected via a signal line. A step of determining whether or not to perform control so as to be in a state based on a determination result of whether or not the predetermined condition is satisfied.
後段に第1のモジュールが接続され、前記第1のモジュールの後段に第2のモジュールが接続され得る制御モジュールで用いられるプログラムであって、
コンピュータを、
所定の条件が満たされるか否かを判定する判定手段と、
前記制御モジュールが有する第1の通信手段と前記第1のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第1のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第2のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定する制御手段
として機能させるためのプログラム。
A program used in a control module in which a first module is connected to a subsequent stage and a second module can be connected to a subsequent stage of the first module,
Computer
Determining means for determining whether or not a predetermined condition is satisfied;
The first communication means included in the control module and the second communication means included in the first module are electrically connected via a signal line, and the second communication means and the first module include. A state where the third communication means is electrically separated by a switch, and the third communication means and the fourth communication means included in the second module are electrically connected via a signal line. A program for functioning as control means for determining whether or not to perform control based on a determination result of whether or not the predetermined condition is satisfied.
第1のモジュールと、前記第1のモジュールの後段に位置する第2のモジュールと、前記第2のモジュールの後段に位置する第3のモジュールとを有する電子機器で用いられるプログラムであって、
コンピュータを、
所定の条件が満たされるか否かを判定する判定手段と、
前記第1のモジュールが有する第1の通信手段と前記第2のモジュールが有する第2の通信手段とが信号線を介して電気的に接続され、前記第2の通信手段と前記第2のモジュールが有する第3の通信手段とがスイッチによって電気的に分離され、且つ、前記第3の通信手段と前記第3のモジュールが有する第4の通信手段とが信号線を介して電気的に接続された状態となるように制御するか否かを、前記所定の条件が満たされるか否かの判定結果に基づいて決定する制御手段
として機能させるためのプログラム。
A program used in an electronic apparatus having a first module, a second module located at a subsequent stage of the first module, and a third module located at a subsequent stage of the second module,
Computer
Determining means for determining whether or not a predetermined condition is satisfied;
The first communication means included in the first module and the second communication means included in the second module are electrically connected via a signal line, and the second communication means and the second module are connected. And the third communication means of the first module is electrically separated by a switch, and the third communication means and the fourth communication means of the third module are electrically connected via a signal line. A program for functioning as control means for determining whether or not to perform control so that the predetermined condition is satisfied based on a determination result of whether or not the predetermined condition is satisfied.
JP2017135595A 2017-07-11 2017-07-11 Control module, electronic apparatus, control method and program Pending JP2019020771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017135595A JP2019020771A (en) 2017-07-11 2017-07-11 Control module, electronic apparatus, control method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017135595A JP2019020771A (en) 2017-07-11 2017-07-11 Control module, electronic apparatus, control method and program

Publications (1)

Publication Number Publication Date
JP2019020771A true JP2019020771A (en) 2019-02-07

Family

ID=65354110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017135595A Pending JP2019020771A (en) 2017-07-11 2017-07-11 Control module, electronic apparatus, control method and program

Country Status (1)

Country Link
JP (1) JP2019020771A (en)

Similar Documents

Publication Publication Date Title
EP3267437B1 (en) Interactive peripheral device for television karaoke.
EP3920507A1 (en) Wireless audio output devices
US9215526B2 (en) Circuit for microphone pin assignment detection and method thereof
US10531214B2 (en) Device and method for controlling microphone according to connection of external accessory
US10210122B2 (en) Interface circuit, method and device for state switching
CN103983894A (en) Jack detector and jack detecting method
US20190114133A1 (en) Electronic device having plurality of displays and control method
KR20190056696A (en) Method and electronic device for generating clock signal for image sensor in camera module
US20230350277A1 (en) Electronic apparatus and its control method, and accessory and its control method
US10348870B2 (en) Information processing apparatus, electronic apparatus, and control method therefor
US20160224488A1 (en) Bidirectional communication method between a master terminal and a slave terminal on a single transmission line
JP6600333B2 (en) Electronic device, control method thereof, and program
JP2019020771A (en) Control module, electronic apparatus, control method and program
JP7005911B2 (en) Power receiving device
EP3629428A1 (en) Method and apparatus for changing impedance of terminal included in connector
US20110156875A1 (en) Apparatus for and Method of Processing Data
JP2007080134A (en) Serial communication apparatus
KR102379558B1 (en) Driver system of vehicle with feedback logic and operation method thereof
CN108897553B (en) Chip programming tool, system, chip programming method and device
KR102305235B1 (en) A Controlling Board Having a Structure of Multi Interface
KR102484023B1 (en) Image sensor and transmission system
US11322970B2 (en) Device with power-off charging capability
US20140365806A1 (en) Peripheral apparatus and control method thereof
KR20070060686A (en) Multiple embedded camera module and mobile communication terminal with multiple embedded camera module
US11934084B2 (en) Electronic apparatus and its control method, and accessory and its control method

Legal Events

Date Code Title Description
RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20171214

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180126