TW432801B - Method and apparatus for performing the combination of double-frequency or melody by using pulse width modulation - Google Patents

Method and apparatus for performing the combination of double-frequency or melody by using pulse width modulation Download PDF

Info

Publication number
TW432801B
TW432801B TW88108977A TW88108977A TW432801B TW 432801 B TW432801 B TW 432801B TW 88108977 A TW88108977 A TW 88108977A TW 88108977 A TW88108977 A TW 88108977A TW 432801 B TW432801 B TW 432801B
Authority
TW
Taiwan
Prior art keywords
square wave
pulse width
width modulation
melody
signal
Prior art date
Application number
TW88108977A
Other languages
Chinese (zh)
Inventor
Jeng-Yun Suen
Shin-Jr Huang
Guo-Chin Yan
Original Assignee
Henwood Technology Co Ltd
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 Henwood Technology Co Ltd filed Critical Henwood Technology Co Ltd
Priority to TW88108977A priority Critical patent/TW432801B/en
Application granted granted Critical
Publication of TW432801B publication Critical patent/TW432801B/en

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)

Abstract

This invention is concerned with a method and apparatus for performing double-frequency or melody synthesis by using pulse width modulation. The invention includes the followings: the procedure of making double-frequency or melody signals individually perform pulse width modulation in order to individually generate PWM square wave signal; the procedure of storing two square wave signals with different frequency; and the procedure of alternately reading out two sets of stored square wave signals to combine into single set of square wave signal. The modulating transformation procedure of PWM is generated after computer executes appropriate program. In other words, for the aspect of hardware-structure in this invention, there are only storage device and switch device such that the circuit structure can be effectively simplified to reduce production cost.

Description

432801432801

經濟部智慧財產局員工消費合作杜印製 ’本發明係關於一種利用脈寬調變進行雙頻率或旋律合 成之方法及裝置,尤指一種將電腦所送出欲進行人成之σ 組資料.先予儲存後再交替讀出而完成信號合成之:法 一般話機於按下某一按鍵時,隨即送出—組分別由 600Hz和800Hz合成之信號到線上,該6〇〇Hz與之 不同頻率信號可利用以下的裝置(方式)進行合成:之 首先如第五圖所示,其包括有一可分別產生6〇〇Hz與 800Hz等兩種不同頻率信號之信號產生單元(8 〇 )、同 時與信號產生單元(8 0 )兩組信號輸出端連接以進行 號合成之合成單元(8 1 )、一連接於合成單元(8 1 ) 輸出端上之數位/類比轉換單元(8 2 )。 以前述裝置係由信號產生單元(8 〇 )同時產生兩組 分別為600HZ和800Hz之不同頻率信號,再透過合成單元 (81)合成為一組包含兩種不同頻率之信號,並送至數 位/類比轉換單元(8 2 )將數位形式之合成信號轉換為 類比形式後,再傳送至線上。 又如第六圖所示,係另種信號產生暨合成裝置,其包 括有一可分別產生600Hz與800Hz等兩種不同頻率信號之 信號產生單元(9 0 )、兩組分別與信號產生單元(9 0 )兩組信號輸出端連接之數位/類比轉換單元(9 i ) (9 2 )及一分別與兩數位/類比轉換單元(9 1 )( 9 2)輸出端連接以進行信號合成之合成單元(93)。 以前述裝置仍由信號產生單元(9 〇 )同時產生兩組 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) .. 訂---------線I {請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 432SC1 A7 __— B7 五、發明說明(>) 分別為_Hz和800Hz之不同頻率信號,又分經兩數位/ 類比轉換單元(91) (92)將數位形式之信號轉換為 類比形式’隨後再透過合成單元(9 3 )予以合成後再傳 送至線上。 以前述裝置雖可針對600Hz與800Hz等兩種不同頻率 之信號進行合成,惟分別存在電路構造稍嫌複雜之缺點, 由於電路構造未盡精簡,在體積上將無法有效縮小,製造 成本上亦無法有效降低。故以既有之信號合成裝置(方 式)顯然有待進一步檢討,並謀求解決之道β 因此,本發明主要目的在提供一種可有效簡化電路構 造降低製造成本之雙頻率或旋律合成方法, 為達成前述目的所採取的技術手段係令前述方法利用 脈寬調變方式對雙頻率或旋律信號進行合成,其包括有: 一將雙頻率或旋律信號分別進行脈寬調變以分別產生 方波信號之步驟; 一將兩種不同頻率方波信號予以儲存之步驟; 一交替讀出所儲存兩組方波信號而合成單一组方波信 號之步驟;其中: 前述P W Μ信號調制轉換步驟係由電腦執行適當程式 後所產生’故在硬體構造方面僅須利用儲存元件及切換元 件’藉此可有效簡化電路構造,並降低製造成本。 前述的方法可透過下列裝置予以執行,其包括有: 一儲存單元,用以儲存兩組經過電腦執行程式後所產 生兩組不同頻率之PWM方波信號; 4 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) ------文--------訂---------線-- (請先閱讀背面之注意事項再填寫本頁) ^32301The present invention relates to a method and device for synthesizing dual frequencies or melody by using pulse width modulation, especially a σ group of data sent by a computer to be artificial After saving, alternately read out to complete the signal synthesis: French general phone will send out when you press a key-a group of signals synthesized by 600Hz and 800Hz to the line, the 600Hz and its different frequency signals can be The following devices (methods) are used for synthesis: First, as shown in the fifth figure, it includes a signal generating unit (80) capable of generating two different frequency signals such as 600 Hz and 800 Hz, and simultaneously generates signals Unit (80): two sets of signal output terminals are connected to synthesize the unit (81), and a digital / analog conversion unit (82) is connected to the output of the synthesis unit (81). With the aforementioned device, the signal generating unit (80) simultaneously generates two sets of signals with different frequencies of 600HZ and 800Hz, and then synthesizes a set of signals containing two different frequencies through a synthesizing unit (81), and sends them to the digital / The analog conversion unit (82) converts the synthesized signal in digital form into an analog form, and then transmits it to the line. As shown in the sixth figure, it is another signal generating and synthesizing device, which includes a signal generating unit (90) capable of generating signals of two different frequencies, such as 600 Hz and 800 Hz, and two sets of signal generating units (9 0) 0) Two digital / analog conversion units (9 i) (9 2) connected to two sets of signal output terminals and one synthesis unit connected to two digital / analog conversion units (9 1) (9 2) output terminals for signal synthesis (93). With the aforementioned device, the signal generating unit (90) simultaneously generates two sets of this paper. The size of the paper is applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm). Order --------- line I { Please read the notes on the back before filling out this page) Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 432SC1 A7 __— B7 V. Description of the invention (&); Signals with different frequencies of _Hz and 800Hz are divided into two The digital / analog conversion unit (91) (92) converts the digital signal into an analog form, and then synthesizes the signal through the synthesizing unit (9 3) before transmitting it to the line. Although the aforementioned device can synthesize signals of two different frequencies, such as 600Hz and 800Hz, there are disadvantages that the circuit structure is slightly complicated. Because the circuit structure is not concise, it will not be able to effectively reduce the size and the manufacturing cost. Effectively reduce. Therefore, it is obvious that the existing signal synthesis device (method) needs to be further reviewed and a solution is sought β. Therefore, the main purpose of the present invention is to provide a dual-frequency or melody synthesis method that can effectively simplify the circuit structure and reduce the manufacturing cost. The technical means adopted by the purpose is to make the aforementioned method synthesize dual frequency or melody signals by using pulse width modulation, which includes: a step of separately modulating the dual frequency or melody signals by pulse width modulation to generate square wave signals respectively A step of storing two square wave signals of different frequencies; a step of alternately reading out the stored two sets of square wave signals to synthesize a single set of square wave signals; wherein: the aforementioned PW M signal modulation conversion step is appropriately performed by a computer After the program, 'there is only a storage component and a switching component in the hardware structure', which can simplify the circuit structure and reduce the manufacturing cost. The aforementioned method can be executed by the following devices, which include: a storage unit for storing two sets of PWM square wave signals of two different frequencies generated by a computer executing a program; 4 This paper standard is applicable to the Chinese National Standard (CNS ) A4 size (210 X 297 mm) ------ text -------- order --------- line-(Please read the precautions on the back before filling this page ) ^ 32301

一切換單7G,用以交替讀出儲存單元之兩組方波信號 而予以合成者。 為使貴審查委員進一步瞭解前述目的及本發明之技 術特徵,茲附以圖式詳細說明如后 (一) 圖式部分: 第一圖:係本發明之系統方塊圖。 第二圖:係本發明之信號形式示意圖。 第三圖:係本發明一輸出方式示意圖。 第四圖:係本發明又一輸出方式示意圖。 第五圖:係一既有雙頻率或旋律合成裝置之構造示意圖。 第六圖:係又一雙頻率或旋律合成裝置之構造示意圖。 (二) 圖號部分: (1 0)儲存單元 (2 0 )切換單元 (3 0 )揚聲器 (4 0)低通濾波器 C80)信號產生單元 (82)合成單元 (8 1 )數位/類比轉換單元(9 0)信號產生單元 (9 1 ) ( 9 2 )數位/類比轉換單元 (9 3 )合成單元 有關本發明之信號合成方法係包括有下列步驟: 一將雙頻率或旋律信號分別進行脈寬調變(PWM) 以分別產生兩組方波信號之步騾; 一將兩種不同頻率方波信號予以儲存之步驟; 一交替讀出所儲存兩組方波信號而合成為單一組方波 信號之步驟;其中: 5 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) f靖先閱磧背面之注意事項再填寫本頁} -訂-------——線- 經濟部智慧財產局員工消費合作社印製 432SC1 經濟部智慧財產局員工消費合作社印製 A7 B7 五、發明說明(f) 前述調變步驟係在電腦或系統中由執行適當的程式所 產生’其將原為弦波之600Hz與800Hz信號轉換為pwm 方波信號;再以後續的儲存步驟將兩組方波信號暫予儲 存,隨後再交替的逐一讀出兩組方波信號之每一週期,而 構成一串合成的信號。 如第一圖所示,係一種可用以執行前述方法的硬體裝 置,其可供進一步說明本發明之信號合成方法,該裝置包 括有: 一分供儲存600 Hz和800 Hz等兩組不同頻率信號之儲 存單元(1 0 ); 一用以交替讀出儲存單元(1 0)之兩組方波信號而 予以合成之切換單元(20);其中: 該儲存單元(1 0)所儲存兩組不同頻率的信號係由 電腦或系統透過執行適當程式後所產生的PWM資料,儲存 單元(1 ◦)僅單純的儲存兩組PWM資料構成的信號。 而由電腦送出的PWM方波信號將由本發明之儲存單 元(2 0)所儲存,隨後由切換單元(2 0)交替讀出之 兩組方波信號的每一週期而產生一 _信號,隨即可完成合 成作業,就具體實施例說明(請參閱第二圖所示): 假設600Hz之方波信號依序為:OOllioii 假設800Hz之方波信號依序為: 則經切換單元(2 0 )以交替方式逐一週期讀出兩組 方波信號,該串信號内容即為0,層1蜃1_1|〇屬丨斷墨。 而前述切換單元(2 0 )送出的信號可透過以下兩種 6 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) -II — —— —— — — — — —— ΓΛ ' — — — — — II 訂---------線! (請先閱讀背面之注意事項再填寫本頁) i323CiA switching order 7G is used to alternately read out two sets of square wave signals of the storage unit and synthesize them. In order to make your reviewing committee better understand the foregoing objectives and the technical features of the present invention, detailed drawings are attached as follows (a) Schematic part: The first diagram is a system block diagram of the present invention. The second figure is a schematic diagram of the signal form of the present invention. The third figure is a schematic diagram of an output mode of the present invention. The fourth figure is a schematic diagram of another output mode of the present invention. Fifth figure: It is a schematic diagram of the structure of an existing dual frequency or melody synthesizing device. Figure 6: Schematic diagram of another dual frequency or melody synthesizer. (2) Part of drawing number: (1 0) storage unit (2 0) switching unit (3 0) speaker (4 0) low-pass filter C80) signal generating unit (82) synthesis unit (8 1) digital / analog conversion Unit (9 0) signal generating unit (9 1) (9 2) digital / analog conversion unit (9 3) synthesizing unit The signal synthesizing method of the present invention includes the following steps: a dual frequency or melody signal is pulsed separately Step of wide modulation (PWM) to generate two sets of square wave signals separately; one step of storing two square wave signals of different frequencies; one reading the stored two sets of square wave signals alternately to form a single set of square waves Signal steps; of which: 5 This paper size applies to Chinese National Standard (CNS) A4 specification (210 X 297 mm) f Jing first read the notes on the back before filling out this page} -Order -------— —Line-Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 432SC1 Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs A7 B7 V. Description of the invention (f) The aforementioned modulation steps are generated by executing appropriate programs in a computer or system 'It will be a 600Hz and 800Hz signal of a sine wave Pwm signal is converted to a square wave; then the subsequent step of storing the two square-wave signal to the temporary storage, and then read one each of the two periodic square wave signal of another alternate, constitute a string of the combined signal. As shown in the first figure, it is a hardware device that can be used to perform the foregoing method, which can further explain the signal synthesis method of the present invention. The device includes: one point for storing two different frequencies such as 600 Hz and 800 Hz. A signal storage unit (10); a switching unit (20) for alternately reading and synthesizing two sets of square wave signals of the storage unit (10); wherein: the storage unit (1 0) stores two sets of The signals of different frequencies are the PWM data generated by the computer or the system after executing the appropriate program. The storage unit (1 ◦) simply stores the two sets of PWM data. The PWM square wave signal sent by the computer will be stored by the storage unit (20) of the present invention, and then each cycle of the two sets of square wave signals read out by the switching unit (20) will generate a _ signal, and then The synthesis operation can be completed, and the specific embodiment will be described (see the second figure): Assuming that the square wave signal at 600Hz is in order: OOllioii Assuming that the square wave signal at 800Hz is in order: Then the switching unit (2 0) The two groups of square wave signals are read out one by one in an alternating manner. The content of the string signal is 0, and the layer 1 蜃 1_1 | 〇 is a broken ink. The signal sent by the aforementioned switching unit (20) can be transmitted through the following two 6 paper sizes: Applicable to China National Standard (CNS) A4 (210 X 297 mm) -II — —— —— — — — — — ΓΛ '— — — — — II Order --------- line! (Please read the notes on the back before filling out this page) i323Ci

五、發明說明(j· 經濟部智慧財產局員工消費合作社印製 方式作輸出: 首先如第三圖所示,係以切換單元(20)之輸出端 直接與揚聲器(3〇)連接,而由切換單元(2〇)交替 讀出之混合PWM輸出信號直接推動揚聲器(3 〇 )播放信 號;此種作法成本較低,另由於部分揚聲器(3 〇 )頻率 響應較差’其適可去除混合ptfM輸出信號中之高頻雜訊, 而事實上高頻信號並無法為人類聽覺所無法接收,故高頻 雜《Κ基本上並不致對人耳形成干擾,因此前者雖以輸出信 號直接推動揚聲器(30),仍可维持一定的信號品質。 又如第四圖所示,係於切換單元(2 0)輸出端上連 接一低通濾波器(4 〇 ),利用低通濾波器(4 〇 )濾除 间頻雜訊部分’而可取得理想的信號品質。 由上述可知’本發明係先將電腦送出兩組不同頻率之 PWM方波信號儲存,再針對兩組方波信號之每一週期交 替的逐一讀出以合成為一組信號,以該等方式進行信號合 成調制,由於無須經過數位/類比信號之轉換過程,故在 電路構造上可予有效簡化,並可進一步縮小電路體積、降 低製造成本,由此可見,本發明已具備產業上可利用性與 顯著的進步性,並符合發明專利要件,爰依法提起申請。 (請先閱讀背面之注意事項再填寫本頁) ---------訂---------線一 -n I n n n n -V. Description of the invention (j · The output is printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economy for output: First, as shown in the third figure, the output terminal of the switching unit (20) is directly connected to the speaker (30), The mixed PWM output signal read out by the switching unit (20) alternately drives the speaker (30) to play the signal; this method has a lower cost, and due to the poor frequency response of some speakers (30), it can remove the mixed ptfM output The high-frequency noise in the signal, in fact, high-frequency signals can not be received by human hearing, so high-frequency noise "K basically does not cause interference with the human ear, so the former directly drives the speaker with the output signal (30 ), It can still maintain a certain signal quality. As shown in the fourth figure, a low-pass filter (4 0) is connected to the output of the switching unit (20), and the low-pass filter (4 0) is used for filtering. You can get the ideal signal quality by removing the inter-frequency noise part. From the above, it can be known that the present invention firstly saves two sets of PWM square wave signals with different frequencies sent from a computer, and then for each cycle of two sets of square wave signals Alternately read one by one to synthesize a group of signals, and perform signal synthesis modulation in these ways. Since there is no need to go through the digital / analog signal conversion process, the circuit structure can be effectively simplified, and the circuit volume can be further reduced, and It can be seen from the manufacturing cost that the present invention has industrial availability and significant progress, and meets the requirements of the invention patent, and filed an application according to law. (Please read the precautions on the back before filling out this page) ---- ----- Order --------- line one -n I nnnn-

Claims (1)

4328C1 年 〇 80^58 AKaD 正充修補 六、申請專利範圍 1.一種利用脈寬調變進行雙頻率或旋律合成之方 法,其包括有: 一將雙頻率或旋律信號分別進行脈寬調變以分別產生 方波信號之步驟; 一將兩種不同頻率方波信號予以儲存之步驟; 一交替讀出所儲存兩組方波信號而合成為單一方波信 號之步驟。 2如申叫專利範圍第1項所述利用脈寬調變進行雙 頻率或旋律合成之方法,該脈寬調變步驟係由電腦中執 行。 3如申%專利範圍第1項所述利用脈寬調變進行雙 =率或旋律合成之方法,該交替讀出步驟係料兩組方波 信號每一週期逐一的交替讀出。 4.一種利用脈寬調變進行雙頻率或旋律合成之裝 置’其包括有: 儲存單元,用以儲存兩組經過調變之方波信號; 一切換單,用以交替讀出儲存單元之兩組方波信號 而予以合成者。 5 ·如申請專利範圍第4項所述利用脈寬調變進行雙 頻率或旋律合成之裝置,該切換單元輸出端係直接連接揚 聲器’以直接推動揚聲器播放信號。 6 .如申請專利範圍第4項所述利用脈寬調變進行雙 頻率或旋律合成之裝置,該切換單元輸出端連接有一低通 濾波器’以濾除高頻雜訊。 _ 8 本紙張尺度適用中國@標準(CNS)A4規格(210 χ_297公釐) <請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 ^ ^1 ^1 ^1 ^1 ^1 ^1 —^1 一01 I I— n 1 i^r k— ^1· n IT n n n u I4328C1 〇80 ^ 58 AKaD Positive charge repair 6. Application scope 1. A method of using pulse width modulation to synthesize dual frequency or melody, which includes: a pulse width modulation of dual frequency or melody signal to separate A step of generating a square wave signal; a step of storing two square wave signals of different frequencies; a step of alternately reading out the stored two sets of square wave signals to synthesize a single square wave signal. 2 As described in item 1 of the scope of the patent application, the method of dual frequency or melody synthesis using pulse width modulation is performed by a computer. 3 As described in item 1 of the patent application, the method of double pulse rate or melody synthesis using pulse width modulation is used, and the alternating reading step is based on alternate reading of two sets of square wave signals one by one. 4. A device using pulse width modulation for dual frequency or melody synthesis, comprising: a storage unit for storing two sets of modulated square wave signals; a switching order for alternately reading two of the storage units Group square wave signals and synthesize them. 5 · As described in item 4 of the scope of the patent application, a device for dual frequency or melody synthesis using pulse width modulation, the output of the switching unit is directly connected to the speaker 'to directly push the speaker to play the signal. 6. As described in item 4 of the scope of the patent application, a device for dual frequency or melody synthesis using pulse width modulation, the output of the switching unit is connected with a low-pass filter 'to filter out high-frequency noise. _ 8 This paper size applies to China @Standard (CNS) A4 specification (210 χ_297 mm) < Please read the notes on the back before filling out this page) Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs ^ 1 ^ 1 ^ 1 ^ 1 ^ 1 ^ 1 — ^ 1 one 01 II— n 1 i ^ rk— ^ 1 · n IT nnnu I
TW88108977A 1999-05-31 1999-05-31 Method and apparatus for performing the combination of double-frequency or melody by using pulse width modulation TW432801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW88108977A TW432801B (en) 1999-05-31 1999-05-31 Method and apparatus for performing the combination of double-frequency or melody by using pulse width modulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW88108977A TW432801B (en) 1999-05-31 1999-05-31 Method and apparatus for performing the combination of double-frequency or melody by using pulse width modulation

Publications (1)

Publication Number Publication Date
TW432801B true TW432801B (en) 2001-05-01

Family

ID=21640917

Family Applications (1)

Application Number Title Priority Date Filing Date
TW88108977A TW432801B (en) 1999-05-31 1999-05-31 Method and apparatus for performing the combination of double-frequency or melody by using pulse width modulation

Country Status (1)

Country Link
TW (1) TW432801B (en)

Similar Documents

Publication Publication Date Title
CN101964190B (en) Method and device for restoring signal under speaker cut-off frequency to original sound
TW447193B (en) Signal processing device
CN107102683B (en) Point-by-point arbitrary waveform generator based on SOC and generation method
JP4025501B2 (en) Music generator
CN110830970A (en) Audio transmission method, device, equipment and storage medium between Bluetooth equipment
JP2001356788A (en) Device and method for frequency interpolation and recording medium
CN104217709A (en) Electronic organ with keys freely combinable and method for realizing free combination
CN105321526A (en) Audio processing method and electronic device
DE112021005545T5 (en) NODE DETECTION AND CONFIGURATION IN A DAISY CHAIN NETWORK
TW432801B (en) Method and apparatus for performing the combination of double-frequency or melody by using pulse width modulation
CN105142069B (en) The drive system and its power amplifier of Multifunctional sound-production device
CN1118764C (en) Speech information processor
CN102411921A (en) Encoding and decoding device and execution and driving method thereof
CN205453897U (en) Dual signal mixer circuit
TW201033894A (en) Data card for a computer system and related computer system
CN215581705U (en) Electrodeless adjustable working frequency microphone decoder
TWI313567B (en) Arual signal processing device
TW455827B (en) Digital enunciator, process and communication system employing same
CN111263003B (en) Signal control method, device, circuit, storage medium and electronic equipment
TW402850B (en) Method of decreasing the number of input/output pins of non-synchronous receiver/transmitter
CN202738088U (en) Double-magnetic-circuit vibration conducting sounder
JPH0654121A (en) Data transfer device for high-density thermal recording head
JP2001189867A5 (en)
CN118283014A (en) Audio stream transmission method and device
TW200935397A (en) Digital electronic wind instrument

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent