Wireless communication device, control method, and control program
The integration of connection and disconnection detection circuits in wireless communication devices ensures continuous voice communication by automatically switching to internal audio components when external connections fail, addressing the issue of disrupted communication due to undetected disconnections.
Patent Information
- Application Number
- JP2020040704
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-03-10
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2040-03-10
AI Technical Summary
Existing wireless communication devices fail to detect disconnections in external speakers and microphones without visual confirmation, leading to disrupted voice communication unless the disconnected device is manually removed.
Incorporating a connection detection circuit, drive setting circuit, and disconnection detection circuit to automatically switch to built-in speakers and microphones when external connections are lost, ensuring continuous voice communication.
Enables uninterrupted voice communication by seamlessly transitioning to internal components upon detecting disconnections in external audio signal lines, maintaining communication without user intervention.
Smart Images

Figure 0007532816000001 
Figure 0007532816000006 
Figure 0007532816000007
Abstract
Description
[Technical field]
[0001] The present invention relates to a wireless communication device, a control method, and a control program. [Background technology]
[0002] Electronic devices such as wireless communication devices have built-in speakers and microphones, and also have connection terminals for connecting external speakers and microphones by wire. Such electronic devices are set so that the built-in speakers and microphones are automatically disabled when the external speakers and microphones are connected. For such electronic devices, a technique has been developed for detecting disconnection of the connected external speakers and microphones.
[0003] 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 returns. When the electronic device detects a disconnection, it displays a message on a display unit notifying the user of the disconnection. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2014-068066 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, the occurrence of a disconnection in the electronic device cannot be known without looking at the display unit, and when a disconnection occurs in the electronic device, communication cannot be continued unless the disconnected device is removed.
[0006] The present invention has been made to solve such problems, and aims to provide a wireless communication device etc. that can continue audio communication suitably even if the audio signal line to the external speaker is disconnected. [Means for solving the problem]
[0007] The wireless communication device according to the present invention includes a transmission / reception circuit, a built-in speaker, a built-in microphone, an external connection terminal, a connection detection circuit, a drive setting circuit, and a disconnection detection circuit. The transmission / reception circuit transmits a transmission audio signal and receives a reception audio signal in wireless communication. The external connection terminal connects an external speaker / microphone having an external speaker and an external microphone so as to be drivable. The connection detection circuit detects a connection between the external speaker / microphone and the external connection terminal. The drive setting circuit drives the built-in speaker and the built-in microphone when the connection detection circuit does not detect a connection, and drives the external speaker / microphone instead of the built-in speaker and the built-in microphone when the connection detection circuit detects a connection. The disconnection detection circuit detects a disconnection of an audio signal line related to the external speaker in the connected external speaker / microphone. Furthermore, the drive setting circuit sets the built-in speaker to output audio related to the reception audio signal instead of the external speaker when the disconnection detection circuit detects a disconnection.
[0008] The control method according to the present invention is a control method for a wireless communication device having a built-in speaker, a built-in microphone, a PTT switch, and a connection terminal for drivably connecting an external speaker / microphone having an external speaker and an external microphone. The control method includes a connection detection step, an external device driving step, a disconnection detection step, and a drive setting step. The connection detection step detects a connection between the external speaker / microphone and the connection terminal. The external device driving step drives the external speaker / microphone instead of the built-in speaker and the built-in microphone when the connection is detected. The disconnection detection step detects a disconnection of an audio signal line related to the external speaker in the connected external speaker / microphone. Furthermore, the drive setting step sets the built-in speaker instead of the external speaker to output audio related to the received audio signal when the disconnection is detected.
[0009] The control program according to the present invention is a control program executed by a wireless communication device having a built-in speaker, a built-in microphone, a PTT switch, and a connection terminal for drivably connecting an external speaker / microphone having an external speaker and an external microphone. The control program includes a connection detection step, an external device driving step, a disconnection detection step, and a drive setting step. The connection detection step detects a connection between the external speaker / microphone and the connection terminal. The external device driving step drives the external speaker / microphone instead of the built-in speaker and the built-in microphone when the connection is detected. The disconnection detection step detects a disconnection of an audio signal line related to the external speaker in the connected external speaker / microphone. Furthermore, the drive setting step sets the built-in speaker instead of the external speaker to output audio related to the received audio signal when the disconnection is detected. Effect of the Invention
[0010] According to the present invention, it is possible to provide a wireless communication device etc. that can preferably continue audio communication even if an audio signal line for a connected external speaker is disconnected. [Brief description of the drawings]
[0011] [Figure 1] 1 is a schematic diagram of a wireless communication device and an external speaker-microphone according to a first embodiment. [Diagram 2] 1 is a block diagram of a wireless communication device according to a first embodiment. [Diagram 3] 1 is an overview showing a state in which a wireless communication device and an external speaker microphone are connected; [Figure 4] 1 is a block diagram showing a state in which a wireless communication device and an external speaker microphone are connected. [Diagram 5] 5 is a flowchart showing a process of the wireless communication device according to the first embodiment. [Figure 6] FIG. 11 is a first block diagram showing a state in which an audio signal line to an external speaker is disconnected. [Figure 7] FIG. 2 is a second block diagram showing a state in which an audio signal line to an external speaker is disconnected. [Figure 8] FIG. 11 is a block diagram of a wireless communication device and an external speaker-microphone according to a second embodiment. [Figure 9] 11 is a flowchart showing a process of the wireless communication device according to the second embodiment. [Figure 10] 11 is a flowchart showing a process of the wireless communication device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] The present invention will be described below through the embodiments of the invention, but the invention according to the claims is not limited to the following embodiments. In addition, not all of the configurations described in the embodiments are necessarily essential as means for solving the problems. In order to clarify the explanation, the following description and drawings are omitted and simplified as appropriate. In each drawing, the same elements are given the same reference numerals, and duplicate explanations are omitted as necessary.
[0013] <Embodiment 1> Hereinafter, the first embodiment will be described with reference to the drawings. First, the configuration of an electronic device according to the present embodiment will be described with reference to Fig. 1. Fig. 1 is an overview of a wireless communication device and an external speaker microphone according to the first embodiment. The left side of Fig. 1 shows a wireless communication device 100 according to the first embodiment, and the right side of Fig. 1 shows an external speaker microphone 200 connected to the wireless communication device 100 according to the first embodiment.
[0014] The wireless communication device 100 is one embodiment of a wireless communication device. The wireless communication device 100 has a function as a transceiver that outputs an audio signal received from a communication destination by wireless communication from a speaker, and also collects audio such as a user's speech from a microphone and transmits it to the communication destination as a transmission signal. Note that the audio signal in the present invention includes not only human voices but also signals in the audible frequency band that can be transmitted by the wireless communication device 100, such as tone signals for controlling the wireless communication device 100 and confirmation sounds used in communication.
[0015] The external speaker / microphone 200 is an external device configured to be connectable to the wireless communication device 100. The external speaker / microphone 200 has an external speaker 201 and an external microphone 202. Details of the external speaker / microphone 200 will be described later.
[0016] The configuration of the wireless communication device 100 will be described below with reference to a schematic diagram of the wireless communication device 100. The wireless communication device 100 shown in Fig. 1 has, as its main components, a housing 101, an antenna 102, a volume control unit 103, an external connection terminal 104, a power switch 107, a PTT switch 108, an operation unit 109, a display unit 110, a built-in speaker 111, and a built-in microphone 112.
[0017] Housing 101 is a container that houses each component of wireless communication device 100. Antenna 102 protruding from housing 101 is an antenna for wireless communication between wireless communication device 100 and a communication destination, and is set to be able to transmit and receive predetermined radio waves. Volume adjustment unit 103 is an adjustment knob for adjusting the volume of the sound output from the speaker, and is set so that turning it in one direction increases the volume and turning it in the other direction decreases the volume.
[0018] The external connection terminal 104 is an interface for connecting an external speaker / microphone 200 that is connected as an option to the wireless communication device 100. For example, what is generally called a phone jack, a phone connector, or an AUX terminal (AUX=auxiliary) can be adopted as the external connection terminal 104. The external connection terminal 104 has a speaker connection terminal 105 and a microphone connection terminal 106.
[0019] The speaker connection terminal 105 is an interface for connecting the external speaker 201 so as to be capable of driving the external speaker 201. The speaker connection terminal 105 has a shape for receiving the interface of the corresponding external speaker 201. In this embodiment, the speaker connection terminal 105 has a predetermined hole shape.
[0020] Microphone connection terminal 106 is an interface for connecting external microphone 202 so as to be operable. Microphone connection terminal 106 has a shape for receiving the interface of the corresponding external microphone 202. In this embodiment, microphone connection terminal 106 has a predetermined hole shape. Note that microphone connection terminal 106 may have a different shape, size, etc. from speaker connection terminal 105 in order to prevent erroneous insertion of a terminal for an external speaker.
[0021] Power switch 107 is a switch for turning on or off the power of wireless communication device 100. For example, wireless communication device 100 starts up the system when power switch 107 is pressed, and shuts down the system when power switch 107 is pressed again.
[0022] The PTT switch 108 is a button for implementing a push-to-talk (PTT) function. The push-to-talk function is a function in which, while the button is pressed (on state), the device transmits an audio signal of the voice picked up by the microphone (transmission state), and, while the button is not pressed (off state), the device receives an audio signal from the communication destination without transmitting (reception state). When a user wants to transmit a speech, the user presses the PTT switch 108, speaks while holding down the PTT switch 108, and releases the PTT switch 108 after finishing speaking. That is, the wireless communication device 100 according to the present embodiment communicates by simplex.
[0023] Operation unit 109 includes a plurality of buttons and accepts predetermined operations such as switching channels and switching other operation modes in wireless communication device 100. Display unit 110 is a display unit for displaying various information to be presented to a user, and includes, for example, a liquid crystal panel.
[0024] The built-in speaker 111 outputs an audio signal received from a communication destination as audio. The built-in microphone 112 picks up audio around the wireless communication device 100, such as a user's speech, and generates an audio signal from the picked up audio.
[0025] Next, the external speaker microphone 200 will be described with reference to Fig. 1. The external speaker microphone 200 has an external speaker 201, an external microphone 202, an external terminal unit 203, a speaker cable 206, and a microphone cable 207 as its main components.
[0026] The external speaker 201 outputs the received audio signal as audio when the external speaker microphone 200 is connected to the wireless communication device 100. The external speaker 201 is connected to the external terminal unit 203 via a speaker cable 206. The external speaker 201 may be an earphone or a headphone.
[0027] The external microphone 202 is a microphone that picks up surrounding sounds and generates an audio signal for transmission to a communication destination when the external speaker microphone 200 is connected to the wireless communication device 100. The external microphone 202 is connected to the external terminal unit 203 via a microphone cable 207.
[0028] The external terminal unit 203 is an interface for connecting the external speaker microphone 200 to the wireless communication device 100, and includes a speaker plug 204 and a microphone plug 205. Note that the speaker plug 204 and the microphone plug 205 do not have to be integrated into the external terminal unit 203, and the speaker plug 204 and the microphone plug 205 may be separate external terminal units. The speaker plug 204 is connected to the external speaker 201 via a speaker cable 206. The speaker plug 204 has a convex shape, and is fitted into the speaker connection terminal 105 to make conductive contact. The microphone plug 205 is connected to the external microphone 202 via a microphone cable 207. The microphone plug 205 has a convex shape, and is fitted into the microphone connection terminal 106 to make conductive contact. When the external terminal unit 203 is connected to the external connection terminal 104 of the wireless communication device 100, the speaker connection terminal 105 and the speaker plug 204 are in conductive contact, and the microphone connection terminal 106 and the microphone plug 205 are in conductive contact.
[0029] Next, the wireless communication device 100 will be further described with reference to Fig. 2. Fig. 2 is a block diagram of the wireless communication device 100 according to the first embodiment. The wireless communication device 100 shown in Fig. 2 mainly includes an antenna 102, a volume control unit 103, an external connection terminal 104, a built-in speaker 111, a built-in microphone 112, a control circuit 120, and a transmission / reception circuit 124. The wireless communication device 100 further includes a display unit 110, a power switch 107, a PTT switch 108, and an operation unit 109.
[0030] The antenna 102 is connected to the transmission / reception circuit 124, and when it receives an audio signal to be transmitted from the transmission / reception circuit 124, it transmits the received audio signal as radio waves. The antenna 102 also receives radio waves in a predetermined frequency band, and supplies the received signal to the transmission / reception circuit 124. The antenna 102 is set so that it can receive signals transmitted from the communication destination.
[0031] The volume adjustment unit 103 has a circuit including, for example, a variable resistor, and the resistance value changes according to the user's operation. The volume adjustment unit 103 is connected to the control circuit 120, and supplies the state of the resistance value changed according to the user's operation to the control circuit 120.
[0032] The external connection terminal 104 is connected to an external speaker / microphone 200 having an external speaker 201 and an external microphone 202 so as to be capable of being driven. As described above, the external connection terminal 104 has a speaker connection terminal 105 and a microphone connection terminal 106. The speaker connection terminal 105 is connected to the control circuit 120, and when the external speaker 201 is connected, supplies an audio signal to the connected external speaker. The microphone connection terminal 106 is connected to the control circuit 120, and when the external microphone 202 is connected, supplies an audio signal generated by the external microphone to the control circuit 120.
[0033] The built-in speaker 111 is connected to the control circuit 120, and when it receives an audio signal from the control circuit 120, it converts the received audio signal into audio and outputs it. In Fig. 2, the received audio signal SGrx supplied from the control circuit 120 to the built-in speaker 111 is indicated by an arrow.
[0034] The built-in microphone 112 is connected to the control circuit 120, and supplies an audio signal generated by the built-in microphone 112 to the control circuit 120. In Fig. 2, a transmission audio signal SGtx supplied from the built-in microphone 112 to the control circuit 120 is indicated by an arrow.
[0035] The control circuit 120 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 120 may also execute a predetermined program. The control circuit 120 may also realize a predetermined function by a combination of hardware and software.
[0036] Control circuit 120 is connected to each component of wireless communication device 100, appropriately receives signals from each component, and performs processing to drive each component that can be driven. For example, control circuit 120 is connected to volume adjustment unit 103, and controls the output of a speaker (built-in speaker 111 or external speaker 201) that is set to be drivable according to the state of volume adjustment unit 103. Also, for example, control circuit 120 is connected to power switch 107, and controls wireless communication device 100 to either an on state or an off state according to the state of power switch 107.
[0037] The control circuit 120 is also connected to the PTT switch 108, and controls the driving state of the microphone (the built-in microphone 112 or the external microphone 202) that is set to be drivable according to the state of the PTT switch 108. That is, when the PTT switch 108 is in the on state, the control circuit 120 drives the microphone that is set to be drivable to generate the transmission voice signal SGtx. When the PTT switch 108 is in the off state, the control circuit 120 stops driving the microphone that is set to be drivable, and drives the speaker when the control circuit 120 receives the reception voice signal SGrx to output the reception voice signal SGrx from the speaker.
[0038] The control circuit 120 is also connected to an operation unit 109 to receive various operations performed by a user and to perform processing according to the received operations. The control circuit 120 is also connected to a display unit 110 to instruct the display unit 110 to display various types of information. The control circuit 120 mainly includes a connection detection circuit 121, a drive setting circuit 122, and a disconnection detection circuit 123.
[0039] The connection detection circuit 121 detects the connection between the external speaker microphone 200 and the external connection terminal 104. As a means for the connection detection circuit 121 to detect such a connection, for example, the connection detection circuit 121 monitors a change in the potential of a signal line connected to the external connection terminal 104. Note that, although various modes of specific means for detecting the connection with the external speaker microphone 200 in this manner are conceivable, these are already known to those skilled in the art, and therefore a detailed description thereof will be omitted here.
[0040] The drive setting circuit 122 sets a speaker for outputting the received audio signal SGrx, i.e., a speaker to be driven, depending on the connection status of the external speaker microphone 200 and whether or not the audio signal line for the connected external speaker 201 is disconnected. The drive setting circuit 122 also sets a microphone for generating a transmission audio signal, i.e., a microphone to be driven, depending on the connection status of the external speaker microphone 200, whether or not the audio signal line for the connected external speaker 201 is disconnected, and the communication status of the wireless communication device 100.
[0041] For example, when the connection detection circuit 121 does not detect the connection of the external speaker microphone 200, the drive setting circuit 122 drives the built-in speaker 111 and the built-in microphone 112. When the connection detection circuit 121 detects the connection of the external speaker microphone 200, the drive setting circuit 122 drives the external speaker microphone 200 instead of the built-in speaker 111 and the built-in microphone 112. When the disconnection detection circuit 123 detects a disconnection, the drive setting circuit 122 drives the built-in speaker 111 instead of the external speaker.
[0042] 1 and 2 is not connected to the external speaker / microphone 200. Therefore, the connection detection circuit 121 does not detect the connection of the external speaker / microphone 200. In this case, the drive setting circuit 122 sets the built-in speaker 111 and the built-in microphone 112 to be driven.
[0043] The disconnection detection circuit 123 detects a disconnection of an audio signal line to the external speaker 201 in the connected external speaker microphone 200. As a specific means for detecting such a disconnection, for example, the disconnection detection circuit 123 may adopt a method of extracting a DC component of the external speaker 201 from a signal line to the connected external speaker 201 and monitoring a change in the potential of the extracted DC component. Furthermore, as a specific means for detecting such a disconnection, the disconnection detection circuit 123 may adopt a means other than the above-mentioned means.
[0044] The transmission / reception circuit 124 is connected to the antenna 102 and the control circuit 120, and transmits the transmission audio signal SGtx received from the control circuit 120 to the communication destination via the antenna 102. When the transmission / reception circuit 124 receives a reception audio signal SGrx from the communication destination via the connected antenna 102, the transmission / reception circuit 124 supplies the reception audio signal SGrx to the control circuit 120.
[0045] The display unit 110 is connected to the control circuit 120, and displays various information in response to instructions from the control circuit 120. The display unit 110 may display, for example, information indicating that the external speaker microphone 200 is connected. The display unit 110 may also display, for example, information indicating that the audio signal line for the connected external speaker 201 is disconnected.
[0046] The power switch 107 is connected to the control circuit 120 and supplies a signal related to the user's operation of turning the power on or off to the control circuit 120. The PTT switch 108 is connected to the control circuit 120 and supplies a signal related to the user's operation of turning the PTT on or off to the control circuit 120. The operation unit 109 is connected to the control circuit 120 and supplies signals related to various operations by the user to the control circuit 120.
[0047] This concludes the description of the configuration of wireless communication device 100. Note that volume adjustment section 103, power switch 107, operation section 109 and display section 110 are not essential components of wireless communication device 100 shown in Fig. 2.
[0048] Next, a state in which the wireless communication device 100 and the external speaker microphone 200 are connected will be described with reference to Fig. 3 and Fig. 4. Fig. 3 is an overview showing a state in which the wireless communication device 100 and the external speaker microphone 200 are connected.
[0049] 3, external connection terminal 104 of wireless communication device 100 is connected to external terminal section 203 of external speaker / microphone 200. As a result, wireless communication device 100 drives external speaker 201 and external microphone 202 of external speaker / microphone 200 instead of built-in speaker 111 and built-in microphone 112. By adopting such a configuration, a user can make a call with a communication destination using external speaker / microphone 200 while keeping wireless communication device 100 in, for example, a pocket of a garment without holding it.
[0050] 4 is a block diagram showing a state in which the wireless communication device 100 and the external speaker microphone 200 are connected. The wireless communication device 100 shown in FIG. 4 is connected to the external speaker microphone 200. In this case, the connection detection circuit 121 detects the connection of the external speaker microphone 200. Therefore, the drive setting circuit 122 sets the external speaker 201 and the external microphone 202 to be driven. That is, the control circuit 120 supplies the reception voice signal SGrx received from the transmission / reception circuit 124 to the external speaker 201, and receives the transmission voice signal SGtx from the external microphone 202 when the PTT switch 108 is in the on state.
[0051] Next, the process executed by the wireless communication device 100 will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the process of the wireless communication device according to the first embodiment. The flowchart shown in Fig. 5 shows the process executed by the control circuit 120 when the wireless communication device 100 is started. For example, a user who uses the wireless communication device 100 selects whether or not to connect the external speaker microphone 200 before starting the wireless communication device 100. Then, the user starts the wireless communication device 100 after connecting the external speaker microphone 200. Alternatively, the user selects not to connect the external speaker microphone 200 before starting the wireless communication device 100, and starts the wireless communication device 100.
[0052] First, the control circuit 120 determines whether the power of the wireless communication device 100 is on or not (step S10). That is, while the power of the wireless communication device 100 is in an off state, the control circuit 120 monitors the state of the power switch 107 at preset intervals (e.g., 500 milliseconds) and determines whether the power of the wireless communication device 100 is on or not according to the state of the power switch 107. If the control circuit 120 does not determine that the power is on (step S10: No), it repeats step S10. If the control circuit 120 determines that the power is on (step S10: Yes), it proceeds to step S11.
[0053] Next, the connection detection circuit 121 of the control circuit 120 determines whether or not the external speaker microphone 200 is connected (step S11). If the external speaker microphone 200 is not connected to the wireless communication device 100, the connection detection circuit 121 does not determine that the external speaker microphone 200 is connected. In this case (step S11: No), the control circuit 120 proceeds to step S13. On the other hand, if the external speaker microphone 200 is connected to the wireless communication device 100, the connection detection circuit 121 determines that the external speaker microphone 200 is connected. In this case (step S11: Yes), the control circuit 120 proceeds to step S12.
[0054] In step S12, the control circuit 120 sets the external speaker microphone 200 to be driven (step S12). Therefore, in this case, the wireless communication device 100 is in the state shown in Fig. 4. After step S12, the control circuit 120 proceeds to step S14.
[0055] In step S13, control circuit 120 sets built-in speaker 111 and built-in microphone 112 to be driven (step S13). Therefore, in this case, wireless communication device 100 is in the state shown in Fig. 2. Control circuit 120 ends the series of processes after step S13. After wireless communication device 100 ends the series of processes shown in Fig. 5, wireless communication device 100 performs communication using the set speaker and the set microphone. That is, in this case, wireless communication device 100 performs communication by driving built-in speaker 111 and built-in microphone 112.
[0056] In step S14, the disconnection detection circuit 123 of the control circuit 120 determines whether or not the audio signal line to the external speaker 201 of the connected external speaker microphone 200 is disconnected (step S14). If it is not determined that the audio signal line to the external speaker 201 is disconnected (step S14: No), the control circuit 120 ends the series of processes. In this case, the wireless communication device 100 drives the external speaker 201 and the external microphone 202 to perform communication. On the other hand, if it is determined that the audio signal line to the external speaker 201 is disconnected (step S14: Yes), the control circuit 120 proceeds to step S15.
[0057] In step S15, the drive setting circuit 122 of the control circuit 120 drives the built-in speaker 111 instead of the external speaker 201. That is, the drive setting circuit 122 switches the speaker to be driven from the external speaker 201 to the built-in speaker 111 (step S15). As a result, the wireless communication device 100 outputs the sound related to the received sound signal SGrx from the built-in speaker 111 even if the external speaker microphone 200 is connected.
[0058] Next, the drive setting circuit 122 of the control circuit 120 determines whether or not the received audio signal SGrx has been received (step S16). If it is not determined that the received audio signal SGrx has been received (step S16: No), the drive setting circuit 122 proceeds to step S17.
[0059] On the other hand, when it is determined that the reception voice signal SGrx has been received (step S16: Yes), the drive setting circuit 122 switches the microphone that generates the transmission voice signal SGtx from the external microphone 202 to the built-in microphone 112 (step S20). That is, after receiving the reception voice signal SGrx, when the user operates the PTT switch 108 to the on state, the drive setting circuit 122 drives the built-in microphone 112 instead of the external microphone 202. Then, the control circuit 120 ends the series of processes.
[0060] The state of step S20 will be described with reference to Fig. 6. Fig. 6 is a first block diagram showing a state in which an audio signal line to an external speaker is disconnected. In the external speaker microphone 200 shown in Fig. 6, the speaker cable 206 is disconnected. Therefore, an x is shown on the speaker cable 206. The wireless communication device 100 in step S20 receives a reception audio signal SGrx from the communication destination. Therefore, the drive setting circuit 122 drives the built-in speaker 111 instead of the external speaker 201, and drives the built-in microphone 112 instead of the external microphone 202.
[0061] In this way, when the audio signal line for the external speaker 201 is disconnected and the wireless communication device 100 receives the received audio signal SGrx from the communication destination, the wireless communication device 100 drives the built-in speaker 111 and the built-in microphone 112 instead of the external speaker microphone 200. The wireless communication device 100 maintains communication by outputting the audio for the received audio signal SGrx from the built-in speaker 111. Then, the wireless communication device 100 drives the built-in speaker 111 to make the user aware that there is a problem with the external speaker microphone 200. Furthermore, in this case, the wireless communication device 100 drives the built-in microphone 112 instead of the external microphone 202 to suppress stagnation of communication for the user who recognizes that there is a problem with the external speaker microphone 200.
[0062] Returning to Fig. 5, the description will be continued. In step S17, the drive setting circuit 122 judges whether the PTT switch 108 is in the on state (step S17). If the PTT switch 108 is operated and it is not judged to be in the on state (step S17: No), the drive setting circuit 122 returns to step S16.
[0063] On the other hand, when it is determined that the PTT switch 108 is in the on state (step S17: Yes), the drive setting circuit 122 maintains the drive of the external microphone 202 (step S18). Then, the drive setting circuit 122 determines whether or not the PTT switch 108 is in the off state (step S19). When the on state of the PTT switch 108 is maintained, the drive setting circuit 122 does not determine that the PTT switch 108 is in the off state (step S19: No). In this case, the drive setting circuit 122 repeats step S19. On the other hand, when the on state of the PTT switch 108 is released by operating it, the drive setting circuit 122 determines that the PTT switch 108 is in the off state (step S19: Yes). In this case, the drive setting circuit 122 returns to step S16. In this way, the drive setting circuit 122 drives the external microphone 202 when the PTT switch 108 is turned on after the break detection circuit 123 detects a break and before the transmission / reception circuit 124 receives the reception audio signal SGrx.
[0064] The state of step S18 will be described with reference to Fig. 7. Fig. 7 is a second block diagram showing a state in which the audio signal line to the external speaker is disconnected. In the external speaker microphone 200 shown in Fig. 7, the speaker cable 206 is disconnected. Therefore, an x is shown on the speaker cable 206. In the wireless communication device 100 in step S19, the user presses the PTT switch 108 to turn the PTT switch 108 on before receiving the reception audio signal SGrx from the communication destination. Therefore, the drive setting circuit 122 maintains the drive of the external microphone 202.
[0065] Even if the audio signal line for the external speaker 201 of the external speaker microphone 200 is disconnected, the user does not recognize the disconnection of the audio signal line for the external speaker 201 before receiving the reception audio signal SGrx from the communication destination, and therefore recognizes that the external speaker and the external microphone can be used. In such a case, if the user desires to transmit audio before receiving the reception audio signal SGrx, it is necessary to enable the use of the external microphone 202. Therefore, the wireless communication device 100 drives the external microphone 202 even after the disconnection detection circuit 123 detects the disconnection, before receiving the reception audio signal SGrx.
[0066] In the case where the audio signal line for the external speaker 201 of the external speaker microphone 200 is disconnected and a reception audio signal SGrx is received from the communication destination, the reception audio is output from the built-in speaker 111 even though the external speaker microphone 200 is connected. This allows the user to recognize that some kind of problem has occurred in the external speaker microphone 200 and it cannot be used. Therefore, after the disconnection detection circuit 123 detects a disconnection of the audio signal line for the external speaker 201 and before the PTT switch 108 is turned on, if the transmission / reception circuit 124 receives the reception audio signal SGrx, the drive setting circuit 122 drives the built-in microphone 112.
[0067] The first embodiment has been described above. The wireless communication device 100 according to the first embodiment is not limited to the above-mentioned configuration. For example, when the audio signal line for the external speaker 201 is disconnected, the wireless communication device 100 may continue to drive the external microphone 202 after receiving the reception audio signal SGrx.
[0068] As described above, the wireless communication device 100 according to the first embodiment can provide a wireless communication device or the like that can preferably continue audio communication when an audio signal line for a connected external speaker is disconnected.
[0069] <Embodiment 2> Next, a description will be given of embodiment 2. Embodiment 2 differs from embodiment 1 in that the external speaker microphone has an external PTT switch, and the wireless communication device is configured to accept operation of the external PTT switch.
[0070] Fig. 8 is a block diagram of the wireless communication device 300 and the external speaker microphone 400 according to the second embodiment. Fig. 8 shows a state in which the wireless communication device 300 and the external speaker microphone 400 are connected. The wireless communication device 300 includes an external PTT terminal 301 in the external connection terminal 104. The external PTT terminal 301 is connected to an external PTT switch 401 included in the external speaker microphone 400, and supplies a signal related to the operation state of the external PTT switch 401 to the control circuit 120.
[0071] The external speaker microphone 400 has an external PTT switch 401 in addition to the external speaker 201 and the external microphone 202. The external PTT switch 401 is connected to the control circuit 120 via an external PTT cable 402, a microphone plug 205, and an external PTT terminal 301, and supplies the control circuit 120 with a signal related to the user's operation of turning PTT on or off.
[0072] The drive setting circuit 122 of the wireless communication device 300 monitors the state of the PTT switch 108 and the state of the external PTT switch 401. The drive setting circuit 122 drives the built-in microphone 112 or the external microphone 202 according to the connection state of the external speaker microphone 400 detected by the connection detection circuit 121 and the disconnection state detected by the disconnection detection circuit 123.
[0073] For example, when the external speaker microphone 400 is connected to the wireless communication device 300, if the audio signal line for the external speaker 201 is not disconnected, the drive setting circuit 122 drives the external microphone 202 as a microphone for generating the transmission audio signal SGtx. In this case, the drive setting circuit 122 drives the external microphone 202 when the PTT switch 108 is turned on or when the external PTT switch 401 is turned on.
[0074] Furthermore, when the PTT switch 108 is turned on after the disconnection detection circuit 123 detects a disconnection, the drive setting circuit 122 drives the built-in microphone 112. On the other hand, when the external PTT switch 401 is turned on after the disconnection detection circuit 123 detects a disconnection, the drive setting circuit 122 drives the external microphone 202.
[0075] The processing executed by the wireless communication device 300 will be described with reference to Fig. 9 and Fig. 10. Fig. 9 and Fig. 10 are flowcharts showing processing of the wireless communication device according to the second embodiment. The flowcharts shown in Fig. 9 and Fig. 10 show processing executed by the control circuit 120 when the wireless communication device 300 is started up. In the flowcharts shown in Fig. 9 and Fig. 10, the processing from step S10 to step S19 is similar to the flowchart according to the first embodiment shown in Fig. 5, but the processing after step S19 (the processing shown in Fig. 10) is different from the flowchart according to the first embodiment. Processing different from the flowchart according to the first embodiment will be described below.
[0076] In step S16, when it is determined that the reception voice signal SGrx has been received (step S16: Yes), the drive setting circuit 122 switches the microphone that generates the transmission voice signal SGtx from the external microphone 202 to the built-in microphone 112 (step S20). That is, after receiving the reception voice signal SGrx, when the user operates the PTT switch 108 to the on state, the drive setting circuit 122 drives the built-in microphone 112 instead of the external microphone 202. Then, the control circuit 120 proceeds to step S21.
[0077] In step S21, the control circuit 120 determines whether the PTT switch 108 is on or not (step S21). If it is determined that the PTT switch 108 is on (step S21: Yes), the drive setting circuit 122 drives the built-in microphone 112 (step S22). Next, the control circuit 120 proceeds to step S23.
[0078] In step S23, the control circuit 120 judges whether the PTT switch 108 is in the OFF state (step S23). If it is not judged that the PTT switch 108 is in the OFF state (step S23: No), the drive setting circuit 122 repeats step S23. If it is judged that the PTT switch 108 is in the OFF state (step S23: Yes), the drive setting circuit 122 ends the series of processes.
[0079] In step S21, if it is not determined that the PTT switch 108 is on (step S21: No), the drive setting circuit 122 determines whether or not the external PTT switch 401 is on (step S24). If it is not determined that the external PTT switch 401 is on (step S24: No), the drive setting circuit 122 returns to step S21 again. On the other hand, if it is determined that the external PTT switch 401 is on (step S24: Yes), the drive setting circuit 122 drives the external microphone 202 (step S25). Then, the drive setting circuit 122 proceeds to step S26.
[0080] In step S26, the control circuit 120 judges whether the external PTT switch 401 is in the OFF state (step S26). If it is not judged that the external PTT switch 401 is in the OFF state (step S26: No), the drive setting circuit 122 repeats step S26. If it is judged that the external PTT switch 401 is in the OFF state (step S26: Yes), the drive setting circuit 122 ends the series of processes.
[0081] The above describes the flowchart according to the embodiment 2. Note that in the above flowchart, step S21 and step S23 may be executed in the reverse order, or may be executed in parallel.
[0082] With the above-mentioned configuration, even if the connected external speaker 201 is disconnected, the wireless communication device 300 according to the second embodiment drives the external microphone 202 when the user wants to use the external microphone 202. This allows the wireless communication device 300 to maintain voice communication in a state corresponding to the state desired by the user. As described above, according to the second embodiment, it is possible to provide a wireless communication device or the like that can preferably continue voice communication when the audio signal line for the connected external speaker is disconnected.
[0083] The above-mentioned program can be stored and supplied to a computer using various types of non-transitory computer-readable media. The non-transitory computer-readable media includes various types of tangible recording media. Examples of the 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-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may also be supplied to a computer by various types of temporary computer-readable media. Examples of the temporary computer-readable media include electric signals, optical signals, and electromagnetic waves. The temporary computer-readable media can supply the program to a computer via a wired communication path such as an electric wire and an optical fiber, or via a wireless communication path.
[0084] The present invention is not limited to the above-described embodiment, and can be modified as appropriate without departing from the spirit and scope of the present invention. [Explanation of symbols]
[0085] 100 Wireless communication device 101 Case 102 Antenna 103 Volume control 104 External connection terminal 105 Speaker connection terminal 106 Microphone connection terminal 107 Power Switch 108 PTT switch 109 Operation section 110 Display section 111 Built-in speaker 112 Built-in microphone 120 Control circuit 121 Connection detection circuit 122 Drive setting circuit 123 Disconnection detection circuit 124 Transmitting and receiving circuit 200 External speaker microphone 201 External speaker 202 External microphone 203 External terminal 204 Speaker plug 205 Microphone Plug 206 Speaker Cable 207 Microphone Cable 300 Wireless communication device 301 External PTT terminal 400 External speaker microphone 401 External PTT switch 402 External PTT cable
Claims
1. a transmission / reception circuit for transmitting a transmission voice signal and receiving a reception voice signal in wireless communication; With built-in speaker, With built-in microphone, a PTT switch that sets the transmitting / receiving circuit in a transmitting state when in an on state and sets the transmitting / receiving circuit in a receiving state when in an off state; an external connection terminal for connecting an external speaker / microphone having an external speaker and an external microphone in a drivable manner; a connection detection circuit that detects a connection between the external speaker microphone and the external connection terminal; a drive setting circuit that drives the built-in speaker and the built-in microphone when the connection detection circuit does not detect the connection, and drives the external speaker / microphone instead of the built-in speaker and the built-in microphone when the connection detection circuit detects the connection; a disconnection detection circuit for detecting a disconnection of an audio signal line for the external speaker in the connected external speaker microphone, the drive setting circuit sets the built-in speaker to output a sound associated with the received audio signal instead of the external speaker when the disconnection detection circuit detects the disconnection; when the transmission / reception circuit receives the reception voice signal after the disconnection detection circuit detects the disconnection and before the PTT switch is turned on, the built-in microphone is set to be operable. Wireless communication device.
2. The drive setting circuit includes: When the PTT switch is turned on after the disconnection detection circuit detects the disconnection and before the transmission / reception circuit receives the reception voice signal, the external microphone is driven.
2. The wireless communication device of claim 1.
3. Further comprising an external PTT switch that sets the transmitting / receiving circuit in a transmitting state when in an on state and sets the transmitting / receiving circuit in a receiving state when in an off state, The drive setting circuit includes: When the disconnection detection circuit detects the disconnection and the transmission / reception circuit receives the reception voice signal, the built-in microphone is driven instead of the external microphone, and when the PTT switch is turned on, the drive of the built-in microphone is continued; When the PTT switch is in an OFF state and the external PTT switch is in an ON state, the external microphone is driven. The wireless communication device of claim 1 .
4. A method for controlling a wireless communication device having a built-in speaker, a built-in microphone, a PTT switch, and an external connection terminal for drivably connecting an external speaker / microphone having an external speaker and an external microphone, comprising: a connection detection step of detecting the connection between an external speaker microphone and the external connection terminal; an external device driving step of driving the external speaker / microphone instead of the built-in speaker and the built-in microphone when the connection is detected; a disconnection detection step of detecting a disconnection of an audio signal line to the external speaker in the connected external speaker microphone; a drive setting step of setting the built-in speaker to output a sound associated with a received sound signal instead of the external speaker when the disconnection is detected; a step of setting a transmission / reception circuit in a transmission state when the PTT switch is in an on state, and setting the transmission / reception circuit in a reception state when the PTT switch is in an off state; a step of setting the built-in microphone to be operable when the transmission / reception circuit receives the reception voice signal after the break detection circuit detects the break and before the PTT switch is turned on; Equipped Control methods.
5. A control program to be executed by a wireless communication device having a built-in speaker, a built-in microphone, a PTT switch, and an external connection terminal for drivably connecting an external speaker / microphone having an external speaker and an external microphone, the control program comprising: a connection detection step of detecting the connection between an external speaker microphone and the external connection terminal; an external device driving step of driving the external speaker / microphone instead of the built-in speaker and the built-in microphone when the connection is detected; a disconnection detection step of detecting a disconnection of an audio signal line to the external speaker in the connected external speaker microphone; a drive setting step of setting the built-in speaker to output a sound associated with a received sound signal instead of the external speaker when the disconnection is detected; a step of setting a transmission / reception circuit in a transmission state when the PTT switch is in an on state, and setting the transmission / reception circuit in a reception state when the PTT switch is in an off state; a step of setting the built-in microphone to be operable when the transmission / reception circuit receives the reception voice signal after the break detection circuit detects the break and before the PTT switch is turned on; Equipped Control program.
6. A method for controlling a wireless communication device having a built-in speaker, a built-in microphone, a PTT switch, and an external connection terminal for drivably connecting an external speaker / microphone having an external speaker and an external microphone, comprising: a connection detection step of detecting the connection between an external speaker microphone and the external connection terminal; an external device driving step of driving the external speaker / microphone instead of the built-in speaker and the built-in microphone when the connection is detected; a disconnection detection step of detecting a disconnection of an audio signal line to the external speaker in the connected external speaker microphone; a drive setting step of setting the built-in speaker to output a sound associated with a received sound signal instead of the external speaker when the disconnection is detected; a step of setting a transmission / reception circuit in a transmission state when the PTT switch is in an on state, and setting the transmission / reception circuit in a reception state when the PTT switch is in an off state; a step of driving the external microphone when the PTT switch is turned on after the disconnection detection circuit detects the disconnection and before the reception of the incoming voice signal; Equipped Control methods.
Citation Information
Patent Citations
Handsfree device
JP1999220526A
Radio transmitter and receiver
JP2002171192A
Disconnection detection circuit and method, wireless transmitter / receiver and electronic apparatus
JP2014068066A
