Off-line voice recognition circuit, PCB and device

By designing an offline speech recognition circuit, including acquisition, preprocessing, recognition and instruction transmission modules, the problem of insufficient accuracy and sensitivity of the speech recognition system in the existing technology in the offline environment is solved, and higher recognition accuracy and accuracy are achieved. gaming experience.

CN221687213UActive Publication Date: 2024-09-10GUANGDONG TAKSTAR ELECTRONIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202322693449.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-10-08
Publication Date
2024-09-10
Estimated Expiration
2033-10-08

AI Technical Summary

Technical Problem

Existing speech recognition systems have poor accuracy and sensitivity in offline environments, which affects the gaming experience.

Method used

An offline speech recognition circuit including a collection module, preprocessing module, recognition module and command transmission module is designed. The voice data is processed and transmitted through the MCU chip and processing chip to realize offline control of voice commands. The Bluetooth module and The USB interface carries out command transmission, and an echo cancellation module is set in the recognition module to improve recognition accuracy.

Benefits of technology

It improves the accuracy and sensitivity of speech recognition in an offline environment, and enhances gamers' sense of immersion and experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221687213U
    Figure CN221687213U
Patent Text Reader

Abstract

The utility model relates to the technical field of voice recognition, in particular to an off-line voice recognition circuit, a PCB and a device. The system comprises an acquisition module used for acquiring a voice instruction of a user; the preprocessing module is used for preprocessing the voice acquired by the acquisition module; the recognition module comprises an MCU chip, and the MCU chip is used for converting the voice data transmitted by the preprocessing module into a text instruction; and the instruction transmission module comprises a processing chip, and the processing chip is used for transmitting the text instruction recognized by the recognition module to target equipment in an off-line manner, so that the target equipment is controlled by a voice instruction. In an offline environment, the method has higher accuracy and sensitivity, and the immersion and experience of players can be enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of speech recognition, and in particular to an offline speech recognition circuit, a PCB board and a device. Background Art

[0002] With the continuous development of artificial intelligence technology, voice recognition technology has also been widely used. Voice control devices can be used as intelligent game auxiliary devices, and can also replace input devices such as keyboards, buttons or mice through voice. Various operations such as moving, attacking, jumping, switching weapons, etc. can be performed through voice commands. It can also provide input solutions for places where it is inconvenient to use conventional input devices, and can make the execution efficiency more efficient through combinations and shortcuts, such as when the elderly cannot or are not convenient to use the keyboard, and a waterproof or dusty environment is required. It can not only achieve finger freedom and reduce game fatigue, but also enhance the player's sense of immersion and experience.

[0003] However, in the prior art, voice recognition devices generally require real-time network access. Without network access, some functions of the voice recognition device cannot be used, and the accuracy and sensitivity of voice recognition will be greatly reduced, resulting in a poor gaming experience. Utility Model Content

[0004] In order to solve the technical problem that the existing speech recognition system described in the background technology has poor accuracy and sensitivity in an offline environment, the present application provides an offline speech recognition circuit, a PCB board and a device.

[0005] In a first aspect, the present application provides an offline speech recognition circuit, comprising:

[0006] A collection module, used to collect user's voice commands;

[0007] A preprocessing module, used for preprocessing the speech collected by the collection module;

[0008] A recognition module, comprising an MCU chip, wherein the MCU chip is used to convert the voice data transmitted by the preprocessing module into text instructions; and

[0009] The instruction transmission module includes a processing chip, and the processing chip is used to transmit the text instruction recognized by the recognition module to the target device offline to realize voice instruction control of the target device.

[0010] In some preferred embodiments, the instruction transmission module is provided with a Bluetooth module and a USB interface.

[0011] In some preferred embodiments, the model of the processing chip is CH582M.

[0012] In some preferred embodiments, the acquisition module includes a microphone.

[0013] In some preferred embodiments, the preprocessing module includes a first resistor, a second resistor, a third resistor, a first capacitor and a second capacitor, the positive electrode of the microphone is connected to the first signal end of the MCU chip through the first capacitor, and the negative electrode is connected to the first signal end of the MCU chip through the second capacitor; the detection end of the MCU chip is connected to the positive electrode of the microphone through the first resistor; the second resistor is connected between the positive and negative electrodes of the microphone; one end of the third resistor is connected to the negative electrode of the microphone, and the other end is grounded.

[0014] In some preferred embodiments, the model of the MCU chip is a TW-ASR-PRO chip.

[0015] In some preferred embodiments, the circuit further includes an echo cancellation module, and the echo cancellation module is arranged between the recognition module and the acquisition device.

[0016] In some preferred embodiments, the echo cancellation module includes a third capacitor, a fourth resistor and a fifth resistor, and the third signal end of the MCU chip is connected to the positive electrode of the acquisition device through the third capacitor and the fourth resistor in sequence; one end of the fifth resistor is connected between the third capacitor and the fourth resistor, and the other end is grounded.

[0017] In a second aspect, the present application provides a PCB board comprising the offline speech recognition circuit as described in the first aspect.

[0018] In a third aspect, the present application provides an offline speech recognition device, comprising the offline speech recognition circuit as described in the first aspect, or the PCB board as described in the third aspect;

[0019] The beneficial effects of this application are:

[0020] 1. This application transmits instructions through the instruction transmission module to realize the offline function of voice recognition. The voice data is processed by the offline acquisition module, preprocessing module, and recognition module, and finally the voice instructions are transmitted to the target device through the instruction transmission module to control the target device. In an offline environment, this application has higher accuracy and sensitivity, which can enhance the immersion and experience of gamers. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A schematic diagram of the structure of an offline speech recognition circuit provided in an embodiment of the present application.

[0022] Figure 2 A circuit diagram of the acquisition module and preprocessing module provided in an embodiment of the present application.

[0023] Figure 3 A circuit diagram of the identification module provided in an embodiment of the present application.

[0024] Figure 4 A circuit diagram of the instruction transmission module provided in an embodiment of the present application.

[0025] Figure 5 A circuit diagram of an echo cancellation module provided in an embodiment of the present application.

[0026] Figure 6 A schematic diagram of the structure of an offline speech recognition device provided in an embodiment of the present application.

[0027] Wherein: 10-collection module, 11-microphone;

[0028] 20-preprocessing module, R1-first resistor, R2-second resistor, R3-third resistor, C1-first capacitor, C2-second capacitor;

[0029] 30-Identification module, U1-MCU chip

[0030] 40-command transmission module, U2-processing chip, 41-Bluetooth module, 42-USB interface;

[0031] 50-target device;

[0032] 60-echo cancellation module, C3-third capacitor, R4-fourth resistor, R5-fifth resistor;

[0033] a-offline speech recognition device, b-offline speech recognition circuit. DETAILED DESCRIPTION

[0034] The preferred embodiments of the present application are described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present application can be more easily understood by those skilled in the art, thereby making a clearer definition of the protection scope of the present application.

[0035] Please refer to the drawings, where the same component symbols represent the same components, and the principles of the present application are illustrated by implementing them in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments of the present application that are not described in detail herein.

[0036] The term "module" as used herein may be a software or hardware object executed on the computing system. The different components, modules, engines, and services described herein may be implementation objects on the computing system. The devices described herein may be implemented on hardware, all within the scope of protection of this application.

[0037] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0038] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or mutual communication; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0039] Embodiment 1

[0040] See also Figure 1 , Figure 1 The schematic diagram of the structure of an offline speech recognition circuit provided by an embodiment of the present application is shown. The circuit is used for speech recognition of a user's speech command and controls the action of a target device 50 according to the speech command. The circuit includes a collection module 10, a preprocessing module 20, a recognition module 30 and a command transmission module 40.

[0041] In this embodiment, the output end of the acquisition module 10 is connected to the input end of the preprocessing module 20. The output end of the preprocessing module 20 is connected to the input end of the identification module 30. The output end of the identification module 30 is connected to the input end of the instruction transmission module 40. The output end of the instruction transmission module 40 is data-connected to the external target device 50.

[0042] Among them, the acquisition module 10 is mainly used to collect the user's voice instructions. The preprocessing module 20 is mainly used to preprocess the voice collected by the acquisition module 10. The recognition module 30 includes an MCU chip U1, which is mainly used to establish an audio recognition model, and convert the voice signal transmitted by the preprocessing module 20 into a text instruction through model training to improve accuracy and recognition efficiency. The instruction transmission module 40 is mainly used to transmit the text instruction recognized by the recognition module 30 to the external target device 50 offline, so as to realize the output action instruction to control the external target device 50.

[0043] Through the above structural connection, the working principle of this application can be:

[0044] First, when the user speaks, the acquisition module 10 can convert the detected sound signal into an electrical signal, and the preprocessing module 20 performs filtering, amplification, noise reduction and other processing on the electrical signal to improve the quality of the voice signal.

[0045] The processed voice signal will be transmitted to the recognition module 30, which will digitize the voice electrical signal and convert it into a digital signal that can be understood by the computer. In addition, the recognition module 30 will also perform feature extraction on the voice signal, such as frequency, energy, speaking speed, etc. These features will be used for subsequent voice recognition.

[0046] Furthermore, the MCU chip U1 will match the voice digital signal with the pre-stored voice model according to its characteristics. The voice model is trained by a large number of voice samples, and it can recognize different voice units, such as phonemes, words, phrases, etc. When the voice signal successfully matches the voice model, the MCU chip U1 will decode and output the corresponding voice command or text information.

[0047] Finally, the instruction transmission module 40 obtains the voice instruction or text information transmitted by the MCU chip U1, and transmits the instruction to the target device 50 through the Bluetooth module 41 connection or the USB interface 42 communication. The target device 50 takes action upon receiving the instruction, completing the action of voice controlling the target device 50.

[0048] The recognition module 30 of the present application adopts an audio recognition model to learn more complex speech feature representations to capture subtle differences in speech signals, thereby improving recognition accuracy; at the same time, through training with large-scale data, it automatically learns feature representations in different speech environments, thereby having better adaptability and improving recognition effects in different noise environments.

[0049] Embodiment 2

[0050] Based on the previous embodiment, the difference of this embodiment is:

[0051] Please refer to Figure 2-4 , Figure 2 The circuit diagram of the acquisition module 10 and the pre-processing module 20 provided in the embodiment of the present application is shown.

[0052] Figure 3 A circuit diagram of the identification module 30 provided in an embodiment of the present application is shown.

[0053] Figure 4 A circuit diagram of the instruction transmission module 40 provided in an embodiment of the present application is shown.

[0054] The acquisition module 10 of this embodiment can be configured as a microphone 11 .

[0055] In this embodiment, the preprocessing module 20 includes a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1, and a second capacitor C2. The positive electrode of the microphone 11 is connected to the first signal terminal U1_MICP L of the MCU chip U1 through the first capacitor C1, and the negative electrode is connected to the second signal terminal U1_MICN L of the MCU chip U1 through the second capacitor C2. The detection terminal U1_MICBIAS of the MCU chip U1 is connected to the positive electrode of the microphone 11 through the first resistor R1. The second resistor R2 is connected between the positive and negative electrodes of the microphone 11; one end of the third resistor R3 is connected to the negative electrode of the microphone 11, and the other end is grounded. The first resistor R1, the second resistor R2, the third resistor R3, the first capacitor C1, and the second capacitor C2 work together to filter, amplify, reduce noise, and other processes on the electrical signal.

[0056] In this embodiment, the MCU chip U1 may be a TW-ASR-PRO chip. The identification module 30 is provided with a plurality of capacitors and resistors connected to the MCU chip U1. Figure 3 Multiple capacitors can be set up to filter, isolate, and couple, stabilize the circuit operation and reduce noise interference. Resistors can limit the flow of current at the U1 pin of the MCU chip, adjust the impedance and voltage divider ratio of the circuit, and provide circuit protection.

[0057] In this embodiment, the instruction transmission module 40 includes a processing chip U2, a Bluetooth module 41 and a USB interface 42. The signal receiving terminal group U2_UAPT1 RX and U2_UAPT1 TX of the processing chip U2 are data connected to the signal output terminal group U1_UAPT0RX and U1_UAPT0 TX of the identification module 30, the first signal output terminal U2_34 is connected to the Bluetooth module 41, and the second signal output terminals U2_14 and U2_13 are connected to the USB interface 42. The processing chip U2 is mainly connected to the target device 50 through the Bluetooth module 41 or the USB interface 42, and the corresponding control commands can be sent through the Bluetooth or USB protocol to realize the remote control of the device.

[0058] In this embodiment, the USB interface 42 may also be replaced by other serial ports having communication functions.

[0059] In this embodiment, the model of the processing chip U2 is a chip of the CH582M series.

[0060] Please refer to Figure 5 , Figure 5 A circuit diagram of the echo cancellation module 60 provided in an embodiment of the present application is shown.

[0061] In some preferred embodiments, the circuit may further include an echo cancellation module 60. The echo cancellation module 60 is mainly used to identify and suppress echo signals so that the MCU chip U1 can receive and transmit voice signals more clearly. The echo cancellation module 60 includes a third capacitor C3, a fourth resistor R4 and a fifth resistor R5. The third signal terminal U1_MICP_R of the MCU chip U1 is connected to the positive electrode SPKL+ of the external speaker through the third capacitor C3 and the fourth resistor R4 in turn. One end of the fifth resistor R5 is connected between the third capacitor C3 and the fourth resistor R4, and the other end is grounded.

[0062] Through the above structural connection, the working of the embodiment of the present application can be:

[0063] First, when the user speaks, the microphone 11 can convert the detected sound signal into an electrical signal, and the preprocessing module 20 performs filtering, amplification, noise reduction and other processing on the electrical signal to improve the quality of the voice signal.

[0064] The processed voice signal will be transmitted to the MCU chip U1, which will digitize the voice electrical signal and convert it into a digital signal that the computer can understand. In addition, the MCU chip U1 will also perform feature extraction on the voice signal, extracting the frequency, energy, speaking speed and other features of the voice signal. These features will be used for subsequent voice recognition.

[0065] Furthermore, the MCU chip U1 will match the voice digital signal with the pre-stored voice model according to its characteristics. The voice model is trained by a large number of voice samples, and it can recognize different voice units, such as phonemes, words, phrases, etc. When the voice signal successfully matches the voice model, the MCU chip U1 will decode and output the corresponding voice command or text information.

[0066] Finally, the processing chip U2 obtains the voice command or text information transmitted by the MCU chip U1, and transmits the command to the target device 50 through Bluetooth connection or USB interface 42 communication. The target device 50 takes action upon receiving the command, completing the action of voice controlling the target device 50.

[0067] Embodiment 3

[0068] The present application provides a PCB board, which includes the offline speech recognition circuit described in Embodiment 1 or Embodiment 2.

[0069] Embodiment 4

[0070] like Figure 6 As shown, Figure 6 A schematic diagram of the structure of an offline speech recognition device provided in an embodiment of the present application.

[0071] The present application provides an offline speech recognition device a, which includes the offline speech recognition circuit b as described in the first or second embodiment, or includes the PCB board as described in the third embodiment.

[0072] The implementation modes of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in the field without departing from the purpose of the present application.

Claims

1. An off-line speech recognition circuit, characterized in that: include: A collection module (10) is used to collect voice commands of a user; the collection module (10) comprises a microphone (11); A preprocessing module (20), used for preprocessing the speech collected by the collection module (10); A recognition module (30), comprising an MCU chip U1, wherein the MCU chip U1 is used to convert the voice data transmitted by the pre-processing module (20) into text instructions; and An instruction transmission module (40) comprises a processing chip U2, wherein the processing chip U2 is used to transmit the text instruction recognized by the recognition module (30) to the target device (50) offline, so as to control the target device (50) by voice instruction; The preprocessing module (20) comprises a first resistor R1, a second resistor R2, a third resistor R3, a first capacitor C1 and a second capacitor C2; the positive electrode of the microphone (11) is connected to the first signal terminal U1_MICPL of the MCU chip U1 through the first capacitor C1, and the negative electrode is connected to the second signal terminal U1_MICNPL of the MCU chip U1 through the second capacitor C2; the detection terminal U1_MICBIAS of the MCU chip U1 is connected to the positive electrode of the microphone (11) through the first resistor R1; the second resistor R2 is connected between the positive electrode and the negative electrode of the microphone (11); one end of the third resistor R3 is connected to the negative electrode of the microphone (11), and the other end is grounded; The circuit further comprises an echo cancellation module (60), wherein the echo cancellation module (60) is arranged between the recognition module (30) and the external speaker; The echo cancellation module (60) comprises a third capacitor C3, a fourth resistor R4 and a fifth resistor R5; the third signal terminal U1_MICP_R of the MCU chip U1 is connected to the positive electrode of the external speaker via the third capacitor C3 and the fourth resistor R4 in sequence; one end of the fifth resistor R5 is connected between the third capacitor C3 and the fourth resistor R4, and the other end is grounded.

2. The off-line speech recognition circuit according to claim 1, characterized in that: The instruction transmission module (40) is provided with a Bluetooth module (41) and a USB interface (42).

3. The off-line speech recognition circuit according to claim 2, characterized in that: The model of the processing chip U2 is CH582M.

4. The off-line speech recognition circuit according to claim 1, characterized in that: The model of the MCU chip U1 is TW-ASR-PRO chip.

5. A PCB board, characterized in that: It comprises the off-line speech recognition circuit as claimed in any one of claims 1 to 4.

6. An off-line speech recognition device, characterized in that: It comprises the off-line speech recognition circuit as described in any one of claims 1 to 4, or the PCB board as described in claim 5.