Power supply circuit for sound box and sound box

By designing a power supply circuit in the speaker, using the main control chip to detect the communication protocol of the power supply equipment, and controlling the conduction method of the step-up control chip, it solves the problem of the single function of the Type-C interface in the speaker, and realizes multi-protocol compatible and safe charging and discharging functions.

CN223297392UActive Publication Date: 2025-09-02GANZHOU DEHUIDA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422551205.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-09-02
Estimated Expiration
2034-10-22

AI Technical Summary

Technical Problem

When the existing Type-C interface power supply circuit is used in speakers, it is impossible to achieve compatibility and flexible charging and discharging of multiple communication protocols, resulting in a single function.

Method used

A power supply circuit is designed, including a first interface circuit, a main control chip, a step-up control chip, a switch control circuit and a battery circuit. Through the main control chip, the communication protocol of the power supply equipment is detected, and the conduction mode of the step-up control chip is controlled to realize ordinary power supply and rapid power supply.

Benefits of technology

It realizes multi-protocol compatibility of the Type-C interface in speakers, supports two-way charging and discharging, improves the flexibility and safety of the circuit, and protects the battery and external devices from damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223297392U_ABST
    Figure CN223297392U_ABST
Patent Text Reader

Abstract

The utility model discloses a power supply circuit used for a sound box and the sound box, the power supply circuit comprises a first interface circuit, a main control chip, a buck-boost control chip, a switch control circuit and a battery circuit, the identification output end of the first interface circuit is connected with the identification input end of the main control chip, and the identification output end of the main control chip is connected with the identification input end of the switch control circuit. A first control output end of the main control chip is connected with a control input end of the buck-boost control chip, and a power supply output end of the buck-boost control chip is connected with a power supply input end of the battery circuit; a second control output end of the main control chip is connected with a control input end of the switch control circuit, a first power supply input end of the switch control circuit is connected with a power supply output end of the first interface circuit, and a power supply output end of the switch control circuit is connected with a power supply input end of the buck-boost control chip. The power supply circuit provided by the utility model realizes common power supply and rapid power supply to the battery circuit through the buck-boost control chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of battery power supply, in particular to a power supply circuit for a speaker and the speaker. Background Art

[0002] Currently, the power supply circuits for Type-C interfaces are primarily used in power banks and other mobile power supplies. These products are limited to charging and discharging functions, and most products use a fixed Type-C charging and discharging communication protocol, preventing the coexistence of multiple protocols and programmable communication protocols. The protocol IC has long been fixed. However, as a programmable USB Type-C interface supports various charging and discharging communication protocols, its application in speakers would be more flexible. Various power banks and outdoor power supplies could charge speakers, and speakers could charge various mobile phones. With the Type-C interface being bidirectional and multi-protocol compatible, how to power circuits for speakers and for interfaces with different communication protocols is a pressing issue. Utility Model Content

[0003] The embodiments of the present invention provide a power supply circuit for a speaker and a speaker, so as to solve the circuit power supply problem of the existing Type-C interface applied to the speaker.

[0004] In one embodiment, a power supply circuit for a speaker is provided, the power supply circuit comprising:

[0005] A first interface circuit, a main control chip, a buck-boost control chip, a switch control circuit, and a battery circuit, wherein the identification output terminal of the first interface circuit is connected to the identification input terminal of the main control chip, the first control output terminal of the main control chip is connected to the control input terminal of the buck-boost control chip, and the power supply output terminal of the buck-boost control chip is connected to the power supply input terminal of the battery circuit;

[0006] The second control output end of the main control chip is connected to the control input end of the switch control circuit, the first power supply input end of the switch control circuit is connected to the power supply output end of the first interface circuit, and the power supply output end of the switch control circuit is connected to the power supply input end of the buck-boost control chip.

[0007] In one embodiment, the power supply circuit further includes:

[0008] A protocol detection circuit, wherein a first detection input end of the protocol detection circuit is connected to the protocol communication port of the first interface circuit, and a detection output end of the protocol detection circuit is connected to the protocol communication port of the main control chip.

[0009] In one embodiment, the switch control circuit includes:

[0010] A first switching tube, a second switching tube and a third switching tube, wherein the input end of the first switching tube is connected to the power supply output end of the first interface circuit, the output end of the first switching tube is connected to the input end of the second switching tube, and the output end of the second switching tube is connected to the power supply input end of the buck-boost control chip; the input end of the third switching tube is connected to the control end of the first switching tube and the control end of the second switching tube, the output end of the third switching tube is connected to ground, and the control end of the third switching tube is connected to the second control output end of the main control chip.

[0011] In one embodiment, the power supply circuit further includes:

[0012] An overcurrent detection circuit, wherein a first input end of the overcurrent detection circuit is connected to a current detection end of the first interface circuit, and an output end of the overcurrent detection circuit is connected to an overcurrent control end of the main control chip.

[0013] In one embodiment, the power supply circuit further includes:

[0014] An overvoltage detection circuit, wherein the second input end of the overvoltage detection circuit is connected to the voltage detection end of the first interface circuit, and the output end of the overvoltage detection circuit is connected to the overvoltage control end of the main control chip.

[0015] In one embodiment, the power supply circuit further includes:

[0016] A second interface circuit, wherein the power supply output terminal of the second interface circuit is connected to the second power supply input terminal of the switch control circuit, the current detection terminal of the second interface circuit is connected to the second input terminal of the overcurrent detection circuit, and the protocol communication port of the second interface circuit is connected to the second detection input terminal of the protocol detection circuit; the voltage detection terminal of the second interface circuit is connected to the second input terminal of the overvoltage detection circuit.

[0017] In one embodiment, the model of the main control chip is CSU3AF10.

[0018] In one embodiment, the buck-boost control chip is SC8905.

[0019] In one embodiment, the first interface circuit is a Type-C interface circuit, and the second interface circuit is a USB-A interface circuit.

[0020] In one embodiment, a speaker includes a speaker body and a control circuit board built into the speaker body, wherein the control circuit board is provided with a power supply circuit for the speaker as described in any of the above embodiments.

[0021] The above-mentioned power supply circuit and speaker for speakers can detect whether the power supply device connected to the first interface circuit is a power supply device with a fast charging protocol through the connection between the first interface circuit and the main control chip in the power supply circuit, and control the buck-boost control chip to be turned on according to different detection conditions, so as to realize normal power supply and fast power supply from the power supply device to the battery circuit through the buck-boost control chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0023] Figure 1 This is a schematic diagram of a power supply circuit for a speaker in one embodiment of the present utility model;

[0024] Figure 2 This is a circuit diagram of a main control chip in one embodiment of the present utility model;

[0025] Figure 3 This is a schematic diagram of a first interface circuit in one embodiment of the present utility model;

[0026] Figure 4 This is a circuit diagram of a buck-boost control chip in one embodiment of the present invention;

[0027] Figure 5 This is a schematic diagram of a second interface circuit in one embodiment of the present utility model;

[0028] Figure 6 This is a schematic diagram of a battery circuit in one embodiment of the present utility model;

[0029] Description of labels:

[0030] 10. First interface circuit; 20. Main control chip; 30. Buck-boost control chip; 40. Switch control circuit; 50. Battery circuit; 60. Protocol detection circuit; 70. Overcurrent detection circuit; 80. Overvoltage detection circuit; 90. Second interface circuit. DETAILED DESCRIPTION

[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0032] It should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to make the disclosure thorough and complete and to fully convey the scope of the present invention to those skilled in the art. In the drawings, the dimensions and relative dimensions of layers and regions may be exaggerated for clarity. Like reference numerals denote like elements throughout.

[0033] It should be understood that when an element or layer is referred to as being "on," "adjacent to," "connected to," or "coupled to" another element or layer, it may be directly on, adjacent to, connected to, or coupled to the other element or layer, or there may be intervening elements or layers. Conversely, when an element is referred to as being "directly on," "directly adjacent to," "directly connected to," or "directly coupled to" another element or layer, there are no intervening elements or layers. It should be understood that although the terms first, second, third, etc. may be used to describe various elements, components, regions, layers, and / or parts, these elements, components, regions, layers, and / or parts should not be limited by these terms. These terms are merely used to distinguish one element, component, region, layer, or part from another element, component, region, layer, or part. Therefore, without departing from the teachings of the present invention, the first element, component, region, layer, or part discussed below may be represented as a second element, component, region, layer, or part.

[0034] Spatially relative terms such as "under," "beneath," "below," "under," "above," "above," etc., may be used herein for convenience of description to describe the relationship of one element or feature shown in the figures to other elements or features. It should be understood that the spatially relative terms are intended to include different orientations of the device in use and operation in addition to the orientations shown in the figures. For example, if the device in the drawings is flipped, then the elements or features described as "under" or "beneath" or "beneath" the other elements will be oriented as "over" the other elements or features. Thus, the exemplary terms "under" and "under" may include both the upper and lower orientations. The device may be oriented otherwise (rotated 90 degrees or in other orientations) and the spatial descriptors used herein are interpreted accordingly.

[0035] The purpose of the terms used herein is only to describe specific embodiments and is not intended to limit the present invention. When used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "comprising" and / or "including", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0036] In order to fully understand the present invention, the following description will provide detailed structures and steps to illustrate the technical solutions proposed by the present invention. The preferred embodiments of the present invention are described in detail below. However, in addition to these detailed descriptions, the present invention may also have other implementation methods.

[0037] In one embodiment, if Figure 1 As shown, a power supply circuit for a speaker is provided, the power supply circuit comprising:

[0038] A first interface circuit 10, a main control chip 20, a buck-boost control chip 30, a switch control circuit 40, and a battery circuit 50, wherein the identification output terminal of the first interface circuit 10 is connected to the identification input terminal of the main control chip 20, the first control output terminal of the main control chip 20 is connected to the control input terminal of the buck-boost control chip 30, and the power supply output terminal of the buck-boost control chip 30 is connected to the power supply input terminal of the battery circuit 50;

[0039] The second control output end of the main control chip 20 is connected to the control input end of the switch control circuit 40, the first power supply input end of the switch control circuit 40 is connected to the power supply output end of the first interface circuit 10, and the power supply output end of the switch control circuit 40 is connected to the power supply input end of the buck-boost control chip 30.

[0040] The working principle of the above power supply circuit is as follows:

[0041] The first interface circuit 10 is connected to the power supply device. When the power supply device is an external adapter without a fast charging protocol, the main control chip 20 sends a non-fast charging protocol control instruction to the switch control circuit 40 through the second control output end. The switch control circuit 40 sends a non-fast charging power supply control instruction from the power supply output end to the buck-boost control chip 30 according to the instruction, controls the buck-boost control chip 30 to turn on, so that the power supply device supplies power to the battery circuit 50 through the buck-boost control chip 30.

[0042] When the power supply device connected to the first interface circuit 10 is an external adapter with a fast charging protocol, the main control chip 20 identifies the fast charging protocol of the specific communication through the identification input end, and sends the identified communication protocol to the buck-boost control chip 30. The main control chip 20 then sends the control instructions of the fast charging protocol to the switch control circuit 40 through the second control output end. The switch control circuit 40 sends a fast charging power supply control instruction from the power supply output end to the buck-boost control chip 30 according to the instruction, controls the buck-boost control chip 30 to turn on, so that the power supply device can quickly supply power to the battery circuit 50 through the buck-boost control chip 30.

[0043] The device connected to the first interface circuit 10 can be an external adapter or an external powered device. When the first interface circuit 10 is connected to the adapter, the main control chip 20 will detect whether the battery in the battery circuit 50 meets the charging requirements. When the battery meets the charging conditions, the main control chip 20 confirms the communication protocol with the external adapter through the first interface circuit 10, provides the corresponding voltage and current, and then controls the buck-boost control chip 30 to turn on through the switch control circuit 40, and the external adapter charges the battery.

[0044] When the first interface circuit 10 discharges to an external powered device, the main control chip 20 detects whether the battery meets the discharge requirements. If the battery meets the external power conditions, the main control chip 20 confirms the communication protocol with the external powered device through the first interface circuit 10, provides the corresponding voltage and current, and then controls the buck-boost control chip 30 to conduct through the switch control circuit 40, and the battery discharges to the external powered device.

[0045] The power supply circuit of this embodiment is particularly suitable for speaker products. Through the connection between the first interface circuit 10 and the main control chip 20, it can detect whether the power supply device connected to the first interface circuit 10 is a power supply device with a fast charging protocol, and control the buck-boost control chip 30 to be turned on according to different detection conditions, so as to realize normal power supply and fast power supply of the power supply device to the battery circuit 50 through the buck-boost control chip 30.

[0046] In one embodiment, if Figure 1 As shown, the power supply circuit further includes:

[0047] The protocol detection circuit 60 has a first detection input terminal connected to the protocol communication port of the first interface circuit 10 , and a detection output terminal connected to the protocol communication port of the main control chip 20 .

[0048] like Figure 2As shown, the protocol communication port USB-C_D+ / USB-C_D- of the main control chip 20 is used to detect the communication protocol adopted by the device connected to the first interface circuit 10 through the protocol detection circuit 60, such as the QC communication protocol of the first interface circuit 10; the main control chip 20 is also used to identify other communication fast charging protocols through its identification input terminal CC1 / CC2, such as the PD communication protocol of the first interface circuit 10.

[0049] The power supply circuit of this embodiment enables the main control chip 20 to perform communication protocol detection of the first interface circuit 10 through the preset protocol detection circuit 60 .

[0050] In one embodiment, the model of the main control chip 20 is CSU3AF10. Figure 2 The built-in charging mode of the main control chip 20 includes the following steps:

[0051] S1. Check whether the external charger is plugged in;

[0052] S2 detects the communication protocol of the first interface circuit 10;

[0053] S3. Check whether the battery is fully charged / low power / NTC temperature is within the charging range;

[0054] S4. Check whether the charging current is normal.

[0055] Furthermore, the main control chip 20 is also used to perform the steps of ultra-low voltage charging, constant current charging, and constant voltage charging. The control process of ultra-low voltage charging is as follows:

[0056] When the main control chip MCU detects that the voltage of each battery string is less than or equal to 60% of the battery target voltage, it enters the trickle charging mode. The main control chip MCU will control the charging control circuit to replenish the battery with a small current to activate the battery or slowly enter the constant current charging mode.

[0057] The control process of constant current charging is as follows:

[0058] When the main control chip MCU detects that the voltage of each battery string is between 60% and 99% of the battery target voltage, it enters the constant current charging mode, and the charging control circuit will charge the battery at a constant current of 3A (TYPE-C interface end).

[0059] The control process of constant voltage charging is as follows:

[0060] When the main control chip MCU detects that the voltage of each battery string is greater than or equal to 99% of the battery target voltage, it enters the constant voltage charging mode. The charging control circuit will replenish the battery with dynamic current to ensure that the battery is truly fully charged.

[0061] In this embodiment, various USB communication protocols and lithium battery protection are implemented through a main control chip 20 with model number CSU3AF10. Various USB protocols (including PD protocol, QC protocol, SCP protocol, etc.) can be added to the main control chip 20 to avoid the singleness of the USB protocol IC and reduce costs.

[0062] In one embodiment, the buck-boost control chip 30 is of model SC8905. Figure 4 Because the buck-boost control chip 30 has a built-in H-bridge MOS tube, it saves PCB space and the price cost of four P-MOS tubes compared to the conventional buck-boost charging IC with an external H-bridge MOS tube.

[0063] In one embodiment, if Figure 3 As shown, the switch control circuit 40 includes:

[0064] A first switch tube Q8, a second switch tube Q9 and a third switch tube Q3, wherein the input end of the first switch tube is connected to the power supply output end of the first interface circuit 10, the output end of the first switch tube is connected to the input end of the second switch tube, and the output end of the second switch tube is connected to the power supply input end of the buck-boost control chip 30; the input end of the third switch tube is connected to the control end of the first switch tube and the control end of the second switch tube, the output end of the third switch tube is connected to ground, and the control end of the third switch tube is connected to the second control output end of the main control chip 20.

[0065] The charging working principle of the above power supply circuit is as follows:

[0066] When a charging device such as an external adapter without a fast-charging protocol is plugged into the TYPE-C port of the first interface circuit 10, the default output voltage of the external charger, typically around 5V, is obtained through the ferrite beads FB4 / FB5 to the VBUS-C port. The main control chip 20 sets a high level to the second control output terminal VBUS_C_EN to control the third switch tube Q3 (MOS tube) to turn on. This connects the input terminal of the third switch tube Q3 to ground, thereby turning on the second switch tube Q9 (MOS tube). This allows the adapter output voltage to be supplied to the buck-boost control chip 30, which then charges the battery.

[0067] When a charging device, such as an external adapter supporting the fast charging protocol, is plugged into the Type-C port of the first interface circuit 10, the main control chip MCU detects the communication protocol (e.g., QC2.0, QC3.0, FCP, Apple 2.4, AFC, etc.) by detecting the identification input terminals CC1 / CC2, and transmits the information to the buck-boost control chip 30 via the I2C port (SDA, SCL). The main control chip 20 then sets the second control output terminal VBUS_C_EN to a high level, turning on the third switch Q3. This grounds the input terminal of the third switch Q3, thereby turning on the second MOS transistor Q9. Simultaneously, the second control output terminal supplies a high level to the control input terminal (pin 4, CE) of the buck-boost control chip 30, activating the chip. This allows the adapter's output voltage to be supplied to the buck-boost control chip 30, thereby charging the battery.

[0068] When a charging device with a fast-charging external adapter is inserted into the Type-C interface of the first interface circuit 10, the adapter inputs a voltage higher than 20V to the VBUS-C port through the magnetic bead FB4. When the main control chip MCU detects that the voltage is higher than the set value through the charging detection pin VOUT_C ​​(PIN15), the main control chip 20 sets a low level to the second control output terminal VBUS_C_EN to control the third switch tube Q3 to turn off, thereby turning off the second switch tube Q9, preventing the high voltage from flowing through the first switch tube Q8 and the second switch tube Q9, thereby protecting the back-end circuit from damage due to overvoltage.

[0069] If the adapter input is overcurrent, for example, greater than 3.2A, the OCP_C (PIN23) detection pin of the main control chip MCU detects the voltage value through the voltage divider circuit (R24, R27 and detection resistor R45) to shut down the main control chip MCU and the buck-boost control chip (SC8905), preventing the high current from flowing through the back-end circuit, causing the circuit to be damaged due to the high current.

[0070] In the above working state, when the main control chip MCU detects that the charging conditions are not met or multiple abnormal states occur, the main control chip MCU will give the second control output terminal VBUS_C_EN a low level to make the third switch tube Q3 and the second switch tube Q9 non-conductive, and control the battery charging circuit to be disconnected.

[0071] The discharge working principle of the above power supply circuit is as follows:

[0072] When the Type-C interface of the first interface circuit 10 is inserted into an external charging device (mobile phone, power bank, etc.), the I2C (SDA, SCL) pins of the buck-boost control chip 30 are connected to the main control chip MCU. The main control chip MCU detects the fast charging communication protocol through the input terminal CC1 / CC2, such as QC2.0, QC3.0, FCP, Apple2.4, AFC, etc., so that the buck-boost control chip (SC8905) outputs 5V, 9V, 12V, 15V, and 19V voltage signals respectively according to the charging protocol detected by the port VBUS (PIN1 foot) to activate the internal battery to charge the external device.

[0073] In the above working state, when the main control chip MCU detects that the charging conditions are not met or there are multiple abnormal states: the main control chip MCU will give the second control output terminal VBUS_C_EN a low level, so that the third switch tube Q3 and the first switch tube Q8 are not turned on, thereby controlling the charging circuit to be disconnected.

[0074] In one embodiment, if Figure 1 As shown, the power supply circuit further includes:

[0075] An overcurrent detection circuit 70 , wherein a first input terminal of the overcurrent detection circuit 70 is connected to a current detection terminal of the first interface circuit 10 , and an output terminal of the overcurrent detection circuit 70 is connected to an overcurrent control terminal of the main control chip 20 .

[0076] For example, when the overcurrent control terminal of the main control chip 20 detects that the charging current is greater than 3.1A through the overcurrent detection circuit 70, the main control chip MCU will determine that the charging current is too large and disconnect the charging circuit.

[0077] In one embodiment, if Figure 1 As shown, the power supply circuit further includes:

[0078] The overvoltage detection circuit 80 has a second input terminal connected to the voltage detection terminal of the first interface circuit 10 , and an output terminal of the overvoltage detection circuit 80 connected to the overvoltage control terminal of the main control chip 20 .

[0079] For example, when the overvoltage control terminal of the main control chip 20 detects that the voltage of each battery port is higher than 4.35V through the overvoltage detection circuit 80, the main control chip MCU will trigger the battery high voltage protection. At this time, the MCU disconnects the charging circuit to protect the battery from overcharging.

[0080] In addition, the main control chip 20 can also detect through the overvoltage detection circuit 80 that when the voltage of each battery string is lower than 3.2V, the MCU will trigger the battery low voltage protection. At this time, the main control chip MCU controls the product to shut down to protect the battery from over-discharge.

[0081] In one embodiment, if Figure 1 Shown and Figure 5 As shown, the power supply circuit further includes:

[0082] The second interface circuit 90, the power supply output terminal VBUS of the second interface circuit 90 is connected to the second power supply input terminal of the switch control circuit 40, the current detection terminal OCP_A of the second interface circuit 90 is connected to the second input terminal of the overcurrent detection circuit 70, and the protocol communication port USB-A_D- / USB-A_D+ of the second interface circuit 90 is connected to the second detection input terminal of the protocol detection circuit 60; the voltage detection terminal VBUS_A of the second interface circuit 90 is connected to the second input terminal of the overvoltage detection circuit 80.

[0083] The working principle of the power supply circuit including the second interface circuit 90 is as follows:

[0084] When the USB-A interface of the second interface circuit 90 detects an external charging device (mobile phone, power bank, etc.), the USB-A interface charging control terminal VBUS_A_EN (i.e., pin 24) of the main control chip MCU gives a high level, turning on the MOS tube Q4, pulling down the input terminal (pin 3) of the MOS tube Q4 to ground, thereby turning on the MOS tube Q7, and then allowing current to pass through the magnetic bead FB6 to charge the external device, supporting a maximum of 5V-2.4A charging.

[0085] In the above working state, when the main control chip MCU detects that the charging conditions are not met or multiple abnormal states occur: the main control chip MCU will set the USB-A interface charging control terminal VBUS_A_EN to a low level, making the MOS tubes Q4 and Q7 non-conductive and disconnecting the charging circuit; when an abnormality is detected through the current detection terminal OCP_A, the main control chip MCU sets the USB-A interface charging control terminal VBUS_A_EN to a low level to control the battery power supply circuit to be disconnected.

[0086] At this time, the external charging device is disconnected from the machine battery to protect the external device from damage. In this embodiment, overcurrent and overvoltage dual protection are set at the same time from the software and hardware to make the device safer.

[0087] In one embodiment, the first interface circuit 10 is a Type-C interface circuit, such as Figure 3 As shown, the second interface circuit is a USB-A interface circuit, such as Figure 5 shown.

[0088] In one embodiment, if Figure 6 The battery circuit 50 shown includes a battery and a battery interface row CON3. The first pin of the interface row outputs a terminal VBAT_OUT through a switch tube Q1 for connecting Figure 4and the first pin of the interface row is connected to the voltage detection terminal VBAT of the main control chip 20 through the terminal VBAT, and the third pin of the interface row is connected to the battery temperature detection terminal NTC of the main control chip 20 through the terminal NTC.

[0089] The NTC detection process of the battery circuit 50 is as follows:

[0090] When the main control chip MCU detects that the NTC value (temperature value) is greater than 28.3KR (below 0℃), the battery low temperature protection is activated and the battery stops charging; when the main control chip MCU detects that the NTC value is between 28.3~18.1KR (0~10℃), the battery is charged at 0.2C; when the main control chip MCU detects that the NTC value is between 18.1~4.7KR (10~45℃), the battery is charged at 0.5C. When the main control chip MCU detects that the NTC value is less than 4.7KR (above 45℃), the battery overtemperature protection is activated and the battery stops charging;

[0091] In this embodiment, high and low temperature protection is provided in hardware and software, so that the device can be used in a safe state and effectively protect the device from being damaged in an abnormal state.

[0092] In one embodiment, a speaker includes a speaker body and a control circuit board built into the speaker body, wherein the control circuit board is provided with a power supply circuit for the speaker as described in any of the above embodiments.

[0093] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A power supply circuit for a speaker, characterized in that: The power supply circuit includes: A first interface circuit, a main control chip, a buck-boost control chip, a switch control circuit, and a battery circuit, wherein the identification output terminal of the first interface circuit is connected to the identification input terminal of the main control chip, the first control output terminal of the main control chip is connected to the control input terminal of the buck-boost control chip, and the power supply output terminal of the buck-boost control chip is connected to the power supply input terminal of the battery circuit; The second control output end of the main control chip is connected to the control input end of the switch control circuit, the first power supply input end of the switch control circuit is connected to the power supply output end of the first interface circuit, and the power supply output end of the switch control circuit is connected to the power supply input end of the buck-boost control chip.

2. The power supply circuit for a speaker according to claim 1, characterized in that: The power supply circuit further includes: A protocol detection circuit, wherein a first detection input end of the protocol detection circuit is connected to the protocol communication port of the first interface circuit, and a detection output end of the protocol detection circuit is connected to the protocol communication port of the main control chip.

3. The power supply circuit for a speaker according to claim 1, characterized in that: The switch control circuit includes: A first switching tube, a second switching tube and a third switching tube, wherein the input end of the first switching tube is connected to the power supply output end of the first interface circuit, the output end of the first switching tube is connected to the input end of the second switching tube, and the output end of the second switching tube is connected to the power supply input end of the buck-boost control chip; the input end of the third switching tube is connected to the control end of the first switching tube and the control end of the second switching tube, the output end of the third switching tube is connected to ground, and the control end of the third switching tube is connected to the second control output end of the main control chip.

4. The power supply circuit for a speaker according to claim 2, characterized in that: The power supply circuit further includes: An overcurrent detection circuit, wherein a first input end of the overcurrent detection circuit is connected to a current detection end of the first interface circuit, and an output end of the overcurrent detection circuit is connected to an overcurrent control end of the main control chip.

5. The power supply circuit for a speaker according to claim 4, characterized in that: The power supply circuit further includes: An overvoltage detection circuit, wherein the second input end of the overvoltage detection circuit is connected to the voltage detection end of the first interface circuit, and the output end of the overvoltage detection circuit is connected to the overvoltage control end of the main control chip.

6. The power supply circuit for a speaker according to claim 5, characterized in that: The power supply circuit further includes: A second interface circuit, wherein the power supply output terminal of the second interface circuit is connected to the second power supply input terminal of the switch control circuit, the current detection terminal of the second interface circuit is connected to the second input terminal of the overcurrent detection circuit, and the protocol communication port of the second interface circuit is connected to the second detection input terminal of the protocol detection circuit; the voltage detection terminal of the second interface circuit is connected to the second input terminal of the overvoltage detection circuit.

7. The power supply circuit for a speaker according to claim 1, characterized in that: The model of the main control chip is CSU3AF10.

8. The power supply circuit for a speaker according to claim 1, characterized in that: The model of the buck-boost control chip is SC8905.

9. The power supply circuit for a speaker according to claim 6, characterized in that: The first interface circuit is a Type-C interface circuit, and the second interface circuit is a USB-A interface circuit.

10. A speaker, characterized in that: The speaker includes a speaker body and a control circuit board built into the body, wherein the control circuit board is provided with the power supply circuit for the speaker according to any one of claims 1 to 9.