CN117595445A - Control method and device of electronic equipment - Google Patents

Control method and device of electronic equipment Download PDF

Info

Publication number
CN117595445A
CN117595445A CN202311576546.7A CN202311576546A CN117595445A CN 117595445 A CN117595445 A CN 117595445A CN 202311576546 A CN202311576546 A CN 202311576546A CN 117595445 A CN117595445 A CN 117595445A
Authority
CN
China
Prior art keywords
electronic equipment
electronic device
working
electronic
energy storage
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
CN202311576546.7A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202311576546.7A priority Critical patent/CN117595445A/en
Publication of CN117595445A publication Critical patent/CN117595445A/en
Pending legal-status Critical Current

Links

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/0063Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with circuits adapted for supplying loads from the battery
    • 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/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters

Abstract

The application provides a control method and device of electronic equipment, wherein the control method comprises the following steps: acquiring working parameters of the first electronic equipment based on the connection of the first electronic equipment and the second electronic equipment; and if the working parameters of the first electronic equipment do not meet the preset conditions, adjusting the working parameters of the first electronic equipment based on the energy storage device in the first electronic equipment, so that the energy storage device in the first electronic equipment stops adjusting the working parameters of the first electronic equipment after the adjusted working parameters meet the preset conditions.

Description

Control method and device of electronic equipment
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method and an apparatus for controlling an electronic device.
Background
Currently, an electronic device may be connected to a power supply electronic device such as an adapter, and the power supply electronic device supplies power to the electronic device. However, if the electronic device is powered by the power supply electronic device, how to ensure that the electronic device can be used normally becomes a problem.
Disclosure of Invention
The application provides the following technical scheme:
in one aspect, the present application provides a control method of an electronic device, which is applied to a first electronic device, including:
acquiring working parameters of a first electronic device based on connection of the first electronic device and a second electronic device;
and if the working parameters of the first electronic equipment do not meet the preset conditions, adjusting the working parameters of the first electronic equipment based on the energy storage device in the first electronic equipment, so that after the adjusted working parameters meet the preset conditions, the energy storage device in the first electronic equipment stops adjusting the working parameters of the first electronic equipment.
Based on the connection of the first electronic device and the second electronic device, acquiring the working parameters of the first electronic device includes:
detecting that a first electronic device is connected to a second electronic device, and acquiring working parameters of the first electronic device.
If the working parameters of the first electronic device do not meet the preset conditions, adjusting the working parameters of the first electronic device based on the energy storage device in the first electronic device, including:
if the working parameters of the first electronic equipment do not meet preset conditions, a first power path in the first electronic equipment is disconnected, wherein the first power path is used for the second electronic equipment to supply power for the first electronic equipment;
and adjusting the working parameters of the first electronic equipment based on the energy storage device in the first electronic equipment, and if the adjusted working parameters meet the preset conditions, conducting the first power supply path.
If the working parameters of the first electronic device do not meet the preset conditions, disconnecting the first power path in the first electronic device, including:
if the working parameters of the first electronic equipment do not meet the preset conditions, and the power supply parameters of the second electronic equipment do not meet the first electronic equipment, a first power supply path in the first electronic equipment is disconnected.
The control method of the electronic equipment further comprises the following steps:
and after the first power supply path is conducted, the energy storage device in the first electronic equipment stops adjusting the working parameters of the first electronic equipment.
The working parameters of the first electronic device do not meet preset conditions, and the working parameters comprise at least one of the following:
determining that the difference between the working parameters of the first electronic equipment and the output parameters of the second electronic equipment meets a first difference threshold;
and determining that the difference between the working parameter of the first electronic equipment and the preset working parameter meets a second difference threshold.
The working parameters of the first electronic device do not meet preset conditions, including:
determining a working mode of the first electronic equipment;
if the first electronic equipment is determined to have high-power-consumption operation requirements according to the working mode, determining that the working mode of the first electronic equipment does not accord with preset conditions;
and if the first electronic equipment does not have the high-power-consumption operation requirement according to the working mode, determining that the working mode of the first electronic equipment meets the preset condition.
Adjusting the working parameters of the first electronic device based on the energy storage device in the first electronic device, including:
if the working voltage of the first electronic equipment is lower than a preset working voltage, the working voltage of the first electronic equipment is increased based on an energy storage device in the first electronic equipment until the output voltage of the first electronic equipment is not lower than the preset working voltage, and the energy storage device in the first electronic equipment stops increasing the working voltage of the first electronic equipment;
the preset working voltage is larger than the protection voltage corresponding to the second electronic equipment and is not larger than the maximum output voltage of the second electronic equipment.
Adjusting the working parameters of the first electronic device based on the energy storage device in the first electronic device, including:
if the working current of the first electronic equipment is larger than the preset working current, the working voltage of the first electronic equipment is increased based on the energy storage device in the first electronic equipment until the working current of the first electronic equipment is not lower than the preset working current, and the energy storage device in the first electronic equipment stops increasing the working voltage of the first electronic equipment;
the preset working current is determined based on a current limit value of the second electronic device.
Another aspect of the present application provides a control device for an electronic apparatus, including:
the acquisition module is used for acquiring working parameters of the first electronic equipment based on the connection of the first electronic equipment and the second electronic equipment;
and the adjusting module is used for adjusting the working parameters of the first electronic equipment based on the energy storage device in the first electronic equipment if the working parameters of the first electronic equipment do not meet preset conditions, so that the energy storage device in the first electronic equipment stops adjusting the working parameters of the first electronic equipment after the adjusted working parameters meet the preset conditions.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flow chart of a control method of an electronic device provided in embodiment 1 of the present application;
fig. 2 is a flow chart of a control method of an electronic device provided in embodiment 2 of the present application;
fig. 3 is a flow chart of a control method of an electronic device provided in embodiment 3 of the present application;
FIG. 4 is a schematic diagram of an implementation scenario of a control method of an electronic device provided in the present application;
fig. 5 is a flow chart of a control method of an electronic device provided in embodiment 4 of the present application;
fig. 6 is a flow chart of a control method of an electronic device provided in embodiment 5 of the present application;
FIG. 7 is a schematic diagram of another implementation scenario of a control method of an electronic device provided in the present application;
fig. 8 is a schematic structural diagram of a control device of an electronic apparatus provided in the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
Referring to fig. 1, a flowchart of a control method of an electronic device according to embodiment 1 of the present application may be applied to a first electronic device, where the product type of the first electronic device is not limited, and as shown in fig. 1, the method may include, but is not limited to, the following steps:
step S101, based on the connection between the first electronic device and the second electronic device, acquiring an operating parameter of the first electronic device.
The first electronic device and the second electronic device may be connected through an input interface, and the second electronic device may supply power to the first electronic device.
In the present application, the type of the input interface is not limited. For example, the input interface may include, but is not limited to: the Type-C interface of the USB can be other types of interfaces such as Type-A or Type-B of the USB, and can be other applicable interfaces.
In the present application, the type of the second electronic device is not limited. For example, the second electronic device may include: a power adapter or a display. The power supply protocol between the second electronic device and the first electronic device may include, but is not limited to, the PD (Power Delivery) protocol to enable high power supply and fast charging.
In this embodiment, the operating parameters of the first electronic device may include, but are not limited to: at least one of an operating voltage, an operating current, and an operating power.
Step S102, if the working parameters of the first electronic equipment do not meet the preset conditions, the working parameters of the first electronic equipment are adjusted based on the energy storage device in the first electronic equipment, so that the energy storage device in the first electronic equipment stops adjusting the working parameters of the first electronic equipment after the adjusted working parameters meet the preset conditions.
In this embodiment, the preset conditions may be set as needed, and are not limited in this application. If the working parameters of the first electronic device do not meet the preset conditions, the use of the first electronic device may be directly affected, or the use of the second electronic device may be affected, so that the use of the first electronic device may be affected (for example, the second electronic device is protected from overcurrent and cannot supply power to the first electronic device).
The energy storage means within the first electronic device may be used to power the first electronic device.
The first electronic device may use the energy storage device within the first electronic device as desired. For example, if the input interface of the first electronic device is not connected to the second electronic device, the first electronic device may be powered using an energy storage device within the first electronic device. If the input interface of the first electronic device is connected with the second electronic device, the first electronic device may use the second electronic device to supply power to the first electronic device together with the energy storage device in the first electronic device, or may use only the second electronic device to supply power to the first electronic device.
The adjusting of the operating parameter of the first electronic device based on the energy storage device within the first electronic device may include, but is not limited to:
and adjusting the working voltage, the working current or the output power of the first electronic equipment based on the energy storage device in the first electronic equipment.
After the adjusted working parameters meet preset conditions, the first electronic equipment and the second electronic equipment can be normally used.
In this embodiment, based on the connection between the first electronic device and the second electronic device, the working parameters of the first electronic device are obtained, and if the working parameters of the first electronic device do not meet the preset conditions, the working parameters of the first electronic device are adjusted based on the energy storage device in the first electronic device, so that after the adjusted working parameters meet the preset conditions, the use of the first electronic device and the second electronic device can be not affected, and the first electronic device and the second electronic device can be normally used. For example, after the adjusted working parameters meet the preset conditions, the use of the second electronic device may not be affected, and further the use of the first electronic device may not be affected; or after the adjusted working parameters meet the preset conditions, the use of the first electronic equipment is not affected. Based on the connection of the first electronic device to the second electronic device, the method may include detecting that the first electronic device is just connected to the second electronic device, or may be a state of the first electronic device after the first electronic device is connected to the second electronic device.
As another optional embodiment of the present application, referring to fig. 2, a flowchart of a control method of an electronic device provided in embodiment 2 of the present application is mainly a refinement of step S101 in embodiment 1, as shown in fig. 2, step S101 may include, but is not limited to, the following steps:
step S1011, detecting that the first electronic equipment is accessed to the second electronic equipment, and acquiring the working parameters of the first electronic equipment.
In this embodiment, the input interface of the first electronic device may be detected, to detect whether the second electronic device is connected to the input interface of the first electronic device. And if the second electronic equipment is detected to be connected to the input interface of the first electronic equipment, acquiring the working parameters of the first electronic equipment.
When the first electronic device is connected to the second electronic device, the second electronic device often cannot supply power to the first electronic device stably or the second electronic device generates overcurrent protection and the like, so that the first electronic device cannot be used normally.
Based on the possible problem caused by the second electronic equipment access, the working parameters of the first electronic equipment can be obtained, if the working parameters of the first electronic equipment do not meet the preset conditions, the working parameters of the first electronic equipment are adjusted based on the energy storage device in the first electronic equipment, the problem that the power supply is unstable or the power cannot be supplied due to overcurrent protection and the like caused by the second electronic equipment access is relieved, and the first electronic equipment can be ensured to be normally used when the second electronic equipment is accessed.
As another optional embodiment of the present application, referring to fig. 3, a flowchart of a control method of an electronic device provided in embodiment 3 of the present application is mainly a refinement of step S102 in embodiment 2, as shown in fig. 3, step S102 may include, but is not limited to, the following steps:
and S1021, if the working parameters of the first electronic equipment do not meet the preset conditions, disconnecting a first power supply path in the first electronic equipment, wherein the first power supply path is used for supplying power to the first electronic equipment by the second electronic equipment.
Fig. 4 shows a schematic diagram of the connection between the first electronic device 1 and the second electronic device 2. As shown in fig. 4, the first power supply path in the first electronic device 1 is a power supply path between the input interface 10 of the first electronic device and the system power supply end system in the first electronic device 1, and the first power supply path in the first electronic device 1 is controlled to be turned off and on by controlling the turn-off and turn-on of the first switch 20.
If the operating parameter of the first electronic device does not meet the preset condition, the first switch 20 may be controlled to be turned off to disconnect the first power path in the first electronic device.
If the working parameters of the first electronic equipment do not meet the preset conditions, the first power path in the first electronic equipment is disconnected, so that the influence on the second electronic equipment when the second electronic equipment is connected can be avoided, the situation that the second electronic equipment can not supply power to the first electronic equipment any more is avoided, and the use of the first electronic equipment is further influenced.
Step 1022, adjusting the working parameters of the first electronic device based on the energy storage device in the first electronic device, and if the adjusted working parameters meet the preset conditions, turning on the first power path.
If the adjusted working parameters meet the preset conditions, the influence on the second electronic equipment can be reduced or eliminated, and after the influence on the second electronic equipment is reduced or eliminated, the first power supply path can be conducted, so that the second electronic equipment can normally supply power to the first electronic equipment.
As shown in fig. 4, the second switch 40 may be controlled to be turned off, and the energy storage device in the first electronic device may adjust the operating parameter of the first electronic device through the charging module 30, for example, raise the operating parameter of the first electronic device or lower the operating parameter of the first electronic device.
The opening or closing of the first switch 20 and the second switch 40 may be controlled by a controller within the first electronic device. The controller within the first electronic device is not shown in fig. 4. The first switch 20 may include, but is not limited to: two field effect transistors. The second switch 40 may include, but is not limited to: a field effect transistor. The charging module 30 may include, but is not limited to: two field effect transistors and an inductor.
After the first power path is conducted, the working parameters of the first electronic equipment can be continuously adjusted based on the energy storage device in the first electronic equipment, and as long as the adjusted working parameters meet preset conditions, the second electronic equipment can supply power for the first electronic equipment along with the adjusted working parameters.
In this embodiment, the working parameters of the first electronic device are obtained by detecting that the first electronic device is connected to the second electronic device, if the working parameters of the first electronic device do not meet the preset conditions, the first power path in the first electronic device is disconnected, so that the second electronic device is not affected when the first electronic device is connected to the second electronic device.
As another optional embodiment of the present application, referring to fig. 5, a flowchart of a control method of an electronic device provided in embodiment 4 of the present application is mainly a refinement of step S1021 in the above embodiment 3, and as shown in fig. 5, step S1021 may include, but is not limited to, the following steps:
step S10211, if the working parameters of the first electronic device do not meet the preset conditions, and the power supply parameters of the second electronic device do not meet the first electronic device, disconnecting the first power path in the first electronic device.
If the power supply parameter of the second electronic device does not meet the first electronic device, the second electronic device is more easily affected and cannot be used when the first electronic device is connected to the second electronic device. For example, the power supply parameters of the second electronic device may include, but are not limited to: and the power supply of the second electronic device. If the power requirement of the first electronic device is x watts, the power supply power of the second electronic device is y watts, y is smaller than x, the maximum current m born by the power supply power of y watts is smaller than the maximum current n born by the power supply power of x watts, and when the first electronic device is connected to the second electronic device, if the first electronic device generates the maximum current n, the second electronic device can be over-current protected because the maximum current m born by the second electronic device is smaller than n. Alternatively, the power supply parameters of the second electronic device do not support the capability of peak current, such as the type c device.
Compared with the scheme of disconnecting the first power supply path in the first electronic device if the operating parameters of the first electronic device do not meet the preset conditions, the step S10211 increases the constraint conditions (i.e., the power supply parameters of the second electronic device do not meet the first electronic device), so that the number of times of disconnecting the first power supply path in the first electronic device can be reduced, the loss of hardware in the first electronic device is reduced, and meanwhile, the influence on the second electronic device when the second electronic device is connected can be avoided.
As another optional embodiment of the present application, referring to fig. 6, a flowchart of a control method of an electronic device provided in embodiment 5 of the present application is mainly a refinement of step S102 in embodiment 2, as shown in fig. 6, step S102 may include, but is not limited to, the following steps:
step S1023, if the working parameters of the first electronic device do not meet the preset conditions, disconnecting a first power path in the first electronic device, wherein the first power path is used for the second electronic device to supply power for the first electronic device.
Step S1024, adjusting the working parameters of the first electronic device based on the energy storage device in the first electronic device, and if the adjusted working parameters meet the preset conditions, turning on the first power path.
The detailed process of steps S1023-S1024 can be referred to the related description of steps S1021-S1022 in embodiment 3, and will not be described herein.
Step S1025, after the first power path is turned on, the energy storage device in the first electronic device stops adjusting the working parameters of the first electronic device.
In some embodiments, after the first power path is turned on, the energy storage device within the first electronic device no longer adjusts the operating parameters of the first electronic device, such as no longer increases the operating parameters of the first electronic device or no longer decreases the operating parameters of the first electronic device, through the charging module 30.
In this embodiment, the working parameters of the first electronic device are obtained by detecting that the first electronic device is connected to the second electronic device, if the working parameters of the first electronic device do not meet the preset conditions, the first power path in the first electronic device is disconnected, so that the second electronic device is not affected when the first electronic device is connected to the second electronic device.
And after the first power path is conducted, the energy storage device in the first electronic equipment can stop adjusting the working parameters of the first electronic equipment, so that the first electronic equipment can supply power only by using the second electronic equipment after being connected to the second electronic equipment.
As another optional embodiment of the present application, in the control method of an electronic device provided in embodiment 6 of the present application, this embodiment is mainly a refinement of the foregoing embodiment 1 in which the operating parameter of the first electronic device does not meet a preset condition, and the operating parameter of the first electronic device does not meet the preset condition may include, but is not limited to, at least one of the following:
s11, determining that the difference between the working parameters of the first electronic equipment and the output parameters of the second electronic equipment meets a first difference threshold.
In embodiments where the operating parameters of the first electronic device include at least one of an operating voltage, an operating current, and an operating power, the output parameters of the second electronic device may include, but are not limited to: at least one of output voltage, output current, and output power.
For example, as shown in fig. 7, before the first electronic device 1 is connected to the second electronic device 2, the field effect transistor bat is turned on, the battery 50 supplies power to the system power supply end system of the first electronic device 1, the operating voltage of the system power supply end system and the output voltage of the battery 50 are equal to a volts, when the first electronic device 1 is connected to the second electronic device 2, the field effect transistor bat is turned off, the output voltage of the second electronic device 2 is b volts, b is greater than a, if the field effect transistors ACFET and RBFET are not turned off, the difference between the system power supply end system and the second electronic device 2, that is, the difference between a and b is greater than the first voltage difference threshold (that is, one specific embodiment of the first difference threshold), so that the system power supply end system generates a larger current, and the larger current flows to the second electronic device 2, which causes the second electronic device 2 to be over-current protected, and cannot supply power to the first electronic device 1.
If the difference between a and b is greater than the first voltage difference threshold (i.e., one embodiment of the first difference threshold), the fet ACFET and RBFET are turned off, the battery 50 is charged by changing the on and off states of fet Q2 and fet Q1, the inductor L is charged by discharging (fet Q2 is turned on, fet Q1 is turned off, the battery 50 is charged by the inductor L; fet Q1 is turned on, fet Q2 is turned off, and the inductor L is discharged) to raise the operating voltage of the system power supply terminal system (i.e., one embodiment of the adjustment of the operating parameters of the first electronic device based on the energy storage device in the first electronic device), and if the voltage difference between the raised voltage of the system power supply terminal system (e.g., b volts) and the second electronic device 2 is not greater than the first voltage difference threshold, the fet ACFET and RBFET can be turned on, and after the fet ACFET and RBFET are turned on, the difference between the raised voltage of the system power supply terminal system and the second electronic device 2 is not greater than the first voltage difference threshold, and the second electronic device 2 can be prevented from flowing into the second electronic device 2, and the difference between the second electronic device 2 and the second electronic device can be prevented from flowing into the normal voltage difference 2.
S12, determining that the difference between the working parameter of the first electronic device and the preset working parameter meets a second difference threshold.
Corresponding to an embodiment in which the operating parameter of the first electronic device includes at least one of an operating voltage, an operating current, and an operating power, the preset operating parameter may include, but is not limited to: at least one of a preset operating voltage, a preset operating current, and a preset operating power.
When the second electronic device is connected with the first electronic device and the second electronic device supplies power to the first electronic device, the first electronic device changes due to the change of working power or the change of output parameters of the second electronic device, the working parameters of the first electronic device change accordingly, and for the changed working parameters of the first electronic device, whether the difference between the working parameters of the first electronic device and the preset working parameters meets a second difference threshold value can be determined to determine whether to adjust the working parameters of the first electronic device.
For example, when the second electronic device is connected to the first electronic device and the second electronic device supplies power to the first electronic device, when the operating power of the first electronic device increases and the first electronic device needs to stabilize the voltage, the operating current of the first electronic device increases, and the output current of the second electronic device increases to meet the increased operating power of the first electronic device, but the increase of the output current of the second electronic device may cause the output voltage of the second electronic device to decrease, thereby causing the operating voltage of the first electronic device to decrease.
Under the condition that the working voltage of the first electronic equipment is reduced, whether the working voltage of the first electronic equipment is lower than the preset working voltage or not can be determined, if the working voltage of the first electronic equipment is lower than the preset working voltage (namely, a specific implementation mode that the difference between the working parameter of the first electronic equipment and the preset working parameter meets a second difference threshold value is determined), the working voltage of the first electronic equipment is increased based on the energy storage device in the first electronic equipment until the output voltage of the first electronic equipment is not lower than the preset working voltage, and the energy storage device in the first electronic equipment stops increasing the working voltage of the first electronic equipment.
The preset working voltage is larger than the protection voltage corresponding to the second electronic equipment and is not larger than the maximum output voltage of the second electronic equipment. The protection voltage corresponding to the second electronic device is used for performing low-voltage protection or overvoltage protection on the second electronic device.
It can be understood that, as the working voltage of the first electronic device is increased based on the energy storage device in the first electronic device, a part of working current of the first electronic device is from the energy storage device in the first electronic device, and the other part of working current of the first electronic device is from the second electronic device, so that the output current of the second electronic device can be reduced, overcurrent protection of the second electronic device is avoided, and the output current of the second electronic device is reduced to increase the output voltage of the second electronic device, and after the working voltage of the first electronic device is increased based on the energy storage device in the first electronic device, the second electronic device can normally supply power to the first electronic device.
For example, as shown in fig. 7, when the field effect transistor bat fet is turned off and the field effect transistors ACFET and RBFET are turned on, and the second electronic device 2 supplies power to the system power supply terminal system of the first electronic device 1, if it is determined that the operating voltage of the first electronic device is lower than the preset operating voltage, the battery 50 may be charged by changing the on and off states of the field effect transistor Q2 and the field effect transistor Q1, the inductor L charges the inductor L by discharging (the field effect transistor Q2 is turned on and the field effect transistor Q1 is turned off, the battery 50 charges the inductor L, the field effect transistor Q1 is turned on and the field effect transistor Q2 is turned off, and the inductor L discharges) to raise the operating voltage of the system power supply terminal system, and as the operating voltage of the system power supply terminal system is raised by the battery 50, the input current of the system power supply terminal system may be lowered, and then the output current of the second electronic device 2 may be lowered, thereby avoiding overcurrent protection of the second electronic device 2, and the output current of the second electronic device 2 may be lowered to cause the output voltage of the second electronic device 2 to stop raising the output voltage of the second electronic device 2, and the second electronic device 2 may be normally raised by the first electronic device 1.
For another example, when the second electronic device is connected to the first electronic device and the second electronic device supplies power to the first electronic device, when the working power of the first electronic device increases and the first electronic device needs to stabilize the voltage, the working current of the first electronic device increases, and when the working current of the first electronic device increases, it may be determined whether the working current of the first electronic device is greater than the preset working current, if the working current of the first electronic device is greater than the preset working current (i.e., it is determined that a difference between the working parameter of the first electronic device and the preset working parameter satisfies a specific implementation mode of the second difference threshold), the working voltage of the first electronic device is increased based on the energy storage device in the first electronic device until the working current of the first electronic device is not lower than the preset working current, and the energy storage device in the first electronic device stops increasing the working voltage of the first electronic device.
The preset working current is determined based on a current limit value of the second electronic device. In this embodiment, the current limit of the second electronic device may be, but is not limited to, determined as the preset operating current. Of course, it is also possible, but not limited to, to determine a current value smaller than the current limit of the second electronic device as the preset operating current.
It can be understood that, as the working voltage of the first electronic device is increased based on the energy storage device in the first electronic device, the working current of the first electronic device can be reduced, and then the output current of the second electronic device can be reduced, so as to avoid the over-current protection of the first electronic device and the second electronic device, and after the energy storage device in the first electronic device stops increasing the working voltage of the first electronic device, the second electronic device can normally supply power to the first electronic device.
As another optional embodiment of the present application, in the control method of the electronic device provided in embodiment 7 of the present application, this embodiment is mainly a refinement scheme of the foregoing embodiment 1 in which the operating parameter of the first electronic device does not meet the preset condition, and the operating parameter of the first electronic device does not meet the preset condition may include, but is not limited to:
s21, determining the working mode of the first electronic equipment.
In this embodiment, the operation mode of the first electronic device may be predicted in advance based on the artificial intelligence model, but is not limited to. For example, the current operation mode is a power saving mode, but with the application program turned on or some programs predicted to be turned on (game, DCC application program), it is predicted that the operation mode of the first electronic device may be switched to a wild animal mode or the like, or in the current operation mode, it is predicted that the required power consumption requirement gradually increases.
S22, if the first electronic equipment is determined to have high-power-consumption operation requirements according to the working mode, determining that the working mode of the first electronic equipment does not meet preset conditions.
If the working mode of the first electronic equipment does not meet the preset condition, the working parameters of the first electronic equipment can be adjusted based on the energy storage device in the first electronic equipment, and the working parameters of the first electronic equipment do not need to be adjusted until the power consumption of the first electronic equipment is improved. It should be noted that the high power consumption is a relative value, and the power consumption range may be determined according to those skilled in the art.
S23, if the first electronic equipment does not have the high-power-consumption operation requirement according to the working mode, determining that the working mode of the first electronic equipment meets the preset condition.
If the working mode of the first electronic device meets the preset condition, the energy storage device in the first electronic device can not adjust the working parameters of the first electronic device.
If the working mode of the first electronic device does not meet the preset condition, the working parameter of the first electronic device may be adjusted based on the energy storage device in the first electronic device (for example, the working power of the first electronic device is increased based on the energy storage device in the first electronic device), and before the output parameter (for example, the output power) of the second electronic device is insufficient to meet the working parameter (for example, the working power) of the first electronic device, the energy storage device in the first electronic device may supplement the working parameter (for example, the working power) of the first electronic device in advance, so that the working parameter (for example, the working power) of the first electronic device can always meet the system operation requirement.
Next, a description will be given of a control device of an electronic apparatus provided in the present application, and the control device of the electronic apparatus described below and the control method of the electronic apparatus described above may be referred to correspondingly.
Referring to fig. 8, the control device of the electronic apparatus includes: an acquisition module 100 and an adjustment module 200.
The obtaining module 100 is configured to obtain an operating parameter of the first electronic device based on the connection between the first electronic device and the second electronic device.
The adjusting module 200 is configured to adjust the working parameters of the first electronic device based on the energy storage device in the first electronic device if the working parameters of the first electronic device do not meet the preset conditions, so that the energy storage device in the first electronic device stops adjusting the working parameters of the first electronic device after the adjusted working parameters meet the preset conditions.
The acquisition module 100 may be specifically configured to: detecting that the first electronic equipment is accessed to the second electronic equipment, and acquiring working parameters of the first electronic equipment.
Corresponding to the embodiment that the first electronic device is detected to be connected to the second electronic device, and the working parameters of the first electronic device are obtained, the adjustment module 200 may be specifically configured to:
if the working parameters of the first electronic equipment do not meet preset conditions, a first power path in the first electronic equipment is disconnected, wherein the first power path is used for the second electronic equipment to supply power for the first electronic equipment;
and adjusting the working parameters of the first electronic equipment based on the energy storage device in the first electronic equipment, and if the adjusted working parameters meet the preset conditions, conducting the first power supply path.
If the working parameters of the first electronic device do not meet the preset conditions, the adjusting module 200 may specifically include:
if the working parameters of the first electronic equipment do not meet the preset conditions, and the power supply parameters of the second electronic equipment do not meet the first electronic equipment, the first power supply path in the first electronic equipment is disconnected.
The adjustment module 200 may be further configured to stop adjusting the operating parameter of the first electronic device by the energy storage device in the first electronic device after the first power path is turned on.
In this embodiment, the operating parameters of the first electronic device do not meet the preset conditions, and may include, but are not limited to, at least one of the following:
determining that the difference between the working parameters of the first electronic equipment and the output parameters of the second electronic equipment meets a first difference threshold;
and determining that the difference between the working parameter of the first electronic device and the preset working parameter meets a second difference threshold.
In this embodiment, the working parameters of the first electronic device do not meet the preset conditions, which may include, but are not limited to:
determining a working mode of the first electronic equipment;
if the first electronic equipment is determined to have high-power-consumption operation requirements according to the working mode, determining that the working mode of the first electronic equipment does not accord with preset conditions;
if the first electronic equipment does not have the high-power-consumption operation requirement according to the working mode, the working mode of the first electronic equipment is determined to accord with the preset condition.
The process of adjusting the working parameters of the first electronic device by the adjusting module 200 based on the energy storage device in the first electronic device may include:
if the working voltage of the first electronic equipment is lower than the preset working voltage, the working voltage of the first electronic equipment is increased based on the energy storage device in the first electronic equipment until the output voltage of the first electronic equipment is not lower than the preset working voltage, and the energy storage device in the first electronic equipment stops increasing the working voltage of the first electronic equipment;
the preset working voltage is larger than the protection voltage corresponding to the second electronic equipment and is not larger than the maximum output voltage of the second electronic equipment.
The adjusting module 200 adjusts the working parameters of the first electronic device based on the energy storage device in the first electronic device, which may specifically include:
if the working current of the first electronic equipment is larger than the preset working current, the working voltage of the first electronic equipment is increased based on the energy storage device in the first electronic equipment until the working current of the first electronic equipment is not lower than the preset working current, and the energy storage device in the first electronic equipment stops increasing the working voltage of the first electronic equipment;
the preset working current is determined based on a current limit value of the second electronic device.
It should be noted that, in each embodiment, the differences from the other embodiments are emphasized, and the same similar parts between the embodiments are referred to each other. For the apparatus class embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference is made to the description of the method embodiments for relevant points.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of each module may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
From the above description of embodiments, it will be apparent to those skilled in the art that the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in the embodiments or some parts of the embodiments of the present application.
The foregoing describes in detail a control method and apparatus for an electronic device provided in the present application, and specific examples are applied to illustrate principles and embodiments of the present application, where the foregoing examples are only used to help understand the method and core idea of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. The control method of the electronic equipment is applied to the first electronic equipment and comprises the following steps:
acquiring working parameters of a first electronic device based on connection of the first electronic device and a second electronic device;
and if the working parameters of the first electronic equipment do not meet the preset conditions, adjusting the working parameters of the first electronic equipment based on the energy storage device in the first electronic equipment, so that after the adjusted working parameters meet the preset conditions, the energy storage device in the first electronic equipment stops adjusting the working parameters of the first electronic equipment.
2. The control method of an electronic device according to claim 1, obtaining an operating parameter of a first electronic device based on a connection of the first electronic device and a second electronic device, comprising:
detecting that a first electronic device is connected to a second electronic device, and acquiring working parameters of the first electronic device.
3. The method for controlling an electronic device according to claim 2, wherein if the working parameter of the first electronic device does not meet the preset condition, adjusting the working parameter of the first electronic device based on the energy storage device in the first electronic device includes:
if the working parameters of the first electronic equipment do not meet preset conditions, a first power path in the first electronic equipment is disconnected, wherein the first power path is used for the second electronic equipment to supply power for the first electronic equipment;
and adjusting the working parameters of the first electronic equipment based on the energy storage device in the first electronic equipment, and if the adjusted working parameters meet the preset conditions, conducting the first power supply path.
4. The method for controlling an electronic device according to claim 3, wherein if the operating parameter of the first electronic device does not meet the preset condition, disconnecting the first power path in the first electronic device includes:
if the working parameters of the first electronic equipment do not meet the preset conditions, and the power supply parameters of the second electronic equipment do not meet the first electronic equipment, a first power supply path in the first electronic equipment is disconnected.
5. The control method of an electronic apparatus according to claim 3, the control method of an electronic apparatus further comprising:
and after the first power supply path is conducted, the energy storage device in the first electronic equipment stops adjusting the working parameters of the first electronic equipment.
6. The method for controlling an electronic device according to claim 1, wherein the operating parameter of the first electronic device does not satisfy a preset condition, including at least one of:
determining that the difference between the working parameters of the first electronic equipment and the output parameters of the second electronic equipment meets a first difference threshold;
and determining that the difference between the working parameter of the first electronic equipment and the preset working parameter meets a second difference threshold.
7. The method for controlling an electronic device according to claim 1, wherein the operating parameter of the first electronic device does not satisfy a preset condition, comprising:
determining a working mode of the first electronic equipment;
if the first electronic equipment is determined to have high-power-consumption operation requirements according to the working mode, determining that the working mode of the first electronic equipment does not accord with preset conditions;
and if the first electronic equipment does not have the high-power-consumption operation requirement according to the working mode, determining that the working mode of the first electronic equipment meets the preset condition.
8. The method for controlling an electronic device according to claim 6, wherein adjusting the operating parameter of the first electronic device based on the energy storage device in the first electronic device includes:
if the working voltage of the first electronic equipment is lower than a preset working voltage, the working voltage of the first electronic equipment is increased based on an energy storage device in the first electronic equipment until the output voltage of the first electronic equipment is not lower than the preset working voltage, and the energy storage device in the first electronic equipment stops increasing the working voltage of the first electronic equipment;
the preset working voltage is larger than the protection voltage corresponding to the second electronic equipment and is not larger than the maximum output voltage of the second electronic equipment.
9. The method for controlling an electronic device according to claim 6, wherein adjusting the operating parameter of the first electronic device based on the energy storage device in the first electronic device includes:
if the working current of the first electronic equipment is larger than the preset working current, the working voltage of the first electronic equipment is increased based on the energy storage device in the first electronic equipment until the working current of the first electronic equipment is not lower than the preset working current, and the energy storage device in the first electronic equipment stops increasing the working voltage of the first electronic equipment;
the preset working current is determined based on a current limit value of the second electronic device.
10. A control apparatus of an electronic device, comprising:
the acquisition module is used for acquiring working parameters of the first electronic equipment based on the connection of the first electronic equipment and the second electronic equipment;
and the adjusting module is used for adjusting the working parameters of the first electronic equipment based on the energy storage device in the first electronic equipment if the working parameters of the first electronic equipment do not meet preset conditions, so that the energy storage device in the first electronic equipment stops adjusting the working parameters of the first electronic equipment after the adjusted working parameters meet the preset conditions.
CN202311576546.7A 2023-11-23 2023-11-23 Control method and device of electronic equipment Pending CN117595445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311576546.7A CN117595445A (en) 2023-11-23 2023-11-23 Control method and device of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311576546.7A CN117595445A (en) 2023-11-23 2023-11-23 Control method and device of electronic equipment

Publications (1)

Publication Number Publication Date
CN117595445A true CN117595445A (en) 2024-02-23

Family

ID=89911044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311576546.7A Pending CN117595445A (en) 2023-11-23 2023-11-23 Control method and device of electronic equipment

Country Status (1)

Country Link
CN (1) CN117595445A (en)

Similar Documents

Publication Publication Date Title
US11239752B2 (en) Adjusting peak inductor current to limit supply input current
US8947060B2 (en) Regulator over-voltage protection circuit with reduced standby current
US7977929B2 (en) Method for regulating a voltage and circuit therefor
EP3170057B1 (en) Dynamic maneuvering configuration for multiple control modes in a unified servo system
US10177561B2 (en) Selective protection circuit and method, and power supply system
US8884589B2 (en) Method and system for power switch temperature regulation
US7595619B2 (en) Feed-forward circuit for adjustable output voltage controller circuits
US8738954B2 (en) Power source circuit and control method thereof
JP2013192441A (en) Isolated flyback converter with sleep mode for light load operation
US20120297104A1 (en) Controlled intermediate bus architecture optimization
TWI439032B (en) Converter circuits,controllers and methods for controlling converter
JP2006204091A (en) Method and device for controlling output power delivered from switching power supply
US10658923B1 (en) Start-up control in power systems using fixed-ratio power conversion
JP2016505238A (en) Soft start circuit and technique
US7999513B1 (en) Adaptive battery charging
US8410764B2 (en) Automatic current limit adjustment for linear and switching regulators
WO2022142452A1 (en) On-grid/off-grid scheduling method and apparatus, and energy-storage power supply system
US7719239B2 (en) Fast field discharge for generator over-voltage control
US20210034089A1 (en) Voltage regulator wake-up
US20160190920A1 (en) Control Arrangement for a Switched Mode Power Supply
US11239689B2 (en) Method and apparatus for efficient power delivery in power supply system
CN112491260A (en) Charging protection circuit and method and switching power supply
CN103885517B (en) The control method of low-dropout regulator and low-dropout regulator output voltage
CN117595445A (en) Control method and device of electronic equipment
EP3332472B1 (en) Adjusting peak inductor current to limit supply input current

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