An application of embedded main and standby audio switching circuit

By designing an embedded audio switching circuit and using signal verification to automatically switch backup audio, it solves the problems of delay and byte loss in traditional audio switching circuits when failures occur, ensuring the stability and reliability of the exam process.

CN115334410BActive Publication Date: 2024-09-24GUANGDONG MESPAL TECHNOLOGY CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202210908645.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2024-09-24
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

The traditional audio switching circuit has problems of delay and audio byte loss when it fails, and the backup solution is inconvenient to maintain, which affects the smooth progress of the exam.

Method used

Design an application embedded main and backup audio switching circuit, including switching module, speaker, analog broadcast module, audio step-down transformer, computer terminal, switch and network broadcast module. Automatic switching of backup audio is achieved through signal verification to ensure no delay. and no bytes lost.

Benefits of technology

It realizes automatic switching of backup audio in case of failure, ensuring no delay and no audio loss during the examination, simplifying system maintenance, and improving the stability and reliability of the examination.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115334410B
    Figure CN115334410B
Patent Text Reader

Abstract

The embodiment of the present invention discloses an application embedded main-standby audio switching circuit, including a switching module, a speaker, an analog broadcast module, an audio step-down transformer, a computer terminal, a switch and a network broadcast module; the switching module is connected to the speaker; the analog broadcast module, the audio step-down transformer and the switching module are connected in sequence; the computer terminal, the switch, the network broadcast module and the switching module are connected in sequence, and the network broadcast module is used to receive and output the network broadcast signal sent by the computer terminal; the network broadcast module is connected to the control end of the switching module and is used to send a control signal to the control end of the switching module according to the network broadcast signal, and the switching module is used to control the speaker to be connected to the analog broadcast module or the network broadcast module according to the control signal. By adopting the embodiment of the present invention, the backup audio can be automatically switched in case of a fault, which has the advantage of no delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio playback, and in particular to an embedded main-standby audio switching circuit. Background Art

[0002] Audio switching circuits are used in some important transmission occasions, such as during the middle school entrance examination or the college entrance examination. They are responsible for playing the listening content and test instructions. Once the broadcasting system fails during the examination, the examination will not be able to proceed normally, causing the examination to be delayed. Therefore, in such important audio use places, the organizers will prepare backup plans. Once the main system fails, the backup plan will be immediately activated to ensure that the examination is not interrupted.

[0003] like Figure 1 As shown, some traditional backup plans use a series of line detections to achieve automatic backup, which not only poses a risk of audio byte loss but also makes the entire system inconvenient to maintain. Other backup plans use pre-prepared portable players to play the backup audio, which not only increases the workload of the invigilator, but also easily leads to inconsistent playback order between adjacent examination rooms, affecting students' listening and answering of questions. Summary of the invention

[0004] The technical problem to be solved by the embodiments of the present invention is to provide an embedded main-backup audio switching circuit, which can automatically switch to the backup audio when a fault occurs and has the advantage of no delay.

[0005] In order to solve the above technical problems, on the one hand, an embodiment of the present invention provides an embedded master-standby audio switching circuit, including a switching module, a speaker, an analog broadcast module, an audio step-down transformer, a computer terminal, a switch and a network broadcast module; the switching module is connected to the speaker; the analog broadcast module, the audio step-down transformer and the switching module are connected in sequence, and the analog broadcast module is used to access, back up and output analog broadcast signals; the computer terminal, the switch, the network broadcast module and the switching module are connected in sequence, and the network broadcast module is used to receive and output network broadcast signals sent by the computer terminal; the network broadcast module is connected to the control end of the switching module and is used to send a control signal to the control end of the switching module according to the network broadcast signal, and the switching module is used to control the speaker to be connected to the analog broadcast module or the network broadcast module according to the control signal.

[0006] As an improvement of the above-mentioned scheme, the embedded master-slave audio switching circuit also includes a power supply module; the power supply module is connected to the network broadcast module and is used to provide a first working voltage to the network broadcast module, and the network broadcast module is used to send a control signal to the control end of the switching module according to the working voltage and the network broadcast signal.

[0007] As an improvement of the above scheme, the switching module includes a power supply unit, a first transistor, a relay and a freewheeling unit; the armature end of the relay is connected to the speaker, the normally closed end of the relay is connected to the audio step-down transformer, and the normally open end of the relay is connected to the network broadcasting module; one end of the coil in the relay is connected to the second working voltage and grounded through the freewheeling unit, the other end of the coil in the relay is connected to the collector of the first transistor, and the emitter of the first transistor is grounded; the network broadcasting module is connected to the base of the first transistor through the power supply unit, and the power supply unit is used to provide a bias current to the first transistor according to the control signal.

[0008] As an improvement of the above scheme, the power supply unit includes a second transistor, a current limiting resistor, a first voltage dividing resistor, a second voltage dividing resistor and a third voltage dividing resistor; the base of the second transistor is connected to one end of the current limiting resistor, and the other end of the current limiting resistor is connected to the network broadcast module and grounded through the first voltage dividing resistor; the collector of the second transistor is connected to the second working voltage through the second voltage dividing resistor, and the emitter of the second transistor is connected to the base of the first transistor and grounded through the third voltage dividing resistor.

[0009] As an improvement of the above scheme, the freewheeling unit includes a diode and a third triode; the cathode of the diode is connected to the second working voltage, the anode of the diode is respectively connected to the collector of the third triode and the collector of the first triode, and the emitter of the third triode is grounded; the base of the third triode is connected to the emitter of the second triode.

[0010] As an improvement of the above scheme, the power supply module includes a voltage stabilizer, a first filtering unit and a second filtering unit; the input end of the voltage stabilizer is connected to the second working voltage and is grounded through the first filtering unit, and the output end of the voltage stabilizer outputs the first working voltage and is grounded through the second filtering unit.

[0011] As an improvement of the above solution, the first filter unit and the second filter unit both include an electrolytic capacitor and a capacitor connected in parallel.

[0012] As an improvement of the above scheme, the embedded active-standby audio switching circuit also includes a power adapter; the input end of the power adapter is connected to the external alternating current, and the output end of the power adapter is connected to the input end of the voltage regulator and is used to output the second working voltage.

[0013] Implementing the embodiments of the present invention has the following beneficial effects:

[0014] When the embedded main-backup audio switching circuit is in use, when the computer end sends a complete network broadcast signal to the network broadcast module, the signal transmission check passes, and the network broadcast module sends a control signal to the control end of the switching module so that the switching module controls the speaker to be connected to the network broadcast module, and the speaker plays the main audio; when the computer end sends a network broadcast signal with byte loss or error to the network broadcast module (such as when the network signal is poor or disconnected), the signal transmission check fails, and the network broadcast module sends a control signal to the control end of the switching module so that the switching module controls the speaker to be connected to the analog broadcast module, and the speaker plays the backup audio, thereby realizing the function of automatically switching the backup audio, and the switching process has no delay and no byte loss. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a traditional main and standby audio switching circuit;

[0016] Figure 2 It is a principle block diagram of the embedded main-standby audio switching circuit provided by the present invention;

[0017] Figure 3 It is a circuit diagram of an embedded main-standby audio switching circuit provided by the present invention;

[0018] Figure 4 yes Figure 3 An enlarged schematic diagram of the switching module;

[0019] Figure 5 yes Figure 3 An enlarged schematic diagram of the power supply module. DETAILED DESCRIPTION

[0020] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0021] like Figure 2As shown, an embodiment of the present invention provides an embedded active-standby audio switching circuit, including a switching module 1, a speaker 2, an analog broadcast module 3, an audio step-down transformer 4, a computer terminal 5, a switch 6 and a network broadcast module 7; the switching module 1 is connected to the speaker 2; the analog broadcast module 3, the audio step-down transformer 4 and the switching module 1 are connected in sequence, and the analog broadcast module 3 is used to access, back up and output analog broadcast signals; the computer terminal 5, the switch 6, the network broadcast module 7 and the switching module 1 are connected in sequence, and the network broadcast module 7 is used to receive and output network broadcast signals sent by the computer terminal 5; the network broadcast module 7 is connected to the control end of the switching module 1 and is used to send a control signal to the control end of the switching module 1 according to the network broadcast signal, and the switching module 1 is used to control the speaker 2 to be connected to the analog broadcast module 3 or the network broadcast module 7 according to the control signal. As shown Figure 3 As shown, in this embodiment, in order to achieve a stereo playback effect, the number of the speakers 2 and the number of the switching modules 1 are preferably two.

[0022] It should be noted that when the embedded main-backup audio switching circuit is in use, when the computer terminal 5 sends a complete network broadcast signal to the network broadcast module 7, the signal transmission verification is passed, and the network broadcast module 7 sends a control signal to the control end of the switching module 1 so that the switching module 1 controls the speaker 2 to connect with the network broadcast module 7, and the speaker 2 plays the main audio; when the computer terminal 5 sends an incomplete network broadcast signal with missing bytes to the network broadcast module 7 (such as when the network signal is poor or disconnected), the signal transmission verification fails, and the network broadcast module sends a control signal to the control end of the switching module 1 so that the switching module 1 controls the speaker 2 to connect with the analog broadcast module 3, and the speaker 2 plays the backup audio, thereby realizing the function of automatically switching the backup audio, and the switching process has no delay and no bytes are lost. In this embodiment, the network broadcast module 7 is preferably equipped with an MCU, but is not limited to this, and it is sufficient to be able to realize the above functions.

[0023] Furthermore, the embedded active-standby audio switching circuit also includes a power supply module 8; the power supply module 8 is connected to the network broadcast module 7 and is used to provide the network broadcast module 7 with a first working voltage of +3.3V, and the network broadcast module 7 is used to send a control signal to the control end of the switching module 1 according to the working voltage and the network broadcast signal. When the power is off, the network broadcast module does not send any signal to the control end of the switching module 1, and the switching module 1 will also control the speaker 2 to be connected to the analog broadcast module 3, thereby realizing the function of automatically switching the backup audio even when the power is off.

[0024] Specifically, the specific circuit structure of the embedded active-standby audio switching circuit is as follows:

[0025] 1. Switching Module

[0026] Combination Figure 3 and Figure 4 As shown, the switching module 1 includes a power supply unit 11, a first transistor N5, a relay JD2 and a freewheeling unit 12; the armature end of the relay JD2 is connected to the speaker 2, the normally closed end of the relay JD2 is connected to the audio step-down transformer 4, and the normally open end of the relay JD2 is connected to the network broadcasting module 7; one end of the coil in the relay JD2 is connected to the second working voltage +12V and is grounded through the freewheeling unit 12, the other end of the coil in the relay JD2 is connected to the collector of the first transistor N5, and the emitter of the first transistor N5 is grounded; the network broadcasting module 7 is connected to the base of the first transistor N5 through the power supply unit 11, and the power supply unit 11 is used to provide a bias current to the first transistor N5 according to the control signal.

[0027] It should be noted that when the power supply unit 11 sends a high level to the base of the first transistor N5, the first transistor N5 is turned on, the relay JD2 is energized, the armature end of the relay JD2 is connected to the normally open end, and the speaker 2 is connected to the network broadcast module 7; when the power supply unit 11 sends a low level to the base of the first transistor N5, the first transistor N5 is cut off, the relay JD2 is de-energized, the armature end of the relay JD2 is connected to the normally closed end, and the speaker 2 is connected to the analog broadcast module 3.

[0028] Among them, the power supply unit 11 includes a second transistor N2, a current limiting resistor R4, a first voltage dividing resistor R6, a second voltage dividing resistor R2 and a third voltage dividing resistor R8; the base of the second transistor N2 is connected to one end of the current limiting resistor R4, and the other end of the current limiting resistor R4 is connected to the network broadcast module 7 and grounded through the first voltage dividing resistor R6; the collector of the second transistor N2 is connected to the second working voltage +12V through the second voltage dividing resistor R2, and the emitter of the second transistor N2 is connected to the base of the first transistor N5 and grounded through the third voltage dividing resistor R8.

[0029] It should be noted that when the computer terminal 5 sends a complete network broadcast signal to the network broadcast module 7, the network broadcast module 7 sends a high level to the base of the second transistor N2, and the second transistor N2 is turned on to send a high level to the base of the first transistor N5; when the computer terminal 5 sends an incomplete network broadcast signal with missing bytes to the network broadcast module 7 (such as when the network signal is poor or disconnected) or when the network broadcast module 7 is powered off, the network broadcast module 7 sends a low level to the base of the second transistor N2, and the second transistor N2 is turned on to send a low level to the base of the first transistor N5.

[0030] Secondly, the freewheeling unit 12 includes a diode D2 and a third transistor N6; the cathode of the diode D2 is connected to the second operating voltage +12V, the anode of the diode D2 is respectively connected to the collector of the third transistor N6 and the collector of the first transistor N5, and the emitter of the third transistor N6 is grounded; the base of the third transistor N6 is connected to the emitter of the second transistor N2.

[0031] Similarly, the second transistor N2 is turned on, and the third transistor N6 is turned on; the second transistor N2 is turned off, and the third transistor N6 is turned off. The diode D2 is used to protect the first transistor N5 to prevent the first transistor N5 from being broken down by the reverse electromotive force generated by the coil when the relay JD2 is powered off.

[0032] 2. Power supply module

[0033] Combination Figure 3 and Figure 5 As shown, the power supply module 8 includes a voltage stabilizer U1, a first filter unit 81 and a second filter unit 82; the input end of the voltage stabilizer U1 is connected to the second working voltage +12V and is grounded through the first filter unit 81, and the output end of the voltage stabilizer U1 outputs the first working voltage +3.3V and is grounded through the second filter unit 82. Among them, the second working voltage +12V is the working voltage of the power supply unit 11 and the relay JD2, and the first working voltage +3.3V is the working voltage of the network broadcast module 7. Among them, the first filter unit 81 includes an electrolytic capacitor E1 and a capacitor C1 connected in parallel, and the second filter unit 82 includes an electrolytic capacitor E2 and a capacitor C2 connected in parallel, and the electrolytic capacitor E1 and the electrolytic capacitor E2 make the rectified pulsating DC voltage become a relatively stable DC voltage.

[0034] 3. Others

[0035] The embedded active-standby audio switching circuit also includes a power adapter; the input end of the power adapter is connected to the external AC power, and the output end of the power adapter is connected to the input end of the voltage regulator U1 and is used to output the second working voltage +12V.

[0036] In summary, by adopting the embodiment of the present invention, the backup audio can be automatically switched in case of a fault, which has the advantage of no delay.

[0037] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. An embedded main-standby audio switching circuit is characterized in that: Including switching module, speaker, analog broadcast module, audio step-down transformer, computer terminal, switch and network broadcast module; The switching module is connected to the speaker; The analog broadcast module, the audio step-down transformer and the switching module are connected in sequence, and the analog broadcast module is used to access, back up and output analog broadcast signals; The computer terminal, the switch, the network broadcast module and the switching module are connected in sequence, and the network broadcast module is used to receive and output the network broadcast signal sent by the computer terminal; The network broadcast module is connected to the control end of the switching module and is used to send a control signal to the control end of the switching module according to the network broadcast signal, and the switching module is used to control the speaker to communicate with the analog broadcast module or the network broadcast module according to the control signal; The switching module includes a power supply unit, a first transistor, a relay and a freewheeling unit; The armature end of the relay is connected to the speaker, the normally closed end of the relay is connected to the audio step-down transformer, and the normally open end of the relay is connected to the network broadcast module; One end of the coil in the relay is connected to the second working voltage and is grounded through the freewheeling unit, the other end of the coil in the relay is connected to the collector of the first transistor, and the emitter of the first transistor is grounded; The network broadcast module is connected to the base of the first transistor through the power supply unit, and the power supply unit is used to provide a bias current to the first transistor according to the control signal; The power supply unit includes a second triode, a current limiting resistor, a first voltage dividing resistor, a second voltage dividing resistor and a third voltage dividing resistor; The base of the second transistor is connected to one end of the current limiting resistor, and the other end of the current limiting resistor is connected to the network broadcast module and grounded through the first voltage dividing resistor; The collector of the second transistor is connected to the second working voltage through the second voltage-dividing resistor, and the emitter of the second transistor is connected to the base of the first transistor and is grounded through the third voltage-dividing resistor; The freewheeling unit includes a diode and a third triode; The cathode of the diode is connected to the second working voltage, the anode of the diode is connected to the collector of the third transistor and the collector of the first transistor respectively, and the emitter of the third transistor is grounded; The base of the third transistor is connected to the emitter of the second transistor.

2. The embedded active / standby audio switching circuit according to claim 1, characterized in that: Also includes a power supply module; The power supply module is connected to the network broadcast module and is used to provide a first working voltage to the network broadcast module. The network broadcast module is used to send a control signal to the control end of the switching module according to the working voltage and the network broadcast signal.

3. The embedded active / standby audio switching circuit according to claim 2, characterized in that: The power supply module includes a voltage stabilizer, a first filtering unit and a second filtering unit; The input end of the voltage stabilizer is connected to the second working voltage and is grounded through the first filtering unit, and the output end of the voltage stabilizer outputs the first working voltage and is grounded through the second filtering unit.

4. The embedded active / standby audio switching circuit according to claim 3, characterized in that: The first filter unit and the second filter unit both include an electrolytic capacitor and a capacitor connected in parallel.

5. The embedded active / standby audio switching circuit according to claim 3, characterized in that: A power adapter is also included; The input end of the power adapter is connected to the external alternating current, and the output end of the power adapter is connected to the input end of the voltage regulator and is used to output the second working voltage.

Citation Information

Patent Citations

  • Broadcast controller and train broadcast control system

    CN103763053A

  • Audio detection switching module and system

    CN106658330A

  • Uninterrupted audio playing system in case of power failure and network disconnection

    CN113365173A

  • Relay drive circuit with double protection loops

    CN202996719U

  • Power supply management device of massager

    CN204243882U