CN110994739B - Electronic device, charger and charging control method - Google Patents

Electronic device, charger and charging control method Download PDF

Info

Publication number
CN110994739B
CN110994739B CN201911356165.1A CN201911356165A CN110994739B CN 110994739 B CN110994739 B CN 110994739B CN 201911356165 A CN201911356165 A CN 201911356165A CN 110994739 B CN110994739 B CN 110994739B
Authority
CN
China
Prior art keywords
electromagnet
switching element
sub
connecting part
driving circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911356165.1A
Other languages
Chinese (zh)
Other versions
CN110994739A (en
Inventor
苏建东
黄勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911356165.1A priority Critical patent/CN110994739B/en
Publication of CN110994739A publication Critical patent/CN110994739A/en
Priority to PCT/CN2020/138942 priority patent/WO2021129722A1/en
Application granted granted Critical
Publication of CN110994739B publication Critical patent/CN110994739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • H02J7/0045Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction concerning the insertion or the connection of the batteries
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/62Means for facilitating engagement or disengagement of coupling parts or for holding them in engagement
    • H01R13/6205Two-part coupling devices held in engagement by a magnet

Abstract

The invention discloses an electronic device, a charger and a charging control method, wherein the electronic device comprises: an apparatus body portion, a first connection portion, and a first electromagnet; a battery is arranged in the equipment body part; the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with the second connecting part of the charger, under the condition that the second connecting part is matched with the first connecting part, the electronic equipment is charged through the charger, and the charger is provided with a first magnetic part; the first electromagnet is arranged on the equipment body part, the first electromagnet and the first magnetic piece are correspondingly arranged, and the magnetism of the first electromagnet is adjustable. The magnetic connection structure solves the problem that the connection between the first connecting part and the second connecting part is unreliable due to the fact that magnetism of the magnet possibly disappears in a mode that the first connecting part and the second connecting part are magnetically connected through the magnet, and can reduce influences on magnetically sensitive products.

Description

Electronic device, charger and charging control method
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an electronic device, a charger, and a charging control method.
Background
Along with the development of mobile terminal technique, adopt magnetism to inhale the formula mobile terminal who charges also more and more, if: adopt magnetism to inhale mobile terminal such as computer, intelligent bracelet, the smart mobile phone that the formula charges, all set up the permanent magnet on mobile terminal's the first interface that charges and the second interface that charges that corresponds the charger basically (be used for the interface that charges with mobile terminal is connected on the data line), rely on the suction between the permanent magnet to come fixed connection.
The magnetic type charging interface is generally arranged on the surface of a mobile terminal shell and the surface of a charger data line, and is easy to influence, even demagnetize, magnetic sensitive products such as a mechanical watch, a magnetic card and the like; and the mobile terminal with the charging interface with stronger magnetism is configured, and the aviation safety can be influenced. In addition, the permanent magnet is easily demagnetized under some extreme environments (e.g., high temperature and strong impact), which affects the connection strength during charging and thus the charging effect.
Disclosure of Invention
The invention provides electronic equipment, a charger and a charging control method, and aims to solve the problems that a mobile terminal adopting magnetic attraction type charging in the prior art is easy to influence magnetic sensitive products, and even the charging effect is influenced due to self demagnetization.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an electronic device, including:
an apparatus body portion having a battery disposed therein;
the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the charger is provided with a first magnetic part;
the first electromagnet is arranged on the equipment body part, the first electromagnet is arranged corresponding to the first magnetic piece, and the magnetism of the first electromagnet is adjustable.
In a second aspect, an embodiment of the present invention further provides a charger, including:
a charging body portion adapted to connect to a power source;
the second connecting part is connected with the charging body part and is suitable for being detachably connected with a first connecting part of electronic equipment, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the electronic equipment is provided with a second magnetic part;
the second electromagnet is arranged on the second connecting part, the second electromagnet and the second magnetic piece are correspondingly arranged, and the magnetism of the second electromagnet is adjustable.
In a third aspect, an embodiment of the present invention further provides a charging control method, which is applied to an electronic device, where the electronic device includes a device body portion, a first connection portion, and a first electromagnet; a battery is arranged in the equipment body part; the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the charger is provided with a first magnetic part; the first electromagnet is arranged on the equipment body part and corresponds to the first magnetic part;
the method comprises the following steps:
acquiring state information between the first connecting part and the second connecting part; the state information comprises first information that the first connecting part is connected with the second connecting part and second information that the first connecting part is separated from the second connecting part;
adjusting a magnetic property of the first electromagnet in response to the state information.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a device body portion, a first connecting portion, and a first electromagnet; a battery is arranged in the equipment body part; the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the charger is provided with a first magnetic part; the first electromagnet is arranged on the equipment body part and corresponds to the first magnetic part;
the electronic device further includes:
the first acquisition module is used for acquiring state information between the first connecting part and the second connecting part; the state information comprises first information that the first connecting part is connected with the second connecting part and second information that the first connecting part is separated from the second connecting part;
a response module to adjust a magnetic property of the first electromagnet in response to the status information.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the steps of the charging control method described above are implemented.
In a sixth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the charging control method described above.
In the embodiment of the invention, the first electromagnet is arranged on the electronic equipment, so that the first connecting part and the second connecting part are connected through the magnetic attraction of the first electromagnet and the first magnetic body, namely, the charger is electrically connected with the electronic equipment, so that the charger charges a battery in the electronic equipment; and because the magnetism of first electromagnet is adjustable, solved and adopted magnet to realize that first connecting portion and second connecting portion magnetism inhale the mode of connecting, the magnetism of magnet probably disappears and leads to first connecting portion and second connecting portion to connect unreliable problem to and the problem of the easy absorption iron fillings of magnet.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 shows a schematic view of a first connection portion of an electronic device according to an embodiment of the invention;
FIG. 2 shows a schematic diagram of a driving circuit according to an embodiment of the invention;
FIG. 3 is a schematic diagram of the drive circuit of FIG. 2 outputting a first direction current to the electromagnet;
FIG. 4 is a schematic diagram of the drive circuit of FIG. 2 outputting a second direction current to the electromagnet;
FIG. 5 is a flow chart of a charge control method according to an embodiment of the invention;
fig. 6 is a schematic view showing a second connection part of the charger according to the embodiment of the present invention;
FIG. 7 shows one of the schematic diagrams of a charging system according to an embodiment of the invention;
fig. 8 shows a second schematic diagram of a charging system according to an embodiment of the invention;
fig. 9 is a third schematic diagram of a charging system according to an embodiment of the invention;
fig. 10 is a schematic diagram showing a hardware configuration of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides an electronic device, including:
the device comprises a device body, wherein a battery is arranged in the device body;
a first connecting part 71 (as shown in fig. 1), wherein the first connecting part 71 is arranged on the device body part, the first connecting part 71 is connected with the battery, the first connecting part 71 is suitable for being detachably connected with a second connecting part of a charger, the electronic device is charged through the charger under the condition that the second connecting part is matched with the first connecting part 71, and the charger is provided with a first magnetic part;
a first electromagnet 72, wherein the first electromagnet 72 is disposed on the device body portion, the first electromagnet 72 is disposed corresponding to the first magnetic member, and the magnetism of the first electromagnet 72 is adjustable.
Optionally, the electronic device may be a mobile terminal such as a mobile phone or a tablet computer. It is understood that the mobile terminal is not limited to a mobile phone and a tablet Computer, but may be an electronic device such as a Laptop Computer (Laptop Computer) or a Personal Digital Assistant (PDA) having a battery or having a charging requirement. The charger may be a charger adapted to the electronic device for charging the electronic device.
Alternatively, the magnetic property of the first electromagnet 72 may be adjustable, and at least one of the magnetic force and the magnetic direction of the first electromagnet 72 may be adjustable. For example: the magnetic adjustability of the first electromagnet 72 may be a magnetic force that switches from zero to a first predetermined value or vice versa, such as: the magnetic force may be 0 → X, or: x → 0; the magnetic adjustability of the first electromagnet 72 may also be in the range from zero to a first predetermined value, such as: the magnetic force can be any value in the range of [0, X ]; the magnetic adjustability of the first electromagnet 72 may also be in a range from a second predetermined value to a first predetermined value, such as: magnetism can be any value of [ -X, X ]; wherein X represents a first predetermined value, -X represents a second predetermined value; the magnetic directions of X and-X are opposite.
Alternatively, the first electromagnet 72 may be disposed on the first connecting portion 71, and correspondingly, the first magnetic member may be an electromagnet, and the magnetism of the first magnetic member is adjustable; or the first magnetic part can also be a magnet to ensure that the first magnetic part has magnetism; the first magnetic member may be disposed on the second connection portion.
Optionally, the first connection portion 71 may be provided with a first connection terminal 701, and the second connection portion may be provided with a second connection terminal; when the first electromagnet 72 is attracted to the first magnetic member to connect the first connection portion 71 and the second connection portion, the first connection terminal 701 and the second connection terminal are electrically connected, so that the charger charges a battery in the electronic device; when the first connection portion 71 and the second connection portion are separated and the first connection terminal and the second connection terminal are disconnected, the charger stops charging the electronic device.
For example: the electronic device may be a mobile phone, the first connecting portion 71 may be disposed on a rear housing of the mobile phone, the charger may be a charger adapted to the mobile phone, and the first connecting portion 71 and the second connecting portion are symmetrical structures.
It should be noted that, as shown in fig. 1, 5 first connection terminals 701 are provided on the first connection portion 71, and the number of the first connection terminals 701 may also be increased or decreased according to different types of charging interfaces (e.g., USB interfaces) of the electronic device and the charger, and the invention is not limited in particular.
In this embodiment, the first electromagnet 72 is disposed on the electronic device, so that the first connection portion 71 and the second connection portion are connected by magnetic attraction of the first electromagnet 72 and the first magnetic body, that is, the charger is electrically connected to the electronic device, so that the charger charges a battery of the electronic device; and because the magnetism of first electromagnet 72 is adjustable, solved and adopted magnet to realize that first connecting portion 71 and second connecting portion magnetism inhale the mode of connecting, the magnetism of magnet probably disappears and leads to first connecting portion 71 and the unreliable problem of second connecting portion connection to and the easy problem of adsorbing iron fillings of magnet.
In addition, because the magnetism of the first electromagnet 72 is adjustable, the magnetic force of the first electromagnet 72 can be adjusted, so that the contact pressure between the first connecting portion 71 and the second connecting portion can be adjusted, the problem that the first connecting portion 71 and the second connecting portion are unreliable due to aging of contact terminals on the first connecting portion 71 and/or the second connecting portion is avoided, the reliability of connection between the first connecting portion 71 and the second connecting portion is guaranteed, and the charging efficiency is improved.
Optionally, the first electromagnet 72 comprises: a first core 721 and a first coil 722, wherein the first coil 722 has a receiving space therein, and the first core 721 is inserted into the receiving space. The first core 721 generates magnetism when the first electromagnet 72 is charged so that current flows in the first coil 722.
Alternatively, the material of the first core 721 may be a soft magnetic material, and is located below the first connection terminal 701.
Optionally, the electronic device further includes:
a first driving circuit 73, wherein the first driving circuit 73 is connected with the first electromagnet 72, and the first driving circuit 73 is used for adjusting the magnetism of the first electromagnet 72.
As an implementation manner, the first driving circuit 73 may include an adjustable power supply, and an output current value of the adjustable power supply is adjustable; such as: the adjustable power supply may output a current in a first direction to the first electromagnet 72, may output a current in a second direction to the first electromagnet 72, or may stop outputting a current to the first electromagnet 72. Preferably, the adjustable power supply can also output current with different current values and the current direction is the first direction to the first electromagnet 72; the adjustable power supply may also output a current to the first electromagnet 72 having a different value and a current direction in the second direction.
As another implementation manner, the first driving circuit 73 may include a switching circuit and a driving power source, and the switching circuit enables the first driving circuit 73 to have: an on state and an off state; when the first drive circuit 73 is in an on state, the first drive circuit 73 outputs a current to the first electromagnet 72; when the first drive circuit 73 is in the off state, the first drive circuit 73 outputs no current to the first electromagnet 72.
Preferably, the on state may specifically include: a first conducting state and a second conducting state; when the first driving circuit 73 is in the first conducting state, the direction of the current flowing through the first electromagnet 72 is the first direction; when the first driving circuit 73 is in the second conducting state, the direction of the current flowing through the first electromagnet 72 is the second direction; wherein the first direction and the second direction are opposite.
Preferably, the output current value of the driving power supply is adjustable, so that the first driving circuit 73 can output currents with different current values and in a first direction to the first electromagnet 72; it is also possible to output to the first electromagnet 72 a current having a different current value and a current direction in the second direction.
Alternatively, the first driving circuit 73 may be an H-bridge structure, as shown in fig. 2. The first drive circuit 73 includes: a first driving power source 150, a first sub-switching element Q1, a second sub-switching element Q2, a third sub-switching element Q3, and a fourth sub-switching element Q4;
a first end of the first electromagnet 72 is connected to the first sub-switching element Q1 and the second sub-switching element Q2, respectively, and a second end of the first electromagnet 72 is connected to the third sub-switching element Q3 and the fourth sub-switching element Q4, respectively;
the first sub-switching element Q1 and the third sub-switching element Q3 are respectively connected to the first driving power source 150, and the second sub-switching element Q2 and the fourth sub-switching element Q4 are respectively connected to ground;
wherein the switching states of the first sub-switching element Q1 and the fourth sub-switching element Q4 are the same; the switching states of the second sub-switching element Q2 and the third sub-switching element Q3 are the same.
Thus, by controlling the switching states (including on state and off state) of the switching elements Q1, Q2, Q3, Q4, the current forward and reverse driving of the first electromagnet 72 can be controlled.
Specifically, when the first sub-switching element Q1 and the fourth sub-switching element Q4 are closed and the second sub-switching element Q2 and the third sub-switching element Q3 are open, that is, from the first driving power source 150, the first sub-switching element Q1, the first electromagnet and the fourth sub-switching element Q4 to the ground, a first path is formed, and the direction of current in the first electromagnet is as indicated by an arrow in fig. 3; when the first sub-switching element Q1 and the fourth sub-switching element Q4 are opened and the second sub-switching element Q2 and the third sub-switching element Q3 are closed, that is, from the first driving power source 150, the third sub-switching element Q3, the first electromagnet and the second sub-switching element Q2 to the ground, a second path is formed, and the direction of current in the first electromagnet is as indicated by an arrow in fig. 4; that is, the first drive circuit 73 can output the current in the first direction to the first electromagnet, and can also output the current in the second direction to the first electromagnet.
When all of the first sub-switching element Q1, the second sub-switching element Q2, the third sub-switching element Q3, and the fourth sub-switching element Q4 are turned off, that is, the first drive circuit 73 stops outputting the current to the first electromagnet.
In the above embodiment, since the first driving circuit 73 makes the current passing through the first electromagnet 72 be in the first direction or the second direction, the following process can be implemented:
when the first driving circuit 73 outputs a current in a first direction to the first electromagnet 72, the first electromagnet 72 is attracted to the first magnetic member, so that the first connection portion 71 and the second connection portion are connected to charge a battery in the electronic device through a charger;
when the charging of the electronic device is completed, the connection between the first electromagnet 72 and the first magnetic member may be disconnected (in the case where the first magnetic member is also an electromagnet, the first magnetic member may be disconnected from the first electromagnet 72 by simultaneously powering off the first magnetic member and the first electromagnet 72; in the case where the first magnetic member is a magnet, the connection between the first magnetic member and the first electromagnet 72 may be disconnected by powering off the first electromagnet 72 and manually disconnecting the first magnetic member from the first electromagnet 72); in this case, when the first electromagnet 72 is powered off, residual magnetism may exist, and further, a current in the second direction may be output to the first electromagnet 72 through the first driving circuit 73 to demagnetize the first electromagnet 72, so as to prevent the residual magnetism on the first electromagnet 72 from interfering with magnetically sensitive products (such as cards with magnetic strips, watches, and the like, for example, bank cards).
Optionally, the electronic device in the embodiment of the present invention further includes:
a first hall sensor 74, the first hall sensor 74 being disposed proximate to the first electromagnet 72, the first hall sensor 74 being configured to detect a magnetic field strength of the first electromagnet 72.
Specifically, as an implementation: when the first driving circuit 73 outputs a current in a first direction to the first electromagnet 72, the first electromagnet 72 is attracted to the first magnetic member, so that the first connection portion 71 and the second connection portion are connected to charge a battery in the electronic device through a charger; when the charging of the battery of the electronic device is completed, the first driving circuit 73 may be controlled to stop outputting current to the first electromagnet 72, so as to power off the first electromagnet 72, and disconnect the first electromagnet 72 from the first magnetic member, and then output current in the second direction to the first electromagnet 72 through the first driving circuit 73, so as to demagnetize the first electromagnet 72, and when the first hall sensor 74 detects that the magnetic field strength of the first electromagnet 72 is lower than the first threshold, that is, after the demagnetization is completed, the first driving circuit 73 may be controlled to stop outputting current to the first electromagnet 72, so as to power off the first electromagnet 72, so as to prevent the residual magnetism on the first electromagnet 72 from interfering with the magnetically sensitive product.
As another implementation: when the first driving circuit 73 outputs a current in a first direction to the first electromagnet 72, the first electromagnet 72 is attracted to the first magnetic member, so that the first connection portion 71 and the second connection portion are connected to charge a battery in the electronic device through a charger; when the charging of the battery of the electronic device is completed, the first driving circuit 73 may be controlled to stop outputting current to the first electromagnet 72, so as to power off the first electromagnet 72, and disconnect the first electromagnet 72 from the first magnetic member, and further when the first hall sensor 74 detects that the magnetic field strength of the first electromagnet 72 is greater than or equal to the first threshold, the first driving circuit 73 may output current to the first electromagnet 72 in the second direction, so as to demagnetize the first electromagnet 72, so that the magnetic field strength of the first electromagnet 72 is smaller than the first threshold, that is, after the demagnetization is completed, the first driving circuit 73 may be controlled to stop outputting current to the first electromagnet 72, so as to power off the first electromagnet 72, so as to prevent the residual magnetism on the first electromagnet 72 from interfering with the magnetically sensitive product.
As yet another implementation: when the first driving circuit 73 outputs a current in a first direction to the first electromagnet 72, the first electromagnet 72 is attracted to the first magnetic member, so that the first connection portion 71 and the second connection portion are connected to charge a battery in the electronic device through a charger; when the battery of the electronic device is charged, the first electromagnet 72 is disconnected from the first magnetic member, and then the first driving circuit 73 outputs a current in a second direction to the first electromagnet 72 to demagnetize the first electromagnet 72, and when the first hall sensor 74 detects that the magnetic field strength of the first electromagnet 72 is less than the first threshold, that is, after the demagnetization is completed, the first driving circuit 73 is controlled to stop outputting the current to the first electromagnet 72, so that the first electromagnet 72 is powered off, and thus the magnetic sensitive product can be prevented from being interfered by residual magnetism on the first electromagnet 72.
It should be noted that the first hall sensor 74 in the embodiment of the present invention is used for detecting the magnetic field strength on the first electromagnet 72 to avoid the interference caused by the residual magnetism existing after the first electromagnet 72 is powered off, and the specific determination process and the time sequence relationship of the processing process, and the present invention is not particularly limited as long as the above purpose can be achieved.
Optionally, the electronic device in the embodiment of the present invention further includes:
a first pressure sensor 75, wherein the first pressure sensor 75 is disposed on the first connecting portion 71, and the first pressure sensor 75 is used for detecting a contact pressure on the first connecting portion 71.
Specifically, the first pressure sensor 75 is configured to detect a contact pressure between the first connection portion 71 and the second connection portion when the first connection portion 71 is connected to the second connection portion.
In the case where the first connection portion 71 and the second connection portion are connected, a contact pressure between the first connection portion 71 and the second connection portion is detected by the first pressure sensor 75, the contact pressure is compared with a set value, and if a deviation between the contact pressure and the set value exceeds a preset range, the magnetic force of the first electromagnet 72 may be adjusted, or the first drive circuit 73 may be controlled to adjust the magnetic force of the first electromagnet 72.
Such as: if the deviation exceeds a preset range and the contact pressure is less than a set value, the magnetic force of the first electromagnet 72 may be increased to increase the contact pressure so that the deviation is within the preset range, thereby ensuring the reliability of the connection; if the deviation exceeds the preset range and the contact pressure is greater than the set value, the magnetic force of the first electromagnet 72 can be reduced to reduce the contact pressure, so that the deviation is within the preset range and the damage of the connection terminal on the connection part is avoided.
Optionally, the electronic device in the embodiment of the present invention further includes:
a Near Field Communication (NFC) module 76, the NFC module 76 being connected with the first coil 722 of the first electromagnet 72 to multiplex the first coil 722; the NFC module 76 is configured to scan radio frequency signals.
Correspondingly, the charger can also be provided with a Radio Frequency Identification (RFID) module for radiating Radio Frequency signals; preferably, if the first magnetic member on the charger is an electromagnet, the RFID module may further be connected to a coil in the first magnetic member to multiplex the coil as an antenna to radiate a radio frequency signal.
In this way, when the first connection portion 71 and the second connection portion are not connected and no current passes through the first electromagnet 72, the NFC module 76 in the electronic device may scan a radio frequency signal radiated by the RFID module in the charger by multiplexing the first coil 722 as an antenna, determine that a matched charger is close, and then may send the close signal to the first electromagnet control unit (such as the first processor, the first driving circuit, and the like connected to the first electromagnet 72) to adjust the magnetism of the first electromagnet 72, so that the first electromagnet 72 is attracted to the first magnetic member, thereby realizing the magnetic attraction connection between the first connection portion 71 and the second connection portion, and further charging the electronic device through the charger.
Optionally, the electronic device in the embodiment of the present invention further includes:
an RFID module connected to a first coil in the first electromagnet to multiplex the first coil; the RFID module is used for radiating radio frequency signals.
Correspondingly, the charger can be further provided with an NFC module for radiating radio frequency signals; preferably, if the first magnetic member on the charger is an electromagnet, the NFC module may further be connected to a coil in the electromagnet to multiplex the coil as an antenna to scan the radio frequency signal.
In this way, when the first connection portion 71 and the second connection portion are not connected and no current passes through the first electromagnet 72, the NFC module in the charger may scan a radio frequency signal radiated by the RFID module in the electronic device by multiplexing the first coil 722 as an antenna, and determine that a matched electronic device approaches, and then may send the approach signal to the first electromagnet control unit (e.g., the first processor, the first driving circuit, etc. connected to the first electromagnet 72) to adjust the magnetism of the first electromagnet 72, so that the first electromagnet 72 attracts the first magnetic member, thereby realizing the magnetic attraction connection between the first connection portion 71 and the second connection portion, and further charging the electronic device through the charger.
Optionally, according to at least one of the above embodiments, when the first magnetic member is an electromagnet, the NFC module may send the approach signal to the first processor and the first driving circuit connected to the first electromagnet 72, and the second processor and the second driving circuit connected to the first magnetic member, respectively, to adjust the magnetic forces of the first magnetic member and the first electromagnet 72, so that the first electromagnet 72 and the first magnetic member attract each other, the magnetic attraction connection between the first connecting portion 71 and the second connecting portion is realized, and the electronic device is charged by the charger.
In this embodiment, the utilization rate of the first coil 722 is effectively improved by multiplexing the first coil 722, and it is avoided that more space is occupied by adding devices in the electronic device, which is beneficial to the layout of the internal space of the electronic device and is also beneficial to saving cost.
The embodiment of the invention also provides a charging control method, which is applied to electronic equipment, wherein the electronic equipment comprises an equipment body part, a first connecting part and a first electromagnet; a battery is arranged in the equipment body part; the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the charger is provided with a first magnetic part; the first electromagnet is arranged on the equipment body part and corresponds to the first magnetic part;
as shown in fig. 5, the method includes:
step 51: acquiring state information between the first connecting part and the second connecting part.
The state information comprises first information that the first connecting part is connected with the second connecting part and second information that the first connecting part is separated from the second connecting part.
Alternatively, the state information between the first connection portion and the second connection portion may be determined by detecting a voltage signal of a connection terminal on the first connection portion, that is, by detecting a voltage signal (such as a high level signal or a low level signal) of the connection terminal, to determine that the first connection portion is connected to the second connection portion, or that the first connection portion is separated from the second connection portion. Alternatively, the first connection signal sent by the charger may be received, for example, when the charger determines that the first connection portion is connected to the second connection portion by detecting a voltage signal of the connection terminal on the second connection portion, the first connection signal is sent to the electronic device.
Optionally, the state information between the first connection portion and the second connection portion may also be determined by a pressure value detected by a pressure sensor on the first connection portion. Alternatively, the connection may be determined by receiving a second connection signal sent by the charger, and the second connection signal may be sent to the electronic device when the charger determines that the first connection portion and the second connection portion are connected through a pressure value detected by a pressure sensor on the second connection portion, which is not limited in the present invention.
Step 52: adjusting a magnetic property of the first electromagnet in response to the state information.
Optionally, when the state information is the first information, that is, when the first connection portion is in contact with the second connection portion, the first connection portion and the second connection portion are reliably connected by adjusting the magnetic generation or magnetic force increase of the first electromagnet; under the condition that the state information is the second information, namely when the first connecting part is separated from the second connecting part, the magnetism of the first electromagnet is adjusted to disappear, and the interference of the magnetism of the first electromagnet on magnetically sensitive products (such as cards with magnetic strips, watches and the like bank cards and the like) caused by the separation of the first connecting part and the second connecting part, namely the charging is not needed, is avoided.
Optionally, when the state information is the first information, that is, the first connection portion is connected to the second connection portion, if the battery of the electronic device is charged, the first connection portion and the second connection portion may be separated by adjusting magnetism of the first electromagnet; under the condition that the state information is the second information, namely the first connecting part is separated from the second connecting part, if the electronic equipment and the charger are detected to be close to each other, the first connecting part and the second connecting part can be connected by adjusting the magnetism of the first electromagnet.
In the embodiment, the first electromagnet is arranged on the electronic equipment, and the magnetism of the first electromagnet is adjustable, so that the problems that the connection between the first connecting part and the second connecting part is unreliable due to the fact that the magnetism of the magnet possibly disappears and scrap iron is easily adsorbed by the magnet in a magnetic connection mode of the first connecting part and the second connecting part by the magnet are solved; and still because the magnetism of first electromagnet is adjustable, can adjust the magnetism of first electromagnet through the state information between first connecting portion and the second connecting portion for first connecting portion are connected or are separated with the second connecting portion, and still be favorable to guaranteeing the reliability that first connecting portion and second connecting portion are connected, and reduce the electronic equipment of magnetism charging mode and produce the interference to magnetism sensitive product (such as card, wrist-watch etc. that have the magnetic stripe such as bank card).
Optionally, the first magnetic member is a second electromagnet; the method further comprises the following steps:
acquiring electric quantity information of the electronic equipment;
the step 52 may specifically include:
and when the state information is the first information and the electric quantity information meets a preset condition, controlling the magnetic force of the first electromagnet to be reduced, and sending a first control signal to the charger so that the charger controls the magnetic force of the second electromagnet to be reduced according to the first control signal, so that the first connecting part is separated from the second connecting part.
Optionally, under the condition that the state information is the first information, if the electric quantity value reaches a preset electric quantity value, the magnetic force of the first electromagnet is controlled to be reduced, and a first control signal is sent to the charger, so that the charger controls the magnetic force of the second electromagnet to be reduced according to the first control signal, and the first connecting portion is separated from the second connecting portion.
Or, if the state information is the first information, if the electric quantity value reaches a preset electric quantity value and the electric quantity value reaches the preset electric quantity value and exceeds a preset time length, the first electromagnet is controlled to be reduced, and a first control signal is sent to the charger, so that the charger controls the magnetic force of the second electromagnet to be reduced according to the first control signal, and the first connecting portion is separated from the second connecting portion.
Like this, after electronic equipment's battery charges fully, if the user does not pull out the charger for a long time, exceed and predetermine for a long time, can control electronic equipment and charger and stop to respective electromagnet power supply, like this the electromagnet magnetism reduces the back, lets the charger automatic drop, first connecting portion and second connecting portion phase separation promptly to guarantee charging safety, avoid damaging the battery.
Optionally, according to at least one of the above embodiments, the electronic device further includes a first driving circuit connected to the first electromagnet;
the step 52 may further specifically include:
when the state information is the first information, controlling the first drive circuit to output current to the first electromagnet so that the first electromagnet has magnetism; and controlling the first drive circuit to stop outputting the current to the first electromagnet when the state information is the second information.
In this embodiment, by the first drive circuit outputting or stopping outputting the current to the first electromagnet, the magnetic adjustability of the first electromagnet is achieved. For a specific structure and a control method of the first driving circuit, reference may be made to the structural embodiment of the first driving circuit in the above embodiment of the electronic device, and details are not described here again.
Optionally, the first driving circuit includes: a first driving power source, a first sub-switching element, a second sub-switching element, a third sub-switching element, and a fourth sub-switching element; a first end of the first electromagnet is connected with the first sub-switching element and the second sub-switching element, respectively, and a second end of the first electromagnet is connected with the third sub-switching element and the fourth sub-switching element, respectively; the first sub-switching element and the third sub-switching element are respectively connected with the first driving power supply, and the second sub-switching element and the fourth sub-switching element are respectively grounded;
the step of controlling the first driving circuit to output the current to the first electromagnet may specifically include: controlling the first sub-switching element and the fourth sub-switching element to be turned on, and controlling the second sub-switching element and the third sub-switching element to be turned off, so that the first driving circuit outputs a current in a first direction to the first electromagnet;
in this way, when the state information is the first information, the first driving circuit may output a current in the first direction to the first electromagnet, so that a magnetic force is generated or increased in the first electromagnet, thereby ensuring the reliability of the connection between the first connection portion and the second connection portion.
The step of controlling the first drive circuit to stop outputting the current to the first electromagnet may include: and controlling the second sub-switching element and the third sub-switching element to be turned on, and controlling the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and after a predetermined condition is reached, controlling all of the first sub-switching element, the second sub-switching element, the third sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting the current to the first electromagnet.
Therefore, under the condition that the state information is the second information, the first driving circuit can output current in the second direction to the first electromagnet, so that the magnetism generated in the first electromagnet disappears, namely the purpose of demagnetizing the electromagnet is achieved, and the electromagnet is prevented from interfering with magnetically sensitive products.
Optionally, according to at least one of the above embodiments, the electronic device further includes a first hall sensor disposed near the first electromagnet;
the method may further comprise:
acquiring a magnetic field strength value of the first electromagnet detected by the first Hall sensor;
the step of controlling the second sub-switching element and the third sub-switching element to be turned on, and controlling the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and after a predetermined condition is reached, controlling all of the first sub-switching element, the second sub-switching element, the third sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting a current to the first electromagnet may specifically include:
and controlling the second sub-switching element and the third sub-switching element to be turned on, and controlling the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and controlling all of the first sub-switching element, the second sub-switching element, the third sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting the current to the first electromagnet, when the magnetic field intensity value is lower than a first threshold.
Therefore, when the first driving circuit outputs the current in the second direction to the electromagnet and the first Hall sensor detects that the magnetic field intensity of the first electromagnet is lower than the first threshold, namely the demagnetization is finished, the first driving circuit is controlled to stop outputting the current to the first electromagnet, so that the first electromagnet is prevented from interfering the magnetically sensitive product.
The step of controlling the second sub-switching element and the third sub-switching element to be turned on, and controlling the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and after a predetermined condition is reached, controlling all of the first sub-switching element, the second sub-switching element, the third sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting a current to the first electromagnet may specifically include:
and if the magnetic field intensity value is greater than or equal to a first threshold, controlling the second sub-switching element and the third sub-switching element to be switched on, and controlling the first sub-switching element and the fourth sub-switching element to be switched off, so that the first driving circuit outputs current in a second direction to the first electromagnet, and controlling the first sub-switching element, the second sub-switching element, the third sub-switching element and the fourth sub-switching element to be switched off under the condition that the magnetic field intensity value is lower than the first threshold, so that the first driving circuit stops outputting current to the first electromagnet.
In this way, when the first hall sensor detects that the magnetic field strength of the first electromagnet is greater than or equal to the first threshold, the first drive circuit is controlled to output the current in the second direction to the first electromagnet, so that when the magnetic field strength of the first electromagnet is lower than the first threshold, the first drive circuit does not need to be controlled to output the current in the second direction to the first electromagnet, and the energy consumption can be reduced to a certain extent; and under the condition that the first Hall sensor detects that the magnetic field intensity of the first electromagnet is greater than or equal to a first threshold, the first drive circuit is controlled to output current in a second direction to the first electromagnet, and the first Hall sensor detects that the magnetic field intensity of the first electromagnet is lower than the first threshold, namely after the first electromagnet is demagnetized, the first drive circuit is controlled to stop outputting current to the first electromagnet, and the first electromagnet can be prevented from interfering magnetic sensitive products.
Optionally, according to at least one of the above embodiments, the electronic device further includes a first pressure sensor disposed on the first connection portion;
the method further comprises the following steps:
acquiring a contact pressure value between the first connecting part and the second connecting part detected by the first pressure sensor;
the step 52 may further specifically include:
and under the condition that the state information is the first information, adjusting the magnetic force of the first electromagnet according to the contact pressure value.
As an implementation manner, in the case that the state information is the first information, that is, when the first connection portion and the second connection portion are connected, if the pressure value is greater than a preset pressure value, the pressure value of the electromagnet may be controlled to decrease; and if the pressure value is less than or equal to a preset pressure value, controlling the pressure value of the electromagnet to increase.
As another implementation manner, when the state information is the first information, that is, when the first connection portion and the second connection portion are connected, a pressure value of contact between the first connection portion and the second connection portion is detected by the first pressure sensor, the pressure value is compared with a set value, and if a deviation between the pressure value and the set value exceeds a preset range, the magnetic force of the first electromagnet may be adjusted, or the first driving circuit may be controlled to adjust the magnetic force of the first electromagnet.
For example: if the deviation exceeds a preset range and the pressure value is smaller than a set value, the magnetic force of the first electromagnet can be increased to increase the pressure value of contact between the first connecting part and the second connecting part, so that the deviation is within the preset range, and the reliability of connection between the first connecting part and the second connecting part is ensured; if the deviation exceeds the preset range and the pressure value is larger than the set value, the magnetic force of the first electromagnet can be reduced to reduce the pressure value of contact between the first connecting part and the second connecting part, so that the deviation is within the preset range, and the damage of the connecting terminal on the first connecting part and/or the second connecting part is avoided.
Optionally, according to at least one of the above embodiments, the method further comprises:
acquiring a voltage drop value on a charging terminal of the first connection part and/or the second connection part;
the step 52 may further specifically include:
and controlling the magnetic force of the first electromagnet to increase when the state information is the first information and the pressure drop value exceeds a second threshold.
In this embodiment, the voltage drop value at the charging terminal (e.g., VBUS) of the first connection portion and/or the second connection portion exceeds the second threshold, and there is a problem that the connection terminal on the first connection portion and/or the second connection portion may be degraded, and the degradation of the connection terminal on the first connection portion and/or the second connection portion may cause unreliable connection between the first connection portion and the second connection portion, so that the reliability of connection between the first connection portion and the second connection portion is improved by controlling the increase of the magnetic force of the electromagnet, thereby also being beneficial to improving the charging efficiency.
Specifically, the voltage drop value of the charging terminal on the first connecting portion may be detected by the electronic device itself, the voltage drop value of the charging terminal on the second connecting portion may be detected by the charger itself, and the charger may transmit the detection result to the electronic device side.
Optionally, according to at least one of the above embodiments, the electronic device further includes a near field communication NFC module, and the charger further includes a radio frequency identification RFID module; the NFC module is connected with a first coil in the first electromagnet;
the step 52 may specifically include:
and under the condition that the state information is the second information and the NFC module scans the radio-frequency signal radiated by the RFID module through the first coil as an antenna, controlling the magnetic force of the first electromagnet to increase so as to connect the first connecting part and the second connecting part.
In this embodiment, when the NFC module scans a radio frequency signal radiated by the RFID module, that is, it is determined that a matched charger is close to the NFC module, the magnetic force of the electromagnet is controlled to increase, so that the first connection portion and the second connection portion are connected, and thus the charger can supply power to the electronic device.
Further, the first magnetic piece is a second electromagnet;
the step of controlling the magnetic force of the first electromagnet to increase so that the first connection portion and the second connection portion are connected may specifically include:
controlling the magnetic force of the first electromagnet to increase, and sending a first control signal to the charger to enable the charger to control the magnetic force of the second electromagnet to increase according to the first control signal, so that the first connecting part and the second connecting part are connected.
Optionally, an acceleration sensor may be further disposed on the electronic device, and the method further includes:
acquiring movement information detected by the acceleration sensor;
the step 52 may specifically include:
and controlling the magnetic force of the first electromagnet to increase under the condition that the state information is first information and the movement information reaches a preset condition.
Therefore, when the electronic device is connected with the charger, that is, the electronic device is in a charging state, if it is detected that the movement information meets the preset condition (for example, the movement speed reaches the preset speed value, or the movement acceleration reaches the preset movement acceleration value), the phenomenon that the electronic device falls may exist, that is, the magnetic force of the electromagnet is adjusted to increase the falling attraction force between the electronic device and the charger, so that the electronic device is prevented from falling, and the electronic device is prevented from being possibly damaged.
The embodiment of the invention also provides electronic equipment, which comprises an equipment body part, a first connecting part and a first electromagnet; a battery is arranged in the equipment body part; the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the charger is provided with a first magnetic part; the first electromagnet is arranged on the equipment body part and corresponds to the first magnetic part;
the electronic device further includes:
the first acquisition module is used for acquiring state information between the first connecting part and the second connecting part; the state information comprises first information that the first connecting part is connected with the second connecting part and second information that the first connecting part is separated from the second connecting part;
a response module to adjust a magnetic property of the first electromagnet in response to the status information.
Optionally, the first magnetic member is a second electromagnet;
the electronic device further includes:
the second acquisition module is used for acquiring the electric quantity information of the electronic equipment;
the response module includes:
and the first control submodule is used for controlling the magnetic force of the first electromagnet to be reduced and sending a first control signal to the charger under the condition that the state information is the first information and the electric quantity information meets a preset condition, so that the charger controls the magnetic force of the second electromagnet to be reduced according to the first control signal, and the first connecting part is separated from the second connecting part.
Optionally, the electronic device further includes a first driving circuit, and the first driving circuit is connected to the first electromagnet;
the response module includes:
a second control submodule for controlling the first drive circuit to output a current to the first electromagnet so that the first electromagnet has magnetism, when the state information is the first information;
and the third control sub-module is used for controlling the first driving circuit to stop outputting current to the first electromagnet under the condition that the state information is the second information.
Optionally, the first driving circuit includes: a first driving power source, a first sub-switching element, a second sub-switching element, a third sub-switching element, and a fourth sub-switching element; a first end of the first electromagnet is connected with the first sub-switching element and the second sub-switching element, respectively, and a second end of the first electromagnet is connected with the third sub-switching element and the fourth sub-switching element, respectively; the first sub-switching element and the third sub-switching element are respectively connected with the first driving power supply, and the second sub-switching element and the fourth sub-switching element are respectively grounded;
the second control sub-module includes:
a first control unit for controlling the first sub-switching element and the fourth sub-switching element to be turned on and the second sub-switching element and the third sub-switching element to be turned off so that the first driving circuit outputs a current in a first direction to the first electromagnet;
the third control sub-module comprises:
and a second control unit configured to control the second sub-switching element and the third sub-switching element to be turned on, and control the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and after a predetermined condition is reached, control all of the first sub-switching element, the second sub-switching element, the third sub-switching element, and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting a current to the first electromagnet.
Optionally, the electronic device further includes a first hall sensor, and the first hall sensor is disposed close to the first electromagnet;
the electronic device further includes:
the third acquisition module is used for acquiring the magnetic field strength value of the first electromagnet detected by the first Hall sensor;
the second control unit includes:
and a control subunit, configured to control the second sub-switching element and the third sub-switching element to be turned on, and control the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and in a case where the magnetic field intensity value is lower than a first threshold, control all of the first sub-switching element, the second sub-switching element, the third sub-switching element, and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting the current to the first electromagnet.
Optionally, the electronic device further includes a first pressure sensor, and the first pressure sensor is disposed on the first connection portion;
the electronic device further includes:
the fourth acquisition module is used for acquiring a contact pressure value between the first connecting part and the second connecting part, which is detected by the first pressure sensor;
the response module includes:
and the adjusting submodule is used for adjusting the magnetic force of the first electromagnet according to the contact pressure value under the condition that the state information is the first information.
Optionally, the electronic device further includes:
a fifth acquiring module, configured to acquire a voltage drop value at a charging terminal of the first connecting portion and/or the second connecting portion;
the response module includes:
and the fourth control submodule is used for controlling the magnetic force of the first electromagnet to increase under the condition that the state information is the first information and the pressure drop value exceeds a second threshold.
Optionally, the electronic device further includes a near field communication NFC module, the charger further includes a radio frequency identification RFID module, the RFID module is configured to radiate a radio frequency signal, and the NFC module is configured to scan the radio frequency signal; the NFC module is connected with a first coil in the first electromagnet;
the response module includes:
and the fifth control submodule is used for controlling the magnetic force of the first electromagnet to increase under the condition that the state information is the second information and the NFC module scans the radio-frequency signal radiated by the RFID module through the first coil as an antenna, so that the first connecting part is connected with the second connecting part.
Optionally, the first magnetic member is a second electromagnet;
the fifth control sub-module includes:
and the third control unit is used for controlling the magnetic force of the first electromagnet to increase and sending a first control signal to the charger so that the charger controls the magnetic force of the second electromagnet to increase according to the first control signal, and the first connecting part and the second connecting part are connected.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described herein again to avoid repetition.
According to the electronic equipment in the embodiment of the invention, the first electromagnet is arranged on the electronic equipment, and the magnetism of the first electromagnet is adjustable, so that the problems that the connection between the first connecting part and the second connecting part is unreliable due to the fact that the magnetism of the magnet possibly disappears in a mode that the magnet is adopted to realize the magnetic attraction connection between the first connecting part and the second connecting part, and iron scraps are easily adsorbed by the magnet are solved; and still because the magnetism of first electromagnet is adjustable, can adjust the magnetism of first electromagnet through the state information between first connecting portion and the second connecting portion for first connecting portion are connected or are separated with the second connecting portion, and still be favorable to guaranteeing the reliability that first connecting portion and second connecting portion are connected, and reduce the electronic equipment of magnetism charging mode and produce the interference to magnetism sensitive product (such as card, wrist-watch etc. that have the magnetic stripe such as bank card).
The electronic device in the embodiment of the present invention is explained above, and the following explanation is made for the charger:
optionally, an embodiment of the present invention further provides a charger, including:
a charging body portion adapted to connect to a power source;
a second connecting part 81 (as shown in fig. 6), wherein the second connecting part 81 is connected with the charging body part, the second connecting part 81 is suitable for being detachably connected with a first connecting part of an electronic device, the electronic device is charged by the charger under the condition that the second connecting part 81 is matched with the first connecting part, and the electronic device is provided with a second magnetic part;
the second electromagnet 82 is arranged on the second connecting part 81, the second electromagnet 82 is arranged corresponding to the second magnetic part, and the magnetism of the second electromagnet 82 is adjustable.
Optionally, the electronic device may be a mobile terminal such as a mobile phone or a tablet computer. It is understood that the mobile terminal is not limited to a mobile phone and a tablet Computer, but may be an electronic device such as a Laptop Computer (Laptop Computer) or a Personal Digital Assistant (PDA) having a battery or having a charging requirement. The charger may be a charger adapted to the electronic device for charging the electronic device.
Alternatively, the magnetic property of the second electromagnet 82 may be adjustable, and at least one of the magnetic force and the magnetic direction of the second electromagnet 82 may be adjustable. For example: the magnetic adjustability of the second electromagnet 82 may be a magnetic force switching from zero to a first predetermined value or from a first predetermined value to zero, such as: the magnetic force may be 0 → X, or: x → 0; the magnetic adjustability of the second electromagnet 82 may also be in a range from zero to a first predetermined value, such as: the magnetic force can be any value in the range of [0, X ]; the magnetic adjustability of the second electromagnet 82 may also be in a range from a second predetermined value to a first predetermined value, such as: magnetism can be any value of [ -X, X ]; wherein X represents a first predetermined value, -X represents a second predetermined value; the magnetic directions of X and-X are opposite.
Alternatively, the second electromagnet 82 may be disposed on the second connecting portion 81, and correspondingly, the second magnetic member may be an electromagnet, and the magnetism of the second magnetic member is adjustable; or the second magnetic part can also be a magnet to ensure that the second magnetic part has magnetism; the second magnetic member may be disposed on the first connecting portion.
Optionally, the first connection portion may be provided with a first connection terminal, and the second connection portion 82 may be provided with a second connection terminal 801; when the second electromagnet 82 is attracted to the second magnetic member to connect the first connection portion and the second connection portion 82, the first connection terminal and the second connection terminal 801 are electrically connected, so that the battery in the electronic device is charged by the charger; when the first connection portion and the second connection portion 82 are separated and the first connection terminal and the second connection terminal 801 are disconnected, the charger stops charging the battery in the electronic device.
For example: the electronic device may be a mobile phone, the first connecting portion may be disposed on a rear housing of the mobile phone, and the second connecting portion 82 in the charger is symmetrical to the first connecting portion.
It should be noted that, as shown in fig. 6, 5 second connection terminals 801 are provided on the second connection portion 82, and the number of the second connection terminals 8701 may also be increased or decreased according to different types of charging interfaces (e.g., USB interfaces) of the electronic device and the charger, and the invention is not limited in particular.
In this embodiment, the second electromagnet 82 is arranged on the charger, so that the first connecting part and the second connecting part 82 are connected through the magnetic attraction of the second electromagnet 82 and the second magnetic body, that is, the charger is electrically connected with the electronic device, so that the charger charges a battery in the electronic device; and because the magnetism of second electromagnet 82 is adjustable, solved and adopted magnet to realize that first connecting portion and second connecting portion 81 magnetism inhale the mode of connecting, the magnetism of magnet probably disappears and leads to first connecting portion and second connecting portion 81 to be connected unreliable problem to and the problem of iron fillings is adsorbed easily to magnet.
In addition, because the magnetism of second electromagnet 82 is adjustable, can also be through adjusting the magnetic force size of second electromagnet 82 to adjust the size of contact pressure between first connecting portion and the second connecting portion 81, avoid because the contact terminal on first connecting portion and/or the second connecting portion 82 is ageing, lead to first connecting portion and second connecting portion 82 to connect unreliable, thereby be favorable to guaranteeing the reliability of being connected between first connecting portion and the second connecting portion 82, improve charge efficiency.
Optionally, the second electromagnet 82 comprises: a second iron core 821 and a second coil 822, the second coil 822 has an accommodating space inside, and the second iron core 821 is inserted into the accommodating space. The second core 821 generates magnetism when the second electromagnet 82 is charged so that current flows in the second coil 822.
Alternatively, the material of the second core 821 may be a soft magnetic material, and is located below the second connection terminal 801.
Optionally, the charger further comprises:
a second drive circuit 83, the second drive circuit 83 being connected to the second electromagnet 82; the second drive circuit 83 is used to adjust the magnetism of the second electromagnet 82.
As an implementation manner, the second driving circuit 83 may include an adjustable power supply, and an output current value of the adjustable power supply is adjustable; such as: the adjustable power supply may output a current in a first direction to the second electromagnet 82, may output a current in a second direction to the second electromagnet 82, or may stop outputting a current to the second electromagnet 82. Preferably, the adjustable power supply can also output current with different current values and the current direction being the first direction to the second electromagnet 82; the adjustable power supply may also output a current to the second electromagnet 82 having a different current value and a current direction in a second direction.
As another implementation manner, the second driving circuit 83 may include a switching circuit and a driving power source, and the switching circuit enables the second driving circuit 83 to have: an on state and an off state; when the second drive circuit 83 is in an on state, the second drive circuit 83 outputs a current to the second electromagnet 82; when the second drive circuit 83 is in the off state, the second drive circuit 83 outputs no current to the second electromagnet 82.
Preferably, the on state may specifically include: a first conducting state and a second conducting state; when the second driving circuit 83 is in the first conducting state, the direction of the current flowing through the second electromagnet 82 is the first direction; when the second driving circuit 83 is in the second conducting state, the direction of the current flowing through the second electromagnet 82 is the second direction; wherein the first direction and the second direction are opposite.
Preferably, the output current value of the driving power supply is adjustable, so that the second driving circuit 83 can output currents with different current values and the current direction being the first direction to the second electromagnet 82; it is also possible to output to the second electromagnet 82 a current having a different current value and a current direction in the second direction.
Alternatively, the second driving circuit 83 may be an H-bridge structure, as shown in fig. 2. The second drive circuit 83 includes: a second driving power source 150, a fifth sub-switching element Q1, a sixth sub-switching element Q2, a seventh sub-switching element Q3, and an eighth sub-switching element Q4;
a first end of the second electromagnet 82 is connected to the fifth sub-switching element Q1 and the sixth sub-switching element Q2, respectively, and a second end of the second electromagnet 82 is connected to the seventh sub-switching element Q3 and the eighth sub-switching element Q4, respectively;
the fifth sub-switching element Q1 and the seventh sub-switching element Q3 are respectively connected to the second driving power source 150, and the sixth sub-switching element Q2 and the eighth sub-switching element Q4 are respectively connected to ground;
wherein the switching states of the fifth sub-switching element Q1 and the eighth sub-switching element Q4 are the same; the switching states of the sixth sub-switching element Q2 and the seventh sub-switching element Q3 are the same.
Thus, by controlling the switching states (including on state and off state) of the switching elements Q1, Q2, Q3, Q4, the current forward and reverse driving of the second electromagnet 82 can be controlled.
Specifically, when the fifth sub-switching element Q1 and the eighth sub-switching element Q4 are closed and the sixth sub-switching element Q2 and the seventh sub-switching element Q3 are open, i.e., from the second driving power source 150, the fifth sub-switching element Q1, the second electromagnet and the eighth sub-switching element Q4 to the ground, a first path is formed, and the direction of current in the second electromagnet is as indicated by the arrow in fig. 3; when the fifth sub-switching element Q1 and the eighth sub-switching element Q4 are opened and the sixth sub-switching element Q2 and the seventh sub-switching element Q3 are closed, that is, from the second driving power source 150, the seventh sub-switching element Q3, the second electromagnet and the sixth sub-switching element Q2 to the ground, a second path is formed, and the direction of current in the second electromagnet is as indicated by an arrow in fig. 4; that is, the second drive circuit 83 can output the current in the first direction to the second electromagnet, and can also output the current in the second direction to the second electromagnet.
When all of the fifth sub-switching element Q1, the sixth sub-switching element Q2, the seventh sub-switching element Q3, and the eighth sub-switching element Q4 are turned off, that is, the second drive circuit 83 stops outputting the current to the second electromagnet.
In the above embodiment, since the second driving circuit 83 makes the current passing through the second electromagnet 82 be in the first direction or the second direction, the following process can be implemented:
when the second driving circuit 83 outputs a current in the first direction to the second electromagnet 82, the second electromagnet 82 is attracted to the second magnetic member, so that the first connecting part and the second connecting part 81 are connected to charge the battery in the electronic device through the charger;
when the charging of the battery of the electronic device is completed, the connection between the second electromagnet 82 and the second magnetic member may be disconnected (in the case where the second magnetic member is also an electromagnet, the second magnetic member may be disconnected from the second electromagnet 82 by simultaneously de-energizing the second magnetic member and the second electromagnet 82; in the case where the second magnetic member is a magnet, the connection between the second magnetic member and the second electromagnet 82 may be manually disconnected by de-energizing the second electromagnet 82); in this case, when the second electromagnet 872 is powered off, residual magnetism may exist, and then a current in a second direction may be output to the second electromagnet 82 through the second driving circuit 83 to demagnetize the second electromagnet 82, so as to prevent the residual magnetism on the second electromagnet 82 from interfering with magnetically sensitive products (such as cards with magnetic strips, watches, and the like, for example, bank cards).
Optionally, the charger further includes:
a second hall sensor 84, the second hall sensor 84 being disposed proximate to the second electromagnet 82, the second hall sensor 84 being configured to detect a magnetic field strength of the second electromagnet 82.
Specifically, as an implementation: when the second driving circuit 83 outputs a current in the first direction to the second electromagnet 82, the second electromagnet 82 is attracted to the second magnetic member, so that the first connecting part and the second connecting part 81 are connected to charge the battery in the electronic device through the charger; when the charging of the battery of the electronic device is completed, the second driving circuit 83 may be controlled to stop outputting current to the second electromagnet 82, so as to deenergize the second electromagnet 82, disconnect the second electromagnet 82 from the second magnetic member, and further output current in the second direction to the second electromagnet 82 through the second driving circuit 83, so as to demagnetize the second electromagnet 82, and when the second hall sensor 84 detects that the magnetic field strength of the second electromagnet 82 is lower than the first threshold, that is, after the demagnetization is completed, the second driving circuit 83 may be controlled to stop outputting current to the second electromagnet 82, so as to deenergize the second electromagnet 82, so as to prevent the residual magnetism on the second electromagnet 82 from interfering with the magnetically sensitive product.
As another implementation: when the second driving circuit 83 outputs a current in the first direction to the second electromagnet 82, the second electromagnet 82 is attracted to the second magnetic member, so that the first connecting part and the second connecting part 81 are connected to charge the battery in the electronic device through the charger; when the battery of the electronic device is charged, the second driving circuit 83 may be controlled to stop outputting current to the second electromagnet 82, so as to deenergize the second electromagnet 82, and disconnect the second electromagnet 82 from the second magnetic member, and then when the second hall sensor 84 detects that the magnetic field strength of the second electromagnet 82 is greater than or equal to the first threshold, the second driving circuit 83 may output current in the second direction to the second electromagnet 82, so as to demagnetize the second electromagnet 82, so that the magnetic field strength of the second electromagnet 82 is smaller than the first threshold, that is, after the demagnetization is completed, the second driving circuit 83 may be controlled to stop outputting current to the second electromagnet 82, so as to deenergize the second electromagnet 82, so as to prevent the residual magnetism on the second electromagnet 82 from interfering with the magnetically sensitive product.
As yet another implementation: when the second driving circuit 83 outputs a current in the first direction to the second electromagnet 82, the second electromagnet 82 is attracted to the second magnetic member, so that the first connecting part and the second connecting part 81 are connected to charge the battery in the electronic device through the charger; when the battery of the electronic device is charged, the second electromagnet 82 and the second magnetic member are disconnected, and then the second driving circuit 83 outputs a current in a second direction to the second electromagnet 82 to demagnetize the second electromagnet 82, and when the second hall sensor 84 detects that the magnetic field strength of the second electromagnet 82 is smaller than the first threshold, that is, after the demagnetization is completed, the second driving circuit 83 is controlled to stop outputting the current to the second electromagnet 82, so that the second electromagnet 82 is powered off, and thus the magnetic sensitive product can be prevented from being interfered by residual magnetism on the second electromagnet 82.
It should be noted that the second hall sensor 84 in the embodiment of the present invention is used for detecting the magnetic field strength on the second electromagnet 82 to avoid the interference caused by the residual magnetism existing after the second electromagnet 82 is powered off, and the specific determination process and the time sequence relationship of the processing process are not particularly limited, as long as the above purpose can be achieved.
Optionally, the charger further includes:
a second pressure sensor 85, the second pressure sensor 85 being disposed on the second connection portion 81, the second pressure sensor 85 being configured to detect a contact pressure on the second connection portion 81.
Specifically, the second pressure sensor 85 is configured to detect a contact pressure between the first connection portion and the second connection portion 81 when the first connection portion is connected to the second connection portion 81.
In the case where the first and second connection portions 81 and 81 are connected, a contact pressure between the first and second connection portions 81 and 81 is detected by the second pressure sensor 85, the contact pressure is compared with a set value, and if a deviation between the contact pressure and the set value exceeds a preset range, the magnetic force of the second electromagnet 82 may be adjusted, or the second driving circuit 83 may be controlled to adjust the magnetic force of the second electromagnet 82.
Such as: if the deviation exceeds the preset range and the contact pressure is less than the set value, the magnetic force of the second electromagnet 82 can be increased to increase the contact pressure, so that the deviation is within the preset range, and the reliability of connection is ensured; if the deviation exceeds the preset range and the contact pressure is greater than the set value, the magnetic force of the second electromagnet 82 can be reduced to reduce the contact pressure, so that the deviation is within the preset range and the connection terminal on the connection part is prevented from being damaged.
Optionally, the charger further comprises:
an RFID module 86, the RFID module 86 being connected with the second coil 822 in the second electromagnet 82 to multiplex the second coil 822; the RFID module 86 is configured to radiate a radio frequency signal.
Correspondingly, the electronic equipment can also be provided with an NFC module for scanning radio frequency signals; preferably, if the second magnetic member of the electronic device is an electromagnet, the NFC module may further be connected to a coil of the second magnetic member to multiplex the coil as an antenna to scan radio frequency signals.
Thus, when the first connection portion and the second connection portion 81 are not connected and no current passes through the second electromagnet 82, the RFID module 86 in the charger may radiate a radio frequency signal by multiplexing the second coil 822 as an antenna, so that when the NFC module in the electronic device scans the radio frequency signal, it is determined that a matched charger is close to the NFC module, and then the close signal may be sent to a second electromagnet control unit (e.g., a third processor, a third driving circuit, etc. connected to the second electromagnet 82) to adjust the magnetism of the second electromagnet 82, so that the second electromagnet 82 and the second magnetic member are attracted to each other, thereby realizing the magnetic attraction connection between the first connection portion and the second connection portion 81, and further charging the battery in the electronic device through the charger.
Optionally, the charger further comprises:
an NFC module connected to a second coil in the second electromagnet to multiplex the second coil; the NFC module is used for scanning radio frequency signals.
Correspondingly, the electronic equipment can also be provided with an RFID module for radiating radio frequency signals; preferably, if the second magnetic member of the electronic device is an electromagnet, the RFID module may further be connected to a coil of the second magnetic member to multiplex the coil as an antenna to radiate a radio frequency signal.
In this way, when the first connection portion and the second connection portion 81 are not connected and no current passes through the second electromagnet 82, the NFC module 86 in the charger may scan a radio frequency signal radiated by an RFID module in the electronic device by multiplexing the second coil 822 as an antenna, determine that a matched electronic device is close to the NFC module, and then may send the close signal to a second electromagnet control unit (such as a third processor, a third driving circuit, and the like connected to the second electromagnet 82) to adjust the magnetism of the second electromagnet 82, so that the second electromagnet 82 is attracted to the second magnetic member, thereby realizing the magnetic attraction connection between the first connection portion and the second connection portion 81, and further charging a battery in the electronic device through the charger.
Optionally, according to at least one of the above embodiments, when the second magnetic member is an electromagnet, the NFC module may send the approach signal to the third processor and the third driving circuit connected to the second electromagnet 82, and the fourth processor and the fourth driving circuit connected to the second magnetic member, respectively, to adjust the magnetic forces of the second magnetic member and the second electromagnet 82, so that the second electromagnet 82 and the second magnetic member attract each other, the magnetic attraction connection between the first connecting portion and the second connecting portion 81 is realized, and the electronic device is charged by the charger.
In this embodiment, the utilization rate of the second coil 822 is effectively improved by multiplexing the second coil 822, and it is possible to avoid occupying more space by adding a device in the charger, thereby facilitating the layout of the internal space of the charger and saving the cost.
Optionally, an embodiment of the present invention further provides a charging control method, which is applied to the charger described in at least one embodiment above, and a specific control method of the charger side may be similar to the control method of the electronic device side, or the control method of the charger side is adapted to the control method of the electronic device side (for example, the charger side is used to send a detected signal to the electronic device, or execute a corresponding function according to a signal sent by the electronic device side, and the like), which is not described herein again.
The electronic device and the charger according to the embodiment of the present invention have been described above. Optionally, the charging system in the embodiment of the present invention includes the electronic device described in at least one of the above embodiments, and a charger adapted to the electronic device; or the charging system can further comprise the charger in at least one of the above embodiments, and an electronic device adapted to the charger; or the charging system may further include the electronic device described in at least one of the above embodiments and the charging system described in at least one of the above embodiments. The following is a description of a charging system of an embodiment of the invention:
as shown in fig. 7, an embodiment of the present invention provides a charging system, including:
an electric device 11, the electric device 11 having a first connection portion 110;
a power supply device 12 having a second connection unit 120, the second connection unit 120 being detachably connected to the first connection unit 110, the power supply device 12 charging the power consumption device 11 while the second connection unit 110 is fitted to the first connection unit 120;
a magnetic member 13, wherein the magnetic member 13 is disposed on one of the electric device 11 and the power supply device 12;
the electromagnet 14 is arranged on the other one of the electric equipment 11 and the power supply equipment 12, the electromagnet 14 is arranged corresponding to the magnetic piece 13, and the magnetism of the electromagnet 14 is adjustable.
Optionally, the electric device 11 may be an electronic device, such as: the electronic equipment can be a mobile terminal such as a mobile phone or a tablet computer. It is understood that the mobile terminal is not limited to a mobile phone and a tablet Computer, but may be an electronic device such as a Laptop Computer (Laptop Computer) or a Personal Digital Assistant (PDA) having a battery or having a charging requirement. The power supply device 12 may be a charger for charging the power consuming device 11.
Alternatively, the magnetic member 13 may be an electromagnet, and the magnetism of the magnetic member is adjustable; or the magnetic member 13 may be a magnet to ensure that the magnetic member 13 has magnetism.
Alternatively, the magnetism of the electromagnet 14 may be adjustable, and at least one of the magnetic force and the magnetic direction of the electromagnet 14 may be adjustable. For example: the magnetic adjustability of the electromagnet 14 may be a magnetic force switching from zero to a first predetermined value or from a first predetermined value to zero, such as: the magnetic force may be 0 → X, or: x → 0; the magnetic adjustability of the electromagnet 14 may also be in the range from zero to a first predetermined value, such as: the magnetic force can be any value in the range of [0, X ]; the magnetic adjustability of the electromagnet 14 may also be in a range from a second predetermined value to a first predetermined value, such as: magnetism can be any value of [ -X, X ]; wherein X represents a first predetermined value, -X represents a second predetermined value; the magnetic directions of X and-X are opposite.
Optionally, the electromagnet 14 is disposed on the electric device 11, and the magnetic member 13 is disposed on the power supply device 12; or, the magnetic part 13 is arranged on the electric equipment 11, and the electromagnet 14 is arranged on the power supply equipment 12; preferably, the magnetic member 13 may be disposed on one of the first connection portion 110 and the second connection portion 120, and the electromagnet 14 may be disposed on the other of the first connection portion 110 and the second connection portion 120. Such as: the magnetic member 13 is disposed on the first connecting portion 110, and the electromagnet 14 is disposed on the second connecting portion 120; alternatively, the magnetic member 13 is disposed on the second connection portion 120, and the electromagnet 14 is disposed on the first connection portion 110.
Optionally, the first connection portion 110 may have a first connection terminal, and the second connection portion 120 may have a second connection terminal; when the electromagnet 14 is attracted to the magnetic member 13 to connect the first connection portion 110 and the second connection portion 120, the first connection terminal and the second connection terminal are electrically connected, so that the power supply apparatus 12 charges the electric device 11; when the first connection part 110 and the second connection part 120 are separated and the first connection terminal and the second connection terminal are disconnected, the power supply apparatus 12 stops charging the power consumption apparatus 11.
In this embodiment, the first connection portion 110 and the second connection portion 120 are connected by the magnetic attraction between the electromagnet 14 and the magnetic body 13 by providing the magnetic member 13 on one of the electric equipment 11 and the power supply equipment 12 and providing the electromagnet 14 on the other of the electric equipment 11 and the power supply equipment 12, that is, the power supply equipment 12 is electrically connected to the electric equipment 11, so that the power supply equipment 12 charges the electric equipment 11; and because the magnetism of the electromagnet 14 is adjustable, the problem that the connection between the first connecting part 110 and the second connecting part 120 is unreliable due to the fact that the magnetism of the magnet possibly disappears in the mode that the magnet is adopted to realize the magnetic attraction connection between the first connecting part 110 and the second connecting part 120 is solved, and the problem that the magnet is easy to adsorb scrap iron is solved. In addition, because the magnetism of the electromagnet 14 is adjustable, the magnitude of the contact pressure between the first connecting portion 110 and the second connecting portion 120 can be adjusted by adjusting the magnetic force of the electromagnet 14, so that the problem that the connection between the first connecting portion 110 and the second connecting portion 120 is unreliable due to the aging of contact terminals on the first connecting portion 110 and/or the second connecting portion 120 is avoided, the reliability of the connection between the first connecting portion 110 and the second connecting portion 120 is guaranteed, and the charging efficiency is improved.
As shown in fig. 8, an embodiment of the present invention further provides a charging system, which includes, in addition to the components of the foregoing embodiment: a driving circuit 15, wherein the driving circuit 15 is connected with the electromagnet 14, and the driving circuit 15 is used for adjusting the magnetism of the electromagnet 14.
Optionally, when the electromagnet 14 is disposed on the electric device 11, the driving circuit 15 is disposed on the electric device 11 and connected to the electromagnet 14 to adjust the magnetism of the electromagnet 14; when the electromagnet 14 is arranged on the power supply device 12, the driving circuit 15 is arranged on the power supply device 12 and connected with the electromagnet 14 to adjust the magnetism of the electromagnet 14; when electromagnets are provided on the electric device 11 and the power supply device 12, respectively, the electric device 11 and the power supply device 12 may be provided with driving circuits, respectively, wherein the electromagnet in the electric device 11 is connected with the driving circuit in the electric device 11, and the electromagnet in the power supply device 12 is connected with the driving circuit in the power supply device 12, to adjust the magnetism of the electromagnet 14.
Optionally, the driving circuit 15 may include an adjustable power supply, and an output current value of the adjustable power supply is adjustable; such as: the adjustable power supply may output a current in a first direction to the electromagnet 14, may output a current in a second direction to the electromagnet 14, or may stop outputting a current to the electromagnet 14. Preferably, the adjustable power supply can also output current with different current values and the current direction is the first direction to the electromagnet 14; the adjustable power supply may also output a current to the electromagnet 14 having a different value and a second direction of current.
Alternatively, the driving circuit 15 may include a switching circuit and a driving power supply, and the switching circuit may enable the driving circuit 15 to have: an on state and an off state; when the drive circuit 15 is in an on state, the drive circuit 15 outputs a current to the electromagnet 14; when the drive circuit 15 is in the off state, the drive circuit 15 outputs no current to the electromagnet 14.
Preferably, the on state may specifically include: a first conducting state and a second conducting state; when the driving circuit 15 is in the first conducting state, the direction of the current flowing through the electromagnet 14 is the first direction; when the driving circuit 15 is in the second conducting state, the direction of the current flowing through the electromagnet 14 is the second direction; wherein the first direction and the second direction are opposite.
Preferably, the output current value of the driving power supply is adjustable, so that the driving circuit 15 can output currents with different current values and the current direction being the first direction to the electromagnet 14; it is also possible to output to the electromagnet 14 a current having a different current value and a current direction in the second direction.
As fig. 2, an example of a driving circuit is given, wherein the driving circuit 15 comprises: a driving power source 150, a first switching element Q1, a second switching element Q2, a third switching element Q3, and a fourth switching element Q4;
a first end of the electromagnet 14 is connected to the first switching element Q1 and the second switching element Q2, respectively, and a second end of the electromagnet 14 is connected to the third switching element Q3 and the fourth switching element Q4, respectively;
the first switching element Q1 and the third switching element Q3 are respectively connected to the driving power source 150, and the second switching element Q2 and the fourth switching element Q4 are respectively connected to ground;
wherein the switching states of the first switching element Q1 and the fourth switching element Q4 are the same; the switching states of the second switching element Q2 and the third switching element Q3 are the same. Wherein the switch state includes: an on state and an off state.
Specifically, when the first switching element Q1 and the fourth switching element Q4 are closed and the second switching element Q2 and the third switching element Q3 are open, i.e., from the driving power source 151, the first switching element Q1, the electromagnet 14 and the fourth switching element Q4 to the ground, a first path is formed, and the direction of current in the electromagnet 14 is as indicated by the arrow in fig. 3; when the first switching element Q1 and the fourth switching element Q4 are turned off and the second switching element Q2 and the third switching element Q3 are turned on, i.e., from the driving power source 151, the third switching element Q3, the electromagnet 14 and the second switching element Q2 to the ground, a second path is formed, and the direction of current in the electromagnet 14 is as shown by the arrow in fig. 4; in other words, the drive circuit 15 can output the current in the first direction to the electromagnet 14 and can output the current in the second direction to the electromagnet.
When all of the first switching element Q1, the second switching element Q2, the third switching element Q3, and the fourth switching element Q4 are turned off, that is, the drive circuit 15 stops outputting the current to the electromagnet 14.
In the above embodiment, since the driving circuit 15 makes the current passing through the electromagnet 14 be in the first direction or the second direction, the following process can be implemented:
when the driving circuit 15 outputs a current in a first direction to the electromagnet 14, the electromagnet 14 is attracted to the magnetic member 13, so that the first connection portion 110 and the second connection portion 120 are connected to charge the power consumption device 11 through the power supply device 12;
when the charging of the electric equipment 11 is completed, the connection between the electromagnet 14 and the magnetic member 13 may be disconnected (in the case where the magnetic member 13 is also an electromagnet, the magnetic member 13 may be disconnected from the electromagnet 14 by simultaneously powering off the magnetic member 13 and the electromagnet 14; in the case where the magnetic member 13 is a magnet, the connection between the magnetic member 13 and the electromagnet 14 may be manually disconnected by powering off the electromagnet 14); under the condition, when the electromagnet is powered off, residual magnetism may exist, and then current in the second direction can be output to the electromagnet through the driving circuit so as to demagnetize the electromagnet, so that the interference of the residual magnetism on the electromagnet to magnetically sensitive products (such as cards with magnetic stripes, watches and the like, like bank cards) is avoided.
Fig. 9 shows a medium charging system according to an embodiment of the present invention, which includes, in addition to the components in at least one of the above embodiments:
a Hall sensor 16, the Hall sensor 16 is arranged near the electromagnet 14, and the Hall sensor 16 is used for detecting the magnetic field intensity of the electromagnet 14.
Specifically, as an implementation: when the driving circuit 15 outputs a current in a first direction to the electromagnet 14, the electromagnet 14 is attracted to the magnetic member 13, so that the first connection portion 110 and the second connection portion 120 are connected to charge the power consumption device 11 through the power supply device 12; when the charging of the electric equipment 11 is completed, the driving circuit 15 may be controlled to stop outputting the current to the electromagnet 14, so as to power off the electromagnet 14, and disconnect the connection between the electromagnet 14 and the magnetic member 13, and further, the driving circuit 15 may output the current in the second direction to the electromagnet 14, so as to demagnetize the electromagnet 14, and when the hall sensor 16 detects that the magnetic field strength on the electromagnet 14 is lower than the first threshold, that is, after the demagnetization is completed, the driving circuit 15 may be controlled to stop outputting the current to the electromagnet 14, so as to power off the electromagnet 14, so as to prevent the residual magnetism on the electromagnet 14 from interfering with the magnetically sensitive product.
As another implementation: when the driving circuit 15 outputs a current in a first direction to the electromagnet 14, the electromagnet 14 is attracted to the magnetic member 13, so that the first connection portion 110 and the second connection portion 120 are connected to charge the power consumption device 11 through the power supply device 12; when the charging of the electric equipment 11 is completed, the driving circuit 15 can be controlled to stop outputting current to the electromagnet 14 so as to power off the electromagnet 14, and the connection between the electromagnet 14 and the magnetic piece 13 is disconnected, and further when the hall sensor 16 detects that the magnetic field strength of the electromagnet 14 is greater than or equal to the first threshold, the driving circuit 15 outputs current in the second direction to the electromagnet 14 so as to demagnetize the electromagnet 14, so that the magnetic field strength of the electromagnet 14 is smaller than the first threshold, that is, after the demagnetization is completed, the driving circuit 15 is controlled to stop outputting current to the electromagnet 14 so as to power off the electromagnet 14, so that the interference of residual magnetism on the electromagnet 14 on a magnetically sensitive product can be avoided.
As yet another implementation: when the driving circuit 15 outputs a current in a first direction to the electromagnet 14, the electromagnet 14 is attracted to the magnetic member 13, so that the first connection portion 110 and the second connection portion 120 are connected to charge the power consumption device 11 through the power supply device 12; when the charging of the electric equipment 11 is completed, the connection between the electromagnet 14 and the magnetic piece 13 is disconnected, and then the driving circuit 15 outputs current in the second direction to the electromagnet 14 to demagnetize the electromagnet 14, and when the hall sensor 16 detects that the magnetic field strength of the electromagnet 14 is smaller than the first threshold, namely after the demagnetization is completed, the driving circuit 15 is controlled to stop outputting current to the electromagnet 14, so that the electromagnet 14 is powered off, and the interference of residual magnetism on the electromagnet 14 to a magnetically sensitive product can be avoided.
It should be noted that the hall sensor in the embodiment of the present invention is used for detecting the magnetic field strength on the electromagnet 14 to avoid the interference caused by the residual magnetism existing after the electromagnet 14 is powered off, and the specific time sequence relationship between the determination process and the processing process is not particularly limited, as long as the above purpose can be achieved.
Optionally, the charging system in the embodiment of the present invention further includes:
a pressure sensor 17, the pressure sensor 17 being disposed on one of the first connection portion 110 and the second connection portion 120, the pressure sensor 17 being configured to detect a contact pressure between the first connection portion 110 and the second connection portion 120.
Specifically, the pressure sensor 17 may be disposed on the first connection portion 110, or may be disposed on the second connection portion 120; alternatively, the first connection portion 110 and the second connection portion 120 are respectively provided with a pressure sensor 17.
In the case where the first connection portion 110 and the second connection portion 120 are connected, the contact pressure between the first connection portion 110 and the second connection portion 120 is detected by the pressure sensor 17, the contact pressure is compared with a set value, and if the deviation between the contact pressure and the set value exceeds a preset range, the magnetic force of the electromagnet 14 may be adjusted, or the driving circuit 15 may be controlled to adjust the magnetic force of the electromagnet 14.
Such as: if the deviation exceeds a preset range and the contact pressure is smaller than a set value, the magnetic force of the electromagnet can be increased to increase the contact pressure, so that the deviation is within the preset range, and the connection reliability is ensured; if the deviation exceeds the preset range and the contact pressure is greater than the set value, the magnetic force of the electromagnet 14 may be reduced to reduce the contact pressure, so that the deviation is within the preset range to avoid damage to the connection terminal on the connection portion.
Optionally, the charging system in the embodiment of the present invention further includes:
the RFID module 18 is arranged on one of the electric equipment 11 and the power supply equipment 12, the NFC module 19 is arranged on the other one of the electric equipment 11 and the power supply equipment 12, the RFID module 18 is used for radiating radio frequency signals, and the NFC module 19 is used for scanning the radio frequency signals.
Specifically, the RFID module 18 in the charging system may be disposed on the power consumption device 11, and the NFC module 19 may be disposed on the power supply device 12; in this way, when the first connection portion 110 and the second connection portion 120 are not connected and no current passes through the electromagnet 14, the NFC module 19 in the power supply device 12 may determine that the matched electric device 11 is close to the electric device by scanning the radio frequency signal radiated by the RFID module 18 in the electric device 11, and then may send the close signal to the electromagnet control unit (such as a processor, a driving circuit, and the like connected to the electromagnet 14) to adjust the magnetism of the electromagnet 14, so that the electromagnet 14 is attracted to the magnetic member 13, thereby realizing the magnetic attraction connection between the first connection portion 110 and the second connection portion 120, and further charging the electric device 11 through the power supply device 12.
Alternatively, the RFID module 18 in the charging system may be disposed on the power supply device 12, and the NFC module 19 may be disposed on the power consumption device 11; in this way, when the first connection portion 110 and the second connection portion 120 are not connected and no current passes through the electromagnet 14, the NFC module 19 in the electric device 11 may determine that the matched power supply device 12 is close to the electromagnet control unit (such as a processor, a driving circuit, and the like connected to the electromagnet 14) by scanning the radio frequency signal radiated by the RFID module 18 in the power supply device 12, and may send the close signal to the electromagnet control unit (such as the processor, the driving circuit, and the like connected to the electromagnet 14) to adjust the magnetism of the electromagnet 14, so that the electromagnet 14 and the magnetic member 13 attract each other, thereby realizing the magnetic attraction connection between the first connection portion 110 and the second connection portion 120, and further charging the electric device 11 through the power supply device 12.
Optionally, at least one of the NFC module and the RFID module is connected to a coil in the electromagnet to multiplex the coil.
Specifically, in the case where the electromagnet 14 is provided on the electric device 11: if the electric device 11 is further provided with an NFC module, the NFC module may multiplex a coil in the electromagnet 14, that is, scan a radio frequency signal by using the coil as an antenna; if the electrical device 11 is further provided with an RFID module, the RFID module may multiplex the coil in the electromagnet 14, that is, radiate a radio frequency signal by using the coil as an antenna;
in the case where the electromagnet 14 is provided on the power supply apparatus 12: if the power supply device 12 is further provided with an NFC module, the NFC module may multiplex a coil in the electromagnet 14, that is, scan a radio frequency signal by using the coil as an antenna; if the power supply 12 is also provided with an RFID module, the RFID module may multiplex the coil in the electromagnet 14, i.e., radiate a radio frequency signal through the coil as an antenna.
In this embodiment, the utilization rate of the coil is effectively improved by multiplexing the coil, and it is avoided that more space is occupied by adding devices in the electric equipment 11 and/or the power supply equipment 12, which is favorable for the internal space layout of the electric equipment 11 and/or the power supply equipment 12, and is also favorable for saving cost.
The charging system in the embodiment of the present invention is explained above, and the following describes a charging control method for the charging system:
the embodiment of the invention provides a charging control method, which is applied to a charging system, wherein the charging system comprises electric equipment and power supply equipment; the power consumption equipment is provided with a first connecting part, and the power supply equipment is provided with a second connecting part; one of the electric equipment and the power supply equipment is provided with a magnetic part, the other one of the electric equipment and the power supply equipment is provided with an electromagnet, and the electromagnet and the magnetic part are correspondingly arranged.
The method comprises the following steps:
acquiring state information between the first connecting part and the second connecting part.
Wherein the state information includes: the first information is connected with the second connecting part through the first connecting part, and the second information is separated from the first connecting part and the second connecting part.
Optionally, the state information between the first connection portion and the second connection portion may be determined by detecting a voltage signal of a connection terminal on the first connection portion and/or the second connection portion, that is, by detecting a voltage signal (such as a high level signal or a low level signal) of the connection terminal, it is determined that the first connection portion is connected to the second connection portion, or the first connection portion is separated from the second connection portion.
Optionally, the state information between the first connection portion and the second connection portion may also be determined by a pressure value and a pressure detected by a pressure sensor on the first connection portion and/or the second connection portion, which is not limited in the present invention.
Adjusting a magnetism of the electromagnet in response to the status information.
Optionally, when the state information is the first information, that is, when the first connection portion is in contact with the second connection portion, the first connection portion and the second connection portion are reliably connected by adjusting magnetic generation or magnetic force increase of the electromagnet; under the condition that the state information is the second information, namely when the first connecting part is separated from the second connecting part, the magnetism of the electromagnet is adjusted to disappear, and the interference of the magnetism of the electromagnet on magnetically sensitive products (such as cards with magnetic strips, watches and the like bank cards and the like) caused by the separation of the first connecting part and the second connecting part, namely the charging is not needed, is avoided.
Optionally, when the state information is the first information, that is, the first connection portion is connected to the second connection portion, if the charging of the electric device is completed, the first connection portion and the second connection portion may be separated by adjusting magnetism of the electromagnet; if the state information is the second information, that is, the first connection part is separated from the second connection part, if it is detected that the electric device and the power supply device are close to each other, the first connection part and the second connection part can be connected by adjusting magnetism of the electromagnet.
In the embodiment, the electromagnet is arranged on one of the electric equipment and the power supply equipment in the charging system, and the problem that the connection between the first connecting part and the second connecting part is unreliable due to the fact that the magnetism of the magnet possibly disappears in a mode that the magnet is adopted to realize the magnetic attraction connection between the first connecting part and the second connecting part is solved because the magnetism of the electromagnet is adjustable, and iron scraps are easily adsorbed by the magnet; and still because the magnetism of electromagnet is adjustable, can be through the state information between first connecting portion and the second connecting portion, adjust the magnetism of electromagnet for first connecting portion are connected or are separated with the second connecting portion, and still be favorable to guaranteeing the reliability that first connecting portion and second connecting portion are connected, and reduce the consumer/the power supply unit of magnetism charging mode and produce the interference to magnetism sensitive product (such as card, the wrist-watch etc. that have the magnetic stripe such as bank card).
Optionally, a first electromagnet is arranged on the power consumption device, and a second electromagnet is arranged on the power supply device; the method further comprises the following steps:
acquiring electric quantity information of the electric equipment;
the step of adjusting the magnetism of the electromagnet in response to the state information may specifically include:
and under the condition that the state information is the first information and the electric quantity information meets a preset condition, controlling the magnetic force of the first electromagnet and the second electromagnet to be reduced so as to separate the first connecting part from the second connecting part.
Optionally, when the state information is the first information, if the electric quantity value reaches a preset electric quantity value, the magnetic force of the first electromagnet and the magnetic force of the second electromagnet are controlled to decrease, so that the first connection portion is separated from the second connection portion.
Or, if the electric quantity value reaches a preset electric quantity value and the electric quantity value reaches the preset electric quantity value and exceeds a preset time length, controlling the magnetic force of the first electromagnet and the second electromagnet to be reduced so as to separate the first connecting part from the second connecting part under the condition that the state information is the first information.
Like this, after the consumer charges fully, if the user does not pull out the charger (promptly power supply unit) for a long time, exceed and predetermine for a long time, stop to respective electromagnet power supply in can controlling consumer and the charger, like this the electro-magnet magnetism reduces the back, lets the charger automatic drop, first connecting portion and second connecting portion phase separation promptly to guarantee the security of charging.
Optionally, according to at least one of the above embodiments, the charging system further comprises a driving circuit connected to the electromagnet;
the step of adjusting the magnetism of the electromagnet in response to the state information may further include:
controlling the driving circuit to output a current to the electromagnet so that the electromagnet has magnetism, if the state information is the first information; and controlling the drive circuit to stop outputting the current to the electromagnet when the state information is the second information.
In the embodiment, the driving circuit outputs current to the electromagnet or stops outputting current, so that the magnetism of the electromagnet is adjustable. For a specific structure of the driving circuit, reference may be made to the structural embodiment of the driving circuit in the charging system, and details are not described here.
Specifically, according to at least one of the above embodiments, the driving circuit includes: a driving power source, a first switching element, a second switching element, a third switching element, and a fourth switching element; a first end of the electromagnet is connected with the first switching element and the second switching element respectively, and a second end of the electromagnet is connected with the third switching element and the fourth switching element respectively; the first switching element and the third switching element are respectively connected with the driving power supply, and the second switching element and the fourth switching element are respectively grounded;
the step of controlling the driving circuit to output the current to the electromagnet may specifically include:
the first switching element and the fourth switching element are controlled to be turned on, and the second switching element and the third switching element are controlled to be turned off, so that the driving circuit outputs a current in a first direction to the electromagnet.
In this way, in the case where the state information is the first information, the current in the first direction may be output to the electromagnet through the driving circuit, so that the magnetic force generated in the electromagnet or the magnetic force is increased to ensure the reliability of the connection of the first connection portion and the second connection portion.
The step of controlling the driving circuit to stop outputting the current to the electromagnet may specifically include:
and after a preset condition is reached, the first switching element, the second switching element, the third switching element and the fourth switching element are all controlled to be switched off, so that the driving circuit stops outputting current to the electromagnet.
Therefore, under the condition that the state information is the second information, the current in the second direction can be output to the electromagnet through the driving circuit, so that the magnetism generated in the electromagnet disappears, namely, the purpose of demagnetizing the electromagnet is achieved, and the electromagnet is prevented from interfering with magnetically sensitive products.
Optionally, according to at least one of the above embodiments, the charging system further includes a hall sensor disposed near the electromagnet;
the method further comprises the following steps:
acquiring a magnetic field strength value of the electromagnet detected by the Hall sensor;
the step of controlling the second switching element and the third switching element to be turned on, and controlling the first switching element and the fourth switching element to be turned off, so that the driving circuit outputs the current in the second direction to the electromagnet, and after a predetermined condition is reached, controlling all of the first switching element, the second switching element, the third switching element and the fourth switching element to be turned off, so that the driving circuit stops outputting the current to the electromagnet may specifically include:
and controlling the second switching element and the third switching element to be turned on, and controlling the first switching element and the fourth switching element to be turned off so that the driving circuit outputs a current in a second direction to the electromagnet, and controlling the first switching element, the second switching element, the third switching element and the fourth switching element to be turned off all together so that the driving circuit stops outputting the current to the electromagnet when the magnetic field intensity value is lower than a first threshold.
Therefore, when the driving circuit outputs the current in the second direction to the electromagnet and detects that the magnetic field intensity of the electromagnet is lower than the first threshold through the Hall sensor, namely after demagnetization is finished, the driving circuit is controlled to stop outputting the current to the electromagnet, so that interference of the electromagnet on a magnetic sensitive product is avoided.
Optionally, the step of controlling the second switching element and the third switching element to be turned on, and controlling the first switching element and the fourth switching element to be turned off, so that the driving circuit outputs a current in a second direction to the electromagnet, and after a predetermined condition is reached, controlling all of the first switching element, the second switching element, the third switching element and the fourth switching element to be turned off, so that the driving circuit stops outputting a current to the electromagnet may further specifically include:
and if the magnetic field strength value is greater than or equal to a first threshold, controlling the second switching element and the third switching element to be switched on, and controlling the first switching element and the fourth switching element to be switched off so that the driving circuit outputs current in a second direction to the electromagnet, and controlling the first switching element, the second switching element, the third switching element and the fourth switching element to be switched off under the condition that the magnetic field strength value is lower than the first threshold so that the driving circuit stops outputting current to the electromagnet.
In this way, the driving circuit is controlled to output the current in the second direction to the electromagnet only when the magnetic field intensity of the electromagnet detected by the sensor is greater than or equal to the first threshold, so that the driving circuit does not need to be controlled to output the current in the second direction to the electromagnet when the magnetic field intensity of the electromagnet is lower than the first threshold, and the energy consumption can be reduced to a certain extent; and under the condition that the sensor detects that the magnetic field intensity of the electromagnet is greater than or equal to the first threshold, the driving circuit is controlled to output current in the second direction to the electromagnet, and the Hall sensor detects that the magnetic field intensity of the electromagnet is lower than the first threshold, namely after the electromagnet is demagnetized, the driving circuit is controlled to stop outputting current to the electromagnet, and the electromagnet can be prevented from interfering with magnetically sensitive products.
Optionally, according to at least one of the above embodiments, the charging system further includes a pressure sensor disposed on one of the first connection portion and the second connection portion;
the method further comprises the following steps:
acquiring a contact pressure value between the first connecting part and the second connecting part detected by the pressure sensor;
the step of adjusting the magnetism of the electromagnet in response to the state information may further include:
and under the condition that the state information is the first information, adjusting the magnetic force of the electromagnet according to the pressure value.
As an implementation manner, in the case that the state information is the first information, that is, when the first connection portion and the second connection portion are connected, if the pressure value is greater than a preset pressure value, the pressure value of the electromagnet may be controlled to decrease; and if the pressure value is less than or equal to a preset pressure value, controlling the pressure value of the electromagnet to increase.
As another implementation manner, when the state information is the first information, that is, when the first connection portion and the second connection portion are connected, a pressure value of contact between the first connection portion and the second connection portion is detected by the pressure sensor, the pressure value is compared with a set value, and if a deviation between the pressure value and the set value exceeds a preset range, the magnetic force of the electromagnet may be adjusted, or the driving circuit may be controlled to adjust the magnetic force of the electromagnet.
For example: if the deviation exceeds a preset range and the pressure value is smaller than a set value, the magnetic force of the electromagnet can be increased to increase the pressure value of contact between the first connecting part and the second connecting part, so that the deviation is within the preset range, and the reliability of connection between the first connecting part and the second connecting part is ensured; if the deviation exceeds the preset range and the pressure value is larger than the set value, the magnetic force of the electromagnet can be reduced to reduce the pressure value of contact between the first connecting part and the second connecting part, so that the deviation is within the preset range, and the damage of the connecting terminal on the first connecting part and/or the second connecting part is avoided.
Optionally, according to at least one of the above embodiments, the method further comprises:
acquiring a voltage drop value on a charging terminal of the first connection part and/or the second connection part;
the step of adjusting the magnetism of the electromagnet in response to the state information may further specifically include:
and controlling the magnetic force of the electromagnet to increase when the state information is the first information and the pressure drop value exceeds a second threshold.
In this embodiment, the voltage drop value at the charging terminal of the first connection portion and/or the second connection portion exceeds the second threshold, and there is a problem that the connection terminal on the first connection portion and/or the second connection portion may be aged, and the connection between the first connection portion and the second connection portion may be unreliable due to the aged connection terminal on the first connection portion and/or the second connection portion, so that the reliability of the connection between the first connection portion and the second connection portion is improved by controlling the magnetic force of the electromagnet to be increased, thereby being also beneficial to improving the charging efficiency.
Optionally, according to at least one of the above embodiments, the charging system further includes a Radio Frequency Identification (RFID) module and a Near Field Communication (NFC) module, where the RFID module is disposed on one of the electric device and the power supply device, the NFC module is disposed on the other one of the electric device and the power supply device, the RFID module is configured to radiate a radio frequency signal, and the NFC module is configured to scan the radio frequency signal; at least one of the NFC module and the RFID module is connected with a coil in the electromagnet;
the step of adjusting the magnetism of the electromagnet in response to the state information may further include:
and under the condition that the state information is the second information and one of the NFC module and the RFID module identifies a radio frequency signal with the other one of the NFC module and the RFID module by multiplexing the coil, controlling the magnetic force of the electromagnet to increase so as to connect the first connecting part and the second connecting part.
In this embodiment, when the NFC module scans the radio frequency signal radiated by the RFID module, that is, it is determined that the adapted electric device and the power supply device are close to each other, the magnetic force of the electromagnet is controlled to increase, so that the first connection portion and the second connection portion are connected, and the power supply device can supply power to the electric device.
Specifically, the setting relationship, the connection relationship, and the like of the electromagnet, the NFC module, and the RFID module between the electric device and the power supply device can refer to the embodiment of the charging system, and are not described herein again.
Optionally, an acceleration sensor may be further disposed on the electric device, and the method further includes:
acquiring movement information detected by the acceleration sensor;
the step of adjusting the magnetism of the electromagnet in response to the state information may specifically include:
and adjusting the magnetic force of the electromagnet to increase under the condition that the state information is first information and the movement information reaches a preset condition.
Like this, be connected between consumer and power supply unit, under the condition that the consumer is in charged state promptly, if detect that removal information satisfies the preset condition (if the migration velocity reaches preset velocity value, perhaps the acceleration of movement reaches preset removal acceleration value), the phenomenon that the consumer falls probably exists, through the magnetic force increase of adjusting the electromagnet promptly to increase the suction between consumer and the power supply unit, avoid the consumer to fall, thereby prevent that the consumer from probably falling and damaging.
The above method is explained below with reference to a specific example of a charging system in which a power-using device is provided with a first electromagnet and a power-supplying device is provided with a second electromagnet; the electric equipment is also provided with an NFC module which multiplexes a first coil in the first electromagnet; the power supply equipment is also provided with an RFID module which multiplexes a second coil in the second electromagnet; the step of adjusting the magnetism of the electromagnet may include at least one of:
under the condition that the electric equipment is not in a charging state, the NFC module at the electric equipment end performs low-frequency scanning to determine whether power supply equipment of the standard RFID module exists or not by multiplexing a first coil in the first electromagnet as an antenna; (for example, the distance between the power supply device and the powered device is within a predetermined range, which may be a signal scanning range of the NFC module); when the power supply equipment end RFID module is used for radiating radio-frequency signals by multiplexing a second coil in a second electromagnet as an antenna, and the electric equipment end NFC module is used for scanning the radio-frequency signals radiated by the RFID module by multiplexing a first coil in a first electromagnet as the antenna, determining that the power supply equipment approaches to the electric equipment, driving the first electromagnet coil by controlling a first driving circuit in the electric equipment, and controlling a second driving circuit in the electric equipment to control a second electromagnet, so that the first electromagnet and the second electromagnet generate magnetism and attract each other, namely, establishing magnetic connection between the electric equipment and a charging interface (such as a first connecting part and a second connecting part) of the power supply equipment;
after the magnetic connection is established, detecting the contact pressure between the charging interfaces of the electric equipment and the power supply equipment through a pressure sensor, comparing the detected contact pressure with a set value, feeding back a signal to coil driving ends of the first electromagnet and the second electromagnet if the contact pressure is deviated from the set value, and adjusting the magnetic attraction of the first electromagnet and/or the second electromagnet by adjusting the driving current of a driving circuit;
under the condition that the electric equipment is in a charging state, detecting the voltage drop of a power supply terminal (such as a VBUS terminal in a USB interface) in a charging interface of the electric equipment, and if the voltage drop of the power supply terminal exceeds a threshold value, indicating that the connection terminal of the charging interface is likely to have an aging phenomenon, controlling a driving circuit to increase the driving current to increase and adjust the magnetic attraction of a first electromagnet and/or a second electromagnet, reducing the contact impedance of the connection terminal, preventing the influence on the charging time, and thus being beneficial to improving the charging efficiency;
after the electric equipment is fully charged, if a user does not unplug the power supply equipment for a long time, namely after the electric equipment is fully charged, the connection time of the electric equipment and the power supply equipment exceeds the preset time, the first driving circuit in the electric equipment can be controlled to stop supplying power to the first electromagnet, and the second driving circuit in the electric equipment is controlled to stop supplying power to the second electromagnet, so that after the magnetism of the first electromagnet and the magnetism of the second electromagnet are reduced, the power supply equipment is automatically dropped off to disconnect the electric equipment and the power supply equipment, and the safety is improved;
further, when the electric device is in a charging state, the first switching element Q1 and the fourth switching element Q4 in the driving circuit are turned on (as shown in fig. 3), and the electric device and the power supply device attract each other, that is, the electric device and the power supply device are connected through a charging interface, and the power supply device charges the electric device; after the charging of the electric equipment is completed, when the electric equipment is disconnected from the power supply equipment, the first switching element Q1 and the fourth switching element Q4 in the driving circuit are turned off, the second switching element Q2 and the third switching element Q3 are turned on, so that the current in the electromagnet is reversed (as shown in fig. 4), the iron core in the electromagnet is demagnetized, the magnetic field strength of the electromagnet is detected through the hall sensor at the moment, and when the magnetic field strength is lower than a threshold value, the second switching element Q2 and the third switching element Q3 are turned off, so that the demagnetization is completed.
It should be noted that, the charging control method according to the embodiment of the present invention is applied to a charging system, and it should be understood that the charging control method may also be applied to an electronic device (i.e., an electrical device), and the control of the charger may be implemented by sending a control signal to the charger (i.e., a power supply device) by the electrical device; of course, the charging control method may also be applied to a charger, and a signal may be fed back to the electronic device through the charger, so that the electronic device implements a control function according to the feedback signal; in addition, the charger and the electronic device can respectively realize independent control through information interaction, and the invention is not particularly limited.
The embodiment of the invention also provides a charging system, which comprises electric equipment and power supply equipment; the power consumption equipment is provided with a first connecting part, and the power supply equipment is provided with a second connecting part; one of the electric equipment and the power supply equipment is provided with a magnetic part, the other one of the electric equipment and the power supply equipment is provided with an electromagnet, and the electromagnet is arranged corresponding to the magnetic part;
the charging system further includes:
the first acquisition module is used for acquiring state information between the first connecting part and the second connecting part; the state information comprises first information that the first connecting part is connected with the second connecting part and second information that the first connecting part is separated from the second connecting part;
a response module to adjust a magnetism of the electromagnet in response to the status information.
Optionally, a first electromagnet is arranged on the power consumption device, and a second electromagnet is arranged on the power supply device; the charging system further includes:
the second acquisition module is used for acquiring the electric quantity information of the electric equipment;
the response module includes:
and the first control submodule is used for controlling the magnetic force of the first electromagnet and the magnetic force of the second electromagnet to be reduced under the condition that the state information is the first information and the electric quantity information meets a preset condition so as to separate the first connecting part from the second connecting part.
Optionally, the charging system further comprises a driving circuit, and the driving circuit is connected with the electromagnet;
the response module includes:
a second control submodule for controlling the drive circuit to output a current to the electromagnet so that the electromagnet has magnetism, when the state information is the first information;
and the third control sub-module is used for controlling the driving circuit to stop outputting current to the electromagnet under the condition that the state information is the second information.
Optionally, the driving circuit includes: a driving power source, a first switching element, a second switching element, a third switching element, and a fourth switching element; a first end of the electromagnet is connected with the first switching element and the second switching element respectively, and a second end of the electromagnet is connected with the third switching element and the fourth switching element respectively; the first switching element and the third switching element are respectively connected with the driving power supply, and the second switching element and the fourth switching element are respectively grounded;
the second control sub-module includes:
a first control unit for controlling the first switching element and the fourth switching element to be turned on and the second switching element and the third switching element to be turned off so that the driving circuit outputs a current in a first direction to the electromagnet;
the third control sub-module comprises:
and the second control unit is used for controlling the second switching element and the third switching element to be switched on and controlling the first switching element and the fourth switching element to be switched off so that the driving circuit outputs current in a second direction to the electromagnet, and after a preset condition is reached, controlling the first switching element, the second switching element, the third switching element and the fourth switching element to be switched off so that the driving circuit stops outputting current to the electromagnet.
Optionally, the charging system further includes a hall sensor, and the hall sensor is disposed close to the electromagnet; the charging system further includes:
the third acquisition module is used for acquiring the magnetic field strength value of the electromagnet detected by the Hall sensor;
the second control unit includes:
and the control subunit is used for controlling the second switching element and the third switching element to be switched on and controlling the first switching element and the fourth switching element to be switched off so as to enable the driving circuit to output the current in the second direction to the electromagnet, and controlling the first switching element, the second switching element, the third switching element and the fourth switching element to be switched off in a whole manner so as to enable the driving circuit to stop outputting the current to the electromagnet when the magnetic field strength value is lower than a first threshold.
Optionally, the charging system further includes a pressure sensor disposed on one of the first connection portion and the second connection portion; the charging system further includes:
the fourth acquisition module is used for acquiring a contact pressure value between the first connecting part and the second connecting part detected by the pressure sensor;
the response module includes:
and the adjusting submodule is used for adjusting the magnetic force of the electromagnet according to the pressure value under the condition that the state information is the first information.
Optionally, the charging system further includes:
a fifth acquiring module, configured to acquire a voltage drop value at a charging terminal of the first connecting portion and/or the second connecting portion;
the response module includes:
and the fourth control submodule is used for controlling the magnetic force of the electromagnet to increase under the condition that the state information is the first information and the pressure drop value exceeds a second threshold.
Optionally, the charging system further includes an RFID module and an NFC module, the RFID module is disposed on one of the electric device and the power supply device, the NFC module is disposed on the other one of the electric device and the power supply device, the RFID module is configured to radiate a radio frequency signal, and the NFC module is configured to scan the radio frequency signal; at least one of the NFC module and the RFID module is connected with a coil in the electromagnet;
the response module includes:
and the fifth control submodule is used for controlling the magnetic force of the electromagnet to increase so as to connect the first connecting part and the second connecting part under the condition that the state information is the second information and one of the NFC module and the RFID module and the other of the NFC module and the RFID module identify radio frequency signals by multiplexing the coil.
The charging system provided by the embodiment of the present invention can implement each process implemented by the charging system in the above method embodiments, and is not described herein again to avoid repetition.
In the charging system in the embodiment of the invention, the electromagnet is arranged on one of the electric equipment and the power supply equipment, and the magnetism of the electromagnet is adjustable, so that the problems that the connection between the first connecting part and the second connecting part is unreliable due to the fact that the magnetism of the magnet possibly disappears in a mode that the first connecting part and the second connecting part are magnetically connected by adopting the magnet and iron pieces are easily adsorbed by the magnet are solved; and still because the magnetism of electromagnet is adjustable, can be through the state information between first connecting portion and the second connecting portion, adjust the magnetism of electromagnet for first connecting portion are connected or are separated with the second connecting portion, and still be favorable to guaranteeing the reliability that first connecting portion and second connecting portion are connected, and reduce the consumer/the power supply unit of magnetism charging mode and produce the interference to magnetism sensitive product (such as card, the wrist-watch etc. that have the magnetic stripe such as bank card).
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and a power supply 1011. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 10 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Optionally, the electronic device further comprises a first connection portion and a first electromagnet.
The first connecting part is connected with the power source 1011, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, under the condition that the second connecting part is matched with the first connecting part, the electronic equipment is charged through the charger, and the charger is provided with a first magnetic part; the first electromagnet is arranged corresponding to the first magnetic piece, and the magnetism of the first electromagnet is adjustable.
The processor 1010 is configured to obtain state information between the first connection portion and the second connection portion; the state information comprises first information that the first connecting part is connected with the second connecting part and second information that the first connecting part is separated from the second connecting part; adjusting a magnetic property of the first electromagnet in response to the state information.
In the embodiment of the invention, the electronic equipment is provided with the electromagnet, and the problem that the connection between the first connecting part and the second connecting part is unreliable due to the fact that the magnetism of the magnet possibly disappears in a mode that the magnet is adopted to realize the magnetic attraction connection between the first connecting part and the second connecting part is solved because the magnetism of the electromagnet is adjustable, and the problem that the magnet is easy to adsorb scrap iron; and still because the magnetism of electromagnet is adjustable, can be through the state information between first connecting portion and the second connecting portion, adjust the magnetism of electromagnet for first connecting portion are connected or are separated with the second connecting portion, and still be favorable to guaranteeing the reliability that first connecting portion and second connecting portion are connected, and reduce the electronic equipment of magnetism charging mode and produce the interference to magnetism sensitive product (such as card, wrist-watch etc. that have the magnetic stripe such as bank card).
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1001 may be used for receiving and sending signals during a message transmission or a call, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 1010; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 1001 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 1001 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 1002, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 1003 may convert audio data received by the radio frequency unit 1001 or the network module 1002 or stored in the memory 1009 into an audio signal and output as sound. Also, the audio output unit 1003 may also provide audio output related to a specific function performed by the electronic apparatus 1000 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 1003 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1004 is used to receive an audio or video signal. The input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, the Graphics processor 10041 Processing image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 1006. The image frames processed by the graphic processor 10041 may be stored in the memory 1009 (or other storage medium) or transmitted via the radio frequency unit 1001 or the network module 1002. The microphone 10042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 1001 in case of a phone call mode.
The electronic device 1000 also includes at least one sensor 1005, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 10061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 10061 and/or the backlight when the electronic device 1000 moves to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 1005 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 1006 is used to display information input by the user or information provided to the user. The Display unit 1006 may include a Display panel 10061, and the Display panel 10061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1007 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 10071 (e.g., operations by a user on or near the touch panel 10071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 10071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1010, and receives and executes commands sent by the processor 1010. In addition, the touch panel 10071 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 10071, the user input unit 1007 can include other input devices 10072. Specifically, the other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 10071 can be overlaid on the display panel 10061, and when the touch panel 10071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 1010 to determine the type of the touch event, and then the processor 1010 provides a corresponding visual output on the display panel 10061 according to the type of the touch event. Although in fig. 10, the touch panel 10071 and the display panel 10061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 10071 and the display panel 10061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 1008 is an interface for connecting an external device to the electronic apparatus 1000. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1008 may be used to receive input from external devices (e.g., data information, power, etc.) and transmit the received input to one or more elements within the electronic device 1000 or may be used to transmit data between the electronic device 1000 and the external devices.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1009 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 1010 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 1009 and calling data stored in the memory 1009, thereby integrally monitoring the electronic device. Processor 1010 may include one or more processing units; preferably, the processor 1010 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The electronic device 1000 may further include a power source 1011 (e.g., a battery) for supplying power to various components, and preferably, the power source 1011 may be logically connected to the processor 1010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
In addition, the electronic device 1000 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 1010, a memory 1009, and a computer program stored in the memory 1009 and capable of running on the processor 1010, where the computer program is executed by the processor 1010 to implement each process of the above charging control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above charging control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (29)

1. An electronic device, comprising:
an apparatus body portion having a battery disposed therein;
the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the charger is provided with a first magnetic part;
the first electromagnet is arranged on the equipment body part, the first electromagnet is arranged corresponding to the first magnetic piece, and the magnetism of the first electromagnet is adjustable;
further comprising:
a first drive circuit connected to the first electromagnet, the first drive circuit for adjusting a magnetic property of the first electromagnet;
further comprising:
the first Hall sensor is arranged close to the first electromagnet and used for detecting the magnetic field intensity of the first electromagnet;
when the first driving circuit outputs a current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet, disconnecting the first electromagnet from the first magnetic piece, further outputting current in a second direction to the first electromagnet through the first driving circuit, and controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet when the first hall sensor detects that the magnetic field strength of the first electromagnet is smaller than a first threshold; or
When the first driving circuit outputs current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet, disconnecting the first electromagnet from the first magnetic piece, and further, when the first hall sensor detects that the magnetic field strength of the first electromagnet is greater than or equal to a first threshold, outputting current in a second direction to the first electromagnet through the first driving circuit so as to control the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet after the magnetic field strength of the first electromagnet is smaller than the first threshold; or
When the first driving circuit outputs current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, the first electromagnet is disconnected from the first magnetic piece, then the first driving circuit outputs current in a second direction to the first electromagnet, and when the first Hall sensor detects that the magnetic field strength of the first electromagnet is smaller than a first threshold, the first driving circuit is controlled to stop outputting current to the first electromagnet, so that the first electromagnet is powered off.
2. The electronic apparatus according to claim 1, wherein the first electromagnet is provided on the first connecting portion.
3. The electronic device according to claim 1, wherein the first drive circuit comprises: a first driving power source, a first sub-switching element, a second sub-switching element, a third sub-switching element, and a fourth sub-switching element;
a first end of the first electromagnet is connected with the first sub-switching element and the second sub-switching element, respectively, and a second end of the first electromagnet is connected with the third sub-switching element and the fourth sub-switching element, respectively;
the first sub-switching element and the third sub-switching element are respectively connected with the first driving power supply, and the second sub-switching element and the fourth sub-switching element are respectively grounded;
wherein switching states of the first sub-switching element and the fourth sub-switching element are the same; the switching states of the second sub-switching element and the third sub-switching element are the same.
4. The electronic device of any of claims 1-3, further comprising:
the first pressure sensor is arranged on the first connecting portion and used for detecting contact pressure on the first connecting portion.
5. The electronic device of any of claims 1-3, further comprising:
a Near Field Communication (NFC) module connected to a first coil in the first electromagnet to multiplex the first coil; the NFC module is used for scanning radio frequency signals.
6. The electronic device of any of claims 1-3, further comprising:
a Radio Frequency Identification (RFID) module connected to a first coil in the first electromagnet to multiplex the first coil; the RFID module is used for radiating radio frequency signals.
7. A charger, comprising:
a charging body portion adapted to connect to a power source;
the second connecting part is connected with the charging body part and is suitable for being detachably connected with a first connecting part of electronic equipment, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the electronic equipment is provided with a second magnetic part;
the second electromagnet is arranged on the second connecting part, the second electromagnet is arranged corresponding to the second magnetic piece, and the magnetism of the second electromagnet is adjustable;
further comprising:
a second drive circuit connected to the second electromagnet; the second driving circuit is used for adjusting the magnetism of the second electromagnet;
further comprising:
a second Hall sensor disposed proximate to the second electromagnet, the second Hall sensor configured to detect a magnetic field strength of the second electromagnet;
when the second driving circuit outputs a current in a first direction to the second electromagnet, the second electromagnet is attracted to the second magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, controlling the second driving circuit to stop outputting current to the second electromagnet so as to power off the second electromagnet, disconnecting the second electromagnet from the second magnetic piece, further outputting current in a second direction to the second electromagnet through the second driving circuit, and controlling the second driving circuit to stop outputting current to the second electromagnet so as to power off the second electromagnet when the second hall sensor detects that the magnetic field strength of the second electromagnet is smaller than a first threshold; or
When the second driving circuit outputs current in a first direction to the second electromagnet, the second electromagnet is attracted to the second magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, controlling the second driving circuit to stop outputting current to the second electromagnet so as to power off the second electromagnet, disconnecting the second electromagnet from the second magnetic part, and further, when the second hall sensor detects that the magnetic field strength of the second electromagnet is greater than or equal to a first threshold, outputting current in a second direction to the second electromagnet through the second driving circuit so as to control the second driving circuit to stop outputting current to the second electromagnet so as to power off the second electromagnet after the magnetic field strength of the second electromagnet is smaller than the first threshold; or
When the second driving circuit outputs current in a first direction to the second electromagnet, the second electromagnet is attracted to the second magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, the second electromagnet is disconnected from the second magnetic piece, then the second driving circuit outputs current in a second direction to the second electromagnet, and when the second Hall sensor detects that the magnetic field strength of the second electromagnet is smaller than a first threshold, the second driving circuit is controlled to stop outputting current to the second electromagnet, so that the second electromagnet is powered off.
8. The charger according to claim 7, wherein the second electromagnet is provided on the second connecting portion.
9. The charger according to claim 7, wherein the second driving circuit comprises: a second driving power supply, a fifth sub-switching element, a sixth sub-switching element, a seventh sub-switching element, and an eighth sub-switching element;
a first end of the second electromagnet is connected with the fifth sub-switching element and the sixth sub-switching element, respectively, and a second end of the second electromagnet is connected with the seventh sub-switching element and the eighth sub-switching element, respectively;
the fifth sub-switching element and the seventh sub-switching element are respectively connected with the second driving power supply, and the sixth sub-switching element and the eighth sub-switching element are respectively grounded;
wherein switching states of the fifth sub-switching element and the eighth sub-switching element are the same; the switching states of the sixth sub-switching element and the seventh sub-switching element are the same.
10. The charger according to any one of claims 7 to 9, further comprising:
and the second pressure sensor is arranged on the second connecting part and is used for detecting the contact pressure on the second connecting part.
11. The charger according to any one of claims 7 to 9, further comprising:
a Radio Frequency Identification (RFID) module connected to a second coil in the second electromagnet to multiplex the second coil; the RFID module is used for radiating radio frequency signals.
12. The charger according to any one of claims 7 to 9, further comprising:
a Near Field Communication (NFC) module connected to a second coil in the second electromagnet to multiplex the second coil; the NFC module is used for scanning radio frequency signals.
13. An electrical charging system, comprising: an electronic device as claimed in any one of claims 1 to 6 and a charger as claimed in any one of claims 7 to 12.
14. A charging control method is applied to an electronic device, wherein the electronic device comprises a device body part, a first connecting part and a first electromagnet; a battery is arranged in the equipment body part; the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the charger is provided with a first magnetic part; the first electromagnet is arranged on the equipment body part and corresponds to the first magnetic part;
the method comprises the following steps:
acquiring state information between the first connecting part and the second connecting part; the state information comprises first information that the first connecting part is connected with the second connecting part and second information that the first connecting part is separated from the second connecting part;
adjusting a magnetic property of the first electromagnet in response to the status information;
the electronic device further comprises a first drive circuit connected with the first electromagnet;
the adjusting the magnetism of the first electromagnet in response to the state information includes:
when the state information is the first information, controlling the first drive circuit to output current to the first electromagnet so that the first electromagnet has magnetism;
controlling the first drive circuit to stop outputting the current to the first electromagnet if the state information is the second information;
the electronic equipment further comprises a first Hall sensor, the first Hall sensor is arranged close to the first electromagnet, and the first Hall sensor is used for detecting the magnetic field intensity of the first electromagnet;
when the first driving circuit outputs a current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet, disconnecting the first electromagnet from the first magnetic piece, further outputting current in a second direction to the first electromagnet through the first driving circuit, and controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet when the first hall sensor detects that the magnetic field strength of the first electromagnet is smaller than a first threshold; or
When the first driving circuit outputs current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet, disconnecting the first electromagnet from the first magnetic piece, and further, when the first hall sensor detects that the magnetic field strength of the first electromagnet is greater than or equal to a first threshold, outputting current in a second direction to the first electromagnet through the first driving circuit so as to control the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet after the magnetic field strength of the first electromagnet is smaller than the first threshold; or
When the first driving circuit outputs current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, the first electromagnet is disconnected from the first magnetic piece, then the first driving circuit outputs current in a second direction to the first electromagnet, and when the first Hall sensor detects that the magnetic field strength of the first electromagnet is smaller than a first threshold, the first driving circuit is controlled to stop outputting current to the first electromagnet, so that the first electromagnet is powered off.
15. The charge control method according to claim 14, wherein the first magnetic member is a second electromagnet; the method further comprises the following steps:
acquiring electric quantity information of the electronic equipment;
the adjusting the magnetism of the first electromagnet in response to the state information includes:
and when the state information is the first information and the electric quantity information meets a preset condition, controlling the magnetic force of the first electromagnet to be reduced, and sending a first control signal to the charger so that the charger controls the magnetic force of the second electromagnet to be reduced according to the first control signal, so that the first connecting part is separated from the second connecting part.
16. The charge control method according to claim 14, wherein the first drive circuit comprises: a first driving power source, a first sub-switching element, a second sub-switching element, a third sub-switching element, and a fourth sub-switching element; a first end of the first electromagnet is connected with the first sub-switching element and the second sub-switching element, respectively, and a second end of the first electromagnet is connected with the third sub-switching element and the fourth sub-switching element, respectively; the first sub-switching element and the third sub-switching element are respectively connected with the first driving power supply, and the second sub-switching element and the fourth sub-switching element are respectively grounded;
the controlling the first drive circuit to output a current to the first electromagnet includes:
controlling the first sub-switching element and the fourth sub-switching element to be turned on, and controlling the second sub-switching element and the third sub-switching element to be turned off, so that the first driving circuit outputs a current in a first direction to the first electromagnet;
the controlling the first drive circuit to stop outputting the current to the first electromagnet includes:
and controlling the second sub-switching element and the third sub-switching element to be turned on, and controlling the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and after a predetermined condition is reached, controlling all of the first sub-switching element, the second sub-switching element, the third sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting the current to the first electromagnet.
17. The charge control method according to claim 16, characterized by further comprising:
acquiring a magnetic field strength value of the first electromagnet detected by the first Hall sensor;
the controlling the second sub-switching element and the third sub-switching element to be turned on, and the controlling the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and after a predetermined condition is reached, the controlling the first sub-switching element, the second sub-switching element, the third sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting a current to the first electromagnet, includes:
and controlling the second sub-switching element and the third sub-switching element to be turned on, and controlling the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and controlling all of the first sub-switching element, the second sub-switching element, the third sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting the current to the first electromagnet, when the magnetic field intensity value is smaller than a first threshold.
18. The charge control method according to any one of claims 14 to 17, wherein the electronic device further includes a first pressure sensor provided on the first connection portion;
the method further comprises the following steps:
acquiring a contact pressure value between the first connecting part and the second connecting part detected by the first pressure sensor;
the adjusting the magnetism of the first electromagnet in response to the state information includes:
and under the condition that the state information is the first information, adjusting the magnetic force of the first electromagnet according to the contact pressure value.
19. The charge control method according to any one of claims 14 to 17, characterized by further comprising:
acquiring a voltage drop value on a charging terminal of the first connection part and/or the second connection part;
the adjusting the magnetism of the first electromagnet in response to the state information includes:
and controlling the magnetic force of the first electromagnet to increase when the state information is the first information and the pressure drop value exceeds a second threshold.
20. The charge control method according to any one of claims 14 to 17, wherein the electronic device further includes a Near Field Communication (NFC) module, and the charger further includes a Radio Frequency Identification (RFID) module; the NFC module is connected with a first coil in the first electromagnet;
the adjusting the magnetism of the first electromagnet in response to the state information includes:
and under the condition that the state information is the second information and the NFC module scans the radio-frequency signal radiated by the RFID module through the first coil as an antenna, controlling the magnetic force of the first electromagnet to increase so as to connect the first connecting part and the second connecting part.
21. An electronic apparatus characterized by comprising an apparatus body portion, a first connecting portion, and a first electromagnet; a battery is arranged in the equipment body part; the first connecting part is arranged on the equipment body part and is connected with the battery, the first connecting part is suitable for being detachably connected with a second connecting part of a charger, the electronic equipment is charged through the charger under the condition that the second connecting part is matched with the first connecting part, and the charger is provided with a first magnetic part; the first electromagnet is arranged on the equipment body part and corresponds to the first magnetic part;
the electronic device further includes:
the first acquisition module is used for acquiring state information between the first connecting part and the second connecting part; the state information comprises first information that the first connecting part is connected with the second connecting part and second information that the first connecting part is separated from the second connecting part;
a response module for adjusting the magnetism of the first electromagnet in response to the status information;
the electronic device further comprises a first drive circuit connected with the first electromagnet;
the response module includes:
a second control submodule for controlling the first drive circuit to output a current to the first electromagnet so that the first electromagnet has magnetism, when the state information is the first information;
a third control sub-module configured to control the first driving circuit to stop outputting the current to the first electromagnet if the state information is the second information;
the electronic equipment further comprises a first Hall sensor, the first Hall sensor is arranged close to the first electromagnet, and the first Hall sensor is used for detecting the magnetic field intensity of the first electromagnet;
when the first driving circuit outputs a current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet, disconnecting the first electromagnet from the first magnetic piece, further outputting current in a second direction to the first electromagnet through the first driving circuit, and controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet when the first hall sensor detects that the magnetic field strength of the first electromagnet is smaller than a first threshold; or
When the first driving circuit outputs current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, controlling the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet, disconnecting the first electromagnet from the first magnetic piece, and further, when the first hall sensor detects that the magnetic field strength of the first electromagnet is greater than or equal to a first threshold, outputting current in a second direction to the first electromagnet through the first driving circuit so as to control the first driving circuit to stop outputting current to the first electromagnet so as to power off the first electromagnet after the magnetic field strength of the first electromagnet is smaller than the first threshold; or
When the first driving circuit outputs current in a first direction to the first electromagnet, the first electromagnet is attracted to the first magnetic piece, so that the first connecting part is connected with the second connecting part; when the charging of the battery of the electronic device is completed, the first electromagnet is disconnected from the first magnetic piece, then the first driving circuit outputs current in a second direction to the first electromagnet, and when the first Hall sensor detects that the magnetic field strength of the first electromagnet is smaller than a first threshold, the first driving circuit is controlled to stop outputting current to the first electromagnet, so that the first electromagnet is powered off.
22. The electronic device of claim 21, wherein the first magnetic member is a second electromagnet;
the electronic device further includes:
the second acquisition module is used for acquiring the electric quantity information of the electronic equipment;
the response module includes:
and the first control submodule is used for controlling the magnetic force of the first electromagnet to be reduced and sending a first control signal to the charger under the condition that the state information is the first information and the electric quantity information meets a preset condition, so that the charger controls the magnetic force of the second electromagnet to be reduced according to the first control signal, and the first connecting part is separated from the second connecting part.
23. The electronic device of claim 21, wherein the first driver circuit comprises: a first driving power source, a first sub-switching element, a second sub-switching element, a third sub-switching element, and a fourth sub-switching element; a first end of the first electromagnet is connected with the first sub-switching element and the second sub-switching element, respectively, and a second end of the first electromagnet is connected with the third sub-switching element and the fourth sub-switching element, respectively; the first sub-switching element and the third sub-switching element are respectively connected with the first driving power supply, and the second sub-switching element and the fourth sub-switching element are respectively grounded;
the second control sub-module includes:
a first control unit for controlling the first sub-switching element and the fourth sub-switching element to be turned on and the second sub-switching element and the third sub-switching element to be turned off so that the first driving circuit outputs a current in a first direction to the first electromagnet;
the third control sub-module comprises:
and a second control unit configured to control the second sub-switching element and the third sub-switching element to be turned on, and control the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and after a predetermined condition is reached, control all of the first sub-switching element, the second sub-switching element, the third sub-switching element, and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting a current to the first electromagnet.
24. The electronic device of claim 23, further comprising:
the third acquisition module is used for acquiring the magnetic field strength value of the first electromagnet detected by the first Hall sensor;
the second control unit includes:
and a control subunit, configured to control the second sub-switching element and the third sub-switching element to be turned on, and control the first sub-switching element and the fourth sub-switching element to be turned off, so that the first driving circuit outputs a current in a second direction to the first electromagnet, and in a case where the magnetic field intensity value is smaller than a first threshold, control all of the first sub-switching element, the second sub-switching element, the third sub-switching element, and the fourth sub-switching element to be turned off, so that the first driving circuit stops outputting the current to the first electromagnet.
25. The electronic device according to any one of claims 21 to 24, further comprising a first pressure sensor provided on the first connection portion;
the electronic device further includes:
the fourth acquisition module is used for acquiring a contact pressure value between the first connecting part and the second connecting part, which is detected by the first pressure sensor;
the response module includes:
and the adjusting submodule is used for adjusting the magnetic force of the first electromagnet according to the contact pressure value under the condition that the state information is the first information.
26. The electronic device of any of claims 21-24, further comprising:
a fifth acquiring module, configured to acquire a voltage drop value at a charging terminal of the first connecting portion and/or the second connecting portion;
the response module includes:
and the fourth control submodule is used for controlling the magnetic force of the first electromagnet to increase under the condition that the state information is the first information and the pressure drop value exceeds a second threshold.
27. The electronic device of any one of claims 21-24, further comprising a Near Field Communication (NFC) module, wherein the charger further comprises a Radio Frequency Identification (RFID) module configured to radiate a radio frequency signal, and wherein the NFC module is configured to scan for the radio frequency signal; the NFC module is connected with a first coil in the first electromagnet;
the response module includes:
and the fifth control submodule is used for controlling the magnetic force of the first electromagnet to increase under the condition that the state information is the second information and the NFC module scans the radio-frequency signal radiated by the RFID module through the first coil as an antenna, so that the first connecting part is connected with the second connecting part.
28. An electronic device comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the charge control method according to any one of claims 14 to 20.
29. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the charge control method according to any one of claims 14 to 20.
CN201911356165.1A 2019-12-25 2019-12-25 Electronic device, charger and charging control method Active CN110994739B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911356165.1A CN110994739B (en) 2019-12-25 2019-12-25 Electronic device, charger and charging control method
PCT/CN2020/138942 WO2021129722A1 (en) 2019-12-25 2020-12-24 Electronic device, charger, and charging control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911356165.1A CN110994739B (en) 2019-12-25 2019-12-25 Electronic device, charger and charging control method

Publications (2)

Publication Number Publication Date
CN110994739A CN110994739A (en) 2020-04-10
CN110994739B true CN110994739B (en) 2022-02-15

Family

ID=70076573

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911356165.1A Active CN110994739B (en) 2019-12-25 2019-12-25 Electronic device, charger and charging control method

Country Status (2)

Country Link
CN (1) CN110994739B (en)
WO (1) WO2021129722A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110994739B (en) * 2019-12-25 2022-02-15 维沃移动通信有限公司 Electronic device, charger and charging control method
CN114052775A (en) * 2020-07-29 2022-02-18 深圳迈瑞生物医疗电子股份有限公司 Power supply device of ultrasonic imaging equipment, ultrasonic imaging system and ultrasonic imaging equipment
GB2597770A (en) * 2020-08-05 2022-02-09 Daimler Ag A method for connecting an electric plug of a power supply station with an electric socket of an electric vehicle
CN112186840B (en) * 2020-09-18 2022-11-25 维沃移动通信有限公司 Wearable device, control method and control device of wearable device
CN112186839B (en) * 2020-09-18 2022-11-25 维沃移动通信有限公司 Wearable device, control method of wearable device and control device
CN113224809A (en) * 2021-04-19 2021-08-06 维沃移动通信有限公司 Electronic equipment, charger, control method and control device thereof
CN113690959A (en) * 2021-07-15 2021-11-23 安克创新科技股份有限公司 Wireless charging device is inhaled to magnetism
CN114977391A (en) * 2022-05-25 2022-08-30 维沃移动通信有限公司 Wireless charger and charging method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009142795A1 (en) * 2008-03-03 2009-11-26 Mitch Randall Apparatus and method for retrofitting a broad range of mobile devices to receive wireless power
CN110611346A (en) * 2019-09-11 2019-12-24 奇酷互联网络科技(深圳)有限公司 Charging method, charging device, storage medium and charger

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101162552B1 (en) * 2005-06-30 2012-07-05 엘지전자 주식회사 Charging system for portable phone
US11191451B2 (en) * 2013-04-01 2021-12-07 Medical Design Solutions, Inc. Wearable monitoring system and methods for determining respiratory and sleep disorders with same
CN204538778U (en) * 2015-05-11 2015-08-05 林鸿志 A kind of intelligent personal mobile electronic device
CN106712189A (en) * 2016-12-30 2017-05-24 宇龙计算机通信科技(深圳)有限公司 Charging control method and system, and electronic equipment
CN107069903B (en) * 2017-06-22 2019-08-13 京东方科技集团股份有限公司 A kind of charging system and charging method
CN110474437B (en) * 2019-08-30 2022-08-02 维沃移动通信有限公司 Wireless charging method and related equipment
CN110994739B (en) * 2019-12-25 2022-02-15 维沃移动通信有限公司 Electronic device, charger and charging control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009142795A1 (en) * 2008-03-03 2009-11-26 Mitch Randall Apparatus and method for retrofitting a broad range of mobile devices to receive wireless power
CN110611346A (en) * 2019-09-11 2019-12-24 奇酷互联网络科技(深圳)有限公司 Charging method, charging device, storage medium and charger

Also Published As

Publication number Publication date
CN110994739A (en) 2020-04-10
WO2021129722A1 (en) 2021-07-01

Similar Documents

Publication Publication Date Title
CN110994739B (en) Electronic device, charger and charging control method
US11527914B2 (en) Electronic device, wireless charging device, and wireless charging method
US20210320410A1 (en) Mobile terminal and antenna control method
CN109638451B (en) Mobile terminal and antenna control method
CN107800881B (en) Mobile terminal and mobile terminal protection method
CN108494030B (en) Wireless charging method, terminal and transmitting terminal equipment
CN108631694B (en) Voice coil motor control method and mobile terminal
EP3930138B1 (en) Charging control circuit, terminal device and control method
CN110474437B (en) Wireless charging method and related equipment
CN109995110B (en) Connector, electronic equipment, data transmission method and device
CN107834640B (en) Charging method and terminal
CN110213411B (en) Light source control method and terminal
US20210391753A1 (en) Terminal and wireless charging control method
CN110806802A (en) Wearable device, state detection method and state detection device
CN110571952B (en) Wireless charging method and related equipment
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
CN110972037B (en) Exciter, electronic equipment and control method and device thereof
CN109274880B (en) Dual camera device and mobile terminal
CN110571953B (en) Wireless charging method and related equipment
WO2021136107A1 (en) Electronic device, control method, and control apparatus
CN111541038B (en) NFC antenna circuit structure, electronic equipment and method for enhancing magnetic field intensity
CN111463912A (en) Electronic device and power supply control method
CN109124647B (en) Laser module, detection method of laser module and terminal
EP4178226A1 (en) Loudspeak structure, and electronic device
WO2021036724A1 (en) Wireless charging method and terminal device

Legal Events

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