Voice control system and method thereof
Abstract
The present invention discloses voice control system employed in a electronic device. A microphone connected to the electronic device is used to collect voice command. The voice control system includes a voice chip, a micro-controller, and a motherboard. The voice chip is used to receive the voice command and compare the voice command and a determined voice signals. If the voice command is consistent with the determined voice signals, the voice chip can send a interrupt signal to the micro-controller. The micro- controller is used to send a control signal to the motherboard when receives the interrupt signal. The motherboard is used to execute a corresponding command according the control signal.
Term
No projected expiry on record.
- Priority
- Filed
- Published
- Today
10 claims: 10 independent, 0 dependent
- 1一種語音控制系統,應用於電子設備,該電子設備外接麥克風,用於採集用戶的語音命令,其改良在於:該語音控制系統包括語音晶片、微控制器及主板,該語音晶片與麥克風和微處理器電性連接,語音晶片在上電時用於接收用戶的語音命令並將該語音命令與預存的語音訊號相比對,若該語音命令與預存的語音訊號一致,語音晶片向微控制器發送中斷訊號,微控制器與主板電性連接,以在接收到所述中斷訊號後向主板發送對應的控制訊號,主板依據所述控制訊號執行對應的命令。
- 2如申請專利範圍第1項所述之語音控制系統,其中所述控制訊號為開機訊號,所述主板用於控制電子設備開機。
- 3如申請專利範圍第1項所述之語音控制系統,其中所述語音控制系統包括錄音軟體,該錄音軟體用於在啟動時向主板觸發請求命令,主板將該請求命令通過微控制器傳送至語音晶片,語音晶片回應該請求命令以進入錄音模式。
- 4如申請專利範圍第1項所述之語音控制系統,其中所述語音控制系統包括記憶體,所述記憶體與語音晶片電性連接,用於儲存通過麥克風預先錄入的語音訊號。
- 5如申請專利範圍第1項所述之語音控制系統,其中所述語音晶片包括時鐘引腳、資料引腳、中斷引腳及串列外設介面引腳,所述微控制器包括時鐘端子、資料端子、通用輸入輸出端子及控制訊號端子,所述語音晶片的時鐘引腳、資料引腳、中斷引腳分別與微控制器的時鐘端子、資料端子、通用輸入輸出端子電性連接,所述語音晶片的串列外設介面引腳與記憶體電性連接,所述微控制器的控制訊號端子與主板電性連接。
- 6如申請專利範圍第3項所述之語音控制系統,其中所述語音晶片用於在錄音階段向微控制器發送中斷訊號以通過微控制器控制錄音軟體進行兩次錄音操作提示。
- 7如申請專利範圍第6項所述之語音控制系統,其中所述語音晶片用於在錄音階段比對由麥克風兩次傳送的語音訊號,若所述兩次傳送的語音訊號一致,則保存該語音訊號。
- 8一種語音控制方法,應用於電子設備,其改良在於:該語音控制方法包括如下步驟: a:將語音訊號錄入電子設備; b:在電子設備上電狀態下,用戶發出語音命令,並通過電子設備偵測外部語音命令; c:電子設備比對語音命令與預存的語音訊號,若該語音命令與語音訊號一致,則執行步驟d,否則,返回步驟b; d:向電子設備的主板發送控制訊號; e:主板接收所述控制訊號,並執行對應的命令。
- 9如申請專利範圍第8項所述之語音控制方法,其中所述步驟a還包括如下子步驟: a1:啟動電子設備的一錄音軟體,錄音軟體向用戶觸發請求命令; a2:電子設備的一語音晶片從空閒模式切換至錄音模式,並控制錄音軟體向用戶提示執行第一次錄音操作; a3:用戶進行第一次錄音,電子設備保存語音訊號; a4:語音晶片控制錄音軟體向用戶提示執行第二次錄音操作; a5:用戶進行第二次錄音,電子設備保存語音訊號; a6:語音晶片比對兩次錄音,若一致,則提示錄音成功,若不一致,則提示錄音失敗。
- 10如申請專利範圍第8項所述之語音控制方法,其中所述控制訊號為開機訊號,所述主板用於控制電子設備開機。
Independent claims10
38 paragraphs, as filed
Voice control system and method
The invention relates to a voice control system, in particular to a voice control system and method applied to a personal computer (Personal Computer, PC).
Microsoft's new Windows 7 system has a voice recognition function, which can obtain voice through a microphone and convert the voice signal into a specific electrical signal through a specific program, thereby controlling the computer to work through the voice signal. However, the Windows 7 system can only recognize voices when the operating system is running normally. When the computer is turned off, the Windows 7 system cannot recognize voices. In this way, the computer's "turn on" action cannot be completed by voice control.
In view of the above situation, it is necessary to provide a voice control system that can control the booting of electronic devices through voice.
In addition, it is necessary to provide a voice control method.
A voice control system applied to electronic equipment. The electronic equipment is externally connected to a microphone for collecting user voice commands. The voice control system includes a voice chip, a microcontroller, and a main board. The voice chip is electrically connected to the microphone and the microprocessor When the voice chip is powered on, it is used to receive the users voice command and compare the voice command with the pre-stored voice signal. If the voice command is consistent with the pre-stored voice signal, the voice chip sends an interrupt signal to the microcontroller. The controller is electrically connected with the main board to send a corresponding control signal to the main board after receiving the interrupt signal, and the main board executes the corresponding command according to the control signal.
A voice control method applied to an electronic device. The voice control method includes the following steps: a: recording a voice signal into the electronic device; b: when the electronic device is powered on, the user issues a voice command, and the electronic device detects external voice Command; c: The electronic device compares the voice command with the pre-stored voice signal, if the voice command is consistent with the voice signal, go to step d, otherwise, go back to step b; d: send a control signal to the main board of the electronic device; e: main board Receive the control signal and execute the corresponding command.
The voice control system of the present invention uses the voice chip to recognize the user's voice, and then executes related commands through the microcontroller and the motherboard to further control the electronic equipment. When the electronic device is powered on but in a shutdown state, the voice control system can send a power-on signal to the main board through the microcontroller, so as to control the power-on of the electronic device through the main board.
Referring to FIG. 1, a preferred embodiment of the present invention provides a voice control system 100, which is applied to electronic devices such as computers. The voice control system 100 is used to perform power-on and power-off of electronic devices and various applications, such as surfing the Internet.
The voice control system 100 includes a recording software 10, a microphone 20, a motherboard 30, a microcontroller 40, a voice chip 50 and a memory 60. The recording software 10 is an application software or program installed in an electronic device, the microphone 20 is externally connected to the electronic device, and the motherboard 30, the microcontroller 40, the memory 60 and the voice chip 50 are arranged inside the electronic device. The microphone 20, the microcontroller 40 and the memory 60 are all electrically connected to the voice chip 50, and the main board 30 is electrically connected to the microcontroller 40.
The recording software 10 is used to provide an operation interface for the user when the operating system is running. The user can click on the recording software 10 through an input device such as a mouse or a keyboard to select whether recording is required. When the user selects recording, the recording software 10 triggers a request command to the main board 30.
The microphone 20 is used to collect the user's voice signal and transmit the voice signal to the voice chip 50.
The main board 30 is used to transmit the request command sent by the recording software 10 to the voice chip 50 through the microcontroller 40. At the same time, the main board 30 is used to start electronic equipment or execute other application programs of the system under the control of the microcontroller 40.
The microcontroller 40 is used to respond to the interrupt signal sent by the voice chip 50 and control the main board 30 or further control the recording software 10 according to the interrupt signal. Please refer to FIG. 2 in combination. The microcontroller 40 includes a clock terminal SCLK, a data terminal SDATA, a general-purpose input and output terminal GPIO, and control signal terminals LAD0, LAD1, LAD2, and LAD3. The clock terminal SCLK and the data terminal SDATA are electrically connected to the voice chip 50 for transmitting the recording request command to the voice chip 50. The universal input and output terminal GPIO is electrically connected to the voice chip 50 and is used to receive the interrupt signal sent by the voice chip 50. The control signal terminals LAD0, LAD1, LAD2, LAD3 are electrically connected to the main board 30 to establish communication with the main board 30. For example, in the recording stage, when the microcontroller 40 receives an interrupt signal sent by the voice chip 50, it sends a control command to the recording software 10 via the main board 30 to prompt the recording operation to be performed. In the voice recognition stage, when the microcontroller 40 receives the interrupt signal sent by the voice chip 50, it sends a control signal (such as the PWRBTN power-on signal required to power on the electronic device) to the main board 30 to control the main board 30 to execute related commands.
The voice chip 50 includes a clock pin CLK, a data pin DATA, an interrupt pin INT, and a serial peripheral interface (Serial Peripheral Interface). Interface, SPI) pins SPISCK, SPISI, SPICS, SPISO. The clock pin CLK, data pin DATA, and interrupt pin INT are electrically connected to the clock terminal SCLK, data terminal SDATA, and general-purpose input and output terminal GPIO of the microcontroller 40, respectively. The interrupt pin INT is used to trigger an interrupt signal . The serial peripheral interface pins SPISCK, SPISI, SPICS, and SPISO are electrically connected to the memory 60 to establish communication with the memory 60. In the recording stage, the voice chip 50 is used to respond to the recording request command to enter the recording mode, and the microcontroller 40 controls the recording software 10 to prompt for two recording operations. At the same time, the voice chip is used to compare the voice signal transmitted by the microphone 20 twice. If the two voice signals are consistent, the voice signal is stored in the memory 60, and an interrupt signal is sent to the microcontroller 40 to prompt the recording success. If the two voice signals are inconsistent, another interrupt signal is sent to the microcontroller 40 to indicate that the recording has failed. In the voice recognition stage, the voice chip 50 is used to compare the voice command retransmitted by the microphone 20 with the pre-stored voice signal, and send an interrupt signal to the microcontroller 40 according to the comparison result, so as to pass it as the microcontroller 40 The control board 30 executes a corresponding request, such as a power-on request.
The following describes the operation flow of the voice control system 100 with reference to FIGS. 3 and 4. In this embodiment, the control method of the voice control system 100 is described by the user requesting an electronic device to execute a power-on command. The voice control method includes the following steps :
Step S1: The user pre-records the voice signal (such as "turn on") into the electronic device through the recording software 10 and the microphone 20. This step includes the following sub-steps:
Sub-step S11: the user starts the recording software 10, and clicks on a similar function table such as "start recording" through the input device, and the recording software 10 triggers a request command to the main board 30;
Sub-step S12: the main board 30 transmits the request command to the voice chip 50 through the microcontroller 40;
Sub-step S13: The voice chip 50 receives the request command, switches from the idle mode to the recording mode, and triggers an interrupt signal to the microcontroller 40 to control the recording software 10 through the microcontroller 40 to prompt the user to perform the first recording operate;
Sub-step S14: the user performs the first recording (such as "turning on") through the microphone 20, and the voice signal enters the voice chip 50 and is stored in the memory 60;
Sub-step S15: the voice chip 50 triggers an interrupt signal to the microcontroller 40, so that the microcontroller controls the recording software 10 to prompt the user to perform the second recording operation;
Sub-step S16: The user performs a second recording through the microphone 20, and the recording content is consistent with the first recording content (such as "turning on"), and the voice signal of the second recording enters the voice chip 50 and is stored in the memory 60;
Sub-step S17: the voice chip 50 compares the two recordings, if they are consistent, perform sub-step S18, if they are not consistent, perform sub-step S19;
Sub-step S18: save the voice signal (such as "turn on") in the memory 60, and prompt the recording success through the recording software 10;
Sub-step S19: Prompt that the recording has failed, if it is necessary to re-record, return to sub-step S14, otherwise end the recording.
Step S2: When the user needs to perform the power-on operation through the voice recognition function after the electronic device is turned off (Note: Although the electronic device is turned off at this time, it still needs to be connected to the power supply, that is, the voice chip 50 is still in the power-on state), the voice chip 50 detects To measure the external voice, the user can record the voice command of "turn on" through the microphone 20;
Step S3: The voice chip 50 receives the voice command and compares it with the pre-stored voice signal. If the voice command is consistent with the pre-stored voice signal, execute step S4, otherwise return to step S2;
Step S4: The voice chip 50 sends an interrupt signal to the microcontroller 40 to control the microcontroller 40 to send a control signal (such as a PWRBTN power-on signal) to the main board 30;
Step S5: The main board 30 receives the control signal (such as the PWRBTN boot signal), and then executes the corresponding command (such as turning on the electronic device to wake up the operating system). In this way, the user can control the electronic device to turn on by voice.
It can be understood that after the electronic device is turned on, the user can further control the electronic device through the mainboard 30 of the voice control system 100 to realize functions such as Internet access, window switching, function list selection, and shutdown, as long as the functions are entered in the voice chip 50 in advance. The corresponding voice signal is sufficient.
The voice control system 100 of the present invention uses the voice chip 50 to recognize the user's voice, and then sends a PWRBTN start-up signal to the main board 30 through the microcontroller 40, so that the main board 30 executes the start-up command, thereby controlling the power-on of the electronic device in the shutdown state by voice . The voice chip 50 of the voice control system 100 has a voice recognition function, does not need to rely on a specific program, and the voice recognition accuracy rate is high.
To sum up, the present invention meets the requirements of an invention patent, and Yan filed a patent application in accordance with the law. However, the above are only the preferred embodiments of the present invention. For those who are familiar with the technique of the present invention, equivalent modifications or changes made in accordance with the spirit of the present invention should be covered by the following patent applications.
<p>100. . . Voice control system</p><p>10. . . Recording software</p><p>20. . . microphone</p><p>30. . . Motherboard</p><p>40. . . Microcontroller</p><p>SCLK. . . Clock terminal</p><p>SDATA. . . Data terminal</p><p>GPIO. . . General-purpose input and output terminals</p><p>LAD0, LAD1, LAD2, LAD3. . . Control signal terminal</p><p>50. . . Voice chip</p><p>CLK. . . Clock pin</p><p>DATA. . . Data pin</p><p>INT. . . Interrupt pin</p><p>SPISCK, SPISI, SPICS, SPISO. . . Serial peripheral interface pins</p><p>60. . . Memory</p>
Fig. 1 is a functional module diagram of a voice control system according to a preferred embodiment of the present invention;
Figure 2 is a partial circuit diagram of the voice control system shown in Figure 1;
Figure 3 is a flowchart of a voice control method according to a preferred embodiment of the present invention;
Fig. 4 is a flowchart of the voice entry steps of the voice control method of the preferred embodiment of the present invention.
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US9401141B2 | Cited by | United States of America | Applicant |
| TWI584270B | Cited by | Taiwan Province of China | Examiner |
| TWI553506B | Cited by | Taiwan Province of China | Examiner |
4 members in 3 offices
Priority claims2
| Document | Office | Kind | Date |
|---|---|---|---|
| 2011101352061 | China | – | |
| 201110135206 | China | A |
Members4
| Document | Office | Kind | |
|---|---|---|---|
| CN102800312A | China | A | |
| US2012303373A1 | United States of America | A1 | |
| TW201248495AThis record | Taiwan Province of China | A | |
| US8725515B2 | United States of America | B2 |
Numbers
- Publication
- 201248495
- Application
- 100118531
Titles4
- Chinese
- 語音控制系統及方法
- English
- VOICE CONTROL SYSTEM AND METHOD THEREOF
- Unlabeled
- 語音控制系統及方法
- Unlabeled
- Voice control system and method
Classification
- CPC, 2
- G06F3/167
- G10L15/26
- IPC, 2
- G06F3 16
- G10L15 22