Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
A kind of charging/discharging thereof of terminal is provided in the present embodiment, and Fig. 1 is the flow chart according to the charging/discharging thereof of the terminal of the embodiment of the invention, and as shown in Figure 1, this method comprises the steps:
Step S102 detects the wireless signal that whether receives the characteristic frequency that satisfies predetermined signal strength;
Step S104 determines the mode of operation that wireless charge/discharge unit is current according to wireless signal and default identification code, and wherein, this mode of operation is receiving mode or emission mode, and this identification code is used for distinguishing equipment to be charged and wireless charging device;
Step S106 is under the situation of receiving mode in mode of operation, by the coil that discharges and recharges that links to each other with receiving element self is carried out wireless charging; And be under the situation of emission mode in mode of operation, treat charging device and carry out wireless power by the coil that discharges and recharges that links to each other with transmitter unit.
Present embodiment passes through above-mentioned steps, when receiving the wireless signal of the characteristic frequency that satisfies predetermined signal strength, can think that existence can effectively be charged or apparatus operating to be charged near the terminal, at this moment, terminal can be determined the mode of operation of wireless charge/discharge unit according to the wireless signal that receives and the identification code of appointing in advance, thereby determine still to treat charging device and carry out wireless power self carrying out wireless charging, make terminal have the function of wireless charging and wireless power concurrently, it is single and cause the awkward problem of user to have solved in the correlation technique wireless charging device and wireless power functions of the equipments, improve the flexibility that wireless charging/discharging apparatus uses, promoted user's experience.
As a kind of preferred implementation, in order to guarantee the reliability of opposite end charging/discharging apparatus, can before determining the current mode of operation of wireless charge/discharge unit, judge the identity legitimacy of the transmit leg of wireless signal; Perhaps, whether the transmit leg of judging wireless signal is in the effective range.For example, can judge whether transmit leg is legal by the content of the identification code of in wireless signal, carrying.In this way, reduced the possibility that abnormal conditions take place terminal in charge and discharge process, for example, can avoid terminal when power supply, limited electric weight to be sent to the situation appearance of incorrect opposite end equipment to be charged, thereby save resource.
Wherein, the identification code among the step S104 can be that the user sets in advance, also can arrange by other means, and in the specific implementation, can be to discharge and recharge a end in the two ends identification code is carried to send to opposite equip. in the wireless signal.For example, can be that a side's to be charged equipment sends to opposite equip. with identification code, also can be power supply one side's equipment sends.As a kind of preferred implementation, can also be that charging or the equipment of initiatively initiating a side of powering send above-mentioned identification code, and terminal can judge that the transmit leg of wireless signal is equipment to be charged or wireless charging device according to this identification code after receiving identification code; Transmit leg at wireless signal is under the situation of equipment to be charged, can determine that the current mode of operation of wireless charge/discharge unit is emission mode; Transmit leg at wireless signal is under the situation of wireless charging device, can determine that the current mode of operation of wireless charge/discharge unit is receiving mode.In this way, terminal can be adjusted self working mode according to the needs that discharge and recharge opposite equip. easily, has improved the use flexibility of this terminal.
In the specific implementation, can only arrange one in the terminal and discharge and recharge coil, be that the control of receiving element or transmitting element realizes the switching of wireless charge/discharge unit mode of operation between emission mode and receiving mode by the other end that this coil is linked to each other.For example, link to each other (namely with receiving element discharging and recharging coil, the mode of operation of charge/discharge unit is receiving mode) situation under, can will be converted into direct current signal from the AC signal that discharges and recharges coil by receiving element, and by the wireless charging interface be the battery charge of self; And link to each other with transmitter unit (namely discharging and recharging coil, the mode of operation of charge/discharge unit is emission mode) situation under, can will be converted into AC signal from the direct current signal of external power source by transmitter unit, and send to equipment to be charged by the coil that discharges and recharges that links to each other with transmitter unit.
Wherein, there are two aspects in the AC signal source that discharges and recharges coil:
First kind of situation, when terminal as equipment to be charged and when being operated in receiving mode, this AC signal is produced by other wireless charging device, concrete producing method includes but not limited to positive activation type conversion regime that Switching Power Supply is common or inverse-excitation type conversion regime etc., and outwards send by the coil under the wireless charging device (being wireless charging device), the coil that discharges and recharges of above-mentioned terminal receives this AC signal by induction mode, and realizes charging through the AC-DC conversion back of receiving element;
Second kind of situation, when terminal as wireless charging device and when being operated in emission mode, this AC signal is the transmitter unit generation by terminal, concrete mechanism of production is with first kind of situation, this AC signal outwards sends by the coil that discharges and recharges of terminal, other equipment to be charged receives this AC signal by its receiving coil, and through realizing charging after its internal communication-direct current conversion process.
Wherein, the AC signal that discharges and recharges coil can comprise at least two kinds of frequencies, and wherein, first frequency is the operating frequency that realizes the electric energy transmission corresponding to the mode of operation of wireless charging or wireless power; Second frequency is mutual operating frequency between wireless charging device and the equipment to be charged corresponding to detection and the identification of wireless charging device.For example, in a normal wireless charging or wireless power process, AC signal is earlier with second frequency work, in order to send identification code and identity validation, finish affirmation after, AC signal is with first frequency work, in order to realize wireless power transmission.Preferably, in AC signal with the first frequency duration of work, can also realize mutual by second frequency, confirm the state of wireless charging device and equipment to be charged, reciprocal process can occur at interval by certain hour, and finish in the short time at the utmost point, do not influence normally carrying out of wireless charging or wireless power.
For example, above-mentioned terminal can comprise external power source interface, Charge Management unit, wireless charging interface, radio source administrative unit; The external power source interface can link to each other with external power source, and external power source comprises USB (Universal Serial Bus abbreviates USB as) or adapter; The Charge Management unit also comprises the charging modes detecting unit, in order to identify charge mode and to the current charging status information of user feedback; The wireless charging interface links to each other with the Charge Management unit, and links to each other with the radio source administrative unit.Wherein, the external power source interface links to each other with the radio source administrative unit, and the radio source administrative unit is operated under two kinds of patterns: receiving mode and sending mode; When the radio source administrative unit was operated in sending mode, terminal realized the function of wireless power; And this radio source administrative unit can also comprise receiving element, transmitter unit, radio source control unit, recognition of devices unit and coil; Receiving element is operated under the receiving mode of radio source administrative unit; Transmitter unit is operated under the sending mode of radio source administrative unit; The radio source control unit links to each other with coil, and determines that according to the result of recognition of devices unit feedback coil and transmitter unit still are that receiving element links to each other; Transmitter unit and receiving element share same group of coil.
At this moment, when the external power source interface does not have external power supply, and terminal is when being in external wireless charging device effective range, and the radio source administrative unit is operated in receiving mode, and links to each other with the Charge Management unit by the wireless charging interface, the realization wireless charging; Link to each other with external power source and work as the external power source interface, link to each other with the radio source administrative unit simultaneously, and there is other legal equipment to be charged in effective charging scope of terminal, this moment, the radio source administrative unit was operated in sending mode, terminal is as wireless charging device, for other legal equipment to be charged is realized wireless power.
The battery capacity of considering present terminal self is less, though therefore can use the battery of terminal self externally to power, but in order to replenish the electric weight of terminal self battery as early as possible, can before determining the current mode of operation of wireless charge/discharge unit, preferentially outside power interface be monitored; When the external power source interface has the external power source input and do not detect wireless signal, enter wired charge mode.And externally power interface detects under the situation of external power source input, if the battery of equipment to be charged has been full of or equipment to be charged has left effective charging scope, then enters wired charge mode, for self battery carries out wired charging.This shows that this terminal had both had the function of wired charging and wireless charging concurrently, have the function of wireless charging and wireless power again concurrently, corresponding, this terminal comprises three kinds of states: wired charging, wireless charging and wireless power.Wherein, realize wired charge function mode can for: the external power source interface links to each other with the Charge Management unit, when external power source inserts, realizes wired charge function.
And carry out in the process of wired charging for self battery in terminal, if receive wireless signal, confirm to have legal equipment to be charged, then no longer carry out the charging of self battery, switch to the wireless power pattern, this equipment to be charged is carried out wireless power.In this way, can remain charging device need charge the time detecting, preferentially this equipment to be charged be powered, after charging is finished, again for self battery charge, improve user's experience.For example, when the radio source administrative unit was operated in sending mode, terminal was as wireless charging device, by external power source, at this moment, if legal equipment to be charged is confirmed to exist in the recognition of devices unit, then terminal is no longer carried out the charging of self, and switches to the wireless power pattern; When the battery of the legal equipment to be charged in outside had been full of or left the effective charging scope of terminal, terminal switched to wired charge mode, is the battery charge of terminal self.
Corresponding to said method, present embodiment also provides a kind of terminal that discharges and recharges, and this terminal is used for realizing above-described embodiment and preferred implementation, had carried out repeating no more of explanation.As used below, the combination of software and/or the hardware of predetermined function can be realized in term " module ".Although the described device of following examples is preferably realized with software, hardware, perhaps the realization of the combination of software and hardware also may and be conceived.
Fig. 2 is the structured flowchart that discharges and recharges terminal according to the embodiment of the invention, and as shown in Figure 2, this terminal comprises: detection module 22, determination module 24 and processing module 26.Below each module is elaborated.
Detection module 22 is for detection of the wireless signal that whether receives the characteristic frequency that satisfies predetermined signal strength; Determination module 24, be coupled with detection module 22, be used for determining the mode of operation that wireless charge/discharge unit is current according to above-mentioned wireless signal and default identification code, wherein, this mode of operation is receiving mode or emission mode, and this identification code can be used for distinguishing equipment to be charged and wireless charging device; Processing module 26 is coupled with determination module 24, is used for determining that at determination module 24 mode of operation is under the situation of receiving mode, by the coil that discharges and recharges that links to each other with receiving element self is carried out wireless charging; And determine that at determination module 24 mode of operations are under the situation of emission mode, treat charging device and carry out wireless power by the coil that discharges and recharges that links to each other with transmitter unit.
Present embodiment is by above-mentioned module, when detection module 22 receives the wireless signal of the characteristic frequency that satisfies predetermined signal strength, can think that existence can effectively be charged or apparatus operating to be charged near the terminal, at this moment, terminal can be determined the mode of operation of wireless charge/discharge unit by determination module 24 according to the wireless signal that receives and the identification code appointed in advance, and be under the situation of receiving mode in mode of operation by processing module 26, by the coil that discharges and recharges that links to each other with receiving element self is carried out wireless charging; Be under the situation of emission mode in mode of operation, treat charging device and carry out wireless power by the coil that discharges and recharges that links to each other with transmitter unit, thereby make above-mentioned terminal to carry out wireless charging to self by the external wireless charger, power for other wireless equipment to be charged and himself can become a wireless power supply, have the function of wireless charging and wireless power concurrently.It is single and cause the awkward problem of user to have solved in the correlation technique wireless charging device and wireless power functions of the equipments, has improved the flexibility that wireless charging/discharging apparatus uses, and has promoted user's experience.
Fig. 3 is the structured flowchart that discharges and recharges terminal according to the preferred embodiment of the invention, and as shown in Figure 3, this terminal can also comprise: monitoring modular 32 is used for monitoring external power source interface; Wired charging module 34 is coupled with detection module 22 and monitoring modular 32, is used for monitoring the external power source interface when having external power source input and detection module 22 not to detect wireless signal at monitoring modular 32, enters wired charge mode.
Describe below in conjunction with preferred embodiment, the preferred embodiment combines above-described embodiment and preferred implementation.
A kind of electronic equipment is provided in this preferred embodiment, particularly, provides a kind of terminal equipment with wireless charging function.This terminal can realize the compatibility of wired charge function and wireless charging function, and clearly indicates current charged state to the user; Simultaneously, this terminal can also realize the compatibility of wireless charging and wireless power, is that a wireless charging device is that example is elaborated with this terminal below.
In order to realize the compatibility of wired charge function and wireless charging function, above-mentioned terminal can comprise external power source interface, wireless charging interface, Charge Management unit and radio source administrative unit.Wherein, the external power source interface can comprise USB or adapter, and is consistent with wired charging inlet commonly used at present, and links to each other with the Charge Management unit; The wireless charging interface receive from the electric energy of radio source administrative unit and be delivered to the Charge Management unit; The Charge Management unit receives the output from external power source or wireless charging unit, is the battery charge of terminal self.
In addition, in order to realize the compatibility of wireless charging and wireless power, above-mentioned terminal can also realize the compatible and switching of wireless charging and wireless power by the radio source administrative unit.Wherein, the radio source administrative unit links to each other with the wireless charging interface, specifically comprises receiving element, transmitter unit, wirelessly discharges and recharges control unit, recognition of devices unit and discharge and recharge coil.
For example, when terminal works in the wireless charging pattern, during as equipment to be charged, receiving element will be converted into direct current signal from the AC signal that discharges and recharges coil, export the Charge Management unit to by the wireless charging interface, be the end cell charging; When terminal works during in wireless power pattern (being sending mode), as wireless charging device (being also referred to as wireless charger), be the terminal power supply and stop charging for self battery by external power source; When terminal works in the wireless power pattern, during as wireless charging device, transmitter unit will be converted into AC signal from the direct current signal of external power source, and launch by the wireless coil that discharges and recharges, and make other equipment to be charged can receive and realize wireless charging.
Comprise the recognition of devices unit in above-mentioned terminal, this unit is responsible for judging whether have legal wireless charging device or wireless equipment to be charged in terminal discharges and recharges effective range, and selects terminal self radio power management states according to judged result.For example, the recognition of devices unit can send and receive the wireless sensing signal with specific frequency, the transmit signal strength of this detection signal only can be received by miscellaneous equipment within the specific limits, the reception signal strength signal intensity of this detection signal is only just effective when miscellaneous equipment is in the terminal certain limit simultaneously, exceed detection signal after this scope transmit and to receive signal all no longer valid, the charging recognition unit is distinguished equipment to be charged or wireless charging device according to the prior identification code of agreement, and whether the identity of confirming equipment to be charged or wireless charging device according to the detection signal intensity that receives and feedack is legal and whether be in effective range.
Result according to recognition of devices unit feedback, the wireless control unit that discharges and recharges in the above-mentioned terminal enables or closes transmitter unit or receiving element, assurance discharges and recharges coil, and only one of them links to each other with transmitter unit or receiving element, and the realization terminal is as the switching of wireless equipment to be charged or wireless power equipment (being wireless charger).
The mode that provides by this preferred embodiment, above-mentioned terminal can have wireless charging and wireless power function simultaneously concurrently, can be used as wireless charging device under given conditions to other wireless charging device power supply, and can carry out pattern according to the environment for use of user's reality switches, for example, the charged state of this terminal can comprise wired charge mode, wireless charging pattern and wireless power pattern, make terminal have wired charging, wireless charging and wireless power function concurrently, thereby can adapt to multiple applied environment.
For realizing above-mentioned different charged state, in implementation process, this terminal can comprise external power source interface, Charge Management unit, wireless charging interface and radio source administrative unit.Wherein, the Charge Management unit also comprises the charging modes detecting unit, in order to the current charging status information of user feedback.Under wired charge mode, external power source (USB or adapter) is powered to terminal by the external power source interface, and finishes wired charging by the Charge Management unit; Under the wireless charging pattern, the radio source administrative unit receives the power supply from the external wireless charging device, exports the Charge Management unit to by the wireless charging interface, finally finishes wireless charging by the Charge Management unit; Under the wireless power pattern, external power source (USB or adapter) to radio source administrative unit power supply, and is finished the conversion of radio energy by the radio source administrative unit by the external power source interface, realizes the wireless power to other wireless charging device.In addition, when the legal device battery to be charged in outside has been full of or leave the effective charging scope of terminal, terminal switches to the wired charged state of self, and when terminal works during in the wireless power pattern, by external power source, launch AC signal to equipment to be charged, and stop the charging of terminal self.
Below with reference to accompanying drawings, further this preferred embodiment is described in detail.
Fig. 4 is the connection diagram that discharges and recharges the terminal correlation module according to the preferred embodiment of the invention, and as shown in Figure 4, above-mentioned terminal comprises external power source interface 1, wireless charging interface 2, Charge Management unit 3, radio source administrative unit 4 and terminal system 5.Wherein, Charge Management unit 3 also comprises charging modes detecting unit 31; External power source interface 1 links to each other with Charge Management unit 3 respectively with wireless charging interface 2, and respectively under wired charging and wireless charging pattern Charge Management unit 3 required electric energy is provided; No matter wired charge mode still is the wireless charging pattern, finally all finishes charging by Charge Management unit 3; External power source interface 1 also links to each other with radio source administrative unit 4, when terminal works in the wireless power pattern, when using as wireless charging device, external power source interface 1 is to 4 power supplies of radio source administrative unit, by radio source administrative unit 4 equipment wireless power supply to be charged to the outside, achieve the wireless charging function, and the monitoring that charging modes detecting unit 31 is realized outside power interface 1 and wireless charging interface 2, thereby concrete charging modes identified.Below radio source administrative unit 4 is highlighted: radio source administrative unit 4 comprises receiving element 41, transmitter unit 42, radio source control unit 43, recognition of devices unit 44 and coil 45.Wherein, receiving mode and the sending mode of receiving element 41 and the corresponding radio source administrative unit 4 of transmitter unit 42 difference; Equipment sets unit 44 and is responsible for the detection of outside wireless charging device or equipment to be charged and further checking, thereby whether the identity of judging external wireless charging device or equipment to be charged is legal.
Fig. 5 is the switching mode schematic diagram between wired according to the preferred embodiment of the invention charging, wireless charging and three kinds of states of wireless power, below in conjunction with the correlation module among Fig. 4 Fig. 5 is described.
As shown in Figure 5, charging detecting unit 3 is monitoring external power source interface 1 and wireless charging interface 2 in real time, and recognition of devices unit 44 regularly detects whether have legal wireless equipment to be charged or wireless charging device.If external power source interface 1 has input, and to terminal system 5 feedbacks, terminal system 5 checks further whether radio source control unit 43 has feedback.
Radio source control unit 43 does not have feedback, then begins wired charging process, and to the current wired charged state of user feedback; If radio source control unit 43 has feedback, and receive the information of outside legal equipment to be charged from recognition of devices unit 44, then terminal begins to enter the wireless power pattern, and to the state of user feedback current wireless power supply.
If not input of external power source interface 1, but terminal system 5 is received the feedback of radio source control unit 43, and recognition of devices unit 44 receives the information of outside legal wireless charging device, and then terminal begins to enter the wireless charging pattern, and to user feedback current wireless charged state.
For example, recognition of devices unit 44 sends and receives the wireless sensing signal with specific frequency, the transmit signal strength of this detection signal only can be received by miscellaneous equipment within the specific limits, the reception signal strength signal intensity of this detection signal is only just effective when miscellaneous equipment is in the terminal certain limit simultaneously, surpass detection signal after this scope transmit and to receive signal all no longer valid.Equipment to be charged or wireless charging device are distinguished according to the identification code of arranging in advance in recognition of devices unit 44, this identification code has defined different device types, but and the state information of optional equipment, whether the identity that equipment to be charged or wireless charging device are confirmed according to the detection signal intensity that receives and feedack in recognition of devices unit 44 legal and whether be in effective range.
Radio source control unit 43 determines radio source administrative unit 4 to be operated in receiving mode or sending mode according to the result of recognition of devices unit 44 feedbacks, and the testing result of the feedback device recognition unit 44 that makes progress, make the user can understand current radio source controlled state.Coil 45 is as the interface of wireless power transmission, realize the electric energy transfer of terminal and external wireless charging device or equipment room to be charged, especially, no matter terminal is in wireless charging pattern or wireless power pattern, all will use same group of coil 45, and coil 45 is positioned at the back side of terminal.
Fig. 6 is that terminal is at the application schematic diagram of wired charged state according to the preferred embodiment of the invention, and as shown in Figure 6, when terminal works during in wired charge mode, this moment, the charging modes of terminal was finished the control of charging process by Charge Management unit 3.
Fig. 7 be according to the preferred embodiment of the invention terminal when wireless charging as the front schematic view of equipment to be charged, Fig. 8 be according to the preferred embodiment of the invention terminal when wireless charging as the side schematic view of equipment to be charged, as shown in Figure 7 and Figure 8, when above-mentioned terminal works and wireless charging pattern, terminal 201 is in the effective range of wireless charging device 101, and terminal 201 is finished identification with wireless charging device 101, terminal 201 begins to receive the electric energy transmission from other wireless charging device, carries out wireless charging.
Fig. 9 be according to the preferred embodiment of the invention terminal when wireless charging as the front schematic view of wireless power equipment, Figure 10 be according to the preferred embodiment of the invention terminal when wireless charging as the side schematic view of wireless power equipment, as Fig. 9 and shown in Figure 10, terminal 201 is as wireless charging device when terminal works and wireless power pattern, by external power source 401 power supplies, this moment, terminal 201 was no longer carried out the charging of self.External wireless equipment 301 to be charged places the back side of terminal 201, and finishes identification, by terminal 201 it is implemented wireless charging.When the battery of equipment 301 to be charged has been full of or has left effective charging scope of terminal 201, then terminal 201 switches to wired charge mode, is self battery charge.
In sum, the embodiment of the invention is when receiving the wireless signal of the characteristic frequency that satisfies predetermined signal strength, determine the mode of operation of wireless charge/discharge unit according to the wireless signal that receives and the identification code appointed in advance, be under the situation of receiving mode in mode of operation, self is carried out wireless charging; Be under the situation of emission mode in mode of operation, treat charging device and carry out wireless power, make terminal have the function of wireless charging and wireless power concurrently, it is single and cause the awkward problem of user to have solved in the correlation technique wireless charging device and wireless power functions of the equipments, improve the flexibility that wireless charging/discharging apparatus uses, promoted user's experience.
In another embodiment, also provide a kind of software, this software is for carrying out the technical scheme that above-described embodiment and preferred embodiment are described.
In another embodiment, also provide a kind of storage medium, stored above-mentioned software in this storage medium, this storage medium includes but not limited to CD, floppy disk, hard disk, scratch pad memory etc.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and be carried out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.