TWI736206B - Audio receiving device and audio transmitting device - Google Patents

Audio receiving device and audio transmitting device Download PDF

Info

Publication number
TWI736206B
TWI736206B TW109111364A TW109111364A TWI736206B TW I736206 B TWI736206 B TW I736206B TW 109111364 A TW109111364 A TW 109111364A TW 109111364 A TW109111364 A TW 109111364A TW I736206 B TWI736206 B TW I736206B
Authority
TW
Taiwan
Prior art keywords
frequency band
preset
audio
control circuit
main frequency
Prior art date
Application number
TW109111364A
Other languages
Chinese (zh)
Other versions
TW202044239A (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 九齊科技股份有限公司
Publication of TW202044239A publication Critical patent/TW202044239A/en
Application granted granted Critical
Publication of TWI736206B publication Critical patent/TWI736206B/en

Links

Images

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

An audio receiving device and an audio transmitting device are provided. The audio receiving device includes a receiving unit, a conversion circuit and a control circuit. The receiving unit receives a plurality of audio signals. The conversion circuit converts the multiple audio signals into a plurality of digital audio signals. The control circuit converts the digital audio signals in a predetermined time length from a time domain to a frequency domain to generate a plurality of frequency domain signals, and the control circuit selects one of the frequency domain signals as a main frequency signal. The control circuit selects a plurality of main frequency bands from frequency bands of a plurality of the main frequency signals. The control circuit corrects the main frequency bands according to the predetermined frequency band error corresponding to the main frequency bands to obtain an audio command.

Description

音頻接收裝置與音頻發送裝置Audio receiving device and audio sending device

本案是關於一種音頻接收裝置與音頻發送裝置。This case is about an audio receiving device and an audio sending device.

現行具有通訊功能的電子系統多數以無線傳輸方式進行傳送端與接收端的數位訊息溝通,而無線傳輸則如相關技術人士所知,有RFID、ZigBee、NFC與藍芽…等通訊。然而,上述通訊方法都因需外加相關硬體電路而衍生極高的硬體成本。因此,若能利用成本較低之技術來實現電子系統之通訊功能又同時兼具通訊品質,將會是一個有極大效益且具有價值的技術。Most of the current electronic systems with communication functions use wireless transmission to communicate digital messages between the transmitting end and the receiving end, and wireless transmission, as known to those skilled in the art, includes RFID, ZigBee, NFC, and Bluetooth... and other communications. However, all of the above communication methods have extremely high hardware costs due to the need to add related hardware circuits. Therefore, if a lower cost technology can be used to realize the communication function of the electronic system and at the same time have the communication quality, it will be a highly effective and valuable technology.

在一實施例中,一種音頻接收裝置包含接收單元、轉換電路及控制電路。接收單元接收複數音頻訊號。轉換電路耦接接收單元,轉換電路對複數音頻訊號進行類比數位轉換以產生複數數位音頻訊號。控制電路耦接轉換電路,控制電路將一預設時間長度內之複數數位音頻訊號由一時域轉換至一頻域以產生複數頻域訊號,控制電路根據預設時間長度內之複數時間點選擇各頻域訊號之一主頻訊號,且控制電路自各主頻訊號所對應之頻帶中選擇複數音頻訊號之複數主要頻帶,控制電路根據複數主要頻帶對應之一預設頻帶誤差校正複數主要頻帶,並在校正複數主要頻帶後取得一音頻指令。In one embodiment, an audio receiving device includes a receiving unit, a conversion circuit, and a control circuit. The receiving unit receives plural audio signals. The conversion circuit is coupled to the receiving unit, and the conversion circuit performs analog-to-digital conversion on the complex audio signal to generate the complex digital audio signal. The control circuit is coupled to the conversion circuit. The control circuit converts the complex digital audio signal within a preset time length from a time domain to a frequency domain to generate a complex frequency domain signal. The control circuit selects each signal according to the plural time points within the preset time One of the main frequency signals of the frequency domain signal, and the control circuit selects the complex main frequency band of the complex audio signal from the frequency bands corresponding to each main frequency signal. Obtain an audio command after correcting the plural main frequency bands.

在一實施例中,一種音頻發送裝置包含控制電路、混頻電路及發送單元。控制電路判斷是否需發送一聲波訊號並產生一音頻指令。混頻電路耦接控制電路,混頻電路混合音頻指令及聲波訊號。發送單元耦接控制電路及混頻電路,當控制電路判斷出不需發送聲波訊號時,發送單元發送音頻指令,當控制電路判斷需出發送聲波訊號時,發送單元發送混合後之音頻指令及聲波訊號,當控制電路判斷出不需發送音頻指令時,發送單元發送聲波訊號。In one embodiment, an audio sending device includes a control circuit, a mixing circuit, and a sending unit. The control circuit determines whether a sound wave signal needs to be sent and generates an audio command. The mixing circuit is coupled to the control circuit, and the mixing circuit mixes audio commands and sound wave signals. The sending unit is coupled to the control circuit and the mixing circuit. When the control circuit determines that the sound wave signal does not need to be sent, the sending unit sends an audio command. When the control circuit determines that the sound wave signal needs to be sent, the sending unit sends the mixed audio command and sound wave. Signal, when the control circuit determines that there is no need to send an audio command, the sending unit sends a sound wave signal.

圖1為根據本案之音頻發送裝置及音頻接收裝置之一實施例之功能方塊圖,請參照圖1,音頻收發系統包含音頻接收裝置1與音頻發送裝置2。音頻發送裝置2發送音頻指令S1,音頻接收裝置1接收音頻發送裝置2發送之音頻指令S1,音頻接收裝置1根據音頻指令S1執行對應之動作,換言之,音頻發送裝置2與音頻接收裝置1之間係經由音頻通訊進行互動。在一實施例中,音頻指令S1的頻率可位在100 Hz至 23KHz之範圍間。FIG. 1 is a functional block diagram of an embodiment of an audio transmitting device and an audio receiving device according to the present application. Please refer to FIG. 1, the audio transceiving system includes an audio receiving device 1 and an audio transmitting device 2. The audio sending device 2 sends the audio command S1, the audio receiving device 1 receives the audio command S1 sent by the audio sending device 2, and the audio receiving device 1 performs the corresponding action according to the audio command S1. In other words, the audio sending device 2 and the audio receiving device 1 Interaction is via audio communication. In one embodiment, the frequency of the audio command S1 may be in the range of 100 Hz to 23 KHz.

在一實施例中,音頻發送裝置2包含發送單元21及控制電路23,發送單元21耦接控制電路23。控制電路23根據一預設指令碼產生音頻指令S1。發送單元21自控制電路23接收音頻指令S1並發送音頻指令S1。其中,前述之音頻指令S1可以複數預設頻帶來表示(舉例來說,可以三十個預設頻帶來表示音頻指令S1)。In one embodiment, the audio sending device 2 includes a sending unit 21 and a control circuit 23, and the sending unit 21 is coupled to the control circuit 23. The control circuit 23 generates an audio command S1 according to a preset command code. The sending unit 21 receives the audio command S1 from the control circuit 23 and sends the audio command S1. Among them, the aforementioned audio command S1 can be represented by a plurality of preset frequency bands (for example, thirty preset frequency bands can be used to represent the audio command S1).

基此,音頻接收裝置1可根據前述之預設頻帶來辨識音頻指令S1,以執行對應之動作與音頻發送裝置2進行互動。請合併參照圖1及圖2,音頻接收裝置1包含接收單元11、轉換電路12及控制電路13。接收單元11接收複數音頻訊號(步驟S01),音頻訊號包含音頻發送裝置2發送之音頻指令S1及雜訊,轉換電路12將每一音頻訊號進行類比數位轉換以產生複數數位音頻訊號(步驟S02)。控制電路13自轉換電路12接收數位音頻訊號,控制電路13將一預設時間長度內接收之複數數位音頻訊號由時域(time domain)轉換至頻域(frequency domain)(步驟S03),以產生前述預設時間長度內在頻域中對應於不同頻帶之複數頻域訊號。於是,根據預設時間長度內預設之複數時間點,各時間點對應於複數個具有不同能量之頻域訊號,控制電路13執行(energy frequency detector)一能量頻率偵測程序,控制電路13偵測各頻域訊號的能量,控制電路13根據各時間點選擇具有符合設定條件之頻域預設能量強度之其中一頻域訊號為對應各時間點之主頻訊號(步驟S04)。在一實施例中,前述之頻域訊號能量強度條件設定可為在同一時間點對應其他頻帶訊號之相對大、最大、次大、相對小、最小以及次小能量等。Based on this, the audio receiving device 1 can recognize the audio command S1 according to the aforementioned preset frequency band to perform corresponding actions to interact with the audio sending device 2. Please refer to FIG. 1 and FIG. 2 together. The audio receiving device 1 includes a receiving unit 11, a conversion circuit 12 and a control circuit 13. The receiving unit 11 receives a complex audio signal (step S01), the audio signal includes the audio command S1 sent by the audio transmitter 2 and noise, and the conversion circuit 12 performs analog-to-digital conversion of each audio signal to generate a complex digital audio signal (step S02) . The control circuit 13 receives the digital audio signal from the conversion circuit 12, and the control circuit 13 converts the multiple digital audio signal received within a predetermined time period from the time domain to the frequency domain (step S03) to generate The complex frequency domain signals corresponding to different frequency bands in the frequency domain within the aforementioned preset time length. Therefore, according to a plurality of preset time points within a preset time length, each time point corresponds to a plurality of frequency domain signals with different energies, the control circuit 13 executes an energy frequency detector (energy frequency detector), and the control circuit 13 detects The energy of each frequency domain signal is measured, and the control circuit 13 selects one of the frequency domain signals having the frequency domain preset energy intensity that meets the set conditions as the dominant frequency signal corresponding to each time point according to each time point (step S04). In one embodiment, the aforementioned frequency-domain signal energy intensity conditions can be set to correspond to the relatively large, maximum, second-largest, relatively small, minimum, and second-small energy of other frequency band signals at the same time point.

以下係以頻域訊號能量強度設定條件為最大能量為例,舉例來說,以一預設時間長度內之兩時間點(以下稱為第一時間點及第二時間點)為例,例如第一時間點對應於三個具有不同能量之頻域訊號(以下分別稱為第一頻域訊號、第二頻域訊號及第三頻域訊號)且第二時間點對應於五個具有不同能量之頻域訊號(以下分別稱為第四頻域訊號、第五頻域訊號、第六頻域訊號、第七頻域訊號及第八頻域訊號),控制電路13偵測前述之八個頻域訊號之能量,若控制電路13根據第一時間點偵測出第二頻域訊號相較於第一頻域訊號及第三頻域訊號具有最大之能量,且若控制電路13根據第二時間點偵測出第六頻域訊號相較於第四頻域訊號、第五頻域訊號、第七頻域訊號及第八頻域訊號具有最大之能量,在步驟S04中,控制電路13選擇第二頻域訊號為對應第一時間點之主頻訊號,且控制電路13選擇第六頻域訊號為對應第二時間點之主頻訊號。依此類推,根據一預設時間長度內之複數時間點,控制電路13在步驟S04中選擇出複數主頻訊號,例如一預設時間長度內包含八十個預設之時間點,則控制電路13在步驟S04中選擇出一預設時間內之八十個主頻訊號。The following takes the frequency domain signal energy intensity setting condition as the maximum energy as an example. For example, two time points (hereinafter referred to as the first time point and the second time point) within a preset time length are taken as an example. One time point corresponds to three frequency domain signals with different energies (hereinafter referred to as the first frequency domain signal, the second frequency domain signal and the third frequency domain signal respectively) and the second time point corresponds to five frequency domain signals with different energies Frequency domain signal (hereinafter referred to as the fourth frequency domain signal, the fifth frequency domain signal, the sixth frequency domain signal, the seventh frequency domain signal and the eighth frequency domain signal respectively), the control circuit 13 detects the aforementioned eight frequency domains The energy of the signal, if the control circuit 13 detects according to the first time point that the second frequency domain signal has the greatest energy compared to the first frequency domain signal and the third frequency domain signal, and if the control circuit 13 according to the second time point It is detected that the sixth frequency domain signal has the largest energy compared to the fourth frequency domain signal, the fifth frequency domain signal, the seventh frequency domain signal, and the eighth frequency domain signal. In step S04, the control circuit 13 selects the second The frequency domain signal is the main frequency signal corresponding to the first time point, and the control circuit 13 selects the sixth frequency domain signal as the main frequency signal corresponding to the second time point. By analogy, according to a plurality of time points within a preset time length, the control circuit 13 selects a plurality of main frequency signals in step S04. For example, if a preset time length includes 80 preset time points, the control circuit 13 13 In step S04, 80 main frequency signals within a preset time are selected.

接著,根據一預設時間長度內之每個主頻訊號對應之頻帶之次數或持續時間,控制電路13執行一兩階段頻率相似性統計(two stages of likelihood frequency statistic)程序,控制電路13自一預設時間長度內之複數主頻訊號對應之頻帶中選擇出一主要頻帶(步驟S05),以作為接收單元11在一預設時間長度內接收之複數音頻訊號之主要頻帶。舉例來說,以預設時間長度內分別對應於四個時間點之四個主頻訊號為例,若四個主頻訊號對應之頻帶分別為 170 Hz、 180 Hz、 180 Hz、 160 Hz,則控制電路13在步驟S05中選擇 180 Hz為一預設時間長度內之主要頻帶。於是,控制電路13可根據多個預設時間長度選擇出複數主要頻帶(步驟S06),例如控制電路13可根據100 ms內之預設時間長度選擇出十個主要頻帶,也就是控制電路13可根據預設時間長度內之複數主頻訊號之頻帶選擇出第一主要頻帶、第二主要頻帶及第三主要頻帶,依此類推,在控制電路13選擇出複數主要頻帶之後,控制電路13執行一頻率自我校正(frequency self-adjustment)程序,控制電路13根據複數主要頻帶對應之預設頻帶誤差將複數主要頻帶進行校正(步驟S07),並在校正複數主要頻帶後取得音頻指令S1(步驟S08)。Then, according to the frequency or duration of the frequency band corresponding to each main frequency signal within a preset time length, the control circuit 13 executes a two-stage frequency similarity statistics (two stages of likelihood frequency statistic) procedure, and the control circuit 13 is self-contained A main frequency band is selected from the frequency bands corresponding to the plural main frequency signals within the preset time length (step S05), which is used as the main frequency band of the complex audio signals received by the receiving unit 11 within the preset time length. For example, taking four main frequency signals corresponding to four time points in a preset time length as an example, if the frequency bands corresponding to the four main frequency signals are 170 Hz, 180 Hz, 180 Hz, and 160 Hz, then The control circuit 13 selects 180 Hz as the main frequency band within a preset time length in step S05. Therefore, the control circuit 13 can select a plurality of main frequency bands according to a plurality of preset time lengths (step S06). For example, the control circuit 13 can select ten main frequency bands according to the preset time length within 100 ms, that is, the control circuit 13 can The first main frequency band, the second main frequency band, and the third main frequency band are selected according to the frequency bands of the plural main frequency signals within the preset time length, and so on. After the control circuit 13 selects the plural main frequency bands, the control circuit 13 performs a In the frequency self-adjustment program, the control circuit 13 corrects the complex main frequency bands according to the preset frequency band error corresponding to the complex main frequency bands (step S07), and obtains the audio command S1 after correcting the complex main frequency bands (step S08) .

基此,控制電路13可基於主要頻帶之選擇步驟(步驟S04、S05及S06)及對主要頻帶之校正步驟(步驟S07)將接收單元11接收之音頻訊號中之雜訊濾除,音頻接收裝置1可自音頻發送裝置2接收正確之音頻指令S1,以降低音頻接收裝置1誤動作之機會,進而提升音頻接收裝置1與音頻發送裝置2之間之通訊品質,且前述之校正步驟可讓音頻接收裝置1在未外掛晶體振盪器(oscillator)時維持音頻接收裝置1與音頻發送裝置2之間之通訊品質,進而降低音頻接收裝置1之生產成本。並且,由於音頻接收裝置1可接收正確之音頻指令S1,音頻發送裝置2亦可不需外掛晶體振盪器(oscillator),進而降低音頻發送裝置2之生產成本。Based on this, the control circuit 13 can filter the noise in the audio signal received by the receiving unit 11 based on the main frequency band selection step (steps S04, S05, and S06) and the main frequency band correction step (step S07). The audio receiving device 1 The correct audio command S1 can be received from the audio sending device 2 to reduce the chance of the audio receiving device 1 malfunctioning, thereby improving the communication quality between the audio receiving device 1 and the audio sending device 2, and the aforementioned correction steps can enable audio reception The device 1 maintains the communication quality between the audio receiving device 1 and the audio sending device 2 when the crystal oscillator is not connected externally, thereby reducing the production cost of the audio receiving device 1. Moreover, since the audio receiving device 1 can receive the correct audio command S1, the audio sending device 2 does not need an external crystal oscillator (oscillator), thereby reducing the production cost of the audio sending device 2.

在一實施例中,為回應音頻發送裝置2發送之音頻指令S1(以下稱為第一音頻指令S1),音頻接收裝置1可包含一發送單元16耦接控制電路13,控制電路13根據第一音頻指令S1產生對應之另一音頻指令S2(以下稱為第二音頻指令S2),發送單元16發送第二音頻指令S2至音頻發送裝置2,音頻發送裝置2可包含一接收單元22,接收單元22接收來自發送單元16之第二音頻指令S2,音頻發送裝置2可根據第二音頻指令S2進一步互動於音頻接收裝置1。In one embodiment, in response to the audio command S1 sent by the audio sending device 2 (hereinafter referred to as the first audio command S1), the audio receiving device 1 may include a sending unit 16 coupled to the control circuit 13, and the control circuit 13 according to the first The audio command S1 generates another corresponding audio command S2 (hereinafter referred to as the second audio command S2). The sending unit 16 sends the second audio command S2 to the audio sending device 2. The audio sending device 2 may include a receiving unit 22. The receiving unit 22 receives the second audio command S2 from the sending unit 16, and the audio sending device 2 can further interact with the audio receiving device 1 according to the second audio command S2.

在一實施例中,接收單元11、22可以麥克風來實現,發送單元21、16可以揚聲器來實現。音頻發送裝置2及音頻接收裝置1可以相同之兩音頻收發裝置來實現。In an embodiment, the receiving units 11 and 22 can be implemented as microphones, and the sending units 21 and 16 can be implemented as speakers. The audio sending device 2 and the audio receiving device 1 can be implemented by the same two audio transceivers.

在一實施例中,在步驟S05中,控制電路13係根據一預設時間長度內複數主頻訊號所對應之複數頻帶統計各頻帶之次數或持續時間,以前述之預設時間長度內對應四個時間點之四個主頻訊號之頻帶分別為 170 Hz、 180 Hz、 180 Hz、 160 Hz為例,控制電路13在步驟S05中以計數次數多寡或持續時間之長短選擇180 Hz為對應一預設時間長度之主要頻帶,也就是控制電路13自 170 Hz、 180 Hz、 180 Hz、 160 Hz之頻帶中選擇出為 180 Hz之主要頻帶。In one embodiment, in step S05, the control circuit 13 counts the frequency or duration of each frequency band according to the complex frequency band corresponding to the plural main frequency signal within a preset time length, and corresponds to four times within the aforementioned preset time length. For example, the frequency bands of the four main frequency signals at each time point are 170 Hz, 180 Hz, 180 Hz, and 160 Hz respectively. In step S05, the control circuit 13 selects 180 Hz according to the number of counts or the length of the duration. Set the main frequency band of the time length, that is, the control circuit 13 selects the main frequency band of 180 Hz from the frequency bands of 170 Hz, 180 Hz, 180 Hz, and 160 Hz.

在另一實施例中,控制電路13在步驟S05中更可根據預設頻率偏移程度自預設時間長度內之複數主頻訊號之頻帶中選擇出主要頻帶。詳細而言,以預設時間長度內對應五個時間點之五個主頻訊號之頻帶分別為 170 Hz、170 Hz、180 Hz、180 Hz、160 Hz為例且預設頻率偏移程度係為頻率預設偏移方向,以控制電路13統計各頻帶之次數為例,控制電路13統計出 160 Hz之頻帶之次數為1,且控制電路13統計出 170 Hz之頻帶以及 180 Hz之頻帶之次數均為2。接著,以音頻發送裝置2因製程或其他因素影響而導致音頻指令S1之頻率產生偏移(例如,頻率預設偏移方向係為朝高頻偏移,然本案不以此為限制,頻率預設偏移方向亦可為朝低頻偏移)為例,控制電路13根據頻率預設偏移方向將較為高頻之 180 Hz之頻帶視為較為低頻之 170 Hz之頻帶朝高頻之偏移結果,控制電路13即選擇 170 Hz為主要頻帶,也就是控制電路13在 170 Hz、170 Hz、180 Hz、180 Hz、160 Hz之頻帶中選擇出170 Hz為主要頻帶。In another embodiment, in step S05, the control circuit 13 may further select the main frequency band from the frequency bands of the plurality of main frequency signals within the predetermined time length according to the predetermined frequency offset degree. In detail, take the frequency bands of the five main frequency signals corresponding to five time points within a preset time length of 170 Hz, 170 Hz, 180 Hz, 180 Hz, and 160 Hz as an example, and the preset frequency deviation degree is The frequency preset deviation direction, taking the control circuit 13 counts the frequency of each frequency band as an example, the control circuit 13 counts the frequency of the 160 Hz frequency band as 1, and the control circuit 13 counts the frequency of the 170 Hz frequency band and the frequency of 180 Hz Both are 2. Then, the frequency of the audio command S1 is shifted by the audio sending device 2 due to the influence of the manufacturing process or other factors (for example, the frequency preset shift direction is toward the high frequency shift, but this case is not limited by this, the frequency preset Assuming that the offset direction can also be a low frequency offset) as an example, the control circuit 13 regards the higher frequency band of 180 Hz as the lower frequency band of 170 Hz as the result of the offset to the higher frequency according to the frequency preset offset direction , The control circuit 13 selects 170 Hz as the main frequency band, that is, the control circuit 13 selects 170 Hz as the main frequency band among the frequency bands of 170 Hz, 170 Hz, 180 Hz, 180 Hz, and 160 Hz.

在一實施例中,基於已知之表示預設指令碼之複數預設頻帶,控制電路13在步驟S07中係根據部分之主要頻帶所對應之預設頻帶誤差校正每一主要頻帶,也就是控制電路13可根據部分預設數量之主要頻帶所取得之預設誤差校正每一主要頻帶。以預設數量為三且以前述之第一主要頻帶、第二主要頻帶及第三主要頻帶為例,控制電路13在步驟S07中係計算第一主要頻帶、第二主要頻帶及第三主要頻帶中兩主要頻帶之間之頻帶差值,控制電路13再以頻帶差值取得對應之預設頻帶誤差。In one embodiment, based on the known plural preset frequency bands representing the preset instruction code, the control circuit 13 corrects each main frequency band according to the preset frequency band error corresponding to part of the main frequency band in step S07, that is, the control circuit 13 It is possible to correct each main frequency band according to the preset error obtained by part of the preset number of main frequency bands. Taking the preset number as three and taking the aforementioned first main frequency band, second main frequency band, and third main frequency band as examples, the control circuit 13 calculates the first main frequency band, the second main frequency band, and the third main frequency band in step S07 For the frequency band difference between the two main frequency bands, the control circuit 13 then uses the frequency band difference to obtain the corresponding preset frequency band error.

舉例來說,控制電路13可計算第一主要頻帶及第二主要頻帶之間之頻帶差值(以下稱為第一頻帶差值),且控制電路13計算第二主要頻帶及第三主要頻帶之間之頻帶差值(以下稱為第二頻帶差值),控制電路13再根據第一頻帶差值及第二頻帶差值取得對應於第一主要頻帶、第二主要頻帶及第三主要頻帶中之任一者或任兩者或三者之預設頻帶誤差,也就是控制電路13可根據複數主要頻帶中之部分之三個主要頻帶計算出兩個或兩個以上頻帶差值(例如更包含第一頻帶與第三頻帶之間之頻帶差值),並根據兩頻帶差值取得對應於第一主要頻帶、第二主要頻帶或第三主要頻帶之預設頻帶誤差,或取得對應於第一主要頻帶及第二主要頻帶之預設頻帶誤差,或取得對應於第一主要頻帶及第三主要頻帶之預設頻帶誤差,或取得對應於第二主要頻帶及第三主要頻帶之預設頻帶誤差,或取得對應於第一主要頻帶、第二主要頻帶及第三主要頻帶之預設頻帶誤差。For example, the control circuit 13 may calculate the frequency band difference between the first main frequency band and the second main frequency band (hereinafter referred to as the first frequency band difference), and the control circuit 13 may calculate the difference between the second main frequency band and the third main frequency band. According to the difference between the frequency bands (hereinafter referred to as the second frequency band difference), the control circuit 13 obtains the corresponding one of the first main frequency band, the second main frequency band, and the third main frequency band according to the first frequency band difference and the second frequency band difference. Any one or any two or three of the preset frequency band error, that is, the control circuit 13 can calculate the difference between two or more frequency bands (for example, more including The frequency band difference between the first frequency band and the third frequency band), and obtain the preset frequency band error corresponding to the first main frequency band, the second main frequency band or the third main frequency band according to the difference between the two frequency bands, or obtain the preset frequency error corresponding to the first main frequency band, the second main frequency band or the third main frequency band. The preset frequency band error of the main frequency band and the second main frequency band, or the preset frequency band error corresponding to the first main frequency band and the third main frequency band, or the preset frequency band error corresponding to the second main frequency band and the third main frequency band , Or obtain the preset frequency band error corresponding to the first main frequency band, the second main frequency band, and the third main frequency band.

於是,基於第一主要頻帶、第二主要頻帶、第三主要頻帶及已知之預設頻帶,控制電路13可計算出兩頻帶差值而根據複數預設頻帶取得對應於不同主要頻帶之預設頻帶誤差。控制電路13在根據第一主要頻帶、第二主要頻帶及第三主要頻帶取得頻帶誤差之後再以頻帶誤差校正每一主要頻帶。以前述之三十個主要頻帶為例,控制電路13可根據三個主要頻帶對應之預設頻帶誤差校正其餘之二十七個主要頻帶。Therefore, based on the first main frequency band, the second main frequency band, the third main frequency band, and the known preset frequency bands, the control circuit 13 can calculate the difference between the two frequency bands and obtain preset frequency bands corresponding to different main frequency bands according to the complex preset frequency bands. error. The control circuit 13 obtains a frequency band error according to the first main frequency band, the second main frequency band, and the third main frequency band, and then corrects each main frequency band with the frequency band error. Taking the aforementioned thirty main frequency bands as an example, the control circuit 13 can correct the remaining 27 main frequency bands according to the preset frequency band errors corresponding to the three main frequency bands.

在一實施例中,在控制電路13校正對應於複數預設時間長度之複數主要頻帶之後(步驟S07),請合併參照圖1及圖3,在步驟S08中,控制電路13進一步判斷校正後之複數主要頻帶是否符合表示音頻指令S1之複數預設頻帶(步驟S081),例如控制電路13可判斷部分之主要頻帶是否符合部分之預設頻帶,也就是控制電路13可判斷第一主要頻帶、第二主要頻帶及第三主要頻帶是否符合複數預設頻帶中之第一預設頻帶、第二預設頻帶及第三預設頻帶。若校正後之複數主要頻帶不符合預設頻帶(判斷結果為「否」),控制電路13自步驟S04開始執行,也就是根據接收單元11於其他預設時間長度接收之音頻訊號,控制電路13重新偵測對應於其他預設時間長度內之各時間點之複數頻域訊號之能量,以據以執行步驟S04至步驟S07,直到控制電路13判斷出校正後之複數主要頻帶符合複數預設頻帶為止。在校正後之複數主要頻帶之部分符合複數預設頻帶之部分之後(判斷結果為「是」),控制電路13校正其餘還未校正之主要頻帶,待主要頻帶之數量符合一預設數量時,控制電路13轉換校正後之主要頻帶為複數位元碼(步驟S082)。In one embodiment, after the control circuit 13 corrects the complex main frequency band corresponding to the plurality of preset time lengths (step S07), please refer to FIGS. 1 and 3 together. In step S08, the control circuit 13 further determines the corrected frequency band. Whether the plurality of main frequency bands meets the plurality of preset frequency bands indicating the audio command S1 (step S081), for example, the control circuit 13 can determine whether a part of the main frequency band meets the part of the preset frequency band, that is, the control circuit 13 can determine the first main frequency band, the second Whether the second main frequency band and the third main frequency band meet the first preset frequency band, the second preset frequency band and the third preset frequency band among the plurality of preset frequency bands. If the corrected complex main frequency band does not meet the preset frequency band (the judgment result is "No"), the control circuit 13 starts to execute step S04, that is, according to the audio signal received by the receiving unit 11 in other preset time lengths, the control circuit 13 Re-detect the energy of the complex frequency domain signal corresponding to each time point within other preset time lengths, and execute steps S04 to S07 accordingly, until the control circuit 13 determines that the corrected complex main frequency band conforms to the complex preset frequency band until. After the corrected part of the main frequency band meets the part of the plurality of preset frequency bands (the judgment result is "Yes"), the control circuit 13 corrects the remaining uncorrected main frequency bands, and when the number of main frequency bands meets a preset number, The control circuit 13 converts the corrected main frequency band into a complex bit code (step S082).

在一實施例中,前述之預設指令碼係包含預設標頭碼(header)及預設資料碼,預設標頭碼及預設資料碼可分別以複數預設頻帶來表示(以下將表示預設標頭碼之複數預設頻帶稱為標頭碼預設頻帶,並將表示預設資料碼之複數預設頻帶稱為資料碼預設頻帶),且標頭碼預設頻帶係相同或不相同於資料碼預設頻帶。舉例來說,預設標頭碼與預設資料碼可以數量不同之預設頻帶來表示其兩者為不相同,或者,預設標頭碼與預設資料碼可以不完全相同之預設頻帶來表示其兩者為不相同。在一實施例中,以三個標頭碼預設頻帶表示預設標頭碼為例,前述之第一預設頻帶、第二預設頻帶及第三預設頻帶可視為三個標頭碼預設頻帶,例如第一預設頻帶、第二預設頻帶及第三預設頻帶可分別為 160 Hz、180 Hz、200 Hz;預設資料碼可以五個資料碼預設頻帶來表示,例如 170 Hz、 190 Hz、180 Hz、 200 Hz、 160 Hz。In one embodiment, the aforementioned preset script code includes a preset header code (header) and a preset data code. The preset header code and the preset data code can be represented by a plurality of preset frequency bands (hereinafter referred to as The plural preset frequency band representing the preset header code is called the header code preset frequency band, and the plural preset frequency band representing the preset data code is called the data code preset frequency band), and the preset frequency band of the header code is the same Or not the same as the preset frequency band of the data code. For example, the preset header code and the preset data code may have different preset frequency bands to indicate that the two are different, or the preset header code and the preset data code may not be exactly the same preset frequency band To indicate that the two are not the same. In an embodiment, taking the preset frequency bands of the three header codes to represent the preset header codes as an example, the aforementioned first preset frequency band, second preset frequency band, and third preset frequency band can be regarded as three header codes The preset frequency band, for example, the first preset frequency band, the second preset frequency band, and the third preset frequency band can be respectively 160 Hz, 180 Hz, and 200 Hz; the preset data code can be represented by five data code preset frequency bands, for example 170 Hz, 190 Hz, 180 Hz, 200 Hz, 160 Hz.

在一實施例中,發送單元21在發送射頻指令時係依序地發送第一預設頻帶、第二預設頻帶及第三預設頻帶。如圖4所示,以第一預設頻帶、第二預設頻帶及第三預設頻帶之發送時間之時間軸來看,第一預設頻帶係相鄰於第二預設頻帶,第二預設頻帶係相鄰於第三預設頻帶。其中,前述之第一預設差值可相等或不相等於第二預設差值。In one embodiment, the sending unit 21 sends the first preset frequency band, the second preset frequency band, and the third preset frequency band in sequence when sending the radio frequency command. As shown in FIG. 4, from the time axis of the transmission time of the first preset frequency band, the second preset frequency band, and the third preset frequency band, the first preset frequency band is adjacent to the second preset frequency band, and the second preset frequency band is adjacent to the second preset frequency band. The preset frequency band is adjacent to the third preset frequency band. Wherein, the aforementioned first preset difference value may be equal to or not equal to the second preset difference value.

在一實施例中,以前述之三個標頭碼預設頻帶表示預設標頭碼為例,控制電路13在步驟S07可將主要頻帶中之第一主要頻帶、第二主要頻帶及第三主要頻帶視為標頭碼主要頻帶,也就是控制電路13可基於前述之標頭碼預設頻帶計算複數標頭碼主要頻帶中兩標頭碼主要頻帶之間之頻帶差值,控制電路13再以頻帶差值取得對應複數標頭碼主要頻帶之預設頻帶誤差。舉例來說,如圖4所示,以前述之第一預設頻帶、第二預設頻帶及第三預設頻帶分別為160 Hz、180 Hz及200 Hz為例,若第一主要頻帶、第二主要頻帶及第三主要頻帶分別為170 Hz、180 Hz及200 Hz,控制電路13計算得為10之第一頻帶差值及為20之第二頻帶差值而據以取得對應於第一主要頻帶為10之預設頻帶差值;其餘則依此類推,於此不再贅述。In one embodiment, taking the aforementioned three header code preset frequency bands representing the preset header code as an example, the control circuit 13 may set the first main frequency band, the second main frequency band, and the third main frequency band among the main frequency bands in step S07. The main frequency band is regarded as the main frequency band of the header code, that is, the control circuit 13 can calculate the frequency band difference between the main frequency bands of the two header codes in the main frequency band of the complex header code based on the preset frequency band of the header code, and the control circuit 13 then Obtain the preset frequency band error corresponding to the main frequency band of the complex header code by the frequency band difference. For example, as shown in FIG. 4, taking the aforementioned first preset frequency band, second preset frequency band, and third preset frequency band as 160 Hz, 180 Hz, and 200 Hz, respectively, if the first main frequency band, the second The second main frequency band and the third main frequency band are 170 Hz, 180 Hz, and 200 Hz, respectively. The control circuit 13 calculates the first frequency band difference of 10 and the second frequency band difference of 20 to obtain the difference corresponding to the first main frequency band. The frequency band is the preset frequency difference of 10; the rest are deduced by analogy, so I won't repeat them here.

於是,基於第一主要頻帶、第二主要頻帶、第三主要頻帶及已知之標頭碼預設頻帶,控制電路13可計算出兩頻帶差值而根據複數標頭碼預設頻帶取得對應於不同主要頻帶之預設頻帶誤差。控制電路13在取得對應之預設頻帶誤差之後再根據預設頻帶誤差校正其餘未校正之主要頻帶,其餘未校正之主要頻帶係為對應預設資料碼之資料碼主要頻帶(即,主要頻帶包含標頭碼主要頻帶及資料碼主要頻帶),控制電路13係根據預設頻帶誤差校正標頭碼主要頻帶及資料碼主要頻帶。Therefore, based on the first main frequency band, the second main frequency band, the third main frequency band, and the known header code preset frequency band, the control circuit 13 can calculate the difference between the two frequency bands and obtain the corresponding preset frequency band according to the complex header code. The preset frequency band error of the main frequency band. After obtaining the corresponding preset frequency band error, the control circuit 13 corrects the remaining uncorrected main frequency band according to the preset frequency error. The remaining uncorrected main frequency band is the main frequency band of the data code corresponding to the preset data code (that is, the main frequency band includes The main frequency band of the header code and the main frequency band of the data code), and the control circuit 13 corrects the main frequency band of the header code and the main frequency band of the data code according to the preset frequency band error.

在一實施例中,音頻接收裝置1可包含儲存單元15耦接控制電路13,儲存單元15可儲存有複數預設頻帶誤差,儲存單元15可根據不同頻帶差值形成之不同差值組合輸出對應之預設頻帶誤差。在控制電路13計算出前述之兩頻帶差值之後,控制電路13根據兩頻帶差值發送對應之位址給儲存單元15,使儲存單元15據以輸出對應之預設頻帶誤差。以儲存單元15有儲存七種不相同之預設頻帶誤差為例,儲存單元15可據以輸出對應於第一主要頻帶之預設頻帶誤差,或可據以輸出對應於第二主要頻帶之預設頻帶誤差,或可輸出對應於第三主要頻帶之預設頻帶誤差,或可據以輸出對應於第一主要頻帶及第二主要頻帶之預設頻帶誤差,或可據以輸出對應於第一主要頻帶及第三主要頻帶之預設頻帶誤差,或可據以輸出對應於第二主要頻帶及第三主要頻帶之預設頻帶誤差,或可據以輸出對應於第一主要頻帶、第二主要頻帶及第三主要頻帶之預設頻帶誤差。控制電路13自儲存單元15取得預設頻帶誤差後即根據預設頻帶誤差校正標頭碼主要頻帶及資料碼主要頻帶,於此不再贅述。In one embodiment, the audio receiving device 1 may include a storage unit 15 coupled to the control circuit 13. The storage unit 15 may store a plurality of preset frequency band errors, and the storage unit 15 may output corresponding combinations of differences according to different frequency band differences. The preset frequency band error. After the control circuit 13 calculates the aforementioned difference between the two frequency bands, the control circuit 13 sends the corresponding address to the storage unit 15 according to the difference between the two frequency bands, so that the storage unit 15 outputs the corresponding preset frequency band error accordingly. Taking the storage unit 15 storing seven different preset frequency band errors as an example, the storage unit 15 can output the preset frequency band error corresponding to the first main frequency band, or can output the preset frequency band error corresponding to the second main frequency band accordingly. Set the frequency band error, or the preset frequency error corresponding to the third main frequency band can be output, or the preset frequency error corresponding to the first main frequency band and the second main frequency band can be output accordingly, or the preset frequency error corresponding to the first main frequency band can be output accordingly. The preset frequency band error of the main frequency band and the third main frequency band may be output according to the preset frequency error corresponding to the second main frequency band and the third main frequency band, or the preset frequency error corresponding to the first main frequency band and the second main frequency band may be output accordingly. The preset frequency band error of the frequency band and the third main frequency band. After obtaining the preset frequency band error from the storage unit 15, the control circuit 13 corrects the main frequency band of the header code and the main frequency band of the data code according to the preset frequency band error, which will not be repeated here.

在一實施例中,在步驟S081中,控制電路13可判斷校正後之複數標頭碼主要頻帶是否符合複數標頭碼預設頻帶,直到控制電路13判斷出校正後之複數標頭碼主要頻帶符合複數標頭碼預設頻帶為止。在校正後之複數標頭碼主要頻帶符合標頭碼預設頻帶之後(判斷結果為「是」),控制電路13校正資料碼主要頻帶,待資料碼主要頻帶之數量符合一預設數量時,控制電路13在步驟S082中係轉換校正後之標頭碼主要頻帶及資料碼主要頻帶為複數位元碼。In one embodiment, in step S081, the control circuit 13 may determine whether the corrected main frequency band of the complex header code conforms to the preset frequency band of the complex header code, until the control circuit 13 determines the corrected main frequency band of the complex header code Complies with the preset frequency band of the plural header code. After the corrected main frequency band of the complex header code meets the preset frequency band of the header code (the judgment result is "Yes"), the control circuit 13 corrects the main frequency band of the data code, and when the number of main frequency bands of the data code meets a preset number, In step S082, the control circuit 13 converts the corrected main frequency band of the header code and the main frequency band of the data code into complex bit codes.

在一實施例中,音頻指令S1包含之預設資料碼可包含錯誤更正碼(例如,CRC、Hamming code),也就是資料碼預設頻帶可包含對應於錯誤更正碼之預設頻帶,控制電路13在步驟S05中選擇出之複數資料碼主要頻帶包含對應於錯誤更正碼之頻帶,且前述之複數位元碼中亦包含對應於錯誤更正碼之位元。於是,控制電路13在步驟S082產生複數位元碼之後,控制電路13根據複數位元碼中對應於錯誤更正碼之位元進行一錯誤更正程序(步驟S083),控制電路13接著判斷經錯誤更正程序之複數位元碼是否符合預設指令碼(步驟S084),若經錯誤更正程序之複數位元碼不符合預設指令碼(判斷結果為「否」),控制電路13重新自步驟S04開始執行,直到經錯誤更正程序之複數位元碼符合預設指令碼時(判斷結果為「是」),控制電路13始產生前述之第二音頻指令S2(步驟S085),以回應音頻發送裝置2。In one embodiment, the preset data code included in the audio command S1 may include an error correction code (for example, CRC, Hamming code), that is, the preset frequency band of the data code may include a preset frequency band corresponding to the error correction code, and the control circuit 13 The main frequency band of the complex data code selected in step S05 includes the frequency band corresponding to the error correction code, and the aforementioned complex bit code also includes bits corresponding to the error correction code. Then, after the control circuit 13 generates the complex bit code in step S082, the control circuit 13 performs an error correction procedure based on the bits in the complex bit code corresponding to the error correction code (step S083), and the control circuit 13 then determines that the error has been corrected Whether the complex bit code of the program conforms to the preset instruction code (step S084), if the complex bit code of the error correction program does not conform to the preset instruction code (the judgment result is "No"), the control circuit 13 restarts from step S04 The control circuit 13 starts to generate the aforementioned second audio command S2 (step S085) in response to the audio sending device 2 when the plural bit code of the error correction procedure matches the preset command code (the judgment result is "Yes"). .

在一實施例中,如圖1所示,音頻接收裝置1可包含濾波電路14耦接在接收單元11與轉換電路12之間,如圖5所示,在接收單元11接收複數音頻訊號之後(步驟S01),濾波電路14對接收單元11接收之複數音頻訊號進行濾波(步驟S09),濾波電路14可將雜訊與非音頻指令之頻率濾除,以降低雜訊與非音頻指令之頻率對主要頻帶之影響,使轉換電路12轉換濾波後之複數音頻訊號為複數數位音頻訊號(步驟S02),以進一步提升音頻訊號之準確度。在一實施例中,控制電路23在產生音頻指令S1時係將預設指令碼以方波、鋸齒波、三角波、正弦波或脈衝之連續波形之變頻方式產生音頻指令S1或以播放音樂之方式產生音頻指令S1。In one embodiment, as shown in FIG. 1, the audio receiving device 1 may include a filter circuit 14 coupled between the receiving unit 11 and the conversion circuit 12. As shown in FIG. 5, after the receiving unit 11 receives the complex audio signal ( Step S01). The filter circuit 14 filters the complex audio signals received by the receiving unit 11 (step S09). The filter circuit 14 can filter out the frequency of noise and non-audio commands to reduce the frequency of noise and non-audio commands. The influence of the main frequency band causes the conversion circuit 12 to convert the filtered complex audio signal into a complex digital audio signal (step S02) to further improve the accuracy of the audio signal. In one embodiment, when the control circuit 23 generates the audio command S1, it generates the audio command S1 with a frequency conversion method of a square wave, a sawtooth wave, a triangle wave, a sine wave, or a continuous waveform of a pulse or by playing music. Generate audio command S1.

在一實施例中,控制電路23更可產生為音樂之聲波訊號,音頻發送裝置2更包含混頻電路24耦接控制電路23及發送單元21,混頻電路24可混合控制電路23產生之音頻指令S1及聲波訊號,且控制電路23更可判斷是否需發送聲波訊號。當控制電路23判斷出不需發送聲波訊號時,發送單元21發送音頻指令S1;當控制電路23判斷出需發送聲波訊號時,發送單元21發送混合後之音頻指令及聲波訊號,使音樂與音頻指令S1一同播送;當控制電路23判斷出不需發送音頻指令時,發送單元21發送聲波訊號。In one embodiment, the control circuit 23 can further generate a sound wave signal for music. The audio sending device 2 further includes a mixing circuit 24 coupled to the control circuit 23 and the sending unit 21. The mixing circuit 24 can mix the audio generated by the control circuit 23. Command S1 and the sound wave signal, and the control circuit 23 can further determine whether the sound wave signal needs to be sent. When the control circuit 23 determines that there is no need to send the sound wave signal, the sending unit 21 sends the audio command S1; when the control circuit 23 determines that the sound wave signal needs to be sent, the sending unit 21 sends the mixed audio command and the sound wave signal to make the music and audio The instruction S1 is broadcast together; when the control circuit 23 determines that there is no need to send an audio instruction, the sending unit 21 sends a sound wave signal.

綜上所述,根據本案之音頻接收裝置及音頻發送裝置之一實施例,音頻接收裝置可對音頻指令進行校正,音頻接收裝置在未外掛晶體振盪器時能維持其與音頻發送裝置之間之通訊品質,如此能降低音頻接收裝置之生產成本,並同時兼具音頻接收裝置與音頻發送裝置之間之通訊品質,以降低音頻接收裝置誤動作之機會;再者,音頻接收裝置可以成本較低之麥克風及揚聲器來實現,如此亦能進一步降低音頻接收裝置之生產成本。並且,音頻發送裝置亦可不需要外掛晶體振盪器,如此能降低音頻發送裝置之生產成本。In summary, according to one of the embodiments of the audio receiving device and the audio sending device in this case, the audio receiving device can correct the audio commands, and the audio receiving device can maintain the communication between the audio receiving device and the audio sending device when the crystal oscillator is not connected. Communication quality, which can reduce the production cost of the audio receiving device, and at the same time have the communication quality between the audio receiving device and the audio sending device, so as to reduce the chance of the audio receiving device malfunctioning. Moreover, the audio receiving device can be lower in cost. Microphones and speakers are implemented, which can further reduce the production cost of the audio receiving device. Moreover, the audio transmission device does not need an external crystal oscillator, which can reduce the production cost of the audio transmission device.

雖然本案已以實施例揭露如上然其並非用以限定本案,任何所屬技術領域中具有通常知識者,在不脫離本案之精神和範圍內,當可作些許之更動與潤飾,故本案之保護範圍當視後附之專利申請範圍所界定者為準。Although this case has been disclosed by the examples above, it is not intended to limit the case. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the case. Therefore, the scope of protection of this case The scope of the patent application attached hereafter shall prevail.

1:音頻接收裝置11:接收單元 12:轉換電路13:控制電路 14:濾波電路15:儲存單元 16:發送單元2:音頻發送裝置 21:發送單元22:接收單元 23:控制電路24:混頻電路 S1:第一音頻指令S2:第二音頻指令 S01-S09:步驟S081-S085:步驟1: Audio receiving device 11: Receiving unit 12: Conversion circuit 13: Control circuit 14: Filter circuit 15: Storage unit 16: Sending unit 2: Audio sending device 21: sending unit 22: receiving unit 23: Control circuit 24: Mixing circuit S1: First audio command S2: Second audio command S01-S09: Step S081-S085: Step

[圖1] 為根據本案之音頻發送裝置及音頻接收裝置之一實施例之功能方塊圖。 [圖2] 為根據本案之音頻接收裝置之音頻接收方法之一實施例之流程圖。 [圖3] 為圖2之音頻接收方法之一實施態樣之流程圖。 [圖4] 為三個預設頻帶之一實施例之示意圖。 [圖5] 為根據本案之音頻接收裝置之音頻接收方法之另一實施例之流程圖。[Fig. 1] is a functional block diagram of an embodiment of the audio transmitting device and the audio receiving device according to the present application. [Figure 2] is a flowchart of an embodiment of the audio receiving method of the audio receiving device according to the present application. [Figure 3] is a flowchart of an implementation aspect of the audio receiving method of Figure 2. [Figure 4] is a schematic diagram of an embodiment of one of the three preset frequency bands. [Figure 5] is a flowchart of another embodiment of the audio receiving method of the audio receiving device according to the present application.

1:音頻接收裝置 1: Audio receiving device

11:接收單元 11: receiving unit

12:轉換電路 12: Conversion circuit

13:控制電路 13: Control circuit

14:濾波電路 14: filter circuit

15:儲存單元 15: storage unit

16:發送單元 16: sending unit

2:音頻發送裝置 2: Audio sending device

21:發送單元 21: Sending unit

22:接收單元 22: receiving unit

23:控制電路 23: Control circuit

24:混頻電路 24: Mixing circuit

S1:第一音頻指令 S1: First audio command

S2:第二音頻指令 S2: Second audio command

Claims (12)

一種音頻接收裝置,包含:一接收單元,用以接收複數音頻訊號;一轉換電路,耦接該接收單元,用以對該些音頻訊號進行類比數位轉換以產生複數數位音頻訊號;及一控制電路,耦接該轉換電路,用以將一預設時間長度內之該些數位音頻訊號由一時域轉換至一頻域以產生複數頻域訊號,該控制電路根據該預設時間長度內之複數時間點選擇各時間點中符合頻域之預設能量強度之其中一該頻域訊號為一主頻訊號,且該控制電路根據各該主頻訊號所對應之頻帶的持續時間或次數選擇該些音頻訊號之複數主要頻帶,該控制電路根據該些主要頻帶對應之一預設頻帶誤差校正該些主要頻帶,並在校正該些主要頻帶後取得一音頻指令。 An audio receiving device comprising: a receiving unit for receiving plural audio signals; a conversion circuit coupled to the receiving unit for performing analog-digital conversion on the audio signals to generate plural digital audio signals; and a control circuit , Coupled to the conversion circuit, for converting the digital audio signals within a preset time length from a time domain to a frequency domain to generate complex frequency domain signals, and the control circuit is based on the complex time within the preset time length Click to select one of the frequency domain signals that meets the preset energy intensity of the frequency domain at each time point as a main frequency signal, and the control circuit selects the audio frequencies according to the duration or frequency of the frequency band corresponding to each main frequency signal For the plural main frequency bands of the signal, the control circuit corrects the main frequency bands according to a preset frequency band error corresponding to the main frequency bands, and obtains an audio command after correcting the main frequency bands. 如請求項1所述之音頻接收裝置,其中該控制電路係根據該預設時間長度內之各該主頻訊號所對應之頻帶的持續時間或次數及一頻率預設偏移方向選擇出該些主要頻帶。 The audio receiving device according to claim 1, wherein the control circuit selects the frequency bands according to the duration or number of times of the frequency band corresponding to each of the main frequency signals within the preset time length and a frequency preset deviation direction Main frequency band. 如請求項1所述之音頻接收裝置,其中該控制電路係根據表示該音頻指令之複數預設頻帶以該些主要頻帶中之部分主要頻帶所對應之一預設頻帶誤差校正每一該主要頻帶。 The audio receiving device according to claim 1, wherein the control circuit corrects each of the main frequency bands with a preset frequency band error corresponding to a part of the main frequency bands according to a plurality of preset frequency bands representing the audio command . 如請求項3所述之音頻接收裝置,其中該些主要頻帶包含對應一預設標頭碼之複數標頭碼主要頻帶及對應一預設資料碼之複數資料碼主要頻帶,其中該些主要頻帶中之部分主要頻帶係為該些標頭碼主要頻帶,該控制電路係計算該些標頭碼主要頻帶中兩個或兩個以上該標頭碼 主要頻帶之間之一頻帶差值,並根據該頻帶差值取得該預設頻帶誤差,該控制電路於校正該些主要頻帶時以該預設頻帶誤差校正該些標頭碼主要頻帶及該些資料碼主要頻帶。 The audio receiving device according to claim 3, wherein the main frequency bands include a main frequency band of a complex header code corresponding to a predetermined header code and a main frequency band of a complex data code corresponding to a predetermined data code, wherein the main frequency bands Some of the main frequency bands are the main frequency bands of the header codes, and the control circuit calculates two or more of the main frequency bands of the header codes. A frequency band difference between the main frequency bands, and the preset frequency band error is obtained according to the frequency band difference. The control circuit uses the preset frequency band error to correct the main frequency bands of the header codes and the main frequency bands when calibrating the main frequency bands. The main frequency band of the data code. 如請求項4所述之音頻接收裝置,其中該控制電路係計算該些標頭碼主要頻帶中之兩個或兩個以上該標頭碼主要頻帶之間之該頻帶差值。 The audio receiving device according to claim 4, wherein the control circuit calculates the frequency band difference between two or more of the main frequency bands of the header codes among the main frequency bands of the header codes. 如請求項4所述之音頻接收裝置,其中該些標頭碼主要頻帶包含一第一主要頻帶、一第二主要頻帶及一第三主要頻帶,該控制電路計算之該頻帶差值包含該第一主要頻帶與該第二主要頻帶之間之一第一頻帶差值及該第二主要頻與該第三主要頻帶之間之一第二頻帶差值,該控制電路根據該第一頻帶差值及該第二頻帶差值取得該預設頻帶誤差。 The audio receiving device of claim 4, wherein the main frequency bands of the header codes include a first main frequency band, a second main frequency band, and a third main frequency band, and the frequency band difference calculated by the control circuit includes the first main frequency band A first frequency band difference between a main frequency band and the second main frequency band and a second frequency band difference between the second main frequency and the third main frequency band, and the control circuit is based on the first frequency band difference And the second frequency band difference value to obtain the preset frequency band error. 如請求項6所述之音頻接收裝置,其中該控制電路係根據該第一頻帶差值及該第二頻帶差值取得對應於該第一主要頻帶、該第二主要頻帶及該第三主要頻帶中之任一者或任兩者或三者之該預設頻帶誤差。 The audio receiving device according to claim 6, wherein the control circuit obtains corresponding to the first main frequency band, the second main frequency band, and the third main frequency band according to the first frequency band difference value and the second frequency band difference value Any one or any two or three of the preset frequency band error. 如請求項3所述之音頻接收裝置,其中該控制電路更判斷校正後之該些主要頻帶是否符合表示該音頻指令之複數預設頻帶。 The audio receiving device according to claim 3, wherein the control circuit further determines whether the corrected main frequency bands conform to a plurality of preset frequency bands representing the audio command. 如請求項8所述之音頻接收裝置,其中當該些主要頻帶符合該些預設頻帶時,該控制電路在該些資料碼主要頻帶符合一預設數量時轉換校正後之該些主要頻帶為複數位元碼,以取得對應該音頻指令之一預設指令碼。 The audio receiving device according to claim 8, wherein when the main frequency bands match the preset frequency bands, the control circuit converts the corrected main frequency bands to when the main frequency bands of the data codes match a preset number The plural bit codes are used to obtain one of the preset command codes corresponding to the audio commands. 一種音頻發送裝置,包含: 一控制電路,用以根據包含一預設標頭碼及一預設資料碼之一預設指令碼以產生一音頻指令,並判斷是否需同時發送為音樂之一聲波訊號及該音頻指令;一混頻電路,耦接該控制電路,用以混合該音頻指令及該聲波訊號;及一發送單元,耦接該控制電路及該混頻電路,當該控制電路判斷出不需發送該聲波訊號時,該發送單元發送該音頻指令,當該控制電路判斷出需發送該聲波訊號時,該發送單元發送混合後之該音頻指令及該聲波訊號,使音樂與音頻指令一同播送,當該控制電路判斷出不需發送該音頻指令時,該發送單元發送該聲波訊號。 An audio transmission device, including: A control circuit for generating an audio command based on a preset command code including a preset header code and a preset data code, and determining whether to send a sound wave signal as a music and the audio command at the same time; A mixing circuit, coupled to the control circuit, for mixing the audio command and the sound wave signal; and a sending unit, coupled to the control circuit and the mixing circuit, when the control circuit determines that the sound wave signal does not need to be sent , The sending unit sends the audio command, and when the control circuit determines that the sound wave signal needs to be sent, the sending unit sends the mixed audio command and the sound wave signal so that the music and the audio command are broadcast together. When the control circuit determines When the audio command does not need to be sent, the sending unit sends the sound wave signal. 如請求項10所述之音頻發送裝置,其中該音頻指令包含複數標頭碼預設頻帶及複數資料碼預設頻帶,該些標頭碼預設頻帶包含相鄰之一第一預設頻帶及一第二預設頻帶以及相鄰之該第二預設頻帶與一第三預設頻帶,該第一預設頻帶與該第二預設頻帶之間之一第一頻帶差值等於或不等於該第二預設頻帶與該第三預設頻帶之間之一第二預設差值。 The audio sending device according to claim 10, wherein the audio command includes a preset frequency band of a plurality of header codes and a preset frequency band of a plurality of data codes, and the preset frequency bands of the header codes include an adjacent first preset frequency band and A second preset frequency band and the adjacent second preset frequency band and a third preset frequency band, and a first frequency band difference between the first preset frequency band and the second preset frequency band is equal to or not equal to A second preset difference between the second preset frequency band and the third preset frequency band. 如請求項11所述之音頻發送裝置,其中該控制電路係根據一預設指令碼以方波或鋸齒波或三角波或正弦波或脈衝之連續波形之變頻方式產生該音頻指令,該預設指令碼包含該些標頭碼預設頻帶表示之一預設標頭碼及該些資料碼預設頻帶表示之一預設資料碼。The audio transmission device according to claim 11, wherein the control circuit generates the audio command in a frequency conversion method of a square wave, a sawtooth wave, a triangle wave, a sine wave, or a continuous waveform of a pulse according to a preset command code, the preset command The code includes a preset header code representing the preset frequency bands of the header codes and a preset data code representing the preset frequency bands of the data codes.
TW109111364A 2019-05-24 2020-04-01 Audio receiving device and audio transmitting device TWI736206B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201962852502P 2019-05-24 2019-05-24
US62/852,502 2019-05-24

Publications (2)

Publication Number Publication Date
TW202044239A TW202044239A (en) 2020-12-01
TWI736206B true TWI736206B (en) 2021-08-11

Family

ID=74668514

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109111364A TWI736206B (en) 2019-05-24 2020-04-01 Audio receiving device and audio transmitting device

Country Status (1)

Country Link
TW (1) TWI736206B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015079A1 (en) * 1999-06-22 2004-01-22 Teratech Corporation Ultrasound probe with integrated electronics
CN101010722A (en) * 2004-08-30 2007-08-01 诺基亚公司 Detection of voice activity in an audio signal
US20100030838A1 (en) * 1998-08-27 2010-02-04 Beepcard Ltd. Method to use acoustic signals for computer communications
TW201740879A (en) * 2016-04-02 2017-12-01 英特爾股份有限公司 Compressive sensing sparse sampling photoplethysmogram (PPG) measurement
CN108496317A (en) * 2017-11-02 2018-09-04 北京小米移动软件有限公司 The lookup method and device of the public resource set of remaining critical system information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030838A1 (en) * 1998-08-27 2010-02-04 Beepcard Ltd. Method to use acoustic signals for computer communications
US20040015079A1 (en) * 1999-06-22 2004-01-22 Teratech Corporation Ultrasound probe with integrated electronics
CN101010722A (en) * 2004-08-30 2007-08-01 诺基亚公司 Detection of voice activity in an audio signal
TW201740879A (en) * 2016-04-02 2017-12-01 英特爾股份有限公司 Compressive sensing sparse sampling photoplethysmogram (PPG) measurement
CN108496317A (en) * 2017-11-02 2018-09-04 北京小米移动软件有限公司 The lookup method and device of the public resource set of remaining critical system information

Also Published As

Publication number Publication date
TW202044239A (en) 2020-12-01

Similar Documents

Publication Publication Date Title
JP4668566B2 (en) Wireless communication
JP5732193B2 (en) Error correction method for auditory system wireless network
US9203533B2 (en) System and method for real-time wireless transmission of digital audio at multiple radio frequencies
TW201639385A (en) Bluetooth audio packet sharing method
US9041571B2 (en) Flexible ADC calibration technique using ADC capture memory
TWI736206B (en) Audio receiving device and audio transmitting device
JP2017225026A (en) Signal detection device, radio communication device, radio communication terminal, and signal detection method
KR102669533B1 (en) Method and device for implementing beam scanning and communication
US9942671B2 (en) Method for transmitting digital data packets from a transmitter to a receiver arranged in a mobile device, and mobile device, transmitter and hearing aid for implementing the method
CN117856936A (en) Receiving channel correction method, distributed system, electronic device and storage medium
US8144878B2 (en) FM receiver and pilot detector thereof, and method for determining a type of a processed signal
US9503200B2 (en) Communication system and transfer method thereof
US10075894B2 (en) Wireless microphone system
JP2019208282A (en) Signal detection device, radio communication device, radio communication terminal, and signal detection method
CN104427639A (en) Control method for establishing wireless network connection through modulation tone
CN105913625A (en) Data transmission module pairing method and system
JP2010141604A (en) Wireless device
US11025217B2 (en) Fast automatic gain control for high performance wireless communications in substation automation
JP7477586B1 (en) Antenna Correction System
JP7011308B2 (en) Sound signal transmitter, sound signal receiver, and sound signal transmission system
JP2009033347A (en) Wiretap device detector and wiretap device detecting method
US20240348991A1 (en) Ultra-low latency nfmi communication protocol
JP2005159599A (en) Timing system
US11843929B2 (en) True wireless multichannel-speakers device and multiple sound source voicing method thereof
WO2018126553A1 (en) Method for determining signal of radio receiver and radio receiver