CN115051422A - Discharging method of electronic equipment, discharging equipment and readable storage medium - Google Patents

Discharging method of electronic equipment, discharging equipment and readable storage medium Download PDF

Info

Publication number
CN115051422A
CN115051422A CN202210147219.9A CN202210147219A CN115051422A CN 115051422 A CN115051422 A CN 115051422A CN 202210147219 A CN202210147219 A CN 202210147219A CN 115051422 A CN115051422 A CN 115051422A
Authority
CN
China
Prior art keywords
discharge
discharging
electronic equipment
electric quantity
electronic device
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.)
Pending
Application number
CN202210147219.9A
Other languages
Chinese (zh)
Inventor
张瑜
徐亮亮
付冬冬
汪玲
张喜条
杨春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LCFC Hefei Electronics Technology Co Ltd
Original Assignee
LCFC Hefei Electronics Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by LCFC Hefei Electronics Technology Co Ltd filed Critical LCFC Hefei Electronics Technology Co Ltd
Priority to CN202210147219.9A priority Critical patent/CN115051422A/en
Publication of CN115051422A publication Critical patent/CN115051422A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/18Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for batteries; for accumulators
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00306Overdischarge protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit 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
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

The present disclosure provides a discharging method of an electronic device, a discharging device, and a readable storage medium, the method including: receiving a discharging request sent by electronic equipment, wherein the discharging request carries preset electric quantity for discharging the electronic equipment; discharging the electronic device in response to the discharge request; receiving a discharging ending request sent by the electronic equipment, and stopping discharging the electronic equipment in response to the discharging ending request; the discharge ending request is sent by the electronic equipment when the electronic equipment detects that the residual electric quantity of the electronic equipment is smaller than or equal to the preset electric quantity. Through the method and the device, the discharging progress of the electronic equipment can be automatically monitored, the discharging time of the electronic equipment is shortened, and the electronic equipment is automatically stopped to discharge when the residual electric quantity of the electronic equipment reaches the preset electric quantity.

Description

Discharging method of electronic equipment, discharging equipment and readable storage medium
Technical Field
The present disclosure relates to the field of power supply technologies, and in particular, to a discharging method for an electronic device, a discharging device, and a readable storage medium.
Background
In the notebook computer test, many tests need to discharge the battery capacity to a specific value, and then the tests are carried out, and the current process is basically to run software to accelerate the battery discharge speed. However, the amount of electricity needs to be observed at variable times during the discharging process, and if the discharging time is too long or the remaining amount of the battery is not followed, the electricity may be overdischarged and needs to be recharged.
Disclosure of Invention
The present disclosure provides a discharging method of an electronic device, a discharging device and a readable storage medium, so as to solve at least the above technical problems in the prior art.
According to a first aspect of the present disclosure, there is provided a discharging method of an electronic device, the method comprising: receiving a discharging request sent by electronic equipment, wherein the discharging request carries preset electric quantity for discharging the electronic equipment; discharging the electronic device in response to the discharge request; receiving a discharging ending request sent by the electronic equipment, and stopping discharging the electronic equipment in response to the discharging ending request; the discharge ending request is sent by the electronic equipment when the electronic equipment detects that the residual electric quantity of the electronic equipment is smaller than or equal to the preset electric quantity.
In an implementation manner, when the electronic device stops being discharged, a reminding message for showing the end of the discharge of the electronic device is sent.
In one embodiment, the discharge request further includes a discharge parameter; correspondingly, the discharge parameters are obtained by the electronic equipment by adopting the following operations: detecting discharge interface parameters of the electronic equipment; and determining the discharge parameters according to the discharge interface parameters.
In an embodiment, the discharge parameter includes one of the following information of the electronic device: discharge current information, discharge voltage information, and discharge power information.
In an embodiment, the determining the discharge parameter according to the discharge interface parameter includes: acquiring the current electric quantity of the electronic equipment; determining an electric quantity difference value between the current electric quantity and the preset electric quantity; and determining a discharge parameter according to the electric quantity difference value, the discharge interface parameter and preset discharge time.
In an implementation manner, the discharge interface of the electronic device is a TYPE-C interface, and correspondingly, the discharge interface parameter is a maximum voltage of the discharge interface of the electronic device, and the maximum voltage of the discharge interface is 5V; the discharge parameter is the maximum power of the discharge interface, and the maximum power is 15W.
According to a second aspect of the present disclosure, there is provided a discharge apparatus including: the connection port is connected with the discharge path and the main control chip and is used for connecting the electronic equipment to be discharged; the discharge path is connected with the connection port, is used for discharging the electronic equipment, and comprises a bidirectional MOS (metal oxide semiconductor) tube and a load which are sequentially connected in series; the bidirectional MOS tube is connected with a main control chip and used for receiving an instruction of the main control chip; the load is used for acting as a discharging load when the electronic equipment is discharged; the main control chip is connected with the connection port and used for receiving a discharge request sent by the electronic equipment and responding to the discharge request to conduct the bidirectional MOS tube so as to discharge the electronic equipment; the main control chip is further configured to receive a discharge ending request sent by the electronic device, and turn off the bidirectional MOS transistor in response to the discharge ending request to stop discharging the electronic device.
In an embodiment, the discharge device further comprises: and the reminding device is connected with the main control chip and used for sending a reminder to indicate the end of the discharge under the condition of stopping discharging the electronic equipment. In one embodiment, the discharge device includes two identical discharge paths, and correspondingly, the discharge device further includes: and the isolation circuit is configured between the discharge path and the main control chip and comprises two diode branches connected in parallel.
According to a third aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon computer instructions for causing the discharge apparatus to perform the method of the present disclosure.
The disclosed discharging method, discharging device and readable storage medium of electronic equipment discharge the electronic equipment with certain discharging parameters after receiving a discharging request, constantly monitor the electric quantity information of the electronic equipment, automatically stop discharging the electronic equipment and send out reminding information under the condition that the monitored remaining electric quantity of the electronic equipment is less than or equal to the preset electric quantity, avoid the conditions that the electric quantity is too low due to excessive discharging and the remaining electric quantity needs to be manually followed up at any time, improve the discharging speed and the discharging control efficiency, and have strong practicability and usability.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description, which proceeds with reference to the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, like or corresponding reference characters designate like or corresponding parts.
Fig. 1 shows a first implementation flow diagram of a discharging method of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram I illustrating a structure of a discharge device according to an embodiment of the present disclosure;
fig. 3 shows a schematic structural diagram ii of a discharge device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more apparent and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
First, an application scenario of the present disclosure is explained, and the embodiment of the present disclosure is mainly applied to a test stage of electronic devices, where when a plurality of electronic devices are tested, the electric quantity of the electronic devices needs to be discharged to a preset electric quantity value. The existing discharging method generally comprises the steps of manually opening the electronic equipment and checking the residual electric quantity of the electronic equipment, but the excessive discharging is caused by the untimely follow-up of the method, and the method also needs to be recharged to reach the preset electric quantity value. In addition, the current discharging process needs to be checked by opening the electronic equipment, so that the method is not suitable for the electronic equipment without a display screen. Therefore, in order to solve the above problems, the present disclosure provides a discharging method for an electronic device, which discharges a computer by using a discharging device, where the electronic device may be a mobile phone, a notebook computer, a palm computer, or the like.
Of course, the present disclosure is not only used in the testing stage of the electronic device, but also can be used to discharge the electronic device by using the discharging method of the present disclosure as long as the electronic device needs to be discharged.
Next, it should be noted that the discharging method of the electronic device of the present disclosure is applied to a discharging device, and the discharging device may be connected to the electronic device through a connecting line, and further discharges the electronic device. Specifically, the discharge device may be configured with a plurality of connection interfaces, and select a suitable connection line to connect according to the interface of the electronic device, for example: the interface of the electronic equipment is a TYPE-C interface, and the connecting line can be set as a TYPE-C connecting line.
The technical scheme of the invention is further elaborated by combining the attached drawings and specific embodiments.
Fig. 1 shows a first implementation flow diagram of a discharging method of an electronic device according to an embodiment of the present disclosure.
Referring to fig. 1, a discharging method of an electronic device according to an embodiment of the present invention at least includes: an operation 101, receiving a discharging request sent by an electronic device, where the discharging request carries a preset electric quantity for discharging the electronic device; an operation 102 of discharging the electronic device in response to the discharge request; an operation 103 of receiving a discharge ending request sent by the electronic device, and stopping discharging the electronic device in response to the discharge ending request; the discharging ending request is sent by the electronic equipment when the electronic equipment detects that the residual electric quantity of the electronic equipment is smaller than or equal to the preset electric quantity.
In operation 101, a discharging request sent by an electronic device is received, where the discharging request carries a preset amount of power for discharging the electronic device.
Specifically, in the process of testing the electronic device, a preset electric quantity value is set for the electronic device according to the required electric quantity in the testing process, and if the electric quantity of the electronic device needs to be discharged to 60% in the testing process of the electronic device, the discharged preset electric quantity value is set to 60%. After the preset electric quantity value is set, the electronic equipment sends a discharging request to the discharging equipment. Here, it should be noted that the preset electric quantity may be a set value of the preset electric quantity, and may also be a set range of the preset electric quantity. For example, the preset power may be set to 60%, or the preset power may be set to 55% to 60%, and the processing is performed reasonably when the remaining power of the electronic device is less than 60% at the time of starting to discharge the electronic device.
In operation 102, the electronic device is discharged in response to the discharge request.
Specifically, after the discharging device receives a discharging request carrying a preset electric quantity sent by the electronic device, the discharging device will discharge the electronic device in response to the discharging request.
In operation 103, an end discharge request transmitted by the electronic device is received, and discharging of the electronic device is stopped in response to the end discharge request. The discharging ending request is sent by the electronic equipment when the electronic equipment detects that the residual electric quantity of the electronic equipment is smaller than or equal to the preset electric quantity.
Specifically, during the discharging process, the electronic device detects its own residual electric quantity value, and the electronic device can detect its own electric quantity value in real time through its own EC (embedded controller). When the electronic equipment detects that the self residual electric quantity is close to the preset electric quantity, the electronic equipment sends a discharging ending request to the discharging equipment. The discharging device may stop discharging the electronic device in response to an end discharge request of the electronic device. For example, suppose that the electric quantity of the electronic device to be discharged needs to be discharged to 60%, the preset electric quantity may be set to 60%, and the electronic device sends a discharge ending request when detecting that the remaining electric quantity of the electronic device is less than or equal to 60%. The preset power can be set to 55% -60%, and the electronic device can also send a discharge ending request when detecting that the self remaining power of the electronic device is greater than or equal to 55% and less than or equal to 60%. It should be noted that, the value of the preset electric quantity or the range of the preset electric quantity may be set according to actual situations, and this is only an exemplary illustration and is not used to limit the technical solution of the present disclosure.
Further, the setting of the discharge parameters and the preset electric quantity of the electronic device can be realized by installing control software in the electronic device, and both the preset electric quantity setting method and the discharge parameter setting method which are commonly used in the field can be adopted, which is not described herein again.
In one embodiment of the present invention, when the discharge of the electronic device is stopped, the discharge device further issues a warning message indicating the end of the discharge of the electronic device.
Specifically, the electronic equipment can send out reminding information when the discharging equipment finishes discharging the electronic equipment, so that the tester can be timely reminded that the discharging process of the electronic equipment is finished, and the next operation can be carried out.
In an embodiment of the present invention, the reminding message may be a flashing light or a whistling sound.
After the electronic equipment is discharged, the discharge equipment can automatically close the discharge function and simultaneously uses the indicator lamp and/or the warning indicator to remind, so that the over-discharge condition is avoided, the tester does not need to follow the electric quantity condition at any time, and the tester is liberated. It should be noted that, the reminding information is not specifically limited, and may be a voice reminding, a text reminding, or the like, as long as the reminding information can remind the user of the discharge completion.
In an embodiment of the present invention, the discharge request sent by the electronic device further carries a discharge parameter, and accordingly, the discharge parameter may be obtained through the following operations: detecting discharge interface parameters of the electronic equipment; and determining the discharge parameters according to the discharge interface parameters.
Specifically, the discharge interface parameter is a parameter of an interface of the electronic device for discharging, and the discharge parameter is a parameter for discharging the electronic device. In the process of discharging the electronic device, the discharging device discharges the electronic device through an interface of the electronic device, and in the discharging process, parameters of the discharging, such as how much discharging current or discharging power the electronic device is discharged, need to be determined. This discharge parameter can be obtained in particular by: and detecting parameter information of an interface used for discharging of the current electronic equipment, such as parameters of the maximum voltage, the maximum power and the like of the interface. After detecting the parameters of the discharge interface, determining that the value of the discharge parameters cannot be higher than the parameters of the discharge interface, and if the maximum voltage of the parameters of the interface for discharging of the electronic device is 5V, setting the discharge parameters cannot exceed 5V.
In an embodiment of the present invention, the discharge parameter may be discharge current information, discharge voltage information, discharge power information, and the like.
In an embodiment of the present invention, the discharge parameter may also be obtained by: acquiring the current electric quantity of the electronic equipment; determining an electric quantity difference value between the current electric quantity and a preset electric quantity; and determining the discharge parameters according to the electric quantity difference value, the discharge interface parameters and the preset discharge time.
Specifically, in the process of testing the electronic device, a tester can adjust the discharge parameters according to the requirements. For example, the discharge power of the electronic device may be adjusted in conjunction with the timing of the tester to reduce the impact of high-power discharge on the battery life of the electronic device, and so on. For example: the method can determine the preset discharge time which can be used for discharging the electronic equipment according to the time arrangement of other works which are processed simultaneously in the process of testing the electronic equipment by a tester, check the electric quantity value which needs to be discharged, and calculate the proper discharge parameters together through the electric quantity value and the preset discharge time.
For example, when a tester discharges the electronic device, the tester needs to leave for 2 hours to process other things, assuming that the current electric quantity of the electronic device is 90%, the electric quantity of the electronic device needs to be discharged to 60%, and at this time, it is necessary to calculate how many discharge parameters are used to discharge the electronic device, so that it can be satisfied that the electric quantity value of the electronic device is discharged to the preset electric quantity in two hours. Taking an example that a battery of the electronic device to be discharged is fully charged to 50Wh, assuming that a discharge parameter set at this time is discharge power, and a maximum power value of a discharge interface parameter of the electronic device is 15W, since a tester leaves to process other matters at this time, the electronic device can be regarded as a sleep state here, power consumption of the electronic device is ignored, and the discharge parameter can be calculated as: 50Wh (90% -60%)/2 h 7.5W. Therefore, the discharge parameters are correspondingly set to be 7.5W, the discharge time of the electronic equipment can be controlled to be about 2 hours, and the tester can conveniently process other matters at the discharge time of the electronic equipment. The accuracy of the control of the discharge time of the electronic equipment is effectively improved, and the working efficiency of a tester in the discharge process of the electronic equipment is obviously improved.
In a specific embodiment of the present invention, the discharging interface of the electronic device is a TYPE-C interface, and correspondingly, the parameter of the discharging interface is the maximum voltage of the discharging interface of the electronic device, and the maximum voltage of the discharging interface is 5V; the discharge parameter is the maximum power of the discharge interface, and the maximum power is 15W.
Specifically, the invention can be specifically applied to a computer with a TYPE-C interface as a discharge interface to discharge the computer, wherein the maximum voltage of the discharge interface parameter of the corresponding TYPE-C interface is 5V, and the maximum power of the corresponding interface is 15V. At this time, if a large batch of computers need to be discharged, the speed of discharging the computers needs to be controlled so as to meet the requirement of discharging the large batch of computers in a short time. At this time, the discharge parameter can be directly set to the maximum value of the computer discharge interface, and the discharge parameter is directly set to the maximum power 15W of the computer discharge interface, so that the computer is discharged with the power of 15W.
For example, in a general computer test process, a computer is in a heavy load state to accelerate the discharging speed of the computer, the discharging power of the computer in the heavy load state is 10W-15W, and if the discharging power of the computer is 15W, the time required for discharging the computer is as follows: 40Wh 40%/15W 1.06 h. When the discharging device of the present application is used to discharge a computer set in the same way, the total discharging power is 30W, and the discharging time is: compared with the conventional discharging method, the method has the advantages that 40Wh 40%/30W is 0.53h, half of discharging time is saved, and discharging power of the electronic equipment is effectively improved.
In the embodiment of the invention, the electronic equipment discharge device can discharge two or more pieces of electronic equipment simultaneously, and can well meet the requirement of discharging large-batch electronic equipment.
Based on the above discharging method for the electronic device, an embodiment of the present invention further provides a discharging device 30 for discharging the electronic device, and referring to fig. 2, fig. 2 shows a schematic view of a composition structure of the discharging device in the embodiment of the present disclosure, where the discharging device 30 includes: a connection port 301 for connecting an electronic device; a discharge path 302 connected to the connection port 301 for discharging the electronic device, wherein the discharge path 302 includes a bidirectional MOS transistor composed of a MOS transistor Q1 and a MOS transistor Q2, and a load R1; two MOS tubes Q1 and Q2 of the bidirectional MOS tube are respectively connected with the main control chip; a load R1 for functioning as a discharge load in the case of discharging the electronic device; and the main control chip 303 is connected to the connection port 301, and is configured to receive a discharge request sent by the electronic device, and turn on the bidirectional MOS transistor in response to the discharge request to discharge the electronic device, where the main control chip 303 is further configured to receive a discharge termination request sent by the electronic device, and turn off the bidirectional MOS transistor in response to the discharge termination request to stop discharging the electronic device.
Specifically, after receiving the discharge request, the electronic device sends a discharge request to the discharge device, and at this time, the main control chip 303 of the discharge device receives the discharge request sent by the electronic device through the connection port 301, and turns on the MOS transistor Q1 and the MOS transistor Q2 in response to the discharge request to discharge the electronic device. In the discharging process, the electronic device detects the electric quantity value of the electronic device, and when the electronic device detects that the residual electric quantity reaches the preset electric quantity, the electronic device informs the main control chip 303 of the discharging device that the electric quantity reaches the preset electric quantity. After the main control chip 303 of the discharging device receives the message, the bidirectional MOS transistor is immediately turned off to stop discharging the electronic device.
In an embodiment of the present invention, the discharging device 30 further includes a reminding device 304 connected to the main control chip 303.
Specifically, after the main control chip 303 receives that the discharging electric quantity sent by the electronic device has reached the preset electric quantity, the main control chip 303 controls the reminding device to remind the tester that the discharging is completed under the condition that the bidirectional MOS transistor is turned off.
In one embodiment of the present invention, the reminding device 304 can be configured as at least one of an indicator light, a voice reminding device, a warning device (e.g., a buzzer), a text reminding device (e.g., a display screen), and the like. It should be noted that the reminding device is not limited to the above types, and the reminding device capable of reminding is within the scope of protection of the present application.
In an embodiment of the present invention, two discharge paths 302 may be disposed in the discharge device 30, and correspondingly, the discharge device 30 further includes an isolation circuit configured to isolate the two discharge paths, the isolation circuit is disposed between the discharge paths 302 and the main control chip 303 and is formed by combining two diodes, and each diode is connected to the two discharge paths and connected to the main control chip.
The discharge apparatus of the present disclosure is described below as a specific example.
Fig. 3 shows a schematic structural diagram ii of a discharge device according to an embodiment of the present disclosure.
Referring to fig. 3, the discharge device 30 of the present disclosure may be a typeC fixture, and accordingly, the typeC fixture includes: the PD1 serving as a main control chip is connected with the two connection ports CON and is respectively connected with the discharge path vaus through two diodes; two vaus (discharge paths) consisting of a mosfet switch 3 and a cement resistor 4 serving as a load, wherein two MOS (metal oxide semiconductor) tubes on the two discharge paths vaus are respectively connected with PD 1; and a cement resistor 4 used as a load for discharging.
Specifically, the electronic device to be discharged may include a device under test 1 and a device under test 2, and before discharging the device under test, the device under test 1 and the device under test 2 are respectively connected to the two corresponding discharging paths vaus through type C connecting lines, so as to respectively discharge the two devices under test. After the connection is completed, a discharge parameter and a percentage or an electric quantity to be discharged are set on the two devices to be tested, wherein the discharge parameter is taken as a discharge power. After the setting is completed, the main control chip PD of the device to be tested communicates with the main control chip PD1 of the type C fixture through a CC (Configuration Channel, Configuration Channel communication logic), and then the type C fixture discharges the device to be tested, and the specific discharge parameters are set according to the requirement on the visible time. During the discharging process, two devices to be tested can detect the electric quantity through the EC carried by the devices to be tested, when the electric quantity of the batteries of the devices to be tested is detected to be close to the set electric quantity value, the devices to be tested can control the PDs of the devices to be tested to communicate with the PD1 on the type C jig through the CC (Inter-Integrated Circuit) through the I2C (Integrated Circuit bus) to inform the jig that the discharged electric quantity value reaches the set electric quantity value, then the PD1 of the type C jig can turn off the mosfet switch 3 on the discharging path to stop discharging the devices to be tested, and control the LED lamp to flash and the buzzer to carry out sound reminding to inform the testers that the discharging is finished. Here, when two devices under test are discharged simultaneously, if one device is completely discharged, the other device under test is continuously discharged until the two devices under test are completely discharged.
In an embodiment of the present invention, a plurality of main control chips and a plurality of discharge paths may be disposed in the discharge device to satisfy the requirement of discharging a plurality of electronic devices, and specifically, a mode setting may be performed in which one main control chip controls two discharge paths.
Similarly, based on the above charging and discharging control method, an embodiment of the present invention further provides a computer-readable storage medium, where a program is stored, and when the program is executed by a processor, the processor is caused to perform at least the following operation steps: an operation 101, receiving a discharging request sent by an electronic device, where the discharging request carries a preset electric quantity for discharging the electronic device; an operation 102 of discharging the electronic device in response to the discharge request; an operation 103 of receiving a discharge ending request sent by the electronic device, and stopping discharging the electronic device in response to the discharge ending request; the discharging ending request is sent by the electronic equipment when the electronic equipment detects that the residual electric quantity of the electronic equipment is smaller than or equal to the preset electric quantity.
Here, it should be noted that: the above description of the embodiment of the discharge device is similar to the description of the embodiment of the discharge method of the electronic device, and has similar beneficial effects to the embodiment of the discharge method of the electronic device, and therefore, the description is omitted. For technical details that are not disclosed in the embodiment of the display device for configuration information of the present invention, please refer to the description of the aforementioned method for controlling charging and discharging of the present invention for understanding, and therefore, for brevity, will not be described again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps of implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer-readable storage medium, and when executed, executes the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program code, such as removable storage devices, ROMs, magnetic or optical disks, etc.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present invention, and shall cover the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method of discharging an electronic device, the method comprising:
receiving a discharging request sent by electronic equipment, wherein the discharging request carries preset electric quantity for discharging the electronic equipment;
discharging the electronic device in response to the discharge request;
receiving a discharging ending request sent by the electronic equipment, and stopping discharging the electronic equipment in response to the discharging ending request;
the discharge ending request is sent by the electronic equipment when the electronic equipment detects that the residual electric quantity of the electronic equipment is smaller than or equal to the preset electric quantity.
2. The method of claim 1, further comprising:
and sending out reminding information for showing the discharge end of the electronic equipment under the condition that the electronic equipment is stopped to be discharged.
3. The method of claim 1, wherein the discharge request further comprises a discharge parameter; accordingly, the method can be used for solving the problems that,
the discharge parameters are obtained by the electronic device by adopting the following operations:
detecting a discharge interface parameter of the electronic equipment;
and determining the discharge parameters according to the discharge interface parameters.
4. The method of claim 3, wherein the discharge parameter comprises one of the following information of the electronic device:
discharge current information, discharge voltage information, and discharge power information.
5. The method of claim 3, wherein determining the discharge parameter based on the discharge interface parameter comprises:
acquiring the current electric quantity of the electronic equipment;
determining an electric quantity difference value between the current electric quantity and the preset electric quantity;
and determining a discharge parameter according to the electric quantity difference value, the discharge interface parameter and preset discharge time.
6. The method of claim 3, wherein the discharge interface of the electronic device is a TYPE-C interface, and accordingly,
the discharge interface parameter is the maximum voltage of the discharge interface of the electronic equipment, and the maximum interface discharge voltage is 5V;
the discharge parameter is the maximum power of the discharge interface, and the maximum power is 15W.
7. A discharge device, characterized in that the discharge device comprises:
the connection port is connected with the discharge path and the main control chip and is used for connecting the electronic equipment to be discharged;
the discharge path is connected with the connection port, is used for discharging the electronic equipment, and comprises a bidirectional MOS (metal oxide semiconductor) tube and a load which are sequentially connected in series;
the bidirectional MOS tube is connected with a main control chip and used for receiving an instruction of the main control chip;
the load is used for acting as a discharging load when the electronic equipment is discharged;
the main control chip is connected with the connection port and used for receiving a discharge request sent by the electronic equipment and responding to the discharge request to conduct the bidirectional MOS tube so as to discharge the electronic equipment; the main control chip is further configured to receive a discharge ending request sent by the electronic device, and turn off the bidirectional MOS transistor in response to the discharge ending request to stop discharging the electronic device.
8. The discharge device of claim 7, further comprising:
and the reminding device is connected with the main control chip and used for sending a reminder to indicate the end of the discharge under the condition of stopping discharging the electronic equipment.
9. The discharge device of claim 8, wherein the discharge device comprises two identical discharge paths, respectively,
the discharge apparatus further includes:
and the isolation circuit is configured between the discharge path and the main control chip and comprises two diode branches connected in parallel.
10. A computer-readable storage medium having computer instructions stored thereon for causing the discharge device to perform the method of any one of claims 1-6.
CN202210147219.9A 2022-02-17 2022-02-17 Discharging method of electronic equipment, discharging equipment and readable storage medium Pending CN115051422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210147219.9A CN115051422A (en) 2022-02-17 2022-02-17 Discharging method of electronic equipment, discharging equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210147219.9A CN115051422A (en) 2022-02-17 2022-02-17 Discharging method of electronic equipment, discharging equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115051422A true CN115051422A (en) 2022-09-13

Family

ID=83158145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210147219.9A Pending CN115051422A (en) 2022-02-17 2022-02-17 Discharging method of electronic equipment, discharging equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN115051422A (en)

Similar Documents

Publication Publication Date Title
US8203312B2 (en) Battery pack and control method
JP3766500B2 (en) Battery pack and computer system with battery pack
US7538518B2 (en) Method for detecting a defective charger circuit
TWI573363B (en) Method, apparatus, and system for power source failure prediction
EP3546961B1 (en) Battery leakage current detection method, device and circuit
JPH0898414A (en) Intelligent battery device,its operating method and electricapparatus
JP2014041834A (en) Internal short circuit detection device and internal short circuit detection method for secondary battery
WO2020024116A1 (en) Interface configuration method, terminal device and interface
JP2015025685A (en) Secondary battery pack management method, power source management system, and electronic device
US8335940B2 (en) Microcomputer system, microcomputer, power control method, and power control program product
JP2000121710A (en) Battery control device for backup power supply and method for diagnosing deterioration of secondary battery
US20160041230A1 (en) Backup battery
US11054483B2 (en) Terminal device, method for leakage detection therefor
KR101539692B1 (en) System for testing Battery Management Unit using Field Effect Transistor sensing and method thereof
CN109596989A (en) Display methods, device and the electronic equipment of electric quantity for electronic equipment
JP2002075466A (en) Electric power supply device, cell, electric apparatus, and memory effect detecting method
KR20080000390A (en) Multi battery cell control method and potable equipment with the same
WO2020042715A1 (en) Electronic device power supply method and apparatus, electronic device, and storage medium
CN115051422A (en) Discharging method of electronic equipment, discharging equipment and readable storage medium
JP4178141B2 (en) Charging apparatus and charging method
CN112087013B (en) Charging state display method and device, battery pack, electric tool and charging equipment
CN111505432A (en) Parameter simulation circuit, battery management device, and control method for battery management device
JP2021035286A (en) Charge control method, charge control device, charging device, and charging system
JP2023061356A (en) Smart battery device and fast charging method thereof
CN104679133A (en) Computer device

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