CN106786912A - The charge protection method and device of helmet charge protection method, electronic equipment - Google Patents
The charge protection method and device of helmet charge protection method, electronic equipment Download PDFInfo
- Publication number
- CN106786912A CN106786912A CN201611229803.XA CN201611229803A CN106786912A CN 106786912 A CN106786912 A CN 106786912A CN 201611229803 A CN201611229803 A CN 201611229803A CN 106786912 A CN106786912 A CN 106786912A
- Authority
- CN
- China
- Prior art keywords
- current value
- charging
- electronic device
- head
- charging plug
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000001514 detection method Methods 0.000 claims description 9
- 238000004880 explosion Methods 0.000 abstract description 8
- 238000013021 overheating Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- H02J7/0077—
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
本发明公开了一种头戴设备充电保护方法、电子设备的充电保护方法及装置,所述头戴设备充电保护方法包括:将头戴设备的电源管理芯片与头戴设备的充电插头直接通信,使用电源管理芯片监测充电插头的连接情况,在监测到充电插头连接到外部电源时,发中断消息给头戴设备的微处理器;微处理器在收到电源管理芯片的中断消息后,获取头戴设备当前的佩戴状态,若处于佩戴状态,则计算出头戴设备正常运行所需的电流值返回给电源管理芯片供设备正常运行,避免电池过热引发爆炸等危险;若处于未佩戴状态,则确定出正常充电状态的电流值返回给电源管理芯片;电源管理芯片控制充电插头按微处理器返回的电流值输入电流。
The invention discloses a charging protection method for a head-mounted device, a charging protection method and a device for an electronic device. The charging protection method for a head-mounted device includes: directly communicating with a power management chip of the head-mounted device and a charging plug of the head-mounted device, Use the power management chip to monitor the connection of the charging plug, and when it detects that the charging plug is connected to an external power source, send an interrupt message to the microprocessor of the headset; after receiving the interrupt message from the power management chip, the microprocessor obtains the head The current wearing state of the wearable device. If it is in the wearing state, calculate the current value required for the normal operation of the head-mounted device and return it to the power management chip for the normal operation of the device, avoiding dangers such as explosion caused by overheating of the battery; if it is not wearing the state, then The current value that determines the normal charging state is returned to the power management chip; the power management chip controls the charging plug to input current according to the current value returned by the microprocessor.
Description
技术领域technical field
本发明涉及充电保护技术领域,特别涉及一种头戴设备充电保护方法、电子设备的充电保护方法及装置。The invention relates to the technical field of charging protection, in particular to a charging protection method for a head-mounted device, a charging protection method and a device for an electronic device.
背景技术Background technique
随着虚拟现实(Virtual Reality,VR)行业的快速发展,头戴设备作为VR资源(图片、视频、游戏等)的展示平台,被越来越多的用户所使用。但由于VR资源对于设备的处理能力要求较高,需要设备的处理器运行在一个较高频率上,因此设备对于电池电量的消耗是很大的,导致设备经常处于没有电的状态,因此很多用户会采用边充电边使用的方式。With the rapid development of the virtual reality (Virtual Reality, VR) industry, head-mounted devices are used by more and more users as a display platform for VR resources (pictures, videos, games, etc.). However, since VR resources have higher requirements on the processing capability of the device, the processor of the device needs to run at a higher frequency, so the device consumes a lot of battery power, causing the device to often be in a state of no power, so many users It will be used while charging.
这样会带来一些问题,不仅会将低电池的使用寿命,而且在设备边充电边使用时,电池会产生大量的热量,达到一定程度时可能会发生爆炸,由于很多时候都是在用户不经意间发生意外,因此会对用户造成极大伤害。同样地,手机、平板电脑等电池耗电量较大的电子设备也面临同样的问题。如何增加一种充电保护措施成为了头戴设备甚至是所有电池耗电量较大的电子设备的一个关键点。This will bring some problems. Not only will the service life of the battery be reduced, but also when the device is used while charging, the battery will generate a lot of heat, which may explode when it reaches a certain level. Accidents happen and thus can cause great harm to the user. Similarly, electronic devices such as mobile phones and tablet computers that consume a large amount of battery power also face the same problem. How to add a charging protection measure has become a key point for headsets and even all electronic devices with large battery consumption.
发明内容Contents of the invention
鉴于上述问题,本发明提供了一种头戴设备充电保护方法、电子设备的充电保护方法及装置,以解决现有头戴设备、电子设备在用户边充电边使用导致电池产生大量的热量,容易引起爆炸等危险的问题。In view of the above problems, the present invention provides a charging protection method for a head-mounted device, a charging protection method and device for an electronic device, to solve the problem that the battery generates a large amount of heat when the user uses the existing head-mounted device and electronic device while charging, which is easy Problems causing danger such as explosion.
为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:
一方面,本发明提供一种头戴设备的充电保护方法,所述头戴设备包括微处理器、电源管理芯片、内置电池、充电插头和接近感应传感器,所述方法包括:In one aspect, the present invention provides a charging protection method for a head-mounted device, the head-mounted device includes a microprocessor, a power management chip, a built-in battery, a charging plug and a proximity sensor, and the method includes:
将所述电源管理芯片与所述充电插头直接通信,使用所述电源管理芯片监测所述充电插头的连接情况,在监测到所述充电插头连接到外部电源时,发中断消息给所述微处理器;directly communicate the power management chip with the charging plug, use the power management chip to monitor the connection of the charging plug, and send an interrupt message to the microprocessor when it is detected that the charging plug is connected to an external power supply device;
所述微处理器在收到所述电源管理芯片的中断消息后,获取所述头戴设备当前的佩戴状态,若处于佩戴状态,则计算出所述头戴设备正常运行所需的电流值返回给所述电源管理芯片;若处于未佩戴状态,则确定出正常充电状态的电流值返回给所述电源管理芯片;After receiving the interrupt message from the power management chip, the microprocessor acquires the current wearing state of the head-mounted device, and if it is in the wearing state, calculates the current value required for the normal operation of the head-mounted device and returns to the power management chip; if it is not worn, then determine the current value of the normal charging state and return it to the power management chip;
所述电源管理芯片控制所述充电插头按所述微处理器返回的电流值输入电流。The power management chip controls the charging plug to input current according to the current value returned by the microprocessor.
另一方面,本发明还提供一种电子设备的充电保护方法,所述电子设备包括内置电池和充电插头;所述方法包括:On the other hand, the present invention also provides a charging protection method for an electronic device, where the electronic device includes a built-in battery and a charging plug; the method includes:
在监测到所述电子设备的充电插头连接外部电源时,检测所述电子设备是否在被使用;Detecting whether the electronic device is being used when it is detected that the charging plug of the electronic device is connected to an external power source;
若在被使用,则根据所述电子设备的使用状态,计算出所述电子设备正常运行所需的电流值,控制所述充电插头按所述电子设备正常运行所需的电流值输入电流;If it is being used, calculate the current value required for the normal operation of the electronic device according to the use state of the electronic device, and control the charging plug to input current according to the current value required for the normal operation of the electronic device;
若未被使用,则分别获取所述充电插头支持的最大输入电流值和所述内置电池允许的最大充电电流值,从获取的两个电流值中确定出较小的电流值,控制所述充电插头按所述较小的电流值输入电流。If it is not used, obtain the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery respectively, determine the smaller current value from the two obtained current values, and control the charging The plug inputs current according to the smaller current value.
再一方面,本发明还提供一种电子设备的充电保护装置,所述电子设备包括内置电池和充电插头;所述装置包括:In another aspect, the present invention also provides a charging protection device for an electronic device, the electronic device includes a built-in battery and a charging plug; the device includes:
使用检测单元,用于在监测到所述电子设备的充电插头连接外部电源时,检测所述电子设备是否在被使用;A detection unit is used to detect whether the electronic device is being used when the charging plug of the electronic device is detected to be connected to an external power source;
第一电流控制单元,用于所述电子设备在被使用时,根据所述电子设备的使用状态,计算出所述电子设备正常运行所需的电流值,控制所述充电插头按所述电子设备正常运行所需的电流值输入电流;The first current control unit is used to calculate the current value required for the normal operation of the electronic device according to the use state of the electronic device when the electronic device is in use, and control the charging plug to The current value input current required for normal operation;
第二电流控制单元,用于所述电子设备未被使用时,分别获取所述充电插头支持的最大输入电流值和所述内置电池允许的最大充电电流值,从获取的两个电流值中确定出较小的电流值,控制所述充电插头按所述较小的电流值输入电流。The second current control unit is used to respectively obtain the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery when the electronic device is not in use, and determine from the two obtained current values output a smaller current value, and control the charging plug to input current according to the smaller current value.
本发明的有益效果是:本发明提供一种头戴设备的充电保护方法,微处理器根据头戴设备的佩戴状态向电源管理芯片返回特定的电流值,若处于佩戴状态,则计算出头戴设备正常运行所需的电流值返回给电源管理芯片,若处于未佩戴状态,则确定出正常充电状态的电流值返回给电源管理芯片;电源管理芯片控制充电插头按微处理器返回的电流值输入电流,在佩戴时输入电流较小且无电流流入内置电池,避免电池过热引发爆炸等危险,同时延长电池的使用寿命;在未佩戴时输入电流相对更大,方便设备进行快速充电。The beneficial effects of the present invention are: the present invention provides a charging protection method for a head-mounted device. The microprocessor returns a specific current value to the power management chip according to the wearing state of the head-mounted device. The current value required for the normal operation of the device is returned to the power management chip. If it is not worn, the current value determined to be in the normal charging state is returned to the power management chip; the power management chip controls the charging plug to input the current value returned by the microprocessor. Current, when worn, the input current is small and no current flows into the built-in battery, which avoids dangers such as battery overheating and explosion, and at the same time prolongs the service life of the battery; when not worn, the input current is relatively larger, which is convenient for fast charging of the device.
进一步,本发明提供的一种电子设备的充电保护方法及装置,在监测到所述电子设备的充电插头连接外部电源时,检测所述电子设备是否在被使用,若在被使用,则计算出所述电子设备正常运行所需的电流值,控制所述充电插头按所述电子设备正常运行所需的电流值输入电流,此时输入电流较小且无电流流入内置电池,避免电池过热引发爆炸等危险,同时延长电池的使用寿命;若未被使用,则分别获取所述充电插头支持的最大输入电流值和所述内置电池允许的最大充电电流值,从获取的两个电流值中确定出较小的电流值,控制所述充电插头按所述较小的电流值输入电流,在保证输入电流尽可能大的同时避免电流超过充电插头或电池所允许的电流上限,此时输入电流相对于电子设备在使用时更大,方便设备进行快速充电。Further, the present invention provides a charging protection method and device for electronic equipment. When it is detected that the charging plug of the electronic equipment is connected to an external power source, it detects whether the electronic equipment is being used, and if it is being used, calculates The current value required for the normal operation of the electronic device controls the input current of the charging plug according to the current value required for the normal operation of the electronic device. At this time, the input current is small and no current flows into the built-in battery, so as to avoid explosion caused by overheating of the battery and other dangers, while prolonging the service life of the battery; if it is not used, obtain the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery, and determine from the obtained two current values Smaller current value, control the charging plug to input current according to the smaller current value, while ensuring that the input current is as large as possible, at the same time avoiding the current exceeding the current upper limit allowed by the charging plug or battery. At this time, the input current is relative to Electronics are larger when in use, allowing for quick charging of the device.
附图说明Description of drawings
图1是本发明实施例一的头戴设备的充电保护方法的流程图;FIG. 1 is a flowchart of a charging protection method for a head-mounted device according to Embodiment 1 of the present invention;
图2是本发明实施例一的头戴设备的充电保护方法的逻辑框图;2 is a logical block diagram of a charging protection method for a head-mounted device according to Embodiment 1 of the present invention;
图3是本发明实施例二的电子设备的充电保护方法的流程图;3 is a flow chart of a charging protection method for an electronic device according to Embodiment 2 of the present invention;
图4是本发明实施例三的电子设备的充电保护装置的示意图。FIG. 4 is a schematic diagram of a charging protection device for electronic equipment according to Embodiment 3 of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
实施例一Embodiment one
本发明实施例一提供一种头戴设备的充电保护方法,所述头戴设备包括微处理器、电源管理芯片、内置电池、充电插头和接近感应传感器,如图1所示,该方法包括:Embodiment 1 of the present invention provides a charging protection method for a head-mounted device. The head-mounted device includes a microprocessor, a power management chip, a built-in battery, a charging plug, and a proximity sensor. As shown in FIG. 1 , the method includes:
步骤S110:将所述电源管理芯片与所述充电插头直接通信,使用所述电源管理芯片监测所述充电插头的连接情况,在监测到所述充电插头连接到外部电源时,发中断消息给所述微处理器;Step S110: Communicate directly with the power management chip and the charging plug, use the power management chip to monitor the connection of the charging plug, and send an interrupt message to the charging plug when it is detected that the charging plug is connected to an external power source said microprocessor;
步骤S120:所述微处理器在收到所述电源管理芯片的中断消息后,获取所述头戴设备当前的佩戴状态,若处于佩戴状态,则计算出所述头戴设备正常运行所需的电流值返回给所述电源管理芯片;若处于未佩戴状态,则确定出正常充电状态的电流值返回给所述电源管理芯片;Step S120: After receiving the interrupt message from the power management chip, the microprocessor acquires the current wearing state of the head-mounted device, and if it is in the wearing state, calculates the power required for the normal operation of the head-mounted device. The current value is returned to the power management chip; if it is not worn, the current value determined to be in a normal charging state is returned to the power management chip;
步骤S130:所述电源管理芯片控制所述充电插头按所述微处理器返回的电流值输入电流。Step S130: the power management chip controls the charging plug to input current according to the current value returned by the microprocessor.
若所述头戴设备处于佩戴状态,所述充电插头按所述头戴设备正常运行所需的电流值输入电流,则所述电源管理芯片将所述输入的电流全部用于供给所述头戴设备正常运行,无电池流向所述内置电池,这样可以让用户在充电过程中继续使用设备,且避免内置电池过热引发爆炸等危险,同时延长电池的使用寿命。If the head-mounted device is in the wearing state, the charging plug inputs current according to the current value required for the normal operation of the head-mounted device, and the power management chip uses all the input current to supply the head-mounted device. The device operates normally, and no battery flows to the built-in battery, so that the user can continue to use the device during charging, avoid dangers such as explosion caused by overheating of the built-in battery, and prolong the service life of the battery.
若所述头戴设备处于未佩戴状态,所述充电插头按正常充电状态的电流值输入电流。此时,若所述头戴设备处于关机状态,则所述电源管理芯片将所述输入的电流全部用于供内置电池充电;若所述头戴设备处于待机状态,则所述电源管理芯片分配所述头戴设备待机运行所需的电流供所述电子设备待机运行,剩余的电流分配给内置电池充电,相对于佩戴状态提高了头戴设备的输入电流,让设备进行快速充电。在本发明实施例中,步骤S120中所述若处于未佩戴状态,则确定出正常充电状态的电流值返回给所述电源管理芯片包括:If the head-mounted device is in an unworn state, the charging plug inputs current according to a current value in a normal charging state. At this time, if the head-mounted device is in the shutdown state, the power management chip uses all the input current to charge the built-in battery; if the head-mounted device is in the standby state, the power management chip allocates The current required for the standby operation of the head-mounted device is used for the standby operation of the electronic device, and the remaining current is distributed to the built-in battery for charging. Compared with the wearing state, the input current of the head-mounted device is increased, so that the device can be charged quickly. In the embodiment of the present invention, if it is in the unworn state as described in step S120, returning the current value determined to be in a normal charging state to the power management chip includes:
所述微处理器分别获取所述充电插头支持的最大输入电流值和所述内置电池允许的最大充电电流值,从获取的两个电流值中确定出较小的电流值作为正常充电状态的电流值返回给所述电源管理芯片,在保证输入电流尽可能大的同时避免电流超过充电插头或电池所允许的电流上限,方便设备以大电流进行快速充电。The microprocessor respectively acquires the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery, and determines the smaller current value from the two acquired current values as the current in the normal charging state The value is returned to the power management chip to ensure that the input current is as large as possible while preventing the current from exceeding the current upper limit allowed by the charging plug or the battery, so that the device can be quickly charged with a large current.
在本发明实施例中,所述充电插头支持的最大输入电流值与所述内置电池允许的最大充电电流值,均大于所述头戴设备正常运行所需的电流值。In the embodiment of the present invention, the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery are both greater than the current value required for the normal operation of the head-mounted device.
下面以表1为例具体说明。The following takes Table 1 as an example for specific description.
表1Table 1
在表1中,若所述微处理器获取到所述头戴设备处于佩戴状态,则确定出所述头戴设备正常运行所需的电流值0.5A,返回给所述电源管理芯片,所述电源管理芯片控制所述充电插头按0.5A的电流值输入电流。In Table 1, if the microprocessor obtains that the head-mounted device is in the wearing state, it determines the current value of 0.5A required for the normal operation of the head-mounted device, and returns it to the power management chip. The power management chip controls the charging plug to input current at a current value of 0.5A.
若所述微处理器获取到所述头戴设备处于未佩戴状态,当所述充电插头支持的最大输入电流值为4A,所述内置电池允许的最大充电电流值为3A时,则将所述内置电池允许的最大充电电流值3A作为正常充电状态的电流值返回给所述电源管理芯片。当所述充电插头支持的最大输入电流值为2A,所述内置电池允许的最大充电电流值为3A时,则将所述充电插头支持的最大输入电流值2A作为正常充电状态的电流值返回给所述电源管理芯片。If the microprocessor obtains that the head-mounted device is not worn, when the maximum input current value supported by the charging plug is 4A, and the maximum charging current value allowed by the built-in battery is 3A, then the The maximum charging current value of 3A allowed by the built-in battery is returned to the power management chip as the current value in the normal charging state. When the maximum input current value supported by the charging plug is 2A, and the maximum charging current value allowed by the built-in battery is 3A, then the maximum input current value 2A supported by the charging plug is returned to the The power management chip.
当所述充电插头按正常充电状态的电流值输入电流时,若所述头戴设备处于关机状态,则所述电源管理芯片将所述输入的电流(表1中的3A或2A)全部用于供内置电池充电;若所述头戴设备处于待机状态,则所述电源管理芯片分配所述头戴设备待机运行所需的电流,即表1中的电流值0.3A,供所述电子设备待机运行,剩余的电流分配给内置电池充电,例如当输入电流为3A时,剩余的2.7A电流分配给内置电池充电,当输入电流为2A时,剩余的1.7A电流分配给内置电池充电。When the charging plug inputs current according to the current value of the normal charging state, if the head-mounted device is in the off state, the power management chip uses all the input current (3A or 2A in Table 1) for For charging the built-in battery; if the head-mounted device is in a standby state, the power management chip distributes the current required for the standby operation of the head-mounted device, that is, the current value in Table 1 is 0.3A, for the electronic device to stand by Running, the remaining current is distributed to the built-in battery charging, for example, when the input current is 3A, the remaining 2.7A current is distributed to the built-in battery charging, when the input current is 2A, the remaining 1.7A current is distributed to the built-in battery charging.
在本发明实施例中,图1所示的方法还包括:In an embodiment of the present invention, the method shown in FIG. 1 also includes:
在所述头戴设备上靠近使用者头部佩戴处设置接近感应传感器,利用所述接近感应传感器检测头戴设备是处于佩戴状态还是未佩戴状态,并将检测结果发送给所述微处理器;A proximity sensor is arranged on the head-mounted device close to the wearing position of the user's head, and the proximity sensor is used to detect whether the head-mounted device is in the wearing state or not, and the detection result is sent to the microprocessor;
具体地,所述接近感应传感器检测预设距离内是否有物体靠近自身;Specifically, the proximity sensor detects whether an object approaches itself within a preset distance;
所述微处理器在收到所述电源管理芯片的中断消息后,根据所述接近感应传感器发送的检测结果进行判断,获取所述头戴设备当前的佩戴状态。After receiving the interrupt message from the power management chip, the microprocessor judges according to the detection result sent by the proximity sensor, and obtains the current wearing state of the head-mounted device.
所述处理器在所述接近感应传感器检测到预设距离内有物体靠近自身时,判断出所述头戴设备处于佩戴状态;在所述接近感应传感器没有检测到预设距离内有物体靠近自身时,判断出所述头戴设备处于未佩戴状态。The processor determines that the head-mounted device is in the wearing state when the proximity sensor detects an object approaching itself within a preset distance; when the proximity sensor does not detect an object approaching itself within a preset distance , it is determined that the head-mounted device is not worn.
以两种具体使用情况为例,当头戴设备正在处于充电状态且未被佩戴,此时用户将头戴设备进行佩戴,则接近感应传感器产生中断,检测到头戴设备此时处于佩戴状态,则处理器计算出头戴设备正常运行所需的电流值返回给电源管理芯片,电源管理芯片控制充电插头按头戴设备正常运行所需的电流值输入电流;Taking two specific use cases as examples, when the headset is in the charging state and is not worn, and the user wears the headset, the proximity sensor generates an interruption and detects that the headset is in the wearing state at this time. Then the processor calculates the current value required for the normal operation of the headset and returns it to the power management chip, and the power management chip controls the charging plug to input current according to the current value required for the normal operation of the headset;
当头戴设备正在处于充电状态且已被佩戴,此时用户将头戴设备摘下,则接近感应传感器产生中断,检测到头戴设备此时处于未佩戴状态,则处理器计算出头戴设备正常充电状态的电流值返回给电源管理芯片,电源管理芯片控制充电插头按正常充电状态的电流值输入电流。由上述可知,本发明实施例只需要在头戴设备上设置接近感应传感器,并与微处理器以及电源管理芯片进行配合即可实现设备的充电保护功能,硬件成本较低。When the headset is in the charging state and has been worn, and the user takes off the headset, the proximity sensor generates an interrupt, and detects that the headset is not worn at this time, and the processor calculates The current value in the normal charging state is returned to the power management chip, and the power management chip controls the charging plug to input current according to the current value in the normal charging state. As can be seen from the above, the embodiment of the present invention only needs to install a proximity sensor on the head-mounted device, and cooperate with the microprocessor and the power management chip to realize the charging protection function of the device, and the hardware cost is relatively low.
综上所述,本发明实施例一的头戴设备的充电保护方法的逻辑框图如图2所示,使用电源管理芯片监测充电插头的连接情况,即是否连接到外部电源,在监测到充电插头连接到外部电源时,发中断消息给微处理器;微处理器在收到电源管理芯片的中断消息后,获取头戴设备当前的佩戴状态,即是否佩戴,若处于佩戴状态,则计算出头戴设备正常运行所需的电流值返回给电源管理芯片;若处于未佩戴状态,则确定出正常充电状态的电流值返回给电源管理芯片;电源管理芯片控制充电插头按微处理器返回的电流值输入电流。To sum up, the logic block diagram of the charging protection method for head-mounted devices according to Embodiment 1 of the present invention is shown in Figure 2. The power management chip is used to monitor the connection status of the charging plug, that is, whether it is connected to an external power source. When connected to an external power supply, an interrupt message is sent to the microprocessor; after receiving the interrupt message from the power management chip, the microprocessor obtains the current wearing status of the head-mounted device, that is, whether it is worn, and if it is in the wearing status, calculates the head-mounted device. The current value required for the normal operation of the worn device is returned to the power management chip; if it is not worn, the current value determined to be in the normal charging state is returned to the power management chip; the power management chip controls the charging plug according to the current value returned by the microprocessor Input Current.
综上所述,本发明实施例一提供的一种头戴设备的充电保护方法,微处理器根据头戴设备的佩戴状态向电源管理芯片返回特定的电流值,若处于佩戴状态,则计算出头戴设备正常运行所需的电流值返回给电源管理芯片,若处于未佩戴状态,则确定出正常充电状态的电流值返回给电源管理芯片;电源管理芯片控制充电插头按微处理器返回的电流值输入电流,在佩戴时输入电流较小且无电流流入内置电池,避免电池过热引发爆炸等危险,同时延长电池的使用寿命;在佩戴时头戴设备的输入电流更大,方便设备进行快速充电。To sum up, the first embodiment of the present invention provides a charging protection method for a head-mounted device. The microprocessor returns a specific current value to the power management chip according to the wearing state of the head-mounted device. If the head-mounted device is in the wearing state, it calculates The current value required for the normal operation of the headset is returned to the power management chip. If it is not worn, the current value determined to be in the normal charging state is returned to the power management chip; the power management chip controls the charging plug according to the current returned by the microprocessor. When wearing, the input current is small and no current flows into the built-in battery, avoiding the danger of battery overheating and explosion, and prolonging the service life of the battery; the input current of the headset is larger when wearing, which is convenient for fast charging of the device .
实施例二Embodiment two
本发明实施例二提供一种电子设备的充电保护方法,所述电子设备包括内置电池和充电插头;如图3所示,该方法包括:Embodiment 2 of the present invention provides a charging protection method for an electronic device, where the electronic device includes a built-in battery and a charging plug; as shown in FIG. 3 , the method includes:
步骤S210:在监测到所述电子设备的充电插头连接外部电源时,检测所述电子设备是否在被使用;Step S210: When it is detected that the charging plug of the electronic device is connected to an external power source, detect whether the electronic device is being used;
在本发明的一个实施例中,所述检测所述电子设备是否在被使用包括:In one embodiment of the present invention, the detecting whether the electronic device is being used includes:
在检测到所述电子设备处于关机或待机状态时,则判断所述电子设备未被使用;在检测到所述电子设备处于非关机且非待机状态时,则判断所述电子设备被使用。When it is detected that the electronic device is in a power-off or standby state, it is determined that the electronic device is not in use; when it is detected that the electronic device is not in a power-off and non-standby state, it is determined that the electronic device is in use.
步骤S220:若在被使用,则根据所述电子设备的使用状态,计算出所述电子设备正常运行所需的电流值,控制所述充电插头按所述电子设备正常运行所需的电流值输入电流;Step S220: If it is being used, calculate the current value required for the normal operation of the electronic device according to the use status of the electronic device, and control the charging plug to input the current value required for the normal operation of the electronic device current;
步骤S230:若未被使用,则分别获取所述充电插头支持的最大输入电流值和所述内置电池允许的最大充电电流值,从获取的两个电流值中确定出较小的电流值,控制所述充电插头按所述较小的电流值输入电流,在保证输入电流尽可能大的同时避免电流超过充电插头或电池所允许的电流上限,方便设备以大电流进行快速充电。。Step S230: If not in use, respectively obtain the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery, determine the smaller current value from the two obtained current values, and control The charging plug inputs current according to the smaller current value, while ensuring that the input current is as large as possible while preventing the current from exceeding the current upper limit allowed by the charging plug or the battery, so as to facilitate rapid charging of the device with a large current. .
若所述电子设备在被使用,所述充电插头按所述电子设备正常运行所需的电流值输入电流后,则将所述输入的电流全部用于供给所述电子设备正常运行,无电池流向所述内置电池,这样可以让用户在充电过程中继续使用设备,且避免内置电池过热引发爆炸等危险,同时延长电池的使用寿命。If the electronic device is being used, after the charging plug inputs current according to the current value required for the normal operation of the electronic device, all the input current is used to supply the normal operation of the electronic device, and no battery flows The built-in battery allows the user to continue to use the device during charging, avoids dangers such as explosion caused by overheating of the built-in battery, and prolongs the service life of the battery.
若所述电子设备未被使用,所述充电插头按所述充电插头支持的最大输入电流值和所述内置电池允许的最大充电电流值之中较小的电流值输入电流后,此时,若所述电子设备处于关机状态,则将所述输入的电流全部用于供内置电池充电;若所述电子设备处于待机状态,则分配所述电子设备待机运行所需的电流供所述电子设备待机运行,剩余的电流分配给内置电池充电,相对于设备被使用时提高了输入电流,方便设备进行快速充电。If the electronic device is not in use, after the charging plug inputs current according to the smaller current value among the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery, at this time, if When the electronic device is in the shutdown state, all the input current is used for charging the built-in battery; if the electronic device is in the standby state, then the current required for the standby operation of the electronic device is allocated for the standby operation of the electronic device Running, the remaining current is distributed to the built-in battery to charge, which increases the input current compared to when the device is in use, which is convenient for fast charging of the device.
在本发明实施例中,所述充电插头支持的最大输入电流值与所述内置电池允许的最大充电电流值,均大于所述电子设备正常运行所需的电流值。In the embodiment of the present invention, the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery are both greater than the current value required by the electronic device for normal operation.
实施例三Embodiment three
本发明实施例三提供一种电子设备的充电保护装置,电子设备包括内置电池和充电插头;如图4所示,该充电保护装置包括:Embodiment 3 of the present invention provides a charging protection device for electronic equipment, the electronic equipment includes a built-in battery and a charging plug; as shown in Figure 4, the charging protection device includes:
使用检测单元110,用于在监测到电子设备的充电插头连接外部电源时,检测电子设备是否在被使用;A detection unit 110 is used to detect whether the electronic device is being used when the charging plug of the electronic device is connected to an external power source;
第一电流控制单元120,用于电子设备在被使用时,根据电子设备的使用状态,计算出电子设备正常运行所需的电流值,控制充电插头按电子设备正常运行所需的电流值输入电流;The first current control unit 120 is used to calculate the current value required for the normal operation of the electronic device according to the use status of the electronic device when the electronic device is in use, and control the charging plug to input current according to the current value required for the normal operation of the electronic device ;
第二电流控制单元130,用于电子设备未被使用时,分别获取充电插头支持的最大输入电流值和内置电池允许的最大充电电流值,从获取的两个电流值中确定出较小的电流值,控制充电插头按较小的电流值输入电流,在保证输入电流尽可能大的同时避免电流超过充电插头或电池所允许的电流上限,方便设备以大电流进行快速充电。The second current control unit 130 is used to respectively obtain the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery when the electronic device is not in use, and determine the smaller current from the two obtained current values Value, control the charging plug to input current at a lower current value, while ensuring that the input current is as large as possible while preventing the current from exceeding the current upper limit allowed by the charging plug or battery, it is convenient for the device to quickly charge with a large current.
在本发明实施例中,充电插头支持的最大输入电流值与内置电池允许的最大充电电流值,均大于电子设备正常运行所需的电流值。In the embodiment of the present invention, the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery are both greater than the current value required by the normal operation of the electronic device.
在本发明实施例中,使用检测单元110,具体用于在检测到电子设备处于关机或待机状态时,则判断电子设备未被使用;在检测到电子设备处于非关机或非待机状态时,则判断电子设备被使用。In the embodiment of the present invention, the detection unit 110 is used to determine that the electronic device is not in use when it is detected that the electronic device is in a shutdown or standby state; Judging that electronic equipment is used.
综上所述,本发明实施例二至三提供的一种电子设备的充电保护方法及装置,在监测到所述电子设备的充电插头连接外部电源时,检测所述电子设备是否在被使用,若在被使用,则计算出所述电子设备正常运行所需的电流值,控制所述充电插头按所述电子设备正常运行所需的电流值输入电流,此时输入电流较小且无电流流入内置电池,避免电池过热引发爆炸等危险,同时延长电池的使用寿命;若未被使用,则分别获取所述充电插头支持的最大输入电流值和所述内置电池允许的最大充电电流值,从获取的两个电流值中确定出较小的电流值,控制所述充电插头按所述较小的电流值输入电流,此时相对于设备在使用时输入电流更大,方便设备进行快速充电。To sum up, the charging protection method and device for an electronic device provided by Embodiments 2 to 3 of the present invention detects whether the electronic device is being used when the charging plug of the electronic device is detected to be connected to an external power supply. If it is being used, calculate the current value required for the normal operation of the electronic device, and control the charging plug to input current according to the current value required for the normal operation of the electronic device. At this time, the input current is small and no current flows in The built-in battery avoids the danger of explosion caused by overheating of the battery, and prolongs the service life of the battery; if it is not used, obtain the maximum input current value supported by the charging plug and the maximum charging current value allowed by the built-in battery, and obtain from The smaller current value is determined from the two current values, and the charging plug is controlled to input current according to the smaller current value. At this time, the input current is larger than that of the device when it is in use, so that the device can be quickly charged.
以上所述,仅为本发明的具体实施方式,在本发明的上述教导下,本领域技术人员可以在上述实施例的基础上进行其他的改进或变形。本领域技术人员应该明白,上述的具体描述只是更好的解释本发明的目的,本发明的保护范围应以权利要求的保护范围为准。The above descriptions are only specific implementations of the present invention. Under the above teaching of the present invention, those skilled in the art can make other improvements or modifications on the basis of the above embodiments. Those skilled in the art should understand that the above specific description is only to better explain the object of the present invention, and the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611229803.XA CN106786912B (en) | 2016-12-27 | 2016-12-27 | Head-mounted device charging protection method, electronic device charging protection method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611229803.XA CN106786912B (en) | 2016-12-27 | 2016-12-27 | Head-mounted device charging protection method, electronic device charging protection method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106786912A true CN106786912A (en) | 2017-05-31 |
| CN106786912B CN106786912B (en) | 2020-02-28 |
Family
ID=58922872
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201611229803.XA Active CN106786912B (en) | 2016-12-27 | 2016-12-27 | Head-mounted device charging protection method, electronic device charging protection method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106786912B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109256830A (en) * | 2018-09-25 | 2019-01-22 | 青岛海尔科技有限公司 | A kind of charging method for excessive heating protection and device |
| CN113013506A (en) * | 2019-12-19 | 2021-06-22 | 海信视像科技股份有限公司 | Head-mounted display equipment charging method, device and equipment |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103208659A (en) * | 2012-01-16 | 2013-07-17 | 联想(北京)有限公司 | Charging method for electronic apparatus, and electronic apparatus |
| CN103516004A (en) * | 2012-06-29 | 2014-01-15 | 联想(北京)有限公司 | Information processing method and device |
| CN104272168A (en) * | 2012-04-02 | 2015-01-07 | 谷歌公司 | Proximity sensing for wink detection |
| CN104377783A (en) * | 2014-12-02 | 2015-02-25 | 青岛歌尔声学科技有限公司 | Charging control circuit and charging method |
| CN105119335A (en) * | 2015-09-01 | 2015-12-02 | 捷开通讯科技(上海)有限公司 | Charging control method |
| CN105244942A (en) * | 2015-09-30 | 2016-01-13 | 深圳天珑无线科技有限公司 | Charging current control method and mobile terminal |
| CN105634055A (en) * | 2015-12-30 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Charging control method and charging control device of mobile terminal and mobile terminal |
| US20160294225A1 (en) * | 2014-12-15 | 2016-10-06 | PogoTec, Inc. | Wireless power systems and methods suitable for charging wearable electronic devices |
-
2016
- 2016-12-27 CN CN201611229803.XA patent/CN106786912B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103208659A (en) * | 2012-01-16 | 2013-07-17 | 联想(北京)有限公司 | Charging method for electronic apparatus, and electronic apparatus |
| CN104272168A (en) * | 2012-04-02 | 2015-01-07 | 谷歌公司 | Proximity sensing for wink detection |
| CN103516004A (en) * | 2012-06-29 | 2014-01-15 | 联想(北京)有限公司 | Information processing method and device |
| CN104377783A (en) * | 2014-12-02 | 2015-02-25 | 青岛歌尔声学科技有限公司 | Charging control circuit and charging method |
| US20160294225A1 (en) * | 2014-12-15 | 2016-10-06 | PogoTec, Inc. | Wireless power systems and methods suitable for charging wearable electronic devices |
| CN105119335A (en) * | 2015-09-01 | 2015-12-02 | 捷开通讯科技(上海)有限公司 | Charging control method |
| CN105244942A (en) * | 2015-09-30 | 2016-01-13 | 深圳天珑无线科技有限公司 | Charging current control method and mobile terminal |
| CN105634055A (en) * | 2015-12-30 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Charging control method and charging control device of mobile terminal and mobile terminal |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109256830A (en) * | 2018-09-25 | 2019-01-22 | 青岛海尔科技有限公司 | A kind of charging method for excessive heating protection and device |
| CN113013506A (en) * | 2019-12-19 | 2021-06-22 | 海信视像科技股份有限公司 | Head-mounted display equipment charging method, device and equipment |
| CN113013506B (en) * | 2019-12-19 | 2022-07-12 | 海信视像科技股份有限公司 | Head-mounted display equipment charging method, device and equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106786912B (en) | 2020-02-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11068041B2 (en) | Method to enhance device policy management (DPM) power sharing for USB Type-C (USB-C) only devices | |
| TWI669842B (en) | Method for improving temperature management of battery pack | |
| US9703336B2 (en) | System and method for thermal management in a multi-functional portable computing device | |
| KR102564469B1 (en) | Method and apparatus for protecting a battery | |
| CN105262155B (en) | A charging method and device | |
| US9104396B2 (en) | Electronic apparatus, charging control device, and charging control method | |
| US8595520B2 (en) | System and method for determining thermal management policy from leakage current measurement | |
| US11451067B2 (en) | Method, apparatus and system to enhance a device policy manager to manage devices based on battery condition | |
| CN107548482B (en) | Thermal management in computing devices based on workload detection | |
| CN108170256B (en) | A USB-C dynamic distribution power system and its power detection method | |
| CN103970248B (en) | power management circuit and method and computer system | |
| EP3161585A1 (en) | Usb power delivery controller sharing | |
| KR20130131425A (en) | Method and device for power saving | |
| KR20160027847A (en) | Electronic device and method for charging controlling of the electronic device | |
| US9768640B2 (en) | Switching the power supply source of system to one of a first battery in electronic apparatus and a second battery in extension detachable and attachable to the apparatus | |
| US20190086994A1 (en) | Transition of an input / output port in a suspend mode from a high-current mode | |
| US20180335830A1 (en) | Power management system | |
| KR20210034430A (en) | Method to charge battery and electronic device including the battery | |
| TWI566502B (en) | Portable device and method for controlling charging current thereof | |
| CN106532876A (en) | Power supply control method and device and computer equipment | |
| CN106786912B (en) | Head-mounted device charging protection method, electronic device charging protection method and device | |
| TWI531133B (en) | Charging method and electronic device | |
| CN115549232B (en) | Charging method, device, electronic device and keyboard for electronic equipment | |
| CN105098854B (en) | Charging method and electronic device | |
| CN103984402A (en) | Display card frequency control system and frequency control method |
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 | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20201015 Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building) Patentee after: GoerTek Optical Technology Co.,Ltd. Address before: 266104 Laoshan Qingdao District North House Street investment service center room, Room 308, Shandong Patentee before: GOERTEK TECHNOLOGY Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20221219 Address after: 266104 No. 500, Songling Road, Laoshan District, Qingdao, Shandong Patentee after: GOERTEK TECHNOLOGY Co.,Ltd. Address before: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building) Patentee before: GoerTek Optical Technology Co.,Ltd. |
|
| TR01 | Transfer of patent right |