Self-broadcasting and self-recording processing circuit for testing voice interaction product
By designing speaker load simulation and signal processing circuits, the problem of inter-device interference in the self-play and self-recording test of voice interaction products was solved, achieving efficient and low-cost self-play and self-recording testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2026-03-17
AI Technical Summary
In production testing, existing voice interaction products suffer from poor performance due to interference from adjacent devices during self-play and self-recording tests.
Design a self-playing and self-recording processing circuit that includes a speaker load simulation module, an audio signal acquisition module, an audio signal processing module, a relay control module, and a power supply and reference voltage module. The circuit simulates the speaker electrical load through a resistor R1, isolates the signal through a transformer T1, amplifies the signal through a differential amplifier A1, performs window comparison through operational amplifiers A2 and A3, and controls the audio circuit through a relay Rel to achieve the self-playing and self-recording function.
It provides a realistic testing environment, avoids interference between devices, improves testing accuracy, has a simple structure, low cost, and is suitable for batch testing.
Smart Images

Figure CN224006807U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of voice interaction, specifically a self-playing and self-recording processing circuit for testing voice interaction products. Background Technology
[0002] Voice interaction refers to the use of voice technology to enable natural language communication between humans and devices, allowing devices to "understand" user voice commands and provide corresponding responses. This functionality is based on several core technologies, including Automatic Speech Recognition (ASR), Natural Language Processing (NLP), and Text-to-Speech (TTS), and is widely used in smart homes, in-vehicle systems, and intelligent customer service. Voice interaction offers significant convenience when hands are busy or inconvenient to use a keyboard. Voice input is far more efficient than traditional keyboard input. Research shows that voice input is at least three times faster than traditional input methods, especially when retrieving complex information. Furthermore, voice interaction supports combined command output, allowing users to issue multiple commands at once, which the machine then recognizes and executes individually. Voice interaction can convey more emotional information, enhancing the user experience. Emotions and intonation in speech can better express intentions and feelings, making the interaction more natural and human-like. Voice interaction is not limited by physical space, allowing users to use it in different scenarios. By analyzing user habits and preferences, voice assistants can provide personalized services. Voice assistants can seamlessly connect across different scenarios, providing a consistent user experience.
[0003] Existing voice interaction products typically employ self-playing and self-recording testing in production testing. By recording the user's own audio through a microphone and comparing the broadcast and recording data, the system can determine if there are any faults in the entire self-playing and self-recording loop. However, interference from adjacent devices can cause problems, thus requiring a high level of precision in the production testing environment and affecting the test's effectiveness. Utility Model Content
[0004] To address the aforementioned problems in the existing technology, the purpose of this utility model is to provide a self-playing and self-recording processing circuit for testing voice interaction products, so as to solve the problems mentioned in the background technology.
[0005] To achieve the above objectives, this utility model provides the following technical solution:
[0006] A self-playing and self-recording processing circuit for testing voice interaction products includes a speaker load simulation module, an audio signal acquisition module, an audio signal processing module, a relay control module, and a power supply and reference voltage module. The speaker load simulation module and the audio signal acquisition module are electrically connected. The speaker load simulation module is connected to the output terminal of the audio signal processing module through the relay control module, and the input terminal of the audio signal processing module is electrically connected to the audio signal acquisition module. The power supply and reference voltage module is electrically connected to the audio signal processing module and the relay control module.
[0007] As a further aspect of this utility model: the speaker load simulation module includes a resistor R1, the two ends of which are connected in parallel with the speaker wiring harness.
[0008] As a further embodiment of this utility model: the audio signal acquisition module includes a transformer T1, a resistor R3, a resistor R4, and a resistor R2.
[0009] As a further embodiment of this utility model: the audio signal processing module includes a differential amplifier A1, an operational amplifier A2, an operational amplifier A3, and a resistor R5.
[0010] As a further embodiment of this utility model: the relay control module includes a relay Rel, a transistor Q1, a resistor R6, and a resistor R7.
[0011] As a further embodiment of this utility model: the power supply and reference voltage module includes a power supply VDD, a reference voltage Vr1 and a reference voltage Vr2, wherein the reference voltage Vr1 is 0.8V and the reference voltage Vr2 is 1.2V.
[0012] As a further embodiment of this utility model: one end of the input side of the transformer T1 in the audio signal acquisition module is connected to one end of the resistor R1, and the other end of the resistor R1 is connected to one end of the normally open contact of the relay Rel; the other end of the normally open contact of the relay Rel is connected to the other end of the input side of the transformer T1.
[0013] One end of the output terminal of transformer T1 is connected to one end of resistor R3, and the other end of resistor R3 is connected to microphone harness Mic+.
[0014] The other end of the output terminal of transformer T1 is connected to one end of resistor R4, and the other end of resistor R4 is connected to microphone harness Mic-.
[0015] Resistor R2 is connected in parallel across the output terminals of transformer T1.
[0016] As a further embodiment of this utility model: one end of the electromagnetic coil of the relay Rel in the relay control module is connected to the power supply VDD in the reference voltage module; the other end of the electromagnetic coil of the relay Rel is connected to the collector of the transistor Q1.
[0017] The emitter of transistor Q1 is grounded;
[0018] The base of transistor Q1 is connected to one end of resistor R6, and the other end of resistor R6 is connected to one end of resistor R7.
[0019] The other end of resistor R7 is connected to the power supply VDD in the reference voltage module, and the positive terminals of diodes D1 and D2 are connected to the connection point of resistors R6 and R7.
[0020] The cathode of diode D1 is connected to the output terminal of operational amplifier A2, and the cathode of diode D2 is connected to the output terminal of operational amplifier A3.
[0021] As a further embodiment of this invention: the positive input terminal of the operational amplifier A2 is connected to the output terminal of the differential amplifier A1;
[0022] The negative input terminal of op-amp A3 is connected to the output terminal of differential amplifier A1;
[0023] The positive input terminal of differential amplifier A1 is connected to the microphone harness Mic+, and the negative input terminal of differential amplifier A1 is connected to the microphone harness Mic-.
[0024] Resistor R5 is connected in parallel across microphone harness Mic+ and microphone harness Mic.
[0025] As a further embodiment of this utility model: the reference voltage Vr2 in the reference voltage module is connected to the positive input terminal of the operational amplifier A3, and the reference voltage Vr1 in the reference voltage module is connected to the negative input terminal of the operational amplifier A2 in the relay control module.
[0026] Compared with the prior art, the beneficial effects of this utility model are:
[0027] This invention uses resistor R1 to simulate the electrical load of a speaker, providing a realistic testing environment. The isolated signal output from the secondary side of transformer T1, after impedance matching via R2, is then output to the microphone acquisition device via an attenuation network composed of R3, R4, and R5, resulting in an audio signal of appropriate magnitude. Amplifier A1 efficiently acquires the electrical signal across R5. Since the audio signal and the microphone DC bias voltage differ significantly and are therefore ignored, the output of A1 can be considered the DC component across R5. This DC component can indirectly reflect whether the microphone excitation circuit of the device under test is functioning correctly. Operational amplifiers A2 and A3 perform a window comparison of the microphone bias voltage indirectly output by operational amplifier A1. In this example, the window is (0.8V, 1.2V). Voltage values outside the window will cause the AND logic formed by D1 and D2 to output a low level, shutting down the transistor and relay, ultimately disconnecting the audio loop and triggering the self-playing and self-recording detection function, which will fail to detect the normal closed-loop signal and output an abnormal recording. The structure is simple and reliable, the circuit is compact, and the cost is low, making it suitable for batch testing scenarios. Attached Figure Description
[0028] Figure 1 This is a schematic diagram of the circuit structure of a voice interaction product testing self-play and self-recording processing circuit disclosed in an embodiment. Detailed Implementation
[0029] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present utility model.
[0030] The purpose of this invention is to provide a self-playing and self-recording processing circuit for testing voice interaction products, which can simulate speaker electrical load, collect audio signals and process them, and realize the self-playing and self-recording function through relay control.
[0031] In the description of this utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "installed," "equipped with," "connected," and "linked" should be interpreted broadly; for example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances.
[0032] Please see Figure 1A self-playing and self-recording processing circuit for testing voice interaction products includes a speaker load simulation module, an audio signal acquisition module, an audio signal processing module, a relay control module, and a power supply and reference voltage module.
[0033] The speaker load simulation module and the audio signal acquisition module are powered on and connected.
[0034] The speaker load simulation module is connected to the output of the audio signal processing module through the relay control module, and the input of the audio signal processing module is connected to the audio signal acquisition module through power supply.
[0035] The power supply is connected to the reference voltage module, audio signal processing module, and relay control module.
[0036] The horn load simulation module includes a resistor R1. It is used to simulate the electrical load of a horn. The horn load simulation module is used to simulate the electrical load of a horn, providing a realistic load environment.
[0037] The audio signal acquisition module includes transformer T1, resistors R3, R4, and R2. This module is used to acquire the audio output signal of voice interaction products.
[0038] The audio signal processing module includes differential amplifier A1, operational amplifier A2, operational amplifier A3, and resistor R5. The audio signal processing module is used to amplify and filter the acquired audio signal.
[0039] The relay control module includes a relay Rel, a transistor Q1, resistors R6 and R7. The relay control module is used to control the circuit's operating state, enabling automatic playback and recording functions.
[0040] The power supply and reference voltage module includes power supply VDD, reference voltage Vr1, and reference voltage Vr2. The power supply and reference voltage module provides a stable power supply and reference voltage for the circuit.
[0041] The two ends of the resistor R1 are connected in parallel with the speaker wiring harness. The role of the resistor R1 here is to simulate the electrical load of the speaker.
[0042] Connect the speaker wiring harness of the voice interaction product in parallel with resistor R1 to simulate the electrical load of the speaker.
[0043] One end of resistor R1 is connected to one end of the normally open contact of relay Rel, and the other end of resistor R1 is connected to one end of the input side of transformer T1; the other end of the normally open contact of relay Rel is connected to the other end of the input side of transformer T1.
[0044] One end of the output terminal of transformer T1 is connected to one end of resistor R3, and the other end of resistor R3 is connected to microphone harness Mic+.
[0045] The other end of the output terminal of transformer T1 is connected to one end of resistor R4, and the other end of resistor R4 is connected to microphone harness Mic-. Microphone harnesses Mic+ and Mic- are connected to the output terminal of transformer T1 through resistors R3 and R4 to collect audio output signals.
[0046] Resistor R2 is connected in parallel across the output terminals of transformer T1;
[0047] Resistor R5 is connected in parallel across microphone harness Mic+ and microphone harness Mic.
[0048] One end of the electromagnetic coil of relay Rel is connected to the power supply VDD; the other end of the electromagnetic coil of relay Rel is connected to the collector of transistor Q1.
[0049] The emitter of transistor Q1 is grounded;
[0050] The base of transistor Q1 is connected to one end of resistor R6, and the other end of resistor R7 is connected to the power supply VDD in the reference voltage module. The anodes of diodes D1 and D2 are also connected to one end of resistor R7.
[0051] The cathode of diode D1 is connected to the output terminal of operational amplifier A2, and the cathode of diode D2 is connected to the output terminal of operational amplifier A3.
[0052] The negative input terminal of op-amp A2 is connected to the reference voltage Vr1, and the positive input terminal of op-amp A2 is connected to the output terminal of differential amplifier A1.
[0053] The anodes of diodes D1 and D2 are connected to the junction of resistors R6 and R7. If both D1 and D2 are cut off, the base of transistor Q1 is turned on by the base current provided by R7 and R6, which drives the normally open contact of the relay to close, connecting the circuit of the horn and transformer T1.
[0054] The cathodes of D1 and D2 are connected to the output terminals of A2 and A3, respectively, enabling the logic and control of the outputs of A2 and A3 to turn on the transistor Q1. That is, if any one or both of the outputs of A2 and A3 are low, the base voltage of the transistor will be pulled down, thus disconnecting the power supply circuit of the relay solenoid coil.
[0055] The positive input terminal of op-amp A3 is connected to the reference voltage Vr2, and the negative input terminal of op-amp A3 is connected to the output terminal of differential amplifier A1.
[0056] The positive input terminal of differential amplifier A1 is connected to the microphone harness Mic+, and the negative input terminal of differential amplifier A1 is connected to the microphone harness Mic-. Connecting the positive input terminal of differential amplifier A1 to the microphone harness Mic+ and the negative input terminal to the microphone harness Mic-, and connecting the output terminal to operational amplifiers A2 and A3, amplifies and filters the audio signal.
[0057] Connect the electromagnetic coil of relay Rel to power supply VDD, and connect the normally open contact to the input terminal of transformer T1. Control the operating state of relay Rel through transistor Q1 to achieve the switching of automatic playback and recording functions. Connect power supply VDD to reference voltages Vr1 and Vr2 to provide a stable power supply and reference voltage for the circuit.
[0058] The reference voltage Vr1 is 0.8V, and the reference voltage Vr2 is 1.2V.
[0059] Transformer T1 is an isolation audio transformer.
[0060] This utility model's speaker load simulation module simulates the electrical load of a speaker through resistor R1, providing a realistic load environment.
[0061] The audio signal acquisition module acquires the audio output signal of the voice interaction product through transformer T1, and transmits it to the microphone harness Mic+ and Mic- through resistors R3 and R4.
[0062] The audio signal processing module amplifies the acquired audio signal through differential amplifier A1 and performs filtering through operational amplifiers A2 and A3.
[0063] The relay control module controls the working state of the relay Rel through the transistor Q1, thereby enabling the switching of the automatic playback and recording functions.
[0064] The power supply and reference voltage module provides a stable power supply and reference voltage for the circuit, ensuring that the circuit works properly.
[0065] This invention eliminates the need for a speaker and instead uses a transformer-isolated method to directly acquire audio signals, thus avoiding interference from air conduction and addressing noise isolation issues.
[0066] Specifically, resistor R1 here simulates the electrical load of the speaker; the 8Ω speaker is directly replaced by an 8Ω power resistor to achieve load matching for the PA amplifier output of the device. Transformer T1 is an isolation audio transformer, and the right end of transformer T1 is an equivalent 600Ω output network. Because 600Ω differs significantly from R1's 8Ω, and considering the speaker's own equivalent impedance dispersion difference of 20%, the influence of this 600Ω was not considered when designing resistor R1. Similarly, since high precision is not required, resistor R5 is designed to directly correspond to the microphone's characteristic impedance of 2.2kΩ.
[0067] The output signal of the isolation audio transformer T1 is the sound output of PA. The maximum output signal of this design is 12dBV. For a microphone with a sensitivity of -32dB, the required attenuation is 44dB. According to the voltage divider principle, the attenuation coefficient is: (R5 / / Ri) / (R3+R4+R5 / / Ri), where Ri is the input impedance of the ADC inside the device, and R3=R4.
[0068] That is, 20*log((R5 / 2) / (2R3+(R5 / 2)))=-44dB.
[0069] In the formula: R5 = 2.2kΩ, R3 = R4, and the microphone input impedance on the device is also 2.2kΩ.
[0070] Rounding down, we get: R3 = R4 = 86kΩ;
[0071] For better testing
[0072] In the diagram, differential amplifier A1 takes the voltage across the microphone as differential input and outputs a 0dB in-phase voltage. Its main function is to convert the voltage across the microphone into a 0-gain voltage value relative to ground, which is then compared and processed by the two operational amplifiers.
[0073] Operational amplifiers A2 and A3, diodes D1 and D2 form a window comparator. Only when the microphone is correctly excited (between 0.8 and 1.2V) will the window comparator output high, preventing it from pulling down the base voltage of Q1. The transistor conducts under the excitation of R6 = 4.7kΩ and R7 = 4.7kΩ, driving the relay to close and connecting the audio channel. Otherwise, the audio channel will be disconnected, causing the self-play and self-recording detection to fail.
[0074] This invention uses resistor R1 to simulate the electrical load of a speaker, providing a realistic testing environment. The isolated signal output from the secondary side of transformer T1, after impedance matching via R2, is then output to the microphone acquisition device via an attenuation network composed of R3, R4, and R5, resulting in an audio signal of appropriate magnitude. Amplifier A1 efficiently acquires the electrical signal across R5. Since the audio signal and the microphone DC bias voltage differ significantly and are therefore ignored, the output of A1 can be considered the DC component across R5. This DC component can indirectly reflect whether the microphone excitation circuit of the device under test is functioning correctly. Operational amplifiers A2 and A3 perform a window comparison of the microphone bias voltage indirectly output by operational amplifier A1. In this example, the window is (0.8V, 1.2V). Voltage values outside the window will cause the AND logic formed by D1 and D2 to output a low level, shutting down the transistor and relay, ultimately disconnecting the audio loop and triggering the self-playing and self-recording detection function, which will fail to detect the normal closed-loop signal and output an abnormal recording. The structure is simple and reliable, the circuit is compact, and the cost is low, making it suitable for batch testing scenarios.
[0075] It will be apparent to those skilled in the art that this invention is not limited to the details of the exemplary embodiments described above, and that it can be implemented in other specific forms without departing from the spirit or essential characteristics of this invention. Therefore, the embodiments should be considered exemplary and not restrictive in all respects. The scope of this invention is defined by the appended claims rather than the foregoing description, and therefore all variations falling within the meaning and scope of equivalents of the claims are intended to be included within this invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
[0076] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. A self-playback self-recording processing circuit for voice interactive product testing, characterized by, The utility model relates to a kind of audio signal processing circuit, including loudspeaker load simulation module, audio signal acquisition module, audio signal processing module, relay control module and power supply and reference voltage module;The loudspeaker load simulation module and audio signal acquisition module are electrically connected;Loudspeaker load simulation module is connected by relay control module and the output end of audio signal processing module, and the input end of audio signal processing module and audio signal acquisition module are electrically connected;Power supply and reference voltage module and audio signal processing module, relay control module are electrically connected.
2. The self-play and self-recording processing circuit for voice interaction product test according to claim 1, characterized in that, The loudspeaker load simulation module includes resistance R1, and the two ends of the resistance R1 are connected with loudspeaker wire harness in parallel.
3. The self-play and self-recording processing circuit for voice interaction product testing according to claim 2, characterized in that, The audio signal acquisition module includes transformer T1, resistance R3, resistance R4 and resistance R2.
4. The self-play and self-recording processing circuit for voice interaction product test according to claim 3, characterized in that, The audio signal processing module includes differential amplifier A1, operational amplifier A2, operational amplifier A3 and resistance R5.
5. The self-play and self-recording processing circuit for voice interaction product testing according to claim 4, characterized in that, The relay control module includes relay Rel, triode Q1, resistance R6 and resistance R7.
6. The self-play and self-recording processing circuit for voice interaction product testing according to claim 5, characterized in that, The power supply and reference voltage module includes power supply VDD, reference voltage Vr1 and reference voltage Vr2, the reference voltage Vr1 is 0.8V voltage, and the reference voltage Vr2 is 1.2V voltage.
7. The self-playback and self-recording processing circuit for a voice interaction product test according to claim 6, characterized in that, One end of the input side of the transformer T1 in the audio signal acquisition module is connected with one end of the resistance R1, and the other end of the resistance R1 is connected with one end of the normally open contact of the relay Rel. One end of the output end of the transformer T1 is connected with one end of the resistance R3, and the other end of the resistance R3 is connected with the loudspeaker wire harness Mic+. The other end of the output end of the transformer T1 is connected with one end of the resistance R4, and the other end of the resistance R4 is connected with the loudspeaker wire harness Mic-. The resistance R2 is arranged in parallel between the two ends of the output end of the transformer T1.
8. The self-play and self-recording processing circuit for voice interaction product testing according to claim 7, characterized in that, One end of the electromagnetic coil of the relay Rel in the relay control module is connected with the power supply VDD in the reference voltage module, and the other end of the electromagnetic coil of the relay Rel is connected with the collector of the triode Q1. The emitter of the triode Q1 is grounded. The base of the triode Q1 is connected with one end of the resistance R6, and the other end of the resistance R7 is connected with the power supply VDD in the reference voltage module, and the positive electrode of the diode D1 and the positive electrode of the diode D2 are connected with the connection point of the resistance R6 and the resistance R7. The negative electrode of the diode D1 is connected with the output end of the operational amplifier A2, and the negative electrode of the diode D2 is connected with the output end of the operational amplifier A3.
9. The self-playback self-recording processing circuit for voice interaction product testing according to claim 8, characterized in that, The input positive end of the operational amplifier A2 is connected with the output end of the differential amplifier A1. The input negative end of the operational amplifier A3 is connected with the output end of the differential amplifier A1. The input positive end of the differential amplifier A1 is connected with the loudspeaker wire harness Mic+, and the input negative end of the differential amplifier A1 is connected with the loudspeaker wire harness Mic-. The resistance R5 is arranged in parallel between the loudspeaker wire harness Mic+ and the loudspeaker wire harness Mic.
10. The self-playback self-recording processing circuit for voice interaction product testing according to claim 9, characterized in that, The reference voltage Vr2 in the reference voltage module is connected with the input positive end of the operational amplifier A3, and the reference voltage Vr1 in the reference voltage module is connected with the input negative end of the operational amplifier A2 in the relay control module.