Intelligent electric appliance control system based on voice recognition

Through the intelligent electrical control system based on STM32 microcontroller, integrating voice recognition, relay and environmental sensing modules, the shortcomings of smart home control systems in automation and personalization are solved, and automatic control and environmental monitoring of multiple electrical appliances are realized, improving the improvement of User experience and system performance.

CN222145417UActive Publication Date: 2024-12-10HUBEI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420585825.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2024-12-10
Estimated Expiration
2034-03-25

AI Technical Summary

Technical Problem

The existing smart home control systems have shortcomings in automation and personalization, which are difficult to meet users' needs for convenient life, especially in the unified control of multiple electrical appliances and environmental perception.

Method used

An intelligent electrical control system based on STM32 microcontroller was designed, integrating voice recognition module, relay module, liquid crystal display module, temperature and humidity sensor module and voice broadcast module. Data communication and command output are carried out through the STM32 microcontroller control module to realize multi-purpose Automatic control and environmental monitoring of electrical appliances, supporting voice recognition and voice broadcast functions.

Benefits of technology

It realizes convenient automatic control and environmental monitoring of smart home appliances, improves user experience, the system has the advantages of small size, high integration and strong practicality, and the operating speed is far higher than that of traditional microcontrollers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222145417U_ABST
    Figure CN222145417U_ABST
Patent Text Reader

Abstract

The utility model relates to an intelligent electric appliance control system based on voice recognition. The intelligent electric appliance control system comprises an STM32 single-chip microcomputer control module, and a plurality of relay modules, a liquid crystal display module and a voice recognition module which are electrically connected with the STM32 single-chip microcomputer control module. The plurality of relay modules are respectively and correspondingly accessed to switch circuits of a plurality of electric appliances; the voice recognition module adopts an LD3320 voice recognition module, and outputs a corresponding instruction signal according to the collected voice information; the STM32 single-chip microcomputer control module controls the on-off of the corresponding relay module according to an instruction signal output by the voice recognition module. The liquid crystal display module displays on-off states of various electric appliances; and the STM32 single chip microcomputer control module adopts an STM32F103C8T6 single chip microcomputer. The whole system has the advantages of being small in size, high in integration level, reasonable in structure and high in practicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of intelligent control, in particular to an intelligent electrical appliance control system based on voice recognition. Background Art

[0002] With the development of modern high-tech, AI home appliances are becoming more and more intelligent. The intelligent home appliance voice recognition system combined with micro-chip microcomputers is more widely used, convenient and safe, especially in terms of energy saving. In the near future, smart homes will become intelligent and personalized. With the development of the times, people's living standards are gradually rising, and the requirements for smart homes will become greater and greater. The ability to realize automatic control and adjustment of smart homes meets people's requirements for convenient life. Utility Model Content

[0003] The utility model aims at the technical problems existing in the prior art and provides an intelligent electrical appliance control system based on voice recognition, which is suitable for indoor electrical appliances in residential buildings, nursing homes, offices and the like.

[0004] The technical solution of the utility model to solve the above technical problems is as follows:

[0005] A voice recognition-based intelligent electrical appliance control system, comprising: an STM32 single-chip microcomputer control module, and a plurality of relay modules, a liquid crystal display module, and a voice recognition module electrically connected to the STM32 single-chip microcomputer control module;

[0006] The multiple relay modules correspond to the switch circuits connected to various electrical appliances respectively; the voice recognition module adopts the LD3320 voice recognition module, and outputs the corresponding command signal according to the collected voice information; the STM32 single-chip microcomputer control module controls the on and off of the corresponding relay module according to the command signal output by the voice recognition module; the liquid crystal display module displays the switch status of various electrical appliances; the STM32 single-chip microcomputer control module adopts the STM32F103C8T6 single-chip microcomputer.

[0007] Furthermore, it also includes a temperature and humidity sensor module electrically connected to the STM32 single-chip microcomputer control module, which is used to collect ambient temperature and humidity data and send it to the STM32 single-chip microcomputer control module. The liquid crystal display module is also used to display the temperature and humidity data.

[0008] Furthermore, the temperature and humidity sensor module adopts a DHT11 temperature and humidity sensor, pin 2 of the DHT11 temperature and humidity sensor is connected to the PB0 port of the STM32 single-chip control module for serial data transmission, pin 3 is left unconnected, and pins 1 and 4 are connected to the VDD terminal and the GND terminal respectively.

[0009] Furthermore, it also includes a voice broadcast module electrically connected to the STM32 single-chip microcomputer control module, which is used to perform corresponding voice broadcast when the STM32 single-chip microcomputer control module outputs a control instruction.

[0010] Furthermore, the voice broadcast module includes a speaker and a WT588D voice chip, the P03 pin of the WT588D voice chip is connected to the PC13 port of the STM32 single-chip microcomputer control module; the PWM+ and PWM- of the WT588D chip are respectively connected to pins 2 and 1 of the speaker.

[0011] Furthermore, the RST, IRQ, A0, WR, CS, P0, P1, and P2 pins of the speech recognition module are respectively connected to the PB11, PA15, PA8, PB12, PB10, PB15, PB14, and PB13 pins of the STM32 single-chip microcomputer control module, and data communication is performed based on the SPI communication protocol.

[0012] Furthermore, it also includes a stepper motor module, the control end of which is connected to the IO pin of the STM32 single-chip microcomputer control module, and rotates forward or reversely under the control of a pulse signal output by the STM32 single-chip microcomputer control module.

[0013] Furthermore, the liquid crystal display module is an OLED display module, including four pins: VCC, GND, SCL, and SDL, wherein the VCC pin is connected to a 3-5.5V voltage, the GND pin is connected to the system GND, SCL and SDL are the clock pin and data pin, respectively, and are respectively connected to the PB6 and PB7 pins of the STM32 microcontroller control module.

[0014] The beneficial effects of the utility model are as follows: the single-chip microcomputer adopts the STM32 single-chip microcomputer, and the running speed is much higher than the traditional 51 series single-chip microcomputer. The voice recognition module adopts the LD3320 chip, which integrates the microphone interface, sound output interface, external circuits such as digital-to-analog and analog-to-digital conversion, and a voice recognition processor, and can independently complete functions such as voice recognition, human-computer dialogue, and voice control. Only the specified voice information needs to be input to realize automatic recognition and corresponding signal output, which can greatly facilitate people's lives. The whole system has the advantages of small size and high integration, reasonable structure, and strong practicality. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A schematic diagram of the overall system structure provided for an embodiment of the utility model;

[0016] Figure 2 The schematic diagram of the DHT11 temperature and humidity sensor module circuit provided by the embodiment of the utility model;

[0017] Figure 3 A schematic diagram of a relay module circuit provided by an embodiment of the utility model;

[0018] Figure 4 A schematic diagram of a liquid crystal display module circuit provided by an embodiment of the utility model;

[0019] Figure 5 A circuit schematic diagram of a voice broadcast module provided in an embodiment of the utility model;

[0020] Figure 6 A circuit diagram of a speech recognition module provided by an embodiment of the utility model;

[0021] Figure 7 A schematic diagram of the pins of an STM32 single-chip microcomputer provided in an embodiment of the utility model. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.

[0023] In the description of the present application, the term "for example" is used to mean "used as an example, illustration or description". Any embodiment described as "for example" in the present application is not necessarily to be construed as being more preferred or advantageous than other embodiments. In order to enable any technician in the field to implement and use the utility model, the following description is given. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the utility model can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid unnecessary details that make the description of the utility model obscure. Therefore, the utility model is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the present application.

[0024] like Figure 1 As shown, the utility model provides an intelligent electrical appliance control system based on voice recognition, including: an STM32 single-chip microcomputer control module, and multiple relay modules, a liquid crystal display module, a voice recognition module, a temperature and humidity sensor module, and a voice broadcast module electrically connected to the STM32 single-chip microcomputer control module.

[0025] The STM32 single-chip microcomputer control module adopts the STM32F103C8T6 single-chip microcomputer, and its pin diagram is as follows Figure 7 shown.

[0026] The multiple relay modules are respectively connected to the switch circuits of various electrical appliances, such as the switch circuits of lamps, air conditioners, fans, televisions, etc. Taking an electric fan as an example, Figure 3 As shown, pins 4 and 5 of relay U7 are connected to the electric fan switch circuit (U19 in the figure is the electric fan motor), and are connected to the STM32 single-chip microcomputer control module through transistor Q4. The STM32 single-chip microcomputer control module outputs a conduction voltage to the base of transistor Q4, turns on the transistor, outputs a control voltage to the control end of relay U7, turns on relay U7, and thus controls the switch of the single fan.

[0027] The speech recognition module adopts LD3320 speech recognition module, and its circuit schematic diagram is as follows Figure 6 As shown, the RST, IRQ, A0, WR, CS, P0, P1, and P2 pins of the speech recognition module are respectively connected to the PB11, PA15, PA8, PB12, PB10, PB15, PB14, and PB13 pins of the STM32 single-chip control module, and data communication is performed based on the SPI communication protocol. The speech recognition module outputs a corresponding command signal according to the collected voice information; the STM32 single-chip control module controls the on and off of the corresponding relay module according to the command signal output by the speech recognition module.

[0028] The LD3320 chip integrates a microphone interface, a sound output interface, external circuits such as digital-to-analog and analog-to-digital conversion, and a speech recognition processor. It can independently complete speech recognition, human-computer dialogue, voice control and other functions. In terms of chip settings and commands, it mainly relies on the registers inside the chip. The registers have read and write functions. The speech content that needs to be recognized can be dynamically edited. The reception and transmission of data can be achieved by operating the registers. For example, setting the recognition keyword list, setting the chip's recognition mode, speech recognition, and obtaining the recognition result after the recognition is completed are all achieved by controlling the registers. After the chip recognizes the voice information, the data in MP3 format is circulated and put into the register corresponding to the FIFO. Moreover, it is not only a specific register that can control the volume, and the corresponding EP1 / EP2 / EP3 can also be used to control the volume. After the chip recognizes the voice information, the serial interface is used to connect to the single-chip CPU through the SPI communication mode. It should be understood here that those skilled in the art can enter and edit the speech content that needs to be recognized according to the corresponding chip module operation guide, and how to recognize the speech content is a function of the LD3320 chip module itself, so it will not be repeated in this embodiment.

[0029] The temperature and humidity sensor module uses the DHT11 temperature and humidity sensor. Figure 2As shown, it is used to collect environmental temperature and humidity data. Pin 2 of the DHT11 temperature and humidity sensor is connected to the PB0 port of the STM32 microcontroller control module for serial data transmission, pin 3 is left unconnected, and pins 1 and 4 are connected to the VDD and GND terminals respectively.

[0030] The voice broadcast module includes a speaker and a WT588D voice chip. Figure 5 As shown, the voice broadcast module is used to perform corresponding voice broadcast when the STM32 single-chip control module outputs a control instruction. The P03 pin of the WT588D voice chip is connected to the PC13 port of the STM32 single-chip control module; the PWM+ and PWM- of the WT588D chip are connected to the 2nd and 1st pins of the speaker respectively. The voice file is downloaded to the WT588D voice chip through an external minu downloader. The speaker shown in P1 is the speaker used for voice broadcast.

[0031] Furthermore, the liquid crystal display module is an OLED display module, such as Figure 4 As shown, it includes four pins: VCC, GND, SCL, and SDL, wherein the VCC pin is connected to a 3-5.5V voltage, the GND pin is connected to the system GND, and SCL and SDL are clock pins and data pins, respectively, connected to the PB6 and PB7 pins of the STM32 single-chip control module. The liquid crystal display module is used to display the switch status of various electrical appliances and temperature and humidity data.

[0032] As a preferred embodiment, the system further comprises a stepper motor module for controlling electrical appliances such as curtains. The control end of the stepper motor module is connected to the IO pin of the STM32 single-chip control module, and rotates forward or reversely under the control of the pulse signal output by the STM32 single-chip control module.

[0033] Although the preferred embodiments of the utility model have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the utility model.

[0034] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. An intelligent electrical appliance control system based on voice recognition, characterized in that: include: An STM32 single-chip microcomputer control module, and a plurality of relay modules, a liquid crystal display module, and a speech recognition module electrically connected to the STM32 single-chip microcomputer control module; The multiple relay modules correspond to the switch circuits connected to multiple electrical appliances respectively; the voice recognition module adopts the LD3320 voice recognition module, and outputs the corresponding command signal according to the collected voice information; the STM32 single-chip microcomputer control module controls the on and off of the corresponding relay module according to the command signal output by the voice recognition module; the liquid crystal display module displays the switch status of the electrical appliance; the STM32 single-chip microcomputer control module adopts the STM32F103C8T6 single-chip microcomputer.

2. The intelligent electrical appliance control system based on voice recognition according to claim 1 is characterized in that: It also includes a temperature and humidity sensor module electrically connected to the STM32 single-chip microcomputer control module, which is used to collect environmental temperature and humidity data and send it to the STM32 single-chip microcomputer control module. The liquid crystal display module is also used to display the temperature and humidity data.

3. The intelligent electrical appliance control system based on voice recognition according to claim 2 is characterized in that: The temperature and humidity sensor module adopts a DHT11 temperature and humidity sensor. Pin 2 of the DHT11 temperature and humidity sensor is connected to the PB0 port of the STM32 single-chip control module for serial data transmission. Pin 3 is left unconnected, and pins 1 and 4 are connected to the VDD terminal and the GND terminal respectively.

4. The intelligent electrical appliance control system based on voice recognition according to claim 1 is characterized in that: It also includes a voice broadcast module electrically connected to the STM32 single-chip microcomputer control module, which is used to perform corresponding voice broadcast when the STM32 single-chip microcomputer control module outputs a control instruction.

5. The intelligent electrical appliance control system based on voice recognition according to claim 4 is characterized in that: The voice broadcast module includes a speaker and a WT588D voice chip. The P03 pin of the WT588D voice chip is connected to the PC13 port of the STM32 single-chip microcomputer control module; the PWM+ and PWM- of the WT588D chip are respectively connected to the 2nd and 1st pins of the speaker.

6. The intelligent electrical appliance control system based on voice recognition according to claim 1, characterized in that: The RST, IRQ, A0, WR, CS, P0, P1, and P2 pins of the speech recognition module are respectively connected to the PB11, PA15, PA8, PB12, PB10, PB15, PB14, and PB13 pins of the STM32 single-chip microcomputer control module, and data communication is performed based on the SPI communication protocol.

7. The intelligent electrical appliance control system based on voice recognition according to claim 1 is characterized in that: It also includes a stepper motor module, the control end of which is connected to the IO pin of the STM32 single-chip microcomputer control module, and rotates forward or reversely under the control of a pulse signal output by the STM32 single-chip microcomputer control module.

8. The intelligent electrical appliance control system based on voice recognition according to claim 1, characterized in that: The liquid crystal display module is an OLED display module, including four pins: VCC, GND, SCL, and SDL, wherein the VCC pin is connected to a 3-5.5V voltage, the GND pin is connected to the system GND, and SCL and SDL are respectively a clock pin and a data pin, which are respectively connected to the PB6 and PB7 pins of the STM32 single-chip microcomputer control module.