This application claims priority to Japanese Patent Application No. 2024-006938 filed on Jan. 19, 2024, the contents of which are hereby incorporated herein by reference in their entirety.
The present application relates to an information processing apparatus and a control method, for example, controlling an output level of a voice signal.
An information processing apparatus such as a personal computer (PC) or a smartphone usually acquires user-desired content using a network and is capable of presenting the acquired content. The acquired content may include a voice. When a voice is presented in a public place, the presented voice may be propagated to the surroundings and may cause discomfort to others. In order to avoid this, a mountable sound source such as headphones or earphones may be used when reproducing a voice.
On the other hand, various sound sources have been widely used in the related art. An impedance varies greatly depending on the model of the sound source. For example, an average impedance of headphones is about 30 to 40Ω, but headphones having a high impedance of more than 100Ω are also widespread. Such a difference in impedance affects the output level of the voice signal provided from an information processing apparatus. For example, even in a case where the headphones are connected to the same information processing apparatus, the output level of the voice signal tends to be lower as the impedance of the headphones is higher. A voice reproduction apparatus that enables volume adjustment when a sound source that is an output destination of a voice is switched has been proposed.
For example, a voice reproduction apparatus described in Japanese Unexamined Patent Application Publication No. 2017-69925 includes a built-in speaker, an external output unit to which an external voice output device is connectable, a volume operation unit for a user to operate a volume of a voice signal, and a volume adjustment unit that adjusts the volume of the voice signal in response to a user operation of the volume operation unit, in which when an external voice device connects an output destination of the voice signal to the external output unit, the output destination of the voice signal is switched to the external output unit, and when the external voice output device is not connected to the external output unit, the output destination of the voice signal is switched to a built-in speaker, and different volume control is performed according to the output destination of the voice signal.
The voice reproduction apparatus disclosed in Japanese Unexamined Patent Application Publication No. 2017-69925 performs volume adjustment according to whether the output destination of the voice signal is switched to any of the external output unit and the built-in speaker depending on whether the voice output device is connected to the external output unit. In the volume adjustment, the acquired voice signal is amplified at an amplification factor according to a volume value input by the user operation. However, the fact that the impedance of the voice output device connected to the external output unit is diverse has not been sufficiently considered.
An information processing apparatus according to one or more embodiments of the present application includes a controller; and an audio system, in which the controller is configured to, when connection between the audio system and a sound source is detected, measure an output level of a test signal output to the sound source, and determine an output gain of a voice signal output from the audio system to the sound source based on the output level.
In the information processing apparatus, the controller may determine the output gain based on an impedance of the sound source corresponding to the output level, a rated power consumption of the sound source, and an internal resistance of the audio system.
In the information processing apparatus, the controller may determine a maximum voltage of the voice signal based on the impedance of the sound source, a maximum power consumption of the sound source and the internal resistance.
In the information processing apparatus, the test signal may have a frequency component having a frequency higher than an audible band.
The information processing apparatus may include a rectifier element configured to rectify the test signal and output a rectified signal; and a low pass filter configured to extract a low pass signal from the rectified signal, in which the controller may measure an output level of the low pass signal.
In the information processing apparatus, the low pass filter may include a resistance element and a power storage element in parallel with the controller, the controller may be configured to detect the output level after a predetermined time has elapsed from output start of the test signal, and the predetermined time may be set to a value larger than a product of a resistance value of the resistance element and an electrostatic capacity of the power storage element.
A control method according to one or more embodiments of the present application is a control method of an information processing apparatus including a controller and an audio system, the control method including: causing the controller to execute, when connection between the audio system and a sound source is detected, a step of measuring an output level of a test signal output to the sound source; and a step of determining an output gain of a voice signal output from the audio system to the sound source based on the output level.
One or more embodiments of present invention can adjust the output level of the voice signal according to the impedance of the sound source.
Hereinafter, embodiments of the present application will be described with reference to the drawings. First, an outline of an information processing apparatus 1 according to one or more embodiments will be described.
The information processing apparatus 1 includes a first chassis 101 and a second chassis 105, and the first chassis 101 and the second chassis 105 are coupled to each other by using hinge mechanisms 121a and 121b. The hinge mechanisms 121a and 121b are fixed to one side of each of the first chassis 101 and the second chassis 105. One of the first chassis 101 and the second chassis 105 is rotatable relative to the other with one side of the first chassis 101 and the second chassis 105 as a rotation axis. That is, an angle θ (in the present application, referred to as an “opening angle”) formed between a main surface of the first chassis 101 and a main surface of the second chassis 105 is variable.
A display 103 is disposed on the main surface of the first chassis 101 and occupies a large part of the main surface. A keyboard 107, a touch pad 109, and a power button 113 are disposed on the main surface of the second chassis 105. With such an arrangement, the information processing apparatus 1 is used in a state where the first chassis 101 and the second chassis 105 are open. The open state is a state where one of the main surface of the first chassis 101 and the main surface of the second chassis 105 is open without being shielded from the other. In the open state, the opening angle θ is typically in a range of 90° to 180°.
An audio terminal 124a is installed on a side surface of the second chassis 105. The audio terminal 124a is attachably and detachably connected to an input/output terminal of the voice device by an external force. The audio terminal 124a has a shape that is capable of being fitted to the input/output terminal of the voice device, and is capable of inputting and outputting the voice signal of the information processing apparatus 1 in a state of being fitted to the input/output terminal. In the example of
The voice device includes a sound source 44 (
In general, the electrical impedance of the sound source 44 (in the present application, may be simply referred to as “impedance”) greatly varies depending on the model. When the voice signal is output to the sound source, an output level of the voice signal provided to the sound source varies depending on the impedance. As the impedance of the sound source 44 is higher, the output level of the voice signal from the signal source tends to be lower. As will be described later, the information processing apparatus 1 measures the impedance of the sound source 44 when the connection to the sound source is detected. The information processing apparatus 1 determines that the output level of the voice signal is higher as the measured impedance is higher. As a result, a difference in volume between the models is reduced regardless of the impedance of the sound source 44.
Next, a hardware configuration example of the information processing apparatus 1 according to one or more embodiments will be described.
The CPU 11 is a processor that is a core of a system device provided in the information processing apparatus 1. The CPU 11 is a processor that enables the execution of various arithmetic processing instructed by commands written in various programs. The CPU 11 executes processing instructed by various programs, such as an operating system (OS), BIOS, firmware, and an application program (referred to as an “app” in the present application).
The CPU 11 executes the OS to provide functions, such as resource management, execution management of various programs, input/output control, and file management in the computer system that is a core of the information processing apparatus 1, that is, the host system. Executing the processing instructed by a command written in a program may be referred to as “execution of the program” or “executing the program”.
The main memory 12 is a writable memory that is used as a reading area of the execution program of the processor or as a work area in which processing data of the execution program is written. The main memory 12 is configured with, for example, a plurality of dynamic random access memory (DRAM) chips. The execution program includes the OS, various drivers for operating hardware such as peripheral devices, various services/utilities, applications, and the like.
The GPU 13 is mainly a processor that executes real-time image processing. The GPU 13 processes a drawing command from the CPU 11 and writes drawing information obtained by the processing into a video memory (not illustrated). The GPU 13 reads out the drawing information from the video memory, and outputs the drawing information as display data indicating the drawing information to the display 103 via the CPU 11 (image processing). The drawing information notified to the display 103 constitutes a display screen.
The CPU 11 executes a graphic driver on the OS to control the operation of the GPU 13 and realize image processing instructed by the OS, the application, and other programs. The number of GPUs 13 is not limited to one and may be plural. The GPU 13 may share some processing with the CPU 11 and execute parallel arithmetic processing other than image processing.
The CPU 11, the main memory 12, and the PCH 21 form a computer system, that is, a host system, which is the core of the information processing apparatus 1. In other words, the computer system of the information processing apparatus 1 is configured to include a system device as hardware and software such as the OS and a schedule task.
The display 103 displays the display screen based on the display data output from the CPU 11. For example, the display 103 may be any display, such as a liquid crystal display (LCD) or an organic light emitting diode (OLED) display.
The PCH 21 includes one or a plurality of bus controllers, and is connectable to a plurality of devices so that various types of data can be input and output. The bus controller may be, for example, any one of a USB, a serial advanced technology attachment (ATA), a serial peripheral interface (SPI) bus, a peripheral component interconnect (PCI) bus, a PCI-Express bus, a low pin count (LPC), and the like, or a combination of any one thereof. For example, the plurality of devices that are the connection destinations correspond to the BIOS memory 22, the auxiliary storage device 23, the USB connector 24, the WLAN card 25, the audio system 26, and the EC 31.
The BIOS memory 22 stores firmware for controlling the operation of the BIOS, the EC 31, and other devices, and the like. The BIOS is firmware for performing basic input and output of the system device. In the present application, the BIOS may also include firmware defined in accordance with a specification specified in Unified Extensible Firmware Interface (UEFI). The BIOS memory 22 is configured to include an electrically rewritable nonvolatile memory. As such a nonvolatile memory, for example, an electrically erasable programmable read only memory (EEPROM), a flash read only memory (ROM), or the like is available.
The auxiliary storage device 23 continuously stores various types of data. The data to be stored includes various programs that may be executed by the CPU 11 and the GPU 13, parameters, data used for various types of processing, and data acquired by the various types of processing. The auxiliary storage device 23 may be, for example, any of a hard disk drive (HDD) or a solid state drive (SSD). The auxiliary storage device 23 is configured to include various nonvolatile memories. For example, a flash memory is used as the nonvolatile memory. The various programs may include, for example, any one of the OS, a driver, firmware, an application, and the like, or a combination of any one thereof.
The USB connector 24 is a connector for connecting various peripheral devices using USB.
The WLAN card 25 connects to a wireless LAN or another network via the wireless LAN, and can wirelessly transmit and receive various types of data between the connection destination and a device.
The audio system 26 can execute acquisition, recording, reproduction, and output of voice data under the control of the host system. The audio system 26 converts, for example, an analog voice signal input from a microphone (not illustrated) connected to the own part into digital voice data (analog-to-digital (AD) conversion). The audio system 26 reads out the voice data designated from a storage medium in which the voice data is stored in advance. The audio system 26 acquires the voice data designated from another device. The storage medium that is an acquisition source of the voice data may be a storage medium provided in the audio system 26 or may be the auxiliary storage device 23 or another device. The audio system 26 stores the acquired voice data in the storage medium. The audio system 26 converts the acquired digital voice data into an analog voice signal (digital-to-analog (DA) conversion). When presenting the voice, the audio system 26 outputs the converted analog voice signal to the sound source 44. The audio terminal 124a (
The processing of the audio system 26, that is, acquisition, recording, reproduction, and output are instructed by commands described in an application and other programs executed by the host system. The audio system 26 may include one or both of a coder that encodes the acquired voice data using a predetermined voice encoding method and a decoder that decodes the acquired digital voice data using a predetermined voice decoding method. The encoder and the decoder may be configured as a single integrated codec.
The information processing apparatus 1 may incorporate a microphone and a speaker (not illustrated), or may be separate from the microphone and the speaker. The built-in speaker may also be selected by the user operation as one of the sound sources 44.
The EC 31 is a one-chip microcomputer that monitors and controls the status of various devices (peripheral devices, sensors, and the like) regardless of the operation state of the host system that forms the core of the information processing apparatus 1. The EC 31 includes a ROM, a plurality of channels of analog-to-digital (A/D) input terminals, a digital-to-analog (D/A) output terminal, a timer, and an input/output interface (not illustrated), in addition to a processor that is separate from the CPU 11 and the RAM that is separate from the main memory 12. The EC 31 executes predetermined firmware to exhibit the function of the firmware.
The input device 32, the power supply circuit 33, the processing circuit 36, and other devices are connected to the input/output interface of the EC 31 in a wired manner. The EC 31 enables the control of the operation of the devices. The input/output interface may be connected to various devices such that data is capable of being transmitted and received wirelessly. The input device 32 may be wirelessly connected to the EC 31 using the input/output interface. The input/output interface may implement, for example, wireless connection using a short-range wireless communication method defined in IEEE 802.15.1.
The EC 31 monitors the use environment of the information processing apparatus 1 based on various electric signals input to the own part. The EC 31 determines whether the sound source is connected based on a potential of a signal cable that connects the audio system 26 and the sound source 44. Here, for example, the EC 31 can detect a potential difference between a reference potential line (ground line) forming a part of the signal cable and the signal line, and determine whether the sound source is connected, depending on whether the detected potential difference is equal to or greater than a reference value of a predetermined potential difference.
When it is determined that the sound source 44 is connected, the EC 31 measures the impedance of the sound source 44. Here, the EC 31 causes the audio system 26 to output a test signal to the sound source 44. In this case, the EC 31 measures an output level obtained by passing the test signal output from the audio terminal 124a to the sound source 44 through the processing circuit 36. The EC 31 can calculate the impedance of the sound source 44 based on the measured output level and the internal impedance of the audio system 26. The EC 31 notifies the host system of the calculated impedance.
The host system determines a gain of the voice signal output from the audio system 26 to the sound source 44 to be higher as the impedance notified from the EC 31 is higher. Therefore, as the impedance of the sound source 44 is higher, the output level of the voice signal is higher.
The input device 32 detects an operation of the user and outputs an operation signal generated in response to the detected operation to the EC 31. For example, the keyboard 107 and the touch pad 109 correspond to the input device 32. The input device 32 may further include a touch sensor. The touch sensor may be configured as a touch panel by overlapping the display 103 forming the display unit.
The power supply circuit 33 supplies power required for the operation of each device provided in the information processing apparatus 1 in accordance with the control of the EC 31. The device that is a power supply destination includes not only the system device but also a peripheral device. In addition, the peripheral device connected to the USB connector 24 can also be a power supply destination. An operation voltage of the device may vary for an individual device. The various devices may also include a device that requires a plurality of levels of voltages. The plurality of levels of voltages may include a reference voltage in addition to the operation voltage.
The power supply circuit 33 includes a converter that converts a voltage of the power supplied to the own part and a power supply device that supplies, to the battery 34, the power of which the voltage is converted. In a case where power is supplied from an AC adapter (not illustrated), the power supply device supplies the power remaining without being consumed in each device to the battery 34. In a case where power is not supplied from the AC adapter or in a case where the power supplied from the AC adapter is insufficient for the power consumption consumed by each device, the power discharged from the battery 34 is supplied to each device as the operation power.
As the converter, for example, one or a plurality of DC/DC converters are used. The plurality of DC/DC converters may be used for each converted voltage. In addition, a first type converter that is a part of the plurality of DC/DC converters may be connected to a device of which an operation state may vary depending on the system device or the operation mode of the system device. The first type converter may control the power to be supplied based on the operation mode notified from the EC 31. A second type converter, which is a part of the plurality of DC/DC converters, may be connected to a device that operates regardless of the operation mode of the system device. The second type converter may be able to regularly supply a constant amount of power.
Examples of the device to be operated regardless of the operation mode of the system device include the EC 31, the processing circuit 36, and the sound source 44.
The battery 34 stores the power supplied from the power supply circuit 33 based on the control of the power supply circuit 33. The battery 34 discharges a part of the stored power to the power supply circuit 33. A secondary battery is used as the battery 34. The secondary battery is a storage battery capable of both charging and discharging. The secondary battery is, for example, a lithium ion battery.
The AC adapter converts the alternating-current power supplied from an external power supply into direct-current power having a constant voltage and supplies the converted power to the power supply circuit 33. The AC adapter includes a mounting tool that enables attachment to and detachment from a chassis of the information processing apparatus 1 including the power supply circuit 33. The mounting tool includes an interface capable of transmitting both power and data in accordance with a predetermined standard. As the predetermined standard, it is possible to use, for example, USB Type-C.
The processing circuit 36 is connected between the audio system 26 and the EC 31, and includes a rectifier element that rectifies the test signal input from the audio system 26, and a low-pass circuit that extracts a low frequency component of the rectified test signal. The processing circuit 36 outputs the output signal output from the low-pass circuit to the EC 31. The EC 31 can detect the potential of the output signal input from the processing circuit 36 as the output level of the test signal supplied to the sound source 44.
Next, a method of adjusting the output level of the voice signal will be described in more detail.
The EC 31 has two voice signal terminals. A signal line connected to one voice signal terminal HP_DET is electrically connected to the reference potential line and one end of a switch 124s via a pull-up resistor Rp. The other end of the switch 124s is electrically connected to the other end of the reference potential line. The switch 124s is a mechanical switch and is built in or adjacent to the audio terminal 124a. When the audio plug is inserted into the audio terminal 124a, pieces of the switch 124s come into contact with each other at both ends and are short-circuited (switch ON). In this state, when the audio plug is separated from the audio terminal 124a, the pieces of the switch 124s are separated from both ends and insulated (switch OFF). Therefore, the EC 31 monitors the potential of the voice signal terminal HP_DET and the signal line. The EC 31 determines whether the measured potential is equal to or less than a predetermined detection threshold value in a state where the voice signal is not output to the headphone 44h. When an absolute value of the potential difference of the EC 31 is equal to or less than the detection threshold value, the EC 31 can determine that the headphone 44h is connected to the audio terminal 124a. When the absolute value of the potential difference of the EC 31 exceeds the reference value, the EC 31 can determine that the headphone 44h is separated from the audio terminal 124a. In a case where the headphone 44h is not connected, the potential at the voice signal terminal HP_DET is significantly higher than the reference potential.
When it is determined that the headphone 44h is connected, EC 31 notifies the CPU 11 of the connection to the headphone 44h. When the connection to the headphone 44h is notified from the EC 31, the CPU 11 outputs a voice signal having a known characteristic as a test signal to the audio system 26 for each voice channel. The test signal output from the codec 26c is attenuated by the internal resistance R1, is supplied to the headphone 44h via the audio terminal 124a, and is supplied to the EC 31 via the processing circuit 36.
In the EC 31, an amplitude V1 and a frequency f1 of the output voltage of the test signal are set in advance. As the frequency f1, a voice signal having a frequency component of a frequency (for example, 20.5 kHz) higher than an audible frequency (typically, 20 Hz to 20 kHz) may be applied. The test signal may be a sine wave of the frequency. As a result, even if the voice based on the test signal is presented to the user wearing the headphone 44h, the presented voice is not perceived. Strictly speaking, a difference in impedance occurs between the voice signal having a frequency component of an audible frequency and the test signal having a higher frequency component. However, the frequency dependence of the impedance is not as remarkable as the dependence on the structure of the sound source.
The processing circuit 36 includes a rectifier element and a low pass filter (LPF). The rectifier element rectifies the test signal input from the audio system 26 and outputs the rectified signal obtained by the rectification to the low pass filter. The low pass filter has a low-pass characteristic of allowing a larger amount of passage of a frequency component having a lower frequency among the frequency components of the rectified signal input from the rectifier element, and outputs the rectified signal after the passage as a low pass signal to the EC 31. The low-pass characteristics can also be regarded as temporal smoothing. The low pass signal may be set to have low-pass characteristics such that a direct current component of the test signal after rectification is mainly remained. The EC 31 measures a potential V_DET of the test signal input from the processing circuit 36. The measured potential V_DET corresponds to an output level V2 of the test signal output from the audio system 26. In the example of
The EC 31 can estimate the impedance RL of the headphone 44h based on the measured output level V2, the preset internal resistance R1, and output voltage V1 of the audio system 26. The impedance RL is obtained by multiplying the internal resistance R1 by a ratio V2/(V1−V2) of the output voltage V1 to the output level V2 with respect to the output level V2. This relationship is due to the fact that the ratio of the output voltage V1 to the output level V2 corresponds to a ratio of the total impedance R1+RL obtained by combining the internal resistance R1 and the impedance RL to the impedance RL.
The EC 31 notifies the CPU 11 of the calculated impedance RL.
A setting table illustrating a relationship between the impedance of the sound source and the output gain corresponding to the output voltage after the adjustment is set in advance in the CPU 11. The CPU 11 refers to the setting table, determines the output gain corresponding to the impedance RL notified from the EC 31, and sets the determined output gain in the audio system 26. The output gain corresponds to a ratio of an output voltage of the voice signal to be output to a predetermined reference output voltage (hereinafter, referred to as a “reference output voltage”) in the codec 26c. The audio system 26 multiplies a signal value of each sample forming the voice signal converted by the DA conversion by the set output gain. The audio system 26 outputs the voice signal including the multiplication value obtained by the multiplication as the voice signal after the volume adjustment to the audio terminal 124a.
In the setting table, a maximum output voltage may be described in association with the impedance. In that case, the CPU 11 refers to the setting table and further specifies the maximum output voltage corresponding to the impedance RL notified from the EC 31. The CPU 11 determines the output gain corresponding to the default output voltage specified as described above, and sets the determined output gain in the audio system 26. On the other hand, the CPU 11 sets the specified maximum voltage in the audio system 26. The audio system 26 adjusts the amplitude of the voice signal such that the voltage value indicating the voice signal after volume adjustment does not exceed the set maximum voltage. The audio system 26 outputs the voice signal after the amplitude adjustment to the audio terminal 124a. As a result, the supply of the voice signal accompanied by the power exceeding the maximum output voltage to the headphone 44h is avoided.
The power consumption P by the voice signal supplied to the headphone 44h and the output voltage U from the codec 26c have a relationship represented by Expression (1). According to Equation (1), the output voltage U corresponds to a multiplication value obtained by multiplying the sum of the internal resistance R1 of the audio system 26 and the impedance RL of the headphone 44h by a square root of the ratio of the power consumption P to the impedance RL. Here, the audio terminal 124a can also be regarded as an output point that divides the voltage of the voice signal output from the codec 26c by the ratio of the internal resistance R1 and the impedance RL. The square root of the ratio of the power consumption P to the impedance RL corresponds to a current I supplied to the headphone 44h. The default output voltage corresponds to a voltage value U calculated using Expression (1) with respect to the rated power consumption P of the headphone 44h.
The default output gain is calculated by dividing the default output voltage U corresponding to the impedance RL of the headphone 44h by the reference output voltage corresponding to the reference impedance. As described above, the impedance RL is determined based on the output voltage V1 of the test signal, the measured output level V2, and the internal resistance R1 of the audio system 26. The default output gain is determined based on the impedance RL determined by the measured output level V2, the rated power consumption P of the headphone 44h, and the internal resistance R1 of the audio system 26. The maximum voltage corresponds to the voltage value U calculated using Expression (1) with respect to the maximum power consumption P allowed for the headphone 44h. That is, the maximum voltage is determined based on the impedance RL determined by the measured output level V2, the maximum power consumption P of the headphone 44h, and the internal resistance R1 of the audio system 26.
The rated power consumption may be common regardless of the model of the headphone 44h as described above, or may vary depending on the model. The maximum output voltage may differ depending on the model of the headphone 44h as described above, or may be common regardless of the model. In a case where one or both of the rated power consumption and the maximum output voltage vary depending on the model, a setting table may be set in the CPU 11 or the audio system 26 in advance for each model. When the headphone 44h is connected to the audio system 26, the headphone 44h may output a notification signal indicating model information indicating a model of the headphone 44h to the EC 31, and the EC 31 may notify the CPU 11 of the model information indicated by the notification signal. The CPU 11 can select a setting table corresponding to the notified model information and determine the output gain and the maximum output voltage by using the selected setting table.
Next, an example of volume control according to one or more embodiments will be described.
Next, a configuration example of the processing circuit 36 according to one or more embodiments will be described.
The processing circuit 36 includes a rectifier element D2, resistance elements R2 and R3, and a power storage element C2. The rectifier element D2 and the resistance element R2 are connected in series. The resistance element R2 is connected in series with each of the resistance element R3 and the power storage element C2. The resistance element R2 and the power storage element C3 are connected in parallel with each other and are also connected in parallel with the EC 31.
The rectifier element D2 rectifies the voice signal input from the audio system 26, allows a forward direction component having a positive potential to pass, and blocks a backward direction component having a negative potential. The rectifier element D2 outputs the forward direction component as the rectified voice signal to one end of the resistance element R2. The rectifier element D2 is, for example, a diode.
In the resistance element R2, the voice signal after rectification is input from the rectifier element D2 to one end thereof. The resistance element R2 allows the input voice signal to pass through the electric resistance value R2 and outputs the voice signal from the other end to one end of the power storage element C2, one end of the resistance element R3, and the input end of the EC 31, respectively.
The voice signal is input from the other end of the resistance element R2 to one end of each of the power storage element C2 and the resistance element R3. The other end of each of the power storage element C2 and the resistance element R3 is electrically connected to the reference potential point. Therefore, both the power storage element C2 and the resistance element R3 form an RC circuit in parallel with the EC 31.
With this configuration, the processing circuit 36 functions as a low pass filter having low-pass characteristics with respect to the forward direction component obtained by the rectifier element D2. The electric capacity C2 and the electric resistance value R3 are set such that a time constant, which is a product of the electric capacity C2 of the power storage element and the electric resistance value R3 of the resistance element, is sufficiently larger than a reciprocal of the frequency of the main component of the test signal. The forward direction component obtained by the rectifier element D2 is temporally smoothed, and the direct current component is mainly supplied to the EC 31.
An output level V(t) of the test signal output from the codec 26c with a constant amplitude increases with the elapse of time and gradually approaches a certain value E. As illustrated in
In the above description, a case where the CPU 11 refers to the setting table to determine the output gain or the maximum power corresponding to the measured output level is described as an example, but the present invention is not limited thereto. The CPU 11 may calculate the output gain or the maximum power from the output level using a preset calculation formula. In addition, in the above description, a case where the CPU 11 (that is, the host system) and the EC 31 are used as the controller that executes the volume control and share the processing is described as an example, but the present invention is not limited thereto. Any one of the host system or the EC 31 may collectively execute the processing related to the volume control without sharing the processing.
In addition, in the above description, a case where the information processing apparatus 1 is configured as a laptop PC is described as an example, but the present invention is not limited thereto. The information processing apparatus 1 may be configured as, for example, a mobile phone or a tablet terminal device. In addition, a separate sound source may be incorporated into the information processing apparatus 1 instead of the detachable sound source 44 using the audio terminal 124a. In that case, the host system disconnects the connection to the built-in sound source when the connection of the sound source 44 to the audio terminal 124a is detected. The host system reconnects to the built-in sound source when the host system detects the separation of the sound source 44 from the audio terminal 124a.
As described above, the controller (for example, the host system or the EC 31) and the audio system 26 according to one or more embodiments are provided. The controller measures the output level of the test signal output to the sound source 44 when the connection between the audio system 26 and the sound source 44 is detected. The controller determines the output gain of the voice signal output from the audio system to the sound source 44 based on the measured output level.
The controller can determine the output gain based on, for example, the impedance of the sound source 44 corresponding to the output level, the rated power consumption of the sound source 44, and the internal resistance of the audio system.
With this configuration, when the sound source 44 is connected to the audio system 26, the output level of the test signal output to the sound source 44 is measured. The output gain of the voice signal output from the audio system 26 to the sound source 44 is determined based on the measured output level. Here, the controller determines the output gain of the voice signal to be larger as the measured output level is higher. Since the output level is compensated to be lower as the impedance of the sound source 44 connected to the audio system 26 is higher, the difference in the output level is reduced depending on the type of the sound source 44.
In addition, the controller may determine the maximum voltage of the voice signal based on the impedance of the sound source 44, the maximum power consumption of the sound source and the internal resistance.
The audio system 26 controls the voltage of the voice signal output from the own part not to exceed the maximum voltage, so that the input of the voice signal having an excessive voltage exceeding the maximum voltage is avoided for the sound source 44. Therefore, the sound source 44 is protected.
The test signal may have a frequency component having a frequency higher than the audible band.
Even if the sound is presented based on the test signal by wearing the sound source 44, the listener does not perceive the presented sound. Therefore, the listener does not have to feel discomfort due to the presentation of the sound based on the test signal.
The information processing apparatus 1 may include a rectifier element that rectifies the test signal and outputs a rectified signal, and a low pass filter that extracts a low pass signal from the rectified signal. In addition, the controller may measure an output level of the low pass signal.
With this configuration, a direct current component of the rectified signal obtained by rectifying the test signal is obtained as a main component, and an output level thereof is measured. Therefore, the power of the test signal can be estimated with the output level measured by the simple configuration.
The low pass filter may include a resistance element and a power storage element in parallel with the controller. The controller may detect the output level after a predetermined time from the output of the test signal. The predetermined time is set to a value larger than a product of the resistance value of the resistance element and the electrostatic capacity of the power storage element. Since the output level that is close to a certain value is detected after a sufficient time has elapsed from the start of the output of the test signal, the output level of the direct current component is detected more accurately than immediately after the start of the output of the test signal.
Although embodiments of the present invention have been described in detail with reference to the drawings, the specific configurations are not limited to the above-described embodiments, and the present application includes designs and the like within a scope not departing from the spirit of the invention. It is possible to optionally combine the configurations described in the above-described embodiments.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2024-006938 | Jan 2024 | JP | national |