KR101092453B1 - Apparatus and method for audio volume register setting - Google Patents

Apparatus and method for audio volume register setting Download PDF

Info

Publication number
KR101092453B1
KR101092453B1 KR1020090053814A KR20090053814A KR101092453B1 KR 101092453 B1 KR101092453 B1 KR 101092453B1 KR 1020090053814 A KR1020090053814 A KR 1020090053814A KR 20090053814 A KR20090053814 A KR 20090053814A KR 101092453 B1 KR101092453 B1 KR 101092453B1
Authority
KR
South Korea
Prior art keywords
audio volume
value
audio
register
volume
Prior art date
Application number
KR1020090053814A
Other languages
Korean (ko)
Other versions
KR20100135446A (en
Inventor
이인규
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020090053814A priority Critical patent/KR101092453B1/en
Publication of KR20100135446A publication Critical patent/KR20100135446A/en
Application granted granted Critical
Publication of KR101092453B1 publication Critical patent/KR101092453B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G7/00Volume compression or expansion in amplifiers
    • H03G7/007Volume compression or expansion in amplifiers of digital or coded signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers without distortion of the input signal
    • H03G3/001Digital control of analog signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers without distortion of the input signal
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices
    • H03G3/32Automatic control in amplifiers having semiconductor devices the control being dependent upon ambient noise level or sound level

Abstract

본 발명은 오디오 볼륨 레지스터 셋팅 장치 및 방법에 관한 것으로, 오디오 출력 전력 치와 오디오 볼륨 최대값을 근거하여 오디오 볼륨 레벨을 설정하는 볼륨 레벨 설정부; 상기 설정된 오디오 볼률 레벨에 따른 CH2의 오디오 볼륨 레지스터 초기값을 설정하는 CH2 초기값 설정부; 상기 설정된 CH2의 오디오 볼륨 레지스터 초기값을 CH1의 오디오 볼륨 레퍼런스 값과 비교하는 비교부; 상기 비교 결과에 따른 차이 값만큼 상기 CH2의 오디오 볼륨 레지스터 초기값을 상기 CH1의 오디오 볼륨 레퍼런스 값으로 조정하는 오디오 신호 처리부; 및 상기 조정된 CH2의 오디오 볼륨 레지스터 값을 상기 설정된 오디오 볼률 레벨 값으로 저장하는 CH2 레지스터 저장부를 포함한다.The present invention relates to an audio volume register setting apparatus and method, comprising: a volume level setting unit for setting an audio volume level based on an audio output power value and an audio volume maximum value; A CH2 initial value setting unit for setting an audio volume register initial value of CH2 according to the set audio power level; A comparison unit which compares the set audio volume register initial value of CH2 with an audio volume reference value of CH1; An audio signal processor configured to adjust the audio volume register initial value of the CH2 to the audio volume reference value of the CH1 by a difference value according to the comparison result; And a CH2 register storage unit for storing the adjusted audio volume register value of the adjusted CH2 as the set audio throughput level value.

따라서, 본 발명은 음향 기기의 오디오 볼륨 레지스터를 셋팅하기 위한 외부 기기와의 측정 과정을 생략하여 이로 인해 설계자의 셋팅 오류로 인한 볼륨 역전현상을 방지하고, 오디오 프로세서에 의한 오디오 볼륨 레지스터 값을 자동으로 셋팅하도록 제공한다.Therefore, the present invention omits the measurement process with an external device for setting the audio volume register of the acoustic device, thereby preventing the volume reversal caused by the designer's setting error, and automatically adjusts the audio volume register value by the audio processor. It is provided to set.

오디오 볼륨, 레지스터, CH1, CH2 Audio volume, register, CH1, CH2

Description

오디오 볼륨 레지스터 셋팅 장치 및 방법{Apparatus and method for audio volume register setting}Apparatus and method for audio volume register setting}

본 발명은 오디오 볼륨 레지스터 셋팅 장치 및 방법에 관한 것으로, 더욱 상세하게는 외부 측정 장비가 아닌 CH1의 레퍼런스 값을 이용하여 CH2의 오디오 볼륨 레지스터를 자동으로 셋팅하는 장치 및 방법에 관한 것이다. The present invention relates to an apparatus and method for setting an audio volume register, and more particularly, to an apparatus and method for automatically setting an audio volume register of CH2 using a reference value of CH1 rather than an external measuring device.

일반적으로, 음향기기의 소리 크기 조절은 사용자가 볼륨을 조절할 경우, 내부에 단계별로 저장되어 있는 볼륨 레벨에 대응하는 레지스터 셋팅 값으로부터 해당 볼륨 레벨의 레지스터 셋팅 값을 이동시켜 소리의 크기를 조절한다. 이때, 레지스터를 셋팅하기 위해서는 외부 측정 장비를 이용하여 스펙에 맞게 단계별로 측정하여 데이터를 지정한다.In general, when the user adjusts the volume, the sound volume of the sound device is adjusted by moving the register setting value of the corresponding volume level from the register setting value corresponding to the volume level stored in each stage. At this time, in order to set the register, data is measured by step by step according to the specification using external measuring equipment.

구체적으로, 종래는 10W의 TMAX dB의 최대값을 가지고, 볼륨 레벨이 0 ~ 100 단계인 오디오 볼륨 스펙 이라면, 이에 부합하는 외부 장비를 이용하여 오디오 소스 배열상의 0부터 100까지 볼륨 레벨을 직접 측정하여 CH1, CH2의 볼륨 레지스터 값을 각각 작성한다. 이 경우, 볼륨 레벨이 100 개의 값이 존재하므로 하나의 단계 의 오디오 레벨 측정이 틀리면 볼륨 역전 형상이 발생하기 때문에 그 부분부터 다시 측정을 해서 레지스터 값을 수정해야 한다. 그리고 레지스터 값의 분해 정도에 따라 값을 변경하여도 실제 앰프(Amp)를 통해서 출력되는 소리가 정확하게 맞지 않음으로 전부 측정해야 하는 문제점이 있다. Specifically, if the conventional audio volume specification having a maximum value of 10 W T MAX dB and the volume level is 0 to 100 steps, the volume level is directly measured from 0 to 100 on the audio source array using an external device corresponding thereto. Write the volume register values for CH1 and CH2 respectively. In this case, since there are 100 values for the volume level, if the audio level measurement of one step is wrong, the volume reversal shape will occur. In addition, even if the value is changed according to the resolution of the register value, there is a problem that all sounds are measured because the sound output through the actual amplifier is not correct.

본 발명은 외부 측정 장비가 아닌 CH1의 레퍼런스 레지스터 값을 CH 2의 레지스터 값에 순차적으로 비교함으로써 자동으로 CH 2의 볼륨 레지스터 값을 셋팅하는하는 오디오 볼륨 레지스터 셋팅 장치 및 방법을 제공하기 위한 것이다.The present invention is to provide an audio volume register setting apparatus and method for automatically setting the volume register value of CH 2 by sequentially comparing the reference register value of CH 1 with the register value of CH 2 and not the external measurement equipment.

본 발명이 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Technical problems to be achieved by the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned above will be clearly understood by those skilled in the art from the following description. Could be.

상기의 목적을 달성하기 위한 본 발명의 오디오 볼륨 레지스터 셋팅 장치는 오디오 출력 전력 치와 오디오 볼륨 최대값을 근거하여 오디오 볼륨 레벨을 설정하는 볼륨 레벨 설정부; 상기 설정된 오디오 볼률 레벨에 따른 CH2의 오디오 볼륨 레지스터 초기값을 설정하는 CH2 초기값 설정부; 상기 설정된 CH2의 오디오 볼륨 레지스터 초기값을 CH1의 오디오 볼륨 레퍼런스 값과 비교하는 비교부; 상기 비교 결과에 따른 차이 값만큼 상기 CH2의 오디오 볼륨 레지스터 초기값을 상기 CH1의 오디오 볼륨 레퍼런스 값으로 조정하는 오디오 신호 처리부; 및 상기 조정된 CH2의 오디오 볼륨 레지스터 값을 상기 설정된 오디오 볼률 레벨 값으로 저장하는 CH2 레지스터 저장부를 포함한다.An audio volume register setting apparatus of the present invention for achieving the above object comprises: a volume level setting unit for setting an audio volume level based on an audio output power value and an audio volume maximum value; A CH2 initial value setting unit for setting an audio volume register initial value of CH2 according to the set audio power level; A comparison unit which compares the set audio volume register initial value of CH2 with an audio volume reference value of CH1; An audio signal processor configured to adjust the audio volume register initial value of the CH2 to the audio volume reference value of the CH1 by a difference value according to the comparison result; And a CH2 register storage unit for storing the adjusted audio volume register value of the adjusted CH2 as the set audio throughput level value.

상기 비교부는 상기 설정된 오디오 볼륨 레벨에서 CH1의 PCM 데이터와 CH2의 PCM 데이터를 비교하는 것을 특징으로 한다.The comparison unit may compare the PCM data of CH1 and the PCM data of CH2 at the set audio volume level.

상기 볼륨 레벨 설정부는 제어 신호에 따라 한 단계씩 볼륨 레벨을 증가시키는 것을 특징으로 한다.The volume level setting unit increases the volume level by one step according to a control signal.

상기 CH2의 오디오 볼륨 초기값을 제어하고 상기 볼륨 레벨 설정부로 오디오 볼륨 레벨을 상승시키는 제어 신호를 출력하는 CH2 레지스터 제어부를 더 포함한다.And a CH2 register controller for controlling an initial value of the audio volume of the CH2 and outputting a control signal for raising the audio volume level to the volume level setting unit.

상기 오디오 볼륨 최대값을 갖는 CH1의 오디오 볼륨 레지스터를 레퍼런스 값으로 출력하는 CH1 레퍼런스 출력부를 더 포함한다.The apparatus further includes a CH1 reference output unit configured to output an audio volume register of CH1 having the maximum audio volume value as a reference value.

상기 CH1의 오디오 볼륨 레퍼런스 값은 외부 측정 장비를 이용하여 셋팅되는 것을 특징으로 한다.The audio volume reference value of the CH1 may be set using an external measuring device.

상기 CH1의 오디오 볼륨 레퍼런스 값은 기준 오디오 볼륨 레지스터 값을 이용하여 오디오 프로세서에 의해 자동으로 셋팅되는 것을 특징으로 한다.The audio volume reference value of CH1 is automatically set by an audio processor using a reference audio volume register value.

상기 CH2의 오디오 볼륨 레지스터 값은 상기 CH1의 오디오 볼륨 레퍼런스 값을 이용하여 자동으로 셋팅되는 것을 특징으로 한다.The audio volume register value of CH2 is automatically set using the audio volume reference value of CH1.

또한, 본 발명은 오디오 볼륨 레지스터 셋팅 방법에 있어서, 오디오 출력 전력 치와 오디오 볼륨 최대값을 근거하여 오디오 볼륨 레벨을 설정하는 단계; 상기 설정된 오디오 볼률 레벨에 따른 CH2의 오디오 볼륨 레지스터 초기값을 설정하는 단계; 상기 설정된 CH2의 오디오 볼륨 레지스터 초기값을 CH1의 오디오 볼륨 레퍼런스 값과 비교하는 단계; 상기 비교 결과에 따른 차이 값만큼 상기 CH2의 오디오 볼륨 레지스터 초기값을 상기 CH1의 오디오 볼륨 레퍼런스 값으로 조정하는 단 계; 및 상기 조정된 CH2의 오디오 볼륨 레지스터 값을 상기 설정된 오디오 볼률 레벨 값으로 저장하는 단계를 포함하여 이루어진다. The present invention also provides an audio volume register setting method, comprising: setting an audio volume level based on an audio output power value and an audio volume maximum value; Setting an audio volume register initial value of CH2 according to the set audio power level; Comparing the set audio volume register initial value of CH2 with the audio volume reference value of CH1; Adjusting the audio volume register initial value of the CH2 to the audio volume reference value of the CH1 by the difference value according to the comparison result; And storing the adjusted audio volume register value of CH2 as the set audio throughput level value.

상기 설정된 오디오 볼륨 최대값을 갖는 CH1의 오디오 볼륨 레지스터를 레퍼런스 값으로 설정하는 것을 특징으로 한다.The audio volume register of CH1 having the set maximum audio volume value may be set as a reference value.

상기 비교 단계는 상기 설정된 오디오 볼륨 레벨에서 CH1의 PCM 데이터와 CH2의 PCM 데이터를 비교하는 것을 특징으로 한다.The comparing may be performed by comparing the PCM data of CH1 and the PCM data of CH2 at the set audio volume level.

상기 설정된 오디오 볼륨 최대값에서의 상기 CH2의 오디오 볼륨 레지스터 값을 자동으로 셋팅하기 위해 한 단계씩 볼륨 레벨을 증가시키는 단계를 더 포함한다.Increasing the volume level step by step to automatically set the audio volume register value of the CH2 at the set audio volume maximum value.

상기 CH1의 오디오 볼륨 레퍼런스 값은 외부 측정 장비를 이용하여 셋팅되는 것을 특징으로 한다.The audio volume reference value of the CH1 may be set using an external measuring device.

상기 CH1의 오디오 볼륨 레퍼런스 값은 기준 오디오 볼륨 레지스터 값을 이용하여 오디오 프로세서에 의해 자동으로 셋팅되는 것을 특징으로 한다.The audio volume reference value of CH1 is automatically set by an audio processor using a reference audio volume register value.

상기 CH2의 오디오 볼륨 레지스터 값은 상기 CH1의 오디오 볼륨 레퍼런스 값을 이용하여 자동으로 셋팅되는 것을 특징으로 한다.The audio volume register value of CH2 is automatically set using the audio volume reference value of CH1.

본 발명은 음향 기기의 오디오 볼륨 레지스터를 셋팅하기 위한 외부 기기와의 측정 과정을 생략하여 이로 인해 설계자의 셋팅 오류로 인한 볼륨 역전현상을 방지하고, 오디오 프로세서에 의한 오디오 볼륨 레지스터 값을 자동으로 셋팅하는 효과가 있다.The present invention omits the measurement process with an external device for setting the audio volume register of the audio device, thereby preventing the volume reversal caused by the designer's setting error, and automatically setting the audio volume register value by the audio processor. It works.

본 발명의 목적과 특징 및 장점은 첨부 도면 및 다음의 상세한 설명을 참조함으로써 더욱 쉽게 이해될 수 있을 것이다. 본 발명을 설명함에 있어서, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 설명을 생략한다. The objects, features and advantages of the present invention will be more readily understood by reference to the accompanying drawings and the following detailed description. In describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the description thereof will be omitted.

도 1은 본 발명에 따른 오디오 볼륨 레지스터를 셋팅하는 장치의 일 실시 예를 나타내는 구성 블록도이다. 1 is a block diagram illustrating an embodiment of an apparatus for setting an audio volume register according to the present invention.

신호 발생부(11)는 CH1의 오디오 볼륨 레벨을 셋팅하기 위하여 사인파(sine wave) 성분의 기준 신호를 볼륨 레벨에 따라 순차적으로 발생한다.The signal generator 11 sequentially generates a reference signal of a sine wave component according to the volume level in order to set the audio volume level of CH1.

오디오 프로세서(100)는 볼륨 레벨 설정부(12)와 CH1 레지스터 제어부(13)를 포함하며, 신호 발생부(11)로부터 발생된 기준 신호를 바탕으로 CH1의 오디오 볼륨 레벨의 레지스터 값을 설정한다. 구체적으로, 볼륨 레벨 설정부(12)는 오디오 프로세서(100) 사양에 상응하는 오디오 출력 전력(W) 치에 Max_dB의 최대값을 근거하여 단계별로 오디오 볼륨 레벨을 설정한다. 일 실시 예로, 볼륨 레벨 설정부(12)는 오디오 출력 전력(W) 치에 Max_dB의 최대값에서, 볼륨 레벨은 0 ~ 255까지 256 스텝을 설정할 수 있다. CH1 레지스터 제어부(13)는 볼륨 레벨 설정부(12)에서 설정된 볼륨 레벨에서 신호 발생부(11)로부터 발생된 기준 신호를 CH1의 오디오 볼륨 레벨의 레지스터 값으로 적용하여 출력한다. 이때, 레지스터의 분해능(resolution)은 오디오 프로세서(100) 사양에 맞게 1dB인 경우와, 0.125dB인 경우로 구분된다.The audio processor 100 includes a volume level setting unit 12 and a CH1 register controller 13 and sets a register value of the audio volume level of CH1 based on a reference signal generated from the signal generator 11. In detail, the volume level setting unit 12 sets the audio volume level step by step based on the maximum value of Max_dB in the audio output power W value corresponding to the audio processor 100 specification. According to an embodiment, the volume level setting unit 12 may set 256 steps from 0 to 255 at the maximum value of Max_dB in the audio output power (W) value. The CH1 register control unit 13 applies and outputs the reference signal generated from the signal generator 11 at the volume level set by the volume level setting unit 12 as a register value of the audio volume level of CH1. In this case, the resolution of the register is classified into a case of 1 dB and a case of 0.125 dB according to the audio processor 100 specification.

디버깅 모듈(14)은 CH1 레지스터 제어부(13)에서 출력된 CH1의 오디오 볼륨 레벨의 레지스터 값이 에러인 경우 디버깅한다.The debugging module 14 debugs when the register value of the audio volume level of CH1 output from the CH1 register controller 13 is an error.

I2S 전송부(15)는 CH1 레지스터 제어부(13)에서 출력되는 CH1의 오디오 볼륨 레벨의 레지스터 값을 I2S 형식으로 변환하여 오디오 신호로 전송한다. I2S 형식은 다양한 PCM(Pulse Code Modulation) 신호의 분해능(resolution)이나 샘플링(sampling) 중기 등과 같은 설정을 변경하여 오디오 신호로 전송한다.The I2S transmitter 15 converts the register value of the audio volume level of CH1 output from the CH1 register controller 13 into an I2S format and transmits it as an audio signal. The I2S format transmits audio signals by changing settings such as resolution or sampling period of various pulse code modulation (PCM) signals.

AMP 출력부(16)는 I2S 전송부(15)를 통해 전송되는 오디오 신호를 외부로 출력한다.The AMP output unit 16 outputs an audio signal transmitted through the I2S transmitter 15 to the outside.

신호 측정부(17)는 AMP 출력부(10)로부터 오디오 신호의 출력되는 실제 크기 값을 측정한다. 이때, CH1 레지스터 제어부(13)는 신호 측정부(17)에서 측정된 오디오 신호의 크기 값을 기준 신호의 크기와 비교하여 기준 신호와의 차이 값에 해당하는 만큼 CH1의 레지스터 값을 조정한다.The signal measuring unit 17 measures an actual magnitude value of the audio signal output from the AMP output unit 10. At this time, the CH1 register controller 13 compares the magnitude value of the audio signal measured by the signal measuring unit 17 with the magnitude of the reference signal and adjusts the register value of CH1 as much as a difference value from the reference signal.

CH1 레지스터 저장부(18)는 신호 측정부(17)에서 측정된 오디오 신호의 크기를 바탕으로 CH1 레지스터 제어부(13)에서 조정된 CH1 오디오 볼륨 레지스터 값을 저장한다. 볼륨 레벨 설정부(12)는 다음 오디오 볼륨 레벨의 레지스터 값을 셋팅하기 위해 볼륨 레벨을 상승시킨다.The CH1 register storage unit 18 stores the CH1 audio volume register value adjusted by the CH1 register control unit 13 based on the size of the audio signal measured by the signal measuring unit 17. The volume level setting unit 12 raises the volume level to set the register value of the next audio volume level.

도 2는 본 발명에 따른 오디오 볼륨 레지서터를 셋팅하는 장치의 일 실시 예를 나타내는 구성 블럭도이다.2 is a block diagram illustrating an embodiment of an apparatus for setting an audio volume register according to the present invention.

볼륨 레벨 설정부(22)는 오디오 출력 전력(W) 치(value)에 오디오 볼륨 최대값(Max_dB)을 근거하여 단계별로 오디오 볼륨 레벨을 설정한다. 예로써, 볼륨 레벨은 0 ~ 255까지 256 스텝을 설정할 수 있다.The volume level setting unit 22 sets the audio volume level step by step based on the audio volume maximum value Max_dB in the audio output power W value. For example, the volume level can be set to 256 steps from 0 to 255.

CH1 레퍼런스 출력부(23)는 오디오 볼륨 최대값(Max_dB)의 사양을 갖는 CH1의 오디오 볼륨 레지스터를 레퍼런스(reference) 값으로 출력한다. CH1의 오디오 볼륨 레지스터 값은 기준 오디오 볼륨 레지스터 값을 이용하여 오디오 프로세서(100)에 의해 자동으로 셋팅되거나 외부 측정 장비를 이용하여 수동으로 셋팅된 값이다.The CH1 reference output unit 23 outputs the audio volume register of CH1 having the specification of the audio volume maximum value Max_dB as a reference value. The audio volume register value of CH1 is a value automatically set by the audio processor 100 using the reference audio volume register value or manually set by using an external measurement device.

CH2 초기값 설정부(24)는 CH2의 오디오 볼륨 레벨의 초기값을 설정한다. The CH2 initial value setting section 24 sets the initial value of the audio volume level of CH2.

CH2 레지스터 제어부(25)는 설정된 볼륨 레벨에 따른 CH2의 오디오 볼륨 초기값을 제어한다.The CH2 register controller 25 controls the audio volume initial value of CH2 according to the set volume level.

비교부(26)는 설정된 오디오 볼륨 레벨에서 CH1의 오디오 볼륨 레지스터 값과 CH2의 오디오 볼륨 초기값을 비교한다. 이때, 설정된 오디오 볼륨 레벨에서 CH1의 PCM 데이터와 CH2의 PCM 데이터를 비교하여 차이 값을 확인한다. The comparator 26 compares the audio volume register value of CH1 with the audio volume initial value of CH2 at the set audio volume level. At this time, the difference value is checked by comparing the PCM data of CH1 and the PCM data of CH2 at the set audio volume level.

오디오 신호 처리부(27)는 CH2 레지스터 제어부(25)의 제어 신호에 따라 CH2의 오디오 볼륨 초기값을 차이값 만큼 조정하여 CH1의 오디오 볼륨 레지스터 값으로 처리한다.The audio signal processing unit 27 adjusts the audio volume initial value of CH2 by the difference value according to the control signal of the CH2 register control unit 25 to process the audio volume register value of CH1.

CH2 레지스터 저장부(28)는 조정된 CH2의 오디오 볼륨 레지스터 값을 설정된 오디오 볼륨 레벨 값으로 저장한다. 이때, CH2 레지스터 제어부(25)는 볼륨 레벨 설정부(22)는 오디오 볼륨 레벨을 상승시키는 'volume level+1' 제어 신호를 볼륨 레벨 설정부(22)로 출력한다. 이러한 CH2의 오디오 볼륨 레지스터 값은 CH1의 오디오 볼륨 레퍼런스 값을 이용하여 자동으로 셋팅되는 방식이다.The CH2 register storage section 28 stores the adjusted audio volume register value of CH2 as the set audio volume level value. At this time, the CH2 register controller 25 outputs a volume level + 1 control signal for increasing the audio volume level to the volume level setting unit 22. The audio volume register value of CH2 is automatically set using the audio volume reference value of CH1.

도 3은 본 발명에 따른 오디오 볼륨 레지스터를 셋팅하는 방법을 나타내는 순서도이다.3 is a flowchart illustrating a method of setting an audio volume register according to the present invention.

오디오 볼륨 최대 값(Max_dB) 입력한다(S301). 오디오 볼륨 최대값(Max_dB)은 오디오 프로세서 사양에 적합한 오디오 출력 전력 치에 상응한다. The maximum audio volume value Max_dB is input (S301). The audio volume maximum (Max_dB) corresponds to the audio output power value that meets the audio processor specifications.

입력된 오디오 볼륨 최대값(Max_dB)을 갖는 CH1의 오디오 볼륨 레지스터를 레퍼런스(reference) 값으로 설정한다(S302).The audio volume register of CH1 having the input audio volume maximum value Max_dB is set as a reference value (S302).

입력된 오디오 볼륨 최대값(Max_db)을 근거하여 단계별로 오디오 볼륨 레벨을 설정한다(S303). 본 발명의 실시 예에 따라 오디오 볼륨 최대값(Max_db)로부터 볼륨 레벨을 0 ~ 255까지 256 스텝으로 설정할 수 있다.The audio volume level is set step by step based on the input audio volume maximum value Max_db (S303). According to an embodiment of the present invention, the volume level may be set in 256 steps from 0 to 255 from the audio volume maximum value Max_db.

설정된 오디오 볼륨 레벨에 해당하는 CH2 오디오 볼륨 초기값을 설정한다(S304).The CH2 audio volume initial value corresponding to the set audio volume level is set (S304).

설정된 오디오 볼륨 레벨에서 CH1의 레지스터 레퍼런스(reference) 값과 CH2의 오디오 볼륨 초기값을 비교한다(S305). 이때, 설정된 오디오 볼륨 레벨에서 CH1의 PCM 데이터와 CH2의 PCM 데이터를 비교하여 차이값을 확인한다.In operation S305, the register reference value of CH1 is compared with the audio volume initial value of CH2 at the set audio volume level. At this time, the difference value is checked by comparing the PCM data of CH1 and the PCM data of CH2 at the set audio volume level.

CH2의 오디오 볼륨 초기값을 CH1의 레지스터 레퍼런스(reference) 값으로 차이값 만큼 조정하여 셋팅한다(S306).The audio volume initial value of CH2 is adjusted and set by the difference value to the register reference value of CH1 (S306).

조정된 CH2의 오디오 레지스터 값을 CH2의 설정된 볼륨 레벨 값으로 저장한다(S307).The adjusted audio register value of CH2 is stored as the set volume level value of CH2 (S307).

그리고, 오디오 볼륨 레벨의 최대 여부를 판별하여 설정된 볼륨 레벨이 최대값이 아닌 경우, 다음 단계의 CH2의 오디오 레지스터 값을 설정하기 위해 볼륨 레벨을 상승시킨다(S308).If it is determined whether the audio volume level is the maximum and the set volume level is not the maximum value, the volume level is increased to set the audio register value of CH2 in the next step (S308).

설정된 볼륨 레벨이 오디오 볼륨 최대 레벨까지 S301 ~ S308 단계를 반복하여 CH2의 오디오 레지스터 값을 자동으로 셋팅하여 저장한다(S309). By repeating steps S301 to S308 until the set volume level is the maximum audio volume level, the audio register value of CH2 is automatically set and stored (S309).

한편, 본 발명에서 사용되는 용어(terminology)들은 본 발명에서의 기능을 고려하여 정의 내려진 용어들로써 이는 해당 분야에 종사하는 기술자의 의도 또는 관례 등에 따라 달라질 수 있으므로 그 정의는 본 발명의 전반에 걸친 내용을 토대로 내려져야 할 것이다.On the other hand, the terms used in the present invention (terminology) are terms defined in consideration of functions in the present invention, which may vary according to the intention or custom of the skilled person in the relevant field, the definitions of which are used throughout the present invention. It should be based on.

이상의 본 발명은 상기에 기술된 실시 예들에 의해 한정되지 않고 당업자들에 의해 다양한 변형 및 변경을 가져올 수 있으며, 이는 첨부된 청구항에서 정의되는 본 발명의 취지와 범위에 포함된다.The present invention is not limited to the above-described embodiments and may be variously modified and changed by those skilled in the art, which are included in the spirit and scope of the present invention as defined in the appended claims.

도 1은 본 발명에 따른 오디오 볼륨 레지스터를 셋팅하는 장치의 일 실시 예를 나타내는 구성 블록도이다. 1 is a block diagram illustrating an embodiment of an apparatus for setting an audio volume register according to the present invention.

도 2는 본 발명에 따른 오디오 볼률 레지서터를 셋팅하는 장치의 일 실시 예를 나타내는 구성 블럭도이다.2 is a block diagram illustrating an embodiment of an apparatus for setting an audio throughput register according to the present invention.

도 3은 본 발명에 따른 오디오 볼륨 레지스터를 셋팅하는 방법을 나타내는 순서도이다.3 is a flowchart illustrating a method of setting an audio volume register according to the present invention.

*도면의 주요 부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

11. 신호 발생부 12. 볼륨 레벨 설정부11. Signal generator 12. Volume level setting unit

13. CH1 레지스터 제어부 14. 디버깅 모듈13. CH1 register control unit 14. Debugging module

15. I2S 전송부 16. AMP 출력부 15. I2S Transmitter 16. AMP Output

17. 신호 측정부 18. CH1 레지스터 저장부17. Signal measurement unit 18. CH1 register storage unit

22. 볼륨 레벨 설정부 23. CH1 레퍼런스 출력부22. Volume level setting section 23. CH1 reference output section

24. CH2 초기값 설정부 25. CH2 레지스터 제어부24. CH2 initial value setting section 25. CH2 register control section

26. 비교부 27. 오디오 신호 처리부26. Comparator 27. Audio signal processor

28. CH2 레지스터 저장부28. CH2 register storage

Claims (15)

오디오 출력 전력값과 오디오 볼륨 최대값에 근거하여 오디오 볼륨 레벨을 설정하는 볼륨 레벨 설정부;A volume level setting unit for setting an audio volume level based on an audio output power value and an audio volume maximum value; 상기 오디오 볼륨 최대값을 갖는 CH1의 오디오 볼륨 레지스터를 레퍼런스 값으로 출력하는 CH1 레퍼런스 출력부;A CH1 reference output unit configured to output an audio volume register of CH1 having the maximum audio volume value as a reference value; 상기 설정된 오디오 볼륨 레벨에 따른 CH2의 오디오 볼륨 레지스터 초기값을 설정하는 CH2 초기값 설정부;A CH2 initial value setting unit for setting an initial value of an audio volume register of CH2 according to the set audio volume level; 상기 설정된 CH2의 오디오 볼륨 레지스터 초기값을 상기 출력된 CH1의 오디오 볼륨 레퍼런스 값과 비교하는 비교부;A comparison unit for comparing the set audio volume register initial value of the set CH2 with the audio volume reference value of the output CH1; 상기 비교 결과에 따른 차이 값만큼 상기 CH2의 오디오 볼륨 레지스터 초기값을 상기 CH1의 오디오 볼륨 레퍼런스 값으로 조정하는 오디오 신호 처리부 및 An audio signal processor configured to adjust the audio volume register initial value of the CH2 to the audio volume reference value of the CH1 by a difference value according to the comparison result; 상기 조정된 CH2의 오디오 볼륨 레지스터 값을 상기 설정된 오디오 볼륨 레벨 값으로 저장하는 CH2 레지스터 저장부를 포함하는 오디오 볼륨 레지스터 셋팅 장치.And a CH2 register storage unit for storing the adjusted audio volume register value of the adjusted CH2 as the set audio volume level value. 제 1항에 있어서,The method of claim 1, 상기 비교부에서 비교되는 대상은 PCM 데이터의 형식을 갖는 오디오 볼륨 레지스터 셋팅 장치An object to be compared in the comparing unit is an audio volume register setting device having a format of PCM data. 제 1항에 있어서,The method of claim 1, 상기 볼륨 레벨 설정부는 제어 신호에 따라 한 단계씩 볼륨 레벨을 증가시키 는 것을 특징으로 하는 오디오 볼륨 레지스터 셋팅 장치.The volume level setting unit increases the volume level by one step according to a control signal. 제 1항에 있어서,The method of claim 1, 상기 CH2의 오디오 볼륨 레지스터 초기값을 제어하고 상기 볼륨 레벨 설정부로 오디오 볼륨 레벨을 상승시키는 제어 신호를 출력하는 CH2 레지스터 제어부를 더 포함하는 오디오 볼륨 레지스터 셋팅 장치.And a CH2 register control unit for controlling an initial value of the audio volume register of the CH2 and outputting a control signal for raising an audio volume level to the volume level setting unit. 삭제delete 제 1항에 있어서,The method of claim 1, 상기 CH1의 오디오 볼륨 레퍼런스 값은 외부 측정 장비를 이용하여 셋팅되는 것을 특징으로 하는 오디오 볼륨 레지스터 셋팅 장치.And the audio volume reference value of the CH1 is set using an external measuring device. 제 1항에 있어서,The method of claim 1, 상기 CH1의 오디오 볼륨 레퍼런스 값은 기준 오디오 볼륨 레지스터 값을 이용하여 오디오 프로세서에 의해 자동으로 셋팅되는 것을 특징으로 하는 오디오 볼륨 레지스터 셋팅 장치.And the audio volume reference value of CH1 is automatically set by an audio processor using a reference audio volume register value. 제 1항에 있어서,The method of claim 1, 상기 CH2의 오디오 볼륨 레지스터 값은 상기 CH1의 오디오 볼륨 레퍼런스 값을 이용하여 자동으로 셋팅되는 것을 특징으로 하는 오디오 볼륨 레지스터 셋팅 장치.And the audio volume register value of the CH2 is automatically set using the audio volume reference value of the CH1. 오디오 출력 전력 치와 오디오 볼륨 최대값에 근거하여 오디오 볼륨 레벨을 설정하는 단계;Setting an audio volume level based on an audio output power value and an audio volume maximum value; 상기 설정된 오디오 볼륨 최대값을 갖는 CH1의 오디오 볼륨 레지스터를 레퍼런스 값으로 설정하는 단계;Setting an audio volume register of CH1 having the set audio volume maximum value as a reference value; 상기 설정된 오디오 볼륨 레벨에 따른 CH2의 오디오 볼륨 레지스터 초기값을 설정하는 단계;Setting an initial value of an audio volume register of CH2 according to the set audio volume level; 상기 설정된 CH2의 오디오 볼륨 레지스터 초기값을 CH1의 오디오 볼륨 레퍼런스 값과 비교하는 단계;Comparing the set audio volume register initial value of CH2 with the audio volume reference value of CH1; 상기 비교 결과에 따른 차이 값만큼 상기 CH2의 오디오 볼륨 레지스터 초기값을 상기 CH1의 오디오 볼륨 레퍼런스 값으로 조정하는 단계 및 Adjusting the audio volume register initial value of the CH2 to the audio volume reference value of the CH1 by a difference value according to the comparison result; 상기 조정된 CH2의 오디오 볼륨 레지스터 값을 상기 설정된 오디오 볼륨 레벨 값으로 저장하는 단계를 포함하는 오디오 볼륨 레지스터 셋팅 방법.And storing the adjusted audio volume register value of CH2 as the set audio volume level value. 삭제delete 제 9항에 있어서,The method of claim 9, 상기 비교 단계에서 비교되는 대상은 PCM 데이터의 형식을 갖는 오디오 볼륨 레지스터 셋팅 방법.And a target to be compared in the comparing step having a format of PCM data. 제 9항에 있어서,The method of claim 9, 상기 설정된 오디오 볼륨 최대값에서의 상기 CH2의 오디오 볼륨 레지스터 값을 자동으로 셋팅하기 위해 한 단계씩 볼륨 레벨을 증가시키는 단계를 더 포함하여 이루어지는 오디오 볼륨 레지스터 셋팅 방법.And increasing the volume level by one step to automatically set the audio volume register value of the CH2 at the set audio volume maximum value. 제 9항에 있어서,The method of claim 9, 상기 CH1의 오디오 볼륨 레퍼런스 값은 외부 측정 장비를 이용하여 셋팅되는 것을 특징으로 하는 오디오 볼륨 레지스터 셋팅 방법.The audio volume reference value of the CH1 is set using an external measurement equipment. 제 9항에 있어서,The method of claim 9, 상기 CH1의 오디오 볼륨 레퍼런스 값은 기준 오디오 볼륨 레지스터 값을 이용하여 오디오 프로세서에 의해 자동으로 셋팅되는 것을 특징으로 하는 오디오 볼륨 레지스터 셋팅 방법.The audio volume reference value of CH1 is automatically set by an audio processor using a reference audio volume register value. 제 9항에 있어서,The method of claim 9, 상기 CH2의 오디오 볼륨 레지스터 값은 상기 CH1의 오디오 볼륨 레퍼런스 값을 이용하여 자동으로 셋팅되는 것을 특징으로 하는 오디오 볼륨 레지스터 셋팅 방법.The audio volume register value of the CH2 is automatically set using the audio volume reference value of the CH1.
KR1020090053814A 2009-06-17 2009-06-17 Apparatus and method for audio volume register setting KR101092453B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090053814A KR101092453B1 (en) 2009-06-17 2009-06-17 Apparatus and method for audio volume register setting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090053814A KR101092453B1 (en) 2009-06-17 2009-06-17 Apparatus and method for audio volume register setting

Publications (2)

Publication Number Publication Date
KR20100135446A KR20100135446A (en) 2010-12-27
KR101092453B1 true KR101092453B1 (en) 2011-12-09

Family

ID=43509886

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090053814A KR101092453B1 (en) 2009-06-17 2009-06-17 Apparatus and method for audio volume register setting

Country Status (1)

Country Link
KR (1) KR101092453B1 (en)

Also Published As

Publication number Publication date
KR20100135446A (en) 2010-12-27

Similar Documents

Publication Publication Date Title
US8126156B2 (en) Calibrating at least one system microphone
US20180103331A1 (en) Wireless audio analysis, test, and measurement
EP3121808A3 (en) System and method of modeling characteristics of a musical instrument
CN113203472B (en) Microphone probe sensitivity compensation method and system for oscilloscope
KR101092453B1 (en) Apparatus and method for audio volume register setting
CN105764008A (en) Method and apparatus for debugging transmission frequency characteristic of acoustic amplification system
TWI393453B (en) Tone detector and method of detecting a tone suitable for a robot
US8390492B2 (en) Signal processing apparatus
US20190378484A1 (en) Electronic musical instrument and automatic power-off method
CN107889031B (en) Audio control method, audio control device and electronic equipment
WO2019185015A1 (en) Signal noise removal method utilizing piezoelectric transducer
KR20090045597A (en) Automatic volume settling device for audio devices and the method thereof
TW200741237A (en) Calibration device, calibration method, test apparatus and test method
US20240105153A1 (en) Output control method, electronic device, and recording medium
KR101976091B1 (en) Decision method for activity mode of hearing device and the auditory device
CN110623677A (en) Equipment and method for simulating hearing correction
JP4305313B2 (en) Audio adjustment parameter determination method and audio apparatus
TWI693597B (en) Apparatus of simulating correction of hearing and method of simulating correction of hearing
EP4325486A1 (en) Electronic device and control method thereof
CN109561378B (en) Detection clamp and MIC detection method based on detection clamp
JP4179508B2 (en) Dynamic characteristic measuring method and apparatus
JP4059818B2 (en) Howling margin measuring device
KR101720976B1 (en) Apparatus and Method for Improving Voice Recognition Rate
WO2016143276A1 (en) Acoustic device and correction method
KR200287827Y1 (en) Quality-management system for hands-free production using muti-tone analyzer

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20141124

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20151124

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20161124

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20171124

Year of fee payment: 7