Switching circuit of power amplifier and electronic equipment

By designing a power amplifier switching circuit in an electronic device, and using a digital signal processor and a switching module to control the switching between the power amplifier, the problem of high cost in an electronic device is solved, and the different playback of the same device is achieved The audio function reduces costs.

CN222089536UActive Publication Date: 2024-11-29HANGZHOU HUACHENG NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420688821.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-03
Publication Date
2024-11-29
Estimated Expiration
2034-04-03

AI Technical Summary

Technical Problem

The need to set up multiple audio playback devices in electronic devices leads to high cost problems.

Method used

Design a switching circuit of a power amplifier, including an audio playback device, a first power amplifier, a second power amplifier, a digital signal processor and a switching module, and control the switching module by outputting different levels through the digital signal processor to realize the first Switching between the power amplifier and the second power amplifier drives the same audio playback device to play different audio.

Benefits of technology

It realizes audio playback without setting up two audio playback devices, reducing the cost of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222089536U_ABST
    Figure CN222089536U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a switching circuit of a power amplifier and electronic equipment, and the switching circuit of the power amplifier comprises audio playing equipment; the output end of the first power amplifier is connected with the audio playing equipment; the output end of the second power amplifier is connected with the audio playing equipment; the digital signal processor is connected with the switching module, and the digital signal processor is further connected with the input end of the first power amplifier; the output end of the switching module is connected with the input end of the second power amplifier, and the input end of the switching module is connected with the digital signal processor; and the digital signal processor is used for outputting a first level under the condition that the first playing signal is received, and is also used for outputting a second level under the condition that the second playing signal is received. According to the utility model, the effect of reducing the cost is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the utility model relate to the field of switching of power amplifiers, and in particular to a switching circuit and electronic equipment of a power amplifier. Background Art

[0002] In the related art, different audio playback devices can be set in electronic devices to play different audios. Take the electronic device as a smart door lock and the audio playback device as a speaker as an example: Figure 1 It is a schematic diagram of the structure of a smart door lock in the related art, such as Figure 1 As shown in the figure, with the popularity of smart door locks, smart locks have more and more functions, and smart locks have more and more speakers, mainly including local voice speakers and video intercom speakers. In the related art, smart locks usually use two speakers, one for local voice playback and one for intercom when pulling video streams, which increases the cost of smart locks.

[0003] It can be seen from this that in the related art, there is a problem that an electronic device needs to be equipped with multiple audio playback devices, resulting in high costs.

[0004] Currently, no effective solution has been proposed for the above-mentioned problems existing in the related technologies. Utility Model Content

[0005] The embodiments of the utility model provide a switching circuit of a power amplifier and an electronic device, so as to at least solve the problem in the related art that the electronic device needs to be equipped with multiple audio playback devices, resulting in high cost.

[0006] According to an embodiment of the utility model, a switching circuit of a power amplifier is provided, comprising: an audio playback device; a first power amplifier, wherein an output end of the first power amplifier is connected to the audio playback device; a second power amplifier, wherein an output end of the second power amplifier is connected to the audio playback device; a digital signal processor, wherein the digital signal processor is connected to a switching module, and the digital signal processor is also connected to an input end of the first power amplifier; the switching module, wherein an output end of the switching module is connected to an input end of the second power amplifier, and an input end of the switching module is connected to the digital signal processor; when the first power amplifier receives a first level output by the digital signal processor, the first power amplifier is powered on, and the first power amplifier drives the audio playback device to play a first audio, and when the switching module receives a second level output by the digital signal processor, the switching module outputs the second level, the second power amplifier is powered on, and the second power amplifier drives the audio playback device to play a second audio.

[0007] According to the utility model, the switching circuit of the power amplifier includes an audio player, a first power amplifier, a second power amplifier, a digital signal processor and a switching module. The output ends of the first power amplifier and the second power amplifier are both connected to the audio player, the digital signal processor is connected to the input end of the first power amplifier, and the digital signal processor is also connected to the switching module. When the first power amplifier receives the first level output by the digital signal processor, the first power amplifier is powered on, and the first power amplifier drives the audio player to play the first audio. When the switching module receives the second level output by the digital signal processor, the switching module outputs the second level, the second power amplifier is powered on, and the second power amplifier drives the audio player to play the second audio. When the first audio needs to be played, the digital signal processor can output the first level to drive the audio player to play the first audio through the first power amplifier, and when the second audio needs to be played, the digital signal processor can output the second level, and the switching module can control the second power amplifier to drive the audio player to play the second audio. It is realized that the first power amplifier and the second power amplifier can drive the same audio player to play audio without setting two audio players. Therefore, the problem that the electronic equipment in the related art needs to be equipped with multiple audio players and causes high cost can be solved, thereby achieving the effect of reducing cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 It is a structural schematic diagram of a smart door lock in the related art;

[0009] Figure 2 is a schematic diagram of the switching circuit structure of a power amplifier according to an embodiment of the utility model;

[0010] Figure 3 is a circuit diagram of a switching module according to an embodiment of the utility model;

[0011] Figure 4 It is a schematic diagram of the specific structure of the switching circuit of the power amplifier according to an embodiment of the utility model. DETAILED DESCRIPTION

[0012] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0013] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0014] In this embodiment, a switching circuit of a power amplifier is provided. Figure 2 is a schematic diagram of the switching circuit structure of a power amplifier according to an embodiment of the utility model, such as Figure 2 As shown, the switching circuit of the power amplifier includes:

[0015] Audio playback device 202;

[0016] A first power amplifier 204, an output end of which is connected to the audio playback device;

[0017] A second power amplifier 206, an output end of which is connected to the audio playback device;

[0018] A digital signal processor 208, the digital signal processor is connected to the switching module, and the digital signal processor is also connected to the input end of the first power amplifier;

[0019] The switching module 210, the output end of the switching module is connected to the input end of the second power amplifier, and the input end of the switching module is connected to the digital signal processor;

[0020] When the first power amplifier receives the first level output by the digital signal processor, the first power amplifier is powered on, and the first power amplifier drives the audio playback device to play the first audio. When the switching module receives the second level output by the digital signal processor, the switching module outputs the second level, the second power amplifier is powered on, and the second power amplifier drives the audio playback device to play the second audio.

[0021] In the above embodiments, the switching circuit of the power amplifier can be applied to electronic devices, which may include smart door locks, smart doorbells, video intercoms, etc. Audio playback devices may include speakers, power amplifiers, speakers, etc.

[0022] In the above embodiment, when the switching circuit of the power amplifier is applied in a smart doorbell or a smart door lock, the first power amplifier can play the audio of the video intercom by driving the audio playback device, that is, the first power amplifier can be a video intercom power amplifier, and the first audio is the audio of the video intercom. The second power amplifier can play local audio by driving the audio playback device, that is, the second power amplifier can be a local broadcast power amplifier. The second audio can be a local audio. For example, when the smart doorbell is triggered, the sound that prompts someone to knock on the door is the audio played by driving the audio playback device by the second power amplifier. When the call is connected, you can have a conversation with the person knocking on the door. At this time, the audio of the conversation can be the audio played by the audio playback device determined by the first power amplifier.

[0023] In the above embodiment, the digital signal processor may determine to output a first level when receiving a first playback signal, and the first playback signal may be a signal that a video call of the smart doorbell is connected. The digital signal processor may determine to output a second level when receiving a second playback signal, and the second playback signal may be a signal that the smart doorbell is triggered.

[0024] In the above embodiment, the first level may be a high level or a low level, and the second level may be a low level or a high level. The first level and the second level may be opposite levels.

[0025] According to the utility model, the switching circuit of the power amplifier includes an audio player, a first power amplifier, a second power amplifier, a digital signal processor and a switching module. The output ends of the first power amplifier and the second power amplifier are both connected to the audio player, the digital signal processor is connected to the input end of the first power amplifier, and the digital signal processor is also connected to the switching module. When the first power amplifier receives the first level output by the digital signal processor, the first power amplifier is powered on, and the first power amplifier drives the audio player to play the first audio. When the switching module receives the second level output by the digital signal processor, the switching module outputs the second level, the second power amplifier is powered on, and the second power amplifier drives the audio player to play the second audio. When the first audio needs to be played, the digital signal processor can output the first level to drive the audio player to play the first audio through the first power amplifier, and when the second audio needs to be played, the digital signal processor can output the second level, and the switching module can control the second power amplifier to drive the audio player to play the second audio. It is realized that the first power amplifier and the second power amplifier can drive the same audio player to play audio without setting two audio players. Therefore, the problem that the electronic equipment in the related art needs to be equipped with multiple audio players and causes high cost can be solved, thereby achieving the effect of reducing cost.

[0026] In an exemplary embodiment, the switching module includes: a first switch, the input end of the first switch is connected to the first power supply, the control end of the first switch is connected to the digital signal processor, the output end of the first switch is connected to the second power amplifier, when the control end receives the first level output by the digital signal processor, the first switch is disconnected, when the control end receives the second level output by the digital signal processor, the first switch is turned on, the output end of the first switch outputs the second level to the second power amplifier, and the second power amplifier drives the audio playback device to play the second audio. In this embodiment, the switching module may include the first switch, and the digital signal processor may control the state of the first switch by outputting the first level. For example, when the first level is a high level, the first switch may be disconnected. At this time, the second power amplifier cannot be powered on and cannot drive the audio playback device. When the digital signal processor outputs the second level, such as a low level, the first switch may be turned on, the second power amplifier is powered on, and the audio playback device is driven. That is, the power-off or channel of the second power amplifier may be controlled by the digital signal processor outputting the first level or the second level.

[0027] In the above embodiment, the input end of the first switch can be connected to the first power supply, and the first power supply provides energy for amplifying the audio. The first power supply may include a lithium battery, a storage battery, etc. The control end of the first switch may be connected to the enable pin of the digital signal processor. The enable pin of the digital signal processor may output a first level or a second level. The enable pin of the digital signal processor may also be connected to the first power amplifier. The digital signal processor may include an enable pin, through which the first power amplifier and the control end of the first switch of the switching module are connected. The digital signal processor may also include two enable pins, one connected to the first power amplifier and the other connected to the control end of the first switch of the switching module. When the digital signal processor includes two enable pins, the output voltages of the two enable pins are the same.

[0028] In an exemplary embodiment, the first switch includes: a first field effect transistor and a second field effect transistor; the gate of the first field effect transistor is connected to the digital signal processor, the drain of the first field effect transistor is connected to the first power supply, and the source of the first field effect transistor is connected to the source of the second field effect transistor; the drain of the second field effect transistor is connected to the second power amplifier, and the gate of the second field effect transistor is connected to the digital signal processor. In this embodiment, the first switch may include a first field effect transistor and a second field effect transistor, and the source of the first field effect transistor is connected to the source of the second field effect transistor to prevent the first switch from being turned on when the digital signal processor outputs the first level. The drain of the first field effect transistor is connected to the first power supply, and the gate of the first field effect transistor and the gate of the second field effect transistor are respectively connected to the digital signal processor, such as connected to the enable pin of the digital signal processor.

[0029] In an exemplary embodiment, the switching module also includes: a first resistor, a first end of the first resistor is connected to the gate of the first field effect transistor, and a second end of the first resistor is connected to the digital signal processor; a second resistor, a first end of the second resistor is connected to the second end of the first resistor, and a second end of the second resistor is grounded.

[0030] In an exemplary embodiment, the switching module also includes: a third resistor, a first end of the third resistor is connected to the gate of the second field effect transistor, and a second end of the third resistor is connected to the digital signal processor; a fourth resistor, a first end of the fourth resistor is connected to the second end of the third resistor, and a second end of the fourth resistor is grounded.

[0031] In an exemplary embodiment, the first switch further includes: a fifth resistor, a first end of the fifth resistor is connected to the drain of the second field effect transistor, and a second end of the fifth resistor is grounded.

[0032] In the above embodiment, the switching module circuit diagram can be found in the attached Figure 3 ,like Figure 3As shown, the switching module includes a first field effect tube M1, a second field effect tube M2, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, and a fifth resistor R5. The output VI of the local voice power supply (i.e., the first power supply) is connected to the drain of the field effect tube M1, the source of M1 is connected to the source of M2, the drain of M2 is connected to the input of the VO local voice playback power amplifier (the second power amplifier), the gate of M1 is connected to R1, R1 is connected to R2, and R2 is grounded. R5 is used to quickly discharge the residual voltage of VO, the gate of M2 is connected to R3, R3 is connected to R4, and R4 is grounded. The non-grounded ends of R2 and R4 are connected together to EN, and the DSP pin is connected to EN to control M1 and M2. EN is pulled low by default, the gate of M1 is low, and the source voltage of M1 is higher than the gate voltage due to the presence of the body diode. M1 is turned on, the source voltage of M2 is VI, the gate voltage of M2 is low, the source voltage of M2 is higher than the gate voltage, M2 is turned on, VO is equal to VI, the local power amplifier has power, and the smart lock MCU outputs the audio file (i.e., the second audio), which passes through the local power amplifier to the speaker (i.e., the audio playback device), and the local voice Normal playback, because EN is at a low level, the video intercom power amplifier (i.e., the first power amplifier) ​​cannot work, and the video intercom voice cannot be played normally. When the video intercom voice needs to be played, the smart lock DSP will control EN to become a high level, the gate and source of M1 are both high levels, M1 is disconnected, the gate voltage of M2 is higher than the source voltage, M2 is disconnected, VI and VO are disconnected, and the local broadcast power amplifier has no power. At this time, the video intercom power amplifier enable is turned on, and the smart lock DSP outputs the audio file, which passes through the video intercom power amplifier to the speaker, and the video intercom voice is played normally.

[0033] In an exemplary embodiment, the switching circuit of the power amplifier further includes: a second power supply, the second power supply is connected to the first power amplifier and is used to power the first power amplifier. In this embodiment, the second power supply can be a local voice power supply, such as a dry cell, a storage battery, etc.

[0034] In an exemplary embodiment, the digital signal processor is further configured to output the first audio to the first power amplifier. In this embodiment, the first audio may be audio output by the digital signal processor.

[0035] In an exemplary embodiment, the switching circuit of the power amplifier further includes a microprocessor, and the microprocessor is connected to the second power amplifier and is used to output the second audio to the second power amplifier. Figure 4 ,like Figure 4As shown, it includes a smart lock DSP (i.e., digital signal processor), a smart lock MCU (i.e., microprocessor), a video intercom power amplifier (i.e., a first power amplifier), a local broadcast power amplifier (i.e., a second power amplifier), a hardware switching module (i.e., a switching module), a local voice power supply (i.e., a first power supply), a video intercom power supply (i.e., a second power supply), and a speaker (i.e., an audio playback device). The local voice and video intercom voice speakers are switched through the hardware switching module, so that both the local voice and the video intercom voice can be played with only one speaker. The number of speakers is reduced, and two audios can be played through one speaker.

[0036] In the aforementioned embodiment, only one speaker is needed to play the local voice and the video intercom voice, which reduces the cost of the smart lock. The local voice and the video intercom voice are played mutually exclusively, and the local voice will not be recorded during the video intercom, resulting in howling.

[0037] In this embodiment, an electronic device is also provided, comprising the switching circuit of the power amplifier as described in any of the above embodiments. In this embodiment, the electronic device may include a smart door lock, a smart doorbell, etc.

[0038] Obviously, those skilled in the art should understand that the modules or steps of the utility model described above can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the utility model is not limited to any specific combination of hardware and software.

[0039] The above description is only a preferred embodiment of the utility model and is not intended to limit the utility model. For those skilled in the art, the utility model may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the utility model shall be included in the protection scope of the utility model.

Claims

1. A switching circuit of a power amplifier, characterized in that: include: Audio playback equipment; a first power amplifier, wherein an output end of the first power amplifier is connected to the audio playback device; a second power amplifier, wherein an output end of the second power amplifier is connected to the audio playback device; A digital signal processor, the digital signal processor is connected to the switching module, and the digital signal processor is also connected to the input end of the first power amplifier; The switching module, wherein the output end of the switching module is connected to the input end of the second power amplifier, and the input end of the switching module is connected to the digital signal processor; When the first power amplifier receives the first level output by the digital signal processor, the first power amplifier is powered on, and the first power amplifier drives the audio playback device to play the first audio. When the switching module receives the second level output by the digital signal processor, the switching module outputs the second level, the second power amplifier is powered on, and the second power amplifier drives the audio playback device to play the second audio.

2. The switching circuit of the power amplifier according to claim 1, characterized in that: The switching module comprises: A first switch, wherein an input end of the first switch is connected to a first power supply, a control end of the first switch is connected to the digital signal processor, and an output end of the first switch is connected to the second power amplifier. When the control end receives the first electrical level output by the digital signal processor, the first switch is disconnected. When the control end receives the second electrical level output by the digital signal processor, the first switch is turned on. The output end of the first switch outputs the second electrical level to the second power amplifier, and the second power amplifier drives the audio playback device to play the second audio.

3. The switching circuit of the power amplifier according to claim 2, characterized in that: The first switch comprises: A first field effect transistor and a second field effect transistor; The gate of the first field effect transistor is connected to the digital signal processor, the drain of the first field effect transistor is connected to the first power supply, and the source of the first field effect transistor is connected to the source of the second field effect transistor; The drain of the second field effect transistor is connected to the second power amplifier, and the gate of the second field effect transistor is connected to the digital signal processor.

4. The switching circuit of the power amplifier according to claim 3, characterized in that: The switching module also includes: a first resistor, wherein a first end of the first resistor is connected to the gate of the first field effect transistor, and a second end of the first resistor is connected to the digital signal processor; A second resistor, wherein a first end of the second resistor is connected to a second end of the first resistor, and a second end of the second resistor is grounded.

5. The switching circuit of the power amplifier according to claim 3, characterized in that: The switching module also includes: a third resistor, wherein a first end of the third resistor is connected to the gate of the second field effect transistor, and a second end of the third resistor is connected to the digital signal processor; A fourth resistor, wherein a first end of the fourth resistor is connected to the second end of the third resistor, and a second end of the fourth resistor is grounded.

6. The switching circuit of the power amplifier according to claim 3, characterized in that: The switching module also includes: A fifth resistor, wherein a first end of the fifth resistor is connected to the drain of the second field effect transistor, and a second end of the fifth resistor is grounded.

7. The switching circuit of the power amplifier according to claim 1, characterized in that: The switching circuit of the power amplifier further includes: A second power supply is connected to the first power amplifier and is used to supply power to the first power amplifier.

8. The switching circuit of the power amplifier according to claim 1, characterized in that: The digital signal processor is further configured to output the first audio to the first power amplifier.

9. The switching circuit of the power amplifier according to claim 1, characterized in that: The switching circuit of the power amplifier further includes a microprocessor, which is connected to the second power amplifier and is used to output the second audio to the second power amplifier.

10. An electronic device, characterized in that: A switching circuit comprising a power amplifier as claimed in any one of claims 1 to 9.