This application claims priority to Japanese Patent Application No. 2023-046478 filed on Mar. 23, 2023 incorporated herein by reference in its entirety.
The present disclosure relates to a communication device provided in a vehicle.
Japanese Unexamined Patent Application Publication No. 2002-288772 (JP 2002-288772 A) discloses an emergency information notification device provided in a vehicle. The emergency information notification device has a function of transmitting an audio signal related to audio collected by a microphone to a center outside the vehicle, and a function of generating audio based on an audio signal transmitted from the center from a speaker. Further, when the emergency information notification device generates audio based on a predetermined audio signal from a speaker at startup, the emergency information notification device causes the microphone to collect the sound. Then, the emergency information notification device diagnoses whether an abnormality has occurred by comparing a loopback signal and the predetermined audio signal, the loopback signal being an audio signal related to audio collected by the microphone.
When making the above-described diagnosis, an occupant may feel uncomfortable when the occupant hears audio based on the predetermined audio signal.
An aspect of the present disclosure provides a communication device mounted in a vehicle including a speaker and a microphone provided inside a vehicle cabin to communicate with a center outside the vehicle.
The communication device includes:
The above communication device achieves the effect of being able to make a diagnosis without making an occupant of the vehicle feel uncomfortable.
Features, advantages, and technical and industrial significance of exemplary embodiments of the disclosure will be described below with reference to the accompanying drawings, in which like signs denote like elements, and wherein:
Hereinafter, one embodiment of a communication device will be described according to
The communication device 20 is a device that communicates with a center 100 installed outside the vehicle via a wireless LAN 110. For example, when a vehicle occupant and an operator outside the vehicle have a conversation, when the speaker 11 collects the voice uttered by the vehicle occupant, the communication device 20 transmits an audio signal related to the voice collected by the speaker 11 to the center 100. When the communication device 20 receives an audio signal related to the voice uttered by the operator, the communication device 20 causes the speaker 11 to generate audio based on the received audio signal.
The communication device 20 includes a main control device 30, an audio input/output device 40, and an amplifier 21. The audio input/output device 40 outputs an audio signal to the amplifier 21 when the speaker 11 generates audio. The amplifier 21 amplifies the input audio signal and outputs it to the speaker 11. Thereby, the speaker 11 can generate audio based on the audio signal output by the audio input/output device 40.
Although not shown, the communication device 20 also includes control devices other than the main control device 30 and the audio input/output device 40. The audio input/output device 40 and other control devices are each configured to be able to send and receive information to and from the main control device 30.
The main control device 30 has a first interface for transmitting and receiving information with the audio input/output device 40 and a second interface for communicating with the center 100. The main control device 30 has, as a first interface, a first reception interface 31 that receives audio signals from the audio input/output device 40 and a first transmission interface 32 that transmits the audio signal to the audio input/output device 40. The main control device 30 has, as a second interface, a second transmission interface 33 that transmits a signal to the center 100, and a second reception interface 34 that receives the signal transmitted by the center 100.
Furthermore, the main control device 30 includes a plurality of functional units 35 through which signals are input and output when exchanging signals between the first interface and the second interface. The plurality of functional units 35 include, for example, a functional unit that adjusts the volume and a switch.
Note that the main control device 30 also has a third interface 36 for transmitting and receiving information to and from the audio input/output device 40. As will be described in detail later, the audio input/output device 40 executes a diagnostic process to diagnose whether or not an abnormality has occurred. When the audio input/output device 40 performs the diagnostic processing, the audio input/output device 40 transmits diagnostic information that is information regarding the diagnosis result to the main control device 30. At this time, the main control device 30 receives diagnostic information via the third interface 36.
The audio input/output device 40 has a transmission interface 41 that transmits audio signals to the main control device 30 and a receiving interface 42 that receives audio signals from the main control device 30. The audio input/output device 40 also includes a diagnostic interface 43 that transmits the diagnostic information to the third interface 36 of the main control device 30.
The audio input/output device 40 includes an A/D converter 45 and a D/A converter 46. An audio signal related to the audio collected by the microphone 12 is input to the A/D converter 45. In other words, the A/D converter 45 corresponds to an “input unit”. When the audio signal input from the microphone 12 to the audio input/output device 40 is an input audio signal, the input audio signal input from the microphone 12 to the A/D converter 45 is an analog signal. The A/D converter 45 converts the input audio signal input from the microphone 12 from an analog signal to a digital signal and outputs the digital signal.
D/A converter 46 outputs the audio signal to amplifier 21. In other words, the D/A converter 46 corresponds to an “output unit” that causes the speaker 11 to generate audio based on the audio signal. When the audio signal input to the D/A converter 46 is an output audio signal, the output audio signal input to the D/A converter 46 is a digital signal. The D/A converter 46 converts the input output audio signal from a digital signal to an analog signal and outputs it to the amplifier 21.
The audio input/output device 40 has a plurality of functional units 47 through which signals are input and output when performing communication processing with the communication device 20. The plurality of functional units 47 include an audio processing unit 47a. The audio processing unit 47a has an echo canceller function and a noise canceller function. The echo canceller function is a function that removes acoustic echo components from the audio signal received from the communication device 20. The noise canceller function is a function that removes noise components from the input audio signal output from the A/D converter 45. Note that the functional units 47 other than the audio processing unit 47a include, for example, a functional unit that adjusts the volume and a switch.
The audio input/output device 40 includes an audio signal generation unit 48 and a diagnosis unit 49. The audio signal generation unit 48 generates an audio signal related to audio having a frequency not included in the audible range as a diagnostic audio signal. The audible range is the frequency range of sounds that humans can hear. Here, the frequency range from 20 Hz to 15 kHz is defined as the audible range.
In this embodiment, the audio signal generation unit 48 generates an audio signal related to audio at a higher frequency than the audible range, as the diagnostic audio signal. For example, the audio signal generation unit 48 generates an audio signal related to audio having a frequency between 18 kHz and 20 kHz as a diagnostic audio signal.
The diagnosis unit 49 uses the diagnostic audio signal to diagnose whether or not an abnormality has occurred. The term “abnormality” used herein refers to an abnormality that makes it impossible for a vehicle occupant to have a conversation with an operator outside the vehicle, or an abnormality that makes it difficult to have a conversation.
In this embodiment, the diagnosis unit 49 performs a first diagnosis process and a second diagnosis process. The first diagnostic process is a process for diagnosing whether it is possible to output sound from the speaker 11 and whether or not the audio input/output device 40 can acquire an input audio signal related to the sound collected by the microphone 12. Therefore, the diagnosis unit 49 can diagnose whether an abnormality has occurred in any of the amplifier 21, the microphone 12, the speaker 11, and a part of the audio signal generation unit 48 in the first diagnostic process. The “part of the audio signal generation unit 48” herein includes the A/D converter 45 and the D/A converter 46.
The second diagnostic process is a process for diagnosing whether the audio signal can be transmitted to the center 100 and whether the audio signal received from the center 100 can be input to the D/A converter 46. Therefore, in the second diagnosis process, the diagnosis unit 49 can diagnose whether an abnormality has occurred in any of the multiple functional units 47 of the audio input/output device 40 and the multiple functional units 35 of the main control device 30.
With reference to
As shown in
In the next step S13, the audio signal generation unit 48 generates a first diagnostic audio signal, which is an example of a diagnostic audio signal. Thereby, the first diagnostic audio signal is output to the D/A converter 46 and the diagnosis unit 49.
In subsequent S15, the D/A converter 46 causes the speaker 11 to generate audio based on the first diagnostic audio signal. At this time, the A/D converter 45 converts an input audio signal related to the audio collected by the microphone 12 when the audio is generated from the speaker 11 into a digital signal, and outputs the digital signal to the diagnosis unit 49.
Then, in S17, the diagnosis unit 49 compares the input audio signal obtained from the A/D converter 45 and the first diagnostic audio signal obtained from the audio signal generation unit 48. At this time, if the diagnosis unit 49 determines that the period of the waveform of the input audio signal and the period of the waveform of the first diagnostic audio signal are the same, it diagnoses that no abnormality has occurred. On the other hand, if the diagnosis unit 49 determines that the period of the waveform of the input audio signal is not the same as the period of the waveform of the first diagnostic audio signal, it diagnoses that an abnormality has occurred. The diagnosis unit 49 causes the diagnostic interface 43 to transmit diagnostic information indicating the diagnostic results of the first diagnostic process to the main control device 30. When the communication device 20 finishes the first diagnosis process, the process moves to S21.
In S21, the communication device 20 sets the communication circuit within the communication device 20 as a circuit for second diagnostic processing. An example of a circuit for second diagnostic processing is indicated by arrow R2 in
In the next step S23, the audio signal generation unit 48 generates a second diagnostic audio signal, which is an example of a diagnostic audio signal. The second diagnostic audio signal may be the same audio signal as the first diagnostic audio signal, or may be a different audio signal from the first diagnostic audio signal. Then, the second diagnostic audio signal is output to the diagnosis unit 49 and the functional unit 47.
In subsequent S25, the communication device 20 circulates the second diagnostic audio signal within the communication device 20, as described in (B1), (B2), and (B3) above. The communication device 20 then moves the process to S27.
In S27, the diagnosis unit 49 compares the acquired signal, which is the signal acquired through the process of S25, with the second diagnostic audio signal acquired from the audio signal generation unit 48. At this time, if the diagnosis unit 49 determines that the period of the waveform of the acquired signal and the period of the waveform of the second diagnostic audio signal are the same, it diagnoses that no abnormality has occurred. On the other hand, if the diagnosis unit 49 determines that the period of the waveform of the acquired signal is not the same as the period of the waveform of the second diagnostic audio signal, it diagnoses that an abnormality has occurred. The diagnosis unit 49 causes the diagnostic interface 43 to transmit diagnostic information indicating the diagnostic results of the second diagnostic process to the main control device 30. When the communication device 20 ends the second diagnosis process, it ends the series of processes shown in
The above embodiment can be modified and implemented as follows. The above embodiments and the following modifications can be combined with each other within a technically consistent range.
Number | Date | Country | Kind |
---|---|---|---|
2023-046478 | Mar 2023 | JP | national |