CN114020238A - MCU chip with voice prompt function - Google Patents
MCU chip with voice prompt function Download PDFInfo
- Publication number
- CN114020238A CN114020238A CN202111303853.9A CN202111303853A CN114020238A CN 114020238 A CN114020238 A CN 114020238A CN 202111303853 A CN202111303853 A CN 202111303853A CN 114020238 A CN114020238 A CN 114020238A
- Authority
- CN
- China
- Prior art keywords
- voice
- mcu chip
- mcu
- chip
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/162—Interface to dedicated audio devices, e.g. audio drivers, interface to CODECs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/16—Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/10527—Audio or video recording; Data buffering arrangements
- G11B2020/10537—Audio or video recording
- G11B2020/10546—Audio or video recording specifically adapted for audio data
Abstract
The invention relates to the technical field of chip design, in particular to an MCU chip with a voice prompt function, wherein the MCU chip is applied to an OBU terminal, a processor, a memory and a voice player are integrated in the MCU chip, a digital power amplifier is arranged in the voice player, the digital power amplifier is provided with a 2PIN signal output interface, a loudspeaker is connected to the outside of the MCU chip, and the loudspeaker is electrically connected with the signal output interface. The MCU Chip for the ETC is designed, an additional external audio Chip is not used, a voice prompt function is carried in the MCU Chip for the ETC, and the cost is reduced; compared with the large power consumption generated by executing the audio data through an external audio chip, the audio data is processed inside the MCU chip after the MCU chip is built in the voice player, and the effect of reducing the power consumption can be achieved.
Description
Technical Field
The invention relates to the technical field of chip design, in particular to an MCU chip with a voice prompt bearing function.
Background
Currently, when the OBU terminal performs the fee processing according to the national standard of china, the user may be notified whether the fee is processed or not by a buzzer. However, when a driver confirms fee information through a buzzer and a panel while driving at a high speed, a traffic accident may occur if the driver does not pay attention. Although effective, if the voice prompt is used with detailed cost, it requires an additional integrated circuit formed by a chip dedicated to voice prompt, which increases cost and power consumption, and makes the authentication process somewhat difficult.
As shown in fig. 1, when the conventional technology uses the Serial (Serial) communication in the general-purpose MCU to perform voice guidance using the analog sound source IC and the speaker when the ETC OBU product performs voice guidance, the separate sound source IC is used, which increases the manufacturing cost and power consumption of the product.
Disclosure of Invention
The invention aims to provide an MCU chip with a voice prompt bearing function, so as to solve the problems in the prior art.
The technical purpose of the invention is realized by the following technical scheme:
the utility model provides a bear voice prompt function's MCU chip, the MCU chip is applied to the OBU terminal, MCU chip internal integration is provided with treater, memory and pronunciation player, be provided with digital power amplifier in the pronunciation player, digital power amplifier is provided with 2 PIN's signal output interface, MCU chip external connection has the speaker, the speaker with signal output interface electric connection.
By adopting the technical scheme, the voice player is integrated into the MCU Chip without using an additional external audio Chip, so that the cost is reduced; compared with the large power consumption generated by executing the audio data through an external audio chip, the audio data is processed inside the MCU chip after the MCU chip is built in the voice player, and the effect of reducing the power consumption can be achieved.
In a further embodiment, the MCU chip further includes a DMA controller and a data bus, the DMA controller is in signal transmission with the processor, the memory, and the voice player through the data bus, and the data bus and the processor are both 32 bits.
Through adopting above-mentioned technical scheme, each inside subassembly of MCU chip passes through data bus high-speed joint and transmission data, compares in Serial (Serial) communication more fast and power saving and energy saving, and the transmission process that DMA controller controlled voice data makes voice data constantly transmit, guarantees the continuity and the integrality of output pronunciation.
In a further embodiment, the voice player is provided with a voice low-bit data register and a volume register, and the output signal of the voice low-bit data register and the output signal of the volume register are subjected to multiplication to obtain signals which are transmitted to the signal input interface of the digital power amplifier.
By adopting the technical scheme, the volume adjustment of the voice data can be realized.
In a further embodiment, the digital power amplifier transmits the first PWM signal and the second PWM signal through the signal output interface.
In a further embodiment, the voice player is provided with a voice control register and a reference clock generator, the reference clock generator transmits a driving clock signal to the digital power amplifier, the voice control register is used for sampling and latching voice data and transmitting an enabling signal to the digital power amplifier, and the frequency of voice sampling is 16 KHz.
In a further embodiment, the memory comprises a driver storage part, a data storage part and a built-in voice data storage part, wherein the driver storage part is used for storing a preset driver, the data storage part is used for storing data generated by the operation of the chip, the built-in voice data storage part is used for storing a preset voice data packet, and an expansion memory can be added outside the MCU chip.
In conclusion, the invention has the following beneficial effects:
1. the MCU Chip for the ETC is designed, an additional external audio Chip is not used, a voice prompt function is carried in the MCU Chip for the ETC, and the cost is reduced;
2. compared with the large power consumption generated by executing the audio data through an external audio chip, the audio data is processed inside the MCU chip after the MCU chip is built in the voice player, and the effect of reducing the power consumption can be achieved.
Drawings
Fig. 1 is a diagram showing a buzzer circuit of a general ETC OBU terminal according to the prior art;
FIG. 2 is an internal structure diagram of the MCU chip built-in voice guidance function of the present invention;
fig. 3 is a waveform diagram of a control signal between voice data and a digital power amplifier in the present invention.
In the figure, 1-1 is a general MCU; 1-2, sound source IC; 2-1, a processor; 2-2, a driver storage part; 2-3, a data storage part; 2-4, a built-in voice data storage part; 2-5, a voice control register; 2-6, a voice low-bit data register; 2-7, a volume register; 2-8, a reference clock generator; 2-9, a digital power amplifier; 2-10, a chip body; 2-11, a loudspeaker; 2-12, a data bus; 2-13, a DMA controller; 3-1, BUS Clock signal; 3-2, Ref Clock signal; 3-3, Enable signal; 3-4, Sampling Clock signal; 3-5, voice signal.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
In which like parts are designated by like reference numerals. It should be noted that the terms "front", "back", "left", "right", "upper" and "lower" used in the following description refer to directions in fig. 1, the terms "bottom" and "top", "inner" and "outer" refer to directions toward and away from a particular component geometry, respectively, and the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present specification, "plurality" means two or more unless the direction of the center is specifically defined otherwise.
Example 1:
as shown in fig. 2-3, an MCU chip with voice prompt function is applied to an OBU terminal, a processor 2-1, a memory and a voice player 2-14 are integrated in the MCU chip, the processor 2-1 is a 32-bit chip, all functions can be controlled by a program, the memory includes a driver storage part 2-2, a data storage part 2-3, and a built-in voice data storage part 2-4, the driver storage part 2-2 is used for storing a preset driver, the data storage part 2-3 is used for storing data generated by the operation of the chip, the built-in voice data storage part 2-4 is used for storing a preset voice data packet, an expansion memory can be added outside the MCU chip to increase the capacity of voice storage, and the processor 2-1 combines voice data in the memory into a complete voice data segment and sends the complete voice data segment to the voice player 2-14 amplifying treatment.
In order to prevent the interruption of task insertion and the discontinuity of voice data caused by the occupation of a transmission channel in the process of combining the voice data by the processor 2-1, the MCU chip also comprises a DMA controller 2-13 and a data bus 2-12, wherein the data bus 2-12 is a 32-bit transmission line, the DMA controller 2-13 carries out signal transmission with the processor 2-1, the memory and the voice player 2-14 through the data bus 2-12, each component in the MCU chip is quickly connected and transmits data through the data bus, and the signal transmission mode is quicker, more power-saving and more energy-saving than Serial (Serial) communication; compared with the process that the processor 2-1 transmits the voice data to the voice low-order data register 2-6 in the voice player 2-14 for reading, the DMA controller 2-13 writes the voice data into the voice low-order data register 2-6 to avoid wasting the performance of the processor 2-1, and the DMA controller 2-13 controls the transmission process of the voice data to enable the voice data to be transmitted continuously without interruption, so that the continuity and the integrity of the output voice are ensured.
Digital power amplifiers 2-9 are arranged in the voice players 2-14, the MCU chip processes voice data by means of digital signal processing of the digital power amplifiers 2-9, the digital power amplifiers 2-9 are provided with 2PIN signal output interfaces, loudspeakers 2-11 are connected to the exterior of the MCU chip, the loudspeakers 2-11 are electrically connected with the signal output interfaces, and the digital power amplifiers 2-9 transmit first PWM signals and second PWM signals through the signal output interfaces;
the voice player 2-14 is provided with a voice low-bit data register 2-6 and a volume register 2-7, the voice low-bit data register 2-6 is used for latching unprocessed pure voice data, the volume register 2-7 is used for latching a volume adjusting signal, the output signals of the voice low-bit data register 2-6 and the volume register 2-7 are multiplied to adjust the volume of the output voice signal, and the output signal of the voice low-bit data register 2-6 and the output signal of the volume register 2-7 are multiplied to obtain a signal which is transmitted to a signal input interface of the digital power amplifier 2-9;
in order to make the digital power amplifier 2-9 work normally, the digital power amplifier 2-9 needs to provide an enable signal and a clock signal externally, the voice player 2-14 is provided with a voice control register 2-5 and a reference clock generator 2-8, the reference clock generator 2-8 transmits a driving clock signal to the digital power amplifier 2-9, the voice control register 2-5 is used for sampling and latching voice data and transmitting the enable signal to the digital power amplifier 2-9, and the voice sampling frequency is 16 KHz.
The specific implementation process comprises the following steps: when the MCU chip works, the processor 2-1 recombines the preset voice data through a program, the combined voice data is sent to the voice low-order data register 2-6 through the DMA controller 2-13, the output signals of the voice low-order data register 2-6 and the volume register 2-7 are multiplied to adjust the volume of the output voice signal, the signal obtained by multiplication is transmitted to the signal input interface of the digital power amplifier 2-9, the reference clock generator 2-8 transmits a driving clock signal to the digital power amplifier 2-9, the voice control register 2-5 samples and latches the voice data without volume adjustment and transmits an enabling signal to the digital power amplifier 2-9 to drive the digital power amplifier 2-9 to amplify the signal, the amplified signals are output to the speakers 2-11 as a first PWM signal and a second PWM signal.
In the embodiments of the present disclosure, the terms "mounting," "connecting," "fixing," and the like are used in a broad sense, for example, "connecting" may be a fixed connection, a detachable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meanings of the above terms in the disclosed embodiments of the invention can be understood by those of ordinary skill in the art as appropriate.
The present embodiment is only for explaining the present invention, and it is not limited to the present invention, and those skilled in the art can make modifications of the present embodiment without inventive contribution as needed after reading the present specification, but all of them are protected by patent law within the scope of the claims of the present invention.
Claims (6)
1. The utility model provides a bear pronunciation prompt facility's MCU chip which characterized in that: the OBU terminal is applied to the MCU chip, MCU chip internal integration is provided with treater (2-1), memory and pronunciation player (2-14), be provided with digital power amplifier (2-9) in pronunciation player (2-14), digital power amplifier (2-9) are provided with 2 PIN's signal output interface, MCU chip external connection has speaker (2-11), speaker (2-11) with signal output interface electric connection.
2. The MCU with voice prompt capability according to claim 1, wherein: the MCU chip also comprises a DMA controller (2-13) and a data bus (2-12), wherein the DMA controller (2-13) is in signal transmission with the processor (2-1), the memory and the voice player (2-14) through the data bus (2-12), and the data bus (2-12) and the processor (2-1) are both 32 bits.
3. The MCU with voice prompt capability according to claim 1, wherein: the voice player (2-14) is provided with a voice low-bit data register (2-6) and a volume register (2-7), and signals obtained by multiplying output signals of the voice low-bit data register (2-6) and output signals of the volume register (2-7) are transmitted to a signal input interface of the digital power amplifier (2-9).
4. The MCU with voice prompt capability according to claim 1, wherein: the digital power amplifier (2-9) transmits a first PWM signal and a second PWM signal through the signal output interface.
5. The MCU with voice prompt capability according to claim 1, wherein: the voice player (2-14) is provided with a voice control register (2-5) and a reference clock generator (2-8), the reference clock generator (2-8) transmits a driving clock signal to the digital power amplifier (2-9), the voice control register (2-5) is used for sampling and latching voice data and transmitting an enabling signal to the digital power amplifier (2-9), and the voice sampling frequency is 16 KHz.
6. The MCU with voice prompt capability according to claim 1, wherein: the memory comprises a driver storage part (2-2), a data storage part (2-3) and a built-in voice data storage part (2-4), wherein the driver storage part (2-2) is used for storing a preset driver, the data storage part (2-3) is used for storing data generated by the work of the chip, the built-in voice data storage part (2-4) is used for storing a preset voice data packet, and an expansion memory can be added outside the MCU chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111303853.9A CN114020238A (en) | 2021-11-04 | 2021-11-04 | MCU chip with voice prompt function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111303853.9A CN114020238A (en) | 2021-11-04 | 2021-11-04 | MCU chip with voice prompt function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114020238A true CN114020238A (en) | 2022-02-08 |
Family
ID=80061480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111303853.9A Withdrawn CN114020238A (en) | 2021-11-04 | 2021-11-04 | MCU chip with voice prompt function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114020238A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6266425B1 (en) * | 1998-11-04 | 2001-07-24 | Rohm Co., Ltd. | Audio amplifier circuit and audio device using the circuit |
CN101060312A (en) * | 2006-04-13 | 2007-10-24 | 三洋电机株式会社 | Sound volume converting device |
CN101093669A (en) * | 2007-07-19 | 2007-12-26 | 付赜 | Device and method for generating audio signal |
CN101809862A (en) * | 2007-08-03 | 2010-08-18 | 沃福森微电子股份有限公司 | Amplifier circuit |
CN102323766A (en) * | 2011-05-24 | 2012-01-18 | 华润半导体(深圳)有限公司 | Intelligent toy control chip |
CN107391080A (en) * | 2017-07-25 | 2017-11-24 | 青岛海信电器股份有限公司 | Master chip, ADAS based on ZYNQ and the method using its progress voice message |
CN210760463U (en) * | 2019-08-21 | 2020-06-16 | 成都广通汽车有限公司 | Voice control device and vehicle |
-
2021
- 2021-11-04 CN CN202111303853.9A patent/CN114020238A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6266425B1 (en) * | 1998-11-04 | 2001-07-24 | Rohm Co., Ltd. | Audio amplifier circuit and audio device using the circuit |
CN101060312A (en) * | 2006-04-13 | 2007-10-24 | 三洋电机株式会社 | Sound volume converting device |
CN101093669A (en) * | 2007-07-19 | 2007-12-26 | 付赜 | Device and method for generating audio signal |
CN101809862A (en) * | 2007-08-03 | 2010-08-18 | 沃福森微电子股份有限公司 | Amplifier circuit |
CN102323766A (en) * | 2011-05-24 | 2012-01-18 | 华润半导体(深圳)有限公司 | Intelligent toy control chip |
CN107391080A (en) * | 2017-07-25 | 2017-11-24 | 青岛海信电器股份有限公司 | Master chip, ADAS based on ZYNQ and the method using its progress voice message |
CN210760463U (en) * | 2019-08-21 | 2020-06-16 | 成都广通汽车有限公司 | Voice control device and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104796642A (en) | A dual-mode Bluetooth sound-box television system and a dual-mode Bluetooth audio playing control method thereof | |
CN104349241A (en) | Earphone and information processing method | |
WO2023051206A1 (en) | Circuit board and electronic device | |
JP2011203781A (en) | Change-over device and electronic apparatus including the same | |
CN114020238A (en) | MCU chip with voice prompt function | |
CN103633959A (en) | Intelligent automatic audio frequency control system | |
CN106993248A (en) | A kind of high universalizable digital in-vehicle sound system | |
CN213754941U (en) | Sound box with digital signal broadcasting and Bluetooth functions | |
WO2018177242A1 (en) | Bluetooth headset and bluetooth headset-based sharing system | |
CN209980228U (en) | External sound card control system based on bluetooth | |
CN103065657A (en) | Audio system with small scale integration (SSI) module and working method thereof | |
TWI475557B (en) | Audio processing device | |
CN202998438U (en) | Wireless sound box | |
CN212278454U (en) | Digital power amplifier circuit | |
CN203574843U (en) | Energy-saving digital microphone system | |
CN219068346U (en) | Bluetooth headset that makes an uproar falls in mixture | |
CN201369813Y (en) | Audio power amplification circuit with constant output power selectability | |
CN111212362A (en) | Audio signal acquisition system and method | |
CN103607682B (en) | Energy-saving type digital microphone system | |
CN210629829U (en) | Frequency division sound box | |
CN210112258U (en) | Sound system with DSP sound effect enhancement processing | |
CN216852326U (en) | Signal switching circuit and bluetooth speaker | |
CN204539090U (en) | Audio frequency apparatus | |
CN220447814U (en) | Audio control system and vehicle | |
WO2024082388A1 (en) | Driving circuit for audio power amplifier, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220208 |
|
WW01 | Invention patent application withdrawn after publication |