CN112448448B - Charging control method, device, earphone, electronic device and readable storage medium - Google Patents
Charging control method, device, earphone, electronic device and readable storage medium Download PDFInfo
- Publication number
- CN112448448B CN112448448B CN202011268365.4A CN202011268365A CN112448448B CN 112448448 B CN112448448 B CN 112448448B CN 202011268365 A CN202011268365 A CN 202011268365A CN 112448448 B CN112448448 B CN 112448448B
- Authority
- CN
- China
- Prior art keywords
- charging
- circuit
- control
- earphone
- abnormality
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
- H02J7/0031—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1025—Accumulators or arrangements for charging
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
本申请提供一种充电控制方法、装置、耳机、电子设备和计算机可读存储介质,充电控制方法,包括:检测电子设备在充电过程中的充电参数;根据所述充电参数检测所述电子设备在充电过程中是否存在异常;若存在异常,则执行关机操作,基于该方法,一旦电子设备的充电过程发生异常,不需要接收充电盒发送的关机指令,可以直接执行关机操作,由电子设备控制内部的各电路模块处于关机状态,进而使电子设备处于关机状态,可以避免由于异常情况如接触不良、充电设备异常,而导致电子设备无法充电但一直处于待机的情况的发生,进而可以避免电量的消耗,节省电子设备的电量。
The present application provides a charging control method, device, earphones, electronic equipment and computer-readable storage media. The charging control method includes: detecting the charging parameters of the electronic equipment during the charging process; detecting the charging parameters of the electronic equipment according to the charging parameters. Whether there is an abnormality during the charging process; if there is an abnormality, perform a shutdown operation. Based on this method, once an abnormality occurs in the charging process of the electronic device, there is no need to receive a shutdown command sent by the charging box. The shutdown operation can be directly performed, and the electronic device controls the internal Each circuit module is in a shutdown state, which in turn puts the electronic device in a shutdown state, which can avoid the situation where the electronic device cannot be charged but is always on standby due to abnormal conditions such as poor contact or abnormal charging equipment, thus avoiding the consumption of power. , save the power of electronic devices.
Description
技术领域Technical field
本申请涉及充电控制,特别是涉及一种充电控制方法、装置、耳机、电子设备和计算机可读存储介质。The present application relates to charging control, and in particular, to a charging control method, device, earphones, electronic equipment and computer-readable storage media.
背景技术Background technique
随着充电控制技术的发展,可采用一外部充电设备为电子设备(例如,真无线立体声(True wireless Stereo,TWS)耳机)进行充电。一般耳机充电控制是通过充电盒的充电端口,例如POGO PIN输出电压到耳机上的充电接口,例如POGO PIN,以实现对耳机的充电控制。然而,传统的方法,电子设备会一直处于开机状态,这样一直消耗电子设备的电量,影响电子设备的续航时间。With the development of charging control technology, an external charging device can be used to charge electronic devices (eg, True Wireless Stereo (TWS) earphones). Generally, the charging control of earphones is through the charging port of the charging box, such as POGO PIN, which outputs the voltage to the charging interface on the earphones, such as POGO PIN, to achieve charging control of the earphones. However, with the traditional method, the electronic device will always be turned on, which will consume the power of the electronic device and affect the battery life of the electronic device.
发明内容Contents of the invention
本申请实施例提供了一种充电控制方法、装置、耳机、电子设备和计算机可读存储介质,可以节省电量。Embodiments of the present application provide a charging control method, device, earphones, electronic equipment and computer-readable storage media, which can save power.
一种充电控制方法,应用于电子设备,包括:A charging control method, applied to electronic equipment, including:
检测电子设备在充电过程中的充电参数;Detect the charging parameters of electronic equipment during the charging process;
根据所述充电参数检测所述电子设备在充电过程中是否存在异常;Detect whether there is an abnormality in the charging process of the electronic device according to the charging parameters;
若存在异常,则执行关机操作。If there is an abnormality, perform a shutdown operation.
上述充电控制方法,可以检测电子设备在充电过程中的充电参数,根据所述充电参数检测所述电子设备在充电过程中是否存在异常,若存在异常,则执行关机操作。基于该方法,一旦电子设备的充电过程发生异常,不需要接收充电盒发送的关机指令,可以直接执行关机操作,由电子设备控制内部的各电路模块处于关机状态,进而使电子设备处于关机状态,可以避免由于异常情况如接触不良、充电设备异常,而导致电子设备无法充电但一直处于待机的情况的发生,进而可以避免电量的消耗,节省电子设备的电量,提高电子设备的续航时间。The above charging control method can detect the charging parameters of the electronic device during the charging process, detect whether there is an abnormality in the electronic device during the charging process according to the charging parameters, and perform a shutdown operation if there is an abnormality. Based on this method, once an abnormality occurs in the charging process of the electronic device, there is no need to receive a shutdown command sent by the charging box, and the shutdown operation can be directly performed. The electronic device controls each internal circuit module to be in a shutdown state, thereby placing the electronic device in a shutdown state. It can avoid the occurrence of electronic devices that cannot be charged but are always on standby due to abnormal conditions such as poor contact and abnormal charging equipment, thereby avoiding power consumption, saving power of electronic devices, and improving the battery life of electronic devices.
一种充电控制装置,包括:A charging control device including:
电池单元,battery unit,
充电接口,用于与充电设备连接;Charging interface, used to connect with charging equipment;
充电电路,分别与所述电池单元、充电接口连接,用于接收充电信号,并对所述充电信号进行处理以输出适用于为所述电池单元充电的信号;A charging circuit, respectively connected to the battery unit and the charging interface, is used to receive a charging signal, and process the charging signal to output a signal suitable for charging the battery unit;
检测模块,与所述充电接口连接,用于检测充电过程中的充电参数;A detection module, connected to the charging interface, used to detect charging parameters during the charging process;
控制模块,分别与所述充电电路、检测模块连接,用于根据所述充电参数检测所述充电控制装置在充电过程中是否存在异常,若存在异常,则执行关机操作。A control module is connected to the charging circuit and the detection module respectively, and is used to detect whether there is an abnormality in the charging control device during the charging process according to the charging parameters, and if there is an abnormality, perform a shutdown operation.
一种耳机,包括:A headset including:
如上述的充电控制装置。Such as the above charging control device.
上述充电控制装置和耳机,包括电池单元、充电接口、充电电路、检测模块和控制模块,控制模块可根据检测模块检测的充电参数判定电池单元的充电过程是否存在异常,若存在异常,则控制充电控制装置关机,基于该装置,一旦电池单元的充电过程发生异常,不需要接收充电盒发送的关机指令,可以直接执行关机操作,由控制模块控制充电控制装置内部的各电路模块处于关机状态,进而使充电控制装置处于关机状态,可以避免由于异常情况如接触不良、充电盒异常,而导致充电控制装置无法充电但一直处于待机的情况的发生,进而可以避免电量的消耗,节省充电控制装置的电量,提高电子设备的续航时间。The above-mentioned charging control device and earphones include a battery unit, a charging interface, a charging circuit, a detection module and a control module. The control module can determine whether there is an abnormality in the charging process of the battery unit based on the charging parameters detected by the detection module. If there is an abnormality, control the charging. The control device shuts down. Based on this device, once the charging process of the battery unit is abnormal, there is no need to receive the shutdown command sent by the charging box. The shutdown operation can be directly performed. The control module controls each circuit module inside the charging control device to be in a shutdown state, and then Turning off the charging control device can avoid the situation where the charging control device cannot be charged but is always on standby due to abnormal conditions such as poor contact or abnormal charging box, thereby avoiding power consumption and saving the power of the charging control device. , improve the battery life of electronic devices.
一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如上述的方法的步骤。An electronic device includes a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, it causes the processor to execute the steps of the above method.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述的方法的步骤。A computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above method are implemented.
上述电子设备和计算机可读存储介质,可以检测电子设备在充电过程中的充电参数,根据所述充电参数检测所述电子设备在充电过程中是否存在异常,若存在异常,则执行关机操作。基于该方法,一旦电子设备的充电过程发生异常,不需要接收充电盒发送的关机指令,可以直接执行关机操作,由电子设备控制内部的各电路模块处于关机状态,进而使电子设备处于关机状态,可以避免由于异常情况如接触不良、充电设备异常,而导致电子设备无法充电但一直处于待机的情况的发生,进而可以避免电量的消耗,节省电子设备的电量,提高电子设备的续航时间。The above-mentioned electronic device and computer-readable storage medium can detect the charging parameters of the electronic device during the charging process, detect whether there is an abnormality in the charging process of the electronic device according to the charging parameters, and perform a shutdown operation if there is an abnormality. Based on this method, once an abnormality occurs in the charging process of the electronic device, there is no need to receive a shutdown command sent by the charging box, and the shutdown operation can be directly performed. The electronic device controls each internal circuit module to be in a shutdown state, thereby placing the electronic device in a shutdown state. It can avoid the occurrence of electronic devices that cannot be charged but are always on standby due to abnormal conditions such as poor contact and abnormal charging equipment, thereby avoiding power consumption, saving power of electronic devices, and improving the battery life of electronic devices.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present application or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1为一个实施例中充电控制方法的应用环境图;Figure 1 is an application environment diagram of the charging control method in one embodiment;
图2为一个实施例中充电控制方法的流程图;Figure 2 is a flow chart of a charging control method in one embodiment;
图3为另一个实施例中充电控制方法的流程图;Figure 3 is a flow chart of a charging control method in another embodiment;
图4为又一个实施例中充电控制方法的流程图;Figure 4 is a flow chart of a charging control method in yet another embodiment;
图5为再一个实施例中充电控制方法的流程图;Figure 5 is a flow chart of a charging control method in yet another embodiment;
图6为一个实施例中充电控制装置的结构框图;Figure 6 is a structural block diagram of a charging control device in one embodiment;
图7为另一个实施例的充电控制装置的结构框图;Figure 7 is a structural block diagram of a charging control device according to another embodiment;
图8为又一个实施例的充电控制装置的结构框图;Figure 8 is a structural block diagram of a charging control device according to another embodiment;
图9为一个实施例中电子设备的内部结构示意图。Figure 9 is a schematic diagram of the internal structure of an electronic device in an embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一开关管称为第二开关管,且类似地,可将第二开关管称为第一开关管。第一开关管和第二开关管两者都是开关管,但其不是同一开关管。It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, without departing from the scope of the present application, the first switch transistor may be called a second switch transistor, and similarly, the second switch transistor may be called a first switch transistor. Both the first switch tube and the second switch tube are switch tubes, but they are not the same switch tube.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。在本申请的描述中,“若干”的含义是至少一个,例如一个,两个等,除非另有明确具体的限定。In addition, the terms “first” and “second” are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of this application, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically limited. In the description of this application, "several" means at least one, such as one, two, etc., unless otherwise expressly and specifically limited.
图1为一个实施例中充电控制方法的应用环境示意图。如图1所示,该应用环境包括电子设备10,以及为该电子设备10充电的充电设备20。其中,该电子设备10可以为耳机、手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point ofSales,销售终端)、车载电脑、穿戴式设备(手环、智能眼镜等)等。充电设备20可以为充电盒、充电座、充电宝等。Figure 1 is a schematic diagram of the application environment of the charging control method in one embodiment. As shown in FIG. 1 , the application environment includes an electronic device 10 and a charging device 20 for charging the electronic device 10 . The electronic device 10 may be a headset, a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device (bracelet, smart glasses, etc.), etc. . The charging device 20 can be a charging box, a charging stand, a power bank, etc.
图2为一个实施例中充电控制方法的流程图。本实施例中的充电控制方法,以运行于图1中的电子设备(例如耳机)10为例进行描述,如图2所示,充电控制方法包括步骤202至步骤206。Figure 2 is a flow chart of a charging control method in one embodiment. The charging control method in this embodiment is described by taking the electronic device (such as earphones) 10 running in Figure 1 as an example. As shown in Figure 2, the charging control method includes steps 202 to 206.
步骤202,检测电子设备在充电过程中的充电参数。Step 202: Detect the charging parameters of the electronic device during the charging process.
在其中一个实施例中,耳机可包括充电接口、检测模块、充电电路。其中,充电接口用于与充电盒连接,以接收充电盒发送的充电参数和通信数据。充电电路与充电接口连接,用于接收充电参数,并对充电参数进行处理以输出适用于为耳机充电的充电参数。检测模块与充电接口连接,用于检测充电盒发送的充电参数。其中,充电参数可包括充电电流、充电电压和充电温度中的至少一种。若该充电参数包括充电电流、充电电压时,其对应的检测模块可采用电阻和/或电容等分立元件组成的分压电路来实现对充电参数的检测。若该充电参数包括充电温度时,其对应的检测模块可采用温敏器件等组成的温度检测模块来实现对充电参数的检测。In one embodiment, the earphone may include a charging interface, a detection module, and a charging circuit. Among them, the charging interface is used to connect with the charging box to receive charging parameters and communication data sent by the charging box. The charging circuit is connected to the charging interface and is used to receive charging parameters and process the charging parameters to output charging parameters suitable for charging the earphones. The detection module is connected to the charging interface and used to detect charging parameters sent by the charging box. The charging parameters may include at least one of charging current, charging voltage and charging temperature. If the charging parameters include charging current and charging voltage, the corresponding detection module can use a voltage dividing circuit composed of discrete components such as resistors and/or capacitors to detect the charging parameters. If the charging parameters include charging temperature, the corresponding detection module can use a temperature detection module composed of a temperature-sensitive device or the like to detect the charging parameters.
需要说明的是,在本申请实施例中,对检测模块的具体组成形式不做进一步的限定,也不限于上述举例说明。It should be noted that in the embodiment of the present application, the specific composition form of the detection module is not further limited, nor is it limited to the above examples.
步骤204,根据充电参数检测电子设备在充电过程中是否存在异常。Step 204: Detect whether there is any abnormality in the electronic device during the charging process according to the charging parameters.
耳机可根据检测得到的充电参数来判断耳机在充电过程中是否存在异常。其中,是否存在异常可以通过耳机检测到的充电参数是否在充电参数对应的预设范围之外进行判断。例如,耳机接收的充电电压和/或充电电流小于充电盒发送的充电电压和/或充电电流,则认为耳机的充电过程存在异常;例如,温度信号高于预设温度阈值则认为耳机的充电过程存在异常等。是否异常还可以通过耳机是否接收到充电盒发送的充电参数或通信数据来进行判断,例如,当耳机充电接口与充电盒的充电端口分离,也即耳机与充电盒物理断开时,则认定耳机的充电过程存在异常等。The earphones can determine whether there are abnormalities during the charging process of the earphones based on the detected charging parameters. Whether there is an abnormality can be judged by whether the charging parameters detected by the earphones are outside the preset range corresponding to the charging parameters. For example, if the charging voltage and/or charging current received by the earphones are less than the charging voltage and/or charging current sent by the charging box, it is considered that there is an abnormality in the charging process of the earphones; for example, if the temperature signal is higher than the preset temperature threshold, it is considered that the charging process of the earphones is abnormal. There are exceptions, etc. Whether it is abnormal can also be judged by whether the earphones receive the charging parameters or communication data sent by the charging box. For example, when the earphone charging interface is separated from the charging port of the charging box, that is, when the earphones are physically disconnected from the charging box, the earphones are deemed to be abnormal. There are abnormalities in the charging process, etc.
步骤206,若存在异常,则执行关机操作。Step 206: If there is an abnormality, perform a shutdown operation.
耳机的充电过程若存在异常,则执行关机操作,以控制耳机关机。其中,执行关机操作可以理解为控制耳机的其他电路模块关机以停止工作,例如,可以控制充电电路停止为电池单元进行充电,并在充电电路停止为电池单元充电后,控制耳机的控制模块处于关机状态,也即一种支持由低功耗唤醒功能进行软复位的关机状态。If there is an abnormality in the charging process of the headset, a shutdown operation is performed to control the headset to shut down. Among them, performing a shutdown operation can be understood as controlling other circuit modules of the earphones to shut down to stop working. For example, the charging circuit can be controlled to stop charging the battery unit, and after the charging circuit stops charging the battery unit, the control module that controls the earphones is shut down. state, that is, a shutdown state that supports soft reset by a low-power wake-up function.
上述充电控制方法,可以检测电子设备在充电过程中的充电参数,根据充电参数检测电子设备在充电过程中是否存在异常,若存在异常,则控制电子设备关机。基于该方法,一旦电子设备的充电过程发生异常,不需要接收充电盒发送的关机指令,可以直接执行关机操作,由电子设备控制内部的各电路模块处于关机状态,进而使电子设备处于关机状态,可以避免由于异常情况如接触不良、充电设备异常,而导致电子设备无法充电但一直处于待机的情况的发生,进而可以避免电量的消耗,节省电子设备的电量,提高电子设备的续航时间。The above charging control method can detect the charging parameters of the electronic device during the charging process, detect whether there is an abnormality in the electronic device during the charging process according to the charging parameters, and if there is an abnormality, control the electronic device to shut down. Based on this method, once an abnormality occurs in the charging process of the electronic device, there is no need to receive a shutdown command sent by the charging box, and the shutdown operation can be directly performed. The electronic device controls each internal circuit module to be in a shutdown state, thereby placing the electronic device in a shutdown state. It can avoid the occurrence of electronic devices that cannot be charged but are always on standby due to abnormal conditions such as poor contact and abnormal charging equipment, thereby avoiding power consumption, saving power of electronic devices, and improving the battery life of electronic devices.
图3为另一个实施例中充电控制方法的流程示意图。在其中一个实施例中,充电控制方法包括步骤302-步骤306。FIG. 3 is a schematic flowchart of a charging control method in another embodiment. In one embodiment, the charging control method includes steps 302-306.
步骤302,检测电子设备在充电过程中的充电参数。Step 302: Detect the charging parameters of the electronic device during the charging process.
步骤304,根据充电参数检测电子设备在充电过程中是否存在异常。Step 304: Detect whether there is an abnormality in the charging process of the electronic device according to the charging parameters.
步骤306,若存在异常,则控制电子设备的充电电路停止为电子设备的电池单元充电,并检测电子设备在预设时间段内是否接收到充电盒发送的唤醒指令。Step 306: If there is an abnormality, control the charging circuit of the electronic device to stop charging the battery unit of the electronic device, and detect whether the electronic device receives a wake-up command sent by the charging box within a preset time period.
耳机在充电过程中存在异常时,可以切断该充电电路与充电接口之间的充电通路,以控制该充电电路停止为耳机的电池单元充电;还可以通过控制该充电电路中的充电管理芯片处于关机状态,以控制该充电电路停止为耳机的电池单元充电等。When there is an abnormality during the charging process of the earphones, the charging path between the charging circuit and the charging interface can be cut off to control the charging circuit to stop charging the battery unit of the earphones; the charging management chip in the charging circuit can also be controlled to shut down status to control the charging circuit to stop charging the battery unit of the headset, etc.
当该充电电路停止为电池单元充电时,耳机可以进一步检测在预设时间段内是否接收到充电盒发送的唤醒指令。该唤醒指令用于唤醒该充电电路,以使该充电电路继续为电池单元充电。具体的,该耳机还可以包括与充电接口连接的通信模块,该通信模块可用于传输通信数据。基于该通信模块可实现耳机与充电盒之间的数据发送与接收等数据传输功能。示例性的,当耳机的充电电路停止为电池单元充电时,耳机可以控制通信模块实现与充电盒之间的数据传输,以使该耳机处于通信状态。当耳机处于通信状态时,耳机可以在预设时间段内实时监测通信数据中是否包括唤醒指令。示例性的,该唤醒指令可以以预设编码串的形式传输。When the charging circuit stops charging the battery unit, the earphones can further detect whether a wake-up command sent by the charging box is received within a preset time period. The wake-up command is used to wake up the charging circuit so that the charging circuit continues to charge the battery unit. Specifically, the headset may also include a communication module connected to the charging interface, and the communication module may be used to transmit communication data. Based on this communication module, data transmission functions such as data sending and receiving between the earphones and the charging box can be realized. For example, when the charging circuit of the earphone stops charging the battery unit, the earphone can control the communication module to implement data transmission with the charging box so that the earphone is in a communication state. When the headset is in communication state, the headset can monitor in real time whether the communication data includes a wake-up command within a preset time period. For example, the wake-up instruction can be transmitted in the form of a preset encoding string.
具体的,预设时间段可设置为毫秒量级、秒量级,例如0毫秒、0毫秒、1秒等,在本申请实施例中,对预设时间段的具体时长不做进一步的限定,也不限于上述举例说明。Specifically, the preset time period can be set to the millisecond level or the second level, such as 0 milliseconds, 0 milliseconds, 1 second, etc. In the embodiment of this application, the specific duration of the preset time period is not further limited. It is not limited to the above examples.
步骤308,若未接收到唤醒指令,则执行关机操作。Step 308: If no wake-up command is received, a shutdown operation is performed.
当充电电路停止为电池单元充电且在预设时间段内,通信模块并未接收到充电盒发送的唤醒指令,则表明充电过程的异常属实,也即,该异常是有效的,此时,可控制耳机的控制模块处于关机状态。When the charging circuit stops charging the battery unit and the communication module does not receive the wake-up command sent by the charging box within the preset time period, it indicates that the abnormality in the charging process is true, that is, the abnormality is valid. At this time, you can The control module that controls the headset is powered off.
本实施例的充电控制方法,当耳机的充电电路停止为电池单元充电时,可以进一步检测在预设时间段内是否接收到充电盒发送的唤醒指令,并在未接收到该唤醒指令的条件下控制耳机关机,通过设置该预设时间段,可以给耳机一个缓冲时间段,以避免短时的充电中断而直接控制耳机关机,可以提高充电的效率和灵活性。According to the charging control method of this embodiment, when the charging circuit of the headset stops charging the battery unit, it can further detect whether a wake-up command sent by the charging box is received within a preset time period, and if the wake-up command is not received, Control the headset to turn off. By setting the preset time period, you can give the headset a buffer time period to avoid short-term charging interruptions and directly control the headset to turn off, which can improve the efficiency and flexibility of charging.
在其中一个实施例中,充电控制方法还包括步骤310,若接收到唤醒指令,则控制充电电路继续为电子设备的电池单元进行充电。In one embodiment, the charging control method further includes step 310, if a wake-up instruction is received, controlling the charging circuit to continue charging the battery unit of the electronic device.
当充电电路停止为电池单元充电时,且在预设时间段内,耳机的通信模块接收到充电盒发出的唤醒指令时,耳机可根据该唤醒指令控制该充电电路继续为耳机的电池单元充电。具体的,若当前该充电电路所在充电通路是断开的,此时可以导通该充电电路与充电接口之间的充电通路,以控制该充电电路继续为耳机的电池单元充电;若当前该充电电路的充电管理芯片处于关机状态,此时,可以唤醒该充电管理芯片使其处于工作状态,以控制该充电电路继续为耳机的电池单元充电。When the charging circuit stops charging the battery unit, and within a preset time period, the communication module of the headset receives a wake-up command from the charging box, the headset can control the charging circuit to continue charging the battery unit of the headset according to the wake-up command. Specifically, if the charging path where the charging circuit is located is currently disconnected, the charging path between the charging circuit and the charging interface can be turned on at this time to control the charging circuit to continue charging the battery unit of the headset; The charging management chip of the circuit is in a shutdown state. At this time, the charging management chip can be woken up and put into working state to control the charging circuit to continue charging the battery unit of the headset.
本实施例中的充电控制方法,即便是当充电电路停止为耳机的电池单元充电时,也可以基于充电盒发送的唤醒指令控制该充电电路继续为该电池单元充电,可以提供该耳机充电的灵活性,以避免因充电过程中的异常误判而导致耳机关机的情况发生。The charging control method in this embodiment can control the charging circuit to continue charging the battery unit based on the wake-up command sent by the charging box even when the charging circuit stops charging the battery unit of the earphone, which can provide flexibility in charging the earphone. to avoid the headset shutting down due to abnormal misjudgments during charging.
在其中一个实施例中,根据充电参数检测电子设备在充电过程中是否存在异常,具体包括若充电参数在对应充电参数的预设范围之外,则确定充电过程存在异常。具体的,充电参数包括充电电压、充电电流、充电温度中的至少一种。若该充电参数仅包括一个信号,例如,充电电压、充电电流或充电温度,其不同充电参数对应的预设范围也就不同。若该充电参数的数值在对应的预设范围内,则可认定该耳机的充电过程是正常的(即不存异常),若该充电参数的数值在该预设范围之外,则可以认定该耳机的充电过程存在异常。In one embodiment, detecting whether there is an abnormality in the charging process of the electronic device according to the charging parameters specifically includes determining whether there is an abnormality in the charging process if the charging parameter is outside a preset range of the corresponding charging parameter. Specifically, the charging parameters include at least one of charging voltage, charging current, and charging temperature. If the charging parameter only includes one signal, for example, charging voltage, charging current or charging temperature, the preset ranges corresponding to different charging parameters will be different. If the value of the charging parameter is within the corresponding preset range, the charging process of the headset can be determined to be normal (that is, there is no abnormality). If the value of the charging parameter is outside the preset range, the charging process of the headset can be determined to be normal. There is an abnormality in the charging process of the headset.
在其中一个实施例中,充电参数为充电电压,若充电电压低于预设电压阈值,则确定充电过程存在异常。其中,该预设电压阈值可以理解为该充电盒输出的标准充电电压。示例性的,该预设电压阈值为5V,若耳机的检测模块检测到的充电电压小于5V则确定充电过程存在异常。另外,若耳机的检测模块未检测到充电电压,则可以将该充电电压理解为0V。In one embodiment, the charging parameter is charging voltage. If the charging voltage is lower than the preset voltage threshold, it is determined that there is an abnormality in the charging process. The preset voltage threshold can be understood as the standard charging voltage output by the charging box. For example, the preset voltage threshold is 5V. If the charging voltage detected by the detection module of the earphone is less than 5V, it is determined that there is an abnormality in the charging process. In addition, if the detection module of the earphone does not detect the charging voltage, the charging voltage can be understood as 0V.
可选的,当充电参数为充电电流时,也可以检测该充电电流是否在预设电流范围年内,若在,则耳机的充电过程正常;反之,则耳机的充电过程存在异常。Optionally, when the charging parameter is the charging current, it can also be detected whether the charging current is within the preset current range. If it is, the charging process of the headset is normal; otherwise, the charging process of the headset is abnormal.
在其中一个实施例中,充电参数为温度信号,若温度信号在预设温度范围内,则耳机的充电过程正常;反之,则耳机的充电过程存在异常。示例性的,该预设温度范围可以设置在-40摄氏度之间。若温度信号的数值在50摄氏度,则认定该耳机的充电过程存在异常。In one embodiment, the charging parameter is a temperature signal. If the temperature signal is within a preset temperature range, the charging process of the earphones is normal; otherwise, the charging process of the earphones is abnormal. For example, the preset temperature range can be set between -40 degrees Celsius. If the value of the temperature signal is 50 degrees Celsius, it is determined that there is an abnormality in the charging process of the headset.
需要说明的是,当充电参数包括至少两个信号时,可以根据各个信号之间的关联性来调节各预设范围的边界值。It should be noted that when the charging parameters include at least two signals, the boundary values of each preset range can be adjusted according to the correlation between the respective signals.
如图4所示,在其中一个实施例中,充电控制方法还包括:As shown in Figure 4, in one embodiment, the charging control method further includes:
步骤402,检测电子设备在充电过程中的充电参数;Step 402, detect the charging parameters of the electronic device during the charging process;
步骤404,获取电子设备累积的充电频次。Step 404: Obtain the accumulated charging frequency of the electronic device.
耳机内置在充电盒中,接收充电盒的充电参数进行充电时,耳机可对电池单元的充电频次(或称之为充电次数)进行计数,且会对该充电频次进行累积计数,并对充电频次进行存储。The earphones are built into the charging box. When receiving the charging parameters of the charging box for charging, the earphones can count the charging frequency of the battery unit (or called the number of charging times), and will cumulatively count the charging frequency, and calculate the charging frequency. for storage.
在其中一实施例中,耳机在对电池的充电频次进行累积计数的过程中,也会判断其当前的充电过程是否满足累积计数的要求,若满足该累积计数要求,则进行累积计数,若不满足累积计数要求,则不对当前充电过程进行充电频次进行计数。示例性的,该累积计数要求可以理解为一次完整的充电过程。In one embodiment, during the process of cumulatively counting the charging frequency of the battery, the headset will also determine whether the current charging process meets the cumulative counting requirements. If the cumulative counting requirements are met, the cumulative counting will be performed. If not, the cumulative counting will be performed. If the cumulative counting requirements are met, the charging frequency of the current charging process will not be counted. For example, the cumulative count requirement can be understood as a complete charging process.
步骤406,根据充电参数和充电频次构建充电参数对应的预设范围。Step 406: Construct a preset range corresponding to the charging parameters according to the charging parameters and charging frequency.
在其中一个实施例中,耳机在充电过程中,可以获取在预设充电条件下的充电参数。其中,该预设条件可预先配置在耳机中。预设条件可以为从预设特征点恒压持续充电预设时长,其对应的充电参数为充电温度或充电电流。预设条件还可以为从第一预设电流恒压充电至第二预设电流,其对应的充电参数为充电温度。In one embodiment, during the charging process of the earphones, charging parameters under preset charging conditions can be obtained. Wherein, the preset condition can be pre-configured in the headset. The preset condition can be a preset duration of constant voltage charging from a preset characteristic point, and the corresponding charging parameter is charging temperature or charging current. The preset condition may also be constant voltage charging from the first preset current to the second preset current, and the corresponding charging parameter is the charging temperature.
预设范围与充电参数相对应,也即,每个充电参数对应配置有一预设范围。当预设充电条件不同时,对于同一充电频次的充电参数的预设范围可能相同,也可以不相同。也就是,可以对应构建充电频次、预设充电条件、充电参数、预设范围四者之间的映射关系。其中,预设充电条件和充电频次共同对应预设范围。在建立四者之间的关系时,预设范围=f(预设充电条件,充电频次,充电参数)。该关系可以采用映射表的方式进行固定。该关系可以是系统提供、推荐或者由用户进行自定义。The preset range corresponds to the charging parameter, that is, each charging parameter is configured with a preset range. When the preset charging conditions are different, the preset ranges of charging parameters for the same charging frequency may be the same or different. That is, the mapping relationship between charging frequency, preset charging conditions, charging parameters, and preset range can be constructed correspondingly. Among them, the preset charging conditions and charging frequency jointly correspond to the preset range. When establishing the relationship between the four, the preset range = f (preset charging conditions, charging frequency, charging parameters). This relationship can be fixed in the form of a mapping table. The relationship can be system-provided, recommended, or customized by the user.
电子设备可以获取当前充电过程的充电频次,以及当前充电过程的充电参数,并根据该充电频次和充电参数来构建充电参数对应的预设范围。其中,充电频次不同,用来检测充电参数的检测标准也即不同。示例性的,当充电频次分别为100次和200次时,针对同一充电参数,由于其充电频次不同,其对应检测电池单元是否异常的结果也可以不同。The electronic device can obtain the charging frequency of the current charging process and the charging parameters of the current charging process, and construct a preset range corresponding to the charging parameters based on the charging frequency and charging parameters. Among them, the charging frequency is different, and the detection standards used to detect charging parameters are also different. For example, when the charging frequency is 100 times and 200 times respectively, for the same charging parameter, due to different charging frequencies, the corresponding results of detecting whether the battery unit is abnormal may also be different.
步骤408,若充电参数在对应充电参数的预设范围之外,则确定充电过程存在异常。Step 408: If the charging parameter is outside the preset range of the corresponding charging parameter, it is determined that there is an abnormality in the charging process.
步骤410,执行关机操作。Step 410: Perform shutdown operation.
在其中一个实施例中,若预设充电条件为从预设特征点持续充电预设时长,其对应的充电参数为温度信息。耳机可基于该映射关系,确定该预设充电条件、充电频次对应的充电参数的预设范围。示例性的,可以将从1A充电电流开始,保持5V充电电压(恒压)持续充电预设时长15分钟后对应的温度值作为充电参数。基于该映射关系,可以得到其充电频次为100次对应的温度信息的标准参数范围为27.5-28.3℃。若在该预设充电条件下采集到的温度信息在27.5-28.3℃内,则该充电过程正常,若采集到的温度信息不在27.5-28.3℃内,例如为29℃,则该充电过程存在异常。In one embodiment, if the preset charging condition is to continue charging for a preset time from a preset characteristic point, the corresponding charging parameter is temperature information. The earphones can determine the preset range of charging parameters corresponding to the preset charging conditions and charging frequency based on the mapping relationship. For example, the corresponding temperature value after starting from a charging current of 1A and maintaining a charging voltage (constant voltage) of 5V for a preset time of 15 minutes can be used as the charging parameter. Based on this mapping relationship, the standard parameter range of the temperature information corresponding to the charging frequency of 100 times can be obtained to be 27.5-28.3°C. If the temperature information collected under the preset charging conditions is within 27.5-28.3℃, the charging process is normal. If the temperature information collected is not within 27.5-28.3℃, for example, 29℃, the charging process is abnormal. .
在本实施例中,可以基于充电频次来对充电参数进行检测,进而判断充电过程是否存在异常,可以避免电池频繁多次充电后电池老化,电池内阻增大,可逆容量减少而导致异常检测误判的情况发生,进而可以提高异常检测的准确性。In this embodiment, the charging parameters can be detected based on the charging frequency, and then whether there is an abnormality in the charging process can be determined. This can avoid the battery aging, the internal resistance of the battery increasing, and the reversible capacity reducing resulting in incorrect abnormality detection after the battery is frequently charged multiple times. judgment occurs, which can improve the accuracy of anomaly detection.
如图5所示,在其中一个实施例中,充电控制方法包括步骤502至步骤508。As shown in FIG. 5 , in one embodiment, the charging control method includes steps 502 to 508 .
步骤502,检测电子设备在充电过程中的充电参数。Step 502: Detect the charging parameters of the electronic device during the charging process.
步骤504,根据充电参数检测电子设备在充电过程中是否存在异常。Step 504: Detect whether there is an abnormality in the charging process of the electronic device according to the charging parameters.
步骤506,若存在异常,则控制电子设备关机。Step 506: If there is an abnormality, control the electronic device to shut down.
步骤502-步骤506与前述实施例中的步骤2-步骤6一一对应,在此,不再赘述。Steps 502 to 506 correspond to step 2 to step 6 in the previous embodiment, and will not be described again here.
步骤508,若接收到充电设备发送的充电电压,则控制充电电路为电子设备的电池单元进行充电。Step 508: If the charging voltage sent by the charging device is received, the charging circuit is controlled to charge the battery unit of the electronic device.
耳机处于关机状态时,其耳机的检测模块仍然可以检测耳机充电接口接收的充电电压,该充电电压可以理解为充电盒发送的用于为耳机充电的充电电压。当耳机的检测模块检测到充电盒发送的充电电压时,可以控制耳机处于关机状态的电路模块开机以使其处于工作状态。示例性的,当检测模块检测到充电盒发送的充电电压时,可以唤醒处于关机状态的控制模块,并由耳机的控制模块控制耳机的充电电路为电池单元进行充电。When the headset is turned off, the detection module of the headset can still detect the charging voltage received by the headset charging interface. This charging voltage can be understood as the charging voltage sent by the charging box to charge the headset. When the detection module of the earphone detects the charging voltage sent by the charging box, it can control the circuit module of the earphone that is in the off state to turn on so that it is in a working state. For example, when the detection module detects the charging voltage sent by the charging box, the control module in the shutdown state can be awakened, and the control module of the earphone controls the charging circuit of the earphone to charge the battery unit.
本实施例中的充电控制方法,当耳机的充电电路停止为电池单元充电时,可以进一步检测在预设时间段内是否接收到充电盒发送的唤醒指令,并在未接收到该唤醒指令的条件下控制耳机关机,通过设置该预设时间段,可以给耳机一个缓冲时间段,以避免短时的充电中断而直接控制耳机关机,可以提高充电的效率和灵活性。同时,还可以在耳机处于关机状态的情况下,可以控制耳机开机,使其处于工作状态,控制耳机的充电电路为电池单元进行充电,实现了耳机的自动化的开机、关机控制,同时还可以实现耳机开关机的自主切换,简化了操作流程,提高了用户的体验度。The charging control method in this embodiment, when the charging circuit of the headset stops charging the battery unit, can further detect whether a wake-up command sent by the charging box is received within a preset time period, and if the wake-up command is not received, By setting the preset time period, you can give the earphones a buffer time period to avoid short-term charging interruptions and directly control the earphones to shut down, which can improve charging efficiency and flexibility. At the same time, you can also control the headset to turn on when the headset is turned off, so that it is in a working state, and control the charging circuit of the headset to charge the battery unit, thereby realizing automatic start-up and shut-down control of the headset. The independent switching of the headset on and off simplifies the operation process and improves the user experience.
应该理解的是,虽然图2-5的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-5的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowcharts of Figures 2-5 are shown in sequence as indicated by arrows, these steps are not necessarily executed in the order indicated by arrows. Unless explicitly stated in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least some of the steps in Figures 2-5 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The order of execution is not necessarily sequential, but may be performed in turn or alternately with other steps or sub-steps of other steps or at least part of the stages.
图6为一个实施例的充电控制装置的结构框图。如图6所示,充电控制装置包括电池单元110、充电接口120、充电电路130、检测模块140和控制模块150。Figure 6 is a structural block diagram of a charging control device according to an embodiment. As shown in FIG. 6 , the charging control device includes a battery unit 110 , a charging interface 120 , a charging circuit 130 , a detection module 140 and a control module 150 .
电池单元110为可充电电池,可以但不限于为锂离子电池。电池单元110可以包括单节电芯,也可以包括多节串联或并联的电芯。当电池单元110包括多节串联的电芯时,电池单元110的电压为各节电芯的电压之和。在一个实施例中,电池单元110包括两节串联的电芯。可以理解,不同的电子设备10,选用的电池单元110的结构、额定电压等可以不同。The battery unit 110 is a rechargeable battery, which may be, but is not limited to, a lithium-ion battery. The battery unit 110 may include a single cell or multiple cells connected in series or parallel. When the battery unit 110 includes multiple cells connected in series, the voltage of the battery unit 110 is the sum of the voltages of each cell. In one embodiment, the battery unit 110 includes two cells connected in series. It can be understood that different electronic devices 10 may have different structures and rated voltages of the battery units 110 selected.
充电接口120,用于与充电设备20连接,用于接收充电设备20发送的充电信号以及用于接收充电设备20发送的通信数据。当该充电控制装置应用于耳机时,其对应的充电装置为充电盒20。具体的,充电接口120可包括第一充电触点121和第二充电触点122。其中,第一充电触点121和第二充电触点122的极性相反,示例性的,第一充电触点121为正极触点,第二充电触点122为负极触点,或第一充电触点121为负极触点、第二充电触点122为正极触点。充电盒20的充电接口210包括第三充电触点211和第四充电触点212。The charging interface 120 is used for connecting with the charging device 20 , for receiving charging signals sent by the charging device 20 and for receiving communication data sent by the charging device 20 . When the charging control device is applied to headphones, its corresponding charging device is the charging box 20 . Specifically, the charging interface 120 may include a first charging contact 121 and a second charging contact 122 . The first charging contact 121 and the second charging contact 122 have opposite polarities. For example, the first charging contact 121 is a positive contact, and the second charging contact 122 is a negative contact, or the first charging contact 121 is a negative contact, or the first charging contact 122 is a negative contact. The contact 121 is a negative contact, and the second charging contact 122 is a positive contact. The charging interface 210 of the charging box 20 includes a third charging contact 211 and a fourth charging contact 212 .
当第三充电触点211与第一充电触点121接触导通,第四充电触点212与第二充电触点122接触导通时,可以实现通过充电盒来为耳机充电的功能,或,来实现耳机与充电盒之间的数据发送与接收等数据传输功能。其中,耳机与充电盒之间可以用来传输复位指令、唤醒指令、电量信息、温度信息、充电状态指示信息等数据。When the third charging contact 211 is in contact with the first charging contact 121 and the fourth charging contact 212 is in contact with the second charging contact 122, the function of charging the earphones through the charging box can be realized, or, To realize data transmission functions such as data sending and receiving between the earphones and the charging box. Among them, the headset and the charging box can be used to transmit data such as reset instructions, wake-up instructions, power information, temperature information, charging status indication information, etc.
充电电路130,与充电接口120连接,用于接收充电信号,并对充电信号进行处理以输出适用于为耳机充电的充电信号。其中,该充电电路130也可与该第一充电触点121连接,用于接收该充电盒发出的充电信号,并对该接收的充电信号进行升压或降压处理以输出适用于为耳机的电池单元110进行充电的充电电压。The charging circuit 130 is connected to the charging interface 120 and is used for receiving the charging signal and processing the charging signal to output a charging signal suitable for charging the earphones. The charging circuit 130 may also be connected to the first charging contact 121 for receiving the charging signal sent by the charging box, and performing voltage boosting or voltage reducing processing on the received charging signal to output a voltage suitable for earphones. The charging voltage at which battery unit 110 is charged.
检测模块140,与充电接口120连接,用于检测充电过程中的充电参数。充电参数可包括充电电流、充电电压和充电温度中的至少一种。若该充电参数包括充电电流、充电电压时,其对应的检测模块140可采用电阻和/或电容等分立元件组成的分流电路/分压电路来实现对充电电流/充电电压的检测。若该充电参数包括充电温度时,其对应的检测模块140可采用温敏器件等组成的温度检测模块140来实现对充电参数的检测。The detection module 140 is connected to the charging interface 120 and is used to detect charging parameters during the charging process. The charging parameters may include at least one of charging current, charging voltage and charging temperature. If the charging parameters include charging current and charging voltage, the corresponding detection module 140 can use a shunt circuit/voltage dividing circuit composed of discrete components such as resistors and/or capacitors to detect the charging current/charging voltage. If the charging parameter includes charging temperature, the corresponding detection module 140 may use a temperature detection module 140 composed of a temperature sensitive device or the like to detect the charging parameter.
控制模块150分别与充电电路130、检测模块140连接,用于根据充电参数检测电子设备10在充电过程中是否存在异常,若存在异常,则控制充电控制装置关机。具体的,控制模块150可以采用专用无线耳机控制芯片,例如蓝牙芯片来实现,也可以采用独立的单片机、DSP及FPGA等微处理器来实现,在本申请实施例中,对控制模块150的具体类型不做限制。The control module 150 is connected to the charging circuit 130 and the detection module 140 respectively, and is used to detect whether there is an abnormality in the charging process of the electronic device 10 according to the charging parameters, and if there is an abnormality, control the charging control device to shut down. Specifically, the control module 150 can be implemented using a dedicated wireless headset control chip, such as a Bluetooth chip, or can be implemented using an independent microprocessor such as a microcontroller, DSP, and FPGA. In the embodiment of the present application, the specific details of the control module 150 are There are no restrictions on types.
当该充电参数为充电电压时,该控制模块150的芯片上还可以设置有用于检测电压信号的检测引脚,用于检测接收的充电电压。When the charging parameter is the charging voltage, the chip of the control module 150 may also be provided with a detection pin for detecting a voltage signal to detect the received charging voltage.
控制模块150可以根据检测模块140检测的充电参数与控制模块150中内部存储的充电参数对应的预设范围进行比较,以判定耳机的充电过程是否存在异常。当控制模块150判定的结果是充电过程存在异常,可控制耳机关机。其中,控制耳机关机可以理解为控制耳机的其他电路模块关机以停止工作,例如,可以控制充电电路130停止为电池单元110进行充电,并在充电电路130停止为电池单元110充电后,进一步控制模块150处于关机状态,其中,控制模块150的关机状态可理解为一种支持由低功耗唤醒功能进行软复位的关机状态。The control module 150 can compare the charging parameters detected by the detection module 140 with a preset range corresponding to the charging parameters internally stored in the control module 150 to determine whether there is an abnormality in the charging process of the earphones. When the control module 150 determines that there is an abnormality in the charging process, the headset can be controlled to be turned off. Among them, controlling the headset to shut down can be understood as controlling other circuit modules of the headset to shut down to stop working. For example, the charging circuit 130 can be controlled to stop charging the battery unit 110, and after the charging circuit 130 stops charging the battery unit 110, the module can be further controlled. 150 is in a shutdown state, where the shutdown state of the control module 150 can be understood as a shutdown state that supports soft reset by a low-power wake-up function.
上述充电控制装置,包括电池单元110、充电接口120、充电电路130、检测模块140和控制模块150,控制模块150可根据检测模块140检测的充电参数判定电池单元110的充电过程是否存在异常,若存在异常,则控制充电控制装置关机,基于该装置,一旦电池单元110的充电过程发生异常,不需要接收充电盒发送的关机指令,可以直接执行关机操作,由控制模块150控制充电控制装置内部的各电路模块处于关机状态,进而使充电控制装置处于关机状态,可以避免由于异常情况如接触不良、充电设备20异常,而导致充电控制装置无法充电但一直处于待机的情况的发生,进而可以避免电量的消耗,节省充电控制装置的电量,提高电子设备的续航时间。The above charging control device includes a battery unit 110, a charging interface 120, a charging circuit 130, a detection module 140 and a control module 150. The control module 150 can determine whether there is an abnormality in the charging process of the battery unit 110 based on the charging parameters detected by the detection module 140. If If there is an abnormality, the charging control device is controlled to shut down. Based on this device, once an abnormality occurs in the charging process of the battery unit 110, there is no need to receive a shutdown command sent by the charging box, and the shutdown operation can be directly performed. The control module 150 controls the internal charging control device. Each circuit module is in a shutdown state, thereby causing the charging control device to be in a shutdown state, which can avoid the situation that the charging control device cannot be charged but is always on standby due to abnormal conditions such as poor contact or abnormality of the charging equipment 20, thereby avoiding the occurrence of power shortage. consumption, save the power of the charging control device, and improve the battery life of electronic equipment.
图7为另一个实施例的充电控制装置的结构框图。如图7所示,在其中一个实施例中,充电控制装置还包括通信模块160。该通信模块160与充电接口120、控制模块150连接,用于传输充电接口120接收的通信数据,以将该通信数据传输至控制模块150。其中,该通信模块160可直接与第一充电触点121连接,用于在第三充电触点211与第一充电触点121接触导通,第四充电触点212与第二充电触点122接触导通时,基于该通信模块160来实现耳机的控制模块150与充电盒之间的数据发送与接收等数据传输功能。示例性的,该通信模块160可以包括数据传输线,其中,该数据传输线可以为单线,也可以包括双线,例如,I2C数据总线等。其中,通信数据至少包括唤醒指令。示例性的,该唤醒指令可以以预设编码串的形式传输。FIG. 7 is a structural block diagram of a charging control device according to another embodiment. As shown in FIG. 7 , in one embodiment, the charging control device further includes a communication module 160 . The communication module 160 is connected to the charging interface 120 and the control module 150 and is used to transmit communication data received by the charging interface 120 to transmit the communication data to the control module 150 . Wherein, the communication module 160 can be directly connected to the first charging contact 121 for contact and conduction between the third charging contact 211 and the first charging contact 121, and the fourth charging contact 212 and the second charging contact 122. When the contact is conducted, data transmission functions such as data transmission and reception between the control module 150 of the headset and the charging box are implemented based on the communication module 160 . For example, the communication module 160 may include a data transmission line, where the data transmission line may be a single line or a double line, such as an I2C data bus, etc. The communication data at least includes a wake-up instruction. For example, the wake-up instruction can be transmitted in the form of a preset encoding string.
控制模块150还用于在存在异常时,控制充电电路130停止为电池单元110充电,并检测通信模块160在预设时间段内是否接收到充电盒发送的唤醒指令,若未接收到唤醒指令,则控制充电控制装置关机。具体的,预设时间段可设置为毫秒量级、秒量级,例如100毫秒、200毫秒、1秒等,在本申请实施例中,对预设时间段的具体时长不做进一步的限定,也不限于上述举例说明。The control module 150 is also used to control the charging circuit 130 to stop charging the battery unit 110 when there is an abnormality, and to detect whether the communication module 160 receives a wake-up command sent by the charging box within a preset time period. If the wake-up command is not received, Then control the charging control device to shut down. Specifically, the preset time period can be set to the order of milliseconds or seconds, such as 100 milliseconds, 200 milliseconds, 1 second, etc. In the embodiment of the present application, the specific duration of the preset time period is not further limited. It is not limited to the above examples.
当充电电路130停止为电池单元110充电且在预设时间段内,通信模块160并未接收到充电盒发送的唤醒指令,则表明充电过程的异常属实,也即,该异常是有效的,此时,可控制控制模块150处于关机状态。When the charging circuit 130 stops charging the battery unit 110 and the communication module 160 does not receive the wake-up command sent by the charging box within the preset time period, it indicates that the abnormality in the charging process is true, that is, the abnormality is valid. , the control module 150 can be controlled to be in a shutdown state.
在其中一个实施例中,控制模块150还用于在通信模块160接收到唤醒指令时,控制充电电路130继续为电池单元110充电。In one embodiment, the control module 150 is also configured to control the charging circuit 130 to continue charging the battery unit 110 when the communication module 160 receives the wake-up instruction.
本实施例中的充电控制装置,即便是当充电电路130停止为耳机的电池单元110充电时,也可以基于充电盒发送的唤醒指令控制该充电电路130继续为该电池单元110充电,可以提供该耳机充电的灵活性,以避免因充电过程中的异常误判而导致耳机。The charging control device in this embodiment, even when the charging circuit 130 stops charging the battery unit 110 of the headset, can control the charging circuit 130 to continue charging the battery unit 110 based on the wake-up command sent by the charging box, which can provide the The flexibility of earphone charging to avoid earphones caused by abnormal misjudgments during the charging process.
图8为又一个实施例的充电控制装置的结构框图。如图8所示,在其中一个实施例中,充电控制装置还包括切换电路170。该切换电路170分别与充电接口120、充电电路130、控制模块150连接,用于接收控制模块150发送的控制信号,并根据控制信号选择性导通或断开充电接口120与充电电路130之间的充电通路。具体的,当电池单元110需要充电时,该切换电路170可根据接收的控制信号导通该充电通路,以接收充电设备20发送的充电信号,以为耳机充电;需要与充电设备20进行通信时,该切换电路170可根据接收的控制信号断开该充电通路,进而导通通信模块160与充电接口120之间的通信通路,以实现与充电设备20之间的数据传输,以使该充电控制装置从充电状态切换至通信状态。Figure 8 is a structural block diagram of a charging control device according to another embodiment. As shown in FIG. 8 , in one embodiment, the charging control device further includes a switching circuit 170 . The switching circuit 170 is connected to the charging interface 120, the charging circuit 130, and the control module 150 respectively, and is used to receive the control signal sent by the control module 150, and selectively connect or disconnect the charging interface 120 and the charging circuit 130 according to the control signal. charging path. Specifically, when the battery unit 110 needs to be charged, the switching circuit 170 can conduct the charging path according to the received control signal to receive the charging signal sent by the charging device 20 to charge the headset; when communication with the charging device 20 is required, The switching circuit 170 can disconnect the charging path according to the received control signal, and then open the communication path between the communication module 160 and the charging interface 120 to realize data transmission with the charging device 20, so that the charging control device Switch from charging state to communication state.
具体的,该控制模块150在判断存在异常时,可发出控制信号,以控制该切换电路170断开该充电通路,并导通通信模块160与充电接口120之间的通信通路,以使该通信模块160与充电设备20进行通信,并检测通信模块160在预设时间段内是否接收唤醒指令,若未接收到唤醒指令则控制充电控制装置关机。若在预设时间段内接收到该唤醒指令,至进一步控制该切换电路170断开该通信通路,并导通充电电路130与充电接口120之间的充电通路,以继续为电池单元110进行充电。Specifically, when the control module 150 determines that there is an abnormality, it can send a control signal to control the switching circuit 170 to disconnect the charging path and open the communication path between the communication module 160 and the charging interface 120, so that the communication The module 160 communicates with the charging device 20 and detects whether the communication module 160 receives a wake-up command within a preset time period. If the wake-up command is not received, the charging control device is controlled to shut down. If the wake-up command is received within a preset time period, the switching circuit 170 is further controlled to disconnect the communication path and open the charging path between the charging circuit 130 and the charging interface 120 to continue charging the battery unit 110 .
本实施例中的切换电路170可以根据接收的控制信号选择性导通或断开充电通路,进而可以实现耳机充电状态与通信状态之间的自动切换,使得充电状态与通信状态相互独立,互不干扰。The switching circuit 170 in this embodiment can selectively turn on or off the charging path according to the received control signal, thereby realizing automatic switching between the charging state and the communication state of the headset, making the charging state and the communication state independent of each other. interference.
如图8所示,在其中一个实施例中,切换电路170包括第一开关管Q1和第二开关管Q2。其中,第一开关管Q1的控制极分别与控制模块150、充电接口120连接,第一开关管Q1的第一极接地;第二开关管Q2的控制极与第一开关管Q1的第二极连接,第二开关管Q2的第一极与充电接口120连接,第二开关管的第二极与充电电路130连接。As shown in FIG. 8 , in one embodiment, the switching circuit 170 includes a first switching transistor Q1 and a second switching transistor Q2. Among them, the control electrode of the first switch Q1 is connected to the control module 150 and the charging interface 120 respectively. The first electrode of the first switch Q1 is grounded; the control electrode of the second switch Q2 is connected to the second electrode of the first switch Q1. connection, the first pole of the second switch tube Q2 is connected to the charging interface 120, and the second pole of the second switch tube Q2 is connected to the charging circuit 130.
在其中一个实施例中,第一开关管Q1为三极管,第二开关管Q2为MOS管(MetalOxide Semiconductor,金属氧化物半导体场效应晶体管)。其中,该三极管的基极为第二开关管Q2的控制极,三极管的发射极为第二开关管Q2的第一极,三极管的集电极为第二开关管Q2的第二极;该MOS管的栅极为第一开关管Q1的控制极,MOS管的源极为第一开关管Q1的第一极,MOS管的漏极为第一开关管Q1的第二极。也即,三极管的基极分别与控制模块150、充电接口120连接,三极管的发射极接地;MOS管的栅极与三极管的集电极连接,MOS管的源极与充电接口120连接,MOS管的漏极与充电电路130130连接。In one embodiment, the first switching tube Q1 is a triode, and the second switching tube Q2 is a MOS tube (MetalOxide Semiconductor, metal oxide semiconductor field effect transistor). Among them, the base of the triode is the control electrode of the second switching tube Q2, the emitter of the triode is the first pole of the second switching tube Q2, and the collector of the triode is the second pole of the second switching tube Q2; the gate of the MOS tube The pole is the control pole of the first switching tube Q1, the source of the MOS tube is the first pole of the first switching tube Q1, and the drain of the MOS tube is the second pole of the first switching tube Q1. That is, the base of the triode is connected to the control module 150 and the charging interface 120 respectively, and the emitter of the triode is grounded; the gate of the MOS tube is connected to the collector of the triode, the source of the MOS tube is connected to the charging interface 120, and the The drain is connected to charging circuit 130130.
示例性的,以第一开关管Q1为NPN型三极管,第二开关管Q2为P型增强型MOS管为例,对切换电路170的原理进行说明。By way of example, the principle of the switching circuit 170 is explained by taking the first switching transistor Q1 as an NPN transistor and the second switching transistor Q2 as a P-type enhancement mode MOS transistor.
控制模块150发送的控制信号会作用于NPN型三极管。其中,当该控制信号为高电平信号或高阻态时,只要该充电接口120上有电压信号(例如,5V)时,就会使该NPN型三极管导通,当该NPN型三极管导通时,MOS管的栅极的电平为高电平,因此,可以对应导通该MOS管,使得该充电电路130与充电接口120连通,以导通该充电通路。当该控制信号为低电平时,使得NPN型三极管截止,MOS管的栅极的电平变为低高电平,使得MOS管截止,此时,断开了充电电路130与充电接口120之间的充电通路,以使该通路电路与充电设备20进行通信,同时,还可以有效避免充电通路上滤波电容对通信通路的影响,进而可提高通信效率和可靠性。The control signal sent by the control module 150 will act on the NPN transistor. When the control signal is a high-level signal or a high-impedance state, as long as there is a voltage signal (for example, 5V) on the charging interface 120, the NPN transistor will be turned on. When the NPN transistor is turned on, When , the level of the gate of the MOS transistor is high level. Therefore, the MOS transistor can be turned on correspondingly, so that the charging circuit 130 is connected to the charging interface 120 to conduct the charging path. When the control signal is low level, the NPN transistor is turned off, and the level of the gate of the MOS tube becomes low and high, causing the MOS tube to be turned off. At this time, the charging circuit 130 and the charging interface 120 are disconnected. The charging path allows the path circuit to communicate with the charging device 20. At the same time, the impact of the filter capacitance on the charging path on the communication path can be effectively avoided, thereby improving communication efficiency and reliability.
可选的,第一开关管Q1和第二开关管Q2还可以为其他类型的晶体管,例如,各种类型的半导体三极管、场效应管、双极性晶体管、绝缘栅双极晶体管、场效应晶体管等等。需要说明的是,在本申请实施例中,对第一开关管Q1和第二开关管Q2的具体类型不做进一步的限定。Optionally, the first switching tube Q1 and the second switching tube Q2 can also be other types of transistors, such as various types of semiconductor transistors, field effect transistors, bipolar transistors, insulated gate bipolar transistors, field effect transistors. etc. It should be noted that in the embodiment of the present application, the specific types of the first switching transistor Q1 and the second switching transistor Q2 are not further limited.
在其中一个实施例中,切换电路170还包括第一电阻R1和第二电阻R2。其中,第一电阻R1的第一端与充电接口120连接,第一电阻R1的第二端与第一开关管Q1的控制极连接;第二电阻R2的第一端与第一电阻R1的第二端连接,第二电阻R2的第二端与控制模块150连接;其中,第一电阻R1的阻值大于第二电阻R2的阻值。也即,第一电阻R1设置在充电接口120与第一开关管Q1之间的通路上。当耳机处于通信状态时,其充电接口120也会有电压信号(例如,3V、1.8V),此时,该控制模块150的控制端的电平为低电平,通过将第一电阻R1的阻值设置为大于第二电阻R2的阻值,可以防止因充电接口120上有电压而导致第一开关管Q1的基极分压以使第一开关管Q1、第二开关管Q2导通。In one embodiment, the switching circuit 170 further includes a first resistor R1 and a second resistor R2. The first end of the first resistor R1 is connected to the charging interface 120, the second end of the first resistor R1 is connected to the control electrode of the first switch Q1, and the first end of the second resistor R2 is connected to the third end of the first resistor R1. Two ends are connected, and the second end of the second resistor R2 is connected to the control module 150; wherein, the resistance of the first resistor R1 is greater than the resistance of the second resistor R2. That is, the first resistor R1 is provided on the path between the charging interface 120 and the first switch Q1. When the headset is in the communication state, its charging interface 120 will also have a voltage signal (for example, 3V, 1.8V). At this time, the level of the control terminal of the control module 150 is low level, and the resistance of the first resistor R1 is Setting the value to be greater than the resistance of the second resistor R2 can prevent the base of the first switch Q1 from dividing the voltage due to the voltage on the charging interface 120 to turn on the first switch Q1 and the second switch Q2.
通过在切换电路170中设置第一电阻R1和第二电阻R2,其第一电阻R1的阻值大于第二电阻R2的阻值,这样就可以避免耳机在通信状态时被迫切换至充电状态,以影响耳机与充电盒20之间的通信,提供了耳机通信状态的稳定性。By setting the first resistor R1 and the second resistor R2 in the switching circuit 170, the resistance of the first resistor R1 is greater than the resistance of the second resistor R2, so that the headset can be prevented from being forced to switch to the charging state when in the communication state. To affect the communication between the earphones and the charging box 20, the stability of the communication state of the earphones is provided.
在其中一个实施例中,切换电路170还包括第三电阻R3。其中,第三电阻R3的第一端分别与充电接口120、第二开关管Q2的第一极连接,第三电阻R3的第二端分别与第一开关管Q1的第二端、第二开关管Q2的控制极连接。也即,该第三电阻R3可以理解为该第二开关管Q2的上拉电阻,以将不确定的信号通过一个电阻钳位在高电平,电阻同时起限流作用。In one embodiment, the switching circuit 170 further includes a third resistor R3. The first end of the third resistor R3 is connected to the charging interface 120 and the first pole of the second switch Q2 respectively. The second end of the third resistor R3 is connected to the second end of the first switch Q1 and the second switch Q2 respectively. The control electrode of tube Q2 is connected. That is, the third resistor R3 can be understood as a pull-up resistor of the second switch Q2 to clamp the uncertain signal at a high level through a resistor, and the resistor also serves as a current limiting function.
参考图8,在其中一个实施例中,充电控制装置包括充电接口120、通信模块160、充电电路130、切换电路170和滤波电容C,其中,滤波电容C的一端分别与切换电路170、充电电路130连接,滤波电容C的另一端接地。该滤波电容C用于滤除充电通路上的杂散波。Referring to Figure 8, in one embodiment, the charging control device includes a charging interface 120, a communication module 160, a charging circuit 130, a switching circuit 170 and a filter capacitor C, wherein one end of the filter capacitor C is connected to the switching circuit 170 and the charging circuit respectively. 130 connection, and the other end of the filter capacitor C is connected to ground. The filter capacitor C is used to filter out stray waves on the charging path.
本申请实施例中,该滤波电容C设置在充电电路130与充电接口120之间的充电通路上,当切换电路170断开该充电通路而导通通信模块160与充电接口120直接的通信通路时,可以隔离该充电通路上的滤波电容C对通信通路的影响,也即,将该滤波电容C与该通信通路隔离开来,可以避免该滤波电容C对通信通路的影响,以提高通信通路传输数据的速率,这样使得充电控制装置和充电设备20之间通讯变得顺畅。In the embodiment of the present application, the filter capacitor C is disposed on the charging path between the charging circuit 130 and the charging interface 120. When the switching circuit 170 disconnects the charging path and opens the direct communication path between the communication module 160 and the charging interface 120 , can isolate the influence of the filter capacitor C on the charging path on the communication path, that is, isolating the filter capacitor C from the communication path can avoid the influence of the filter capacitor C on the communication path, so as to improve the transmission of the communication path data rate, so that communication between the charging control device and the charging equipment 20 becomes smooth.
在其中一个实施例中,充电控制装置还包括:频次获取模块,获取电池单元110处于当前充电过程的充电频次。其中,控制模块150与频次获取模块连接,用于根据充电参数和充电频次构建充电参数对应的预设范围,若充电参数在对应充电参数的预设范围之外,则确定充电过程存在异常。In one embodiment, the charging control device further includes: a frequency acquisition module that acquires the charging frequency of the battery unit 110 in the current charging process. The control module 150 is connected to the frequency acquisition module and is used to construct a preset range corresponding to the charging parameter according to the charging parameter and the charging frequency. If the charging parameter is outside the preset range of the corresponding charging parameter, it is determined that there is an abnormality in the charging process.
上述充电控制装置中各个模块的划分仅用于举例说明,在其他实施例中,可将充电控制装置按照需要划分为不同的模块,以完成上述充电控制装置的全部或部分功能。The division of each module in the above charging control device is only for illustration. In other embodiments, the charging control device can be divided into different modules as needed to complete all or part of the functions of the above charging control device.
关于充电控制装置的具体限定可以参见上文中对于充电控制方法的限定,在此不再赘述。上述充电控制装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the charging control device, please refer to the above limitations on the charging control method, which will not be described again here. Each module in the above charging control device can be implemented in whole or in part by software, hardware and combinations thereof. Each of the above modules may be embedded in or independent of the processor of the computer device in the form of hardware, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
本申请实施例中还提供一种耳机,该耳机包括上述任一实施例中的充电控制装置,一旦电池单元的充电过程发生异常,不需要接收充电盒发送的关机指令,可以直接由控制模块控制充电控制装置内部的各电路模块处于关机状态,进而使充电控制装置处于关机状态,可以避免由于异常情况如接触不良、充电盒异常,而导致充电控制装置无法充电但一直处于待机的情况的发生,进而可以避免电量的消耗,节省充电控制装置的电量。An embodiment of the present application also provides an earphone. The earphone includes the charging control device in any of the above embodiments. Once an abnormality occurs in the charging process of the battery unit, it does not need to receive a shutdown command sent by the charging box and can be directly controlled by the control module. Each circuit module inside the charging control device is in a shutdown state, which in turn puts the charging control device in a shutdown state. This can avoid the situation where the charging control device cannot charge but is always on standby due to abnormal conditions such as poor contact or abnormal charging box. This can avoid power consumption and save the power of the charging control device.
图9为一个实施例中电子设备的内部结构示意图。如图9所示,该电子设备包括通过系统总线连接的处理器和存储器。其中,该处理器用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种充电控制方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是耳机、手机、平板电脑、PDA(Personal DigitalAssistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备。Figure 9 is a schematic diagram of the internal structure of an electronic device in an embodiment. As shown in Figure 9, the electronic device includes a processor and a memory connected through a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. Memory may include non-volatile storage media and internal memory. Non-volatile storage media stores operating systems and computer programs. The computer program can be executed by the processor to implement a charging control method provided in the following embodiments. The internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media. The electronic device can be any terminal device such as headphones, mobile phones, tablets, PDA (Personal Digital Assistant), POS (Point of Sales, sales terminal), vehicle-mounted computers, wearable devices, etc.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行充电控制方法的步骤。An embodiment of the present application also provides a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the charging control method.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行充电控制方法。A computer program product containing instructions that, when run on a computer, causes the computer to execute a charging control method.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态Any reference to memory, storage, database or other media used herein may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration, and not limitation, RAM is available in many forms, such as static
RAM(SRAM)、动态RAM(DRAM)、同步DRAMRAM (SRAM), dynamic RAM (DRAM), synchronous DRAM
(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。(SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM) , and memory bus dynamic RAM (RDRAM).
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above embodiments only express several implementation modes of the present application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the patent scope of the present application. It should be noted that, for those of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all fall within the protection scope of the present application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011268365.4A CN112448448B (en) | 2020-11-13 | 2020-11-13 | Charging control method, device, earphone, electronic device and readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011268365.4A CN112448448B (en) | 2020-11-13 | 2020-11-13 | Charging control method, device, earphone, electronic device and readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN112448448A CN112448448A (en) | 2021-03-05 |
| CN112448448B true CN112448448B (en) | 2023-11-10 |
Family
ID=74737301
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011268365.4A Active CN112448448B (en) | 2020-11-13 | 2020-11-13 | Charging control method, device, earphone, electronic device and readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112448448B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113179108B (en) * | 2021-04-09 | 2023-01-03 | Oppo广东移动通信有限公司 | Signal transmission method and device, electronic equipment and readable storage medium |
| US20220353666A1 (en) * | 2021-04-30 | 2022-11-03 | Apple Inc. | Wireless accessory advertisements |
| CN114498821A (en) * | 2021-12-30 | 2022-05-13 | 歌尔科技有限公司 | Charging control circuit, method and device and wireless earphone charging device |
| CN114498842A (en) * | 2022-02-08 | 2022-05-13 | 珠海格力电器股份有限公司 | Charging device, charging control method, electronic device, and storage medium |
| CN116033306A (en) * | 2022-12-20 | 2023-04-28 | Oppo广东移动通信有限公司 | Shutdown control method, device, earphone and storage medium of TWS earphone |
| CN118889628B (en) * | 2024-09-10 | 2025-03-11 | 荣耀终端股份有限公司 | Charging method, circuit and electronic equipment for avoiding abnormal display |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202014087U (en) * | 2011-03-17 | 2011-10-19 | 上海韦尔半导体股份有限公司 | Lithium battery charging protection circuit for portable system |
| CN102308454A (en) * | 2009-02-05 | 2012-01-04 | 高通股份有限公司 | Wireless power for charging devices |
| CN204131103U (en) * | 2014-08-12 | 2015-01-28 | 中北大学 | Automatic detection power device and electric network state also can the electricity-saving controllers of delay cut-off |
| CN106849240A (en) * | 2017-02-23 | 2017-06-13 | 大唐终端技术有限公司 | A kind of terminal device battery charging state detection method and detection means |
| US9729003B1 (en) * | 2016-12-21 | 2017-08-08 | C-Corp International Co., Limited | Wireless charging device and method thereof |
| CN107167737A (en) * | 2017-03-31 | 2017-09-15 | 惠州市蓝微新源技术有限公司 | A kind of battery system method for safety monitoring |
| CN110098647A (en) * | 2019-04-18 | 2019-08-06 | 合肥德通科贸有限公司 | A kind of power supply smart monitoring management control system when charging |
| WO2019237464A1 (en) * | 2018-06-12 | 2019-12-19 | 歌尔科技有限公司 | Method and apparatus for establishing single-line connection, and wireless headset and charging box |
| CN111211601A (en) * | 2020-02-27 | 2020-05-29 | 歌尔股份有限公司 | Charging method, Bluetooth headset and computer readable storage medium |
| CN111273176A (en) * | 2018-12-05 | 2020-06-12 | 宁德时代新能源科技股份有限公司 | A fault diagnosis optimization method and device, system and storage medium |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007215309A (en) * | 2006-02-08 | 2007-08-23 | Sanyo Electric Co Ltd | Battery pack control method |
| US9667092B2 (en) * | 2013-03-20 | 2017-05-30 | Halo International SEZC Ltd. | Power charging kit with wireless and direct charging connectivity |
| KR102107768B1 (en) * | 2013-07-24 | 2020-05-07 | 엘지이노텍 주식회사 | Wireless charger equipped with auxiliary power and auxiliary power unit |
-
2020
- 2020-11-13 CN CN202011268365.4A patent/CN112448448B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102308454A (en) * | 2009-02-05 | 2012-01-04 | 高通股份有限公司 | Wireless power for charging devices |
| CN202014087U (en) * | 2011-03-17 | 2011-10-19 | 上海韦尔半导体股份有限公司 | Lithium battery charging protection circuit for portable system |
| CN204131103U (en) * | 2014-08-12 | 2015-01-28 | 中北大学 | Automatic detection power device and electric network state also can the electricity-saving controllers of delay cut-off |
| US9729003B1 (en) * | 2016-12-21 | 2017-08-08 | C-Corp International Co., Limited | Wireless charging device and method thereof |
| CN106849240A (en) * | 2017-02-23 | 2017-06-13 | 大唐终端技术有限公司 | A kind of terminal device battery charging state detection method and detection means |
| CN107167737A (en) * | 2017-03-31 | 2017-09-15 | 惠州市蓝微新源技术有限公司 | A kind of battery system method for safety monitoring |
| WO2019237464A1 (en) * | 2018-06-12 | 2019-12-19 | 歌尔科技有限公司 | Method and apparatus for establishing single-line connection, and wireless headset and charging box |
| CN111273176A (en) * | 2018-12-05 | 2020-06-12 | 宁德时代新能源科技股份有限公司 | A fault diagnosis optimization method and device, system and storage medium |
| CN110098647A (en) * | 2019-04-18 | 2019-08-06 | 合肥德通科贸有限公司 | A kind of power supply smart monitoring management control system when charging |
| CN111211601A (en) * | 2020-02-27 | 2020-05-29 | 歌尔股份有限公司 | Charging method, Bluetooth headset and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112448448A (en) | 2021-03-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112448448B (en) | Charging control method, device, earphone, electronic device and readable storage medium | |
| CN110085934B (en) | A terminal battery charging method and mobile terminal | |
| CN108899952B (en) | A multi-battery charging and discharging device and mobile terminal | |
| CN111313938B (en) | Near field communication tag and control system thereof | |
| US9483093B2 (en) | Electronic device and method for controlling a setting of a maximum consumption current | |
| CN103427123B (en) | A kind of method and handheld terminal maximizing use battery capacity | |
| WO2021035736A1 (en) | Charging control method and apparatus, charging test method and system, and electronic device | |
| WO2020051808A1 (en) | Charging control method and apparatus, electronic device and computer-readable storage medium | |
| CN104852439B (en) | Electronic equipment and double-battery charge electric discharge switching method | |
| CN112311038B (en) | Charging and discharging protection circuit, terminal equipment and battery discharging control method | |
| CN110797925A (en) | Battery control system and method and electronic equipment | |
| CN103200318B (en) | The power-saving method of mobile terminal and mobile terminal | |
| CN110797924B (en) | Battery control system and method, electronic device | |
| CN109217411B (en) | Charging method and device and electronic equipment | |
| CN113056855A (en) | Charging control device and method and electronic equipment | |
| WO2020024116A1 (en) | Interface configuration method, terminal device and interface | |
| CN116914894A (en) | Adjustment method of cut-off voltage, electronic equipment and readable storage medium | |
| TWI740404B (en) | Battery protection charging method and system thereof | |
| WO2020253520A1 (en) | Device to be charged and charging method | |
| CN209766595U (en) | overlength standby device | |
| CN112054564B (en) | Circuit detection method and device, equipment and storage medium | |
| WO2020042715A1 (en) | Electronic device power supply method and apparatus, electronic device, and storage medium | |
| CN113866658A (en) | Electric quantity information acquisition circuit and equipment | |
| CN113169385B (en) | Battery pack, circuit system for measuring battery current and equipment for measuring battery current | |
| CN208188729U (en) | Electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |