Electronic device and control method thereof

The electronic device adjusts frequency characteristics using transmission and wearing state information to correct for microphone-eardrum position differences, ensuring optimal audio quality by minimizing low-frequency loss for loosely sealed ears.

WO2026111376A1PCT designated stage Publication Date: 2026-05-28SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SAMSUNG ELECTRONICS CO LTD
Filing Date
2025-11-18
Publication Date
2026-05-28

AI Technical Summary

Technical Problem

Conventional audio technologies fail to accurately adjust frequency characteristics due to variations in the position of the internal microphone and eardrum, leading to significant differences in frequency and phase responses, especially for users with loosely sealed ears, resulting in diffusion loss and inadequate transmission of low-frequency audio signals.

Method used

An electronic device with a speaker, internal microphone, and processor that adjusts frequency characteristics based on transmission characteristics and wearing state information, using error information to correct for differences between the microphone and eardrum positions, thereby optimizing audio signal output.

Benefits of technology

The device ensures optimal audio quality by adjusting frequency characteristics to match target settings, effectively preventing low-frequency loss and enhancing audio transmission for users wearing the device loosely.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025019092_28052026_PF_FP_ABST
    Figure KR2025019092_28052026_PF_FP_ABST
Patent Text Reader

Abstract

An electronic device and a control method thereof are disclosed. The electronic device comprises a speaker, an internal microphone, a memory storing at least one instruction, and a processor which executes the at least one instruction, wherein the processor can: control the speaker to output a first audio signal; when a second audio signal corresponding to the first audio signal is received through the internal microphone, obtain transmission characteristic information indicating a transmission characteristic of an audio signal in a path between the speaker and the internal microphone on the basis of the first audio signal and the second audio signal; obtain wearing state information about a state in which a user wears the electronic device on the basis of the transmission characteristic information; obtain error information indicating a difference between an acoustic characteristic at a position of the internal microphone and an acoustic characteristic at a target position corresponding to an eardrum position of the user on the basis of the wearing state information; and adjust a frequency characteristic of the first audio signal to correspond to a preset target frequency characteristic on the basis of the error information.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device and control method thereof

[0001] The present disclosure relates to an electronic device and a method for controlling an electronic device, and specifically, to an electronic device capable of adjusting the frequency characteristics of an audio signal output through a speaker and a method for controlling the same.

[0002] Recently, technology for providing high-quality audio content to users has been advancing. In particular, technology is now being provided to adjust the frequency response of the output audio signal in real time to correspond to the optimal target frequency response.

[0003] For example, conventional technology can adaptively change the parameters of an equalizer filter by using an audio signal received through an internal microphone of an earphone positioned toward the user's ear when an audio signal is output through the speaker of the earphone.

[0004] However, the position of the internal microphone and the position of the user's eardrum differ, and the position of the eardrum and the position of the internal microphone within the external auditory canal may change depending on the user and the state in which the user is wearing the earphones.

[0005] And when the position of the eardrum and the position of the internal microphone within the external auditory canal are changed, the frequency response and phase response change significantly in the frequency band of about 2 kHz or higher.

[0006] However, when the user wears the earphones tightly in their ears, there is no significant difference in frequency response and phase response between the internal microphone position and the eardrum position in the frequency band of about 2 kHz or less.

[0007] However, for users with loosely sealed ears or those who wear earphones loosely, audio signals in frequency bands below approximately 2 kHz may diffract and experience diffusion loss, and may not be sufficiently transmitted to the user's eardrum. Furthermore, this diffusion loss can become more severe as the frequency band decreases.

[0008] And, as a result, the frequency response and phase response at the internal microphone and eardrum positions can differ significantly even in the frequency band of about 2 kHz or less.

[0009] The present disclosure is intended to solve the problems of the prior art as described above, and the purpose of the present disclosure is to provide an electronic device and a method for controlling the same that can adjust the frequency characteristics of an audio signal output through a speaker to correspond to target frequency characteristics by reflecting the state in which a user is wearing the electronic device.

[0010] According to one or more embodiments of the present disclosure for achieving the purpose described above, an electronic device comprises a speaker, an internal microphone, a memory for storing at least one instruction, and a processor for executing said at least one instruction. The processor controls the speaker to output a first audio signal, and when a second audio signal corresponding to the first audio signal is received through the internal microphone, it obtains transmission characteristic information indicating the transmission characteristics of the audio signal in the path between the speaker and the internal microphone based on the first audio signal and the second audio signal, obtains wearing state information regarding the state in which the user is wearing the electronic device based on the transmission characteristic information, obtains error information indicating the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at a target position corresponding to the position of the user's eardrum based on the wearing state information, and adjusts the frequency characteristics of the first audio signal to correspond to a preset target frequency characteristic based on the error information.

[0011] Meanwhile, the processor can obtain the wearing state information by identifying a transmission characteristic corresponding to the transmission characteristic information among a plurality of transmission characteristics corresponding to each of a plurality of predefined wearing states, or by identifying whether the value corresponding to the transmission characteristic information is greater than or equal to a pre-set threshold value.

[0012] Meanwhile, the processor can obtain error information by identifying the error corresponding to the wearing state information among the plurality of errors based on information regarding a plurality of previously measured errors, and the plurality of errors may represent the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at the target position.

[0013] Meanwhile, the processor may further include an external microphone and obtain information regarding the plurality of errors based on information indicating the transmission characteristics of the audio signal in the path between the speaker and the internal microphone and information indicating the transmission characteristics of the audio signal in the path between the external microphone and the internal microphone.

[0014] Meanwhile, the processor can obtain a first transfer function and a second transfer function representing the transmission characteristics of an audio signal in the path, respectively, based on the internal microphone and the microphone corresponding to the target position, and obtain a third transfer function and a fourth transfer function representing the transmission characteristics of an audio signal in the path between the external microphone and the internal microphone, respectively, based on the internal microphone and the external microphone, and obtain information regarding the plurality of errors based on the first transfer function, the second transfer function, the third transfer function, and the fourth transfer function.

[0015] Meanwhile, the processor can obtain information regarding the plurality of errors by offsetting information commonly included in the first transfer function and the third transfer function, and by offsetting information commonly included in the second transfer function and the fourth transfer function.

[0016] Meanwhile, the processor can adjust the frequency characteristics of the first audio signal to correspond to the target frequency characteristics by updating at least one parameter for adjusting the frequency characteristics so that the difference between the corrected frequency characteristics reflecting the error information in the second audio signal and the target frequency characteristics is reduced.

[0017] Meanwhile, the processor can update the at least one parameter based on the target frequency characteristics and history information regarding the user's frequency band settings.

[0018] Meanwhile, the processor can determine the target frequency characteristic based on user input selecting one of a plurality of target frequency characteristics.

[0019] According to one or more embodiments of the present disclosure for achieving the purpose described above, a control method for an electronic device comprises: controlling a speaker to output a first audio signal; when a second audio signal corresponding to the first audio signal is received through an internal microphone, acquiring transmission characteristic information indicating the transmission characteristics of an audio signal in a path between the speaker and the internal microphone based on the first audio signal and the second audio signal; acquiring wearing state information regarding the state in which the user is wearing the electronic device based on the transmission characteristic information; acquiring error information indicating the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at a target position corresponding to the position of the user's eardrum based on the wearing state information; and adjusting the frequency characteristics of the first audio signal to correspond to a preset target frequency characteristic based on the error information.

[0020] Meanwhile, the step of acquiring the above-mentioned wearing state information may include the step of acquiring the above-mentioned wearing state information by identifying a transmission characteristic corresponding to the above-mentioned transmission characteristic information among a plurality of transmission characteristics corresponding to each of a plurality of predefined wearing states, or by identifying whether the value corresponding to the above-mentioned transmission characteristic information is greater than or equal to a pre-set threshold value.

[0021] Meanwhile, the step of acquiring the error information may include the step of acquiring the error information by identifying the error corresponding to the wearing state information among the plurality of errors based on information regarding a plurality of previously measured errors, and the plurality of errors may represent the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at the target position.

[0022] Meanwhile, the step of acquiring the above error information may further include the step of acquiring information on the plurality of errors based on information indicating the transmission characteristics of the audio signal in the path between the speaker and the internal microphone and information indicating the transmission characteristics of the audio signal in the path between the external microphone and the internal microphone.

[0023] Meanwhile, the step of acquiring the error information may further include the step of acquiring a first transfer function and a second transfer function representing the transmission characteristics of an audio signal in the path, respectively, based on the internal microphone and the microphone corresponding to the target position; the step of acquiring a third transfer function and a fourth transfer function representing the transmission characteristics of an audio signal in the path between the external microphone and the internal microphone, respectively, based on the internal microphone and the external microphone; and the step of acquiring information on the plurality of errors based on the first transfer function, the second transfer function, the third transfer function, and the fourth transfer function.

[0024] Meanwhile, the step of obtaining the error information may further include the step of obtaining information regarding the plurality of errors by offsetting the information commonly included in the first transfer function and the third transfer function, and by offsetting the information commonly included in the second transfer function and the fourth transfer function.

[0025] Meanwhile, the step of adjusting the frequency characteristics may include the step of adjusting the frequency characteristics of the first audio signal to correspond to the target frequency characteristics by updating at least one parameter for adjusting the frequency characteristics so that the difference between the corrected frequency characteristics reflecting the error information in the second audio signal and the target frequency characteristics is reduced.

[0026] Meanwhile, the step of adjusting the frequency characteristics may include the step of updating at least one parameter based on the target frequency characteristics and history information regarding the user's frequency band settings.

[0027] Meanwhile, the method may further include a step of determining the target frequency characteristic based on user input selecting one of a plurality of target frequency characteristics.

[0028] According to one or more embodiments of the present disclosure for achieving the purpose described above, a non-transient computer-readable recording medium comprising a program for executing a method of controlling an electronic device, wherein the method of controlling the electronic device may include: a step of controlling a speaker to output a first audio signal; a step of, when a second audio signal corresponding to the first audio signal is received through an internal microphone, acquiring transmission characteristic information indicating the transmission characteristics of an audio signal in a path between the speaker and the internal microphone based on the first audio signal and the second audio signal; a step of acquiring wearing state information regarding the state in which the user is wearing the electronic device based on the transmission characteristic information; a step of acquiring error information indicating the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at a target position corresponding to the position of the user's eardrum based on the wearing state information; and a step of adjusting the frequency characteristics of the first audio signal to correspond to a preset target frequency characteristic based on the error information.

[0029] Other aspects, features, and advantages of one or more embodiments according to the present disclosure will become more apparent from the following detailed description, together with the accompanying drawings.

[0030] FIG. 1 is a drawing showing an electronic device according to one embodiment of the present disclosure worn on a user's ear,

[0031] FIG. 2 is a block diagram briefly showing the configuration of an electronic device according to one embodiment of the present disclosure,

[0032] Figure 3 is a graph for explaining information on transmission characteristics according to the user's wearing state,

[0033] FIG. 4 is a drawing showing in detail the configuration of an electronic device according to one or more embodiments of the present disclosure,

[0034] FIGS. 5 to 7 are drawings for explaining in detail one or more embodiments related to a method for obtaining information on a plurality of errors, and,

[0035] FIG. 8 is a flowchart illustrating a method for controlling an electronic device according to one or more embodiments of the present disclosure.

[0036] The embodiments described herein are subject to various modifications and may have various forms; specific embodiments are illustrated in the drawings and described in detail in the detailed description. However, this is not intended to limit the scope of specific embodiments and should be understood to include various modifications, equivalents, and / or alternatives of the embodiments of the present disclosure. In relation to the description of the drawings, similar reference numerals may be used for similar components.

[0037] In describing the present disclosure, if it is determined that a detailed description of related known functions or configurations could unnecessarily obscure the essence of the present disclosure, such detailed description is omitted.

[0038] Additionally, the following embodiments may be modified in various other forms, and the scope of the technical concept of the present disclosure is not limited to the following embodiments. Rather, these embodiments are provided to make the present disclosure more faithful and complete and to fully convey the technical concept of the present disclosure to those skilled in the art.

[0039] The terms used in this disclosure are used merely to describe specific embodiments and are not intended to limit the scope of the rights. Singular expressions include plural expressions unless the context clearly indicates otherwise.

[0040] In the present disclosure, expressions such as “have,” “may have,” “include,” or “may include” indicate the presence of such features (e.g., numerical values, functions, actions, or components such as parts) and do not exclude the presence of additional features.

[0041] In the present disclosure, expressions such as “A or B,” “at least one of A or / and B,” or “one or more of A or / and B” may include all possible combinations of items listed together. For example, “A or B,” “at least one of A and B,” or “at least one of A or B” may refer to cases including (1) at least one A, (2) at least one B, or (3) both at least one A and at least one B.

[0042] Expressions such as "first," "second," "first," or "second" used in this disclosure may modify various components regardless of order and / or importance, and are used only to distinguish one component from another and do not limit said components.

[0043] Where it is stated that a certain component (e.g., a first component) is "(operatively or communicatively) coupled with / to" or "connected to" another component (e.g., a second component), it should be understood that the said certain component may be directly connected to the said other component or connected through another component (e.g., a third component).

[0044] On the other hand, when it is stated that a certain component (e.g., a first component) is "directly connected" or "directly coupled" to another component (e.g., a second component), it may be understood that no other component (e.g., a third component) exists between said certain component and said other component.

[0045] As used in this disclosure, the expression “configured to” may be replaced, depending on the context, with, for example, “suitable for,” “having the capacity to,” “designed to,” “adapted to,” “made to,” or “capable of.” The term “configured to” may not necessarily mean only “specifically designed to” in hardware.

[0046] Instead, in some situations, the expression “device configured to do something” may mean that the device is “capable of doing something” together with other devices or components. For example, the phrase “processor configured (or set) to perform A, B, and C” may mean a dedicated processor for performing those operations (e.g., an embedded processor), or a generic-purpose processor (e.g., a CPU or application processor) capable of performing those operations by executing one or more software programs stored in a memory device.

[0047] In the embodiments, a 'module' or 'part' performs at least one function or operation and may be implemented in hardware or software, or a combination of hardware and software. Additionally, a plurality of 'modules' or a plurality of 'parts' may be integrated into at least one module and implemented by at least one processor, except for the 'module' or 'part' that needs to be implemented in specific hardware.

[0048] Meanwhile, the various elements and areas in the drawings are depicted schematically. Accordingly, the technical concept of the present invention is not limited by the relative sizes or spacing depicted in the attached drawings.

[0049] Hereinafter, embodiments according to the present disclosure are described in detail with reference to the attached drawings so that those skilled in the art can easily implement them.

[0050] FIG. 1 is a diagram showing an electronic device according to one embodiment of the present disclosure being worn on a user's ear. FIG. 2 is a block diagram briefly showing the configuration of an electronic device according to one embodiment of the present disclosure. FIG. 3 is a graph for explaining information regarding transmission characteristics according to the user's wearing state.

[0051] Hereinafter, basic terms for describing embodiments according to the present disclosure will be explained with reference to FIG. 1, and then the configurations of an electronic device and various embodiments implemented using those configurations will be described with reference to FIG. 2 and FIG. 3.

[0052] The "electronic device" according to the present disclosure refers to a device that can be worn on a user's ear and provide an audio signal to the user. For example, the electronic device may be implemented as a wireless earphone as illustrated in FIG. 1 and can be worn on a user's ear to provide sound (audio content) to the user. However, the electronic device according to the present disclosure is not limited to wireless earphones, and any device that can be worn on a user's ear and provide an audio signal to the user may be considered an electronic device according to the present disclosure regardless of its type.

[0053] In FIG. 1, only one of the two units (left unit and right unit) constituting the wireless earphone is illustrated on the premise that the electronic device is implemented as a wireless earphone, but this is merely for convenience of explanation. When describing the configurations of the electronic device below, only one unit will be used as the basis for explanation, but this is also merely for convenience of explanation, and it is obvious that the configurations of the electronic device described below can be included in each of the two units constituting the wireless earphone.

[0054] As illustrated in FIG. 1, the electronic device may include a speaker. The speaker may output an audio signal, and the audio signal output through the speaker may be transmitted to the user's eardrum through the user's external auditory canal.

[0055] The electronic device may include an external microphone and an internal microphone. The external microphone can receive an audio signal corresponding to external noise. The internal microphone can receive an audio signal corresponding to an audio signal output through a speaker.

[0056] For example, the internal microphone can receive an audio signal corresponding to an audio signal output through a speaker (transmitted via an auxiliary path described below). Additionally, the internal microphone can receive an audio signal corresponding to an audio signal received through an external microphone (transmitted via a primary path described below).

[0057] The 'primary path' may refer to the path between the external microphone and the internal microphone, and can be replaced with terms such as 'first path'. Specifically, an audio signal corresponding to external noise received through the external microphone can be transmitted to the internal microphone via the primary path. In other words, external noise can remain in the internal microphone via the primary path. The transfer function representing the primary path may exhibit characteristics where the signal is attenuated depending on the state in which the user is wearing the electronic device.

[0058] The 'secondary path' may refer to the path between the speaker and the internal microphone and can be replaced with terms such as 'secondary path'. Specifically, the audio signal output through the speaker can be transmitted through the user's external auditory canal to the user's eardrum or to the internal microphone. The transfer function representing the secondary path can indicate the speaker response of the electronic device and the characteristics of the user's external auditory canal.

[0059] In FIG. 1, the description is based on the premise that the electronic device includes an external microphone to distinguish between the primary path and the secondary path; however, the electronic device according to the present disclosure is not required to include an external microphone. Below, embodiments that can be implemented even when the electronic device does not include an external microphone will be described with reference to FIGS. 2 and 3, and embodiments that can be implemented when the electronic device includes an external microphone will be described with reference to FIGS. 4 through 7.

[0060] Referring to FIG. 2, the electronic device (100) may include a speaker (110), an internal microphone (120), a memory (130), and a processor (140).

[0061] The speaker (110) can output an audio signal. Specifically, the processor (140) can control the speaker (110) to output an audio signal corresponding to audio content. As illustrated in FIG. 1, when a user wears the electronic device (100), the speaker (110) can be placed inside the user's ear.

[0062] The processor (140) can control the speaker (110) to perform adaptive equalizing on an audio signal corresponding to audio content, thereby adjusting the frequency components of the audio signal to correspond to a target frequency characteristic, thereby strengthening or weakening a specific band, and outputting an audio signal having the adjusted frequency components. Here, 'target frequency characteristic' refers to a characteristic having a target frequency response targeted by the manufacturer of the electronic device (100), and can be changed according to the settings of the user or developer.

[0063] The internal microphone (120) can receive a signal for sound or voice generated outside the electronic device (100). As shown in FIG. 1, when a user wears the electronic device (100), the speaker (110) can be placed inside the user's ear.

[0064] The internal microphone (120) can acquire vibrations corresponding to sound or voice generated outside the electronic device (100) and convert the acquired vibrations into electrical signals. The signals received through the internal microphone (120) can be converted into digital signals and stored in memory (130). The microphone may include an ADC (Analog-to-Digital Converter), a DAC (Digital-to-Analog Converter), etc.

[0065] As described above, the internal microphone (120) can receive an audio signal corresponding to an audio signal output through the speaker (110) (transmitted via an auxiliary path described later). Additionally, the internal microphone (120) can receive an audio signal corresponding to an audio signal received through the external microphone (150) (transmitted via a primary path described later).

[0066] At least one instruction regarding an electronic device (100) may be stored in the memory (130). Additionally, an operating system (O / S) for operating the electronic device (100) may be stored in the memory (130). Furthermore, various software programs or applications for operating the electronic device (100) may be stored in the memory (130) according to various embodiments of the present disclosure. Additionally, the memory (130) may include semiconductor memory such as flash memory or magnetic storage media such as a hard disk.

[0067] Specifically, various software modules for operating an electronic device (100) according to various embodiments of the present disclosure may be stored in the memory (130), and the processor (140) may control the operation of the electronic device (100) by executing the various software modules stored in the memory (130). That is, the memory (130) is accessed by the processor (140), and reading / writing / modifying / deleting / updating of data by the processor (140) may be performed.

[0068] Meanwhile, in the present disclosure, the term memory (130) may be used to include memory (130), ROM, RAM, or a memory card (e.g., micro SD card, memory stick) mounted in the electronic device (100) within the processor (140).

[0069] In one or more embodiments, the memory (130) may store audio signals, transfer characteristic information (transfer function), wearing status information, error information, information regarding target frequency characteristics, etc. In addition, various information necessary within the scope of achieving the purpose of the present disclosure may be stored in the memory (130), and the information stored in the memory (130) may be updated as it is received from an external device or input by a user.

[0070] The processor (140) controls the overall operation of the electronic device (100). Specifically, the processor (140) is connected to the configuration of the electronic device (100) including a speaker (110), an internal microphone (120), and a memory (130), and can control the overall operation of the electronic device (100) by executing at least one instruction stored in the memory (130) as described above.

[0071] The processor (140) can be implemented in various ways. For example, the processor (140) can be implemented as at least one of an Application Specific Integrated Circuit (ASIC), an embedded processor, a microprocessor, hardware control logic, a hardware Finite State Machine (FSM), or a Digital Signal Processor (DSP). Meanwhile, in this disclosure, the term processor (140) may be used to include a CPU (Central Processing Unit), a GPU (Graphic Processing Unit), and an MPU (Micro Processor Unit), etc.

[0072] In one or more embodiments, the processor (140) can adjust the frequency characteristics of an audio signal output through the speaker (110) to correspond to a target frequency characteristic depending on the state in which the user is wearing the electronic device (100). That is, the processor (140) can perform adaptive equalization depending on the state in which the user is wearing the electronic device (100) to adjust the audio signal output through the speaker (110) to have an optimal frequency response. Various embodiments implemented through the processor (140) will be described in detail below.

[0073] The processor (140) can control the speaker (110) to output a first audio signal. Here, the 'first audio signal' refers to an audio signal corresponding to audio content or an audio signal resulting from adjusting (or changing, modulating) the frequency of the audio signal, and is an audio signal output through the speaker (110).

[0074] When a second audio signal corresponding to a first audio signal is received through the internal microphone (120), the processor (140) can obtain transmission characteristic information indicating the transmission characteristics of the audio signal in the path between the speaker (110) and the internal microphone (120) based on the first audio signal and the second audio signal. Here, the path between the speaker (110) and the internal microphone (120) refers to the auxiliary path as described above.

[0075] When a first audio signal is output through the speaker (110), the first audio signal can be transmitted to the user's eardrum and can also be transmitted to the internal microphone (120) via the user's external auditory canal. Hereinafter, the audio signal transmitted to the internal microphone (120) via an auxiliary path from the first audio signal output through the speaker (110) is referred to as the 'second audio signal'.

[0076] "Transfer characteristic information" can be a general term for information representing the characteristics of the transmission path of an audio signal. Specifically, transfer characteristic information may include information regarding the transfer function. The transfer function can represent the frequency response and dynamic characteristics of the audio signal's transmission path. Furthermore, the transfer function can represent information regarding how the magnitude and phase of the audio signal change as it passes through a specific path.

[0077] For example, the processor (140) can perform a Fast Fourier Transform (FFT) to convert the first audio signal and the second audio signal into the frequency domain, and by calculating the ratio of the first audio signal expressed in the frequency domain and the second audio signal expressed in the frequency domain, obtain a transfer function representing the frequency response of the auxiliary path.

[0078] When transmission characteristic information is obtained based on the first audio signal and the second audio signal, the processor (140) can obtain wearing state information regarding the state in which the user is wearing the electronic device (100) based on the transmission characteristic information.

[0079] Specifically, the processor (140) can obtain wearing state information by identifying a transmission characteristic corresponding to the transmission characteristic information obtained based on the first audio signal and the second audio signal among a plurality of transmission characteristics corresponding to each of a plurality of predefined wearing states. The 'wearing state information' may include information regarding the degree of looseness or tightness of the user's wearing state. The wearing state information may include information regarding the space where an audio signal may leak when the user wears the electronic device (100) on the user's ear, which exists between the electronic device (100) and the user's ear.

[0080] More specifically, depending on the state in which the user is wearing the electronic device (100), the auxiliary path may change, and accordingly, the transmission characteristics corresponding to the auxiliary path may also change. The processor (140) may obtain information regarding multiple transmission characteristics corresponding to each of the multiple wearing states in advance and store it in memory (130). The processor (140) may identify a transmission characteristic corresponding to the acquired transmission characteristic based on the first audio signal and the second audio signal among the multiple transmission characteristics. Then, the processor (140) may estimate the current user's wearing state by identifying the wearing state information corresponding to the identified transmission characteristic.

[0081] Here, 'information on multiple transmission characteristics' may include information representing the transmission characteristics of the auxiliary path for each of multiple wearing states. The information on multiple transmission characteristics may be configured non-linearly to include multiple characteristic graphs representing previously measured results, or it may be configured linearly based on interpolation of multiple characteristic graphs representing previously measured results. Here, 'multiple characteristic graphs' refers to graphs obtained by pre-measuring the transmission characteristics for each user's wearing state while varying the user's wearing state.

[0082] For example, referring to FIG. 3, information on multiple transmission characteristics may include a graph (310) representing the transmission characteristics when the user's wearing condition is the loosest (e.g., state value 0), a graph (320) representing the transmission characteristics when the user's wearing condition is normal (e.g., state value 0.5), and a graph (330) representing the transmission characteristics when the user's wearing condition is the tightest (e.g., state value 1). In this case, if the transmission characteristic information obtained based on the first audio signal and the second audio signal represents a frequency response between the graph (310) and the graph (320), the processor (140) may estimate the user's wearing condition to be a state that is intermediate between the loosest and normal states (e.g., state value 0.25).

[0083] Meanwhile, the processor (140) may obtain wearing state information by identifying whether a value corresponding to the transmission characteristic information is greater than or equal to a preset threshold value. Specifically, the processor (140) may calculate a value corresponding to the transmission characteristic information obtained based on the first audio signal and the second audio signal, and may obtain wearing state information based on whether the calculated value is greater than or equal to a preset threshold value. Here, there may be multiple preset threshold values, and each of the multiple threshold values ​​may correspond to multiple wearing states. For example, if a threshold value indicating the tightest state of the user's wearing state is set to 0.90, and the value corresponding to the transmission characteristic information is 0.93, the processor (140) may identify that the user's wearing state is the tightest state.

[0084] In the multiple transfer characteristic information or multiple threshold values ​​described above, "multiple" may mean any number of two or more, and there is no special limitation on the number. For example, the number of multiple transfer characteristics may correspond to the number of all numbers represented as 16-bit floating-point numbers between 0 and 1, but is not limited thereto.

[0085] Based on the wearing state information, the processor (140) can obtain error information indicating the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position corresponding to the user's eardrum position.

[0086] Specifically, the processor (140) can obtain error information by identifying an error corresponding to the currently acquired wearing state information among a plurality of previously measured errors. More specifically, when the user's wearing state changes, the relationship between the position of the internal microphone (120) and the target position changes, and accordingly, the 'error' representing the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position may change.

[0087] The processor (140) can pre-measure the acoustic characteristics at the location of the internal microphone (120) and the acoustic characteristics at the target location for each location of the internal microphone (120), and acquire information on a plurality of errors representing the difference between the measured acoustic characteristics and store it in the memory (130). The processor (140) can acquire error information by identifying the error corresponding to the current wearing state among the plurality of errors based on the information on the plurality of errors.

[0088] 'Information regarding multiple errors' refers to information regarding errors that indicate the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position. For example, multiple errors may indicate the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position depending on the wearing condition of the people. Additionally, multiple errors may indicate the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position depending on the position of the internal microphone, the length and volume of the people's external auditory canals, the shape of the people's external auditory canals, and the position of the people's eardrums. Furthermore, any elements capable of indicating the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position may be reflected in the information regarding multiple errors.

[0089] 'Error information' refers to information regarding the error corresponding to the user's current wearing status among multiple error information. Additionally, 'Target position' refers to a pre-set location corresponding to the position of the user's eardrum, and may be changed according to settings by the user or developer.

[0090] Information regarding multiple errors may be configured non-linearly to include multiple error graphs representing previously measured results, or may be configured linearly based on interpolation of multiple error graphs representing previously measured results. Here, 'multiple error graphs' refers to graphs obtained by pre-measuring the error representing the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position for each user's wearing state while varying the user's wearing state.

[0091] The processor (140) can adjust the frequency characteristics of the first audio signal to correspond to a preset target frequency characteristic based on the acquired error information. Specifically, the processor (140) can adjust the frequency characteristics of the first audio signal to correspond to the target frequency characteristic by updating at least one parameter (e.g., parameters of an equalizer filter) for adjusting the frequency characteristics so that the difference between the corrected frequency characteristic and the target frequency characteristic reflecting the error information in the second audio signal is reduced.

[0092] The processor (140) can perform adaptive equalization on the first audio signal in real time by performing the above-described operation while the first audio signal is output through the speaker (110). Additionally, the processor (140) can perform adaptive equalization on the first audio signal by performing the above-described operation at preset intervals.

[0093] Meanwhile, the processor (140) may update at least one parameter based on history information regarding the target frequency characteristics and the user's frequency band settings. Specifically, the processor (140) may identify the frequency characteristics preferred by the user based on history information indicating the history of the user directly setting the frequency band as well as the previously set target frequency characteristics, and update at least one parameter to correspond to at least one of the target frequency characteristics and the frequency characteristics preferred by the user.

[0094] Meanwhile, the processor (140) may determine a target frequency characteristic based on a user input selecting one of a plurality of target frequency characteristics. Specifically, the memory (130) may store information regarding a plurality of target frequency characteristics, and the processor (140) may control the communication unit (160) to transmit information regarding a plurality of target frequency characteristics to a user terminal. Furthermore, the processor (140) may receive a user input selecting one of a plurality of target frequency characteristics from the user terminal through the communication unit (160) and determine a target frequency characteristic corresponding to the user input among the plurality of target frequency characteristics.

[0095] According to the embodiments described above with reference to FIGS. 1 to 3, the electronic device (100) can adjust the frequency characteristics of an audio signal output through a speaker (110) to correspond to a target frequency characteristic by reflecting the state in which a user is wearing the electronic device (100).

[0096] Accordingly, the electronic device (100) can provide audio content of optimal quality without loss of low frequencies to the user's eardrum location, where it is difficult to obtain information in real time, even if the user wears the electronic device (100) loosely.

[0097] FIG. 4 is a drawing showing in detail the configuration of an electronic device (100) according to one or more embodiments of the present disclosure. FIG. 5 to 7 are drawings for explaining in detail one or more embodiments related to a method for obtaining information about a plurality of errors.

[0098] As illustrated in FIG. 4, the electronic device (100) may further include a speaker (110), an internal microphone (120), a memory (130), and a processor (140), as well as an external microphone (150), a communication unit (160), and an input unit (170). However, the configurations illustrated in FIG. 2 and FIG. 4 are merely exemplary, and in carrying out the present disclosure, new configurations may be added or some configurations may be omitted in addition to the configurations illustrated in FIG. 2 and FIG. 4.

[0099] The external microphone (150) can receive an audio signal corresponding to external noise. The external microphone (150) may be positioned opposite to the speaker (110). Here, 'external noise' refers to any sound that is distinct from the audio signal output through the speaker (110). The external microphone (150) may be positioned outside the user's ear when the user wears the electronic device (100), as shown in FIG. 1.

[0100] The processor (140) can perform active noise cancelling (ANC) based on an audio signal received through an external microphone (150). Specifically, the processor (140) can analyze the audio signal received through the external microphone (150) and generate and output a sound with opposite phase to the analyzed audio signal to cancel out external noise. Below, embodiments related to using the external microphone (150) together with the speaker (110) and the internal microphone (120) will be described.

[0101] In one or more embodiments, the processor (140) can obtain information about a plurality of errors based on information indicating the transmission characteristics of an audio signal in a path between the speaker (110) and the internal microphone (120) (i.e., an auxiliary path) and information indicating the transmission characteristics of an audio signal in a path between the external microphone (150) and the internal microphone (120) (i.e., a primary path).

[0102] Specifically, the processor (140) can obtain a first transfer function and a second transfer function representing the transmission characteristics of an audio signal in an auxiliary path between the speaker (110) and the internal microphone (120), respectively, based on the internal microphone (120) and the microphone corresponding to the target location. In other words, the processor (140) can obtain a first transfer function representing the transmission characteristics of the auxiliary path based on the audio signal received through the internal microphone (120), and can obtain a second transfer function representing the transmission characteristics of the auxiliary path based on the audio signal received through the microphone corresponding to the target location.

[0103] The processor (140) can obtain a third transfer function and a fourth transfer function, respectively, representing the transmission characteristics of an audio signal in a path between the external microphone (150) and the internal microphone (120), based on the internal microphone (120) and the external microphone (150). In other words, the processor (140) can obtain a third transfer function representing the transmission characteristics of a basic path based on an audio signal received through the internal microphone (120), and can obtain a fourth transfer function representing the transmission characteristics of a basic path based on an audio signal received through the external microphone (150).

[0104] 'Acquiring a transfer function based on a specific microphone' may mean acquiring a transfer function for a path by using the audio signal received through that specific microphone along with the audio signal output from that path.

[0105] For example, the processor (140) can obtain a first transfer function for an auxiliary path based on the internal microphone (120) by performing an inverse operation based on the audio signal output through the speaker (110) and the audio signal received through the internal microphone (120). Additionally, the processor (140) can obtain a second transfer function for an auxiliary path based on the microphone corresponding to the target location by performing an inverse operation based on the audio signal output through the speaker (110) and the audio signal received through the microphone corresponding to the target location. Likewise, the processor (140) can obtain a third transfer function for a basic path based on the internal microphone (120) and a fourth transfer function for a basic path based on the external microphone (150).

[0106] "Microphone corresponding to the target location" refers to a microphone included in an external measuring device for measuring acoustic characteristics at the target location. The "external measuring device" may include an ear simulator that mimics the acoustic characteristics of a human external auditory canal and eardrum, and may receive an audio signal through a microphone placed at a target location corresponding to the eardrum location. Additionally, the external measuring device may obtain a second transfer function based on the audio signal received through the microphone placed at the target location.

[0107] In addition, the external measuring device can obtain the first transfer function, the third transfer function, and the fourth transfer function while connected to the electronic device (100), and the processor (140) can obtain the information regarding the first transfer function, the second transfer function, the third transfer function, and the fourth transfer function by receiving it from the external measuring device. The electronic device (100) may receive audio signals from the external measuring device and obtain information regarding the first transfer function, the second transfer function, the third transfer function, and the fourth transfer function based on the received audio signals.

[0108] When the first transfer function, the second transfer function, the third transfer function, and the fourth transfer function are obtained, the processor (140) can obtain information regarding a plurality of errors based on the first transfer function, the second transfer function, the third transfer function, and the fourth transfer function. Specifically, the processor (140) can obtain information regarding a plurality of errors by offsetting information commonly included in the first transfer function and the third transfer function, and by offsetting information commonly included in the second transfer function and the fourth transfer function. The operation of offsetting commonly included information will be explained in detail with reference to FIGS. 5 to 7.

[0109] Figure 5 is a graph showing the difference between the first transfer function and the second transfer function. Specifically, Figure 5 shows the difference between the first transfer function and the second transfer function as RMS levels (root mean square levels) according to frequency while changing the user's wearing condition from the loosest state to the tightest state.

[0110] More specifically, FIG. 5 shows a graph (510) showing the difference between the first transfer function and the second transfer function when the user's wearing condition is the loosest, a graph (520) showing the difference between the first transfer function and the second transfer function when the user's wearing condition is normal, and a graph (530) showing the difference between the first transfer function and the second transfer function when the user's wearing condition is the tightest.

[0111] As illustrated in FIG. 5, at low frequencies, the difference between the frequency response of the internal microphone (120) and the frequency response at the target position may increase depending on the user's wearing condition. However, this represents only a relative difference, and if the position of the internal microphone (120) changes depending on the user's wearing condition, it cannot represent an absolute difference between the acoustic characteristics of the internal microphone (120) and the acoustic characteristics at the target position.

[0112] This is because the first transfer function and the second transfer function include all characteristics such as the speaker (110), the ear canal, the microphone response, the preamplifier, the ADC (Analog-to-Digital Converter), the DAC (Digital-to-Analog Converter), and the power amplifier. Therefore, the processor (140) can obtain information on multiple errors by using the third transfer function and the fourth transfer function together with the first transfer function and the second transfer function.

[0113] Figure 6 is a graph showing the difference between the third transfer function and the fourth transfer function. Specifically, Figure 6 shows the difference between the third transfer function and the fourth transfer function as RMS levels according to frequency while changing the user's wearing condition from the loosest state to the tightest state.

[0114] More specifically, FIG. 6 shows a graph (610) showing the difference between the third transfer function and the fourth transfer function when the user's wearing condition is the loosest, a graph (620) showing the difference between the third transfer function and the fourth transfer function when the user's wearing condition is normal, and a graph (630) showing the difference between the third transfer function and the fourth transfer function when the user's wearing condition is the tightest.

[0115] However, the third transfer function and the fourth transfer function also include all characteristics such as the speaker (110), the ear canal, the microphone response, the preamplifier, the ADC, the DAC, and the power amplifier. Therefore, the processor (140) can cancel out information that is common to the first transfer function and the third transfer function, and cancel out information that is common to the second transfer function and the fourth transfer function. As a result of the cancellation, only the following two types of information may remain.

[0116] First, information regarding the difference between the acoustic characteristics at the position of the internal microphone (120) for the auxiliary path and the acoustic characteristics at the target position is retained, which indicates the difference in acoustic characteristics of the audio signal output through the speaker (110). That is, this information refers to the 'information regarding error' according to the present disclosure.

[0117] Second, information regarding the difference between the acoustic characteristics at the position of the internal microphone (120) for the basic path and the acoustic characteristics at the target position remains, which indicates a difference in acoustic characteristics for the audio signal corresponding to external noise. That is, since this information indicates the residual of external noise, it can be considered unnecessary information from the perspective of obtaining information about the error according to the present disclosure.

[0118] However, as illustrated in FIG. 6, unlike the auxiliary path, it can be confirmed that in the primary path, there is almost no difference in acoustic characteristics depending on the user's wearing condition at frequencies below 2 kHz. Specifically, in FIG. 6, the third transfer function and the fourth transfer function have almost identical shapes and differ only in magnitude in the frequency range of 20 to 2000 kHz. This is because, from the perspective of low frequencies with long wavelengths, small differences within the external auditory canal can be treated as almost identical. Therefore, although the second information above is unnecessary from the perspective of obtaining information regarding errors according to the present disclosure, it can be ignored at frequencies below 2 kHz.

[0119] Therefore, the processor (140) can treat the result of canceling out information commonly included in the first transfer function and the third transfer function, and canceling out information commonly included in the second transfer function and the fourth transfer function, as a pure error representing the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position. Finally, information regarding a plurality of errors corresponding to each user's wearing state is represented as an RMS level according to frequency as in FIG. 7.

[0120] Specifically, FIG. 7 shows a graph (710) showing the error when the user is wearing it in the loosest state, a graph (720) showing the error when the user is wearing it in the normal state, and a graph (730) showing the error when the user is wearing it in the tightest state.

[0121] Meanwhile, regarding acoustic characteristics with a frequency of 2 kHz or higher, the resonance point may vary depending on the length of the external auditory canal, the nozzle part, the ear tip, etc., but since it is not significantly affected by the user's wearing condition, a fixed value can be applied.

[0122] According to the embodiments described above, the electronic device (100) can obtain accurate error information, that is, information on multiple errors, with unnecessary characteristics removed as much as possible, for each user's wearing state by using a transfer function for a basic path along with a transfer function for an auxiliary path. Furthermore, the electronic device (100) can identify error information corresponding to the current user's wearing state using accurate information on multiple errors, and accordingly, effectively adjust the frequency characteristics of the audio signal output through the speaker (110).

[0123] In addition, the accurate error information obtained according to the embodiments described above can also be utilized in the design technology for the optimal filter for eardrum positioning in Active Noise Cancelling (ANC).

[0124] The communication unit (160) includes a circuit and can perform communication with an external device. Specifically, the processor (140) can receive various data or information from an external device connected through the communication unit (160) and can also transmit various data or information to the external device.

[0125] The communication unit (160) may include at least one of a WiFi module, a Bluetooth module, a wireless communication module, an NFC module, and an Ultra-Wide Band (UWB) module. Specifically, the WiFi module and the Bluetooth module can each perform communication using the WiFi method and the Bluetooth method. When using the WiFi module or the Bluetooth module, various connection information such as SSID is first transmitted and received, and then various information is transmitted and received after establishing a communication connection using this information.

[0126] In addition, the wireless communication module can perform communication according to various communication standards such as IEEE, Zigbee, 3G (3rd Generation), 3GPP (3rd Generation Partnership Project), LTE (Long Term Evolution), and 5G (5th Generation). Furthermore, the NFC module can perform communication using the NFC (Near Field Communication) method, which utilizes the 13.56 MHz band among various RF-ID frequency bands such as 135 kHz, 13.56 MHz, 433 MHz, 860~960 MHz, and 2.45 GHz. Additionally, the UWB module can accurately measure the Time of Arrival (ToA), which is the time it takes for a pulse to reach a target, and the Angle of Arrival (AoA), which is the angle of arrival of the pulse at the transmitting device, through communication between UWB antennas. Accordingly, precise distance and location recognition within an error range of tens of centimeters indoors is possible.

[0127] In one or more embodiments, the processor (140) may receive audio signals, transfer characteristic information (transfer function), wearing status information, error information, information on target frequency characteristics, etc. from an external device (e.g., user terminal, external measuring device, etc.) through a communication unit (160). The processor (140) may control the communication unit (160) to transmit information on a plurality of target frequency characteristics to a user terminal. The processor (140) may receive user input from a user terminal through the communication unit (160) to select one of a plurality of target frequency characteristics.

[0128] The input unit (170) includes a circuit, and the processor (140) can receive user commands to control the operation of the electronic device (100) through the input unit (170). Specifically, the input unit (170) may be composed of components such as a microphone, a camera, and a remote control signal receiver. Additionally, the input unit (170) may be implemented as a touch screen included in a display. In particular, the microphone can receive a voice signal and convert the received voice signal into an electrical signal.

[0129] In one or more embodiments, the processor (140) may receive user inputs such as user input for playing audio content through the input unit (170), user input for pausing the playback of audio content, user input for changing audio content, user input for adjusting the volume of audio content, user input for selecting one of a plurality of target frequency characteristics, user input for strengthening or weakening frequency by band, etc. The processor (140) may control the communication unit (160) to transmit information about the user input to a user terminal connected to the electronic device (100).

[0130] FIG. 8 is a flowchart illustrating a method for controlling an electronic device (100) according to one or more embodiments of the present disclosure.

[0131] Referring to FIG. 8, the electronic device (100) can control the speaker (110) to output a first audio signal (S810). When a second audio signal corresponding to the first audio signal is received through the internal microphone (120), the electronic device (100) can obtain transmission characteristic information indicating the transmission characteristics of the audio signal in the path between the speaker (110) and the internal microphone (120) based on the first audio signal and the second audio signal (S820).

[0132] For example, the electronic device (100) can perform a Fast Fourier Transform (FFT) to convert the first audio signal and the second audio signal into the frequency domain, and by calculating the ratio of the first audio signal expressed in the frequency domain and the second audio signal expressed in the frequency domain, obtain a transfer function representing the frequency response of the auxiliary path.

[0133] The electronic device (100) can obtain wearing state information regarding the state in which a user is wearing the electronic device (100) based on transmission characteristic information (S830).

[0134] Specifically, the electronic device (100) can obtain wearing state information by identifying a transmission characteristic corresponding to the transmission characteristic information obtained based on a first audio signal and a second audio signal among a plurality of transmission characteristics corresponding to each of a predefined plurality of wearing states.

[0135] More specifically, depending on the state in which the user is wearing the electronic device (100), the auxiliary path may change, and accordingly, the transmission characteristics corresponding to the auxiliary path may also change. The electronic device (100) may acquire information on multiple transmission characteristics corresponding to each of multiple wearing states in advance and store it in memory (130). The electronic device (100) may identify a transmission characteristic corresponding to the acquired transmission characteristic based on the first audio signal and the second audio signal among the multiple transmission characteristics. Furthermore, the electronic device (100) may estimate the current user's wearing state by identifying the wearing state information corresponding to the identified transmission characteristic.

[0136] The electronic device (100) can obtain error information indicating the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position corresponding to the user's eardrum position based on the wearing state information (S840).

[0137] Specifically, the electronic device (100) can obtain error information by identifying an error corresponding to the currently acquired wearing state information among a plurality of previously measured errors. More specifically, when the user's wearing state changes, the relationship between the position of the internal microphone (120) and the target position changes, and accordingly, the 'error' representing the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at the target position may change.

[0138] The electronic device (100) can pre-measure acoustic characteristics at the location of the internal microphone (120) and acoustic characteristics at the target location for each location of the internal microphone (120), and acquire information on a plurality of errors representing the difference between the measured acoustic characteristics and store it in the memory (130). The electronic device (100) can acquire error information by identifying the error corresponding to the current wearing state among the plurality of errors based on the information on the plurality of errors.

[0139] The electronic device (100) can adjust the frequency characteristics of the first audio signal to correspond to a preset target frequency characteristic based on error information (S850).

[0140] Specifically, the electronic device (100) can adjust the frequency characteristics of the first audio signal to correspond to the target frequency characteristics by updating at least one parameter for adjusting the frequency characteristics so that the difference between the corrected frequency characteristics and the target frequency characteristics, which reflect error information in the second audio signal, is reduced.

[0141] Meanwhile, the control method of the electronic device (100) according to the above-described embodiment may be implemented as a program and provided to the electronic device (100). In particular, the program including the control method of the electronic device (100) may be stored and provided on a non-transitory computer-readable medium.

[0142] Specifically, in a non-transient computer-readable recording medium comprising a program for executing a control method of an electronic device (100), the control method of the electronic device (100) may include: a step of controlling a speaker (110) to output a first audio signal; a step of obtaining transmission characteristic information indicating the transmission characteristics of an audio signal in a path between the speaker (110) and the internal microphone (120) based on the first audio signal and the second audio signal when a second audio signal corresponding to the first audio signal is received through an internal microphone (120); a step of obtaining wearing state information regarding the state in which a user is wearing the electronic device (100) based on the transmission characteristic information; a step of obtaining error information indicating the difference between the acoustic characteristics at the position of the internal microphone (120) and the acoustic characteristics at a target position corresponding to the position of the user's eardrum based on the wearing state information; and a step of adjusting the frequency characteristics of the first audio signal to correspond to a preset target frequency characteristic based on the error information.

[0143] Although a method for controlling an electronic device (100) and a computer-readable recording medium including a program for executing the method for controlling the electronic device (100) have been briefly described above, this is merely to avoid redundant descriptions, and it is obvious that various embodiments of the electronic device (100) can also be applied to a method for controlling the electronic device (100) and a computer-readable recording medium including a program for executing the method for controlling the electronic device (100).

[0144] A device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory storage medium' simply means that it is a tangible device and does not contain a signal (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily. For example, a 'non-transitory storage medium' may include a buffer in which data is stored temporarily.

[0145] According to one or more embodiments, the method according to the various embodiments disclosed herein may be provided by being included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or an application store (e.g., Play Store). TM It can be distributed online (e.g., downloaded or uploaded) through ) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product (e.g., downloadable app) may be temporarily stored or temporarily created on a device-readable storage medium such as the memory (130) of the manufacturer's server, the application store's server, or the relay server.

[0146] Each component (e.g., module or program) according to the various embodiments of the present disclosure as described above may be composed of a single or multiple entities, and some of the aforementioned sub-components may be omitted, or other sub-components may be further included in the various embodiments. Generally or additionally, some components (e.g., module or program) may be integrated into a single entity to perform the same or similar functions as those performed by each of the respective components prior to integration.

[0147] Operations performed by a module, program, or other component according to various embodiments may be executed sequentially, in parallel, iteratively, or heuristically, or at least some operations may be executed in a different order, omitted, or other operations may be added.

[0148] Meanwhile, the terms “part” or “module” as used in this disclosure include a unit composed of hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A “part” or “module” may be a component formed integrally, or a minimum unit or part thereof that performs one or more functions. For example, a module may be composed of an application-specific integrated circuit (ASIC).

[0149] Various embodiments of the present disclosure may be implemented as software comprising instructions stored on a machine-readable storage medium (e.g., a computer). The machine may include an electronic device (e.g., an electronic device (100)) according to the disclosed embodiments, which is a device capable of calling instructions stored from the storage medium and operating according to the called instructions.

[0150] When the above instruction is executed by a processor, the processor may perform the function corresponding to the instruction directly or by using other components under the control of the processor. The instruction may include code generated or executed by a compiler or an interpreter.

[0151] Although preferred embodiments of the present disclosure have been illustrated and described above, the present disclosure is not limited to the specific embodiments described above. It is understood that various modifications can be made by those skilled in the art without departing from the essence of the present disclosure as claimed in the claims, and such modifications should not be understood individually from the technical spirit or perspective of the present disclosure.

Claims

1. In an electronic device, speaker; Internal microphone; Memory for storing at least one instruction; and A processor that executes at least one of the above instructions; comprising, The above processor is, Control the speaker to output a first audio signal, and When a second audio signal corresponding to the first audio signal is received through the internal microphone, transmission characteristic information indicating the transmission characteristics of the audio signal in the path between the speaker and the internal microphone is obtained based on the first audio signal and the second audio signal. Based on the above transmission characteristic information, wear state information regarding the state in which the user is wearing the electronic device is obtained, and Based on the above wearing state information, error information is obtained that indicates the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at a target position corresponding to the position of the user's eardrum. An electronic device that adjusts the frequency characteristics of the first audio signal to correspond to a preset target frequency characteristic based on the above error information.

2. In Paragraph 1, The above processor is, An electronic device that acquires wearing state information by identifying a transmission characteristic corresponding to the transmission characteristic information among a plurality of transmission characteristics corresponding to each of a plurality of predefined wearing states, or by identifying whether a value corresponding to the transmission characteristic information is greater than or equal to a pre-set threshold value.

3. In Paragraph 2, The above processor is, Based on information regarding a plurality of previously measured errors, the error information is obtained by identifying the error among the plurality of errors that corresponds to the wearing state information, and The above plurality of errors is an electronic device representing the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at the target position.

4. In Paragraph 1, Includes an external microphone, The above processor is, An electronic device that acquires information regarding a plurality of errors based on information indicating the transmission characteristics of an audio signal in the path between the speaker and the internal microphone and information indicating the transmission characteristics of an audio signal in the path between the external microphone and the internal microphone.

5. In Paragraph 4, The above processor is, Based on the internal microphone and the microphone corresponding to the target position, a first transfer function and a second transfer function representing the transmission characteristics of the audio signal in the path are respectively obtained, and Based on the internal microphone and the external microphone, a third transfer function and a fourth transfer function representing the transmission characteristics of an audio signal in a path between the external microphone and the internal microphone are respectively obtained, and An electronic device for acquiring information on a plurality of errors based on the first transfer function, the second transfer function, the third transfer function, and the fourth transfer function.

6. In Paragraph 5, The above processor is, An electronic device for obtaining information about a plurality of errors by offsetting information commonly included in the first transfer function and the third transfer function, and by offsetting information commonly included in the second transfer function and the fourth transfer function.

7. In Paragraph 1, The above processor is, An electronic device for adjusting the frequency characteristics of a first audio signal to correspond to the target frequency characteristics by updating at least one parameter for adjusting the frequency characteristics so that the difference between the corrected frequency characteristics reflecting the error information in the second audio signal and the target frequency characteristics is reduced.

8. In Paragraph 7, The above processor is, An electronic device that updates at least one parameter based on the above target frequency characteristics and history information regarding the user's frequency band settings.

9. In Paragraph 8, The above processor is, An electronic device that determines a target frequency characteristic based on a user input selecting one of a plurality of target frequency characteristics.

10. In a method for controlling an electronic device, A step of controlling a speaker to output a first audio signal; When a second audio signal corresponding to the first audio signal is received through an internal microphone, a step of obtaining transmission characteristic information indicating the transmission characteristics of the audio signal in the path between the speaker and the internal microphone based on the first audio signal and the second audio signal; A step of obtaining wearing state information regarding the state in which the user is wearing the electronic device based on the above transmission characteristic information; A step of obtaining error information indicating the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at a target position corresponding to the position of the user's eardrum, based on the above-mentioned wearing state information; and A method for controlling an electronic device comprising: a step of adjusting the frequency characteristics of the first audio signal to correspond to a preset target frequency characteristic based on the above error information.

11. In Paragraph 10, The step of acquiring the above-mentioned wearing status information is, A method for controlling an electronic device comprising: a step of obtaining wearing state information by identifying a transmission characteristic corresponding to the transmission characteristic information among a plurality of transmission characteristics corresponding to each of a plurality of predefined wearing states, or by identifying whether a value corresponding to the transmission characteristic information is greater than or equal to a pre-set threshold value.

12. In Paragraph 11, The step of obtaining the above error information is, The method includes the step of obtaining error information by identifying an error corresponding to the wearing state information among the plurality of errors based on information regarding a plurality of previously measured errors. A control method for an electronic device in which the above plurality of errors represent the difference between the acoustic characteristics at the position of the internal microphone and the acoustic characteristics at the target position.

13. In Paragraph 10, The step of obtaining the above error information is, A method for controlling an electronic device further comprising the step of obtaining information regarding a plurality of errors based on information indicating the transmission characteristics of an audio signal in the path between the speaker and the internal microphone and information indicating the transmission characteristics of an audio signal in the path between the external microphone and the internal microphone.

14. In Paragraph 13, The step of obtaining the above error information is, A step of obtaining a first transfer function and a second transfer function, respectively, representing the transmission characteristics of an audio signal in the path, based on the internal microphone and the microphone corresponding to the target position; A step of obtaining a third transfer function and a fourth transfer function, respectively, representing the transmission characteristics of an audio signal in a path between the external microphone and the internal microphone, based on the internal microphone and the external microphone; and A method for controlling an electronic device further comprising the step of obtaining information about the plurality of errors based on the first transfer function, the second transfer function, the third transfer function, and the fourth transfer function.

15. In Paragraph 14, The step of obtaining the above error information is, A method for controlling an electronic device further comprising the step of obtaining information regarding a plurality of errors by offsetting information commonly included in the first transfer function and the third transfer function, and by offsetting information commonly included in the second transfer function and the fourth transfer function.

Citation Information

Patent Citations

  • Method for detecting earphone position, storage medium and electronic device therefor

    KR1020180062270A

  • Control system for emergency of fire shutter

    KR1020220103868A

  • Bipolar junction transistors and P-N junction diodes including stacked nano-semiconductor layers

    KR1020230155954A

  • Laser device

    KR1020250128451A

  • Electronic device for generating pressure point to coordinate of ear according to wearer, and performing customized wide dynamic range compression

    KR102571656B1