Computing circuit and device
By integrating chips of multiple voice programs in computing devices, the problem that existing devices cannot adjust voice functions according to user needs is solved, and higher voice recognition accuracy and user experience are achieved.
Patent Information
- Application Number
- CN202411504175.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-25
- Publication Date
- 2025-02-28
AI Technical Summary
Existing computing devices have limitations in the application of voice functions and cannot be adjusted according to the specific needs or preferences of users, resulting in poor user experience.
A computing circuit is designed to store different voice programs by integrating the first chip and the second chip, so that the device can execute the corresponding voice program according to the user's voice selection instructions.
It improves the accuracy and response speed of speech recognition, increases the diversity of voice functions, and improves the user experience.
Smart Images

Figure CN119541482A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit technology, and in particular to a computing circuit and device. Background Art
[0002] With the continuous advancement of technology, computing devices have become an indispensable tool in our daily lives. These devices not only play an important role in business, education and scientific research, but also play an increasingly critical role in personal life. Traditional computing devices mainly rely on keyboards and screens for human-computer interaction, but this interaction method may not be intuitive or convenient in some cases, especially for users who need fast input or have limited vision.
[0003] In related technologies, the development of speech recognition and speech synthesis technologies has provided new interactive possibilities for computing devices. Through voice commands, users can communicate with devices more naturally, and voice feedback can provide users with richer and more intuitive information.
[0004] However, existing computing devices still have some limitations in the application of voice functions. For example, many devices can only provide a single type of voice output and cannot be adjusted according to the specific needs or preferences of users, resulting in poor user experience. Summary of the invention
[0005] In view of this, the present application provides a computing circuit and device, which can not only realize computing functions, but also provide users with multiple types of voice options to enhance user experience.
[0006] On the one hand, an embodiment of the present application provides a computing circuit, including: a first chip, a second chip, an instruction acquisition module, and a speaker;
[0007] The first chip is connected to the second chip, the speaker, the external power supply, and the instruction acquisition module, and the second chip is connected to the speaker and the external power supply;
[0008] The first chip stores a computing program and a first voice program, and the second chip stores a second voice program;
[0009] An instruction collection module, used to collect voice selection instructions input by the target object;
[0010] The first chip is used to execute the computing program and execute the first voice program when the voice selection instruction indicates that the first voice program is selected;
[0011] The second chip is used to execute the second voice program when the voice selection instruction represents the selection of the second voice program.
[0012] In a possible embodiment, the first chip includes a storage module, a processing module, a voice output module, and a port module;
[0013] The storage module is connected to the processing module and the voice output module respectively, the processing module is connected to the voice output module and the port module respectively, the voice output module is connected to the speaker, the speaker and the port module are connected to the second chip respectively, and the port module is connected to the external power supply and the instruction acquisition module;
[0014] Wherein, the storage module stores a computing program and a first voice program;
[0015] A processing module, used for executing a computing program and a first voice program;
[0016] A voice output module, used to transmit the execution result of the first voice program to the speaker and output it in an audio manner, wherein the execution result includes a voice result corresponding to the calculation result of the calculation program;
[0017] The port module includes an interface for connecting to an external power source and a second chip, and is used for connecting to an external power source and a second chip.
[0018] In a possible embodiment, the voice output module includes an automatic reload timer and a pulse width modulation PWM module;
[0019] The automatic reload timer is connected to the storage module, the port module and the PWM module;
[0020] an automatic reload timer for generating a periodic signal based on the processing module;
[0021] The PWM module is used to control the duty cycle of the output waveform according to the periodic signal, thereby obtaining an audio signal of the corresponding frequency and transmitting the audio signal to the speaker.
[0022] In a possible embodiment, the first chip further includes an oscillator and a time base module;
[0023] The oscillator is connected to the time base module, and the oscillator and the time base module are respectively connected to the storage module, the processing module, and the voice output module;
[0024] An oscillator, used to generate a stable clock signal, the frequency of the clock signal corresponds to the processing rate of the processing module;
[0025] The time base module is used to enable the voice output module to adjust the frequency of the output audio according to the clock signal.
[0026] In a possible embodiment, the first chip further includes an interrupt control module and a wake-up control module;
[0027] The interrupt control module and the wake-up control module are respectively connected to the storage module, the processing module, and the voice output module;
[0028] An interrupt control module is used to manage interrupt requests so that the processing module interrupts the current processing event;
[0029] The wake-up control module is used to wake up the processing module.
[0030] In a possible embodiment, the first chip further includes a low voltage reset module;
[0031] The low voltage reset module is connected to the storage module, the processing module and the voice output module, and is used to trigger a reset when the voltage of the external power supply is lower than a preset threshold.
[0032] In a possible embodiment, the first chip further includes a display module, and the display module includes a storage unit and a driving unit;
[0033] The storage unit and the driving unit are connected to the storage module, the processing module and the voice output module respectively;
[0034] A storage unit, used for storing display data;
[0035] The driving unit is used to convert display data into pixels.
[0036] In a possible embodiment, the second chip includes a CPU, a memory, an external port, and a control module;
[0037] The CPU is connected to the memory, the external port, and the control module respectively, the external port is connected to the first chip, and the control module is connected to the speaker;
[0038] A memory, used for storing a second voice program;
[0039] The CPU is used to execute the second voice program to obtain a voice result;
[0040] The control module is used to control the speech results and transmit the control results to the speaker.
[0041] In a possible embodiment, the memory includes a static random access memory SRAM, a one-time programmable read-only memory OTP PROM, and a one-time programmable dynamic read-only memory OTP DROM.
[0042] In a possible embodiment, the control module includes a signal processor and a PWM digital-to-analog converter generator;
[0043] The signal processor is connected to the PWM digital-to-analog converter generator and the CPU;
[0044] A PWM digital-to-analog converter generator is used to adjust the speech result to obtain an audio adjustment signal;
[0045] The signal processor is used to optimize the audio adjustment signal to obtain an audio optimization result.
[0046] In a possible embodiment, the computing circuit further includes a switch module;
[0047] The switch module includes a first impedance, a diode, a triode, and a second impedance;
[0048] One end of the first impedance is connected to an external power supply, and the other end is connected to the anode of the diode, the cathode of the diode is connected to the collector of the transistor, the emitter of the transistor is grounded, and the base of the transistor is connected to the second chip;
[0049] The switch module is used to control the power supply of the second chip to be turned on or off.
[0050] In a possible embodiment, the computing circuit further includes a voice configuration module;
[0051] The voice configuration module includes a first switch, a second switch and a third switch;
[0052] One end of each of the first switch, the second switch and the third switch is connected to an external power supply, and the other end is connected to the second chip;
[0053] Among them, when the first switch is turned on, the voice function of the circuit is turned on, and when the first switch is turned off, the voice function is turned off; when the second switch is turned on and the third switch is turned off, the voice function corresponds to one voice; when the second switch is turned off and the third switch is turned on, the voice function corresponds to two voices; when the second switch and the third switch are turned on or off at the same time, the voice function corresponds to three voices.
[0054] In a possible embodiment, the computing circuit further includes a voltage stabilization module;
[0055] The voltage stabilization module includes ceramic capacitors and electrolytic capacitors;
[0056] One end of each of the ceramic capacitor and the electrolytic capacitor is connected to the external power supply and the second chip, and the other end is grounded;
[0057] Ceramic capacitors for high-frequency decoupling of external power supplies;
[0058] Electrolytic capacitors for low frequency decoupling of external supplies.
[0059] On the one hand, an embodiment of the present application provides a computing device, including any of the above-mentioned computing circuits.
[0060] The beneficial effects of this application are as follows:
[0061] The present application proposes a computing circuit and device, the circuit includes a first chip, a second chip, an instruction acquisition module, and a speaker; the first chip stores a computing program and a first voice program, and the second chip stores a second voice program; the instruction acquisition module is used to collect the voice selection instruction input by the target object; the first chip is used to execute the computing program, and when the voice selection instruction represents the selection of the first voice program, execute the first voice program; the second chip is used to execute the second voice program when the voice selection instruction represents the selection of the second voice program. In this way, by integrating the first chip and the second chip, different voice programs are stored respectively, so that the device can execute the corresponding voice program according to the user's voice selection instruction. This design not only improves the accuracy and response speed of voice recognition, but also increases the diversity of voice functions and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the conventional technology, the drawings required for use in the embodiments or the conventional technology descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0063] Figure 1A The figure shows one of the structural schematic diagrams of a computing circuit in an embodiment of the present application.
[0064] Figure 1B Shown is a circuit diagram of an instruction acquisition module in an embodiment of the present application.
[0065] Figure 2 The figure shows a second structural diagram of a computing circuit in an embodiment of the present application.
[0066] Figure 3 The third structural diagram of a computing circuit in an embodiment of the present application is shown.
[0067] Figure 4 The fourth structural diagram of a computing circuit in an embodiment of the present application is shown.
[0068] Figure 5 The figure shows a fifth structural diagram of a computing circuit in an embodiment of the present application.
[0069] Figure 6 The sixth structural diagram of a computing circuit in an embodiment of the present application is shown.
[0070] Figure 7 The figure shows the seventh structural diagram of a computing circuit in an embodiment of the present application.
[0071] Figure 8 The figure shows an eighth structural diagram of a computing circuit in an embodiment of the present application.
[0072] Fig. 9 Shown is a schematic structural diagram of a switch module in an embodiment of the present application.
[0073] Fig.10 Shown is a structural schematic diagram of a voice configuration module in an embodiment of the present application.
[0074] Fig.11 Shown is a structural example diagram of a computing circuit in an embodiment of the present application.
[0075] Fig.12 Shown is a detailed diagram of a computing circuit in an embodiment of the present application.
[0076] Fig.13 Shown is a schematic diagram of the structure of a computing device in an embodiment of the present application. DETAILED DESCRIPTION
[0077] 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 ordinary technicians in this field without creative work are within the scope of protection of this application.
[0078] However, the embodiments of the present application can be implemented in various forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present application will be more comprehensive and complete, and the concept of the embodiments of the present application will be fully conveyed to those skilled in the art. Among them, the described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application.
[0079] However, those skilled in the art will appreciate that the technical solutions of the embodiments of the present application can be practiced without one or more of the specific details, or other methods, components, materials, etc. can be adopted. In other cases, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring the main technical ideas of the embodiments of the present application.
[0080] The terms "a", "an", "the" are used to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to indicate an open-ended inclusive meaning and mean that there may be additional elements / components / etc. in addition to the listed elements / components / etc. The terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.
[0081] Existing computing devices still have some limitations in the application of voice functions. For example, many devices can only provide a single type of voice output and cannot be adjusted according to the user's specific needs or preferences, resulting in a poor user experience.
[0082] Based on this, an embodiment of the present application provides a computing circuit, as shown in Figure 1, which is a structural diagram of a computing circuit provided by an embodiment of the present application. In Figure 1, the computing circuit includes a first chip 101, a second chip 102, an instruction acquisition module 103, and a speaker 104; the first chip 101 is connected to the second chip 102, the speaker 104, an external power supply, and the instruction acquisition module 103, and the second chip 102 is connected to the speaker 104 and the external power supply; the first chip 101 stores a computing program and a first voice program, and the second chip 102 stores a second voice program; the instruction acquisition module 103 is used to collect the voice selection instruction input by the target object; the first chip 101 is used to execute the computing program to realize the computing function, and when the voice selection instruction represents the selection of the first voice program, the first voice program is executed to realize the voice function; the second chip 102 is used to execute the second voice program when the voice selection instruction represents the selection of the second voice program, thereby realizing another voice function.
[0083] The above-mentioned computing circuit integrates the first chip and the second chip to store different voice programs respectively, so that the device can execute the corresponding voice program according to the user's voice selection command. This design not only improves the accuracy and response speed of voice recognition, but also increases the diversity of voice functions and improves the user experience.
[0084] Optionally, the instruction acquisition module 103 may be a keyboard, including a physical keyboard and a virtual keyboard. When the target object clicks the keyboard case, the instruction acquisition can be realized. When the instruction acquisition module 103 is a physical keyboard, its corresponding circuit diagram is shown in FIG. Figure 1B ,exist Figure 1BIn the figure, “IOEF0”, “IOEF1”, “IOEF2”, “IOEF3”, “IOEF4”, “IOEF5”, “IOEF6”, “IOEF7”, “IOAB0”, “IOAB1” and “IOAB2” are all interfaces connected to the first chip 101, “VDD” is an external power supply, “TIME SET” is a time setting button, “Square Root” is a square root calculation button, “MRC” is a clear key, also known as Memory Recall Clear (MRC), “VOL” is a sound key, “--->” is a right shift key, “ADJ” is an adjustment key, “GT” is the abbreviation of Grand Total, indicating a continuous summation key, “OFF” is the power off button, “M+” is the abbreviation of Memory Plus, this button is used to add the currently displayed value to the value already stored in the memory, “M-” is the abbreviation of Memory Minus, this button is used to subtract the currently displayed value from the value already stored in the memory, “MC” is the abbreviation of Memory Clear, this button is used to clear the memory content, and the “MR” key stands for “Memory "Recall", this button is used for "memory recall" or "read storage", "UNIT" is the unit conversion key, "CE" key stands for "Clear Entry", used to clear the current input, and "AC / ON" is a multi-function key used to clear or shut down.
[0085] In a possible embodiment, Figure 2 FIG. 1 is a schematic diagram of another computing circuit provided in an embodiment of the present application. Figure 2 In the embodiment, the first chip 101 includes a storage module 201, a processing module 202, a voice output module 203, and a port module 204; the storage module 201 is connected to the processing module 202 and the voice output module 203 respectively, the processing module 202 is connected to the voice output module 203 and the port module 204 respectively, the voice output module 203 is connected to the speaker 104, the speaker 104 and the port module 204 are connected to the second chip 102 respectively, and the port module 204 is connected to the external power supply and instruction acquisition module 103.
[0086] Among them, the storage module 201 stores a calculation program and a first voice program; the processing module 202 is used to execute the calculation program and the first voice program; the voice output module 203 is used to transmit the execution result of the first voice program to the speaker 104 and output it in audio form, and the execution result includes the voice result corresponding to the calculation result of the calculation program; the port module 204 includes an interface for connecting to an external power supply and a second chip 102, and is used to connect to an external power supply and a second chip.
[0087] Optionally, the storage module 201 includes 64K bytes ROM and 160 bytes RAM, and the first voice program is stored in the 64K bytes ROM.
[0088] Optionally, the processing module 202 includes an 8-bit RISC Processor, an 8-bit processor using a Reduced Instruction Set Computer (RISC) architecture.
[0089] In a possible embodiment, Figure 3 FIG. 1 is a schematic diagram of another computing circuit provided in an embodiment of the present application. Figure 3 In the figure, the voice output module 203 includes an automatic reload timer 301 and a pulse width modulation (English name: Pulse Width Modulation, abbreviated as PWM) module 302; the automatic reload timer 301 is connected to the storage module 201, the port module 204 and the PWM module 302; the automatic reload timer 301 is used to generate a periodic signal based on the processing module 202; the PWM module 302 is used to control the duty cycle of the output waveform according to the periodic signal, thereby obtaining an audio signal of a corresponding frequency, and transmitting the audio signal to the speaker 104.
[0090] Optionally, the auto-reload timer 301 may be a 16-bit auto-reload timer, which may count from 0 to 65535 (ie, 2^16-1).
[0091] Based on this circuit, audio signals of different frequencies can be realized by outputting the duty cycle of the waveform. For example, the waveforms corresponding to the audio signals corresponding to the numbers "0", "1", "2" ... "9" are set to different duty cycles. Then, when the target object types the numbers "0", "1", "2" ... "9", the voice tones corresponding to different numbers are different.
[0092] In a possible embodiment, Figure 4 FIG. 1 is a schematic diagram of another computing circuit provided in an embodiment of the present application. Figure 4In the embodiment, the first chip 101 further includes a time base module 401 and an oscillator 402; the oscillator 402 is connected to the time base module 401, and the oscillator 402 and the time base module 401 are respectively connected to the storage module 201, the processing module 202, and the voice output module 203; the oscillator 402 is used to generate a stable clock signal, and the frequency of the clock signal corresponds to the processing rate of the processing module 202; the time base module 401 is used to adjust the frequency of the output audio according to the clock signal so that the voice output module 203 adjusts the frequency of the output audio according to the clock signal. The specific adjustment method can be achieved by adjusting the duty cycle of the output waveform through the PWM module.
[0093] Optionally, the frequency of oscillator 402 is a 32.768KHz oscillator.
[0094] In a possible embodiment, Figure 5 FIG. 1 is a schematic diagram of another computing circuit provided in an embodiment of the present application. Figure 5 In the embodiment, the first chip 101 also includes an interrupt control module 501 and a wake-up control module 502; the interrupt control module 501 and the wake-up control module 502 are respectively connected to the storage module 201, the processing module 202, and the voice output module 203; the interrupt control module 501 is used to manage internal or externally triggered interrupt requests so that the processing module 202 interrupts the current processing event; the wake-up control module 502 is used to wake up the processing module.
[0095] Based on this computing circuit, it is possible to interrupt operation in specific scenarios, thereby saving power consumption.
[0096] In a possible embodiment, Figure 6 FIG. 1 is a schematic diagram of another computing circuit provided in an embodiment of the present application. Figure 6 In the embodiment, the first chip 101 further includes a low voltage reset module 601; the low voltage reset module 601 is connected to the storage module 201, the processing module 202, and the voice output module 203, and is used to trigger a reset when the voltage of the external power supply is lower than a preset threshold.
[0097] In a possible embodiment, Figure 7 FIG. 1 is a schematic diagram of another computing circuit provided in an embodiment of the present application. Figure 7In the embodiment, the first chip 101 also includes a display module 701, and the display module 701 includes a storage unit 701A and a driving unit 701B; the storage unit 701A and the driving unit 701B are respectively connected to the storage module 201, the processing module 202, and the voice output module 203; the storage unit 701A is used to store display data, which can be data typed by the target object or data generated by the processing module, and no specific restrictions are made here; the driving unit 701B is used to convert the display data into pixels for screen display.
[0098] In a possible embodiment, Figure 8 FIG. 1 is a schematic diagram of another computing circuit provided in an embodiment of the present application. Figure 8 In the embodiment, the second chip 102 includes a central processing unit (CPU) 801, a memory 802, an external port 803, and a control module 804; the CPU 801 is connected to the memory 802, the external port 803, and the control module 804 respectively, the external port 803 is connected to the first chip 101, and the control module 804 is connected to the speaker 104; the memory 802 is used to store the second voice program; the CPU 801 is used to execute the second voice program to obtain a voice result; the control module 804 is used to control the voice result and transmit the control result to the speaker 104.
[0099] Optionally, the memory 802 includes a static random access memory (full name in English: Static Random Access Memory, abbreviated as SRAM), a one-time programmable read-only memory (full name in English: One-Time Programmable Read-Only Memory, abbreviated as OTP PROM), and a one-time programmable dynamic read-only memory (full name in English: One-Time Programmable Dynamic Read-Only Memory, abbreviated as OTP DROM).
[0100] Optionally, the control module 804 includes a signal processor and a PWM digital-to-analog converter generator; the signal processor is connected to the PWM digital-to-analog converter generator and the CPU; the PWM digital-to-analog converter generator is used to adjust the voice result to obtain an audio adjustment signal; the signal processor is used to optimize the audio adjustment signal to obtain an audio optimization result.
[0101] In a possible embodiment, any of the above-mentioned calculation circuits further includes a switch module 901, such as Fig. 9 , which is a schematic diagram of the structure of the switch module provided in the embodiment of the present application. Fig. 9 In the figure, the switch module 901 includes a first impedance 901A, a diode 901B, a transistor 901C, and a second impedance 901D; one end of the first impedance 901A is connected to an external power supply, and the other end is connected to the positive electrode of the diode 901B, the negative electrode of the diode 901B is connected to the collector of the transistor 901C, the emitter of the transistor 901C is grounded, and the base of the transistor 901C is connected to the second chip 102; the switch module 901 is used to control the power supply of the second chip 102 to be turned on or off.
[0102] In a possible embodiment, any of the above-mentioned computing circuits further includes a voice configuration module 1001, such as Fig.10 FIG. 1 is a schematic diagram of the structure of the voice configuration module provided in the embodiment of the present application. Fig.10 In the embodiment, the voice configuration module 1001 includes a first switch 1001A, a second switch 1001B and a third switch 1001C; one end of each of the first switch 1001A, the second switch 1001B and the third switch 1001C is connected to an external power supply, and the other end is connected to the second chip 102.
[0103] Fig.10 In the example, when the first switch 1001A is turned on, the voice function of the computing circuit is turned on, and when the first switch 1001A is turned off, the voice function is turned off; when the second switch 1001B is turned on and the third switch 1001C is turned off, the voice function corresponds to one voice; when the second switch 1001B is turned off and the third switch 1001C is turned on, the voice function corresponds to two voices; when the second switch 1001B and the third switch 1001C are turned on or off at the same time, the voice function corresponds to three voices. It should be noted that the different types of voices here can be different national languages or different ethnic languages, mainly referring to different language categories.
[0104] In a possible embodiment, any of the above-mentioned computing circuits further includes a voltage stabilizing module, which includes a ceramic capacitor and an electrolytic capacitor; one end of each of the ceramic capacitor and the electrolytic capacitor is connected to the external power supply and the second chip, and the other end is grounded; the ceramic capacitor is used for high-frequency decoupling of the external power supply; the electrolytic capacitor is used for low-frequency decoupling of the external power supply. Based on the voltage stabilizing module, the external power supply connected to the second chip can be de-noised, thereby achieving the effect of stabilizing the voltage and protecting the second chip from being burned by overcurrent.
[0105] In order to further illustrate the embodiments of the present application, the following is an explanation through specific examples. Fig.11 The figure shows an example structure of a computing circuit.
[0106] exist Fig.11 In the embodiment, two chips are included, and the first chip includes:
[0107] 32.768KHz Oscillator&Time Base: Oscillator and time base module. This oscillator provides a stable 32.768KHz clock signal. The time base module (Time Base) uses this clock signal to generate precise time intervals for timer and PWM modules.
[0108] One 16-bit Auto Reload Timers: This is a 16-bit auto reload timer, which can set a count value. When the counter reaches this value, it will automatically reload and restart counting. The timer can be used to generate periodic interrupts to achieve timing operations.
[0109] PWM: The PWM module receives the clock signal from the time base module and adjusts the duty cycle of the output signal according to the timer settings. It can be used to control the duty cycle of audio models.
[0110] 8-bit RISC Processor: This is the central processing unit of the microcontroller, responsible for executing program instructions, including calculation programs and voice programs.
[0111] Interrupt / Wakeup Control: The interrupt control module manages interrupt requests, allowing the processor to respond to external or internal events; wakeup control is used to wake up the processor in low-power mode.
[0112] Low Voltage Reset: The low voltage reset function triggers a reset when the power supply voltage drops below a certain threshold to protect the microcontroller from operating under unstable power supply conditions.
[0113] ROM and RAM: 64K bytes of ROM is used to store fixed program code or data, usually read-only; 160 bytes of RAM provides temporary data storage for data operations during processor runtime; voice programs are stored in ROM.
[0114] LCD RAM & LCD Driver: LCD RAM is used to store data for LCD display, while LCD driver is responsible for converting this data into pixels on the screen. The configuration of 33Segments X 5Commons means that 33 segments and 5 commons can be controlled to drive the LCD display.
[0115] I / O Ports: Port module, 12 I / O ports are used to communicate with external devices and can be configured as input or output. IOAB3 and IOCD0 are specific I / O ports used for specific functions or connections. Here they are used to plug in a second chip to expand the language types.
[0116] AUDP and AUDN: These may be audio-related output ports, used to output audio signals.
[0117] The second chip includes:
[0118] 4-Bit RISC CPU Core: This is the core processing unit of the microcontroller and is responsible for executing program instructions. The 4-bit RISC (Reduced Instruction Set Computer) CPU is designed to execute a simple instruction set efficiently.
[0119] SRAM: 256x4 static random access memory (SRAM) is used to store temporary data and program variables.
[0120] OTP PROM: 8K words of one-time programmable read-only memory (OTP PROM) is used to store fixed program code or data. Once programmed, the content cannot be changed.
[0121] OTP DROM: 496K words of one-time programmable read-only memory (OTP DROM) is used to store larger program codes or data. Once programmed, the content cannot be changed.
[0122] LVR (Low Voltage Reset): The low voltage reset circuit triggers a reset when the power supply voltage falls below a certain threshold to protect the microcontroller from operating under unstable power supply conditions.
[0123] WDT (Watchdog Timer): The watchdog timer is used to monitor the operating status of the microcontroller. If the microcontroller stops responding for some reason, the watchdog timer can trigger a reset to resume normal operation.
[0124] RCOSC (32MHz oscillator): The internal 32MHz RC oscillator provides the clock signal for driving the CPU and other timing-sensitive modules.
[0125] Port A,B,C,D,E: These are the input / output ports of the microcontroller and are used to communicate with external devices. Each port can be configured as input or output mode.
[0126] OP Amp / Schmitt: Operational amplifiers and Schmitt triggers are used for signal processing such as amplification and shaping.
[0127] Comparator1 / Comparator2: Comparator is used to compare two voltage values and generate an output signal based on the comparison result.
[0128] 38KHz Modulator: A 38KHz modulator might be used in infrared communications or other applications that require a 38KHz carrier.
[0129] PWM DAC Gen.: PWM digital-to-analog converter generator is used to generate accurate analog voltages, simulating continuous voltage values through the duty cycle of the PWM signal.
[0130] PWMN, PWMP: These are the PWM output pins, which are used to control the speaker.
[0131] The working principle of the whole system is that the 4-bit RISC CPU controls each module according to the voice program instructions stored in SRAM or OTP memory. The CPU communicates with external devices through I / O ports and controls the waveform duty cycle corresponding to the voice signal through modules such as PWM, comparator and operational amplifier, so that different frequencies of voice can be corresponding to different keyed numbers. LVR and WDT provide system stability and fault recovery mechanism. RCOSC provides the clock signal required for system operation.
[0132] The first chip contains one voice program, and the second chip contains three voice programs, which can realize the switching of four different voices in total. The detailed diagram of the calculation circuit for realizing the voice function switching can be referred to Fig.12 .
[0133] exist Fig.12 In the figure, KT-350 is the first chip and SOP16 is the second chip. The upper right corner of the figure shows the circuit diagram corresponding to different keys of the keyboard. Click the "Voice" key to switch the voice. The voice type configuration is based on the switches S1, S2, and S3 shown in the lower right corner of the figure. When S2 is turned on and S3 is turned off, 1 voice is configured; when S2 is turned off and S3 is turned on, 2 voices are configured; when S2 and S3 are turned on or off at the same time, 3 voices are configured; S1 is used to control the opening or closing of the voice. If S1 is turned off, the voice function is turned off, and if S1 is turned on, the voice function is enabled.
[0134] In addition, the component "32768" in the figure represents a 32.768kHz crystal oscillator, "RESET" is the reset button, C1 is a capacitor, and the box on the left side of the figure represents Fig.11 LCD RAM & LCD Driver in.
[0135] In addition, the component "NTC-103H343F" is a negative temperature coefficient thermistor, RR is a 10kΩ precision resistor, C3 is a filter capacitor, IOCD1, IOCD2, and IOCD3 are all connected to the chip KT-350. This part of the circuit is used to monitor the temperature changes of the chip.
[0136] In addition, in this circuit, when S1 is in the OFF state, the IOEF6 pin connected to it is set to 12-bit mode; when S1 is in the ON state, the IOEF6 pin is set to 10-bit mode. When S2 is in the OFF state, the IOEF7 pin connected to it indicates that there is no calendar function; when S2 is in the ON state, the IOEF7 pin connected to it indicates that there is a calendar function.
[0137] The working principle between the first chip and the second chip will not be described in detail here.
[0138] On the other hand, an embodiment of the present application further provides a computing device, the computing device comprising any of the above computing circuits. Fig.13 The figure shows a schematic diagram of the structure of a computing device.
[0139] It should be noted that the accompanying drawings are merely examples and are not limitations on the circuit diagram structure, wherein the various circuit schematics may be in a parallel relationship or a progressive relationship, may be combined with each other, or the circuit units in the various circuit schematics may be combined with reference to each other. The specific combination method is not limited in the embodiments of the present application.
[0140] Although the preferred embodiments of the present invention 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 that fall within the scope of the present invention.
[0141] 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. A computing circuit, characterized in that: include: A first chip, a second chip, a command acquisition module, and a speaker; The first chip is connected to the second chip, a speaker, an external power supply, and the instruction acquisition module, and the second chip is connected to the speaker and the external power supply; The first chip stores a computing program and a first voice program, and the second chip stores a second voice program; The instruction collection module is used to collect the voice selection instructions input by the target object; The first chip is used to execute the computing program, and execute the first voice program when the voice selection instruction indicates that the first voice program is selected; The second chip is used to execute the second voice program when the voice selection instruction represents the selection of the second voice program.
2. The circuit according to claim 1, characterized in that: The first chip includes a storage module, a processing module, a voice output module, and a port module; The storage module is connected to the processing module and the voice output module respectively, the processing module is connected to the voice output module and the port module respectively, the voice output module is connected to a speaker, the speaker and the port module are connected to the second chip respectively, and the port module is connected to an external power supply and the instruction acquisition module; Wherein, the storage module stores a computing program and a first voice program; The processing module is used to execute the computing program and the first voice program; The voice output module is used to transmit the execution result of the first voice program to the speaker and output it in an audio manner, wherein the execution result includes the voice result corresponding to the calculation result of the calculation program; The port module includes an interface for connecting to an external power source and the second chip, and is used for connecting to the external power source and the second chip.
3. The circuit according to claim 2, characterized in that: The voice output module includes an automatic reload timer and a pulse width modulation (PWM) module; The automatic reload timer is connected to the storage module, the port module and the PWM module; The automatic reload timer is used to generate a periodic signal based on the processing module; The PWM module is used to control the duty cycle of the output waveform according to the periodic signal, thereby obtaining an audio signal of a corresponding frequency, and transmitting the audio signal to the speaker.
4. The circuit according to claim 2, characterized in that: The first chip also includes an oscillator and a time base module; The oscillator is connected to the time base module, and the oscillator and the time base module are connected to the storage module, the processing module, and the speech output module respectively; The oscillator is used to generate a stable clock signal, the frequency of the clock signal corresponds to the processing rate of the processing module; The time base module is used to enable the voice output module to adjust the frequency of the output audio according to the clock signal.
5. The circuit according to claim 2, characterized in that: The first chip also includes an interrupt control module and a wake-up control module; The interrupt control module and the wake-up control module are connected to the storage module, the processing module, and the voice output module respectively; The interrupt control module is used to manage interrupt requests so that the processing module interrupts the current processing event; The wake-up control module is used to wake up the processing module.
6. The circuit according to claim 2, characterized in that: The first chip also includes a low voltage reset module; The low-voltage reset module is connected to the storage module, the processing module, and the voice output module, and is used to trigger a reset when the voltage of the external power supply is lower than a preset threshold.
7. The circuit as claimed in claim 2, characterized in that The first chip further includes a display module, and the display module includes a storage unit and a driving unit; The storage unit and the driving unit are connected to the storage module, the processing module and the voice output module respectively; The storage unit is used to store display data; The driving unit is used to convert the display data into pixels.
8. The circuit according to claim 1, characterized in that The second chip includes a CPU, a memory, an external port, and a control module; The CPU is connected to the memory, the external port, and the control module respectively, the external port is connected to the first chip, and the control module is connected to the speaker; The memory is used to store the second voice program; The CPU is used to execute the second voice program to obtain a voice result; The control module is used to control the speech result and transmit the control result to the speaker.
9. The circuit according to claim 8, characterized in that The memory includes a static random access memory SRAM, a one-time programmable read-only memory OTP PROM, and a one-time programmable dynamic read-only memory OTP DROM.
10. The circuit according to claim 8, characterized in that The control module includes a signal processor and a PWM digital-to-analog converter generator; The signal processor is connected to the PWM digital-to-analog converter generator and the CPU; The PWM digital-to-analog converter generator is used to adjust the speech result to obtain an audio adjustment signal; The signal processor is used to optimize the audio adjustment signal to obtain an audio optimization result.
11. The circuit according to claim 1, characterized in that: Also included is a switch module; The switch module includes a first impedance, a diode, a triode, and a second impedance; One end of the first impedance is connected to the external power supply, and the other end is connected to the anode of the diode, the cathode of the diode is connected to the collector of the transistor, the emitter of the transistor is grounded, and the base of the transistor is connected to the second chip; The switch module is used to control the power supply of the second chip to be turned on or off.
12. The circuit according to claim 1, characterized in that Also includes voice configuration module; The voice configuration module includes a first switch, a second switch and a third switch; One end of each of the first switch, the second switch and the third switch is connected to the external power supply, and the other end is connected to the second chip; Among them, when the first switch is turned on, the voice function of the circuit is turned on, and when the first switch is turned off, the voice function is turned off; when the second switch is turned on and the third switch is turned off, the voice function corresponds to one voice; when the second switch is turned off and the third switch is turned on, the voice function corresponds to two voices; when the second switch and the third switch are turned on or off at the same time, the voice function corresponds to three voices.
13. The circuit according to claim 1, characterized in that It also includes a voltage regulator module; The voltage stabilizing module includes a ceramic capacitor and an electrolytic capacitor; One end of each of the ceramic capacitor and the electrolytic capacitor is connected to the external power supply and the second chip, and the other end is grounded; The ceramic capacitor is used to perform high-frequency decoupling on the external power supply; The electrolytic capacitor is used for low-frequency decoupling of the external power supply.
14. A computing device, characterized in that The computing device comprises the circuit as claimed in any one of claims 1 to 13.