CN105634038B - Electric signal output and power determination method and device - Google Patents

Electric signal output and power determination method and device Download PDF

Info

Publication number
CN105634038B
CN105634038B CN201410594685.7A CN201410594685A CN105634038B CN 105634038 B CN105634038 B CN 105634038B CN 201410594685 A CN201410594685 A CN 201410594685A CN 105634038 B CN105634038 B CN 105634038B
Authority
CN
China
Prior art keywords
electronic equipment
capacitance value
type
exists
capacitor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410594685.7A
Other languages
Chinese (zh)
Other versions
CN105634038A (en
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 CN201410594685.7A priority Critical patent/CN105634038B/en
Publication of CN105634038A publication Critical patent/CN105634038A/en
Application granted granted Critical
Publication of CN105634038B publication Critical patent/CN105634038B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The application provides an electric signal output method and device, a power adapter detects whether a first device exists on electronic equipment after being connected with the electronic equipment, and under the condition that the first device exists in the electronic equipment, the power adapter outputs a first type of electric signals for the electronic equipment according to parameters of the first device, otherwise, outputs a second type of electric signals for the electronic equipment, and the voltage values of the first type of electric signals and the second type of electric signals are different.

Description

Electric signal output and power determination method and device
Technical Field
The present disclosure relates to the field of electronic information, and in particular, to a method and an apparatus for determining an electrical signal output and power.
Background
With the popularization of electronic devices, a user can simultaneously own a plurality of electronic devices, and the electronic devices with different specifications need to use different power adapters to supply power to the electronic devices.
Therefore, how to enable the power adapter to supply power to a plurality of electronic devices is a problem to be solved.
Disclosure of Invention
The embodiment of the application provides an electrical signal output and power determination method and device, and aims to solve the problem that how to enable a power adapter to supply power to a plurality of electronic devices is urgent to solve at present.
In order to achieve the above object, the embodiments of the present application provide the following technical solutions:
an electric signal output method comprising:
after a power adapter is connected with electronic equipment, the power adapter detects whether a first device exists on the electronic equipment;
under the condition that the first device is detected to exist in the electronic equipment, the power adapter outputs a first type of electric signal to the electronic equipment according to the parameter of the first device;
under the condition that the first device is not detected to exist in the electronic equipment, the power adapter outputs a second type of electric signal to the electronic equipment, and the voltage value of the first type of electric signal is different from that of the second type of electric signal.
Optionally, the detecting, by the power adapter, whether the first device exists on the electronic device includes:
the power adapter detects whether a capacitance of a first capacitance value is present on the electronic device.
Optionally, the outputting the first type of electrical signal for the electronic device according to the parameter of the first device includes:
under the condition that the voltage values at two ends of a parallel circuit are within a first preset range, outputting an electric signal with a first voltage value to the electronic equipment, wherein the parallel circuit is a circuit formed by connecting the first device and a resistor in parallel;
and under the condition that the voltage values at the two ends of the parallel circuit are in a second preset range, outputting an electric signal with a second voltage value to the electronic equipment.
Optionally, the first preset range and the second preset range are determined according to a rated power of the power adapter.
Optionally, the specific method for detecting whether the capacitor with the first capacitance value exists on the electronic device includes:
detecting whether a capacitor with a first capacitance value exists on the electronic equipment, and if so, determining that the capacitor with the first capacitance value exists on the electronic equipment;
if the capacitance value does not exist, detecting whether a capacitance with the capacitance value in a third preset range exists on the electronic equipment, wherein the third preset range comprises the first capacitance value, if so, determining that the capacitance with the first capacitance value exists on the electronic equipment, and if not, determining that the capacitance with the first capacitance value does not exist on the electronic equipment.
Optionally, the outputting the first type of electrical signal for the electronic device includes:
and after delaying a preset time value, outputting a first type of electric signal for the electronic equipment.
Optionally, the detecting whether the first device exists on the electronic device includes:
and detecting whether a capacitor with a preset capacitance value exists on the electronic equipment.
Optionally, the outputting the first type of electrical signal for the electronic device according to the parameter of the first device includes:
determining a voltage value corresponding to a preset capacitance value according to a one-to-one correspondence relationship between the preset capacitance value and the voltage value;
and outputting the electric signal of the voltage value to the electronic equipment.
Optionally, the detecting whether the first device exists on the electronic device includes:
and detecting whether a resistor with a preset resistance value exists on the electronic equipment.
Optionally, the outputting the first type of electrical signal for the electronic device according to the parameter of the first device includes:
detecting the voltage value at two ends of the resistor;
determining output voltage values corresponding to the voltage values at the two ends of the resistor according to a one-to-one correspondence relationship between the preset voltage values at the two ends of the resistor and the output voltage values;
and outputting an electric signal to the electronic equipment, wherein the voltage value of the electric signal is the output voltage value.
A power determination method is applied to an electronic device, wherein the electronic device is provided with a first device, and the power determination method comprises the following steps:
after the electronic equipment is connected with a power adapter, the electronic equipment detects parameters of the first device;
the electronic equipment determines the output power of the power adapter according to the one-to-one correspondence relationship between parameters and power values, the power adapter is used for outputting a first type of electric signals for the electronic equipment according to the parameters of the first device under the condition that the first device is detected to exist in the electronic equipment, the electronic equipment outputs a second type of electric signals under the condition that the first device is not detected to exist in the electronic equipment, and the voltage values of the first type of electric signals and the second type of electric signals are different.
Optionally, the detecting a parameter of the first device includes:
and detecting the voltage value of two ends of the resistor with the preset resistance value.
Optionally, the detecting a parameter of the first device includes:
and detecting the capacitance value of the preset capacitor.
Optionally, the method further comprises:
and when the output power of the power adapter is determined not to match the rated power of the electronic equipment, sending a prompt.
A power adapter, comprising:
the first detection module is used for detecting whether a first device exists on the electronic equipment after the first detection module is connected with the electronic equipment;
the first power supply module is used for outputting a first type of electric signals to the electronic equipment according to parameters of the first device under the condition that the first device is detected to exist in the electronic equipment;
the second power supply module is used for outputting a second type of electric signals to the electronic equipment under the condition that the first device is not detected to exist in the electronic equipment, and the voltage values of the first type of electric signals and the second type of electric signals are different.
Optionally, the detecting whether the first device exists on the electronic device by the first detecting module includes:
the first detection module is specifically configured to detect whether a capacitor with a first capacitance value exists on the electronic device.
Optionally, the first power supply module includes:
the first power supply unit is used for outputting an electric signal with a first voltage value to the electronic equipment under the condition that the voltage values at two ends of a parallel circuit are within a first preset range, and the parallel circuit is a circuit formed by connecting the first device and a resistor in parallel;
and the second power supply unit is used for outputting an electric signal with a second voltage value to the electronic equipment under the condition that the voltage values at two ends of the parallel circuit are in a second preset range, wherein the first preset range and the second preset range are determined according to the rated power of the power adapter.
Optionally, the first detection module includes:
the first detection unit is used for detecting whether a capacitor with a first capacitance value exists on the electronic equipment, and if so, determining that the capacitor with the first capacitance value exists on the electronic equipment;
the second detection unit is configured to detect whether a capacitor with a first capacitance value exists on the electronic device in a third preset range if the capacitor with the first capacitance value does not exist, where the third preset range includes the first capacitance value, determine that the capacitor with the first capacitance value exists on the electronic device if the capacitor with the first capacitance value does not exist on the electronic device, and determine that the capacitor with the first capacitance value does not exist on the electronic device if the capacitor with the first capacitance value does not exist on the electronic device.
Optionally, the first power supply module is configured to output a first type of electrical signal to the electronic device, and includes:
the first power supply module is specifically configured to output a first type of electrical signal to the electronic device after delaying a preset time value.
Optionally, the detecting whether the first device exists on the electronic device by the first detecting module includes:
the first detection module is specifically configured to detect whether a capacitor with a preset capacitance value exists on the electronic device.
Optionally, the first power supply module is configured to output a first type of electrical signal to the electronic device according to a parameter of the first device, and includes:
the first power supply module is specifically configured to determine a voltage value corresponding to a preset capacitance value according to a one-to-one correspondence relationship between the preset capacitance value and the voltage value, and output an electrical signal of the voltage value to the electronic device.
Optionally, the detecting whether the first device exists on the electronic device by the first detecting module includes:
the first detection module is specifically configured to detect whether a resistor with a preset resistance value exists on the electronic device.
Optionally, the first power supply module is configured to output a first type of electrical signal to the electronic device according to a parameter of the first device, and includes:
the first power supply module is specifically configured to detect voltage values at two ends of the resistor, determine an output voltage value corresponding to the voltage values at the two ends of the resistor according to a one-to-one correspondence relationship between the preset voltage values at the two ends of the resistor and the output voltage value, output an electrical signal by the electronic device, where the voltage value of the electrical signal is the output voltage value.
An electronic device having a first device comprising:
the second detection module is used for detecting the parameters of the first device after being connected with the power adapter;
the power adapter is used for outputting a first type of electric signals for the electronic equipment according to the parameters of the first device under the condition that the first device is detected to exist in the electronic equipment, and outputting a second type of electric signals for the electronic equipment under the condition that the first device is not detected to exist in the electronic equipment, wherein the voltage values of the first type of electric signals are different from the voltage values of the second type of electric signals.
Optionally, the second detecting module is configured to detect a parameter of the first device, and includes:
the second detection module is specifically configured to detect a voltage value at two ends of a resistor having a preset resistance value or detect a capacitance value of a preset capacitor.
Optionally, the method further comprises:
and the prompting module is used for sending out a prompt when the output power of the power adapter is determined to be not matched with the rated power of the electronic equipment.
In the method and the apparatus in this embodiment, after the power adapter is connected to the electronic device, it is detected whether a first device exists on the electronic device, and when the first device exists in the electronic device, the power adapter outputs a first type of electrical signal to the electronic device according to a parameter of the first device, otherwise, outputs a second type of electrical signal to the electronic device, where voltage values of the first type of electrical signal and the second type of electrical signal are different, and thus, the power adapter can output electrical signals with different voltage values to the electronic device according to whether the first device exists in the electronic device, and therefore, the power adapter has a capability of supplying power to different electronic devices, thereby expanding an application range thereof, and facilitating use of a user.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an electrical signal output method disclosed in an embodiment of the present application;
FIG. 2 is a flow chart of another method for outputting an electrical signal according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of another method for outputting an electrical signal according to an embodiment of the present disclosure;
FIG. 4 is a flow chart of another method for outputting an electrical signal according to an embodiment of the present disclosure;
FIG. 5 is a flow chart of a method for determining power disclosed in an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a power adapter according to an embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of another power adapter disclosed in the embodiments of the present application;
FIG. 8 is a schematic structural diagram of another power adapter disclosed in the embodiments of the present application;
fig. 9 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The electric signal output method and the electric signal output device disclosed by the embodiment of the application are applied to a scene that a power supply is adapted to provide for electronic equipment.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
An electrical signal output method disclosed in an embodiment of the present application, as shown in fig. 1, includes the following steps:
s101: after a power adapter is connected with electronic equipment, the power adapter detects whether a first device exists on the electronic equipment;
s102: under the condition that the first device is detected to exist in the electronic equipment, the power adapter outputs a first type of electric signal to the electronic equipment according to the parameter of the first device;
s103: under the condition that the first device is not detected to exist in the electronic equipment, the power adapter outputs a second type of electric signal to the electronic equipment, and the voltage value of the first type of electric signal is different from that of the second type of electric signal.
That is, in this embodiment, the power adapter determines, by detecting the first device in the electronic device, what kind of voltage electrical signal is output to the electronic device, and compared with the prior art, the power adapter may supply power to the electronic device with different rated voltage values, and the first device may be set on the electronic device in advance to indicate and distinguish, so as to expand the application range of the power adapter.
Another electrical signal output method disclosed in the embodiment of the present application, as shown in fig. 2, includes the following steps:
s201: after the power adapter is connected with the electronic device, initially outputting a second type of electric signal with a third voltage value (for example, 5V) to the electronic device;
s202: the power adapter detects whether a capacitor with a first capacitance value exists on the electronic device, if so, the step S203 is executed, and if not, the step S201 is returned to, namely, an electric signal with a third voltage value (for example, 5V) is still output for the electronic device;
specifically, the presence or absence of a capacitance of a first capacitance value on the electronic device may be detected in the following manner:
a: detecting whether a capacitor with a first capacitance value exists on the electronic equipment, and if so, determining that the capacitor with the first capacitance value exists on the electronic equipment;
b: if the capacitance value does not exist, detecting whether a capacitance with the capacitance value in a third preset range exists on the electronic equipment, wherein the third preset range comprises the first capacitance value, if so, determining that the capacitance with the first capacitance value exists on the electronic equipment, and if not, determining that the capacitance with the first capacitance value does not exist on the electronic equipment.
The preset range can use the first capacitance value as a center, float up and down for a certain value, and detect whether a capacitance value in the third preset range exists or not, so that the error result caused by the error of the capacitance value is avoided.
For example, it is required to detect that the capacitance of the first capacitance value is 1 microfarad, and in the case that the capacitance of 1 microfarad is not detected, it can be detected whether there exists a capacitance of 0.5 microfarad to 1.5 microfarad, that is, the capacitance value is floated by 0.5 microfarad, and if the actual value of the first capacitance is 1.3 microfarad due to the error of the first capacitance itself, it can be correctly identified, and the error result that there exists no first capacitance will not be caused.
S203: under the condition that the voltage values at two ends of the parallel circuit are in a first preset range, delaying a preset time value, and outputting an electric signal with a first voltage value to the electronic equipment;
in this embodiment, the parallel circuit is a circuit in which the first device is connected in parallel with the resistor, and in order to avoid the problem of delay in voltage change of the capacitor, in this embodiment, the voltage across the resistor is measured to be used as the voltage of the parallel circuit.
S204: under the condition that the voltage values at the two ends of the parallel circuit are in a second preset range, delaying a preset time value, and outputting an electric signal with a second voltage value to the electronic equipment;
in this embodiment, specifically, the first preset range and the second preset range are determined according to the rated power of the power adapter, for example, for a 65 watt power adapter, the first preset range may be 3.6V to 4.2V, the second preset range may be 1.8V to 2.4V, the electrical signal with the first voltage value may be an electrical signal with 20V, and the electrical signal with the second voltage value may be an electrical signal with 12V.
For a 40 watt power adapter, the first predetermined range may be 2.6V to 3.2V, the second predetermined range may be 1.0V to 1.6V, the first voltage value may be 20V electrical signal, and the second voltage value may be 12V electrical signal.
In this embodiment, the purpose of delaying the preset time value is to ensure the safe operation of the component, and specifically, the preset time value may be any time value within a range from 0.15 seconds to 1 second.
Further, in this embodiment, the method may further include the following steps:
s205: and after the power adapter is disconnected from the electronic equipment, the output electric signal is restored to a second type of electric signal with a third voltage value (for example, 5V) in the first time window.
In this embodiment, the first time window is set to avoid damage to components in the electronic device, and for example, the first time window may be 0.4 second.
In the method of this embodiment, the power adapter changes the supply voltage when detecting that the capacitor with the first capacitance value exists in the electronic device, and uses the voltage at two ends of the resistor connected in parallel with the capacitor with the first capacitance value as a basis for determining the final supply voltage, that is, the final supply voltage is determined according to the parameters of the capacitor and the resistor, so that the supply voltage can be accurately controlled.
Another electrical signal output method disclosed in the embodiment of the present application, as shown in fig. 3, includes the following steps:
s301: after the power adapter is connected with the electronic device, initially outputting a second type of electric signal with a third voltage value (for example, 5V) to the electronic device;
s302: the power adapter detects whether a capacitor with a preset capacitance value exists on the electronic equipment, if so, S303 is executed, and if not, S301 is executed;
s303: the power adapter determines a voltage value corresponding to a preset capacitance value according to a one-to-one correspondence relationship between the preset capacitance value and the voltage value;
s304: and outputting the electric signal of the voltage value to the electronic equipment.
In this embodiment, a preset one-to-one correspondence between capacitance values and voltage values is used to determine that the electronic device outputs the electrical signal of the voltage value.
In addition, an electrical signal for outputting the voltage value to the electronic device may also be determined according to the voltage value across the resistor, and as shown in fig. 4, another electrical signal output method disclosed in the embodiment of the present application includes the following steps:
s401: after the power adapter is connected with the electronic device, initially outputting a second type of electric signal with a third voltage value (for example, 5V) to the electronic device;
s402: the power adapter detects whether a resistor with a preset resistance value exists on the electronic equipment, if so, S403 is executed, and if not, S401 is executed again;
s403: detecting the voltage value at two ends of the resistor;
s404: determining output voltage values corresponding to the voltage values at the two ends of the resistor according to a one-to-one correspondence relationship between the preset voltage values at the two ends of the resistor and the output voltage values;
s405: and outputting an electric signal to the electronic equipment, wherein the voltage value of the electric signal is the output voltage value.
In the methods shown in fig. 4 and 5, the power adapter only uses the capacitor or the resistor to determine the output voltage, so that the implementation cost is lower.
The embodiment of the present application further discloses a method for determining power, which is applied to an electronic device, where the electronic device has a first device, and as shown in fig. 5, the method includes:
s501: after the electronic equipment is connected with a power adapter, the electronic equipment detects parameters of the first device;
in this embodiment, the power adapter has the functions described in the above embodiments.
The parameters of the first device may specifically be: the voltage value at the two ends of the resistor with the preset resistance value or the capacitance value of the capacitor is preset.
S502: the electronic equipment determines the output power of the power adapter according to the one-to-one correspondence relationship between the parameters and the power values;
s503: and when the output power of the power adapter is determined not to match the rated power of the electronic equipment, sending a prompt.
In this embodiment, the electronic device has a function of identifying whether the power supply power of the power adapter matches the rated power of the electronic device, and if the power supply power of the power adapter is smaller than the rated power of the electronic device, the user can be prompted, so that the user can obtain the reason for insufficient power supply of the electronic device in time, and the electronic device is convenient for the user to use.
Corresponding to the above method embodiment, an embodiment of the present application further discloses a power adapter, as shown in fig. 6, including:
the first detection module 601 is configured to detect whether a first device exists on an electronic device after the electronic device is connected to the electronic device;
a first power supply module 602, configured to output a first type of electrical signal to the electronic device according to a parameter of the first device when the first device is detected to be present in the electronic device;
a second power supply module 603, configured to output a second type of electrical signal to the electronic device if the presence of the first device in the electronic device is not detected, where voltage values of the first type of electrical signal and the second type of electrical signal are different.
The power adapter of the embodiment can output electric signals with different voltage values, and is easy to implement and low in cost.
Similarly to the above method embodiments, the power adapter disclosed in this embodiment may output an electrical signal according to the capacitor, or output an electrical signal according to the resistor, or output an electrical signal according to both the capacitor and the resistor, which will be described below.
Fig. 7 is a power adapter disclosed in an embodiment of the present application, including:
the first detection module 701 is configured to detect whether a capacitor with a first capacitance value exists on an electronic device after the electronic device is connected to the electronic device;
a first power supply unit 702, configured to, when it is detected that the first device exists in the electronic apparatus, output an electrical signal of a first voltage value to the electronic apparatus after delaying a preset time value when it is detected that the voltage value across the parallel circuit is within a first preset range when it is detected that the first device exists in the electronic apparatus;
the parallel circuit is a circuit in which the first device is connected with a resistor in parallel.
A second power supply unit 703, configured to delay a preset time value when the voltage value at two ends of the parallel circuit is within a second preset range when the first device is detected to be present in the electronic device, and output an electrical signal of the second voltage value to the electronic device;
the first preset range and the second preset range are determined according to the rated power of the power adapter, and the specific manner is as described in the embodiment of the method.
A second power supply module 704, configured to output a second type of electrical signal with a third voltage value to the electronic device without detecting that the capacitor with the first capacitance value exists in the electronic device.
Fig. 8 is a diagram of another power adapter disclosed in this embodiment, and as shown in fig. 8, the power adapter includes:
a first detecting module 801, configured to detect whether a capacitor with a preset capacitance value exists on the electronic device;
a first power supply module 802, configured to, when it is detected that a capacitor with a preset capacitance value exists in the electronic device, determine a voltage value corresponding to the preset capacitance value according to a one-to-one correspondence relationship between the preset capacitance value and the voltage value, and output an electrical signal of the voltage value to the electronic device;
a second power supply module 803, configured to output a second type of electrical signal with a third voltage value to the electronic device if the capacitor with the preset capacitance value is not detected in the electronic device.
The present embodiment discloses a power adapter, including:
the first detection module is used for detecting whether a resistor with a preset resistance value exists on the electronic equipment;
the first power supply module is used for detecting voltage values at two ends of the resistor when the resistor with the preset resistance value exists in the electronic equipment, determining an output voltage value corresponding to the voltage value at the two ends of the resistor according to the one-to-one correspondence relationship between the voltage value at the two ends of the preset resistor and the output voltage value, and outputting an electric signal to the electronic equipment, wherein the voltage value of the electric signal is the output voltage value;
and the second power supply module is used for outputting a second type of electric signal of a third voltage value to the electronic equipment under the condition that the resistor with the preset resistance value is not detected in the electronic equipment.
An embodiment of the present application further discloses an electronic device, which has a first device therein, as shown in fig. 9, and includes:
a second detecting module 901, configured to detect a parameter of the first device after being connected to a power adapter;
a determining module 902, configured to determine output power of the power adapter according to a one-to-one correspondence relationship between a parameter and a power value, where the power adapter is configured to output a first type of electrical signal to the electronic device according to the parameter of the first device when it is detected that the first device exists in the electronic device, and output a second type of electrical signal to the electronic device when it is not detected that the first device exists in the electronic device, where voltage values of the first type of electrical signal and the second type of electrical signal are different.
Specifically, the specific implementation manner of the second detection module detecting the parameter of the first device is as follows: and detecting the voltage value of two ends of the resistor with the preset resistance value, or detecting the capacitance value of the preset capacitor.
Further, the electronic device according to this embodiment may further include: and the prompting module 903 is used for sending a prompt when the output power of the power adapter is determined not to be matched with the rated power of the electronic equipment.
The electronic equipment provided by the embodiment has the advantages that the power supply power of the power adapter is identified, and the use by a user is facilitated.
The functions described in the method of the embodiment of the present application, if implemented in the form of software functional units and sold or used as independent products, may be stored in a storage medium readable by a computing device. Based on such understanding, part of the contribution to the prior art of the embodiments of the present application or part of the technical solution may be embodied in the form of a software product stored in a storage medium and including several instructions for causing a computing device (which may be a personal computer, a server, a mobile computing device or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. An electric signal output method, comprising:
after a power adapter is connected with electronic equipment, the power adapter detects whether a first device exists on the electronic equipment; the first device is a capacitor with a first capacitance value;
under the condition that the first device is detected to exist in the electronic equipment, the power adapter outputs a first type of electric signal to the electronic equipment according to the parameter of the first device; the first type of electric signals comprise electric signals with a first voltage value and electric signals with a second voltage value, the first device is used for distinguishing rated voltage values of electronic equipment, and different parameters of the first device correspond to different output voltage values of the power adapter;
under the condition that the first device is not detected to exist in the electronic equipment, the power adapter outputs a second type of electric signal to the electronic equipment, and the voltage values of the first type of electric signal and the second type of electric signal are different;
the specific method for detecting whether the capacitor with the first capacitance value exists on the electronic equipment comprises the following steps:
detecting whether a capacitor with a first capacitance value exists on the electronic equipment, and if so, determining that the capacitor with the first capacitance value exists on the electronic equipment;
if the capacitance value does not exist, detecting whether a capacitance with the capacitance value in a third preset range exists on the electronic equipment, wherein the third preset range comprises the first capacitance value, if so, determining that the capacitance with the first capacitance value exists on the electronic equipment, and if not, determining that the capacitance with the first capacitance value does not exist on the electronic equipment.
2. The method of claim 1, wherein outputting the first type of electrical signal for the electronic device based on the parameter of the first device comprises:
under the condition that the voltage values at two ends of a parallel circuit are within a first preset range, outputting an electric signal with a first voltage value to the electronic equipment, wherein the parallel circuit is a circuit formed by connecting the first device and a resistor in parallel;
and under the condition that the voltage values at the two ends of the parallel circuit are in a second preset range, outputting an electric signal with a second voltage value to the electronic equipment.
3. The method of claim 2, wherein the first predetermined range and the second predetermined range are determined according to a power rating of the power adapter.
4. The method of claim 1, wherein outputting the electrical signals of the first type for the electronic device comprises:
and after delaying a preset time value, outputting a first type of electric signal for the electronic equipment.
5. The method of claim 1, wherein outputting the first type of electrical signal for the electronic device based on the parameter of the first device comprises:
determining a voltage value corresponding to a first capacitance value according to the one-to-one correspondence relationship between the first capacitance value and the voltage value;
and outputting the electric signal of the voltage value to the electronic equipment.
6. A method for determining power, applied to an electronic device having a first device thereon, includes:
after the electronic equipment is connected with a power adapter, the electronic equipment detects parameters of the first device;
the electronic equipment determines the output power of the power adapter according to the one-to-one correspondence relationship between parameters and power values, wherein the power adapter is used for detecting whether the first device exists on the electronic equipment, under the condition that the first device exists in the electronic equipment, a first type of electric signals are output for the electronic equipment according to the parameters of the first device, under the condition that the first device does not exist in the electronic equipment, the electronic equipment outputs a second type of electric signals, and the voltage values of the first type of electric signals and the second type of electric signals are different; the first type of electric signals comprise electric signals with a first voltage value and electric signals with a second voltage value, the first device is used for distinguishing rated voltage values of electronic equipment, and different parameters of the first device correspond to different output voltage values of the power adapter;
wherein the first device is a capacitor having a first capacitance value;
the specific method for detecting whether the capacitor with the first capacitance value exists on the electronic equipment comprises the following steps:
detecting whether a capacitor with a first capacitance value exists on the electronic equipment, and if so, determining that the capacitor with the first capacitance value exists on the electronic equipment;
if the capacitance value does not exist, detecting whether a capacitance with the capacitance value in a third preset range exists on the electronic equipment, wherein the third preset range comprises the first capacitance value, if so, determining that the capacitance with the first capacitance value exists on the electronic equipment, and if not, determining that the capacitance with the first capacitance value does not exist on the electronic equipment.
7. The method of claim 6, further comprising:
and when the output power of the power adapter is determined not to match the rated power of the electronic equipment, sending a prompt.
8. A power adapter, comprising:
the first detection module is used for detecting whether a first device exists on the electronic equipment after the first detection module is connected with the electronic equipment; the first device is a capacitor with a first capacitance value;
the first power supply module is used for outputting a first type of electric signals to the electronic equipment according to parameters of the first device under the condition that the first device is detected to exist in the electronic equipment; the first type of electric signals comprise electric signals with a first voltage value and electric signals with a second voltage value, the first device is used for distinguishing rated voltage values of electronic equipment, and different parameters of the first device correspond to different output voltage values of the power adapter;
the second power supply module is used for outputting a second type of electric signals to the electronic equipment under the condition that the first device is not detected to exist in the electronic equipment, and the voltage values of the first type of electric signals and the second type of electric signals are different;
wherein the first detection module comprises:
the first detection unit is used for detecting whether a capacitor with a first capacitance value exists on the electronic equipment, and if so, determining that the capacitor with the first capacitance value exists on the electronic equipment;
the second detection unit is configured to detect whether a capacitor with a first capacitance value exists on the electronic device in a third preset range if the capacitor with the first capacitance value does not exist, where the third preset range includes the first capacitance value, determine that the capacitor with the first capacitance value exists on the electronic device if the capacitor with the first capacitance value does not exist on the electronic device, and determine that the capacitor with the first capacitance value does not exist on the electronic device if the capacitor with the first capacitance value does not exist on the electronic device.
9. The power adapter as claimed in claim 8, wherein the first power supply module comprises:
the first power supply unit is used for outputting an electric signal with a first voltage value to the electronic equipment under the condition that the voltage values at two ends of a parallel circuit are in a first preset range when the first device is detected to exist in the electronic equipment, and the parallel circuit is a circuit formed by connecting the first device and a resistor in parallel;
and the second power supply unit is used for outputting an electric signal with a second voltage value to the electronic equipment under the condition that the voltage values at two ends of the parallel circuit are in a second preset range when the first device is detected to exist in the electronic equipment, wherein the first preset range and the second preset range are determined according to the rated power of the power adapter.
10. The power adapter as claimed in claim 8, wherein the first power module for outputting the first type of electrical signal for the electronic device comprises:
the first power supply module is specifically configured to output a first type of electrical signal to the electronic device after delaying a preset time value.
11. The power adapter as claimed in claim 8, wherein the first power supply module is configured to output a first type of electrical signal to the electronic device according to the parameter of the first device, and comprises:
the first power supply module is specifically configured to determine a voltage value corresponding to a first capacitance value according to a one-to-one correspondence relationship between the first capacitance value and the voltage value, and output an electrical signal of the voltage value to the electronic device.
12. An electronic device having a first device, comprising:
the second detection module is used for detecting the parameters of the first device after being connected with the power adapter;
a determining module, configured to determine output power of the power adapter according to a one-to-one correspondence relationship between a parameter and a power value, where the power adapter is configured to detect whether the first device exists on the electronic device, and output a first type of electrical signal to the electronic device according to the parameter of the first device when detecting that the first device exists in the electronic device, and output a second type of electrical signal to the electronic device when detecting that the first device does not exist in the electronic device, where voltage values of the first type of electrical signal and the second type of electrical signal are different; the first type of electric signals comprise electric signals with a first voltage value and electric signals with a second voltage value, the first device is used for distinguishing rated voltage values of electronic equipment, and different parameters of the first device correspond to different output voltage values of the power adapter;
wherein the first device is a capacitor having a first capacitance value;
the specific method for detecting whether the capacitor with the first capacitance value exists on the electronic equipment comprises the following steps:
detecting whether a capacitor with a first capacitance value exists on the electronic equipment, and if so, determining that the capacitor with the first capacitance value exists on the electronic equipment;
if the capacitance value does not exist, detecting whether a capacitance with the capacitance value in a third preset range exists on the electronic equipment, wherein the third preset range comprises the first capacitance value, if so, determining that the capacitance with the first capacitance value exists on the electronic equipment, and if not, determining that the capacitance with the first capacitance value does not exist on the electronic equipment.
13. The electronic device of claim 12, further comprising:
and the prompting module is used for sending out a prompt when the output power of the power adapter is determined to be not matched with the rated power of the electronic equipment.
CN201410594685.7A 2014-10-29 2014-10-29 Electric signal output and power determination method and device Active CN105634038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410594685.7A CN105634038B (en) 2014-10-29 2014-10-29 Electric signal output and power determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410594685.7A CN105634038B (en) 2014-10-29 2014-10-29 Electric signal output and power determination method and device

Publications (2)

Publication Number Publication Date
CN105634038A CN105634038A (en) 2016-06-01
CN105634038B true CN105634038B (en) 2020-11-20

Family

ID=56048703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410594685.7A Active CN105634038B (en) 2014-10-29 2014-10-29 Electric signal output and power determination method and device

Country Status (1)

Country Link
CN (1) CN105634038B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112947191A (en) * 2021-02-08 2021-06-11 联想(北京)有限公司 Information processing method, information processing device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040075418A1 (en) * 2000-09-21 2004-04-22 Densham William L. Power management for battery powered appliances
CN102570546A (en) * 2011-12-28 2012-07-11 中兴通讯股份有限公司 Mobile terminal and charge device and method thereof
CN203014451U (en) * 2013-01-09 2013-06-19 赖伟昌 USB charger

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306853B (en) * 2011-08-10 2014-08-06 深圳市力可普尔电子有限公司 Intelligently-identified charging method and device as well as connector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040075418A1 (en) * 2000-09-21 2004-04-22 Densham William L. Power management for battery powered appliances
CN102570546A (en) * 2011-12-28 2012-07-11 中兴通讯股份有限公司 Mobile terminal and charge device and method thereof
CN203014451U (en) * 2013-01-09 2013-06-19 赖伟昌 USB charger

Also Published As

Publication number Publication date
CN105634038A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US9685815B2 (en) Method for performing wireless charging control with aid of admittance detection, and associated apparatus
US11631981B2 (en) Power adapter, terminal, and method for processing impedance anomalies in charging loop
US10250048B2 (en) Charging protection method and apparatus
US9128691B2 (en) Method and terminal for selecting internal circuit according to USB interface status
US8604748B2 (en) Methods and systems for detecting battery presence
US9698675B2 (en) Driving circuit, operation method thereof and display apparatus
CN107918076B (en) Power adapter detection method and power adapter detection device
US20130179603A1 (en) Apparatus and method of identifying a usb or an mhl device
CN104978300A (en) Mobile terminal as well as detecting method and device for connection of mobile terminal and external equipment
US20150189917A1 (en) Charging method based on an electronic cigarette box and corresponding electronic cigarette box
CN104754139A (en) Message prompting method and device
CN106443482B (en) Electronic equipment and battery discharge curve calibration method thereof
CN105048555A (en) Method and system for identifying charging of universal serial bus (USB) charger
CN104466470A (en) Anti-jitter SD card base, terminal and method for identifying inserting and pulling state of SD card
CN104701937A (en) Charging method, terminal equipment and adapter
US20130283028A1 (en) Adapter identification system and method for computer
US9570932B2 (en) Charging current setting method and charging module
CN105634038B (en) Electric signal output and power determination method and device
TWI610506B (en) Control circuit for stopping voltage booster and electronic device using the same
CN110501554B (en) Detection method and device for installation of memory chip
CN104731723A (en) Power-off protection method and device for storage device
CN103955161A (en) Monitoring circuit and electronic device
CN113098085A (en) Charging processing method and electronic equipment
JP2018013931A5 (en)
CN107196389B (en) Processing method and device of terminal charger

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant