CN113328537A - Wireless charging deviation detection method and device and electronic equipment - Google Patents

Wireless charging deviation detection method and device and electronic equipment Download PDF

Info

Publication number
CN113328537A
CN113328537A CN202010130683.8A CN202010130683A CN113328537A CN 113328537 A CN113328537 A CN 113328537A CN 202010130683 A CN202010130683 A CN 202010130683A CN 113328537 A CN113328537 A CN 113328537A
Authority
CN
China
Prior art keywords
rectified voltage
value
wireless charging
sampling
initial value
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
CN202010130683.8A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010130683.8A priority Critical patent/CN113328537A/en
Publication of CN113328537A publication Critical patent/CN113328537A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J50/00Circuit arrangements or systems for wireless supply or distribution of electric power
    • H02J50/90Circuit arrangements or systems for wireless supply or distribution of electric power involving detection or optimisation of position, e.g. alignment
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the application provides a method and a device for detecting wireless charging deviation and electronic equipment, wherein the method comprises the steps of judging whether a rectifying voltage appears in a rectifying circuit of a wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip; if the rectified voltage appears in the rectifying circuit and the rectified voltage value acquired by the wireless charging chip is not acquired, judging that the wireless charging deviation occurs; if the rectified voltage appears in the rectifying circuit and an initial value of the rectified voltage collected by a wireless charging chip is obtained, sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; and judging whether the wireless charging deviation occurs according to the initial value and the sampling value variation trend of the rectified voltage, so that the wireless charging deviation can be detected without additionally adding a sensor in the electronic equipment.

Description

Wireless charging deviation detection method and device and electronic equipment
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a method and a device for detecting wireless charging deviation and electronic equipment.
Background
The principle of wireless charging technology is that energy transfer is achieved through electromagnetic induction between coils. In the wireless charging technology of the mobile phone, if the coil on the mobile phone and the coil of the wireless charger cannot be aligned well, the energy conversion efficiency of the coil is reduced, and even the mobile phone cannot be charged. Therefore, when the coil on the mobile phone and the coil of the wireless charger cannot be aligned well, that is, the distance between the central point of the coil supporting wireless charging on the mobile phone and the central point of the coil in the wireless charger is relatively long, the wireless charging deviation needs to be prompted to occur to a user on the side of the mobile phone, so that the user experience is improved.
The currently commonly used deviation detection scheme is shown in fig. 1, 2 additional metal sensors are required to be added outside a coil supporting wireless charging in a mobile phone as a detection point X, Y, the coil is used as a detection point Z to form an X-Y-Z three-point structure, when the mobile phone performs wireless charging, the mobile phone detects the relative position of the coil of the mobile phone and the coil of the wireless charger according to the three-point structure, and if deviation occurs, a user is reminded in time, so that the user can move the mobile phone accordingly, and the coil of the mobile phone is moved to a position with good coupling to start charging.
In the deviation detection scheme, the metal sensor needs to be added outside the coil supporting wireless charging of the mobile phone, the corresponding transmitting device needs to be added in cooperation with the wireless charger, and the scheme is complex to implement.
Disclosure of Invention
The embodiment of the application provides a method and a device for detecting wireless charging deviation and electronic equipment, and the detection of the wireless charging deviation can be realized without additionally adding a sensor.
In a first aspect, an embodiment of the present application provides a method for detecting a wireless charging deviation, including:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, judging that the wireless charging deviation occurs;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is obtained, sampling is carried out on the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; and judging whether the wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage.
The method judges whether the wireless charging deviation occurs according to the initial value of the rectified voltage and the numerical value change trend of the sampling value of the rectified voltage, does not need to arrange an additional sensor in the mobile phone and arrange a corresponding transmitting device in the wireless charger as in the prior art, and is simple to realize.
Wherein, whether take place wireless charging off normal according to initial value and rectifier voltage's sampling value trend of change judgement, include:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that the wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than the first preset output value and the variation trend of the sampling value is descending, judging that the wireless charging deviation does not occur; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to the first preset output value and the error of the sampling value and the first preset output value is smaller than the error threshold value, judging that the wireless charging deviation does not occur.
Wherein, still include:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference value between the voltage value of the rectified voltage and the second preset output value exceeds a difference threshold value, the wireless charging deviation is judged to move to the positive position.
Wherein, still include:
when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value, the absolute value of which exceeds the absolute value threshold, the wireless charging deviation is judged to be moved to a positive position.
Wherein, sampling to the rectification voltage includes:
sampling is performed by obtaining a rectified voltage value from the wireless charging chip.
Wherein, judge whether rectified voltage appears in the rectifier circuit of wireless chip that charges, include:
the method comprises the steps that an output signal of a preset rectification voltage detection circuit is obtained, the rectification voltage detection circuit is used for detecting whether rectification voltage appears in a rectification circuit or not, when the rectification voltage detection circuit detects the rectification voltage, a low level signal is output, and when the rectification voltage detection circuit does not detect the rectification voltage, a high level signal is output;
and judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip or not according to the acquired output signal.
In a second aspect, an embodiment of the present application provides a method for prompting a wireless charging deviation, including:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, displaying an offset prompt to a user;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is obtained, sampling is carried out on the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; judging whether wireless charging deviation occurs according to the initial value and the sampling value variation trend of the rectified voltage; and if the judgment result is that the wireless charging deviation occurs, displaying a deviation prompt to a user.
Wherein, whether take place wireless charging off normal according to initial value and rectifier voltage's sampling value trend of change judgement, include:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that the wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than the first preset output value and the variation trend of the sampling value is descending, judging that the wireless charging deviation does not occur; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to the first preset output value and the error of the sampling value and the first preset output value is smaller than the error threshold value, judging that the wireless charging deviation does not occur.
Wherein, still include:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference between the voltage value of the rectified voltage and the second preset output value is detected to exceed a difference threshold value, displaying a deviation homing prompt for a user.
Wherein, still include:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value of which the absolute value exceeds the absolute value threshold, displaying a deviation homing prompt for a user.
Wherein, sampling to the rectification voltage includes:
sampling is performed by obtaining a rectified voltage value from the wireless charging chip.
Wherein, judge whether rectified voltage appears in the rectifier circuit of wireless chip that charges, include:
the method comprises the steps that an output signal of a preset rectification voltage detection circuit is obtained, the rectification voltage detection circuit is used for detecting whether rectification voltage appears in a rectification circuit or not, when the rectification voltage detection circuit detects the rectification voltage, a low level signal is output, and when the rectification voltage detection circuit does not detect the rectification voltage, a high level signal is output;
and judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip or not according to the acquired output signal.
In a third aspect, an embodiment of the present application provides a rectified voltage detection circuit, including:
the first end of the detection circuit is connected with the second end of the detection circuit through the first resistor and the second resistor in sequence, and the second end of the detection circuit is grounded; the first end and the second end of the detection circuit are used for being connected with a rectified voltage output end of the rectifying circuit;
one end of the second circuit, which is not grounded, is connected with the grid electrode of the N-channel enhanced MOS field effect transistor;
the source electrode of the N-channel enhanced MOS field effect transistor is grounded, and the drain electrode is connected with the voltage output end of the detection circuit through a third resistor.
Wherein, still include:
the ungrounded end of the second resistor is connected with the cathode of the voltage stabilizing diode, and the anode of the voltage stabilizing diode is grounded.
Wherein, still include:
the source electrode of the N-channel enhancement type MOS field effect transistor is connected with the anode of the diode, the cathode of the diode is connected with the drain electrode, and the source electrode is connected with the grid electrode through the bidirectional breakdown diode.
In a fourth aspect, an embodiment of the present application provides a wireless charging deviation detection apparatus, including:
the judging unit is used for judging whether a rectifying voltage appears in a rectifying circuit of the wireless charging chip;
the acquisition unit is used for acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
the deviation judging unit is used for judging whether the wireless charging deviation occurs or not if the judging unit judges that the rectified voltage occurs in the rectifying circuit of the wireless charging chip and the acquiring unit does not acquire the initial value of the rectified voltage acquired by the wireless charging chip;
the sampling unit is used for sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value if the judging unit judges that the rectified voltage appears in the rectifying circuit of the wireless charging chip and the acquiring unit acquires the initial value of the rectified voltage acquired by the wireless charging chip;
the deviation judging unit is further configured to: and judging whether the wireless charging deviation occurs according to the initial value acquired by the acquisition unit and the variation trend of the sampling value of the rectified voltage by the sampling unit.
Wherein, the deviation judging unit is specifically configured to:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that the wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than the first preset output value and the variation trend of the sampling value is descending, judging that the wireless charging deviation does not occur; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to the first preset output value and the error of the sampling value and the first preset output value is smaller than the error threshold value, judging that the wireless charging deviation does not occur.
Wherein, the deviation judging unit is further configured to: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference value between the voltage value of the rectified voltage and the second preset output value exceeds a difference threshold value, the wireless charging deviation is judged to move to the positive position.
Wherein, the deviation judging unit is further configured to: when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value, the absolute value of which exceeds the absolute value threshold, the wireless charging deviation is judged to be moved to a positive position.
Wherein, the sampling unit is specifically configured to: sampling is performed by obtaining a rectified voltage value from the wireless charging chip.
Wherein, the judging unit is specifically configured to: acquiring an output signal of a rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage; and judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip or not according to the acquired output signal.
In a fifth aspect, an embodiment of the present application provides a wireless charging deviation prompting device, including:
the judging unit is used for judging whether a rectifying voltage appears in a rectifying circuit of the wireless charging chip;
the acquisition unit is used for acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
the display unit is used for displaying an offset prompt to a user if the judging unit judges that the rectified voltage appears in the rectifying circuit of the wireless charging chip and the acquiring unit does not acquire the initial value of the rectified voltage acquired by the wireless charging chip;
the sampling unit is used for sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value if the judging unit judges that the rectified voltage appears in the rectifying circuit of the wireless charging chip and the acquiring unit acquires the initial value of the rectified voltage acquired by the wireless charging chip;
the deviation judging unit is used for judging whether wireless charging deviation occurs according to the initial value obtained by the obtaining unit and the change trend of the sampling value of the rectifying voltage obtained by the sampling unit;
the display unit is further configured to: and if the judgment result of the deviation judgment unit is that the wireless charging deviation occurs, displaying a deviation prompt to a user.
Wherein, the deviation judging unit is specifically configured to:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that the wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than the first preset output value and the variation trend of the sampling value is descending, judging that the wireless charging deviation does not occur; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to the first preset output value and the error of the sampling value and the first preset output value is smaller than the error threshold value, judging that the wireless charging deviation does not occur.
Wherein, the display unit is further configured to: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference between the voltage value of the rectified voltage and the second preset output value is detected to exceed a difference threshold value, displaying a deviation homing prompt for a user.
Wherein, the display unit is further configured to:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value of which the absolute value exceeds the absolute value threshold, displaying a deviation homing prompt for a user.
Wherein, the sampling unit is specifically configured to: sampling is performed by obtaining a rectified voltage value from the wireless charging chip.
Wherein, the judging unit is specifically configured to: acquiring an output signal of a rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage; and judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip or not according to the acquired output signal.
In a sixth aspect, an embodiment of the present application provides an electronic device, including:
a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the steps of:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, judging that the wireless charging deviation occurs;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is obtained, sampling is carried out on the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; and judging whether the wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage.
When the instruction is executed by the device, the step of judging whether the wireless charging deviation occurs according to the initial value and the sampling value variation trend of the rectified voltage comprises the following steps:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that the wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than the first preset output value and the variation trend of the sampling value is descending, judging that the wireless charging deviation does not occur; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to the first preset output value and the error of the sampling value and the first preset output value is smaller than the error threshold value, judging that the wireless charging deviation does not occur.
Wherein the instructions, when executed by the device, cause the device to further perform the steps of:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference value between the voltage value of the rectified voltage and the second preset output value exceeds a difference threshold value, the wireless charging deviation is judged to move to the positive position.
Wherein the instructions, when executed by the device, cause the device to further perform the steps of: when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value, the absolute value of which exceeds the absolute value threshold, the wireless charging deviation is judged to be moved to a positive position.
Wherein the instructions, when executed by the device, cause the step of sampling the rectified voltage to comprise:
sampling is performed by obtaining a rectified voltage value from the wireless charging chip.
Wherein the instructions, when executed by the device, cause the step of determining whether the rectified voltage is detected by the rectified voltage detection circuit to comprise:
acquiring an output signal of a rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage;
and judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip or not according to the acquired output signal.
In a seventh aspect, an embodiment of the present application provides an electronic device, including:
a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the steps of:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, displaying an offset prompt to a user;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is obtained, sampling is carried out on the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; judging whether wireless charging deviation occurs according to the initial value and the sampling value variation trend of the rectified voltage; and if the judgment result is that deviation occurs, displaying deviation prompt to the user.
When the instruction is executed by the device, the step of judging whether the wireless charging deviation occurs according to the initial value and the sampling value variation trend of the rectified voltage comprises the following steps:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that the wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than the first preset output value and the variation trend of the sampling value is descending, judging that the wireless charging deviation does not occur; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to the first preset output value and the error of the sampling value and the first preset output value is smaller than the error threshold value, judging that the wireless charging deviation does not occur.
Wherein the instructions, when executed by the device, cause the device to further perform the steps of:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference between the voltage value of the rectified voltage and the second preset output value is detected to exceed a difference threshold value, displaying a deviation homing prompt for a user.
Wherein the instructions, when executed by the device, cause the device to further perform the steps of:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value of which the absolute value exceeds the absolute value threshold, displaying a deviation homing prompt for a user.
Wherein the instructions, when executed by the device, cause the step of sampling the rectified voltage to comprise:
sampling is performed by obtaining a rectified voltage value from the wireless charging chip.
Wherein the instructions, when executed by the device, cause the step of determining whether the rectified voltage is detected by the rectified voltage detection circuit to comprise:
acquiring an output signal of a rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage;
and judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip or not according to the acquired output signal.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, which, when run on a computer, causes the computer to perform the method of the first aspect.
In a ninth aspect, embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, which, when run on a computer, causes the computer to perform the method of the second aspect.
In a tenth aspect, the present application provides a computer program for performing the method of the first or second aspect when the computer program is executed by a computer.
In a possible design, the program in the tenth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Drawings
FIG. 1 is a schematic diagram of a three-point structure of X-Y-Z on a prior art mobile phone;
FIG. 2 is a schematic configuration diagram of a rectifier circuit;
FIG. 3 is a schematic diagram of a rectified voltage variation curve during wireless charging;
fig. 4 is a flowchart illustrating an embodiment of a method for detecting a wireless charging offset according to the present application;
FIG. 5 is a block diagram of an embodiment of a rectified voltage detection circuit according to the present application;
fig. 6 is a flowchart illustrating another embodiment of a method for detecting a wireless charging offset according to the present application;
FIGS. 7a and 7b are exemplary graphs of rectified voltage variations;
fig. 8 is a flowchart illustrating a method for prompting a wireless charging deviation according to an embodiment of the present disclosure;
fig. 9 is a flowchart illustrating another embodiment of a method for prompting wireless charging deviation according to the present application;
FIG. 10 is a block diagram of an embodiment of a wireless charging deviation detection apparatus according to the present application;
fig. 11 is a structural diagram of an embodiment of a wireless charging deviation prompting device according to the present application;
fig. 12 is a schematic structural diagram of an embodiment of an electronic device according to the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
The application provides a method and a device for detecting wireless charging deviation and electronic equipment, and the wireless charging deviation can be detected without additionally adding a sensor.
Furthermore, the application provides a wireless charging deviation prompting method and device and electronic equipment, and wireless charging deviation prompting can be achieved without additionally adding a sensor.
First, the principle of implementation of the present application will be explained below.
In the existing wireless charging scheme, in order to support wireless charging, a wireless charging chip is arranged in a mobile phone, and the wireless charging chip is provided with a coil and a rectifying circuit which support wireless charging. After the wireless charger is electrified and initialized, an alternating current PING signal with the duration of about 90ms and the frequency of about 148K is sent; when the mobile phone is placed on the wireless charger, the coil supporting wireless charging in the wireless charging chip of the mobile phone receives the alternating current PING signal to obtain a corresponding alternating current signal, the rectifying circuit in the wireless charging chip rectifies the alternating current signal into a direct current voltage signal, and the direct current voltage signal is generally used for supporting the work of an internal circuit of the wireless charging chip.
The rectifier circuit in the wireless charging chip can exist in the form of a rectifier circuit module. The above-described rectification circuit can be implemented using a rectification principle circuit like that shown in fig. 2. The voltage across the capacitor Cv may be referred to as the rectified voltage Vrect. When the wireless charging chip works normally, the rectification voltage Vrect in the rectification circuit can be collected.
On the same wireless charger, the closer the central point of the coil in the wireless charging chip of the mobile phone and the central point of the coil in the wireless charger are, the stronger the alternating current PING signal received by the coil in the wireless charging chip is, and correspondingly, the higher the rectified voltage Vrect is, and otherwise, the lower the rectified voltage Vrect is.
According to the above analysis, the magnitude of the initial value of the Vrect can be used as the first criterion for judging whether the wireless charging deviation occurs, and the positive and negative of the CEP or the monotonicity of the Vrect voltage can be used as the second criterion.
The applicant provides the method and the device for detecting the wireless charging deviation and the electronic equipment based on the analysis, and the detection of the wireless charging deviation can be realized without additionally adding a sensor.
In order to better explain the embodiment of the present application, an Error Control Packet (CEP) in wireless charging is described in advance. The CEP is a power control packet defined in the wireless charging Qi standard, and in the whole wireless charging process, the wireless charging chip in the mobile phone can continuously send the CEP to the wireless charger to indicate the wireless charger to adjust the transmitting power, so that the wireless charging chip can correspondingly adjust the receiving power, and the power requirement of the mobile phone is ensured. Specifically, when the wireless charging chip finds that the power is too high, namely the rectified voltage Vrect is too high, a negative value CEP is sent to indicate the wireless charger to reduce the transmitting power; when the wireless charging chip finds that the power is too low, namely the rectified voltage Vrect is too low, the wireless charging chip sends CEP with a positive value, and the wireless charger increases the transmitting power.
At present, in a wireless charging process, after a coil of a wireless charging chip initially receives an alternating current PING signal to power on the wireless charging chip, the wireless charging chip adjusts a rectified voltage Vrect to 5.8V through CEP, and then adjusts the rectified voltage Vrect to be stabilized at 5.5V through CEP. After the rectified voltage Vrect is adjusted from 5.8V to 5.5V, the wireless charging chip and the wireless charger perform handshake communication for a time of approximately 10s, and the CEP value fluctuates in 3 values of 0, -1 and 1 due to the stable load in the time; and then, the wireless charger increases the transmission power to start a charging process, the wireless charger increases the transmission power to enable the rectified voltage to rise, and the wireless charging chip issues CEP to stabilize the rectified voltage at 9V and start charging. Based on the above description, if no deviation occurs at the start of wireless charging, the time-dependent change curve of the rectified voltage is shown in fig. 3. The embodiment of the application mainly relates to the deviation detection in the process that the rectified voltage is adjusted to 5.8V and then is stabilized at 5.5V for protocol handshaking, namely the deviation detection in the process before the charging is formally started between a wireless charger and a wireless charging chip is stopped.
Although the above description is given by taking the interaction between the mobile phone and the wireless charger as an example, it should be noted that the present application is not limited to the detection of the wireless charging deviation in the mobile phone, and may also be extended from the mobile phone to other electronic devices supporting wireless charging.
Fig. 4 is a flowchart of an embodiment of a method for detecting a wireless charging offset according to the present application, and as shown in fig. 3, the method may include:
step 401: judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip; if the rectified voltage in the rectifying circuit is judged to be present and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, executing step 402; and if the rectified voltage in the rectifying circuit is judged to be generated and the initial value of the rectified voltage collected by the wireless charging chip is obtained, executing step 403.
Generally, the initial value of the rectified voltage refers to a value of the rectified voltage initially acquired by the wireless charging chip after the coil of the wireless charging chip initially receives the alternating-current PING signal to electrify the wireless charging chip.
Step 402: and judging that the wireless charging deviation occurs, and ending the branch process.
If the rectified voltage generated by the rectifying circuit is not enough to support the working voltage of the wireless charging chip, the deviation of the central point of the coil in the electronic equipment relative to the central point of the coil in the wireless charger is more, and therefore the wireless charging deviation is directly judged.
Step 403: sampling the rectified voltage in the process of changing the rectified voltage from the initial value to a first preset output value;
step 404: and judging whether the wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage.
In the method shown in fig. 4, whether the wireless charging deviation occurs is determined according to the initial value of the rectified voltage and the numerical variation trend of the sampling value of the rectified voltage, and it is not necessary to provide another sensor in the mobile phone and a corresponding transmitter in the wireless charger as in the prior art, so that the implementation is simple.
The implementation of step 401 will be described below.
In practical applications, the wireless charging chip may collect a value of a rectified voltage, which is hereinafter referred to as a rectified voltage value, and send the collected rectified voltage value to the electronic device, but the wireless charging chip generally has a working voltage, for example, 3V, and if the electronic device, for example, a mobile phone, is placed at an excessive bias relative to the wireless charger, and the rectified voltage Vrect of the rectifying circuit in the wireless charging chip is less than 3V, the rectified voltage Vrect cannot support the working of an internal circuit of the wireless charging chip, the wireless charging chip cannot work, and the rectified voltage value cannot be sent outwards, so that the electronic device cannot know whether the wireless charging chip generates the rectified voltage. That is to say, if the center point of the coil in the electronic device is not offset much relative to the center point of the coil in the wireless charger, and the rectified voltage generated by the rectifying circuit in the wireless charging chip is greater than or equal to the working voltage of the wireless charging chip, the wireless charging chip can send the rectified voltage value to the electronic device, so that the electronic device can know the rectified voltage value; however, if the coil of the electronic device is excessively offset relative to the coil of the wireless charger, the rectified voltage generated by the rectifying circuit in the wireless charging chip is smaller than the working voltage of the wireless charging chip, the wireless charging chip cannot work, and the electronic device cannot know whether the rectified voltage Vrect occurs in the wireless charging chip.
For the condition that the rectified voltage cannot support the work of the wireless charging chip, whether the rectified voltage appears in the rectifying circuit of the wireless charging chip can be detected, and specifically, a rectified voltage detection circuit can be arranged and used for detecting whether the rectified voltage appears in the rectifying circuit. The rectification voltage detection circuit can be arranged outside the wireless charging chip or in the wireless charging chip.
For example, in the rectifier circuit shown in fig. 2, the rectified voltage detection circuit may obtain the rectified voltage Vrect by measuring the voltage at the two ends of the capacitor Cv, that is, the two ends of the capacitor Cv may be used as two rectified voltage output ends of the rectifier circuit in the wireless charging chip.
In one possible implementation manner, the present application provides a rectified voltage detection circuit, as shown in fig. 5, the rectified voltage detection circuit may include:
a first end Vin1 and a second end Vin2 of the detection circuit are respectively and correspondingly connected with two rectified voltage output ends of the rectification circuit, and the first end Vin1 is connected with the second end Vin2 through a first resistor R1 and a second resistor R2 in sequence; the second terminal Vin2 is grounded;
one end of the second resistor R2, which is not grounded, is connected with the grid of the N-channel enhancement type MOS field effect transistor Q1;
the source electrode of the N-channel enhancement type MOS field effect transistor Q1 is grounded, the drain electrode is connected with the voltage end VOUT of the detection circuit through a third resistor R3, the voltage end VOUT is used for providing voltage for the detection circuit, and the drain electrode is also used as the signal output end GPIO of the rectification voltage detection circuit and used for outputting voltage signals.
Based on the rectifying circuit shown in fig. 2, the first terminal Vin1 of the detection circuit may be connected to the non-grounded terminal of the capacitor Cv, so as to obtain the rectified voltage Vrect.
Wherein, this circuit can also include: the ungrounded end of the second resistor R2 is connected to the cathode of the zener diode D5, and the anode of the zener diode D5 is grounded.
Wherein, this circuit can also include:
the source electrode of the N-channel enhancement type MOS field effect transistor Q1 is connected with the anode of the diode D6, the cathode of the diode D6 is connected with the drain electrode, and the source electrode is connected with the grid electrode through the bidirectional breakdown diode D7.
The N-channel enhancement type MOS fet Q1 can be prevented from breakdown by providing the diode D6 and the diac D7.
The working principle of the rectification voltage detection circuit is as follows: when the rectified voltage Vrect is 0, the N-channel enhancement type MOS field effect transistor Q1 is not turned on, and the voltage of the signal output terminal GPIO is based on the voltage terminal VOUT, so that the signal output terminal GPIO outputs a high level signal; when the rectified voltage Vrect is not 0 and the N-channel enhancement type MOS fet Q1 is turned on, the signal output terminal GPIO is grounded, and therefore, the signal output terminal GPIO outputs a low level signal. Therefore, if the signal output terminal GPIO outputs a low level signal, it indicates that the rectified voltage Vrect appears in the rectifying circuit. Therefore, based on the rectified voltage detection circuit shown in fig. 4, it can be determined whether the rectified voltage Vrect is present in the rectification circuit of the wireless charging chip by the level of the output signal of the signal output terminal GPIO.
Based on the wireless charging chip and the rectified voltage detection circuit, if the rectified voltage Vrect is greater than or equal to the working voltage of the wireless charging chip, the rectified voltage detection circuit can detect the rectified voltage, and the wireless charging chip can output a rectified voltage value for the mobile phone; if the rectified voltage Vrect is smaller than the working voltage of wireless charging, the rectified voltage detection circuit can detect the rectified voltage, but the wireless charging chip cannot output the rectified voltage value for the mobile phone.
Therefore, the determining whether the rectified voltage is present in the rectifying circuit of the wireless charging chip may include:
acquiring an output signal of a rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage; and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
The implementation of step 403 will be described below.
In practical application, a time interval can be set for sampling, the length of the time interval can be set independently in practical application, and the method is not limited in the application. For example, the time interval may be 50 ms.
When the rectified voltage is greater than or equal to the working voltage of the wireless charging chip, sampling can be completed by acquiring the rectified voltage value from the wireless charging chip every time the sampling is performed.
The sampling has the effects that the wireless charging deviation is judged to be too large by only adopting the initial value of the rectified voltage, and the wireless charging deviation is judged to be more accurate by sampling the rectified voltage and further judging whether the wireless charging deviation occurs according to the initial value and the sampling value.
The implementation of step 404 is explained below.
In one possible implementation, the step may include:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
The first threshold is smaller than a first preset output value and larger than the working voltage of the wireless charging chip. In general, the first threshold may correspond to an acceptable maximum deviation value. The deviation values are: distance of a center point of a coil in the electronic device relative to a center point of a coil in the wireless charger. The maximum deviation value has the effect that: if the distance between the central point of the coil in the electronic equipment and the central point of the coil in the wireless charger is larger than the maximum deviation value, the wireless charging deviation is judged to occur, and if the distance is smaller than or equal to the maximum deviation value, the wireless charging deviation is judged not to occur.
The first preset output value may be: the maximum value set for the rectified voltage in advance, for example, 5.8V as described above.
It should be noted that the variation trend of the sampling values is an overall trend, and it is not required that every two adjacent sampling values in the variation trend are strictly in an increasing or decreasing trend. In a possible implementation manner, the determination of the variation trend may be: and calculating the difference value between two adjacent sampling values, wherein the proportion of the difference value meeting the requirement of the change trend in all the difference values exceeds a preset proportion threshold value. For example, the preset proportion threshold is 70%, the number of the sampling values is 10, if the difference value is obtained by subtracting the previous sampling value from the next sampling value, 9 difference values can be obtained, if only 7 difference values in the 9 difference values meet the requirement of the change trend, the difference value can exceed the preset proportion threshold by 70%, for example, if only 7 or more than 7 difference values are positive values, the change trend of the sampling values can be considered as increasing, and if 7 or more than 7 difference values are negative values, the change trend of the sampling values can be considered as decreasing.
On the basis of the method shown in fig. 4, an embodiment of the present application further provides another method for detecting a wireless charging deviation, as shown in fig. 6, the method includes:
steps 601 to 604 are the same as steps 401 to 404, and are not described herein.
Step 605: and after the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference value between the voltage value of the rectified voltage and the second preset output value exceeds a difference threshold value, the wireless charging deviation is judged to be moved to a positive position.
Based on the foregoing description, in the current wireless charging process, after the rectified voltage increases to 5.8V, the electronic device may set the rectified voltage to 5.5V, then execute a protocol handshaking procedure between the electronic device and the wireless charger under the rectified voltage of 5.5V, when the rectified voltage is set to 5.5V, there is about 10s of time until the protocol handshaking procedure is finished, whether the voltage value of the rectified voltage increases may be detected, and if the voltage value increases, it is indicated that the deviation value decreases, so that the receiving power of the coil in the wireless charging chip increases, and further the rectified voltage increases, and therefore, it may be determined that the wireless charging moves from deviation to normal.
In another possible implementation, step 605 may be replaced by the following steps: and after the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value of which the absolute value exceeds an absolute value threshold, the wireless charging deviation is judged to be moved to a positive position.
After the rectified voltage is set to 5.5V based on the same principle as in step 505, if the rectified voltage rises, it can be judged that the wireless charging has moved from the off-set position to the positive position. As can be seen from the foregoing description, the wireless charging chip issues the CEP all the time, when the rectified voltage is set to 5.5V, if the fluctuation of the rectified voltage is not large, the value of the CEP fluctuates among 3 values, i.e., 1, 0 and-1, and if the rectified voltage suddenly rises too much, the value of the CEP issued by the wireless charging chip suddenly changes to a negative value with a large absolute value, so that it can be determined that the wireless charging is shifted from the off-position to the positive position by the CEP value.
For the above technical solution, for example: assuming that the deviation value corresponding to the coil in the wireless charging chip capable of sensing the alternating-current PING signal is 16mm, the working voltage of the wireless charging chip is 3V, the corresponding deviation value is more than 10mm, the first threshold value can be set to be 4V, and the corresponding deviation value is 8mm, so that 8mm is the acceptable maximum deviation value, that is, the initial value of the rectification voltage is less than 4V, the deviation value is greater than 8mm, the deviation is determined, and the deviation value is less than or equal to 8mm, and the deviation is determined. The following describes an implementation of the embodiment of the present application with reference to the rectified voltage variation curves shown in fig. 7a and 7 b.
The wireless charger sends a PING signal, if the distance between the center point of the coil in the electronic device, such as a mobile phone, and the center point of the coil in the wireless charger is less than or equal to 8mm, that is, the electronic device is not deviated, the initial value of the rectified voltage is above 4V, and the rectified voltage is continuously increased under the adjustment of CEP issued by the wireless charging chip until 5.8V, as shown in fig. 3. If not, then,
if the distance is between 8mm and 10mm, the initial value of the rectified voltage is between 3V and 4V, and the rectified voltage is continuously increased to 5.8V under the adjustment of the wireless charging chip issuing CEP, as shown in FIG. 7 a. After that, when the rectified voltage is stabilized at 5.5V and protocol handshake communication is performed between the wireless charging chip and the wireless charger, referring to fig. 7a, if the rectified voltage suddenly rises, it can be determined that the electronic device has moved from the off-position to the normal position.
If the distance is between 10mm and 16mm, the initial value of the rectified voltage is less than 3V, the wireless charging chip cannot work, the change curve of the rectified voltage along with time is shown in fig. 7b, and at the moment, a low-level signal begins to appear in the signal output by the signal output end GPIO of the rectified voltage detection circuit.
Based on the above detection method for wireless charging deviation, an embodiment of the present application further provides a method for prompting wireless charging deviation, as shown in fig. 8, including:
step 801: judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip; if the rectified voltage is judged to be generated in the rectifying circuit and the rectified voltage value acquired by the wireless charging chip is not acquired, executing the step 802; and if the rectified voltage in the rectifying circuit is judged to be generated and the initial value of the rectified voltage collected by the wireless charging chip is obtained, executing the step 803.
Step 802: and displaying the deviation prompt to the user, and ending the branch process.
If the rectified voltage generated by the rectifying circuit is not enough to support the working voltage of the wireless charging chip, the deviation of the central point of the coil in the electronic equipment relative to the central point of the coil in the wireless charger is more, therefore, the wireless charging deviation is judged to occur, and the deviation prompt is displayed for a user.
Step 803: sampling the rectified voltage in the process of changing the rectified voltage from the initial value to a first preset output value.
Step 804: judging whether wireless charging deviation occurs according to the initial value and the sampling value variation trend of the rectified voltage, and executing step 805 if the wireless charging deviation is judged to occur; otherwise, step 806 is performed.
Step 805: and displaying the deviation prompt to the user, and ending the branch process.
Step 806: and displaying a charging prompt to a user, and ending the branch process.
The application is not limited to the method for displaying the offset hint in step 802 and step 805. The situation where step 802 and step 805 generate offsets is different: the deviation prompted in the step 802 causes that the wireless charging chip cannot work normally, and then the wireless charging cannot be carried out normally; in the deviation prompted in step 805, the wireless charging chip can work normally, but the efficiency of wireless charging is relatively low under the condition that deviation does not occur; thus, the manner in which the misalignment is prompted in steps 802 and 805 may be the same or different.
In one possible implementation, the deviation may be prompted by presenting a preset deviation animation effect or the like to the user. For the indication of the deviation indication in step 805, the indication time of the deviation animation effect may be within a certain time length, for example, within 100ms, after the wireless charging chip and the wireless charger complete the protocol handshake communication. Thereafter, since wireless charging has already been started, the charging prompt may continue to be presented to the user.
For the method for displaying the charging prompt in step 806, the animation effect in the charging process may be displayed by following the prior art, or the charging prompt may also be displayed in other manners, which is not limited in this application.
In the method shown in fig. 8, whether the wireless charging deviation occurs is determined according to the initial value of the rectified voltage and the numerical variation trend of the sampling value of the rectified voltage, and it is not necessary to provide another sensor in the electronic device such as a mobile phone and a corresponding transmitting device in the wireless charger as in the prior art, so that the implementation is simple.
Based on the method shown in fig. 8, as shown in fig. 9, the method may include:
steps 901 to 906 are substantially the same as steps 801 to 806, with the only difference being that: step 905 or step 906 may be followed by the following step 907:
step 907: and when the rectified voltage is increased to a first preset output value and is set at a second preset output value, if the difference between the voltage value of the rectified voltage and the second preset output value is detected to exceed a difference threshold value, displaying a deviation homing prompt for the user.
Alternatively, step 907 may also be replaced with: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if a negative value that the absolute value of the CEP exceeds the absolute value threshold is detected, displaying a deviation homing prompt to the user.
The deviation homing prompt is used for prompting the user to move the electronic equipment from deviation to normal position, and the specific prompting method is not limited in the application. For example, a preset animation effect of the bias regression to the normal position, etc. may be presented to the user. Similarly, the display time of the partial homing prompt may be within a certain time period, for example, 100ms, after the wireless charging chip and the wireless charger complete the protocol handshake communication. Thereafter, since wireless charging has already been started, the charging prompt may continue to be presented to the user.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
Fig. 10 is a structural diagram of an embodiment of the wireless charging deviation detection apparatus according to the present application, and as shown in fig. 10, the apparatus 1000 may include:
a judging unit 1010 configured to judge whether a rectified voltage occurs in a rectifying circuit of the wireless charging chip;
an obtaining unit 1020, configured to obtain an initial value of the rectified voltage collected by the wireless charging chip;
the deviation judging unit 1030 is configured to judge that wireless charging deviation occurs if the judging unit judges that a rectified voltage occurs in the rectifying circuit and the acquiring unit does not acquire a rectified voltage value acquired by the wireless charging chip;
the sampling unit 1040 is configured to, if the judging unit judges that the rectified voltage occurs in the rectifying circuit, and the acquiring unit acquires an initial value of the rectified voltage acquired by the wireless charging chip, sample the rectified voltage in a process that the rectified voltage changes from the initial value to a first preset output value;
the offset determining unit 1030 is further configured to: and judging whether wireless charging deviation occurs according to the initial value acquired by the acquisition unit and the variation trend of the sampling value of the rectified voltage by the sampling unit.
In a possible implementation manner, the offset determining unit 1030 may specifically be configured to:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
In a possible implementation manner, the offset determining unit 1030 is further configured to: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference value between the voltage value of the rectified voltage and the second preset output value exceeds a difference threshold value, the wireless charging deviation is judged to be moved to a positive position.
In a possible implementation manner, the offset determining unit 1030 is further configured to: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value of which the absolute value exceeds the absolute value threshold, the wireless charging deviation is judged to be moved to a positive position.
In a possible implementation manner, the sampling unit 1040 may specifically be configured to: sampling is performed by acquiring a rectified voltage value from the wireless charging chip.
In a possible implementation manner, the determining unit 1010 may specifically be configured to: acquiring an output signal of a rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage; and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
In the apparatus shown in fig. 10, whether the wireless charging deviation occurs is determined according to the initial value of the rectified voltage and the numerical variation trend of the sampling value of the rectified voltage, and it is not necessary to provide another sensor in the electronic device such as a mobile phone and a corresponding transmitting device in the wireless charger as in the prior art, so that the implementation is simple.
Fig. 11 is a schematic structural diagram of an embodiment of a wireless charging deviation prompting device according to the present application, and as shown in fig. 11, the device 1100 may include:
a determining unit 1110 configured to determine whether a rectified voltage is present in a rectifying circuit of the wireless charging chip;
an obtaining unit 1120, configured to obtain an initial value of a rectified voltage collected by a wireless charging chip;
the display unit 1130 is configured to display an offset prompt to a user if the judging unit judges that the rectified voltage appears in the rectifying circuit and the acquiring unit does not acquire the rectified voltage value acquired by the wireless charging chip;
a sampling unit 1140, configured to, if the determining unit determines that a rectified voltage occurs in the rectifying circuit, and the obtaining unit obtains an initial value of the rectified voltage collected by the wireless charging chip, sample the rectified voltage in a process that the rectified voltage changes from the initial value to a first preset output value;
a deviation determination unit 1150, configured to determine whether a wireless charging deviation occurs according to the initial value obtained by the obtaining unit and a variation trend of the sampling value of the rectified voltage obtained by the sampling unit;
the display unit 1130 is also for: and if the judgment result of the deviation judgment unit is that deviation occurs, displaying a deviation prompt to the user.
In a possible implementation manner, the offset determining unit is specifically configured to:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
In one possible implementation, the presentation unit is further configured to: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference between the voltage value of the rectified voltage and the second preset output value is detected to exceed a difference threshold value, displaying a deviation homing prompt for the user.
In one possible implementation, the presentation unit is further configured to:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if a negative value that the absolute value of the CEP exceeds the absolute value threshold is detected, displaying a deviation homing prompt to the user.
In a possible implementation manner, the sampling unit is specifically configured to: sampling is performed by acquiring a rectified voltage value from the wireless charging chip.
In a possible implementation manner, the determining unit is specifically configured to: acquiring an output signal of the rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage; and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
In the apparatus shown in fig. 10, whether wireless charging deviation occurs is determined according to the initial value of the rectified voltage and the numerical variation trend of the sampling value of the rectified voltage, and deviation prompt is performed when deviation is determined, so that it is not necessary to provide an additional sensor in an electronic device such as a mobile phone and a corresponding transmitter in a wireless charger as in the prior art, and the implementation is simple.
The apparatus provided in the embodiment shown in fig. 10 may be used to implement the technical solutions of the method embodiments shown in fig. 4 and fig. 6 of the present application, and the implementation principles and technical effects thereof may be further referred to in the related description of the method embodiments.
The apparatus provided in the embodiment shown in fig. 11 may be used to implement the technical solutions of the method embodiments shown in fig. 8 and fig. 9 of the present application, and the implementation principles and technical effects thereof may be further referred to in the related description of the method embodiments.
It should be understood that the division of the units of the devices shown in fig. 10 and 11 is merely a logical division, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And these units can be implemented entirely in software, invoked by a processing element; or may be implemented entirely in hardware; part of the units can also be realized in the form of software called by a processing element, and part of the units can be realized in the form of hardware. For example, the presentation unit may be a separate processing element, or may be integrated into a chip of the electronic device. The other units are implemented similarly. In addition, all or part of the units can be integrated together or can be independently realized. In implementation, the steps of the method or the units above may be implemented by hardware integrated logic circuits in a processor element or instructions in software.
For example, the above units may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors (DSPs), one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, these units may be integrated together and implemented in the form of a System-On-a-Chip (SOC).
Fig. 12 is a schematic structural diagram of an embodiment of an electronic device of the present application, and as shown in fig. 12, the electronic device may include: a display screen; one or more processors; a memory; and one or more computer programs.
Wherein, the display screen may include a display screen of a vehicle-mounted computer (Mobile Data Center); the electronic equipment can be mobile terminals (mobile phones), smart screens, unmanned aerial vehicles, Intelligent networked vehicles (ICV), smart car (smart/Intelligent car) or Vehicle-mounted equipment and the like.
Wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the steps of:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the rectified voltage value acquired by the wireless charging chip is not acquired, judging that the wireless charging deviation occurs;
if the rectified voltage appears in the rectifying circuit and an initial value of the rectified voltage collected by a wireless charging chip is obtained, sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; and judging whether the wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage.
In a possible implementation manner, the instructions, when executed by the apparatus, cause the step of determining whether the wireless charging deviation occurs according to the initial value and a variation trend of the sampled value of the rectified voltage to include:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
In one possible implementation, the instructions, when executed by the apparatus, cause the apparatus to further perform the steps of:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference value between the voltage value of the rectified voltage and the second preset output value exceeds a difference threshold value, the wireless charging deviation is judged to be moved to a positive position.
In one possible implementation, the instructions, when executed by the apparatus, cause the apparatus to further perform the steps of: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the CEP is detected to have a negative value of which the absolute value exceeds the absolute value threshold, the wireless charging deviation is judged to be moved to a positive position.
In one possible implementation, the instructions, when executed by the device, cause the step of sampling the rectified voltage to comprise:
sampling is performed by acquiring a rectified voltage value from the wireless charging chip.
In one possible implementation, the instructions, when executed by the apparatus, cause the step of determining whether the rectified voltage detection circuit detects the rectified voltage to comprise:
acquiring an output signal of the rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage;
and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
Alternatively, the one or more computer programs are stored in the memory, the one or more computer programs including instructions which, when executed by the apparatus, cause the apparatus to perform the steps of:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectification voltage appears in the rectification circuit and the rectification voltage value acquired by the wireless charging chip is not acquired, displaying an offset prompt to a user;
if the rectified voltage appears in the rectifying circuit and an initial value of the rectified voltage collected by a wireless charging chip is obtained, sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; judging whether wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage; and if the judgment result is that deviation occurs, displaying a deviation prompt to the user.
In a possible implementation manner, the instructions, when executed by the apparatus, cause the step of determining whether the wireless charging deviation occurs according to the initial value and a variation trend of the sampled value of the rectified voltage to include:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
In one possible implementation, the instructions, when executed by the apparatus, cause the apparatus to further perform the steps of:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference between the voltage value of the rectified voltage and the second preset output value is detected to exceed a difference threshold value, displaying a deviation homing prompt for the user.
In one possible implementation, the instructions, when executed by the apparatus, cause the apparatus to further perform the steps of:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if a negative value that the absolute value of the CEP exceeds the absolute value threshold is detected, displaying a deviation homing prompt to the user.
In one possible implementation, the instructions, when executed by the device, cause the step of sampling the rectified voltage to comprise:
sampling is performed by acquiring a rectified voltage value from the wireless charging chip.
In one possible implementation, the instructions, when executed by the apparatus, cause the step of determining whether the rectified voltage detection circuit detects the rectified voltage to comprise:
acquiring an output signal of the rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage;
and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
The electronic device shown in fig. 12 may be a terminal device or a circuit device built in the terminal device. The apparatus may be used to perform the functions/steps of the methods provided by the embodiments of fig. 4-9 of the present application.
The electronic device 1200 may include a processor 1210, an external memory interface 1220, an internal memory 1221, a Universal Serial Bus (USB) interface 1230, a charge management module 1240, a power management module 1241, a battery 1242, an antenna 1, an antenna 2, a mobile communication module 1250, a wireless communication module 1260, an audio module 1270, a speaker 1270A, a receiver 1270B, a microphone 1270C, an earphone interface 1270D, a sensor module 1280, keys 1290, a motor 1291, an indicator 1292, a camera 1293, a display 1294, a Subscriber Identification Module (SIM) card interface 1295, and the like. The sensor module 1280 may include a pressure sensor 1280A, a gyroscope sensor 1280B, an air pressure sensor 1280C, a magnetic sensor 1280D, an acceleration sensor 1280E, a distance sensor 1280F, an approaching optical sensor 1280G, a fingerprint sensor 1280H, a temperature sensor 1280J, a touch sensor 1280K, an ambient light sensor 1280L, a bone conduction sensor 1280M, and the like.
It is to be understood that the illustrated structure of the embodiment of the invention is not intended to limit the electronic device 1200. In other embodiments of the present application, the electronic device 1200 may include more or fewer components than illustrated, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 1210 may include one or more processing units, such as: processor 1210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), among others. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 1210 for storing instructions and data. In some embodiments, the memory in processor 1210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 1210. If the processor 1210 needs to reuse the instruction or data, it may be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 1210, thereby increasing the efficiency of the system.
In some embodiments, processor 1210 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 1210 may include multiple sets of I2C buses. The processor 1210 may be coupled to the touch sensor 1280K, the charger, the flash, the camera 1293, etc. through different I2C bus interfaces. For example: the processor 1210 may be coupled to the touch sensor 1280K through an I2C interface, so that the processor 1210 and the touch sensor 1280K communicate through an I2C bus interface to implement a touch function of the electronic device 1200.
The I2S interface may be used for audio communication. In some embodiments, processor 1210 may include multiple sets of I2S buses. Processor 1210 may be coupled to audio module 1270 via an I2S bus for enabling communication between processor 1210 and audio module 1270. In some embodiments, the audio module 1270 may pass audio signals through the I2S interface to the wireless communication module 1260 for answering calls through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, audio module 1270 and wireless communication module 1260 may be coupled by a PCM bus interface. In some embodiments, the audio module 1270 may also transmit audio signals to the wireless communication module 1260 through the PCM interface, enabling answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 1210 with the wireless communication module 1260. For example: the processor 1210 communicates with the bluetooth module in the wireless communication module 1260 through the UART interface to implement the bluetooth function. In some embodiments, the audio module 1270 may transmit the audio signal to the wireless communication module 1260 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 1210 with peripheral devices such as a display screen 1294, a camera 1293, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 1210 and camera 1293 communicate over a CSI interface to implement the capture functions of electronic device 1200. Processor 1210 and display screen 1294 communicate via a DSI interface to implement display functions of electronic device 1200.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect processor 1210 with camera 1293, display 1294, wireless communication module 1260, audio module 1270, sensor module 1280, and/or the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 1230 is an interface conforming to the USB standard specification, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 1230 may be used to connect a charger to charge the electronic device 1200, and may also be used to transmit data between the electronic device 1200 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only an exemplary illustration, and does not form a structural limitation for the electronic device 1200. In other embodiments of the present application, the electronic device 1200 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 1240 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 1240 may receive charging input from a wired charger via the USB interface 1230. In some wireless charging embodiments, the charging management module 1240 may receive wireless charging input through a wireless charging coil of the electronic device 1200. The charging management module 1240 may also supply power to the electronic device through the power management module 1241 while charging the battery 1242.
The power management module 1241 is used to connect the battery 1242, the charging management module 1240 and the processor 1210. The power management module 1241 receives input from a battery 1242 and/or a charge management module 1240 to power the processor 1210, the internal memory 1221, the display screen 1294, the camera 1293, and the wireless communication module 1260. The power management module 1241 may also be used to monitor parameters such as battery capacity, battery cycle number, battery state of health (leakage, impedance), and the like. In other embodiments, a power management module 1241 may also be disposed in processor 1210. In other embodiments, the power management module 1241 and the charging management module 1240 may be disposed in the same device.
The wireless communication function of the electronic device 1200 may be implemented by the antenna 1, the antenna 2, the mobile communication module 1250, the wireless communication module 1260, the modem processor, and the baseband processor, etc.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 1200 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 1250 may provide a solution including 2G/3G/4G/5G and the like wireless communication applied to the electronic device 1200. The mobile communication module 1250 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 1250 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation. The mobile communication module 1250 can also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 1250 may be disposed in the processor 1210. In some embodiments, at least some of the functional modules of the mobile communication module 1250 may be disposed in the same device as at least some of the modules of the processor 1210.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 1270A, the receiver 1270B, etc.) or displays images or video through the display screen 1294. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 1210 and may be implemented in the same device as the mobile communication module 1250 or other functional modules.
The wireless communication module 1260 may provide solutions for wireless communication applied to the electronic device 1200, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 1260 may be one or more devices integrating at least one communication processing module. The wireless communication module 1260 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 1210. The wireless communication module 1260 can also receive the signal to be transmitted from the processor 1210, modulate the frequency of the signal, amplify the signal, and convert the signal into electromagnetic wave through the antenna 2 to radiate the electromagnetic wave.
In some embodiments, antenna 1 of electronic device 1200 is coupled to mobile communication module 1250 and antenna 2 is coupled to wireless communication module 1260 such that electronic device 1200 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 1200 implements display functions via the GPU, the display screen 1294, and the application processor, among other things. The GPU is an image processing microprocessor coupled to a display screen 1294 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 1210 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 1294 is used to display images, video, and the like. The display screen 1294 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 1200 can include 1 or N display screens 1294, N being a positive integer greater than 1.
The electronic device 1200 may implement a camera function via an ISP, a camera 1293, a video codec, a GPU, a display screen 1294, an application processor, and the like.
The ISP is used to process data fed back by the camera 1293. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 1293.
Camera 1293 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 1200 can include 1 or N cameras 1293, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 1200 selects at a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 1200 may support one or more video codecs. In this way, the electronic device 1200 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 1200 can be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 1220 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 1200. The external memory card communicates with the processor 1210 through the external memory interface 1220 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
Internal memory 1221 may be used to store computer-executable program code, which includes instructions. The internal memory 1221 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 1200, and the like. In addition, the internal memory 1221 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 1210 executes various functional applications and data processing of the electronic device 1200 by executing instructions stored in the internal memory 1221 and/or instructions stored in a memory provided in the processor.
The electronic device 1200 may implement audio functions through the audio module 1270, the speaker 1270A, the receiver 1270B, the microphone 1270C, the earphone interface 1270D, the application processor, and the like. Such as music playing, recording, etc.
The audio module 1270 is used to convert digital audio information into analog audio signal outputs and also used to convert analog audio inputs into digital audio signals. The audio module 1270 may also be used to encode and decode audio signals. In some embodiments, the audio module 1270 may be provided in the processor 1210, or some of the functional modules of the audio module 1270 may be provided in the processor 1210.
The speaker 1270A, also known as a "horn," is used to convert electrical audio signals into sound signals. The electronic apparatus 1200 can listen to music or listen to a hands-free call through the speaker 1270A.
Receiver 1270B, also known as an "earpiece," is used to convert electrical audio signals into acoustic signals. When the electronic device 1200 receives a call or voice information, it can receive a voice by placing the receiver 1270B close to the ear of a person.
A microphone 1270C, also known as a "microphone," converts sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 1270C by sounding a voice signal through the mouth of the user near the microphone 1270C. The electronic device 1200 may be provided with at least one microphone 1270C. In other embodiments, the electronic device 1200 may be provided with two microphones 1270C to implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 1200 may further include three, four, or more microphones 1270C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The earphone interface 1270D is used to connect wired earphones. The headset interface 1270D may be a USB interface 1230, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 1280A is used for sensing a pressure signal and converting the pressure signal into an electrical signal. In some embodiments, pressure sensor 1280A may be disposed on display screen 1294. Pressure sensor 1280A may be of a wide variety of types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 1280A, the capacitance between the electrodes changes. The electronic device 1200 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 1294, the electronic device 1200 detects the intensity of the touch operation according to the pressure sensor 1280A. The electronic apparatus 1200 can also calculate the touched position from the detection signal of the pressure sensor 1280A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyroscope sensor 1280B may be used to determine a motion pose of the electronic device 1200. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyroscope sensor 1280B. The gyro sensor 1280B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyro sensor 1280B detects a shaking angle of the electronic device 1200, calculates a distance that the lens module needs to compensate according to the shaking angle, and allows the lens to counteract shaking of the electronic device 1200 through a reverse movement, thereby achieving anti-shaking. The gyroscope sensor 1280B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 1280C is used to measure air pressure. In some embodiments, electronic device 1200 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 1280C.
The magnetic sensor 1280D includes a hall sensor. The electronic device 1200 may detect the opening and closing of the flip holster with the magnetic sensor 1280D. In some embodiments, when the electronic device 1200 is a flip phone, the electronic device 1200 may detect the opening and closing of the flip according to the magnetic sensor 1280D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 1280E may detect the magnitude of acceleration of the electronic device 1200 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 1200 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 1280F for measuring distance. The electronic device 1200 may measure distance by infrared or laser. In some embodiments, shooting a scene, the electronic device 1200 may utilize the range sensor 1280F to range for fast focus.
The proximity light sensor 1280G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 1200 emits infrared light to the outside through the light emitting diode. The electronic device 1200 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 1200. When insufficient reflected light is detected, the electronic device 1200 may determine that there are no objects near the electronic device 1200. The electronic device 1200 can detect that the user holds the electronic device 1200 close to the ear for talking by using the proximity optical sensor 1280G, so that the screen is automatically turned off to achieve the purpose of saving power. The proximity light sensor 1280G may also be used in holster mode, pocket mode automatically unlocking and locking the screen.
The ambient light sensor 1280L is used to sense ambient light brightness. The electronic device 1200 may adaptively adjust the brightness of the display screen 1294 based on the perceived ambient light level. The ambient light sensor 1280L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 1280L may also cooperate with the proximity light sensor 1280G to detect whether the electronic device 1200 is in a pocket to prevent accidental touches.
The fingerprint sensor 1280H is used to collect a fingerprint. The electronic device 1200 may utilize the collected fingerprint characteristics to implement fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint answering, and the like.
The temperature sensor 1280J is used to detect temperature. In some embodiments, electronic device 1200 implements a temperature handling strategy using the temperature detected by temperature sensor 1280J. For example, when the temperature reported by the temperature sensor 1280J exceeds a threshold, the electronic device 1200 performs a reduction in performance of a processor located near the temperature sensor 1280J, so as to reduce power consumption and implement thermal protection. In other embodiments, electronic device 1200 heats battery 1242 when the temperature is below another threshold to avoid an abnormal shutdown of electronic device 1200 due to low temperatures. In other embodiments, electronic device 1200 performs a boost on the output voltage of battery 1242 when the temperature is below a further threshold to avoid an abnormal shutdown due to low temperatures.
Touch sensor 1280K, also known as a "touch device". The touch sensor 1280K may be disposed on the display screen 1294, and the touch sensor 1280K and the display screen 1294 form a touch screen, which is also referred to as a "touch screen". The touch sensor 1280K is used to detect a touch operation applied thereto or thereabout. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operations can be provided through the display screen 1294. In other embodiments, the touch sensor 1280K can be disposed on a surface of the electronic device 1200 at a different location than the display screen 1294.
Bone conduction sensor 1280M may acquire a vibration signal. In some embodiments, the bone conduction transducer 1280M may acquire a vibration signal of the human voice vibrating a bone mass. The bone conduction sensor 1280M can also contact with the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 1280M may also be disposed in the headset, integrated into a bone conduction headset. The audio module 1270 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 1280M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure pulsation signal acquired by the bone conduction sensor 1280M, so as to realize the heart rate detection function.
Keys 1290 include a power-on key, a volume key, etc. Keys 1290 may be mechanical keys. Or may be touch keys. The electronic apparatus 1200 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 1200.
The motor 1291 can generate a vibration cue. Motor 1291 may be used for incoming call vibration cues or for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 1291 may also respond to different vibration feedback effects by performing touch operations on different areas of the display screen 1294. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 1292 may be an indicator light that may be used to indicate a charge status, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 1295 is used for connecting a SIM card. The SIM card can be attached to and detached from the electronic device 1200 by being inserted into the SIM card interface 1295 or being pulled out of the SIM card interface 1295. The electronic device 1200 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 1295 may support a Nano SIM card, a Micro SIM card, a SIM card, or the like. Multiple cards can be inserted into the same SIM card interface 1295 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 1295 may also be compatible with different types of SIM cards. The SIM card interface 1295 may also be compatible with external memory cards. The electronic device 1200 interacts with the network through the SIM card to implement functions such as a call and data communication. In some embodiments, the electronic device 1200 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 1200 and cannot be separated from the electronic device 1200.
It should be understood that the electronic device 1200 shown in fig. 12 is capable of implementing various processes of the methods provided by the embodiments shown in fig. 4-9 of the present application. The operations and/or functions of the respective modules in the electronic device 1200 are respectively to implement the corresponding flows in the above-described method embodiments. Specifically, reference may be made to the description of the method embodiments shown in fig. 4 to 9 of the present application, and a detailed description is appropriately omitted herein to avoid redundancy.
It should be understood that the processor 1210 in the electronic device 1200 shown in fig. 12 may be a system on chip SOC, and the processor 1210 may include a Central Processing Unit (CPU), and may further include other types of processors, such as: an image Processing Unit (GPU), and the like.
In summary, various parts of the processors or processing units within the processor 1210 may cooperate to implement the foregoing method flows, and corresponding software programs of the various parts of the processors or processing units may be stored in the internal memory 121.
The present application further provides an electronic device, where the device includes a storage medium and a central processing unit, where the storage medium may be a non-volatile storage medium, and a computer executable program is stored in the storage medium, and the central processing unit is connected to the non-volatile storage medium and executes the computer executable program to implement the method provided in the embodiment shown in fig. 4 to 9 of the present application.
In the above embodiments, the processors may include, for example, a CPU, a DSP, a microcontroller, or a digital Signal processor, and may further include a GPU, an embedded Neural Network Processor (NPU), and an Image Signal Processing (ISP), and the processors may further include necessary hardware accelerators or logic Processing hardware circuits, such as an ASIC, or one or more integrated circuits for controlling the execution of the program according to the technical solution of the present application. Further, the processor may have the functionality to operate one or more software programs, which may be stored in the storage medium.
Embodiments of the present application further provide a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is enabled to execute the method provided by the embodiments shown in fig. 4 to 9 of the present application.
Embodiments of the present application further provide a computer program product, which includes a computer program, and when the computer program runs on a computer, the computer executes the method provided in the embodiments shown in fig. 4 to 9 of the present application.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to 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 above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (31)

1. A method for detecting wireless charging deviation is characterized by comprising the following steps:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectification voltage transmitted and collected by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, judging that the wireless charging deviation occurs;
if the rectified voltage appears in the rectifying circuit and an initial value of the rectified voltage collected by a wireless charging chip is obtained, sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; and judging whether the wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage.
2. The method of claim 1, wherein the determining whether the wireless charging deviation occurs according to the initial value and a trend of change of the sampled value of the rectified voltage comprises:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
3. The method of claim 1 or 2, further comprising:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference value between the voltage value of the rectified voltage and the second preset output value exceeds a difference threshold value, the wireless charging deviation is judged to be moved to a positive position.
4. The method of claim 1 or 2, further comprising:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the error control packet CEP is detected to have a negative value of which the absolute value exceeds the absolute value threshold, the wireless charging deviation is judged to be moved to a positive position.
5. The method of claim 1 or 2, wherein said sampling said rectified voltage comprises:
sampling is performed by acquiring a rectified voltage value from the wireless charging chip.
6. The method of claim 1 or 2, wherein the determining whether a rectified voltage is present in a rectifying circuit of the wireless charging chip comprises:
the method comprises the steps that an output signal of a preset rectified voltage detection circuit is obtained, the rectified voltage detection circuit is used for detecting whether rectified voltage appears in a rectifying circuit or not, when the rectified voltage detection circuit detects the rectified voltage, a low level signal is output, and when the rectified voltage detection circuit does not detect the rectified voltage, a high level signal is output;
and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
7. A wireless charging deviation prompting method is characterized by comprising the following steps:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, displaying an offset prompt to a user;
if the rectified voltage appears in the rectifying circuit and an initial value of the rectified voltage collected by a wireless charging chip is obtained, sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; judging whether wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage; and if the judgment result is that the wireless charging deviation occurs, displaying a deviation prompt to the user.
8. The method of claim 7, wherein the determining whether the wireless charging deviation occurs according to the initial value and a trend of change of the sampled value of the rectified voltage comprises:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
9. The method of claim 7 or 8, further comprising:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference between the voltage value of the rectified voltage and the second preset output value is detected to exceed a difference threshold value, displaying a deviation homing prompt for the user.
10. The method of claim 7 or 8, further comprising:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if a negative value that the absolute value of the error control packet CEP exceeds the absolute value threshold is detected, displaying a deviation homing prompt to the user.
11. The method of claim 7 or 8, wherein said sampling said rectified voltage comprises:
sampling is performed by acquiring a rectified voltage value from the wireless charging chip.
12. The method of claim 7 or 8, wherein the determining whether the rectified voltage is present in the rectifying circuit of the wireless charging chip comprises:
the method comprises the steps that an output signal of a preset rectified voltage detection circuit is obtained, the rectified voltage detection circuit is used for detecting whether rectified voltage appears in a rectifying circuit or not, when the rectified voltage detection circuit detects the rectified voltage, a low level signal is output, and when the rectified voltage detection circuit does not detect the rectified voltage, a high level signal is output;
and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
13. A rectified voltage detection circuit, comprising:
the first end of the detection circuit is connected with the second end of the detection circuit through the first resistor and the second resistor in sequence, and the second end of the detection circuit is grounded; the first end and the second end of the detection circuit are used for being connected with a rectified voltage output end of the rectifying circuit;
one end of the second circuit, which is not grounded, is connected with the grid electrode of the N-channel enhanced MOS field effect transistor;
and the source electrode of the N-channel enhanced MOS field effect transistor is grounded, and the drain electrode of the N-channel enhanced MOS field effect transistor is connected with the voltage output end of the detection circuit through a third resistor.
14. The circuit of claim 13, further comprising:
the ungrounded end of the second resistor is connected with the cathode of the voltage stabilizing diode, and the anode of the voltage stabilizing diode is grounded.
15. The circuit of claim 13 or 14, further comprising:
the source electrode of the N-channel enhancement type MOS field effect transistor is connected with the anode of the diode, the cathode of the diode is connected with the drain electrode, and the source electrode is connected with the grid electrode through the bidirectional breakdown diode.
16. A wireless charging deviation detection device is characterized by comprising:
the judging unit is used for judging whether a rectifying voltage appears in a rectifying circuit of the wireless charging chip;
the acquisition unit is used for acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
the deviation judging unit is used for judging that wireless charging deviation occurs if the judging unit judges that the rectifying voltage occurs in the rectifying circuit and the acquiring unit does not acquire the initial value of the rectifying voltage acquired by the wireless charging chip;
the sampling unit is used for sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value if the judging unit judges that the rectified voltage appears in the rectifying circuit and the acquiring unit acquires the initial value of the rectified voltage acquired by the wireless charging chip;
the deviation judging unit is further configured to: and judging whether wireless charging deviation occurs according to the initial value acquired by the acquisition unit and the variation trend of the sampling value of the rectified voltage by the sampling unit.
17. The apparatus according to claim 16, wherein the offset determining unit is specifically configured to:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
18. The apparatus according to claim 16 or 17, wherein the offset determining unit is further configured to: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference value between the voltage value of the rectified voltage and the second preset output value exceeds a difference threshold value, the wireless charging deviation is judged to be moved to a positive position.
19. The apparatus according to claim 16 or 17, wherein the offset determining unit is further configured to: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the error control packet CEP is detected to have a negative value of which the absolute value exceeds the absolute value threshold, the wireless charging deviation is judged to be moved to a positive position.
20. The apparatus according to claim 16 or 17, wherein the sampling unit is specifically configured to: sampling is performed by acquiring a rectified voltage value from the wireless charging chip.
21. The apparatus according to claim 16 or 17, wherein the determining unit is specifically configured to: acquiring an output signal of a rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage; and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
22. A wireless charging deviation prompting device is characterized by comprising:
the judging unit is used for judging whether a rectifying voltage appears in a rectifying circuit of the wireless charging chip;
the acquisition unit is used for acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
the display unit is used for displaying an offset prompt to a user if the judging unit judges that the rectified voltage appears in the rectifying circuit and the acquiring unit does not acquire the initial value of the rectified voltage acquired by the wireless charging chip;
the sampling unit is used for sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value if the judging unit judges that the rectified voltage appears in the rectifying circuit and the acquiring unit acquires the initial value of the rectified voltage acquired by the wireless charging chip;
the deviation judging unit is used for judging whether wireless charging deviation occurs or not according to the initial value obtained by the obtaining unit and the change trend of the sampling value of the rectified voltage by the sampling unit;
the display unit is further configured to: and if the judgment result of the deviation judgment unit is that the wireless charging deviation occurs, displaying a deviation prompt to the user.
23. The apparatus according to claim 22, wherein the offset determining unit is specifically configured to:
when the initial value is smaller than a first threshold value and the change trend of the sampling value is increasing, judging that wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than a first preset output value and the variation trend of the sampling value is descending, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
when the initial value is larger than or equal to a first threshold value and smaller than a first preset output value and the change trend of the sampling value is increasing, judging that no wireless charging deviation occurs; and/or the presence of a gas in the gas,
and when the initial value is equal to a first preset output value and the error between the sampling value and the first preset output value is smaller than an error threshold value, judging that no wireless charging deviation occurs.
24. The apparatus of claim 22 or 23, wherein the presentation unit is further configured to: and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if the difference between the voltage value of the rectified voltage and the second preset output value is detected to exceed a difference threshold value, displaying a deviation homing prompt for the user.
25. The apparatus of claim 22 or 23, wherein the presentation unit is further configured to:
and when the rectified voltage is increased to a first preset output value and is set to a second preset output value, if a negative value that the absolute value of the error control packet CEP exceeds the absolute value threshold is detected, displaying a deviation homing prompt to the user.
26. The apparatus according to claim 22 or 23, wherein the sampling unit is specifically configured to: sampling is performed by acquiring a rectified voltage value from the wireless charging chip.
27. The apparatus according to claim 22 or 23, wherein the determining unit is specifically configured to: acquiring an output signal of the rectified voltage detection circuit, wherein the output signal is at a low level when the rectified voltage detection circuit detects the rectified voltage, and the output signal is at a high level when the rectified voltage detection circuit does not detect the rectified voltage; and judging whether a rectified voltage appears in the rectifying circuit according to the acquired output signal.
28. An electronic device, comprising:
a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the steps of:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, judging that the wireless charging deviation occurs;
if the rectified voltage appears in the rectifying circuit and an initial value of the rectified voltage collected by a wireless charging chip is obtained, sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; and judging whether the wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage.
29. An electronic device, comprising:
a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the steps of:
judging whether a rectification voltage appears in a rectification circuit of the wireless charging chip; acquiring an initial value of the rectified voltage acquired by the wireless charging chip;
if the rectified voltage appears in the rectifying circuit and the initial value of the rectified voltage collected by the wireless charging chip is not obtained, displaying an offset prompt to a user;
if the rectified voltage appears in the rectifying circuit and an initial value of the rectified voltage collected by a wireless charging chip is obtained, sampling the rectified voltage in the process that the rectified voltage changes from the initial value to a first preset output value; judging whether wireless charging deviation occurs or not according to the initial value and the sampling value variation trend of the rectified voltage; and if the judgment result is that deviation occurs, displaying a deviation prompt to the user.
30. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 1 to 6.
31. A computer-readable storage medium, in which a computer program is stored which, when run on a computer, causes the computer to carry out the method according to any one of claims 7-12.
CN202010130683.8A 2020-02-28 2020-02-28 Wireless charging deviation detection method and device and electronic equipment Pending CN113328537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010130683.8A CN113328537A (en) 2020-02-28 2020-02-28 Wireless charging deviation detection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010130683.8A CN113328537A (en) 2020-02-28 2020-02-28 Wireless charging deviation detection method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113328537A true CN113328537A (en) 2021-08-31

Family

ID=77412811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010130683.8A Pending CN113328537A (en) 2020-02-28 2020-02-28 Wireless charging deviation detection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113328537A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104269908A (en) * 2014-10-24 2015-01-07 英华达(上海)科技有限公司 Wireless charging prompting method and system
WO2016155320A1 (en) * 2015-03-30 2016-10-06 华为技术有限公司 Charger, terminal device, and charging system
CN106100149A (en) * 2016-08-17 2016-11-09 青岛鲁渝能源科技有限公司 Wireless charging system and wireless charging method
US20160374049A1 (en) * 2015-06-19 2016-12-22 Samsung Electronics Co., Ltd. Device and method for providing notification on wireless charging state
CN108695985A (en) * 2017-04-10 2018-10-23 深圳市中兴新能源汽车科技有限公司 Wireless charging system and its coil offset detection method and device
CN108725239A (en) * 2018-05-03 2018-11-02 中国第汽车股份有限公司 A kind of alignment device and its method for electric vehicle wireless charging
CN108923547A (en) * 2018-08-24 2018-11-30 深圳市沃特沃德股份有限公司 The method and apparatus of the wireless charging of automatic adjusting position
CN109818432A (en) * 2017-11-22 2019-05-28 北京小米移动软件有限公司 Wireless charging system and charging alignment method, device, storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104269908A (en) * 2014-10-24 2015-01-07 英华达(上海)科技有限公司 Wireless charging prompting method and system
WO2016155320A1 (en) * 2015-03-30 2016-10-06 华为技术有限公司 Charger, terminal device, and charging system
US20160374049A1 (en) * 2015-06-19 2016-12-22 Samsung Electronics Co., Ltd. Device and method for providing notification on wireless charging state
CN106100149A (en) * 2016-08-17 2016-11-09 青岛鲁渝能源科技有限公司 Wireless charging system and wireless charging method
CN108695985A (en) * 2017-04-10 2018-10-23 深圳市中兴新能源汽车科技有限公司 Wireless charging system and its coil offset detection method and device
CN109818432A (en) * 2017-11-22 2019-05-28 北京小米移动软件有限公司 Wireless charging system and charging alignment method, device, storage medium
CN108725239A (en) * 2018-05-03 2018-11-02 中国第汽车股份有限公司 A kind of alignment device and its method for electric vehicle wireless charging
CN108923547A (en) * 2018-08-24 2018-11-30 深圳市沃特沃德股份有限公司 The method and apparatus of the wireless charging of automatic adjusting position

Similar Documents

Publication Publication Date Title
CN110750772B (en) Electronic equipment and sensor control method
CN111742361B (en) Method for updating wake-up voice of voice assistant by terminal and terminal
CN113395382B (en) Method for data interaction between devices and related devices
CN111182140B (en) Motor control method and device, computer readable medium and terminal equipment
CN111368765A (en) Vehicle position determining method and device, electronic equipment and vehicle-mounted equipment
CN113343193A (en) Identity verification method and device and electronic equipment
CN112334977B (en) Voice recognition method, wearable device and system
CN113892920A (en) Wearable device wearing detection method and device and electronic device
CN111865646A (en) Terminal upgrading method and related device
CN113225661A (en) Loudspeaker identification method and device and electronic equipment
EP4307692A1 (en) Method and system for adjusting volume, and electronic device
CN114422340A (en) Log reporting method, electronic device and storage medium
WO2022022319A1 (en) Image processing method, electronic device, image processing system and chip system
CN114221402A (en) Charging method and device of terminal equipment and terminal equipment
CN112738794B (en) Network residing method, chip, mobile terminal and storage medium
CN112099741B (en) Display screen position identification method, electronic device and computer readable storage medium
CN115714890A (en) Power supply circuit and electronic device
CN115665632B (en) Audio circuit, related device and control method
CN114243162A (en) Battery heating method, device and equipment
CN115389927B (en) Method and system for measuring and calculating motor damping
CN116094082A (en) Charging control method and related device
CN117093068A (en) Vibration feedback method and system based on wearable device, wearable device and electronic device
CN113838478B (en) Abnormal event detection method and device and electronic equipment
CN115393676A (en) Gesture control optimization method and device, terminal and storage medium
CN113328537A (en) Wireless charging deviation detection method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination