JP7505191B2 - Electronic device, disconnection warning method, and disconnection warning program - Google Patents

Electronic device, disconnection warning method, and disconnection warning program Download PDF

Info

Publication number
JP7505191B2
JP7505191B2 JP2020015215A JP2020015215A JP7505191B2 JP 7505191 B2 JP7505191 B2 JP 7505191B2 JP 2020015215 A JP2020015215 A JP 2020015215A JP 2020015215 A JP2020015215 A JP 2020015215A JP 7505191 B2 JP7505191 B2 JP 7505191B2
Authority
JP
Japan
Prior art keywords
amplifier
signal
speaker
connection
external speaker
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.)
Active
Application number
JP2020015215A
Other languages
Japanese (ja)
Other versions
JP2021125702A (en
Inventor
英雄 篠崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JVCKenwood Corp
Original Assignee
JVCKenwood Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2020015215A priority Critical patent/JP7505191B2/en
Publication of JP2021125702A publication Critical patent/JP2021125702A/en
Application granted granted Critical
Publication of JP7505191B2 publication Critical patent/JP7505191B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing Of Short-Circuits, Discontinuities, Leakage, Or Incorrect Line Connections (AREA)
  • Circuit For Audible Band Transducer (AREA)

Description

本発明は電子機器、断線警告方法および断線警告プログラムに関する。 The present invention relates to an electronic device, a disconnection warning method, and a disconnection warning program.

無線通信装置などの電子機器は、内蔵スピーカおよび内蔵マイクを有するとともに、外部スピーカおよび外部マイクを有線接続するための接続端子を有する。このような電子機器は、外部スピーカおよび外部マイクが接続された場合に、自動的に内蔵スピーカおよび内蔵マイクが使用できないように設定されている。このような電子機器において、接続された外部スピーカおよび外部マイクが断線していることを検出する技術が開発されている。 Electronic devices such as wireless communication devices have built-in speakers and microphones, as well as connection terminals for connecting external speakers and microphones via wires. Such electronic devices are set so that the built-in speakers and microphones are automatically disabled when external speakers and microphones are connected. Technology has been developed for such electronic devices to detect when the connected external speakers and microphones are disconnected.

例えば特許文献1には、イヤホン等の信号出力装置とマイクロホンとが近接している装置のための断線検知回路を有する電子機器が記載されている。電子機器は、所定のパターンを有する第1のテスト信号を上記信号出力装置に送出する。次いで上記電子機器は、上記信号がマイクロホンに入力されて戻る信号を受信し、受信した信号を上記第1のテスト信号のパターンと同一のパターンを有する第1の基準信号と比較する。さらに上記電子機器は、上記第1のテスト信号が戻ってくるか否かを判断することにより、上記信号出力装置及び上記マイクロホンの断線が発生しているか否かを検知する。また、上記電子機器は、断線を検出すると、断線していることを通知するメッセージを表示部に表示する。 For example, Patent Document 1 describes an electronic device having a disconnection detection circuit for a device in which a signal output device such as an earphone and a microphone are in close proximity. The electronic device sends a first test signal having a predetermined pattern to the signal output device. The electronic device then receives a signal that is input to the microphone and returns, and compares the received signal with a first reference signal having the same pattern as the pattern of the first test signal. The electronic device further detects whether a disconnection has occurred between the signal output device and the microphone by determining whether the first test signal has returned. Furthermore, when the electronic device detects a disconnection, it displays a message on a display unit notifying the user of the disconnection.

特開2014-068066号公報JP 2014-068066 A

しかしながら、上記電子機器は、表示部を見ないと断線が発生したことを知ることが出来ない。 However, with the above electronic devices, you cannot know that a disconnection has occurred unless you look at the display.

本発明は、このような課題を解決するためになされたものであって、接続された外部スピーカの断線を容易に認識することができる電子機器等を提供することを目的とする。 The present invention was made to solve these problems, and aims to provide an electronic device etc. that can easily detect a disconnection in a connected external speaker.

本発明にかかる電子機器は、内蔵スピーカ、接続端子、接続検出回路、増幅器、制御回路および断線検出回路を有する。接続検出回路は、外部スピーカを動作可能に接続する接続端子と外部スピーカとの接続を検出する。増幅器は、内蔵スピーカと接続された外部スピーカとを、それぞれ異なる動作により駆動する。制御回路は、接続検出回路が接続を検出した場合には、増幅器が外部スピーカを駆動させる動作に制御する。断線検出回路は、接続された外部スピーカの断線を検出する。また上記制御回路は、断線検出回路が断線を検出した場合には、増幅器に対して内蔵スピーカを駆動させる動作とし、内蔵スピーカから警告信号を出力させる制御を行う。 The electronic device according to the present invention has a built-in speaker, a connection terminal, a connection detection circuit, an amplifier, a control circuit, and a disconnection detection circuit. The connection detection circuit detects a connection between the connection terminal that operably connects the external speaker and the external speaker. The amplifier drives the built-in speaker and the connected external speaker by different operations. When the connection detection circuit detects a connection, the control circuit controls the amplifier to drive the external speaker. The disconnection detection circuit detects a disconnection of the connected external speaker. Furthermore, when the disconnection detection circuit detects a disconnection, the control circuit controls the amplifier to drive the built-in speaker and to output a warning signal from the built-in speaker.

本発明にかかる断線警告方法は、内蔵スピーカと、外部スピーカを動作可能に接続する接続端子と、内蔵スピーカと接続された外部スピーカとを、それぞれ異なる動作により駆動する増幅器と、を備える電子機器が行う方法である。上記断線警告方法は、接続検出ステップ、制御ステップ、断線検出ステップおよび警告ステップを有する。接続検出ステップは、外部スピーカと接続端子との接続を検出する。制御ステップは、接続を検出した場合には、増幅器が外部スピーカを駆動させる動作に制御する。断線検出ステップは、接続された外部スピーカの断線を検出する。警告ステップは、断線を検出した場合には、増幅器に対して内蔵スピーカから警告信号を出力させる。 The disconnection warning method according to the present invention is a method performed by an electronic device that includes an internal speaker, a connection terminal for operatively connecting an external speaker, and an amplifier that drives the internal speaker and the connected external speaker by different operations. The disconnection warning method includes a connection detection step, a control step, a disconnection detection step, and a warning step. The connection detection step detects a connection between the external speaker and the connection terminal. If the connection is detected, the control step controls the amplifier to drive the external speaker. The disconnection detection step detects a disconnection in the connected external speaker. If the warning step detects a disconnection, the warning step causes the amplifier to output a warning signal from the internal speaker.

本発明にかかる断線警告プログラムは、内蔵スピーカと、外部スピーカを動作可能に接続する接続端子と、内蔵スピーカと接続された外部スピーカとを、それぞれ異なる動作により駆動する増幅器と、を備える電子機器に実行させるプログラムである。上記断線警告プログラムは、接続検出ステップ、制御ステップ、断線検出ステップおよび警告ステップを有する。接続検出ステップは、外部スピーカと接続端子との接続を検出する。制御ステップは、接続を検出した場合には、増幅器が外部スピーカを駆動させる動作に制御する。断線検出ステップは、接続された外部スピーカの断線を検出する。警告ステップは、断線を検出した場合には、増幅器に対して内蔵スピーカから警告信号を出力させる。 The disconnection warning program of the present invention is a program executed by an electronic device that includes an internal speaker, a connection terminal for operatively connecting an external speaker, and an amplifier that drives the internal speaker and the connected external speaker by different operations. The disconnection warning program has a connection detection step, a control step, a disconnection detection step, and a warning step. The connection detection step detects a connection between the external speaker and the connection terminal. If the control step detects a connection, it controls the amplifier to drive the external speaker. The disconnection detection step detects a disconnection in the connected external speaker. If the warning step detects a disconnection, it causes the internal speaker to output a warning signal to the amplifier.

本発明によれば、接続された外部スピーカの断線を警告音により通知する電子機器等を提供することができる。 The present invention provides an electronic device that issues an alarm to notify the user of a disconnection in a connected external speaker.

実施の形態にかかる電子機器の回路図である。1 is a circuit diagram of an electronic device according to an embodiment; 実施の形態にかかる電子機器に外部スピーカが接続された場合の回路図である。1 is a circuit diagram of an electronic device according to an embodiment when an external speaker is connected to the electronic device; 外部スピーカが接続された電子機器の信号を示すタイミングチャートである。4 is a timing chart showing signals of an electronic device to which an external speaker is connected. 外部スピーカが断線していた場合における電子機器の信号を示すタイミングチャートである。6 is a timing chart showing signals of an electronic device when an external speaker is disconnected. 実施の形態にかかる電子機器のフローチャートである。1 is a flowchart of an electronic device according to an embodiment.

以下、発明の実施の形態を通じて本発明を説明するが、特許請求の範囲にかかる発明を以下の実施形態に限定するものではない。また、実施形態で説明する構成の全てが課題を解決するための手段として必須であるとは限らない。説明の明確化のため、以下の記載および図面は、適宜、省略、および簡略化がなされている。なお、各図面において、同一の要素には同一の符号が付されており、必要に応じて重複説明は省略されている。 The present invention will be described below through embodiments of the invention, but the invention according to the claims is not limited to the following embodiments. Furthermore, not all of the configurations described in the embodiments are necessarily essential as means for solving the problems. For clarity of explanation, the following description and drawings have been omitted and simplified as appropriate. In addition, the same elements are given the same reference numerals in each drawing, and duplicate explanations have been omitted as necessary.

<実施の形態>
以下、図面を参照して本発明の実施の形態について説明する。まず、図1および図2を参照して、本実施の形態にかかる電子機器の構成について説明する。図1は、実施の形態にかかる電子機器の回路図である。図1に示す電子機器10は、無線通信により受信した音声信号を内蔵スピーカまたは外部スピーカにより出力する機能を有している。電子機器10は、例えば図示しないマイクを含むトランシーバを構成するものであってもよい。
<Embodiment>
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. First, a configuration of an electronic device according to the present embodiment will be described with reference to Figs. 1 and 2. Fig. 1 is a circuit diagram of an electronic device according to the embodiment. An electronic device 10 shown in Fig. 1 has a function of outputting an audio signal received by wireless communication from a built-in speaker or an external speaker. The electronic device 10 may be, for example, a transceiver including a microphone (not shown).

図2は、実施の形態にかかる電子機器10に外部スピーカ90が接続された場合の回路図である。電子機器10は、外部スピーカ90が接続されることにより、内蔵スピーカ11に代えて外部スピーカ90から音声を出力させることができる。 Figure 2 is a circuit diagram of an electronic device 10 according to an embodiment when an external speaker 90 is connected. When the external speaker 90 is connected, the electronic device 10 can output sound from the external speaker 90 instead of the built-in speaker 11.

電子機器10は主な構成として、内蔵スピーカ11、接続端子12、接続検出回路13、増幅器14、制御回路15および断線検出回路16を有する。さらに電子機器10は、表示装置17、無線通信回路18、スイッチ回路19、電源20等を有している。電子機器10は、任意の筐体に上記の各構成を収容する。 The electronic device 10 mainly comprises a built-in speaker 11, a connection terminal 12, a connection detection circuit 13, an amplifier 14, a control circuit 15, and a disconnection detection circuit 16. The electronic device 10 further comprises a display device 17, a wireless communication circuit 18, a switch circuit 19, a power source 20, etc. The electronic device 10 accommodates the above components in an arbitrary housing.

内蔵スピーカ11は、増幅器14に接続しており、増幅器14から受け取る電気信号を音声に変換して出力する。より具体的には、内蔵スピーカ11は、スピーカを駆動させるための2本の信号線のうち、一方が増幅器14の端子14Aに接続し、他方が端子14Bに接続しており、それぞれからスピーカを駆動するための信号を受け取る。 The built-in speaker 11 is connected to the amplifier 14, and converts the electrical signal it receives from the amplifier 14 into sound and outputs it. More specifically, the built-in speaker 11 receives signals for driving the speaker from each of the two signal lines, one of which is connected to terminal 14A of the amplifier 14 and the other to terminal 14B.

接続端子12は、オプションとして電子機器10に接続できる外部スピーカ90を接続するためのインタフェースである。接続端子12は、例えば、フォーンジャック、フォーンコネクタまたはAUX端子(AUX=auxiliary)等と一般に称されるものが採用され得る。接続端子12は、第1接点121、第2接点122、第3接点123および第4接点124を有している。接続端子12は、上記の筐体から外部スピーカ90が接続可能に露呈するように構成される。 The connection terminal 12 is an interface for connecting an external speaker 90 that can be connected to the electronic device 10 as an option. The connection terminal 12 may be, for example, what is generally called a phone jack, phone connector, or AUX terminal (AUX = auxiliary). The connection terminal 12 has a first contact 121, a second contact 122, a third contact 123, and a fourth contact 124. The connection terminal 12 is configured to be exposed from the housing so that the external speaker 90 can be connected.

第1接点121および第2接点122は、外部スピーカ90が有する2本の信号線の内の負極側と接触するための接点である。第1接点は、グランドに接続している。第2接点は、外部スピーカ90が接続されていない場合には第4接点と接触しており、外部スピーカ90が接続されたときには第4接点と非接触になるように構成されている。第2接点は抵抗103を介して電源101に接続している。 The first contact 121 and the second contact 122 are contacts for contacting the negative side of the two signal lines of the external speaker 90. The first contact is connected to ground. The second contact is configured to be in contact with the fourth contact when the external speaker 90 is not connected, and to be out of contact with the fourth contact when the external speaker 90 is connected. The second contact is connected to the power source 101 via a resistor 103.

第3接点123は、外部スピーカ90が有する2本の信号線の内の正極側と接触するための接点である。第3接点123は、コンデンサ105を介して、増幅器14の端子14Bに接続している。外部スピーカ90が接続された場合、端子14Bから供給される音声信号は、コンデンサ105を介することにより、交流成分である音声信号が供給される。 The third contact 123 is a contact for contacting the positive side of the two signal lines of the external speaker 90. The third contact 123 is connected to the terminal 14B of the amplifier 14 via the capacitor 105. When the external speaker 90 is connected, the audio signal supplied from the terminal 14B passes through the capacitor 105, and an audio signal having an AC component is supplied.

接続検出回路13は、外部スピーカ90を動作可能に接続する接続端子12と外部スピーカ90との接続を検出する。接続検出回路13は、抵抗103を介して接続端子12の第2接点122に接続する電源101を有している。また、接続検出回路13は、接続端子12の第4接点とグランドとを抵抗104を介して接続する信号線を有している。また接続検出回路13は、接続端子12の第4接点124と制御回路15の端子15Dとを接続する信号線を有している。図1に示すように、第2接点122から延びる信号線は二股に分岐し、一方が抵抗104に接続し、他方が端子15Dに接続している。このような構成により、接続検出回路13は、外部スピーカ90が接続されていない場合には、抵抗103と抵抗104に生じる中間電位を端子15Dに伝達する。 The connection detection circuit 13 detects the connection between the connection terminal 12, which operably connects the external speaker 90, and the external speaker 90. The connection detection circuit 13 has a power source 101 that connects to the second contact 122 of the connection terminal 12 via a resistor 103. The connection detection circuit 13 also has a signal line that connects the fourth contact of the connection terminal 12 to ground via a resistor 104. The connection detection circuit 13 also has a signal line that connects the fourth contact 124 of the connection terminal 12 to the terminal 15D of the control circuit 15. As shown in FIG. 1, the signal line extending from the second contact 122 branches into two, one of which is connected to the resistor 104 and the other to the terminal 15D. With this configuration, the connection detection circuit 13 transmits the intermediate potential generated between the resistors 103 and 104 to the terminal 15D when the external speaker 90 is not connected.

増幅器14は、所定の電気信号である音声信号を増幅し、増幅した音声信号をスピーカに供給することによりスピーカを駆動する。本実施の形態において増幅器14は、内蔵スピーカ11または接続された外部スピーカ90を駆動する。増幅器14は、主な構成として、第1信号出力回路141および第2信号出力回路142を有している。第1信号出力回路141は、端子14Bを介して、内蔵スピーカ11および接続端子12に音声信号を出力する。図1に示すように、端子14Bは、内蔵スピーカ11に音声信号を供給する信号線を有するとともに、かかる信号線から分岐した信号線がコンデンサ105を介して接続端子12の第3接点123および断線検出回路16に接続している。第2信号出力回路142は、端子14Aを介して、内蔵スピーカ11に音声信号を出力する。 The amplifier 14 amplifies an audio signal, which is a predetermined electrical signal, and drives the speaker by supplying the amplified audio signal to the speaker. In this embodiment, the amplifier 14 drives the built-in speaker 11 or the connected external speaker 90. The amplifier 14 mainly includes a first signal output circuit 141 and a second signal output circuit 142. The first signal output circuit 141 outputs an audio signal to the built-in speaker 11 and the connection terminal 12 via the terminal 14B. As shown in FIG. 1, the terminal 14B has a signal line that supplies an audio signal to the built-in speaker 11, and a signal line branched from the signal line is connected to the third contact 123 of the connection terminal 12 and the break detection circuit 16 via the capacitor 105. The second signal output circuit 142 outputs an audio signal to the built-in speaker 11 via the terminal 14A.

増幅器14は、内蔵スピーカ11を駆動させる場合には、BTL(Balanced Transformer Less)モードにより動作する。すなわち増幅器14は、内蔵スピーカ11を駆動させる場合には、第1信号出力回路141および第2信号出力回路142のそれぞれに対して、互いに位相が逆となる音声信号を出力させる。 When driving the built-in speaker 11, the amplifier 14 operates in BTL (Balanced Transformer Less) mode. That is, when driving the built-in speaker 11, the amplifier 14 outputs audio signals with opposite phases to each of the first signal output circuit 141 and the second signal output circuit 142.

一方、増幅器14は、外部スピーカ90を駆動させる場合には、SE(Single Ended)モードにより動作する。すなわち増幅器14は、外部スピーカ90を駆動させる場合には、第1信号出力回路141から音声信号を出力し、第2信号出力回路142からは音声信号を出力しない。これにより、内蔵スピーカ11は駆動せず、外部スピーカ90が駆動する。 On the other hand, when driving the external speaker 90, the amplifier 14 operates in SE (Single Ended) mode. That is, when driving the external speaker 90, the amplifier 14 outputs an audio signal from the first signal output circuit 141, but does not output an audio signal from the second signal output circuit 142. As a result, the built-in speaker 11 is not driven, and the external speaker 90 is driven.

増幅器14は、外部から電気信号としての音声信号を受け取り、受け取った音声信号を第1信号出力回路141および第2信号出力回路142に供給する。より具体的には増幅器14は、無線通信回路18に接続し、無線通信回路18から音声信号を受け取る。また増幅器14は、スイッチ回路19に接続しており、スイッチ回路19を介して電源20から電力の供給を受ける。さらに増幅器14は、制御回路15に接続し、制御回路15からモード設定信号を受け取る。モード設定信号は、増幅器14を、BTLモードまたはSEモードのいずれかで動作させるかを設定する信号を含む。またモード設定信号は、BTLモードにおいて警告信号を出力することを設定する信号を含む。警告信号を出力する場合には、増幅器14は、無線通信回路18から受け取る音声信号に代えて、電子機器10が有する音源回路が生成する警告信号を出力する。 The amplifier 14 receives an audio signal as an electrical signal from the outside and supplies the received audio signal to the first signal output circuit 141 and the second signal output circuit 142. More specifically, the amplifier 14 is connected to the wireless communication circuit 18 and receives an audio signal from the wireless communication circuit 18. The amplifier 14 is also connected to the switch circuit 19 and receives power from the power source 20 via the switch circuit 19. The amplifier 14 is also connected to the control circuit 15 and receives a mode setting signal from the control circuit 15. The mode setting signal includes a signal that sets whether the amplifier 14 operates in the BTL mode or the SE mode. The mode setting signal also includes a signal that sets the output of a warning signal in the BTL mode. When outputting a warning signal, the amplifier 14 outputs a warning signal generated by a sound source circuit in the electronic device 10 instead of the audio signal received from the wireless communication circuit 18.

制御回路15は、電子機器10の各構成に接続し、電子機器10が有する各構成の動作を制御する。制御回路15は例えば、CPU(Central Processing Unit)またはMCU(Micro Controller Unit)などと称される演算回路、揮発性または不揮発性のメモリおよびその他の回路により構成される。また制御回路15は、所定のプログラムを実行するものであってもよい。制御回路15は、ハードウェアおよびソフトウェアの組み合わせにより所定の機能を実現するものであってもよい。 The control circuit 15 is connected to each component of the electronic device 10 and controls the operation of each component of the electronic device 10. The control circuit 15 is composed of, for example, an arithmetic circuit called a CPU (Central Processing Unit) or MCU (Micro Controller Unit), a volatile or non-volatile memory, and other circuits. The control circuit 15 may also execute a specified program. The control circuit 15 may also realize a specified function by a combination of hardware and software.

制御回路15は、端子15A~15Eを有している。端子15Aは増幅器14に接続し、増幅器14に対してモード設定信号を送信する。端子15Bは、断線検出回路16に接続し、断線検出回路16からの信号を受け取る。端子15Cは、電源スイッチ100に接続し、電源スイッチの状態を監視するための信号を受け取る。端子15Dは、接続検出回路13に接続し、接続検出回路13から外部スピーカ90が接続されたか否かを示す信号を受け取る。端子15Eは、スイッチ回路19に接続し、スイッチ回路19に対してオンまたはオフを指示する信号を送信する。また制御回路15は表示装置17に接続しており、表示装置17に表示させる内容を制御する。 The control circuit 15 has terminals 15A to 15E. Terminal 15A is connected to the amplifier 14 and transmits a mode setting signal to the amplifier 14. Terminal 15B is connected to the disconnection detection circuit 16 and receives a signal from the disconnection detection circuit 16. Terminal 15C is connected to the power switch 100 and receives a signal for monitoring the state of the power switch. Terminal 15D is connected to the connection detection circuit 13 and receives a signal from the connection detection circuit 13 indicating whether or not an external speaker 90 is connected. Terminal 15E is connected to the switch circuit 19 and transmits a signal to instruct the switch circuit 19 to turn on or off. The control circuit 15 is also connected to the display device 17 and controls the content to be displayed on the display device 17.

制御回路15は、上述の構成により、外部スピーカ90の接続を検出する信号および外部スピーカ90の断線を検出する信号の状態に応じて、増幅器14に以下に説明する3つの動作をさせる。 The control circuit 15, with the above-mentioned configuration, causes the amplifier 14 to perform the three operations described below depending on the state of the signal that detects the connection of the external speaker 90 and the signal that detects the disconnection of the external speaker 90.

第1に、制御回路15は、外部スピーカ90の接続を検出しない場合には、増幅器14に内蔵スピーカ11を駆動させる。より具体的には、制御回路15は、接続検出回路13から外部スピーカ90の接続を検出する信号を受け取っていない場合には、増幅器14に対して、内蔵スピーカ11に音声信号を出力させる動作とするためのモード設定信号を送信する。この場合、増幅器14は、第1信号出力回路141と第2信号出力回路142との差動により内蔵スピーカ11を駆動させる。 First, when the control circuit 15 does not detect the connection of the external speaker 90, it causes the amplifier 14 to drive the built-in speaker 11. More specifically, when the control circuit 15 does not receive a signal detecting the connection of the external speaker 90 from the connection detection circuit 13, it sends a mode setting signal to the amplifier 14 to cause the built-in speaker 11 to output an audio signal. In this case, the amplifier 14 drives the built-in speaker 11 by the differential between the first signal output circuit 141 and the second signal output circuit 142.

第2に、制御回路15は、外部スピーカ90の接続を検出した場合には、増幅器14に内蔵スピーカ11に代えて外部スピーカ90を駆動させる。より具体的には、制御回路15は、接続検出回路13から外部スピーカ90の接続を検出した信号を受け取った場合には、増幅器14に対して、第2信号出力回路142からの音声信号の出力を停止させる動作とするためのモード設定信号を送信する。第2信号出力回路142からの音声信号の出力が停止することにより、内蔵スピーカ11は駆動を停止する。一方、外部スピーカ90は、第1信号出力回路141から音声信号を受け取り、音声を出力できる。 Secondly, when the control circuit 15 detects the connection of the external speaker 90, it causes the amplifier 14 to drive the external speaker 90 instead of the built-in speaker 11. More specifically, when the control circuit 15 receives a signal from the connection detection circuit 13 that detects the connection of the external speaker 90, it transmits a mode setting signal to the amplifier 14 to cause the amplifier 14 to stop outputting the audio signal from the second signal output circuit 142. When the output of the audio signal from the second signal output circuit 142 stops, the built-in speaker 11 stops driving. Meanwhile, the external speaker 90 can receive an audio signal from the first signal output circuit 141 and output audio.

第3に、制御回路15は、接続された外部スピーカ90の断線を検出した場合には、増幅器14に内蔵スピーカ11を駆動させる。より具体的には、制御回路15は、断線検出回路16から断線を検出する信号を受け取った場合、増幅器14に対して、内蔵スピーカ11を駆動させる動作とするためのモード設定信号を送信する。さらに制御回路15は、内蔵スピーカ11から所定の警告信号を出力させる制御を行う。警告信号は、例えば任意の周波数を有するビープ音の音声信号であってもよい。電子機器10は、内蔵スピーカ11から警告信号を出力させるために、警告信号を出力する音源回路を有している。例えば、増幅器14は、このような音源回路を含むものであっても良い。あるいは、電子機器10は、制御回路15により制御される音源回路を別個に有していてもよい。 Thirdly, when the control circuit 15 detects a disconnection of the connected external speaker 90, it causes the amplifier 14 to drive the built-in speaker 11. More specifically, when the control circuit 15 receives a signal detecting a disconnection from the disconnection detection circuit 16, it transmits a mode setting signal to the amplifier 14 to drive the built-in speaker 11. Furthermore, the control circuit 15 controls the built-in speaker 11 to output a predetermined warning signal. The warning signal may be, for example, a beep sound signal having an arbitrary frequency. The electronic device 10 has a sound source circuit that outputs a warning signal in order to output a warning signal from the built-in speaker 11. For example, the amplifier 14 may include such a sound source circuit. Alternatively, the electronic device 10 may have a separate sound source circuit controlled by the control circuit 15.

このように、断線した外部スピーカ90が接続された場合には、電子機器10は、接続検出回路13が外部スピーカ90の接続を検出し、かつ、断線検出回路16が外部スピーカ90の断線を検出する。そして電子機器10は、増幅器14に対して、第2信号出力回路142の停止を解除させるとともに、第1信号出力回路141および第2信号出力回路142から予め設定された警告信号を出力させる。 In this way, when a disconnected external speaker 90 is connected, the connection detection circuit 13 of the electronic device 10 detects the connection of the external speaker 90, and the disconnection detection circuit 16 detects the disconnection of the external speaker 90. The electronic device 10 then causes the amplifier 14 to release the stop of the second signal output circuit 142, and causes the first signal output circuit 141 and the second signal output circuit 142 to output preset warning signals.

次に制御回路15の端子15Cに接続する回路構成について説明する。図に示すように、電子機器10は、電源スイッチ100および抵抗102を有している。抵抗102は、電源101と制御回路15の端子15Cとの間に介在する。電源スイッチは、抵抗102と制御回路15の端子15Cとを結ぶ信号線から分岐してグランドに接地する信号線に介在する。このような構成により、電源スイッチ100がオフからオンに変化すると、端子15Cにおける電位は低下する。制御回路15は端子15Cにおける電位を監視することにより、電子機器10を起動するか否かを判断している。 Next, the circuit configuration connected to terminal 15C of control circuit 15 will be described. As shown in the figure, electronic device 10 has a power switch 100 and resistor 102. Resistor 102 is interposed between power source 101 and terminal 15C of control circuit 15. The power switch is interposed in a signal line that branches off from a signal line connecting resistor 102 and terminal 15C of control circuit 15 and is grounded to ground. With this configuration, when power switch 100 changes from off to on, the potential at terminal 15C drops. Control circuit 15 monitors the potential at terminal 15C to determine whether or not to start up electronic device 10.

断線検出回路16は、増幅器14の端子14Bから出力される音声信号の経路の状態から外部スピーカ90の断線を検出する。詳細には、断線検出回路16は、主な構成として、抵抗161およびコンデンサ162を有している。断線検出回路16は、増幅器14からの音声信号の経路を、抵抗161を介して制御回路15の端子15Bと接続する。抵抗161と端子15Bを接続する信号線は分岐したうえでコンデンサ162に接続し、さらにグランドに接地している。音声信号は交流信号であるため抵抗161とコンデンサ162により減衰し、端子15Bには直流電位のみ伝送される。このような構成により、断線検出回路16は、増幅器14の第1信号出力回路141の直流電位を抽出する。 The disconnection detection circuit 16 detects a disconnection of the external speaker 90 from the state of the path of the audio signal output from the terminal 14B of the amplifier 14. In detail, the disconnection detection circuit 16 mainly comprises a resistor 161 and a capacitor 162. The disconnection detection circuit 16 connects the path of the audio signal from the amplifier 14 to the terminal 15B of the control circuit 15 via the resistor 161. The signal line connecting the resistor 161 and the terminal 15B branches and is connected to the capacitor 162, and is further grounded. Since the audio signal is an AC signal, it is attenuated by the resistor 161 and the capacitor 162, and only the DC potential is transmitted to the terminal 15B. With this configuration, the disconnection detection circuit 16 extracts the DC potential of the first signal output circuit 141 of the amplifier 14.

ここで、接続された外部スピーカ90が断線していない場合の直流電位は、接続された外部スピーカ90が断線している場合の直流電位よりも低い値となる。すなわち、断線検出回路16は、上述の構成により、接続された外部スピーカ90が断線していない状態であるか、断線している状態であるかを検出できる。 Here, the DC potential when the connected external speaker 90 is not disconnected is lower than the DC potential when the connected external speaker 90 is disconnected. In other words, the disconnection detection circuit 16, with the above-mentioned configuration, can detect whether the connected external speaker 90 is in an open or disconnected state.

表示装置17は、例えば液晶パネルを含む表示装置である。表示装置17は、制御回路15に接続し、制御回路15の指示に応じて種々の情報を表示する。制御回路15は、電子機器10の電源が投入された直後、予め設定された初期動作期間が経過した後に所定の情報を表示する。 The display device 17 is, for example, a display device including a liquid crystal panel. The display device 17 is connected to the control circuit 15 and displays various information in response to instructions from the control circuit 15. The control circuit 15 displays the specified information immediately after the power supply of the electronic device 10 is turned on and after a preset initial operation period has elapsed.

なお初期動作期間とは、例えば、電子機器10が有するプログラムにおける初期タスクを実行する期間または各構成要素に投入された電圧が安定するまでの期間であって、より具体的には200ミリ秒や500ミリ秒などである。初期動作期間において、電子機器10は、例えば、種々の設定を行う。また電子機器10は、初期動作期間において、自己診断機能により不具合が発生していないことをチェックしてもよい。電子機器10は、初期動作期間経過後において、外部スピーカ90の接続を検出し、さらに断線検出を行ってもよい。 The initial operation period is, for example, a period during which the electronic device 10 executes an initial task in a program it has, or a period until the voltage applied to each component stabilizes, and is more specifically, 200 milliseconds or 500 milliseconds. During the initial operation period, the electronic device 10 performs, for example, various settings. During the initial operation period, the electronic device 10 may also check that no malfunctions have occurred using a self-diagnosis function. After the initial operation period has elapsed, the electronic device 10 may detect the connection of the external speaker 90 and may also detect a disconnection.

無線通信回路18は、アンテナを介して受け取った無線信号を所定の形式に従って処理することにより音声信号を生成する。無線通信回路18は、生成した音声信号を、増幅器14に供給する。無線通信回路18は、図示しないマイクから音声信号を受け取り、受け取った音声信号から無線信号を生成し、アンテナを介して無線信号を発信する機能を有しても良い。 The wireless communication circuit 18 generates an audio signal by processing the wireless signal received via the antenna according to a predetermined format. The wireless communication circuit 18 supplies the generated audio signal to the amplifier 14. The wireless communication circuit 18 may also have the function of receiving an audio signal from a microphone (not shown), generating a wireless signal from the received audio signal, and transmitting the wireless signal via the antenna.

スイッチ回路19は、制御回路15からオンの信号受けると、電源20から供給される電力を増幅器14に供給する。またスイッチ回路19は、制御回路15からオフの信号を受けると、電源20から供給される電力の増幅器14への供給を停止する。電源20は、例えばリチウムイオン電池を含む直流電源を発生させる装置である。 When the switch circuit 19 receives an ON signal from the control circuit 15, it supplies the power supplied from the power source 20 to the amplifier 14. When the switch circuit 19 receives an OFF signal from the control circuit 15, it stops supplying the power supplied from the power source 20 to the amplifier 14. The power source 20 is a device that generates DC power, including, for example, a lithium ion battery.

図2に示す外部スピーカ90は、電子機器10に接続して使用するためのスピーカであって、例えば任意のエンクロージャに収容されたスピーカと、一端がスピーカに接続され他端に接続プラグを有するケーブルにより構成される。接続プラグは、電子機器10の第1接点121および第2接点122に接続する負極側の端子と、第3接点123に接続する正極側の端子とを有する。 The external speaker 90 shown in FIG. 2 is a speaker for use in connection with the electronic device 10, and is composed of, for example, a speaker housed in an arbitrary enclosure and a cable having one end connected to the speaker and a connection plug at the other end. The connection plug has a negative terminal that connects to the first contact 121 and the second contact 122 of the electronic device 10, and a positive terminal that connects to the third contact 123.

次に、図3および図4を参照して電子機器10の状態の変化について説明する。図3は、外部スピーカ90が接続された電子機器10の信号を示すタイミングチャートである。図3に示すタイミングチャートは、横軸が時刻を示しており、縦軸は、6個の信号の推移が示されている。6個の信号は上から、本体電源のスイッチ信号、増幅器14の電源のスイッチ信号、増幅器14のバイアス信号、接続検出信号、断線検出信号および警告信号を示している。 Next, changes in the state of the electronic device 10 will be described with reference to Figures 3 and 4. Figure 3 is a timing chart showing signals of the electronic device 10 to which the external speaker 90 is connected. In the timing chart shown in Figure 3, the horizontal axis indicates time, and the vertical axis indicates the transitions of six signals. From the top, the six signals indicate the switch signal of the main power supply, the switch signal of the power supply of the amplifier 14, the bias signal of the amplifier 14, the connection detection signal, the disconnection detection signal, and the warning signal.

本体電源のスイッチ信号は、制御回路15の端子15Cの電位を示している。本体電源のスイッチ信号は、電源スイッチがオンになるとH(High)からL(Low)に変化する。図3に示すタイミングチャートにおいて、電子機器10は、時刻t1に電源スイッチがオンになり、本体電源のスイッチ信号は、HからLに切り替わっている。 The switch signal of the main power supply indicates the potential of terminal 15C of the control circuit 15. When the power switch is turned on, the switch signal of the main power supply changes from H (High) to L (Low). In the timing chart shown in FIG. 3, the power switch of the electronic device 10 is turned on at time t1, and the switch signal of the main power supply changes from H to L.

増幅器14の電源のスイッチ信号は、制御回路15の端子15Eの電位を示している。図3に示すように、時刻t1の後の時刻t2において、制御回路15は増幅器14の電源をオンにするために端子15Eの電位をLからHに変化させる。これによりスイッチ回路19がオンとなり、増幅器14に対して電源20から電力が供給される。 The switch signal of the power supply of amplifier 14 indicates the potential of terminal 15E of control circuit 15. As shown in FIG. 3, at time t2 after time t1, control circuit 15 changes the potential of terminal 15E from L to H to turn on the power supply of amplifier 14. This turns on switch circuit 19, and power is supplied from power supply 20 to amplifier 14.

増幅器14のバイアス信号は、第1信号出力回路141が出力する音声信号のバイアス電位すなわち端子14Bの電位を示している。図3に示すように、時刻t2の後の時刻t3から時刻t4において、端子14Bの電位はLからHに変化している。このようにバイアス電位がHになると、増幅器14は予め設定された音声信号を出力することが出来る。 The bias signal of amplifier 14 indicates the bias potential of the audio signal output by first signal output circuit 141, i.e., the potential of terminal 14B. As shown in FIG. 3, from time t3 to time t4 after time t2, the potential of terminal 14B changes from L to H. When the bias potential becomes H in this way, amplifier 14 can output a preset audio signal.

接続検出信号は、外部スピーカ90の接続を検出する信号であって、制御回路15の端子15Dの電位を示している。図3に示す例は、外部スピーカ90が接続された状態で本体電源が投入されているものとする。そのため図3に示すように、接続検出信号は少なくとも時刻t1以降において、Lである。 The connection detection signal is a signal that detects the connection of the external speaker 90, and indicates the potential of terminal 15D of the control circuit 15. In the example shown in FIG. 3, the main body is powered on with the external speaker 90 connected. Therefore, as shown in FIG. 3, the connection detection signal is L at least from time t1 onwards.

断線検出信号は、接続されている外部スピーカ90が断線しているか否かを示す信号であって、制御回路15の端子15Bの電位を示している。端子15Bの電位は、増幅器14の電源がオンになる前はLである。増幅器14の電源がオンになり、バイアス電位が上昇すると、これに対応して端子15Bの電位が上昇する。端子15Bの電位は、外部スピーカ90が断線していない場合にはH1になり、外部スピーカ90が断線している場合にはH1より高いH2になるように設定されている。図3に示す例は、外部スピーカ90が断線していないものとする。そのため時刻t3から時刻t4にかけて増幅器14のバイアス信号がLからHに変化すると、これに対応して、断線検出信号はLからH1に変化する。 The disconnection detection signal is a signal indicating whether the connected external speaker 90 is disconnected or not, and indicates the potential of terminal 15B of the control circuit 15. The potential of terminal 15B is L before the amplifier 14 is powered on. When the amplifier 14 is powered on and the bias potential rises, the potential of terminal 15B rises accordingly. The potential of terminal 15B is set to H1 if the external speaker 90 is not disconnected, and to H2, which is higher than H1, if the external speaker 90 is disconnected. In the example shown in FIG. 3, it is assumed that the external speaker 90 is not disconnected. Therefore, when the bias signal of the amplifier 14 changes from L to H from time t3 to time t4, the disconnection detection signal changes from L to H1 accordingly.

警告信号は、制御回路15から増幅器14に対して警告信号を出力することを指示するための信号を示している。警告信号は例えば制御回路15の端子15Aから増幅器14に供給される。なお警告信号は制御回路15の端子15Aとは異なる端子および信号線から増幅器14に供給されてもよい。制御回路15は、増幅器14に警告信号を出力させる場合には警告信号としてHを出力し、増幅器14に警告信号を出力させない場合には警告信号としてLを出力する。 The warning signal indicates a signal for instructing the control circuit 15 to output a warning signal to the amplifier 14. The warning signal is supplied to the amplifier 14 from terminal 15A of the control circuit 15, for example. The warning signal may be supplied to the amplifier 14 from a terminal and signal line other than terminal 15A of the control circuit 15. The control circuit 15 outputs H as a warning signal when causing the amplifier 14 to output a warning signal, and outputs L as a warning signal when not causing the amplifier 14 to output a warning signal.

また制御回路15には、初期動作期間P1が設定されている。図3の例の場合、制御回路15は、初期動作期間P1終了後の時刻t5において断線検出信号がH1であるかH2であるかを検出する。この場合、制御回路15は、増幅器14に警告信号を出力させる場合には時刻t5の後の時刻t6において警告信号をLからHに変化させる。ただし図3に示す例は外部スピーカ90が断線していない。そのため、警告信号はLが維持される。 In addition, the control circuit 15 is set with an initial operation period P1. In the example of FIG. 3, the control circuit 15 detects whether the breakage detection signal is H1 or H2 at time t5 after the end of the initial operation period P1. In this case, when the control circuit 15 causes the amplifier 14 to output a warning signal, it changes the warning signal from L to H at time t6 after time t5. However, in the example shown in FIG. 3, the external speaker 90 is not broken. Therefore, the warning signal remains L.

次に接続した外部スピーカ90が断線していた場合の例について説明する。図4は、外部スピーカ90が断線していた場合における電子機器10の信号を示すタイミングチャートである。図4に示すタイミングチャートは、断線検出信号および警告信号が図3に示すタイミングチャートと異なる。 Next, an example will be described in which the connected external speaker 90 is disconnected. FIG. 4 is a timing chart showing the signals of the electronic device 10 in the case where the external speaker 90 is disconnected. The timing chart shown in FIG. 4 differs from the timing chart shown in FIG. 3 in the disconnection detection signal and warning signal.

図4において、時刻t3からt4にかけて、増幅器14のバイアス信号がLからHに変化する。断線検出信号は、これに対応して、時刻t3からt4にかけてLからH2に変化する。H2は図3に示したH1より高い電位である。 In FIG. 4, the bias signal of the amplifier 14 changes from L to H from time t3 to t4. The open circuit detection signal correspondingly changes from L to H2 from time t3 to t4. H2 is a higher potential than H1 shown in FIG. 3.

また外部スピーカ90が断線しているため、図4に示すように、時刻t6において、警告信号はLからHに変化する。これは、制御回路15が初期動作期間P1終了後の時刻t5において断線検出信号がH2であることを検出したためである。これにより電子機器10は、予め接続しておいた外部スピーカ90が断線していた場合、本体の電源をオンにした直後に内蔵スピーカ11から警告信号を出力する。なお図4に示した警告信号は、時刻t6の後、所定の期間後にHからLに変化する設定であってもよい。このように、制御回路15は、電子機器10の電源投入時から予め設定された期間(初期動作期間)において断線を検出した場合に、警告信号を出力させる。 Also, because the external speaker 90 is disconnected, the warning signal changes from L to H at time t6 as shown in FIG. 4. This is because the control circuit 15 detects that the disconnection detection signal is H2 at time t5 after the end of the initial operation period P1. As a result, if the external speaker 90 that was previously connected is disconnected, the electronic device 10 outputs a warning signal from the built-in speaker 11 immediately after the main unit is powered on. Note that the warning signal shown in FIG. 4 may be set to change from H to L a predetermined period after time t6. In this way, the control circuit 15 outputs a warning signal if it detects a disconnection during a predetermined period (initial operation period) from when the electronic device 10 is powered on.

次に、図5を参照して電子機器10が行う外部スピーカの断線検出処理について説明する。図5は、実施の形態にかかる電子機器10が行うフローチャートである。図5に示すフローチャートは、電子機器10の制御回路15が行う処理について示している。 Next, the disconnection detection process for an external speaker performed by the electronic device 10 will be described with reference to FIG. 5. FIG. 5 is a flowchart performed by the electronic device 10 according to the embodiment. The flowchart shown in FIG. 5 shows the process performed by the control circuit 15 of the electronic device 10.

まず制御回路15は、本体の電源がオンか否かを判断する(ステップS10)。より具体的には、制御回路15は、例えば、端子15Cの状態を監視し、端子15Cの電位がHからLに変化した場合に本体の電源がオンになったと判断する。本体の電源がオンになったと判断しない場合(ステップS10:No)、制御回路15は、ステップS10を繰り返す。本体の電源がオンになったと判断した場合(ステップS10:Yes)、制御回路15は、ステップS11に進む。 First, the control circuit 15 determines whether the power of the main body is on or not (step S10). More specifically, the control circuit 15 monitors the state of terminal 15C, for example, and determines that the power of the main body is on when the potential of terminal 15C changes from H to L. If the control circuit 15 does not determine that the power of the main body is on (step S10: No), it repeats step S10. If the control circuit 15 determines that the power of the main body is on (step S10: Yes), it proceeds to step S11.

次に、制御回路15は、外部スピーカが接続されているか否かを判断する(ステップS11)。より具体的には、制御回路15は、端子15Dの電位がLの場合に外部スピーカが接続された状態であると判断する。外部スピーカが接続されていると判断しない場合(ステップS11:No)、制御回路15は、ステップS13に進む。一方、外部スピーカが接続されていると判断する場合(ステップS11:Yes)、制御回路15は、ステップS12に進む。 Next, the control circuit 15 determines whether or not an external speaker is connected (step S11). More specifically, the control circuit 15 determines that an external speaker is connected when the potential of terminal 15D is L. If the control circuit 15 does not determine that an external speaker is connected (step S11: No), the control circuit 15 proceeds to step S13. On the other hand, if the control circuit 15 determines that an external speaker is connected (step S11: Yes), the control circuit 15 proceeds to step S12.

ステップS12において、制御回路15は、増幅器14に外部スピーカを駆動させる処理を行う。すなわちこの場合、制御回路15は、増幅器14に対して、接続検出回路が接続を検出した場合には、増幅器14に、第2信号出力回路142からの音声信号の出力を停止させる。これにより内蔵スピーカ11は駆動を停止するとともに、接続された外部スピーカに対しては、第1信号出力回路141から音声信号が供給されることになる。 In step S12, the control circuit 15 performs a process to cause the amplifier 14 to drive the external speaker. That is, in this case, when the connection detection circuit detects a connection to the amplifier 14, the control circuit 15 causes the amplifier 14 to stop outputting an audio signal from the second signal output circuit 142. As a result, the built-in speaker 11 stops driving, and an audio signal is supplied from the first signal output circuit 141 to the connected external speaker.

ステップS12の後、制御回路15は、接続された外部スピーカが断線していることを示す断線信号を検出したか否かを判断する(ステップS14)。より具体的には、制御回路15は、図3および図4において示した断線検出信号を監視し、端子15Bの電位に応じた判断を行う。端子15Bの電位がH1であって、断線信号を検出したと判断しない場合(ステップS14:No)、制御回路15は、断線検出処理を終了する。一方、端子15Bの電位がH1より高いH2であって、断線信号を検出したと判断した場合(ステップS14:Yes)、制御回路15は、ステップS15に進む。 After step S12, the control circuit 15 judges whether or not a disconnection signal indicating that the connected external speaker is disconnected has been detected (step S14). More specifically, the control circuit 15 monitors the disconnection detection signal shown in FIG. 3 and FIG. 4, and makes a judgment according to the potential of the terminal 15B. If the potential of the terminal 15B is H1 and it is not judged that a disconnection signal has been detected (step S14: No), the control circuit 15 ends the disconnection detection process. On the other hand, if the potential of the terminal 15B is H2, which is higher than H1, and it is judged that a disconnection signal has been detected (step S14: Yes), the control circuit 15 proceeds to step S15.

ステップS15において、制御回路15は、増幅器14に警告信号を出力させる(ステップS15)。すなわち制御回路15は、図4に示したように、警告信号を出力させるための信号をLからHに変化させる。これにより、制御回路15は、増幅器14に、第2信号出力回路142の停止を解除させるとともに、第1信号出力回路141および第2信号出力回路142から予め設定された警告信号を出力させる。制御回路15は、所定の警告信号を出力させると、断線検出処理を終了する。 In step S15, the control circuit 15 causes the amplifier 14 to output a warning signal (step S15). That is, as shown in FIG. 4, the control circuit 15 changes the signal for outputting the warning signal from L to H. As a result, the control circuit 15 causes the amplifier 14 to release the stop of the second signal output circuit 142 and to output preset warning signals from the first signal output circuit 141 and the second signal output circuit 142. When the control circuit 15 has output the predetermined warning signal, it ends the disconnection detection process.

ステップS13において、制御回路15は、増幅器14に内蔵スピーカ11を駆動させるための処理を行う。すなわちこの場合、制御回路15は、増幅器14に対して、増幅器14を第1信号出力回路141と第2信号出力回路142とによる差動で音声信号を出力させる。そして、ステップS13の後、制御回路15は、断線検出処理を終了する。 In step S13, the control circuit 15 performs processing to cause the amplifier 14 to drive the built-in speaker 11. That is, in this case, the control circuit 15 causes the amplifier 14 to output an audio signal differentially from the first signal output circuit 141 and the second signal output circuit 142. Then, after step S13, the control circuit 15 ends the disconnection detection processing.

以上、実施の形態について説明した。実施の形態にかかる電子機器10は、上述の構成に限定されるものではない。例えば断線検出回路16は、増幅器14の第1信号出力回路141の直流電位を抽出することができれば上述の構成に限られない。断線検出回路16は、上述の構成に代えて、例えば直流電位を検出できるIC(Integrated Circuit)を利用してもよい。 The above describes the embodiment. The electronic device 10 according to the embodiment is not limited to the above-mentioned configuration. For example, the open circuit detection circuit 16 is not limited to the above-mentioned configuration as long as it can extract the DC potential of the first signal output circuit 141 of the amplifier 14. Instead of the above-mentioned configuration, the open circuit detection circuit 16 may use, for example, an IC (Integrated Circuit) that can detect the DC potential.

上述の電子機器10が行う断線検出処理において、制御回路15は、表示装置17に対して外部スピーカ90が断線していることを示す表示を出力してもよい。これにより電子機器10はユーザに対して外部スピーカ90が断線している旨のメッセージを視覚的に認識させることができる。 In the disconnection detection process performed by the electronic device 10 described above, the control circuit 15 may output to the display device 17 a display indicating that the external speaker 90 is disconnected. This allows the electronic device 10 to visually notify the user of a message indicating that the external speaker 90 is disconnected.

以上に説明したとおり、実施の形態にかかる電子機器10は、外部スピーカが接続された場合に内蔵スピーカ11の駆動を停止するように構成されている一方、予め接続された外部スピーカが断線していた場合には、内蔵スピーカ11の停止を解除するとともに、内蔵スピーカ11から警告信号を出力させることができる。これによりユーザは、電子機器10の電源を投入した際に、外部スピーカが断線していることを簡便に認識できる。 As described above, the electronic device 10 according to the embodiment is configured to stop driving the built-in speaker 11 when an external speaker is connected, while if the previously connected external speaker is disconnected, the built-in speaker 11 is released from the stopped state and a warning signal is output from the built-in speaker 11. This allows the user to easily recognize that the external speaker is disconnected when the electronic device 10 is powered on.

なお、上述したプログラムは、様々なタイプの非一時的なコンピュータ可読媒体を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD-ROM(Read Only Memory)CD-R、CD-R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 The above-mentioned program can be stored and supplied to a computer using various types of non-transitory computer-readable media. Non-transitory computer-readable media include various types of tangible recording media. Examples of non-transitory computer-readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R/Ws, and semiconductor memories (e.g., mask ROMs, PROMs (Programmable ROMs), EPROMs (Erasable PROMs), flash ROMs, and RAMs (Random Access Memory)). The program may also be supplied to a computer by various types of temporary computer-readable media. Examples of temporary computer-readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable media can supply the program to a computer via wired communication paths such as electric wires and optical fibers, or wireless communication paths.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 The present invention is not limited to the above embodiment, and can be modified as appropriate without departing from the spirit and scope of the invention.

10 電子機器
11 内蔵スピーカ
12 接続端子
13 接続検出回路
14 増幅器
14A、14B 端子
15 制御回路
15A~15E 端子
16 断線検出回路
17 表示装置
18 無線通信回路
19 スイッチ回路
20 電源
90 外部スピーカ
100 電源スイッチ
101 電源
102 抵抗
103 抵抗
104 抵抗
105 コンデンサ
141 第1信号出力回路
142 第2信号出力回路
161 抵抗
162 コンデンサ
10 Electronic device 11 Built-in speaker 12 Connection terminal 13 Connection detection circuit 14 Amplifier 14A, 14B Terminal 15 Control circuits 15A to 15E Terminal 16 Disconnection detection circuit 17 Display device 18 Wireless communication circuit 19 Switch circuit 20 Power supply 90 External speaker 100 Power switch 101 Power supply 102 Resistor 103 Resistor 104 Resistor 105 Capacitor 141 First signal output circuit 142 Second signal output circuit 161 Resistor 162 Capacitor

Claims (5)

内蔵スピーカと、
2本の信号線を有する外部スピーカを動作可能に接続する接続端子と、
前記外部スピーカと前記接続端子との接続を検出する接続検出回路と、
前記内蔵スピーカと接続された前記外部スピーカとを、それぞれ異なる動作により駆動する増幅器と、
前記接続検出回路が前記外部スピーカと前記接続端子との接続を検出した場合には、前記増幅器が前記外部スピーカを駆動させる動作に制御する制御回路と、
前記増幅器が供給する音声信号の直流電位に基づいて、接続された前記外部スピーカの断線を検出する断線検出回路と、を備え、
前記接続端子は、前記外部スピーカの一方の前記信号線を前記増幅器の音声信号を出力する端子に接続するとともに他方の前記信号線をグランドに接続し、
前記制御回路は、前記接続検出回路が前記外部スピーカと前記接続端子との接続を検出した場合、前記増幅器の音声信号を出力する端子に接続する前記信号線に音声信号を供給するよう前記増幅器を制御し、さらに、前記断線検出回路が出力する直流電位の値から前記断線を判断し、前記断線を判断した場合には、前記増幅器に対して前記内蔵スピーカを駆動させる動作とし、前記内蔵スピーカから警告信号を出力させる制御を行う、
電子機器。
With built-in speaker,
a connection terminal for operatively connecting an external speaker having two signal lines;
a connection detection circuit that detects a connection between the external speaker and the connection terminal;
an amplifier that drives the built-in speaker and the connected external speaker by different operations;
a control circuit that controls the amplifier to drive the external speaker when the connection detection circuit detects a connection between the external speaker and the connection terminal;
a disconnection detection circuit that detects a disconnection of the connected external speaker based on a DC potential of the audio signal supplied by the amplifier,
the connection terminal connects one of the signal lines of the external speaker to a terminal of the amplifier that outputs an audio signal, and connects the other of the signal lines to ground;
When the connection detection circuit detects a connection between the external speaker and the connection terminal, the control circuit controls the amplifier to supply an audio signal to the signal line connected to a terminal that outputs an audio signal of the amplifier, and further determines the disconnection from the value of the DC potential output by the disconnection detection circuit, and when the control circuit determines the disconnection, controls the amplifier to drive the built-in speaker and outputs a warning signal from the built-in speaker.
Electronics.
前記増幅器は、前記内蔵スピーカおよび前記接続端子に音声信号を出力する第1信号出力回路と、前記内蔵スピーカに音声信号を出力する第2信号出力回路と、を有し、
前記断線検出回路は、前記増幅器の前記第1信号出力回路の直流電位に基づいて前記断線を検出し、
前記制御回路は、
前記接続検出回路が前記接続を検出していない場合には、前記増幅器を前記第1信号出力回路と前記第2信号出力回路とによる差動で音声信号を出力させる動作とし、
前記接続検出回路が前記接続を検出した場合には、前記増幅器に、前記第2信号出力回路からの音声信号の出力を停止させる動作とし、
前記接続検出回路が前記接続を検出し、かつ、前記断線検出回路が前記断線を検出した場合には、前記増幅器に、前記第2信号出力回路の前記停止を解除させるとともに、前記第1信号出力回路および前記第2信号出力回路から予め設定された警告信号を出力させる
請求項1に記載の電子機器。
the amplifier includes a first signal output circuit that outputs an audio signal to the built-in speaker and the connection terminal, and a second signal output circuit that outputs an audio signal to the built-in speaker;
the disconnection detection circuit detects the disconnection based on a DC potential of the first signal output circuit of the amplifier;
The control circuit includes:
When the connection detection circuit does not detect the connection, the amplifier is operated to output an audio signal differentially by the first signal output circuit and the second signal output circuit,
when the connection detection circuit detects the connection, the amplifier is caused to stop outputting the audio signal from the second signal output circuit;
2. The electronic device according to claim 1, wherein when the connection detection circuit detects the connection and the break detection circuit detects the break, the amplifier is caused to release the stop of the second signal output circuit and to output a preset warning signal from the first signal output circuit and the second signal output circuit.
前記制御回路は、前記電子機器の電源投入時から予め設定された期間において前記断線を検出した場合に、前記警告信号を出力させる
請求項1または2に記載の電子機器。
3 . The electronic device according to claim 1 , wherein the control circuit outputs the warning signal when the control circuit detects the disconnection within a preset period from when the electronic device is powered on.
内蔵スピーカと、
2本の信号線を有する外部スピーカを動作可能に接続する接続端子と、
前記内蔵スピーカと接続された前記外部スピーカとを、それぞれ異なる動作により駆動する増幅器と、
を備える電子機器が行う断線警告方法であって、
前記外部スピーカと前記接続端子との接続を検出する接続検出ステップと、
前記外部スピーカと前記接続端子との接続を検出した場合には、前記増幅器が前記外部スピーカを駆動させるために2本の前記信号線のうち前記増幅器の音声信号を出力する端子に接続する1本の前記信号線に音声信号を供給するよう前記増幅器を制御する制御ステップと、
前記増幅器が供給する音声信号の直流電位の値から、接続された前記外部スピーカの断線を検出する断線検出ステップと、
前記断線を検出した場合には、前記増幅器に対して前記内蔵スピーカから警告信号を出力させる警告ステップと、を備える
断線警告方法。
With built-in speaker,
a connection terminal for operatively connecting an external speaker having two signal lines;
an amplifier that drives the built-in speaker and the connected external speaker by different operations;
A method for warning a disconnection performed by an electronic device comprising:
a connection detection step of detecting a connection between the external speaker and the connection terminal;
a control step of controlling the amplifier so that, when a connection between the external speaker and the connection terminal is detected, the amplifier supplies an audio signal to one of the two signal lines connected to a terminal for outputting an audio signal of the amplifier in order to drive the external speaker;
a disconnection detection step of detecting a disconnection of the connected external speaker based on a value of a DC potential of an audio signal supplied by the amplifier;
a warning step of causing the amplifier to output a warning signal from the built-in speaker when the disconnection is detected.
内蔵スピーカと、
2本の信号線を有する外部スピーカを動作可能に接続する接続端子と、
前記内蔵スピーカと接続された前記外部スピーカとを、それぞれ異なる動作により駆動する増幅器と、
を備える電子機器に実行させる断線警告プログラムであって、
前記外部スピーカと前記接続端子との接続を検出する接続検出ステップと、
前記外部スピーカと前記接続端子との接続を検出した場合には、前記増幅器が前記外部スピーカを駆動させるために2本の前記信号線のうち前記増幅器の音声信号を出力する端子に接続する1本の前記信号線に音声信号を供給するよう前記増幅器を制御する制御ステップと、
前記増幅器が供給する音声信号の直流電位の値から、接続された前記外部スピーカの断線を検出する断線検出ステップと、
前記断線を検出した場合には、前記増幅器に対して前記内蔵スピーカから警告信号を出力させる警告ステップと、を備える
断線警告プログラム。
With built-in speaker,
a connection terminal for operatively connecting an external speaker having two signal lines;
an amplifier that drives the built-in speaker and the connected external speaker by different operations;
A disconnection warning program to be executed by an electronic device comprising:
a connection detection step of detecting a connection between the external speaker and the connection terminal;
a control step of controlling the amplifier so that, when a connection between the external speaker and the connection terminal is detected, the amplifier supplies an audio signal to one of the two signal lines connected to a terminal for outputting an audio signal of the amplifier in order to drive the external speaker;
a disconnection detection step of detecting a disconnection of the connected external speaker based on a value of a DC potential of an audio signal supplied by the amplifier;
a warning step of causing the amplifier to output a warning signal from the built-in speaker when the disconnection is detected.
JP2020015215A 2020-01-31 2020-01-31 Electronic device, disconnection warning method, and disconnection warning program Active JP7505191B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020015215A JP7505191B2 (en) 2020-01-31 2020-01-31 Electronic device, disconnection warning method, and disconnection warning program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020015215A JP7505191B2 (en) 2020-01-31 2020-01-31 Electronic device, disconnection warning method, and disconnection warning program

Publications (2)

Publication Number Publication Date
JP2021125702A JP2021125702A (en) 2021-08-30
JP7505191B2 true JP7505191B2 (en) 2024-06-25

Family

ID=77459610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020015215A Active JP7505191B2 (en) 2020-01-31 2020-01-31 Electronic device, disconnection warning method, and disconnection warning program

Country Status (1)

Country Link
JP (1) JP7505191B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005176157A (en) 2003-12-15 2005-06-30 Sanyo Electric Co Ltd Voice circuit
JP2008098740A (en) 2006-10-06 2008-04-24 Matsushita Electric Ind Co Ltd Audio apparatus, and portable telephone
JP2010245758A (en) 2009-04-03 2010-10-28 Yamaha Corp Speaker amplifier with warning sound generation function
JP2014068066A (en) 2012-09-24 2014-04-17 Alinco Inc Disconnection detection circuit and method, wireless transmitter/receiver and electronic apparatus
JP2017514549A (en) 2014-03-26 2017-06-08 ティ・オ・ドォッブルビィ・エンジニアリング・アー/エス Bioelectric signal monitor with two speakers
JP2017112428A (en) 2015-12-14 2017-06-22 アンデン株式会社 Vehicle approach notification device
JP2018116493A (en) 2017-01-18 2018-07-26 株式会社デンソー Emergency notification device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005176157A (en) 2003-12-15 2005-06-30 Sanyo Electric Co Ltd Voice circuit
JP2008098740A (en) 2006-10-06 2008-04-24 Matsushita Electric Ind Co Ltd Audio apparatus, and portable telephone
JP2010245758A (en) 2009-04-03 2010-10-28 Yamaha Corp Speaker amplifier with warning sound generation function
JP2014068066A (en) 2012-09-24 2014-04-17 Alinco Inc Disconnection detection circuit and method, wireless transmitter/receiver and electronic apparatus
JP2017514549A (en) 2014-03-26 2017-06-08 ティ・オ・ドォッブルビィ・エンジニアリング・アー/エス Bioelectric signal monitor with two speakers
JP2017112428A (en) 2015-12-14 2017-06-22 アンデン株式会社 Vehicle approach notification device
JP2018116493A (en) 2017-01-18 2018-07-26 株式会社デンソー Emergency notification device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DJ-P221(L/M)(アルインコ),月刊FBニュース,2013年11月号,[オンライン],2013年11月,インターネット<URL:https://www.fbnews.jp/201311/jaia/DJ-P221.html>,[検索日:2023年8月25日]
DJ-P221セットモードについて,[オンライン],2013年11月,インターネット<URL:https://www.alinco.co.jp/files/user/electron/dl/DJP221_setmode_inst.pdf>,[検索日:2023年7月4日]
特定小電力ハンディトランシーバーDJ-P221取扱説明書,[オンライン],2013年11月,インターネット<URL:https://www.alinco.co.jp/direct/topics/topics_file_download/?topics_id=3799&ext_no=02&index=0&disp=inline>,[検索日:2023年7月4日]

Also Published As

Publication number Publication date
JP2021125702A (en) 2021-08-30

Similar Documents

Publication Publication Date Title
EP2645737B1 (en) Apparatus and method for interfacing earphone
US9872103B2 (en) Microphone biasing circuitry and method thereof
KR101646964B1 (en) Circuit apparatus and method for recognition earphone in electronic device
US20140003616A1 (en) Headset Impedance Detection
CN105814912B (en) Sound wireless transmitting system, loudspeaking equipment and source device
KR100714023B1 (en) Speaker system of mobile device
KR101209558B1 (en) An antitheft apparatus and method of smart device
JP6484814B2 (en) Acoustic device, acoustic system, mobile device, and fault diagnosis method for acoustic system
KR20190054428A (en) An device and a method for controlling a microphone according to a connection of an external accessory
US20080208377A1 (en) Universal audio interface apparatus and audio processing device using the same
JP7505191B2 (en) Electronic device, disconnection warning method, and disconnection warning program
US9848270B2 (en) Electronic device, earphone, and electronic device system
US9584893B2 (en) Apparatus and method for recovering from partial insertion of an audio jack
EP2770748B1 (en) Apparatus, systems and methods for detecting insertion or removal of an audio accessory from an electronic device
JP5611650B2 (en) Electronics
US11343367B2 (en) Radio communication apparatus and method with switch for internal/external speaker-microphone mechanism used in radio and PTT communications
KR101584345B1 (en) Ear Set and Acoustic Processing System Including The Same
JP2001045598A (en) Inspection device for connection line for remote controller in broadcast unit
JP2012142863A (en) Portable electronic device, hold setting system, control method of portable electronic device, and program
JP2001101554A (en) Telephone system for fire alarm system
US20160179457A1 (en) Recording/reproducing apparatus with wireless lan function
JP2011139232A (en) Electric apparatus
KR101661888B1 (en) Earphone with controller
US10514726B2 (en) Mobile terminal sending out sound via multifunctional battery cover and method thereof
JP2011233037A (en) Electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230803

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231010

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240313

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240527