Disclosure of Invention
The invention provides a charging speed control method, which is applied to a power line and comprises the following steps:
receiving a charging speed indication signal, wherein the charging indication signal is triggered according to an adjusting button on the power line;
when the charging indication signal is a quick charging indication signal, controlling a target circuit of the power line to be in a first working mode, wherein the first working mode enables the power line to meet a quick charging protocol, so that quick charging is realized;
and when the charging indication signal is a slow charging indication signal, controlling a target circuit of the power line to be in a second working mode, wherein the second working mode enables the power line not to meet a fast charging protocol, so that the slow charging is realized.
Preferably, the method further comprises:
detecting the temperature of the charged equipment and generating a temperature signal;
receiving a temperature signal of a charged device;
and when the temperature value of the temperature signal is greater than a threshold value and the target circuit is in a first working mode, controlling the target circuit to be switched from the first working mode to the second working mode.
Preferably, the detecting the temperature of the charged device and generating the temperature signal includes:
detecting a temperature signal with a temperature sensor located on a plug terminal of the power cord.
Preferably, the charged device is a mobile phone, and the method further comprises:
receiving an operation state signal of the mobile phone;
controlling the operation mode of the target circuit according to the operation state signal of the mobile phone.
Preferably, the controlling of the operation mode of the target circuit according to the operation state signal of the mobile phone includes:
when the running state signal indicates that the mobile phone is in a screen locking state and the target circuit is in a second working mode, controlling the target circuit to be switched from the second working mode to the first working mode;
when the running state signal indicates that the mobile phone is in a non-screen locking state and the target circuit is in a first working mode, controlling the target circuit to be switched from the first working mode to the second working mode.
Preferably, the method further comprises:
training a user use habit model according to the use record of the user on the adjusting button;
and controlling the target circuit to be in the first working mode or the second working mode according to the habit model.
Preferably, the target circuit comprises an adjustable resistor.
A power cord capable of controlling a charging speed, the power cord comprising: the charging plug comprises a plug terminal, a charging adjusting device, a charging plug main body and an electrified wire;
the charging adjusting device comprises an adjusting button, a control unit, a target circuit and a signal receiving unit, wherein the adjusting button comprises two gears of quick charging and slow charging;
when the adjusting button is in a fast charging position, the control unit controls the target circuit to be in a first working mode, the first working mode enables the power line to meet a fast charging protocol, when the adjusting button is in a slow charging position, the control unit controls the target circuit to be in a second working mode, and the second working mode enables the power line not to meet the fast charging protocol.
The invention brings the following effects: the method has the advantages that the slow charging is automatically switched in the scene that the use of the fast charging is not needed or suggested, so that the problems of overhigh temperature and abnormal use state of the mobile equipment caused by the fast charging are solved, the battery is protected to a certain extent by frequently using the slow charging, and the attenuation speed of the battery can be delayed.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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.
Referring to fig. 1-2, in an embodiment of the present invention, a power line capable of controlling a charging speed includes: the charging plug comprises a plug terminal 1, a charging adjusting device 2, a charging plug main body 4, an electrified wire 5 and a power input/output port 6; the plug terminal 1 is used for being inserted into a charged device, and comprises a plurality of PIN PINs for charging the charged device or receiving a signal returned by the charged device.
As shown in fig. 3, the charging adjustment device 2 includes an adjustment knob, a control unit, a target circuit, and a signal receiving unit, where the adjustment knob includes two gears of fast charging and slow charging, the adjustment knob may be a press type, a knob type or a dial type, and the form of the adjustment knob is not particularly limited in the present invention; the control unit can be a general control unit such as an MCU, a CPU and the like; the target circuit is a common general circuit and can control the output current; the signal receiving unit is a common general receiving unit; the charging adjustment devices may be distributed on the plug terminal 1 as shown in fig. 1, or may be provided in the energizing wire 5 as shown in fig. 2.
And receiving a charging speed indication signal according to the signal receiving unit, wherein the charging indication signal is triggered according to the adjusting button on the power cord, and the triggering of the adjusting button can be manually completed by a user, such as rotating the adjusting button.
When the adjusting button is in a fast charging gear position, the control unit controls the target circuit to be in a first working mode, the first working mode enables the power line to meet a fast charging protocol, at the moment, the power line is cooperated with the power adapter and the charged device, and the power adapter can output corresponding fast charging voltage and current, such as 10V/4A; when the adjusting button is in a slow charging position, the control unit controls the target circuit to be in a second working mode, the second working mode enables the power line not to meet a fast charging protocol, and the power adapter outputs corresponding slow charging voltage and current, such as 5V/2A.
In one example, the power cord further includes: and the charging state indicator lamp 3 is used for indicating that the current charging state is a fast charging state or a slow charging state. Through the status indicator lamp, a user can determine whether the current charging state is fast charging or slow charging at a glance within a certain distance range, for example, the current charging state is red in the fast charging state, and the current charging state is yellow in the slow charging state. Also, the charge status indicator lamps 3 may be distributed on the plug terminal 1 as shown in fig. 1, or may be provided in the energizing wire 5 as shown in fig. 2.
In one example, the plug terminal comprises a temperature sensor, the temperature sensor is used for detecting the temperature of the charged device and generating a temperature signal, specifically, the temperature sensor is combined with one of the PIN PINs of one plug terminal, and the PIN is in direct contact with the charged device, so that the temperature sensor can accurately identify the current temperature value of the charged device;
the signal receiving unit is connected with the temperature sensor and used for receiving the temperature signal; when the temperature value of the temperature signal is greater than a threshold value and the target circuit is in a first working mode, the control unit controls the target circuit to be switched from the first working mode to the second working mode. For example, the threshold may be 36 ℃ higher, when the temperature of the PIN rises to exceed 36 ℃, the temperature of the charged device is too high, and high-power fast charging is not suitable for use, otherwise, the temperature of the charged device is increased, so that if the device is still in a fast charging state, a certain degree of safety hazard is brought, and the control unit automatically controls the target circuit to switch from the first operating mode to the second operating mode, that is, to switch from a fast charging state to a slow charging state.
The charged device may be any electronic device. In one example, the charged device is a mobile phone, the signal receiving unit receives an operation state signal of the mobile phone, and the control unit controls the operation mode of the target circuit according to the operation state signal of the mobile phone. Specifically, the control unit (e.g., a mobile phone CPU) of the mobile phone may transmit an operation state signal of the current mobile phone to the signal receiving unit through a certain PIN of the plug terminal. The operation state signal of the mobile phone may indicate that the mobile phone is currently in a screen locking state/a screen unlocking state, or may indicate a current memory usage rate and the like. The heating condition of the mobile phone in the current operation state can be estimated through the operation state of the mobile phone.
In one example, the controlling of the operation mode of the target circuit according to the operation state signal of the mobile phone includes:
when the running state signal indicates that the mobile phone is in a screen locking state and the target circuit is in a second working mode, the control unit controls the target circuit to be switched from the second working mode to the first working mode; when the running state signal indicates that the mobile phone is in a non-screen-locking state and the target circuit is in a first working mode, the control unit controls the target circuit to be switched from the first working mode to the second working mode. Specifically, since the mobile phone does not run the program almost at all in the screen-locked state, the mobile phone itself will not generate heat at a high probability, and the device is suitable for fast charging at this time, if the target circuit is in the second working mode, the control unit controls the target circuit to switch from the second working mode to the first working mode, that is, to switch to the fast charging state; on the contrary, because the mobile phone needs to run a plurality of programs in the non-screen-locked state, the mobile phone is easy to heat, at the moment, if the device is charged quickly, the heat of the device and the charging heat are superposed to cause serious heat generation of the device, and the running speed and the service life are influenced, so that the mobile phone is suitable for slow charging, and if the target circuit is in the first working mode, the control unit controls the target circuit to be switched from the first working mode to the second working mode, namely, to be switched to the slow charging state.
In one example, the method further comprises: training a user use habit model according to the use record of the user on the adjusting button; and automatically controlling the target circuit to be in the first working mode or the second working mode according to the habit model. Specifically, for example, a user sleeps at regular 11 o' clock every night, before sleeping, the user manually sets the adjusting button, and sets the charging state to be slow charging when sleeping at night; and 7 o' clock arriving at home every night, the mobile phone electric quantity is exhausted soon, and at the moment, the user can manually set the quick charging state. After a period of use, the control unit collects the use records of the user on the adjusting button, trains a habit model used by the user, and the habit model can represent the charging state corresponding to the time point with the high probability of the user, so that when the user charges at the time point corresponding to the model, the control unit automatically controls the target circuit to be in the first working mode or the second working mode according to the habit model, namely, the charging state is controlled to be in a fast charging state or a slow charging state. Obviously, the use habits of each user are different, and the trained habit models are also different, so that the charging state can be intelligently and automatically switched according to the preference of the user aiming at different users, and better user experience is achieved.
In one example, the target circuit includes an adjustable resistance. Specifically, when a fast charge state is desired, the resistance is adjusted to a target value, and the resistance value at this time can enable the current that can pass through the power line at this time to reach the target value, for example, 4A, so as to satisfy the fast charge protocol; when the slow charging is desired, the resistance is adjusted to a non-target value, for example 2A, the resistance value at this time can make the current that can pass through the power line reach the non-target value, and the charging state is automatically switched to the slow charging state when the fast charging protocol is not satisfied. Of course, the specific implementation form of the target circuit is not limited to the adjustable resistor, and any circuit that can switch the current that can pass through the power line between the target value and the non-target value can be used as the target circuit.
The invention can automatically switch the slow charging in the scene that the fast charging is not needed or not suggested, thereby reducing the problems of overhigh temperature and abnormal use state of the mobile equipment caused by the fast charging, and the slow charging which is frequently used can also have certain protectiveness to the battery, thereby delaying the attenuation speed of the battery.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.