Control circuit of chat robot

By designing a chat robot control circuit that includes master control, communication, voice recognition and voice synthesis circuit, using specific chips to realize cloud processing of voice information, the problem that existing chat robot systems cannot realize natural language dialogue is solved, simplifying the design and improving the Convenient and stability of use.

CN221994125UInactive Publication Date: 2024-11-12ZHEJIANG SCI-TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202322446950.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-09-11
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing chatbot system cannot realize natural language dialogue chat, and the dialogue system is complex in design and inconvenient to use.

Method used

A chat robot control circuit including main control circuit, communication module, voice recognition circuit and voice synthesis circuit was designed. The STM32f407 microcontroller, ASR-pro speech recognition chip, ESP32 chip and voice synthesis chip were used to recognize and synthesize voice recognition and synthesis. Implement dialogue function.

Benefits of technology

It realizes cloud processing and playback of voice information, simplifies the design of the chat robot system, and provides a natural language dialogue and chat effect that is convenient, stable and reliable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221994125U_ABST
    Figure CN221994125U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of voice recognition, and discloses a control circuit of a chat robot, which comprises a main control circuit, a communication module, a power supply voltage reduction circuit, a voice synthesis circuit and a voice recognition circuit, the voice recognition circuit is connected with the main control circuit and is used for recording voice information and sending the voice information to the main control circuit; the communication module is connected with the main control circuit and is used for communication between the main control circuit and an external network; the voice synthesis circuit is connected with the main control circuit and is used for receiving the TTS text from the main control circuit, converting the TTS text into voice information and playing the voice information; the power supply step-down circuit is used for providing 5V output. Through the circuit of the utility model, input voice information can be sent to the language recognition API of the cloud, is firstly converted into txt text information, and then is sent to the natural language processing model to obtain a feedback result and play the feedback result, thereby realizing dialogue and chat effects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of speech recognition, and in particular relates to a control circuit of a chat robot. Background Art

[0002] A chatbot is a tool for conducting real-time or near-real-time conversations via text or text-to-speech. Chatbots are typically used in conversational systems or contact centers to provide customer service, request routing, and / or information collection. The benefit of using a chatbot is that more expensive human agents can be reserved for less common customer interactions. Previous language model conversations were mainly based on text input, and there were many restrictions on the content, scope, and form of the questions that could be answered. For example, products such as Tmall Genie could not achieve the effect of natural language conversational chat. In recent years, the technology of language conversation models has made rapid progress. The advancement of models such as ChatGPT has brought many conveniences to life and can fully realize natural language conversations. Utility Model Content

[0003] The technical problem to be solved by the utility model is to provide a control circuit of a chat robot which is easy to use and simple in design.

[0004] In order to solve the above technical problems, the utility model provides a control circuit of a chat robot, including: a main control circuit, a communication module, a power supply step-down circuit, a speech synthesis circuit and a speech recognition circuit;

[0005] The speech recognition circuit is connected to the main control circuit to collect voice information and send it to the main control circuit; the communication module is connected to the main control circuit to communicate with the external network; the speech synthesis circuit is connected to the main control circuit to receive TTS text from the main control circuit and convert it into voice information and play it; the power supply step-down circuit is used to provide 5V output and is connected to the main control circuit, communication module, speech synthesis circuit and speech recognition circuit respectively.

[0006] As an improvement of the control circuit of a chat robot of the utility model:

[0007] The main control circuit includes an STM32f407 microcontroller, the speech recognition circuit includes an ASR-pro speech recognition chip U8, the communication module includes an ESP32 chip U14, and the speech synthesis circuit includes a speech synthesis chip U13;

[0008] Pin PA2 of the STM32f407 microcontroller is connected to pin IO19 of the ESP32 chip U14, and pin PA3 of the STM32f407 microcontroller is connected to pin IO18 of the ESP32 chip U14; pin PC6 of the STM32f407 microcontroller is connected to pin PA5 of the ASR-pro speech recognition chip U8, and pin PC7 of the STM32f407 microcontroller is connected to pin PA6 of the ASR-pro speech recognition chip U8; pin PD8 of the STM32f407 microcontroller is connected to pin 3 of the speech synthesis chip U13, and pin PD9 of the STM32f407 microcontroller is connected to pin 2 of the speech synthesis chip U13.

[0009] As a further improvement of the control circuit of a chat robot of the utility model:

[0010] The pin 3.3V of the STM32f407 microcontroller is connected to GND after passing through the capacitor C1, the pin 3.3V is connected to the anode pin 1 end of the Schottky diode Q1, the anode pin 2 of the Schottky diode Q1 is connected to GND after passing through the RTC battery B1, and the common cathode pin 3 of the Schottky diode Q1 is connected to the capacitor C7 and then connected to GND;

[0011] A crystal oscillator U4 with a frequency of 32.768K is connected in series between the pins PD14 and PD15 of the STM32f407 microcontroller. At the same time, the common end connected to the pin PD14 and the crystal oscillator U4 is grounded after passing through a capacitor C8, and the common end connected to the pin PD15 and the crystal oscillator U4 is grounded after passing through a capacitor C9.

[0012] As a further improvement of the control circuit of a chat robot of the utility model:

[0013] The speech recognition circuit also includes a chip USB1 and a USB to serial port chip U12; the pin CC2 of the chip USB1 is connected to the pin UD+ of the USB to serial port chip U12, the pin CC1 is connected to the pin UD- of the USB to serial port chip U12, and the pin VBUS is connected to the pin VCC of the USB to serial port chip U12;

[0014] The RXD pin of the USB-to-serial port chip U12 is connected to the PB6 pin of the ASR-pro voice recognition chip U8, and the 8 pin is connected to the PB5 pin of the ASR-pro voice recognition chip U8; the GND pin and the EP pin of the USB-to-serial port chip U12 are both connected to GND, and the V3 pin is connected in series with the capacitor C17 and then connected to GND;

[0015] The pin DTR of the USB-to-serial port chip U12 is connected to the emitter of the transistor Q3, the pin RTS of the USB-to-serial port chip U12 is connected to the base of the transistor Q3 through the resistor R9, the collector of the transistor Q3 is connected in series with the resistor R8 and the resistor R7 and then connected to GND, at the same time, one end of the collector of the transistor Q3 is connected to the gate of the MOS tube Q2 after passing through the resistor R8, and the source of the MOS tube Q2 is simultaneously connected to the 5V output of the power supply step-down circuit and the pin VBUS of the chip USB1; the drain of the MOS tube Q2 is connected to GND after being connected in series with the resistor R6, and at the same time, the common end connected to the drain of the MOS tube Q2 and R6 is connected to the pin VIN5V of the ASR-pro voice recognition chip U8 through the resistor R1;

[0016] The MICBIAS pin of the ASR-pro speech recognition chip U8 is connected in series with capacitor C13 and then connected to GND, the MICNR pin is connected in series with capacitor C16 and then connected to GND, the MICBIAS pin of the ASR-pro speech recognition chip U8 is connected to pin 1 of the microphone U15 through resistor R5, and at the same time, the MICPL pin is connected to pin 1 of the microphone U15 through capacitor C19; the MICNL pin is connected to pin 2 of the microphone U15 through capacitor C20; a resistor R4 is connected in parallel between pins 1 and 2 of the microphone U15, and pin 2 of the microphone U15 is connected to GND through resistor R10;

[0017] The AVDD pin of the ASR-pro speech recognition chip U8 is connected to GND through capacitor C10, the VIN5V pin is connected to GND through capacitor C11, the VDD33 pin is connected to GND through capacitor C14, the VDD11 pin is connected to GND through capacitor C15, the PA4 pin is connected to GND after passing through resistor R11, and the VCM pin is connected to GND after passing through capacitor C12.

[0018] As a further improvement of the control circuit of a chat robot of the utility model:

[0019] The power supply buck circuit includes a buck chip U5 and a 3s aircraft model battery, wherein the positive electrode and the negative electrode of the 3s aircraft model battery are respectively connected to the pin VIN and the pin GND of the buck chip U5, and an electrolytic capacitor U6 is connected in parallel between the positive electrode and the negative electrode of the 3s aircraft model battery and the pin VIN and the pin GND of the buck chip U5; the pin OUTPUT of the buck chip U5 is connected to the inductor L2 and then to the pin 1 of the terminal P2, and the pin ON is connected to GND; the pin Feedback and the pin TAB of the buck chip U5 are both connected to the pin 1 of the terminal P2, and the common end of the pin TAB connected to the inductor L2 is connected to the electrolytic capacitor U7 and then to GND;

[0020] The pin GND of the STM32f407 microcontroller, the pin GND of the ESP32 chip U14, the pin GND of the ASR-pro speech recognition chip U8 and the pin GND of the speech synthesis chip U13 are all connected to the pin 2 of the terminal P2 for common ground processing; the pin 5V of the STM32f407 microcontroller, the pin VDD of the ESP32 chip U14, the source of the MOS tube Q2 and the pin VDD of the speech synthesis chip U13 are all connected to the pin 1 of the terminal P2,

[0021] As a further improvement of the control circuit of a chat robot of the utility model:

[0022] The pin 7 of the speech synthesis chip U13 is connected to the positive electrode of the speaker U11, and the pin 6 of the speech synthesis chip U13 is connected to the negative electrode of the U11 speaker.

[0023] As a further improvement of the control circuit of a chat robot of the utility model:

[0024] Pin PA15 of the STM32f407 microcontroller is connected to GND after connecting the dip switch SW2.

[0025] As a further improvement of the control circuit of a chat robot of the utility model:

[0026] The model of the step-down chip U5 is LM2596HVS-12, the model of the ASR-pro speech recognition chip U8 is TW-ASR-Pro, the model of the ESP32 chip U14 is ESP32-WROOM-32U-H4, and the model of the speech synthesis chip U13 is SYN6288.

[0027] The beneficial effects of the utility model are mainly reflected in:

[0028] Through the circuit of the utility model, the input voice information is sent to the language model in the cloud to obtain feedback results and play them, thereby achieving the effect of dialogue and chat; the control circuit of the utility model is simple, and only includes a voice recognition circuit, a communication module, a main control circuit and a voice synthesis circuit to achieve the predetermined function, and is easy to use and has stable and reliable technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The specific implementation of the utility model is further described in detail below with reference to the accompanying drawings.

[0030] Figure 1 This is a schematic diagram of the working process of a chat robot of the utility model;

[0031] Figure 2 A schematic diagram of a connection circuit of an STM32f407 microcontroller of the present utility model;

[0032] Figure 3 It is a schematic diagram of a power supply step-down circuit of the utility model;

[0033] Figure 4 It is a schematic diagram of the voice recognition circuit of the utility model. DETAILED DESCRIPTION

[0034] The present invention is further described below in conjunction with specific embodiments, but the protection scope of the present invention is not limited thereto:

[0035] Embodiment 1: A chat robot, including a speech recognition circuit, a communication module, a main control circuit, a power step-down circuit, and a speech synthesis circuit. In this embodiment, the speech recognition circuit mainly includes an ASR-pro speech recognition chip U8 and a peripheral microphone circuit, a power-on startup circuit, a USB-to-serial port circuit, and a TYPE-C power supply circuit. The model of the ASR-pro speech recognition chip U8 is TW-ASR-Pro, with a built-in brain neural network processor, supporting neural networks such as DNN, TDNN, and RNN, and convolution operation hardware operations, and supporting speech recognition, voiceprint recognition, and other functions; the communication module is an ESP32 chip U14, and the model of the ESP32 chip U14 is Espressif's ESP32-WROOM-32U-H4, including The MCU module of Wi-Fi and Bluetooth BT+BLE can be used for low-power sensor network tasks; the main control circuit includes the STM32f407 microcontroller and peripheral battery power supply circuit, crystal oscillator circuit and key circuit; the speech synthesis circuit mainly includes the speech synthesis chip U13 and the speaker U11. The speech synthesis chip U13 model is SYN6288, which is used to realize the TTS text-to-speech function; the power supply step-down circuit includes the step-down chip U5 and the 3s model aircraft battery. The step-down chip U5 model is LM2596HVS-12, which is used to step down the 12V input of the 3s model aircraft battery into 5V output.

[0036] The connection circuit between STM32f407 microcontroller and each module is as follows Figure 2As shown, the pins PA2 and PA3 of the STM32f407 microcontroller are respectively connected to the data lines RX and TX of the ESP32 chip U14, wherein the pin PA2 of the STM32f407 microcontroller is connected to the pin IO19 of the ESP32 chip U14, and the pin PA3 of the STM32f407 microcontroller is connected to the pin IO18 of the ESP32 chip U14, for serial port data communication between the STM32f407 microcontroller and the ESP32 chip U14. Pins PC6 and PC7 of the STM32f407 microcontroller are respectively connected to the data lines RX and TX of the USART of the ASR-pro speech recognition chip U8, wherein pin PC6 of the STM32f407 microcontroller is connected to pin PA5 of the ASR-pro speech recognition chip U8, and pin PC7 of the STM32f407 microcontroller is connected to pin PA6 of the ASR-pro speech recognition chip U8, for serial port data communication between the STM32f407 microcontroller and the ASR-pro speech recognition chip U8. Pin PD8 and pin PD9 of the STM32f407 microcontroller are respectively connected to the data lines RX and TX of the USART of the speech synthesis chip U13, wherein the pin PD8 of the STM32f407 microcontroller is connected to the pin 3 of the speech synthesis chip U13, and the pin PD9 of the STM32f407 microcontroller is connected to the pin 2 of the speech synthesis chip U13, for serial port data communication between the STM32f407 microcontroller and the speech synthesis chip U13.

[0037] Pin 7 of the speech synthesis chip U13 is connected to the positive electrode of the speaker U11, and pin 6 of the speech synthesis chip U13 is connected to the negative electrode of the speaker U11 for playing the speech information through the speaker.

[0038] The pin 3.3V (pin numbered 43) of the STM32f407 microcontroller is connected to GND after passing through capacitor C1, and is used as a filter circuit to filter out the clutter and AC components of the power supply. At the same time, the pin 3.3V of the STM32f407 microcontroller is connected to the battery power supply circuit, specifically: the pin 3.3V of the STM32f407 microcontroller is connected to the anode pin 1 end of the Schottky diode Q1, the anode pin 2 of the Schottky diode Q1 is connected to the GND ground after passing through the RTC battery B1, and the common cathode pin 3 of the Schottky diode Q1 is connected to the capacitor C7 and then connected to the GND ground, thereby forming a battery power supply circuit to provide continuous power supply for the STM32f407 microcontroller. The model of the Schottky diode Q1 is BAT54C.

[0039] The crystal oscillator U4 with a frequency of 32.768K is connected in series between the pins PD14 and PD15 of the STM32f407 microcontroller. At the same time, the common end of the pin PD14 and the crystal oscillator U4 is connected to ground through capacitor C8, and the common end of the pin PD15 and the crystal oscillator U4 is connected to ground through capacitor C9 to form a crystal oscillator circuit to provide a system clock for the chip. The pin PA15 of the STM32f407 microcontroller is connected to the dip switch SW2 and then connected to GND to form a key circuit.

[0040] Speech recognition circuits such as Figure 4 As shown, the pin AVDD of the ASR-pro speech recognition chip U8 is connected to GND through capacitor C10, and the pin VIN5V is connected to GND through capacitor C11. At the same time, the common end of the pin VIN5V connected to capacitor C11 is connected to the VCC output of the startup circuit through resistor R1 as the input of the working power supply of the ASR-pro speech recognition chip U8. The pin VDD33 of the ASR-pro speech recognition chip U8 is connected in series with capacitor C14 and GND, the pin VDD11 is connected in series with capacitor C15 and GND, the pin PA4 is connected in series with resistor R11 and then connected to GND, and the pin VCM is connected in series with capacitor C12 and then connected to GND.

[0041] The TYPE-C power supply circuit is used to provide an additional external 5V power input for the ASR-pro voice recognition chip U8, and at the same time, the ASR-pro voice recognition chip U8 is burned through the USB to serial port circuit. The TYPE-C power supply circuit includes a chip USB1 using Type-c, and the model of the USB to serial port chip U12 is CH340K. Specifically: the GND pin of the chip USB1 is connected to GND, and the VBUS pin of the chip USB1 is used as the 5V input of the startup circuit and the USB to serial port chip U12. Pin CC2 of chip USB1 is connected to pin UD+ of USB to serial port chip U12, pin CC1 of chip USB1 is connected to pin UD- of USB to serial port chip U12, pin RXD of USB to serial port chip U12 is connected to pin PB6 of ASR-pro speech recognition chip U8, and pin 8 of USB to serial port chip U12 is connected to pin PB5 of ASR-pro speech recognition chip U8, as the data channel for burning ASR-pro speech recognition chip U8.

[0042] The GND and EP pins of the USB-to-serial port chip U12 are both connected to GND, the V3 pin is connected in series with capacitor C17 and then connected to GND, and the VCC pin of the USB-to-serial port chip U12 is connected to the VBUS pin of the chip USB1.

[0043] The pins DTR and RTS of the USB-to-serial port chip U12 are connected to the power-on startup circuit. Their function is to turn on the transistor Q3 after the burning is completed, control the pin RTS of the ASR-pro voice recognition chip U8, and restart the chip. Specifically, the pin DTR of the USB-to-serial port chip U12 is connected to the emitter of the transistor Q3, the pin RTS of the USB-to-serial port chip U12 is connected to the base of the transistor Q3 after passing through the resistor R9, and the collector of the transistor Q3 is connected to GND after being connected in series with the resistors R8 and R7. At the same time, one end of the collector of the transistor Q3 is connected to the gate of the MOS tube Q2 after passing through the resistor R8, and the source of the MOS tube Q2 is the 5V input end, and is connected to the 5V output of the power step-down circuit and the pin VBUS of the chip USB1 as the power input of the power-on startup circuit. When Type-C is used for power supply, the MOS tube Q2 inputs 5V from the chip USB1, and when a 3s aircraft model battery is used for power supply, the MOS tube Q2 inputs 5V from the power step-down circuit. The drain of the MOS tube Q2 is connected in series with the resistor R6 and then connected to GND. The common end connected to the drain of the MOS tube Q2 and R6 is used as the VCC output of the startup circuit and is connected to the ASR-pro voice recognition chip U8 through the resistor R1.

[0044] The MICBIAS, MICPL and MICNL pins of the ASR-pro speech recognition chip U8 are connected to the microphone circuit, specifically: the MICBIAS pin is connected in series with capacitor C13 and then connected to GND, the MICNR pin is connected in series with capacitor C16 and then connected to GND to filter the AC component of the signal, and the MICBIAS pin is connected to pin 1 of the microphone U15 through resistor R5.

[0045] The pin MICPL of the ASR-pro speech recognition chip U8 is connected to the pin 1 of the microphone U15 through the capacitor C19, and the pin MICNL of the ASR-pro speech recognition chip U8 is connected to the pin 2 of the microphone U15 through the capacitor C20. A resistor R4 is connected in parallel between the pins 1 and 2 of the microphone U15, and the pin 2 of the microphone U15 is connected to GND through the resistor R10.

[0046] The circuit connection of the power supply step-down circuit is as follows Figure 3As shown, the positive and negative electrodes of the 3s aircraft model battery are connected to the pins VIN and GND of the LM2596HVS-12 respectively, and an electrolytic capacitor U6 is connected in parallel between the positive and negative electrodes of the 3s aircraft model battery and the pins VIN and GND of the LM2596HVS-12. The OUTPUT pin of the LM2596HVS-12 is connected to the inductor L2 and then to the pin 1 of the terminal P2 as the 5V output of the power booster circuit. The ON pin of the LM2596HVS-12 is connected to GND. The Feedback pin and the TAB pin of the LM2596HVS-12 are both connected to the pin 1 of the terminal P2 as the 5V input of each module of the system. The common end where the pin TAB of LM2596HVS-12 and the inductor L2 are connected (ie, the end where the pin TAB of LM2596HVS-12 and the inductor L2 are both connected to the terminal P2) is connected to the electrolytic capacitor U7 and then connected to GND.

[0047] The GND pin of the STM32f407 microcontroller, the GND pin of the ESP32 chip U14, the GND pin of the ASR-pro speech recognition chip U8 and the GND pin of the speech synthesis chip U13 are connected to pin 2 of terminal P2 of the power step-down circuit for common ground treatment; the 5V pin of the STM32f407 microcontroller, the VDD pin of the ESP32 chip U14, the source of the MOS tube Q2 and the VDD pin of the speech synthesis chip U13 are connected to pin 1 of terminal P2 of the power step-down circuit for obtaining a 5V input.

[0048] The working process of the chat robot of the utility model is as follows Figure 1 As shown, after receiving the voice input from the microphone, the ASR-pro speech recognition chip U8 sends the voice information to the STM32f407 microcontroller, and then the STM32f407 microcontroller sends the voice information to the ESP32 chip U14; the ESP32 chip U14 calls the language recognition API through the request method of Python to perform Chinese, English or dialect speech recognition, converts the voice information into text data and returns it. The language recognition API can be obtained from the Baidu AI development platform and adopts the short speech recognition standard version of the API.

[0049] The ESP32 chip U14 then sends the received voice recognition result (text data) to the natural language processing (Natural Language Processing) model in the cloud, such as the OPENAI language model. After the natural language processing model gives a reply of the text data, the ESP32 chip U14 sends the reply to the speech synthesis circuit via the STM32f407 microcontroller. The speech synthesis circuit then converts the text data into voice information for voice playback, thereby realizing the interactive process of voice chat.

[0050] Finally, it should be noted that the above examples are only some specific embodiments of the present invention. Obviously, the present invention is not limited to the above examples, and there are many variations. All variations that can be directly derived or associated with the content disclosed by a person skilled in the art should be considered as the protection scope of the present invention.

Claims

1. A control circuit of a chat robot, characterized in that : including main control circuit, communication module, power supply step-down circuit, speech synthesis circuit and speech recognition circuit; The speech recognition circuit is connected to the main control circuit to collect speech information and send it to the main control circuit; the communication module is connected to the main control circuit to communicate with the external network; the speech synthesis circuit is connected to the main control circuit to receive TTS text from the main control circuit and convert it into speech information and play it; the power supply step-down circuit is used to provide 5V output and is connected to the main control circuit, the communication module, the speech synthesis circuit and the speech recognition circuit respectively; The main control circuit includes an STM32f407 microcontroller, the speech recognition circuit includes an ASR-pro speech recognition chip U8, the communication module includes an ESP32 chip U14, and the speech synthesis circuit includes a speech synthesis chip U13; The pin PA2 of the STM32f407 microcontroller is connected to the pin IO19 of the ESP32 chip U14, and the pin PA3 of the STM32f407 microcontroller is connected to the pin IO18 of the ESP32 chip U14; the pin PC6 of the STM32f407 microcontroller is connected to the pin PA5 of the ASR-pro speech recognition chip U8, and the pin PC7 of the STM32f407 microcontroller is connected to the pin PA6 of the ASR-pro speech recognition chip U8; the pin PD8 of the STM32f407 microcontroller is connected to the pin 3 of the speech synthesis chip U13, and the pin PD9 of the STM32f407 microcontroller is connected to the pin 2 of the speech synthesis chip U13; The pin 3.3V of the STM32f407 microcontroller is connected to GND after passing through the capacitor C1, the pin 3.3V is connected to the anode pin 1 end of the Schottky diode Q1, the anode pin 2 of the Schottky diode Q1 is connected to GND after passing through the RTC battery B1, and the common cathode pin 3 of the Schottky diode Q1 is connected to the capacitor C7 and then connected to GND; A crystal oscillator U4 with a frequency of 32.768K is connected in series between the pins PD14 and PD15 of the STM32f407 microcontroller, and the common end connected between the pin PD14 and the crystal oscillator U4 is grounded after passing through a capacitor C8, and the common end connected between the pin PD15 and the crystal oscillator U4 is grounded after passing through a capacitor C9; The speech recognition circuit also includes a chip USB1 and a USB to serial port chip U12; the pin CC2 of the chip USB1 is connected to the pin UD+ of the USB to serial port chip U12, the pin CC1 is connected to the pin UD- of the USB to serial port chip U12, and the pin VBUS is connected to the pin VCC of the USB to serial port chip U12; The RXD pin of the USB-to-serial port chip U12 is connected to the PB6 pin of the ASR-pro voice recognition chip U8, and the 8 pin is connected to the PB5 pin of the ASR-pro voice recognition chip U8; the GND pin and the EP pin of the USB-to-serial port chip U12 are both connected to GND, and the V3 pin is connected in series with the capacitor C17 and then connected to GND; The pin DTR of the USB-to-serial port chip U12 is connected to the emitter of the transistor Q3, the pin RTS of the USB-to-serial port chip U12 is connected to the base of the transistor Q3 through the resistor R9, the collector of the transistor Q3 is connected in series with the resistor R8 and the resistor R7 and then connected to GND, at the same time, one end of the collector of the transistor Q3 is connected to the gate of the MOS tube Q2 after passing through the resistor R8, and the source of the MOS tube Q2 is simultaneously connected to the 5V output of the power supply step-down circuit and the pin VBUS of the chip USB1; the drain of the MOS tube Q2 is connected to GND after being connected in series with the resistor R6, and at the same time, the common end connected to the drain of the MOS tube Q2 and R6 is connected to the pin VIN5V of the ASR-pro voice recognition chip U8 through the resistor R1; The MICBIAS pin of the ASR-pro speech recognition chip U8 is connected in series with capacitor C13 and then connected to GND, the MICNR pin is connected in series with capacitor C16 and then connected to GND, the MICBIAS pin of the ASR-pro speech recognition chip U8 is connected to pin 1 of the microphone U15 through resistor R5, and at the same time, the MICPL pin is connected to pin 1 of the microphone U15 through capacitor C19; the MICNL pin is connected to pin 2 of the microphone U15 through capacitor C20; a resistor R4 is connected in parallel between pins 1 and 2 of the microphone U15, and pin 2 of the microphone U15 is connected to GND through resistor R10; The AVDD pin of the ASR-pro speech recognition chip U8 is connected to GND through capacitor C10, the VIN5V pin is connected to GND through capacitor C11, the VDD33 pin is connected to GND through capacitor C14, the VDD11 pin is connected to GND through capacitor C15, the PA4 pin is connected to GND through resistor R11, and the VCM pin is connected to GND through capacitor C12; The power supply buck circuit includes a buck chip U5 and a 3s aircraft model battery, wherein the positive electrode and the negative electrode of the 3s aircraft model battery are respectively connected to the pin VIN and the pin GND of the buck chip U5, and an electrolytic capacitor U6 is connected in parallel between the positive electrode and the negative electrode of the 3s aircraft model battery and the pin VIN and the pin GND of the buck chip U5; the pin OUTPUT of the buck chip U5 is connected to the inductor L2 and then to the pin 1 of the terminal P2, and the pin ON is connected to GND; the pin Feedback and the pin TAB of the buck chip U5 are both connected to the pin 1 of the terminal P2, and the common end of the pin TAB connected to the inductor L2 is connected to the electrolytic capacitor U7 and then to GND; The pin GND of the STM32f407 microcontroller, the pin GND of the ESP32 chip U14, the pin GND of the ASR-pro speech recognition chip U8 and the pin GND of the speech synthesis chip U13 are all connected to pin 2 of the terminal P2 for common ground processing; the pin 5V of the STM32f407 microcontroller, the pin VDD of the ESP32 chip U14, the source of the MOS tube Q2 and the pin VDD of the speech synthesis chip U13 are all connected to pin 1 of the terminal P2.

2. The control circuit of a chat robot according to claim 1, characterized in that: The pin 7 of the speech synthesis chip U13 is connected to the positive electrode of the speaker U11, and the pin 6 of the speech synthesis chip U13 is connected to the negative electrode of the U11 speaker.

3. The control circuit of a chat robot according to claim 2, characterized in that: Pin PA15 of the STM32f407 microcontroller is connected to GND after connecting the dip switch SW2.

4. The control circuit of a chat robot according to claim 3, characterized in that: The model of the step-down chip U5 is LM2596HVS-12, the model of the ASR-pro speech recognition chip U8 is TW-ASR-Pro, the model of the ESP32 chip U14 is ESP32-WROOM-32U-H4, and the model of the speech synthesis chip U13 is SYN6288.