KR102081335B1 - Digital audio system using dual core and control method thereof - Google Patents

Digital audio system using dual core and control method thereof Download PDF

Info

Publication number
KR102081335B1
KR102081335B1 KR1020180072722A KR20180072722A KR102081335B1 KR 102081335 B1 KR102081335 B1 KR 102081335B1 KR 1020180072722 A KR1020180072722 A KR 1020180072722A KR 20180072722 A KR20180072722 A KR 20180072722A KR 102081335 B1 KR102081335 B1 KR 102081335B1
Authority
KR
South Korea
Prior art keywords
audio
control
core
message
communication
Prior art date
Application number
KR1020180072722A
Other languages
Korean (ko)
Other versions
KR20200000651A (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 KR1020180072722A priority Critical patent/KR102081335B1/en
Publication of KR20200000651A publication Critical patent/KR20200000651A/en
Application granted granted Critical
Publication of KR102081335B1 publication Critical patent/KR102081335B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Abstract

본 발명은 디지털 오디오 시스템 및 그 제어 방법에 관한 것으로, 더욱 상세하게는 적어도 둘 이상의 코어를 구비하는 마이크로프로세서유닛(Micro Processor Unit: MCU)의 둘 이상의 코어 중 하나를 디지털 오디오 시스템의 제어를 수행하는 제어코어로 다른 하나를 오디오 신호 처리를 수행하는 오디오 코어로 설정하여 동작하도록 하여 별도의 오디오 신호 처리를 위한 디지털 신호 처리 유닛(DSP)없이 디지털 오디오 시스템을 구성할 수 있는 듀얼코어를 이용한 디지털 오디오 시스템 및 그 제어 방법에 관한 것이다.The present invention relates to a digital audio system and a control method thereof, and more particularly, to control one of two or more cores of a microprocessor unit (MCU) having at least two cores. Digital audio system using dual core that can configure digital audio system without using digital signal processing unit (DSP) for separate audio signal processing. And a control method thereof.

Description

듀얼코어를 이용한 디지털 오디오 시스템 및 그 제어 방법{Digital audio system using dual core and control method thereof}Digital audio system using dual core and control method

본 발명은 디지털 오디오 시스템 및 그 제어 방법에 관한 것으로, 더욱 상세하게는 적어도 둘 이상의 코어를 구비하는 마이크로프로세서유닛(Micro Processor Unit: MPU)의 둘 이상의 코어 중 하나를 디지털 오디오 시스템의 제어를 수행하는 제어코어로 다른 하나를 오디오 신호 처리를 수행하는 오디오 코어로 설정하여 동작하도록 하여 별도의 오디오 신호 처리를 위한 디지털 신호 프로세서(Digital Signal Processor: DSP)없이 디지털 오디오 시스템을 구성할 수 있는 듀얼코어를 이용한 디지털 오디오 시스템 및 그 제어 방법에 관한 것이다.The present invention relates to a digital audio system and a control method thereof, and more particularly, to control one of two or more cores of a microprocessor unit (MPU) having at least two cores. It uses dual core that can configure digital audio system without digital signal processor (DSP) for separate audio signal processing by setting the other one as audio core that performs audio signal processing as control core. A digital audio system and a control method thereof.

일반적으로, 사람의 귀는 눈보다 더 민감하기 때문에 출력되는 오디오에 허용치 이상의 지연(Latency)이 발생되게 되면 사람은 오디오의 지연을 바로 감지한다.In general, since the human ear is more sensitive than the eye, if the output audio experiences more than allowable latency, the person will immediately detect the audio delay.

오디오 신호는 연속성을 가지며, 이러한 연속성 때문에 처리 중 잦은 인터럽트(Interrupt)가 발생하게 되면 송출음이 끊기는 상황이 발생한다.The audio signal has continuity, and the continuity causes an interruption of the transmission sound when frequent interrupts occur during processing.

상술한 바와 같이 오디오에 지연이 발생하지 않도록 하고, 인터럽트에 의한 오디오의 끊김 현상이 발생하지 않도록 일반적인 디지털 오디오 장치는 오디오 신호만을 전문적으로 처리하는 디지털 신호 프로세서(DSP) 및 오디오 신호의 제어 및 오디오 신호 처리를 위한 제어 데이터를 처리하는 범용 프로세서를 포함한다.As described above, a general digital audio device includes a digital signal processor (DSP) that specializes only in audio signals, and controls audio signals and audio signals so that there is no delay in the audio and audio interruption does not occur. It includes a general purpose processor for processing control data for processing.

이러한 디지털 오디오 장치는 디지털 오디오 방송 장치 등과 같은 다양한 분야에 적용되고 있다. Such digital audio devices are applied to various fields such as digital audio broadcasting devices.

통상적으로 오디오 신호와 제어 데이터 간에는 동시적인 연관성이 존재한다. 따라서 디지털 오디오 장치는 적용 분야의 제어 데이터 내용에 따라 화재방송, 비상방송, 배경음악의 음원 선택, 볼륨 조절, 디지털 필터 처리 등, 오디오 신호와 제어 데이터 간의 동기화된 처리가 필요하다.Typically there is a simultaneous association between the audio signal and the control data. Therefore, the digital audio device needs synchronized processing between the audio signal and the control data such as fire broadcasting, emergency broadcasting, sound source selection of the background music, volume control, and digital filter processing according to the control data contents of the application field.

종래 디지털 오디오 장치가 적용된 디지털 오디오 방송 장치는 방송을 위한 오디오 신호 경로와 장치 간 제어를 위한 제어 데이터 경로의 두 가지가 존재하고, 상술한 오디오의 연속성 및 오디오 신호와 제어 데이터간의 연관성 때문에 디지털 오디오 신호는 DSP에 의해 처리되고, 제어 데이터는 범용 프로세서에 의해 처리하는 구조로 구성된다.In the digital audio broadcasting apparatus to which the conventional digital audio apparatus is applied, there are two types of audio signal paths for broadcasting and control data paths for inter-device control. Is processed by the DSP, and the control data is structured by the general purpose processor.

상술한 바와 같이 종래 디지털 오디오 장치는 오디오 신호를 전용으로 처리하는 DSP와 오디오 신호의 각종 제어 데이터를 처리하기 위한 범용 프로세서를 구비하여야 하므로 프로세서가 하나인 것에 비해 생산 단가가 비싸지는 문제점이 있었다.As described above, the conventional digital audio apparatus has a DSP which processes audio signals exclusively and a general purpose processor for processing various control data of the audio signals.

또한, 종래 디지털 오디오 장치는 오디오 신호를 전용으로 처리하는 DSP와 제어 데이터를 처리하는 범용 프로세서가 프로세서 간 통신을 수행하여야 하므로 제어 데이터 발생 시 DSP에 인터럽트가 발생하게 되어 송출음이 끊길 수 있는 문제점이 있었다.In addition, in the conventional digital audio device, since a DSP for exclusively processing an audio signal and a general-purpose processor for processing control data must perform communication between processors, interruption occurs in the DSP when control data is generated, and thus a transmission sound may be interrupted. there was.

이와 같이 송출음이 끊기므로 출력되는 오디오의 품질이 떨어져 사용자의 만족도를 떨어트리는 문제점이 있었다.As the sound is cut out as described above, there is a problem that the quality of the output audio is lowered and the user's satisfaction is reduced.

공개특허공보 제10-2002-0026804호Patent Publication No. 10-2002-0026804

따라서 본 발명의 목적은 적어도 둘 이상의 코어를 구비하는 마이크로프로세서유닛(MPU)의 둘 이상의 코어 중 하나를 디지털 오디오 시스템의 제어를 수행하는 제어코어로 다른 하나를 오디오 신호 처리를 수행하는 오디오 코어로 설정하여 동작하도록 하여 별도의 오디오 신호 처리를 위한 디지털 신호 프로세서(DSP)없이 디지털 오디오 시스템을 구성할 수 있는 듀얼코어를 이용한 디지털 오디오 시스템 및 그 제어 방법을 제공함에 있다.Accordingly, an object of the present invention is to set one of two or more cores of a microprocessor unit (MPU) having at least two cores as a control core for controlling the digital audio system and the other as an audio core for performing audio signal processing. The present invention provides a digital audio system using a dual core and a control method thereof, which can configure a digital audio system without a digital signal processor (DSP) for audio signal processing.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템은: 오디오 입력부, 디지털 변환부, 아날로그변환부 및 오디오 출력부를 포함하는 디지털 오디오 시스템에 있어서, 제어용 운영체제 및 오디오 처리용 운영체제를 저장하는 제1저장부, 상기 제어용 운영체제가 로드되는 제1메모리 및 상기 오디오 처리용 운영체제가 로드되는 제2메모리를 포함하는 저장부; 두 개의 통신포트가 물리적으로 연결되고, 부팅 시 상기 제1메모리로 상기 제어용 운영체제를 로드하여 동작하고, 적어도 하나 이상의 전용의 I/O포트 및 상기 두 통신 포트 중 어느 하나를 자신의 통신포트로 설정한 후 상기 오디오 처리용 운영체제를 상기 제2메모리에 로딩하는 제어코어, 및 상기 오디오 처리용 운영체제가 상기 제2메모리에 로딩 시 구동되어 상기 디지털 변환부 및 오디오 입력부 중 어느 하나로부터 오디오 데이터를 입력받고 아날로그 변환부로 처리된 오디오 데이터를 출력하기 위한 I/O 포트를 설정하고 상기 제어코어에 의해 설정되지 않은 상기 통신포트를 자신의 통신포트로 설정하여 상기 디지털 변환부에서 입력되는 오디오를 디지털 오디오 처리하여 상기 아날로그 변환부로 출력하는 오디오코어를 포함하되, 상기 제어코어 및 오디오코어는 상기 통신포트를 통한 메시지 전송을 통해 통신을 수행하고, 상기 제어코어는 상기 통신을 통해 오디오코어를 제어하는 마이크로프로세서유닛을 포함하는 것을 특징으로 한다.A digital audio system using a dual core according to the present invention for achieving the above object is a digital audio system including an audio input unit, a digital converter, an analog converter and an audio output unit, the operating system for control and the operating system for audio processing A storage unit including a first storage unit configured to store a first memory, a first memory loaded with the control operating system, and a second memory loaded with the audio processing operating system; Two communication ports are physically connected, and the booting operating system is loaded into the first memory at boot time, and at least one dedicated I / O port and one of the two communication ports are set as their own communication ports. Thereafter, the control core for loading the operating system for audio processing into the second memory and the operating system for loading the audio processing operating in the second memory receive audio data from any one of the digital converter and the audio input unit. By setting an I / O port for outputting audio data processed by the analog converter, and setting the communication port not set by the control core as its own communication port, digital audio processing is performed on the audio input from the digital converter. An audio core output to the analog converter, wherein the control core And an audio core for communicating through a message transmission through the communication port, and the control core including a microprocessor unit for controlling the audio core through the communication.

상기 제1저장부는, 상기 제어코어 및 오디오코어 둘 모두 접근할 수 있는 전역변수를 저장하는 전역변수 저장부를 더 포함하고, 상기 제어코어는 부팅 시 상기 전역변수 저장부의 전역변수가 설정되어 있으면, 특정 I/O포트를 점유하고, 상기 오디오코어는 상기 전역변수를 검사하여 설정되어 있지 않으면 상기 특정 I/O를 점유하는 것을 특징으로 한다.The first storage unit may further include a global variable storage unit for storing global variables accessible to both the control core and the audio core, and the control core may be configured to specify a global variable when the global variable storage unit is set at boot time. It occupies an I / O port, and the audio core occupies the specific I / O unless it is set by checking the global variable.

상기 통신포트는 범용 비동기 송수신기(Universal Asynchronous Receiver and Transmitter: UART)인 것을 특징으로 한다.The communication port is characterized in that the Universal Asynchronous Receiver and Transmitter (UART).

상기 제어코어는, 상기 로드된 제어용 운영체제에 의해 제어부 및 제어 메시지 통신부를 구성하되, 상기 제어부는, 오디오 처리를 위한 제어를 수행하고, 상기 제어 메시지 통신부는 상기 제어부에 의해 발생되는 제어데이터에 대한 제어메시지를 생성하여 상기 통신포트를 통해 상기 오디오코어로 전송하고, 상기 오디오코어로부터 상기 제어메시지에 대한 결과메시지 또는 오디오 처리 상태메시지를 상기 통신포트를 통해 수신받아 할당된 I/O포트를 통해 출력하는 것을 특징으로 한다.The control core comprises a control unit and a control message communication unit by the loaded control operating system, wherein the control unit performs control for audio processing, and the control message communication unit controls the control data generated by the control unit. A message is generated and transmitted to the audio core through the communication port, and the result message or audio processing status message for the control message is received from the audio core through the communication port and output through the allocated I / O port. It is characterized by.

상기 오디오코어는, 상기 로드된 오디오 처리용 운영체제에 의해 오디오 처리부 및 오디오 메시지 통신부를 구성하되, 상기 오디오 메시지 통신부는, 상기 제어코어로부터 상기 통신포트를 통해 제어 메시지를 수신받고, 수신된 제어 메시지에 따라 상기 디지털 변환부로부터 입력되는 오디오 데이터를 상기 오디오 처리부로 출력하여 상기 오디오 처리부를 통해 오디오 신호 처리하여 아날로그 변환부로 출력하도록 제어하고, 수신된 제어메시지가 현재 오디오 처리 상태 또는 그 제어결과를 필요로 하는 메시지이면 오디오 처리 상태 메시지 또는 결과 메시지를 생성하여 상기 통신포트를 통해 상기 제어코어로 전송하는 것을 특징으로 한다.The audio core includes an audio processor and an audio message communication unit by the loaded audio processing operating system, wherein the audio message communication unit receives a control message from the control core through the communication port, and receives the control message. Accordingly, the audio data input from the digital converter is output to the audio processor, the audio signal is processed through the audio processor, and the output is controlled to the analog converter, and the received control message requires the current audio processing state or the control result thereof. If the message is to generate an audio processing status message or a result message characterized in that the transmission through the communication port to the control core.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템 제어 방법은: 오디오 입력부, 디지털 변환부, 아날로그변환부, 오디오 출력부 및 두 개의 통신포트가 물리적으로 연결되고 제어코어 및 오디오코어를 포함하는 마이크로프로세서유닛을 포함하는 디지털 오디오 시스템의 제어 방법에 있어서, 부팅 시 마이크로프로세서유닛이 제어코어 및 오디오코어에 대한 각각의 제어용 운영체제 및 오디오 처리용 운영체제를 로딩하고, 각각의 전용의 I/O포트를 설정하며, 상기 두 개의 통신포트 중 하나를 설정하여 상기 통신포트를 통해 제어코어 및 오디오코어가 통신하도록 설정하는 듀얼코어 듀얼 OS 설정 과정; 및 상기 듀얼코어 듀얼 OS 설정 과정 후 상기 제어코어가 상기 통신포트를 통해 제어메시지를 전송하여 오디오에 대한 제어를 수행하고, 상기 오디오코어가 상기 통신포트를 통해 상기 제어코어로부터 수신되는 제어메시지에 따라 상기 디지털 변환부에서 입력되는 오디오를 오디오 신호 처리하여 상기 아날로그변환부로 출력하는 디지털 오디오 신호 처리 과정을 포함하는 것을 특징으로 한다.Digital audio system control method using a dual core according to the present invention for achieving the above object: an audio input unit, a digital conversion unit, an analog conversion unit, an audio output unit and two communication ports are physically connected and the control core and A control method of a digital audio system including a microprocessor unit including an audio core, wherein the microprocessor unit loads each control operating system and an audio processing operating system for the control core and the audio core at the time of booting, A dual core dual OS setting process of setting an I / O port and setting one of the two communication ports to communicate a control core and an audio core through the communication port; And after the dual core dual OS setting process, the control core transmits a control message through the communication port to control audio, and according to the control message received from the control core through the communication port. And a digital audio signal processing process of processing the audio signal input from the digital converter and outputting the audio signal to the analog converter.

상기 듀얼코어 듀얼 OS 설정 과정은, 부팅 시 상기 제어코어가 제1메모리로 제어용 운영체제를 로드하여 동작하고, 적어도 하나 이상의 전용의 I/O포트 및 상기 두 통신 포트 중 어느 하나를 자신의 통신포트로 설정한 후 오디오 처리용 운영체제를 제2메모리에 로딩하는 제어코어 설정 단계; 및 상기 오디오코어가 상기 제2메모리에 로딩된 오디오 처리용 운영체제에 의해 구동되어 상기 디지털 변환부 및 아날로그 변환부로 처리된 오디오 데이터를 출력하기 위한 I/O 포트를 설정하고 상기 제어코어에 의해 설정되지 않은 상기 통신포트를 자신의 통신포트로 설정하는 오디오코어 설정 단계를 포함하는 것을 특징으로 한다.The dual-core dual OS configuration process, the control core loads the operating system to the first memory at boot time, and operates at least one dedicated I / O port and one of the two communication ports as its own communication port. A control core setting step of loading the audio processing operating system into a second memory after the setting; And set an I / O port for outputting the audio data processed by the digital converter and the analog converter by being driven by an audio processing operating system loaded in the second memory by the audio core. And an audio core setting step of setting the communication port as its own communication port.

디지털 오디오 신호 처리 과정은, 상기 제어코어가 발생되는 오디오 제어 이벤트에 따른 제어 메시지를 상기 통신포트를 통해 오디오코어로 전송하는 제어메시지 전송 단계; 및 상기 오디오 코어가 상기 통신포트를 통해 제어 메시지를 수신받고, 상기 제어메시지에 대응하여 상기 디지털 변환부로부터 입력되는 오디오를 오디오 신호 처리하여 상기 아날로그변환부로 출력하고, 상기 제어메시지가 결과 또는 오디오 처리 상태에 대한 정보를 요청하는 메시지이면 결과 메시지 및 오디오 상태 메시지 중 대응하는 어느 하나를 상기 통신포트를 통해 상기 제어코어로 전송하는 오디오 처리 단계를 포함하는 것을 특징으로 한다.The digital audio signal processing process includes: transmitting a control message for transmitting a control message according to an audio control event generated by the control core to an audio core through the communication port; And the audio core receives a control message through the communication port, processes an audio signal from the digital converter in response to the control message, and outputs an audio signal to the analog converter, wherein the control message is a result or audio processor. If it is a message for requesting information on the status characterized in that it comprises an audio processing step of transmitting any one of the result message and the audio status message to the control core through the communication port.

상기 제어코어 설정 단계는, 부팅 시 상기 제어코어가 제1메모리로 제어용 운영체제를 로드하여 동작하는 제어용 운영체제 로딩 단계; 상기 제어코어가 적어도 하나 이상의 전용의 I/O포트를 설정하고, 전역변수 저장부의 전역변수를 검사하여 전역변수가 설정되어 있으면 특정 I/O포트를 점유하는 제어코어 I/O 설정 단계; 상기 제어코어가 상기 두 통신포트 중 하나를 자신의 통신포트로 설정하는 제어코어 통신 설정 단계; 상기 제어코어가 상기 두 통신 포트 중 어느 하나를 자신의 통신포트로 설정한 후 오디오 처리용 운영체제를 제2메모리에 로딩하는 오디오 처리용 운영체제 로딩 단계; 상기 오디오 처리용 운영체제의 로딩에 의해 구동되는 오디오코어가 상기 전역변수가 설정되어 있지 않으면 상기 특정 I/O를 점유하고, 독립적으로 할당된 I/O를 설정하는 오디오코어 I/O 설정 단계; 및 상기 오디오코어가 상기 두 통신포트 중 나머지 하나를 자신의 통신포트로 설정하여 상기 제어코어와의 통신설정을 수행하는 오디오코어 통신 설정 단계를 포함하는 것을 특징으로 한다.The control core setting step may include a control operating system loading step in which the control core loads and operates a control operating system into a first memory during booting; A control core I / O setting step of setting, by the control core, at least one dedicated I / O port, and examining a global variable of a global variable storage unit and occupying a specific I / O port if a global variable is set; A control core communication setting step of the control core setting one of the two communication ports as its own communication port; Loading, by the control core, one of the two communication ports as its own communication port, and then loading an audio processing operating system into a second memory; An audio core I / O setting step of occupying the specific I / O and setting independently assigned I / O if the audio core driven by the loading of the operating system for audio processing does not have the global variable set; And an audio core communication setting step in which the audio core sets the other one of the two communication ports as its own communication port and performs communication setting with the control core.

본 발명은 하나의 마이크로프로세서만으로 디지털 오디오 시스템을 구성함으로써 하드웨어의 구성을 단순화할 수 있으므로 생산성을 향상시킬 수 있으며, 이에 따른 생산단가를 낮춰 가격 경쟁력을 갖출 수 있는 효과를 갖는다.The present invention can simplify the configuration of the hardware by configuring a digital audio system with only one microprocessor, thereby improving productivity, thereby lowering the production cost, thereby having a price competitive effect.

또한, 본 발명은 하나의 프로세서 내에서 오디오 신호 처리를 수행하는 오디오코어와 제어처리를 수행하는 제어코어가 UART를 통한 메시지 송수신에 의한 코어 간 통신을 수행하므로 인터럽트에 의한 오디오 신호의 끊김을 최소화할 수 있는 효과를 갖는다.In addition, the present invention is to minimize the interruption of the audio signal due to the interrupt since the audio core performing audio signal processing and the control core performing control processing performs the communication between the core by transmitting and receiving the message through the UART in one processor Has the effect.

도 1은 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 구성을 나타낸 도면이다.
도 2는 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 마이크로프로세서 유닛 및 저장부의 상세 구성을 나타낸 도면이다.
도 3은 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법을 나타낸 흐름도이다.
도 4는 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법 중 부팅 시 듀얼코어 듀얼 OS 설정 방법을 나타낸 흐름도이다.
도 5는 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법 중 부팅 후 코어 간 디지털 오디오 신호 처리 방법을 나타낸 흐름도이다.
1 is a view showing the configuration of a digital audio system using a dual core according to the present invention.
2 is a diagram illustrating a detailed configuration of a microprocessor unit and a storage unit of a digital audio system using a dual core according to the present invention.
3 is a flowchart illustrating a control method of a digital audio system using a dual core according to the present invention.
4 is a flowchart illustrating a method for setting a dual core dual OS during booting of a control method of a digital audio system using a dual core according to the present invention.
5 is a flowchart illustrating a method for processing digital audio signals between cores after booting in a control method of a digital audio system using dual cores according to the present invention.

이하 첨부된 도면을 참조하여 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 구성 및 동작을 설명하고, 상기 디지털 오디오 시스템의 제어 방법을 상세히 설명한다.Hereinafter, a configuration and operation of a digital audio system using a dual core according to the present invention will be described with reference to the accompanying drawings, and a control method of the digital audio system will be described in detail.

도 1은 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 구성을 나타낸 도면이고, 도 2는 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 마이크로프로세서 유닛 및 저장부의 상세 구성을 나타낸 도면이다. 이하 도 1 및 도 2를 참조하여 설명한다.1 is a view showing the configuration of a digital audio system using a dual core according to the present invention, Figure 2 is a view showing a detailed configuration of a microprocessor unit and a storage unit of a digital audio system using a dual core according to the present invention. Hereinafter, a description will be given with reference to FIGS. 1 and 2.

본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템은 오디오 입력부(2), 디지털 변환부(Analog to Digital Convertor: ADC)(3), 아날로그변환부(Digital to Analog Convertor: DAC)(4), 오디오 출력부(5), 마이크로프로세서유닛(Microprocessor Unit: MCU)(100) 및 저장부(200)를 포함한다.The digital audio system using the dual core according to the present invention includes an audio input unit 2, an analog to digital convertor (ADC) 3, an analog to analog convertor (DAC) 4, and an audio output. The unit 5 includes a microprocessor unit (MCU) 100 and a storage unit 200.

오디오 입력부(2)는 외부 방송장비로부터 직접 또는 제어부(11)로부터 화재방송, 예약방송, 리모트 마이크 방송, 일반방송 등의 방송에 대한 아날로그 오디오 신호 및 디지털 오디오 신호 중 어느 하나를 입력받아 디지털변환부(3)로 출력한다.The audio input unit 2 receives any one of an analog audio signal and a digital audio signal for broadcasting such as fire broadcasting, reserved broadcasting, remote microphone broadcasting, and general broadcasting directly from an external broadcasting device or from the control unit 11. Output to (3).

오디오 입력부(2)는 적어도 하나 이상의 오디오 입력 채널을 구비하고, 선택된 오디오 입력 채널을 통해 입력되는 하나의 오디오 신호를 디지털 변환부(3) 및 마이크로프로세서유닛(100) 중 하나로 출력하도록 구성될 수 있을 것이다.The audio input unit 2 may include at least one audio input channel and be configured to output one audio signal input through the selected audio input channel to one of the digital converter 3 and the microprocessor unit 100. will be.

예를 들어, 오디오 입력부(2)는 입력되는 오디오 신호가 아날로그 오디오 신호이면 디지털 변환부(3)로 전송하고, 디지털 오디오 신호이면 바로 마이크로프로세서유닛(100)로 출력할 것이다. 또한, 오디오 입력부(2)는 화재방송에 대한 화재 방송 오디오 신호 및 예약방송에 대한 예약 방송 오디오 신호를 동시에 입력받을 수 있으며, 입력된 방송 오디오 신호 중 하나를 선택하여 출력하도록 구성될 수 있을 것이다.For example, if the input audio signal is an analog audio signal, the audio input unit 2 transmits it to the digital conversion unit 3, and if the input audio signal is a digital audio signal, the audio input unit 2 directly outputs it to the microprocessor unit 100. In addition, the audio input unit 2 may simultaneously receive a fire broadcast audio signal for a fire broadcast and a reserved broadcast audio signal for a scheduled broadcast, and may be configured to select and output one of the input broadcast audio signals.

또한, 오디오 입력부(2)는 구성된 복수의 채널로 입력되는 복수의 오디오 신호를 그대로 출력하도록 구성될 수도 있을 것이다.In addition, the audio input unit 2 may be configured to output a plurality of audio signals input through a plurality of configured channels as it is.

디지털 변환부(3)는 상기 오디오 입력부(2)로부터 입력되는 아날로그 오디오 신호 또는 아날로그 방송 오디오 신호를 디지털 신호로 변환하여 마이크로프로세서유닛(100)로 전송한다.The digital converter 3 converts an analog audio signal or an analog broadcast audio signal input from the audio input unit 2 into a digital signal and transmits the digital signal to the microprocessor unit 100.

디지털 변환부(3)는 오디오 입력부(2)에 대응하여 하나 또는 다수의 채널을 구비할 수 있고, 하나의 채널을 구비하는 경우 하나의 아날로그 오디오 신호를 디지털 오디오 신호로 변환하여 전송하고, 다수의 채널을 구비하는 경우 각 채널로 입력되는 각 아날로그 오디오 신호를 디지털 오디오 신호로 변환하여 출력할 수도 있을 것이다.The digital converter 3 may include one or more channels corresponding to the audio input unit 2. When the digital converter 3 includes one channel, one digital audio signal is converted into a digital audio signal and transmitted. In the case of providing a channel, each analog audio signal input to each channel may be converted into a digital audio signal and output.

아날로그 변환부(4)는 마이크로프로세서유닛(100)에서 오디오 신호 처리되어 출력되는 디지털 오디오 신호 또는 디지털 방송 오디오를 아날로그 오디오 신호로 변환하여 오디오 출력부(5)로 출력한다.The analog converter 4 converts the digital audio signal or the digital broadcast audio that is processed by the audio signal from the microprocessor unit 100 into an analog audio signal and outputs the analog audio signal to the audio output unit 5.

오디오 출력부(5)는 적어도 하나 이상의 출력 채널을 구비하고, 출력 채널에 대응하여 적어도 하나 이상의 앰프(미도시)를 통해 스피커에 연결되거나, 직접 스피커에 연결될 수도 있으며, 다른 외부 방송장비와 연결되어 상기 아날로그 오디오 신호를 입력받아 해당 연결 구성으로 출력한다.The audio output unit 5 includes at least one output channel, and may be connected to a speaker through at least one or more amplifiers (not shown) corresponding to the output channel, or may be directly connected to a speaker, or may be connected to other external broadcasting equipment. It receives the analog audio signal and outputs it in the corresponding connection configuration.

저장부(200)는 제1메모리(210), 제2메모리(220) 및 제1저장부(230)를 포함한다.The storage unit 200 includes a first memory 210, a second memory 220, and a first storage unit 230.

제1메모리(210) 및 제2메모리(220)는 휘발성 메모리인 램(RAM)으로 상호 독립적인 메모리이다.The first memory 210 and the second memory 220 are RAMs, which are volatile memories, and are independent of each other.

제1메모리(210)는 제어코어가 독립적으로 사용하는 램으로 제어용 운영체제가 로딩된다.The first memory 210 is a RAM used independently by the control core and is loaded with a control operating system.

제2메모리(220)는 오디오코어가 독립적으로 사용하는 램으로 오디오 처리용 운영체제가 로딩된다.The second memory 220 is a RAM used independently by the audio core, and is loaded with an operating system for audio processing.

제1저장부(230)는 제어용 운영체제를 저장하는 제어용 운영체제 저장부(231), 오디오 처리용 운영체제를 저장하는 오디오 처리용 운영체제 저장부(232) 및 전역변수를 저장하는 전역변수 저장부(233)를 포함한다.The first storage unit 230 includes a control operating system storage unit 231 for storing a control operating system, an audio processing operating system storage unit 232 for storing an audio processing operating system, and a global variable storage unit 233 for storing global variables. It includes.

상기 전역변수는 특정 I/O 포트를 점유하기 위해 사용되며 사용자에 의해 설정된다. 전역변수가 설정되면 제어코어가 부팅 시 전역변수를 확인한 후 특정 I/O를 점유하고, 전역변수가 설정되어 있지 않으면 오디오코어가 부팅 시 전역변수를 확인한 후 특정 I/O를 점유한다. 즉, 상기 전역변수는 세마포어처럼 사용된다.The global variable is used to occupy a specific I / O port and is set by the user. If global variable is set, control core checks global variable at boot and occupies specific I / O. If global variable is not set, audio core checks global variable at boot and then occupies specific I / O. That is, the global variable is used like a semaphore.

마이크로프로세서유닛(MPU)(100)은 적어도 둘 이상의 코어를 포함하며, 다수의 I/O포트(30), 통신포트(40)를 포함하여 상기 저장부(200)와 외부 데이터버스를 통해 연결되어 데이터를 저장부(200)에 저장하거나 저장부(200)로부터 데이터를 로드한다.The microprocessor unit (MPU) 100 includes at least two cores, and includes a plurality of I / O ports 30 and a communication port 40 to be connected to the storage unit 200 through an external data bus. The data is stored in the storage 200 or loads data from the storage 200.

코어는 하나의 제1코어인 제어코어(10) 및 적어도 하나 이상의 제2코어인 오디오코어(20)가 포함될 수 있을 것이다. 이하 설명에서는 하나의 제어코어(10) 및 하나의 오디오코어(20)를 포함하는 경우를 예를 들어 설명할 것이다.The core may include a control core 10 that is one first core and an audio core 20 that is at least one second core. In the following description, a case in which one control core 10 and one audio core 20 are included will be described as an example.

제어코어(10)는 부팅 시 구동되어 제1저장부(230)의 제어용 운영체제 저장부(231)로부터 제어용 운영체제를 제1메모리(210)에 로드한다.The control core 10 is driven at boot time to load the control operating system into the first memory 210 from the control operating system storage unit 231 of the first storage unit 230.

제1메모리(210)에 제어용 운영체제가 로딩되면 제어코어(10)는 제어용 운영체제에 의해 제어부(11) 및 제어 통신부(12)를 구성한다.When the control operating system is loaded in the first memory 210, the control core 10 configures the control unit 11 and the control communication unit 12 by the control operating system.

제어코어(10)는 제어용 운영체제의 로딩 후 다수의 I/O포트들 중 자신이 독립적으로 사용할 I/O포트를 설정하고 전역변수를 확인하여 설정여부에 따라 특정 I/O포트를 설정한 후 두 개의 통신포트 중 적어도 하나를 자신의 통신포트(40-1)로 설정한다. After loading the operating system for control, the control core 10 sets an I / O port to be used independently among a plurality of I / O ports and checks a global variable to set a specific I / O port according to whether it is set or not. At least one of the telecommunication ports is set as its own communication port 40-1.

상기 제어용 운영체제가 로딩된 후 I/O포트(30) 및 통신포트(40-1)가 설정되면 제어코어(10)는 오디오 처리용 운영체제 저장영역(232)에 저장된 오디오 처리용 운영체제를 제2메모리(220)에 로딩한다.After the control operating system is loaded, when the I / O port 30 and the communication port 40-1 are set, the control core 10 stores the audio processing operating system stored in the audio processing operating system storage area 232 in the second memory. Load at 220.

제어코어(10)는 제어부(11)에 의해 설정된 I/O포트를 통해 각종 제어 이벤트가 발생되는지를 모니터링하고, 제어 이벤트가 발생되면 제어 메시지 통신부(12)를 통해 발생되는 제어 이벤트에 대한 제어메시지를 생성하여 상기 설정된 통신포트(40-1)를 통해 오디오코어(20)로 출력하고, 제어메시지에 대한 응답 또는 자동 보고에 의한 결과메시지 및 오디오 처리 상태메시지를 수신하고 해당 I/O포트를 통해 출력한다. 상기 메시지들은 디스플레이장치(미도시)와 연결된 I/O포트로 출력되어 디스플레이장치에 표시될 것이다.The control core 10 monitors whether various control events are generated through the I / O port set by the controller 11, and when a control event occurs, a control message for the control event generated through the control message communication unit 12. Generates and outputs to the audio core 20 through the set communication port 40-1, receives a result message and an audio processing status message by a response to the control message or an automatic report, and through the corresponding I / O port. Output The messages will be output to an I / O port connected to a display device (not shown) and displayed on the display device.

제2코어인 오디오코어(20)는 상기 제2메모리(220)에 오디오 처리용 운영체제가 로딩되면 동작하여 오디오 처리부(21) 및 오디오 메시지 통신부(22)를 구성하고, 자신이 독립적으로 사용할 복수의 I/O포트(30)를 설정하며, 전역변수의 설정여부에 따른 특정 I/O포트를 설정하며 상기 통신포트(40-2)를 자신이 사용할 통신포트로 설정한다.The audio core 20, which is the second core, operates when the operating system for audio processing is loaded in the second memory 220 to configure the audio processor 21 and the audio message communication unit 22, and a plurality of audio cores 22 to be independently used. I / O port 30 is set, a specific I / O port is set according to whether global variables are set, and the communication port 40-2 is set as a communication port to be used by the user.

상기 오디오코어(20)는 상기 I/O포트 및 통신포트가 설정되면, 상기 오디오 처리부(21)는 동작 중에 디지털변환부(3)로부터 입력되거나 오디오 입력부(2)로부터 직접 입력되는 오디오 데이터를 오디오 메시지 통신부(22)를 통해 제어코어(10)로부터 수신되는 제어메시지 또는 미리 설정되어 있는 오디오 신호 처리 설정 정보에 따라 디지털 오디오 신호 처리를 수행한 후 아날로그 변환부(4)로 출력한다.When the I / O port and the communication port are set, the audio core 20 receives the audio data input from the digital converter 3 or directly input from the audio input unit 2 during operation. The digital audio signal is processed according to the control message received from the control core 10 or the preset audio signal processing setting information through the message communication unit 22, and then output to the analog converter 4.

마이크로프로세서유닛(100)의 I/O포트(30)들은 일반 I/O포트 및 특정 I/O포트를 포함하며, 일반 I/O포트 중 일부는 제어코어(10)에 할당되고, 일부는 오디오코어(20)에 할당된다.The I / O ports 30 of the microprocessor unit 100 include general I / O ports and specific I / O ports, some of which are assigned to the control core 10, and some of which are audio. Assigned to the core 20.

상기 특정 I/O포트는 상술한 바와 같이 전역변수의 설정 여부에 의해서만 제어코어(10) 및 오디오코어(20) 중 어느 하나에 의해 사용될 수 있다.As described above, the specific I / O port may be used by either the control core 10 or the audio core 20 only by setting a global variable.

상기 제어코어(10)가 사용하는 I/O포트(30)는 키보드, 마우스 등과 같은 입력장치 및 디스플레이 장치에 할당될 수 있을 것이다.The I / O port 30 used by the control core 10 may be allocated to an input device and a display device such as a keyboard and a mouse.

그리고 오디오코어(20)가 사용하는 I/O포트(30)는 오디오 입력부(2), 디지털변환부(3), 아날로그 변환부(4) 등에 할당될 수 있을 것이다.The I / O port 30 used by the audio core 20 may be allocated to the audio input unit 2, the digital converter 3, the analog converter 4, and the like.

마이크로프로세서유닛(100)의 통신포트(40-1) 및 통신포트(40-2)는 제어코어(10) 및 오디오코어(20) 각각에 할당되며, 제어코어(10) 및 오디오코어(20) 간의 메시지 통신을 위해 도 2와 같이 물리적으로 연결된다. The communication port 40-1 and the communication port 40-2 of the microprocessor unit 100 are allocated to the control core 10 and the audio core 20, respectively, and the control core 10 and the audio core 20. It is physically connected as shown in Figure 2 for message communication between.

도 3은 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법을 나타낸 흐름도이다.3 is a flowchart illustrating a control method of a digital audio system using a dual core according to the present invention.

도 3을 참조하면, 본 발명에 따른 마이크로프로세서유닛(100)은 부팅이 시작되면 듀얼코어, 즉 제어코어(10) 및 오디오코어(20) 각각에 대한 각각의 운영체제를 로드하고, I/O포트(30) 및 통신포트(40) 설정을 수행하는 듀얼코어 듀얼 OS 설정과정을 수행한다(S100).3, the microprocessor unit 100 according to the present invention loads each operating system for each of the dual core, that is, the control core 10 and the audio core 20 when the boot is started, I / O port 30 and performs a dual-core dual OS setting process for performing the communication port 40 setting (S100).

듀얼코어 듀얼 OS 설정 과정이 수행되면 마이크로프로세서유닛(100)은 제어코어 및 오디오코어 간 메시지 통신을 통해 디지털 오디오 신호 처리를 위한 제어를 수행하고, 제어에 따른 디지털 오디오 신호 처리를 수행하는 듀얼코어 간 제어 및 디지털 오디오 신호 처리 과정을 수행한다(S200).When the dual core dual OS setting process is performed, the microprocessor unit 100 performs control for processing the digital audio signal through message communication between the control core and the audio core, and between the dual cores performing the digital audio signal processing according to the control. Control and digital audio signal processing is performed (S200).

도 4는 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법 중 부팅 시 듀얼코어 듀얼 OS 설정 방법을 나타낸 흐름도이다.4 is a flowchart illustrating a method for setting a dual core dual OS during booting of a control method of a digital audio system using a dual core according to the present invention.

시스템이 부팅되면 제1코어인 제어코어(10)가 구동된다(S111).When the system is booted, the control core 10, which is the first core, is driven (S111).

제어코어(10)가 구동되면, 제어코어(10)는 제어용 운영체제 저장부(231)에 저장된 제어용 운영체제를 제1메모리(210)로 로딩한다(S113). 제어용 운영체제가 제1메모리(210)로 로딩되면 제어부(11) 및 제어메시지 통신부(12)가 구성된다.When the control core 10 is driven, the control core 10 loads the control operating system stored in the control operating system storage unit 231 into the first memory 210 (S113). When the control operating system is loaded into the first memory 210, the control unit 11 and the control message communication unit 12 are configured.

구성된 제어부(11)는 전역변수 저장부(233)의 전역변수를 검사하여(S115) 설정 여부를 검사하고(S117), 전역변수가 설정되어 있으면, 특정 I/O포트에 대한 드라이버를 설치하고 미리 설정된 일반 I/O포트(30)들을 설정하고(S121), 전역변수가 설정되어 있지 않으면 특정 I/O포트에 대한 드라이버 설치를 스킵하고 일반 I/O포트들에 대해서만 설정을 수행한다(S119).The configured control unit 11 checks the global variable of the global variable storage unit 233 (S115) and checks whether it is set (S117). If the general I / O ports 30 are set (S121), if the global variable is not set, the driver installation for a specific I / O port is skipped and only the general I / O ports are set (S119). .

상기와 같이 I/O포트 설정이 완료되면 제어코어(10)는 두 개의 통신포트(40-1, 40-2) 중 어느 하나의 통신포트(40-1)를 자신의 통신포트로 설정한다(S123).When the I / O port setting is completed as described above, the control core 10 sets one of the two communication ports 40-1 and 40-2 as its own communication port ( S123).

통신포트가 설정되면 제어코어(10)는 오디오 처리용 운영체제 저장부(232)에 저장된 오디오처리용 운영체제를 제2메모리(220)로 로드한다(S125).When the communication port is set, the control core 10 loads the audio processing operating system stored in the audio processing operating system storage unit 232 into the second memory 220 (S125).

상기 오디오 처리용 운영체제가 제2메모리(220)에 로드되면 오디오코어(20)는 구동되어 오디오 처리용 운영체제에 따른 오디오 처리부(21) 및 오디오 메시지 통신부(22)를 구성한다(S127).When the operating system for audio processing is loaded in the second memory 220, the audio core 20 is driven to configure the audio processing unit 21 and the audio message communication unit 22 according to the operating system for audio processing (S127).

구동된 오디오코어(20)의 오디오 처리부(21)는 전역변수를 검사하여 전역변수가 미설정되어 있는지를 검사하고(S129), 미설정되어 있으면 특정 I/O포트 및 미리 설정된 일반 I/O포트(30)들을 설정한다(S133).The audio processor 21 of the driven audio core 20 checks the global variable to check whether the global variable is not set (S129), and if it is not set, a specific I / O port and a preset general I / O port. 30 are set (S133).

반면, 전역변수가 설정되어 있으면 특정 I/O포트에 대한 드라이버를 설치하지 않고 스킵하고, 일반 I/O포트에 대한 설정만 수행한다(S131).On the other hand, if a global variable is set, the driver skips without installing a driver for a specific I / O port and performs only a setting for a general I / O port (S131).

상기 I/O포트의 설정 후 오디오코어(20)는 상기 두 통신포트(40-1, 40-2) 중 제어코어(10)에 할당되지 않은 다른 통신포트(40-2)를 자신의 통신포트로 설정한다(S135).After setting the I / O port, the audio core 20 selects another communication port 40-2 not allocated to the control core 10 among the two communication ports 40-1 and 40-2. It is set to (S135).

도 5는 본 발명에 따른 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법 중 부팅 후 코어 간 디지털 오디오 신호 처리 방법을 나타낸 흐름도이다.5 is a flowchart illustrating a method for processing digital audio signals between cores after booting in a control method of a digital audio system using dual cores according to the present invention.

도 4의 과정을 통해 듀얼코어 듀얼 OS 설정이 완료되면 제어코어(10)의 제어부(11)는 자신에게 할당된 I/O포트(30)들로부터 제어 이벤트가 발생되는지를 검사한다(S211). 상기 제어 이벤트는 키입력장치와 연결되는 I/O포트로부터 볼륨 업/다운, 이퀄라이저 설정값, 중저음 강조값 등과 같은 다양한 제어값의 입력에 의해 발생될 수 있을 것이다.When the dual core dual OS setting is completed through the process of FIG. 4, the control unit 11 of the control core 10 checks whether a control event is generated from the I / O ports 30 allocated to the control core 10 (S211). The control event may be generated by input of various control values such as volume up / down, equalizer setting value, bass emphasis value, etc. from an I / O port connected to a key input device.

제어 이벤트가 발생되면 제어코어(10)는 발생된 제어 이벤트에 대한 제어 이벤트 정보를 제어메시지 통신부(12)로 출력하고, 제어메시지 통신부(12)는 상기 제어 이벤트 정보에 대응하는 제어메시지를 생성한(S213) 후, 통신포트(40-1)를 통해 오디오코어(20)로 전송한다(S215).When the control event occurs, the control core 10 outputs control event information on the generated control event to the control message communication unit 12, and the control message communication unit 12 generates a control message corresponding to the control event information. After (S213), and transmits to the audio core 20 through the communication port 40-1 (S215).

상기 제어메시지를 송신한 제어코어(10)는 제어메시지가 결과정보 또는 오디오 처리 상태에 대한 응답을 필요로 하는 메시지인지를 판단하고(S217), 결과정보 또는 오디오 처리 상태를 필요로 하는 메시지가 아니면 과정을 종료하고, 결과정보 또는 오디오 처리 상태 정보에 대한 응답을 필요로 하는 메시지이면 결과메시지 또는 오디오 처리 상태메시지가 수신되는지를 검사한다(S219).The control core 10 that transmits the control message determines whether the control message is a message requiring a response to the result information or the audio processing state (S217), and if it is not a message requiring the result information or the audio processing state. If the process ends, and if the message requires a response to the result information or audio processing status information, it is checked whether a result message or an audio processing status message is received (S219).

결과메시지 또는 오디오 처리 상태 메시지가 수신되면 제어코어(10)는 결과메시지에 포함된 결과정보 또는 오디오 처리 상태메시지에 포함된 오디오 처리 상태정보를 저장하고 디스플레이장치(미도시)에 할당된 I/O포트를 통해 디스플레이장치로 전송하여 표시한다.When the result message or the audio processing status message is received, the control core 10 stores the result information included in the result message or the audio processing status information included in the audio processing status message and allocates I / O allocated to the display device (not shown). Displayed by transmitting to the display device through the port.

반면, 오디오코어(20)의 오디오 메시지 통신부(22)는 통신포트(40-2)를 통해 제어코어(10)로부터 제어메시지가 수신되는지를 모니터링하고(S311), 모니터링 중에 제어메시지가 수신되면 오디오 처리부(21)로 제공하며, 오디오 처리부(21)는 제어메시지의 제어정보에 따라 디지털변환부(3)로부터 입력되거나 오디오 입력부(2)로부터 직접 입력되는 오디오 데이터를 오디오 메시지 통신부(22)를 통해 제어코어(10)로부터 수신되는 상기 제어메시지에 따라 디지털 오디오 신호 처리를 수행한 후 아날로그 변환부(4)로 출력하는 동작을 처리한다(S313).On the other hand, the audio message communication unit 22 of the audio core 20 monitors whether a control message is received from the control core 10 through the communication port 40-2 (S311), and if the control message is received during the monitoring, the audio The audio processor 21 provides audio data input from the digital converter 3 or directly from the audio input unit 2 according to the control information of the control message through the audio message communication unit 22. The digital audio signal is processed in accordance with the control message received from the control core 10 and then output to the analog converter 4 (S313).

상기 제어메시지에 대한 동작 처리 후 오디오코어(20)의 오디오 메시지 통신부(22)는 제어메시지가 결과 또는 오디오 처리 상태정보를 제공해야 하는 메시지인지를 판단하고(S315), 결과 또는 오디오 처리 상태를 필요로 하는 메시지이면 결과메시지 또는 오디오 처리 상태 메시지를 생성한(S317) 후 통신포트(40-2)를 통해 제어코어(10)로 송신한다(S319).After the operation processing of the control message, the audio message communication unit 22 of the audio core 20 determines whether the control message is a message to provide result or audio processing state information (S315), and needs the result or audio processing state. If the message is a message to generate a result message or an audio processing status message (S317) and transmits to the control core 10 through the communication port 40-2 (S319).

한편, 본 발명은 전술한 전형적인 바람직한 실시예에만 한정되는 것이 아니라 본 발명의 요지를 벗어나지 않는 범위 내에서 여러 가지로 개량, 변경, 대체 또는 부가하여 실시할 수 있는 것임은 당해 기술분야에서 통상의 지식을 가진 자라면 용이하게 이해할 수 있을 것이다. 이러한 개량, 변경, 대체 또는 부가에 의한 실시가 이하의 첨부된 특허청구범위의 범주에 속하는 것이라면 그 기술사상 역시 본 발명에 속하는 것으로 보아야 한다.On the other hand, the present invention is not limited to the above-described typical preferred embodiment, it can be carried out in various ways without departing from the gist of the present invention various modifications, changes, replacements or additions in the art Anyone who has this can easily understand it. If the implementation by such improvement, change, substitution or addition falls within the scope of the appended claims below, the technical idea should also be regarded as belonging to the present invention.

2: 오디오 입력부 3: 디지털변환부(ADC)
4: 아날로그변환부(DAC) 5: 오디오 출력부
10: 제어코어(제1코어) 11: 제어부
12: 제어메시지 통신부 20: 오디오코어(제2코어)
21: 오디오 처리부 22: 오디오메시지 통신부
30: I/O포트 40: 통신포트
100: 마이크로프로세서유닛 200: 저장부
210: 제1메모리 220: 제2메모리
230: 제1저장부 231: 제1OS(제어용 운영체제) 저장부
232: 제2OS(오디오 처리용 운영체제) 저장부
233: 전역변수 저장영역
2: Audio input unit 3: Digital conversion unit (ADC)
4: analog converter (DAC) 5: audio output
10: control core (first core) 11: control unit
12: control message communication unit 20: audio core (second core)
21: audio processor 22: audio message communication unit
30: I / O port 40: communication port
100: microprocessor unit 200: storage unit
210: first memory 220: second memory
230: first storage unit 231: first OS (control operating system) storage unit
232: second operating system (OS) storage unit
233: global variable storage

Claims (9)

오디오 입력부, 디지털 변환부, 아날로그변환부 및 오디오 출력부를 포함하는 디지털 오디오 시스템에 있어서,
제어용 운영체제 및 오디오 처리용 운영체제를 저장하는 제1저장부, 상기 제어용 운영체제가 로드되는 제1메모리 및 상기 오디오 처리용 운영체제가 로드되는 제2메모리를 포함하는 저장부;
두 개의 통신포트가 물리적으로 연결되고, 부팅 시 상기 제1메모리로 상기 제어용 운영체제를 로드하여 동작하고, 적어도 하나 이상의 전용의 I/O포트 및 상기 두 통신 포트 중 어느 하나를 자신의 통신포트로 설정한 후 상기 오디오 처리용 운영체제를 상기 제2메모리에 로딩하는 제어코어, 및
상기 오디오 처리용 운영체제가 상기 제2메모리에 로딩 시 구동되어 상기 디지털 변환부 및 오디오 입력부 중 어느 하나로부터 오디오 데이터를 입력받고 아날로그 변환부로 처리된 오디오 데이터를 출력하기 위한 I/O 포트를 설정하고 상기 제어코어에 의해 설정되지 않은 상기 통신포트를 자신의 통신포트로 설정하여 상기 디지털 변환부에서 입력되는 오디오를 디지털 오디오 처리하여 상기 아날로그 변환부로 출력하는 오디오코어를 포함하되, 상기 제어코어 및 오디오코어는 상기 통신포트를 통한 메시지 전송을 통해 통신을 수행하고, 상기 제어코어는 상기 통신을 통해 오디오코어를 제어하는 마이크로프로세서유닛을 포함하는 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템.
In the digital audio system comprising an audio input unit, a digital conversion unit, an analog conversion unit and an audio output unit,
A storage unit including a first storage unit storing a control operating system and an operating system for audio processing, a first memory loaded with the control operating system, and a second memory loaded with the audio processing operating system;
Two communication ports are physically connected, and the booting operating system is loaded into the first memory at boot time, and at least one dedicated I / O port and one of the two communication ports are set as their own communication ports. And a control core for loading the operating system for audio processing into the second memory, and
The audio processing operating system is driven when loaded into the second memory to set an I / O port for receiving audio data from any one of the digital converter and the audio input unit and outputting the audio data processed by the analog converter. And an audio core configured to set the communication port not set by the control core as its own communication port to digitally process audio input from the digital conversion unit and output the digital audio to the analog conversion unit. Performing communication by transmitting a message through the communication port, wherein the control core comprises a microprocessor unit for controlling the audio core through the communication.
제1항에 있어서,
상기 제1저장부는,
상기 제어코어 및 오디오코어 둘 모두 접근할 수 있는 전역변수를 저장하는 전역변수 저장부를 더 포함하고,
상기 제어코어는 부팅 시 상기 전역변수 저장부의 전역변수가 설정되어 있으면, 특정 I/O포트를 점유하고,
상기 오디오코어는 상기 전역변수를 검사하여 설정되어 있지 않으면 상기 특정 I/O를 점유하는 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템.
The method of claim 1,
The first storage unit,
Further comprising a global variable storage unit for storing a global variable accessible to both the control core and the audio core,
The control core occupies a specific I / O port if a global variable of the global variable storage unit is set at boot time,
And the audio core occupies the specific I / O if it is not set by checking the global variable.
제1항에 있어서,
상기 통신포트는 범용 비동기 송수신기(Universal Asynchronous Receiver and Transmitter: UART)인 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템.
The method of claim 1,
The communication port is a digital asynchronous audio system using a dual core, characterized in that the Universal Asynchronous Receiver and Transmitter (UART).
제1항에 있어서,
상기 제어코어는,
상기 로드된 제어용 운영체제에 의해 제어부 및 제어 메시지 통신부를 구성하되,
상기 제어부는,
오디오 처리를 위한 제어를 수행하고,
상기 제어 메시지 통신부는
상기 제어부에 의해 발생되는 제어데이터에 대한 제어메시지를 생성하여 상기 통신포트를 통해 상기 오디오코어로 전송하고, 상기 오디오코어로부터 상기 제어메시지에 대한 결과메시지 또는 오디오 처리 상태메시지를 상기 통신포트를 통해 수신받아 할당된 I/O포트를 통해 출력하는 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템.
The method of claim 1,
The control core,
A control unit and a control message communication unit are configured by the loaded control operating system,
The control unit,
Perform control for audio processing,
The control message communication unit
Generate and transmit a control message for the control data generated by the controller to the audio core through the communication port, and receive a result message or audio processing status message for the control message from the audio core through the communication port. Digital audio system using dual core, characterized in that the output through the assigned I / O port.
제4항에 있어서,
상기 오디오코어는,
상기 로드된 오디오 처리용 운영체제에 의해 오디오 처리부 및 오디오 메시지 통신부를 구성하되,
상기 오디오 메시지 통신부는,
상기 제어코어로부터 상기 통신포트를 통해 제어 메시지를 수신받고, 수신된 제어 메시지에 따라 상기 디지털 변환부로부터 입력되는 오디오 데이터를 상기 오디오 처리부로 출력하여 상기 오디오 처리부를 통해 오디오 신호 처리하여 아날로그 변환부로 출력하도록 제어하고, 수신된 제어메시지가 현재 오디오 처리 상태 또는 그 제어결과를 필요로 하는 메시지이면 오디오 처리 상태 메시지 또는 결과 메시지를 생성하여 상기 통신포트를 통해 상기 제어코어로 전송하는 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템.
The method of claim 4, wherein
The audio core,
An audio processor and an audio message communication unit are configured by the loaded operating system for audio processing.
The audio message communication unit,
Receives a control message from the control core through the communication port, outputs audio data input from the digital converter to the audio processor according to the received control message, processes the audio signal through the audio processor, and outputs the analog signal to the analog converter. And if the received control message is a current audio processing state or a message requiring the control result, generates an audio processing state message or a result message and transmits the result to the control core through the communication port. Digital audio system using.
오디오 입력부, 디지털 변환부, 아날로그변환부, 오디오 출력부 및 두 개의 통신포트가 물리적으로 연결되고 제어코어 및 오디오코어를 포함하는 마이크로프로세서유닛을 포함하는 디지털 오디오 시스템의 제어 방법에 있어서,
부팅 시 마이크로프로세서유닛이 제어코어 및 오디오코어에 대한 각각의 제어용 운영체제 및 오디오 처리용 운영체제를 로딩하고, 각각의 전용의 I/O포트를 설정하며, 상기 두 개의 통신포트 중 하나를 설정하여 상기 통신포트를 통해 제어코어 및 오디오코어가 통신하도록 설정하는 듀얼코어 듀얼 OS 설정 과정; 및
상기 듀얼코어 듀얼 OS 설정 과정 후 상기 제어코어가 상기 통신포트를 통해 제어메시지를 전송하여 오디오에 대한 제어를 수행하고, 상기 오디오코어가 상기 통신포트를 통해 상기 제어코어로부터 수신되는 제어메시지에 따라 상기 디지털 변환부에서 입력되는 오디오를 오디오 신호 처리하여 상기 아날로그변환부로 출력하는 디지털 오디오 신호 처리 과정을 포함하는 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법.
In the control method of a digital audio system comprising an audio input unit, a digital conversion unit, an analog conversion unit, an audio output unit and a microprocessor unit physically connected to two communication ports and including a control core and an audio core,
At boot-up, the microprocessor unit loads the control operating system and the audio processing operating system for the control core and the audio core, sets up dedicated I / O ports, and sets one of the two communication ports. A dual core dual OS configuration process for establishing a control core and an audio core through a port; And
After the dual core dual OS setting process, the control core transmits a control message through the communication port to control audio, and the audio core is controlled according to a control message received from the control core through the communication port. And a digital audio signal processing process of processing the audio signal input from the digital converter and outputting the audio signal to the analog converter.
제6항에 있어서,
상기 듀얼코어 듀얼 OS 설정 과정은,
부팅 시 상기 제어코어가 제1메모리로 제어용 운영체제를 로드하여 동작하고, 적어도 하나 이상의 전용의 I/O포트 및 상기 두 통신 포트 중 어느 하나를 자신의 통신포트로 설정한 후 오디오 처리용 운영체제를 제2메모리에 로딩하는 제어코어 설정 단계; 및
상기 오디오코어가 상기 제2메모리에 로딩된 오디오 처리용 운영체제에 의해 구동되어 상기 디지털 변환부 및 아날로그 변환부로 처리된 오디오 데이터를 출력하기 위한 I/O 포트를 설정하고 상기 제어코어에 의해 설정되지 않은 상기 통신포트를 자신의 통신포트로 설정하는 오디오코어 설정 단계를 포함하는 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법.
The method of claim 6,
The dual core dual OS configuration process,
At boot time, the control core loads and operates the control operating system into the first memory, sets one or more dedicated I / O ports and one of the two communication ports as its own communication port, and then installs the operating system for audio processing. A control core setting step of loading in two memories; And
The audio core is driven by an operating system for audio processing loaded in the second memory to set an I / O port for outputting audio data processed by the digital converter and the analog converter, and is not set by the control core. And an audio core setting step of setting the communication port as its own communication port.
제6항에 있어서,
디지털 오디오 신호 처리 과정은,
상기 제어코어가 발생되는 오디오 제어 이벤트에 따른 제어 메시지를 상기 통신포트를 통해 오디오코어로 전송하는 제어메시지 전송 단계; 및
상기 오디오 코어가 상기 통신포트를 통해 제어 메시지를 수신받고, 상기 제어메시지에 대응하여 상기 디지털 변환부로부터 입력되는 오디오를 오디오 신호 처리하여 상기 아날로그변환부로 출력하고, 상기 제어메시지가 결과 또는 오디오 처리 상태에 대한 정보를 요청하는 메시지이면 결과 메시지 및 오디오 상태 메시지 중 대응하는 어느 하나를 상기 통신포트를 통해 상기 제어코어로 전송하는 오디오 처리 단계를 포함하는 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법.
The method of claim 6,
Digital audio signal processing process,
A control message transmission step of transmitting a control message according to an audio control event generated by the control core to an audio core through the communication port; And
The audio core receives a control message through the communication port, processes an audio signal from the digital converter in response to the control message, outputs the audio signal to the analog converter, and the control message is a result or an audio processing state. If the message requesting information on the control of the digital audio system using a dual-core comprising the audio processing step of transmitting a corresponding one of the result message and the audio status message to the control core through the communication port Way.
제7항에 있어서,
상기 제어코어 설정 단계는,
부팅 시 상기 제어코어가 제1메모리로 제어용 운영체제를 로드하여 동작하는 제어용 운영체제 로딩 단계;
상기 제어코어가 적어도 하나 이상의 전용의 I/O포트를 설정하고, 전역변수 저장부의 전역변수를 검사하여 전역변수가 설정되어 있으면 특정 I/O포트를 점유하는 제어코어 I/O 설정 단계;
상기 제어코어가 상기 두 통신포트 중 하나를 자신의 통신포트로 설정하는 제어코어 통신 설정 단계;
상기 제어코어가 상기 두 통신 포트 중 어느 하나를 자신의 통신포트로 설정한 후 오디오 처리용 운영체제를 제2메모리에 로딩하는 오디오 처리용 운영체제 로딩 단계;
상기 오디오 처리용 운영체제의 로딩에 의해 구동되는 오디오코어가 상기 전역변수가 설정되어 있지 않으면 상기 특정 I/O를 점유하고, 독립적으로 할당된 I/O를 설정하는 오디오코어 I/O 설정 단계; 및
상기 오디오코어가 상기 두 통신포트 중 나머지 하나를 자신의 통신포트로 설정하여 상기 제어코어와의 통신설정을 수행하는 오디오코어 통신 설정 단계를 포함하는 것을 특징으로 하는 듀얼코어를 이용한 디지털 오디오 시스템의 제어 방법.
The method of claim 7, wherein
The control core setting step,
A control operating system loading step in which the control core loads and operates a control operating system into a first memory during booting;
A control core I / O setting step of setting, by the control core, at least one dedicated I / O port, and examining a global variable of a global variable storage unit and occupying a specific I / O port if a global variable is set;
A control core communication setting step of the control core setting one of the two communication ports as its own communication port;
Loading, by the control core, one of the two communication ports as its own communication port, and then loading an audio processing operating system into a second memory;
An audio core I / O setting step of occupying the specific I / O and setting independently assigned I / O if the audio core driven by the loading of the operating system for audio processing does not have the global variable set; And
And an audio core communication setting step in which the audio core sets the other one of the two communication ports as its own communication port and performs communication setting with the control core. Way.
KR1020180072722A 2018-06-25 2018-06-25 Digital audio system using dual core and control method thereof KR102081335B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180072722A KR102081335B1 (en) 2018-06-25 2018-06-25 Digital audio system using dual core and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180072722A KR102081335B1 (en) 2018-06-25 2018-06-25 Digital audio system using dual core and control method thereof

Publications (2)

Publication Number Publication Date
KR20200000651A KR20200000651A (en) 2020-01-03
KR102081335B1 true KR102081335B1 (en) 2020-02-25

Family

ID=69155481

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180072722A KR102081335B1 (en) 2018-06-25 2018-06-25 Digital audio system using dual core and control method thereof

Country Status (1)

Country Link
KR (1) KR102081335B1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162426B1 (en) 2000-10-02 2007-01-09 Xybernaut Corporation Computer motherboard architecture with integrated DSP for continuous and command and control speech processing
KR101797845B1 (en) * 2016-02-16 2017-11-14 가천대학교 산학협력단 Parallel video processing apparatus using multicore system and method thereof

Also Published As

Publication number Publication date
KR20200000651A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
US7286678B1 (en) Hearing device with peripheral identification units
US10764898B2 (en) Media access control (MAC) address identification
US20160205486A1 (en) Audio processing system
CN111107461A (en) Noise reduction earphone configuration method and device, intelligent terminal and noise reduction earphone
US7006642B1 (en) Audio control apparatus and audio processing apparatus in a mixing system
KR102081335B1 (en) Digital audio system using dual core and control method thereof
JP5845787B2 (en) Audio processing apparatus, audio processing method, and audio processing program
EP2101516A2 (en) Amplifier controller
JP5186871B2 (en) Network audio system channel patching system
EP3226127A1 (en) Information communication terminal, method for coordinating peripheral apparatus, and program
CN114222216B (en) Voice software working state indicating method, earphone suite and earphone component
US7142825B2 (en) Method and apparatus for enabling dual control head operation of a mobile radio transceiver
JP2023012073A (en) Data setting device, information processing program, data setting screen interface and data setting method
WO2019163702A1 (en) Audio signal input/output device, acoustic system, audio signal input/output method, and program
US20190227956A1 (en) Output processing apparatus and output processing method
JP4889025B2 (en) Transmission system, information device, information transmission method, and information transmission program
CN114143691B (en) Method, system, device and computer readable storage medium for calibrating auxiliary listening earphone
EP3381153B1 (en) Automated system setup
US10932074B2 (en) Detachable smart speaker system and control method thereof
JP6558512B1 (en) Control device, information processing system, and program
CN111464249A (en) Audio integrated control system and method for ship entertainment system and broadcasting system
US10206009B2 (en) Contents processing device and contents processing system
CN115279429A (en) Medical instrument and method for communication of medical instrument
JP4680290B2 (en) Communication terminal and incoming call rejection method
CN113795017A (en) Bluetooth headset adjusting method, intelligent terminal and readable storage medium

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