Disclosure of Invention
The invention aims to solve the technical problem of providing a current detection method and a current detection device based on an intelligent charging cabinet, which can reduce the restarting condition of the charging cabinet, improve the charging efficiency of a mobile power supply and are beneficial to protecting the mobile power supply and the charging cabinet.
In order to solve the technical problems, a first aspect of the embodiment of the invention discloses a current detection method based on an intelligent charging cabinet, which comprises the following steps:
the intelligent charging cabinet determines the total static current of the intelligent charging cabinet, and judges whether the total static current is in the determined first static current normal range value or not;
when the total static current is judged not to be in the first static current normal range value, the intelligent charging cabinet generates abnormal information of the intelligent charging cabinet, and performs abnormal processing operation of the intelligent charging cabinet according to the abnormal information, wherein the abnormal information comprises identification information uniquely corresponding to the intelligent charging cabinet.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
when the total static current is judged to be in the first static current normal range value, the intelligent charging cabinet acquires charging current of each charging passage in the charging passages where all the mobile power supplies in the intelligent charging cabinet are located, and each mobile power supply corresponds to one charging passage;
the intelligent charging cabinet judges whether the charging current of each charging path is in the determined second quiescent current normal range value;
When judging that the charging current of at least one target charging path in all the charging paths is not in the second static current normal range value, the intelligent charging cabinet controls all the target charging paths to be closed;
the intelligent charging cabinet generates abnormal information of all the target charging paths, and performs abnormal processing operation of the intelligent charging cabinet according to the abnormal information of all the target charging paths, wherein the abnormal information of all the target charging paths comprises path identifiers uniquely corresponding to all the target charging paths.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
when the total static current is judged to be in the first static current normal range value, the intelligent charging cabinet judges whether a charging instruction aiming at a mobile power supply in the intelligent charging cabinet needs to be generated or not;
and when the charging instruction is judged to be generated, the intelligent charging cabinet generates the charging instruction and executes charging operation on a mobile power supply in the intelligent charging cabinet based on the charging instruction.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
In the process of executing charging operation on the mobile power supplies in the intelligent charging cabinet, the intelligent charging cabinet acquires total charging current corresponding to a charging path where all target mobile power supplies in a charging state are located;
the intelligent charging cabinet judges whether the total charging current corresponding to the charging path of all the target mobile power supplies is abnormal or not;
when judging that the abnormality exists, the intelligent charging cabinet controls all charging paths where the target mobile power supplies are located to be closed, and determines the target mobile power supply with the abnormality in the charging paths from all the target mobile power supplies;
and generating target abnormal information of a charging path where the target mobile power supply is located, which is abnormal, by the intelligent charging cabinet, and executing abnormal processing operation of the intelligent charging cabinet according to the target abnormal information.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the method further includes:
the intelligent charging cabinet acquires the total charging current sensed by a total current sensor of the intelligent charging cabinet;
and the intelligent charging cabinet judges whether the total charging current corresponding to the charging path where all the target mobile power supplies are located is abnormal, and comprises the following steps:
The intelligent charging cabinet calculates the absolute value of the current difference between the total charging current corresponding to the charging path where all the target mobile power supplies are located and the total charging current sensed by the total current sensor;
and the intelligent charging cabinet judges whether the absolute value of the current difference is larger than or equal to the determined current error threshold value, and when the absolute value of the current difference is larger than or equal to the determined current error threshold value, the intelligent charging cabinet determines that the total charging current corresponding to the charging path where all the target mobile power sources are positioned is abnormal.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the intelligent charging cabinet performs, based on the charging instruction, a charging operation on a mobile power supply in the intelligent charging cabinet, including:
the intelligent charging cabinet executes charging operation on part of mobile power supplies in the intelligent charging cabinet based on the charging instruction;
and, the method further comprises:
in the process of executing the charging operation on the part of mobile power sources, the intelligent charging cabinet judges whether the charging operation on other mobile power sources is required;
when judging that the charging operation needs to be performed on other mobile power supplies, the intelligent charging cabinet acquires the current required by the charging of the other mobile power supplies, judges whether the total power supply of the intelligent charging cabinet meets the current required by the charging of the other mobile power supplies, and when judging that the current required by the charging of the other mobile power supplies is met, performs the charging operation on the other mobile power supplies.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the intelligent charging cabinet determines the total quiescent current of the intelligent charging cabinet, the method further includes:
the intelligent charging cabinet judges whether charging paths of all mobile power supplies in the intelligent charging cabinet are in a closed state, and when the charging paths of all the mobile power supplies are in the closed state, the operation of determining the total static current of the intelligent charging cabinet is triggered and executed;
when judging that the charging paths in the non-closed state exist in the charging paths of all the mobile power supplies, controlling all the charging paths in the non-closed state to be closed, and triggering and executing the operation of determining the total static current of the intelligent charging cabinet.
The second aspect of the embodiment of the invention discloses a current detection device based on an intelligent charging cabinet, which is applied to the intelligent charging cabinet and comprises the following components:
the determining module is used for determining the total static current of the intelligent charging cabinet;
the judging module is used for judging whether the total static current is in the determined first static current normal range value or not;
The generating module is used for generating abnormal information of the intelligent charging cabinet when the judging module judges that the total static current is not in the first static current normal range value;
and the abnormality processing module is used for executing the abnormality processing operation of the intelligent charging cabinet according to the abnormality information, wherein the abnormality information comprises identification information uniquely corresponding to the intelligent charging cabinet.
In a second aspect of the embodiment of the present invention, the determining module is further configured to obtain a charging current of each charging path in a charging path where all mobile power sources in the intelligent charging cabinet are located when the determining module determines that the total quiescent current is in the first quiescent current normal range value, where each mobile power source corresponds to one charging path;
the judging module is further used for judging whether the charging current of each charging path is in the determined second static current normal range value;
and, the apparatus further comprises:
the first control module is used for controlling all the target charging paths to be closed when the judging module judges that the charging current of at least one target charging path in all the charging paths is not in the second quiescent current normal range value;
The generation module is further configured to generate abnormal information of all the target charging paths, where the abnormal information of all the target charging paths includes path identifiers uniquely corresponding to all the target charging paths;
the exception handling module is further configured to perform an exception handling operation of the intelligent charging cabinet according to the exception information of all the target charging paths.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining module is further configured to determine whether a charging instruction for a mobile power supply in the intelligent charging cabinet needs to be generated when it is determined that the total quiescent current is in the first quiescent current normal range value;
the generation module is further configured to generate the charging instruction when the judgment module judges that the charging instruction needs to be generated;
and, the apparatus further comprises:
and the charging module is used for executing charging operation on the mobile power supply in the intelligent charging cabinet based on the charging instruction.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
the determining module is further configured to obtain a total charging current corresponding to a charging path where all target mobile power sources in a charging state are located in a process that the charging module performs a charging operation on the mobile power sources in the intelligent charging cabinet;
The judging module is further used for judging whether the total charging current corresponding to the charging path where all the target mobile power supplies are located is abnormal or not;
the second control module is used for controlling the closing of the charging paths where all the target mobile power supplies are located when the judging module judges that the abnormality exists;
the screening module is used for determining the target mobile power supply with abnormal charging paths from all the target mobile power supplies;
the generation module is also used for generating target abnormal information of a charging path where the target mobile power supply with the abnormality is located;
the exception handling module is further configured to perform an exception handling operation of the intelligent charging cabinet according to the target exception information.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining module is further configured to obtain a total charging current sensed by a total current sensor of the intelligent charging cabinet;
and the judging module judges whether the total charging current corresponding to the charging path of the target mobile power supply is abnormal or not specifically comprises the following steps:
calculating the absolute value of the current difference between the total charging current corresponding to the charging path of all the target mobile power supplies and the total charging current sensed by the total current sensor;
And judging whether the absolute value of the current difference is larger than or equal to the determined current error threshold value, and determining that the total charging current corresponding to the charging path where all the target mobile power supplies are positioned is abnormal when the absolute value of the current difference is larger than or equal to the determined current error threshold value.
In a second aspect of the embodiment of the present invention, the manner in which the charging module performs the charging operation on the mobile power supply in the intelligent charging cabinet based on the charging instruction is specifically:
performing charging operation on part of the mobile power supplies in the intelligent charging cabinet based on the charging instruction;
the judging module is further configured to judge whether charging operation needs to be performed on other mobile power sources in a process that the charging module performs charging operation on the part of mobile power sources;
the determining module is further configured to obtain a current required by the other mobile power supply to charge when the judging module judges that the charging operation needs to be performed on the other mobile power supply;
the judging module is further used for judging whether the total power supply of the intelligent charging cabinet meets the current requirement of the other mobile power supplies for charging;
And the charging module is also used for executing charging operation on the other mobile power sources when the judging module judges that the current requirement required by the charging of the other mobile power sources is met.
In a second aspect of the embodiment of the present invention, the determining module is further configured to determine, before the determining module determines the total quiescent current of the intelligent charging cabinet, whether charging paths where all mobile power sources in the intelligent charging cabinet are located are in a closed state; when all charging paths where the mobile power supplies are located are judged to be in a closed state, triggering the determining module to execute the operation of determining the total static current of the intelligent charging cabinet;
and, the apparatus further comprises:
and the third control module is used for controlling all the charging paths in the non-closed state to be closed when the judging module judges that the charging paths in the non-closed state exist in all the charging paths in which the mobile power supply is positioned, and triggering the determining module to execute the operation of determining the total static current of the intelligent charging cabinet.
The third aspect of the invention discloses another intelligent charging cabinet-based current detection device, which comprises:
A memory storing executable program code;
a processor coupled to the storage;
the processor invokes the executable program codes stored in the storage device to execute the intelligent charging cabinet-based current detection method disclosed in the first aspect of the invention.
In a fourth aspect, the present invention discloses a computer storage medium, where the computer storage medium stores computer instructions, where the computer instructions are used to execute the intelligent charging cabinet-based current detection method disclosed in the first aspect of the present invention when the computer instructions are called.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a current detection method and device based on an intelligent charging cabinet, wherein the method comprises the steps that the intelligent charging cabinet determines the total static current of the intelligent charging cabinet and judges whether the total static current is in a determined first static current normal range value; when the total static current is judged not to be in the first static current normal range value, the intelligent charging cabinet generates abnormal information of the intelligent charging cabinet, and abnormal processing operation of the intelligent charging cabinet is executed according to the abnormal information, wherein the abnormal information comprises identification information uniquely corresponding to the intelligent charging cabinet. Therefore, by automatically judging whether the total static current of the intelligent charging cabinet is within the normal range value or not, the embodiment of the invention automatically generates the abnormal information, and automatically executes the abnormal processing operation of the intelligent charging cabinet according to the abnormal information, so that the total static current of the intelligent charging cabinet is within the normal range value, the condition that the intelligent charging cabinet is restarted in the process of charging the mobile power supply is reduced, the charging efficiency of the mobile power supply is improved, the mobile power supply and the intelligent charging cabinet are protected, and the service lives of the mobile power supply and the intelligent charging cabinet are prolonged.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or device that comprises a list of steps or elements is not limited to the list of steps or elements but may, in the alternative, include other steps or elements not expressly listed or inherent to such process, method, article, or device.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The invention discloses a current detection method and a current detection device based on an intelligent charging cabinet, which can automatically judge whether the total static current of the intelligent charging cabinet is in a normal range value, if not, automatically generate abnormal information, and automatically execute abnormal processing operation of the intelligent charging cabinet according to the abnormal information, so that the total static current of the intelligent charging cabinet is in the normal range value, the condition that the intelligent charging cabinet is restarted in the process of charging a mobile power supply is reduced, the charging efficiency of the mobile power supply is improved, the mobile power supply and the intelligent charging cabinet are protected, and the service lives of the mobile power supply and the intelligent charging cabinet are prolonged. The following will describe in detail.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a current detection method based on an intelligent charging cabinet according to an embodiment of the invention. The current detection method based on the intelligent charging cabinet described in fig. 1 may be applied to an intelligent charging cabinet, where the intelligent charging cabinet may be in communication connection with a user terminal, where the user terminal includes a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a smart phone watch, a tablet computer, a palm computer, a vehicle-mounted computer, a desktop computer, a netbook, a personal digital assistant (Personal Digital Assistant, PDA), an intelligent navigator, a mobile internet device (Mobile Internet Devices, MID), and other terminals. As shown in fig. 1, the intelligent charging cabinet-based current detection method may include the following operations:
101. the intelligent charging cabinet determines a total quiescent current of the intelligent charging cabinet.
In the embodiment of the invention, the intelligent charging cabinet is used for storing and charging a mobile power supply (also called a mobile power supply and a mobile charger, such as a shared charger). The mobile power supply comprises any mobile power supply with a charging function, such as a pure charging function or a mobile power supply with illumination. Optionally, the intelligent charging cabinet has a plurality of storage spaces for storing mobile power sources, and a Pogo PIN pad (also called a thimble) is arranged in each storage space (for example, the bottom in the storage space). The power supply system comprises a charging cabinet and is characterized in that the Pogo PIN public seat of the charging cabinet comprises a sending end and a receiving end, namely, the Pogo PIN public seat of each storage space of the intelligent charging cabinet comprises a sending end and a receiving end, wherein the sending end comprises a first grounding end, a data sending end and a first power supply end, and the receiving end comprises a second grounding end, a data receiving end and a second power supply end. The data receiving end is used for receiving the data fed back by the mobile power supply, and further is also used for sending the data to the mobile power supply.
In the embodiment of the invention, optionally, the intelligent charging cabinet detects the total static current of the intelligent charging cabinet through the total current sensor.
102. The intelligent charging cabinet judges whether the total static current is in the determined first static current normal range value; triggering and executing step 103 when the total quiescent current is not in the first quiescent current normal range value; and when the total static current is judged to be in the first static current normal range value, ending the flow.
103. The intelligent charging cabinet generates abnormal information of the intelligent charging cabinet, and performs abnormal processing operation of the intelligent charging cabinet according to the abnormal information, wherein the abnormal information comprises identification information uniquely corresponding to the intelligent charging cabinet.
In an embodiment of the present invention, as an optional implementation manner, the intelligent charging cabinet performs an exception handling operation of the intelligent charging cabinet according to the exception information, including:
the intelligent charging cabinet sends abnormal information to the server to trigger the server to send maintenance prompts to the authorized processing terminal; and/or the number of the groups of groups,
the intelligent charging cabinet sends maintenance prompts to the authorized processing terminal;
in the embodiment of the invention, the maintenance prompt comprises abnormal information of the intelligent charging cabinet, and the maintenance prompt is used for prompting maintenance personnel to go to the intelligent charging cabinet to detect the intelligent charging cabinet.
In an embodiment of the present invention, optionally, the maintenance prompt includes identification information uniquely corresponding to the intelligent charging cabinet, where the identification information includes, but is not limited to, at least one of a physical number, a logical number, and a location identifier of the intelligent charging cabinet.
Therefore, according to the alternative embodiment, the server is triggered to send the maintenance prompt to the authorized processing terminal or directly send the maintenance prompt to the authorized processing terminal by sending the abnormal information to the server, so that the possibility that the processing terminal receives the maintenance prompt can be improved, and the maintenance personnel can timely arrive at the position of the intelligent charging cabinet to detect the intelligent charging cabinet.
Therefore, the current detection method based on the intelligent charging cabinet described in fig. 1 can automatically determine that the total static current of the intelligent charging cabinet is within the normal range value, if not, abnormal information is automatically generated, and the abnormal processing operation of the intelligent charging cabinet is automatically executed according to the abnormal information, so that the total static current of the intelligent charging cabinet is within the normal range value, the condition that the intelligent charging cabinet is restarted in the process of charging the mobile power supply is reduced, the charging efficiency of the mobile power supply is improved, the mobile power supply and the intelligent charging cabinet are protected, and the service lives of the mobile power supply and the intelligent charging cabinet are prolonged.
In an alternative embodiment, the intelligent charging cabinet-based current detection method may further include the operations of:
when the total static current is judged to be in the first static current normal range value, the intelligent charging cabinet acquires the charging current of each charging path in the charging paths of all the mobile power supplies in the intelligent charging cabinet, and each mobile power supply corresponds to one charging path;
the intelligent charging cabinet judges whether the charging current of each charging path is in a determined second static current normal range value (for example, 0-1.65A);
when judging that the charging current of at least one target charging path in all the charging paths is not in the second static current normal range value, controlling all the target charging paths to be closed by the intelligent charging cabinet;
the intelligent charging cabinet generates abnormal information of all target charging paths, and performs abnormal processing operation of the intelligent charging cabinet according to the abnormal information of all target charging paths, wherein the abnormal information of all target charging paths comprises path identifiers uniquely corresponding to all target charging paths.
In this optional embodiment, alternatively, only the charging current of one charging circuit may be detected in a positive abnormality at the same time, or the charging currents of multiple charging circuits may be detected in a positive abnormality at the same time, where the charging current of one charging circuit is preferentially detected in a positive abnormality, and after the detection of one charging circuit is completed, the charging current of the next charging circuit is detected in a positive abnormality until the detection of all the charging circuits in the intelligent charging cabinet is completed. If the charging current of a certain charging circuit is detected not to be in the second quiescent current normal range value, the charging circuit is immediately controlled and is not charged. Further, in the process of detecting one of the charging circuits, the other charging circuits are in a closed state. This can improve the detection accuracy of the charging current of each charging circuit.
In this optional embodiment, optionally, the performing, by the intelligent charging cabinet, an exception handling operation of the intelligent charging cabinet according to the exception information of all the target charging paths may include:
the intelligent charging cabinet can directly send the abnormal information of all the target charging paths to the authorized processing terminal, wherein the abnormal information comprises the path identifiers uniquely corresponding to all the target charging paths; and/or the number of the groups of groups,
the intelligent charging cabinet generates an abnormal instruction according to the abnormal information of all the target charging paths, wherein the abnormal information comprises the path identifiers uniquely corresponding to all the target charging paths, and the abnormal instruction is sent to a server (an entity server or a cloud server) to trigger the server to analyze the abnormal instruction to obtain the path identifiers uniquely corresponding to all the target charging paths and send the path identifiers to the authorization processing terminal, and the path identifiers uniquely corresponding to the target charging paths comprise hole site identifiers and/or charging circuit identifiers corresponding to the target charging paths in the intelligent charging cabinet.
In this optional embodiment, optionally, when it is determined that the charging current of each charging circuit in all the charging paths is in the second quiescent current normal range value, the current flow is ended.
Therefore, when the total static current of the intelligent charging cabinet is judged to be in the static current normal range value, the optional embodiment further judges whether the charging current of the charging path of the intelligent charging cabinet is in the corresponding static current normal range value, if not, the abnormal information of the charging path is automatically generated, and the abnormal processing operation is executed according to the abnormal information of the charging path, so that the charging current of the charging circuit of the intelligent charging cabinet is in the normal range value, the current detection accuracy of the intelligent charging cabinet is further improved, the restarting condition of the intelligent charging cabinet in the charging process of the mobile power supply is further reduced, the charging efficiency of the mobile power supply is improved, the mobile power supply and the intelligent charging cabinet are protected, and the service lives of the mobile power supply and the intelligent charging cabinet are prolonged.
In another alternative embodiment, the method may further comprise the steps of, prior to determining the total quiescent current of the intelligent charging cabinet:
the intelligent charging cabinet judges whether charging paths of all mobile power supplies in the intelligent charging cabinet are in a closed state, and when the charging paths of all mobile power supplies are in the closed state, the operation of determining the total static current of the intelligent charging cabinet is triggered and executed;
when judging that the charging paths in the non-closed state exist in the charging paths of all the mobile power supplies, controlling all the charging paths in the non-closed state to be closed, and triggering and executing the operation of determining the total static current of the intelligent charging cabinet.
Therefore, before determining the total static current of the intelligent charging cabinet, the optional embodiment detects whether all charging paths of the intelligent charging cabinet are in a closed state, if so, the follow-up operation is continuously executed, if not, all charging paths are controlled to be closed, and then the follow-up operation is executed, so that the problem that inaccurate total static current is sent due to the existence of an unclosed charging circuit can be reduced, the accuracy and the reliability of determining the total static current of the intelligent charging cabinet are further improved, and the generation accuracy and the reliability of abnormal information of the intelligent charging cabinet are further improved.
Example two
Referring to fig. 2, fig. 2 is a flow chart of another current detection method based on an intelligent charging cabinet according to an embodiment of the invention. The current detection method based on the intelligent charging cabinet described in fig. 2 may be applied to the intelligent charging cabinet, where the intelligent charging cabinet can be in communication connection with a user terminal, where the user terminal includes a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a smart phone watch, a tablet computer, a palm computer, a vehicle-mounted computer, a desktop computer, a netbook, a personal digital assistant (Personal Digital Assistant, PDA), an intelligent navigator, a mobile internet device (Mobile Internet Devices, MID), and other terminals. As shown in fig. 2, the intelligent charging cabinet-based current detection method may include the following operations:
201. the intelligent charging cabinet determines a total quiescent current of the intelligent charging cabinet.
202. The intelligent charging cabinet judges whether the total static current is in the determined first static current normal range value; triggering and executing step 203 when the total quiescent current is not in the first quiescent current normal range value; when it is determined that the total quiescent current is within the first quiescent current normal range value, execution of step 204 is triggered.
203. The intelligent charging cabinet generates abnormal information of the intelligent charging cabinet, and performs abnormal processing operation of the intelligent charging cabinet according to the abnormal information, wherein the abnormal information comprises identification information uniquely corresponding to the intelligent charging cabinet.
In the embodiment of the present invention, please refer to the embodiment for the detailed description of step 101 to step 103 for other related descriptions of step 201 to step 203, and the detailed description of the embodiment of the present invention is omitted.
204. The intelligent charging cabinet judges whether a charging instruction aiming at a mobile power supply in the intelligent charging cabinet needs to be generated or not; when it is determined that the charging instruction needs to be generated, triggering and executing step 205; and when the charging instruction is judged not to be generated, ending the flow.
205. And the intelligent charging cabinet generates a charging instruction and performs charging operation on the mobile power supply in the intelligent charging cabinet based on the charging instruction.
In an embodiment of the present invention, optionally, the charging command includes a rotation charging command or a fast charging command. The mobile power supply in the intelligent charging cabinet is charged in turn, and the quick charging instruction is used for indicating to execute quick charging operation on the mobile power supply in the intelligent charging cabinet.
Therefore, the embodiment of the invention can further judge whether the charging instruction of the mobile power supply is required to be generated after judging that the total static current of the intelligent charging cabinet is in the static current normal range value, and if so, the charging instruction of the mobile power supply is automatically generated, the mobile power supply of the intelligent charging cabinet can be charged based on the charging instruction, the automatic charging of the mobile power supply is realized, and the charging efficiency of the mobile power supply is improved.
In an alternative embodiment, before determining whether a charging instruction for a mobile power supply in a smart charging rack needs to be generated, the smart charging rack-based current detection method may include the following operations:
the intelligent charging cabinet acquires charging current of each charging path in the charging paths of all the mobile power supplies in the intelligent charging cabinet, wherein each mobile power supply corresponds to one charging path;
the intelligent charging cabinet judges whether the charging current of each charging path is in the determined second static current normal range value;
when all the charging paths are judged to be in the second quiescent current normal range value, the intelligent charging cabinet triggers and executes the operation of judging whether the charging instruction for the mobile power supply in the intelligent charging cabinet is required to be generated or not.
The description of the embodiment is related to the description of the related content in the first embodiment, and the description of the embodiment of the present invention is not repeated.
Therefore, in this optional embodiment, when it is determined that the total quiescent current of the intelligent charging cabinet is within the quiescent current normal range, it is further determined whether the charging current of the charging path of the intelligent charging cabinet is within the quiescent current normal range, and if both the charging currents are within the quiescent current normal range, the subsequent related operation of generating the charging instruction is performed, so that the accuracy and reliability of determining that the charging instruction needs to be generated can be improved, and the charging accuracy and reliability of the mobile power supply are improved.
In another alternative embodiment, the smart charging rack-based current detection method may include the operations of:
in the process of executing charging operation on the mobile power supplies in the intelligent charging cabinet, the intelligent charging cabinet acquires total charging current corresponding to a charging path where all target mobile power supplies in a charging state are located;
the intelligent charging cabinet judges whether the total charging current corresponding to the charging path where all the target mobile power supplies are located is abnormal or not;
when judging that the abnormality exists, the intelligent charging cabinet controls the closing of a charging path where all the target mobile power supplies are located, and determines the target mobile power supply with the abnormality in the charging path from all the target mobile power supplies;
And generating target abnormality information of a charging path where the abnormal target mobile power supply exists by the intelligent charging cabinet, and executing the abnormality processing operation of the intelligent charging cabinet according to the target abnormality information.
In this alternative embodiment, the intelligent charging cabinet detects the charging current of the charging path in the energized state in real time or at predetermined intervals (e.g., 5 minutes).
It can be seen that in this optional embodiment, during the process of charging the mobile power supply of the intelligent charging cabinet, whether the charging current of the charging path where the mobile power supply in the charging state is located is abnormal is detected, if so, the abnormal information of the mobile power supply in which the abnormality is located is automatically determined and generated, and the abnormality processing operation is automatically performed according to the abnormal information.
In yet another alternative embodiment, the smart charging rack-based current detection method may include the operations of:
the intelligent charging cabinet acquires the total charging current sensed by the total current sensor of the intelligent charging cabinet;
and the intelligent charging cabinet judges whether the total charging current corresponding to the charging path where all the target mobile power supplies are located is abnormal or not, and comprises the following steps:
the intelligent charging cabinet calculates the absolute value of the current difference between the total charging current corresponding to the charging path where all the target mobile power supplies are located and the total charging current sensed by the total current sensor;
The intelligent charging cabinet judges whether the absolute value of the current difference is larger than or equal to a determined current error threshold (for example, 200 mA), and when the absolute value of the current difference is larger than or equal to the current error threshold, the total charging current corresponding to the charging paths where all the target mobile power sources are located is determined to be abnormal.
Therefore, in the charging process of the mobile power supply, the optional embodiment calculates the absolute value of the current difference between the total charging current corresponding to the charging path of the mobile power supply in the charging state and the total charging current sensed by the total current sensor of the intelligent charging cabinet, and determines that the total charging current corresponding to the charging path of the mobile power supply in the charging state is abnormal when the absolute value of the current difference is larger, so that the accuracy and the efficiency of determining the current abnormality can be improved.
In yet another alternative embodiment, the intelligent charging cabinet performs a charging operation on a mobile power supply in the intelligent charging cabinet based on a charging instruction, comprising:
the intelligent charging cabinet executes charging operation on part of the mobile power supplies in the intelligent charging cabinet based on the charging instruction;
in the process of executing charging operation on part of the mobile power supplies, the intelligent charging cabinet judges whether the charging operation on other mobile power supplies is needed;
When judging that other mobile power supplies are required to perform charging operation, the intelligent charging cabinet acquires current required by the other mobile power supplies to charge, judges whether the total power supply of the intelligent charging cabinet meets the current required by the other mobile power supplies, and performs charging operation on the other mobile power supplies when judging that the current required by the other mobile power supplies to charge is met.
In this alternative embodiment, a part of the mobile power supply may be understood as all the mobile power supplies in the intelligent charging cabinet, and may also be understood as part of all the mobile power supplies.
Therefore, this optional embodiment is in the in-process of charging to the part portable power source of intelligent charging rack, when judging that need carry out the charging to other portable power sources, whether the total power supply current of intelligent charging rack satisfies the demand of other portable power sources required electric currents that charges, if so, can automatic start to carry out the operation of charging to other portable power sources, can enough reduce and lead to charging circuit to take place because required charging current is great, can improve portable power source's charging stability and security again, and can reduce because the inside controller of intelligent charging rack can't or the communication current information that in time feeds back and obtain leads to the condition that the condition or the trouble that the intelligent charging rack takes place to restart to appear.
In yet another alternative embodiment, the intelligent charging cabinet-based current detection method may include the following operations before the intelligent charging cabinet determines the total quiescent current of the intelligent charging cabinet:
the intelligent charging cabinet judges whether charging paths of all mobile power supplies in the intelligent charging cabinet are in a closed state, and when the charging paths of all mobile power supplies are in the closed state, the operation of determining the total static current of the intelligent charging cabinet is triggered and executed;
when judging that the charging paths in the non-closed state exist in the charging paths of all the mobile power supplies, controlling all the charging paths in the non-closed state to be closed, and triggering the operation of determining the total static current of the intelligent charging cabinet.
Therefore, before determining the total static current of the intelligent charging cabinet, the optional embodiment detects whether all charging paths of the intelligent charging cabinet are in a closed state, if so, the follow-up operation is continuously executed, if not, all charging paths are controlled to be closed, and then the follow-up operation is executed, so that the problem that inaccurate total static current is sent due to the existence of an unclosed charging circuit can be reduced, the accuracy and the reliability of determining the total static current of the intelligent charging cabinet are further improved, and the generation accuracy and the reliability of abnormal information of the intelligent charging cabinet are further improved.
Therefore, the implementation of the current detection method based on the intelligent charging cabinet described in fig. 2 can automatically determine that the total static current of the intelligent charging cabinet is within the normal range value, if not, abnormal information is automatically generated, and the abnormal processing operation of the intelligent charging cabinet is automatically executed according to the abnormal information, so that the total static current of the intelligent charging cabinet is within the normal range value, the condition that the intelligent charging cabinet is restarted in the process of charging the mobile power supply is reduced, the charging efficiency of the mobile power supply is improved, the mobile power supply and the intelligent charging cabinet are protected, and the service lives of the mobile power supply and the intelligent charging cabinet are prolonged; and after the total static current of the intelligent charging cabinet is judged to be in the static current normal range value, whether a charging instruction of the mobile power supply needs to be generated is further judged, if so, the charging instruction of the mobile power supply is automatically generated, the mobile power supply of the intelligent charging cabinet can be charged based on the charging instruction, the automatic charging of the mobile power supply is realized, and the charging efficiency of the mobile power supply is improved.
Example III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a current detection device based on an intelligent charging cabinet according to an embodiment of the invention. The current detection device based on the intelligent charging cabinet described in fig. 3 may be applied to an intelligent charging cabinet, where the intelligent charging cabinet may be in communication connection with a user terminal, where the user terminal includes a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a smart phone watch, a tablet computer, a palm computer, a vehicle-mounted computer, a desktop computer, a netbook, a personal digital assistant (Personal Digital Assistant, PDA), an intelligent navigator, a mobile internet device (Mobile Internet Devices, MID), and other terminals. As shown in fig. 3, the intelligent charging cabinet-based current detection apparatus may include: a judging module 301, a generating module 302, and a first charging module 303, where:
A determining module 301 is configured to determine a total quiescent current of the intelligent charging cabinet.
The determining module 302 is configured to determine whether the total quiescent current is within the determined normal range value of the first quiescent current.
The generating module 303 is configured to generate abnormal information of the intelligent charging cabinet when the judging module 302 judges that the total quiescent current is not in the first quiescent current normal range value.
The exception handling module 304 is configured to perform an exception handling operation of the intelligent charging cabinet according to exception information, where the exception information includes identification information uniquely corresponding to the intelligent charging cabinet.
Therefore, the current detection device based on the intelligent charging cabinet described in fig. 3 can automatically determine that the total static current of the intelligent charging cabinet is within the normal range value, if not, abnormal information is automatically generated, and abnormal processing operation of the intelligent charging cabinet is automatically executed according to the abnormal information, so that the total static current of the intelligent charging cabinet is within the normal range value, the condition that the intelligent charging cabinet is restarted in the process of charging the mobile power supply is reduced, the charging efficiency of the mobile power supply is improved, the mobile power supply and the intelligent charging cabinet are protected, and the service lives of the mobile power supply and the intelligent charging cabinet are prolonged.
In an alternative embodiment, as shown in fig. 4, the apparatus may further include: a first control module 305, wherein:
the determining module 301 is further configured to obtain a charging current of each charging path of the charging paths where all the mobile power sources in the intelligent charging cabinet are located when the judging module 302 judges that the total quiescent current is in the first quiescent current normal range value, where each mobile power source corresponds to one charging path.
The judging module 302 is further configured to judge whether the charging current of each charging path is in the determined second quiescent current normal range value.
The first control module 305 is configured to control all the target charging paths to be closed when the judging module 302 judges that the charging current of at least one target charging path is not in the second quiescent current normal range value in all the charging paths, and trigger the generating module 303 to execute the following operation of generating the abnormal information of all the target charging paths.
The generating module 303 is further configured to generate abnormal information of all target charging paths, where the abnormal information of all target charging paths includes path identifiers uniquely corresponding to all target charging paths.
The exception handling module 304 is further configured to perform an exception handling operation of the intelligent charging cabinet according to the exception information of all the target charging paths.
Therefore, when the device shown in fig. 4 is implemented, it can further determine whether the charging current of the charging path of the intelligent charging cabinet is within the corresponding quiescent current normal range value when the total quiescent current of the intelligent charging cabinet is determined to be within the quiescent current normal range value, if not, the abnormal information of the charging path is automatically generated, and the abnormal processing operation is executed according to the abnormal information of the charging path, so that the charging current of the charging circuit of the intelligent charging cabinet is within the normal range value, the current detection accuracy of the intelligent charging cabinet is further improved, the restarting condition of the intelligent charging cabinet in the process of charging the mobile power supply is further reduced, the charging efficiency of the mobile power supply is improved, the mobile power supply and the intelligent charging cabinet are protected, and the service lives of the mobile power supply and the intelligent charging cabinet are prolonged.
In yet another alternative embodiment, as shown in fig. 4, the apparatus may further comprise a charging module 306, wherein:
the judging module 302 is further configured to determine whether a charging instruction for the mobile power supply in the intelligent charging cabinet needs to be generated when it is determined that the total quiescent current is in the first quiescent current normal range value.
The generating module 303 is further configured to generate a charging instruction when the judging module 302 judges that the charging instruction needs to be generated.
And the charging module 306 is configured to perform a charging operation on the mobile power supply in the intelligent charging cabinet based on the charging instruction.
Therefore, the device shown in fig. 4 can further determine whether to generate the charging instruction of the mobile power supply after determining that the total quiescent current of the intelligent charging cabinet is in the quiescent current normal range value, if so, automatically generate the charging instruction of the mobile power supply, perform the charging operation on the mobile power supply of the intelligent charging cabinet based on the charging instruction, realize the automatic charging of the mobile power supply, and be favorable for improving the charging efficiency of the mobile power supply.
In yet another alternative embodiment, as shown in fig. 4, the apparatus may further comprise a second control module 307 and a screening module 308, wherein:
the determining module 301 is further configured to obtain, in a process of the charging module 306 performing a charging operation on the mobile power sources in the intelligent charging cabinet, a total charging current corresponding to a charging path where all target mobile power sources in a charging state are located.
The judging module 302 is further configured to judge whether the total charging current corresponding to the charging paths where all the target mobile power sources are located is abnormal.
And the second control module 307 is configured to control the charging paths where all the target mobile power sources are located to be closed when the judging module 302 judges that there is an abnormality.
And the screening module 308 is used for determining the target mobile power supply with abnormal charging paths from all the target mobile power supplies.
The generating module 303 is further configured to generate target abnormality information of a charging path where the target mobile power supply with the abnormality exists.
The exception handling module 304 is further configured to perform an exception handling operation of the intelligent charging cabinet according to the target exception information.
It can be seen that, in the process of charging the mobile power supply of the intelligent charging cabinet, the device shown in fig. 4 can also detect whether the charging current of the charging path where the mobile power supply in a charging state is located is abnormal, if so, automatically determine and generate abnormal information of the mobile power supply in which the abnormality is present, and automatically execute an abnormality processing operation according to the abnormal information.
In yet another alternative embodiment, as shown in fig. 4, the determining module 301 is further configured to obtain a total charging current sensed by the total current sensor of the intelligent charging cabinet;
and, the mode of determining whether the total charging current corresponding to the charging path where all the target mobile power sources are located is abnormal by the determining module 302 specifically is:
Calculating the absolute value of the current difference between the total charging current corresponding to the charging path where all the target mobile power supplies are located and the total charging current sensed by the total current sensor;
and judging whether the absolute value of the current difference is larger than or equal to the determined current error threshold value, and determining that the total charging current corresponding to the charging path where all the target mobile power supplies are located is abnormal when the absolute value of the current difference is larger than or equal to the determined current error threshold value.
Therefore, the device shown in fig. 4 can also calculate the absolute value of the current difference between the total charging current corresponding to the charging path of the mobile power supply in the charging state and the total charging current sensed by the total current sensor of the intelligent charging cabinet in the charging process of the mobile power supply, and determine that the total charging current corresponding to the charging path of the mobile power supply in the charging state is abnormal when the absolute value of the current difference is large, so that the accuracy and the efficiency of determining the current abnormality can be improved.
In yet another alternative embodiment, as shown in fig. 4, the charging module 306 performs the charging operation on the mobile power supply in the intelligent charging cabinet based on the charging instruction specifically includes:
performing charging operation on part of the mobile power supplies in the intelligent charging cabinet based on the charging instruction;
The determining module 302 is further configured to determine whether the charging operation needs to be performed on other mobile power sources during the process of the charging operation performed on part of the mobile power sources by the charging module 306.
The determining module 301 is further configured to obtain a current required by the other mobile power supply to perform charging when the determining module 302 determines that the charging operation needs to be performed on the other mobile power supply.
The judging module 302 is further configured to judge whether the total power supply of the intelligent charging cabinet meets the current requirement of charging by other mobile power sources.
The charging module 306 is further configured to perform a charging operation on the other mobile power sources when the determining module 302 determines that the current requirement required by the charging of the other mobile power sources is met.
Therefore, the device shown in fig. 4 can be implemented to automatically judge whether the total power supply of the intelligent charging cabinet meets the current requirement of charging other mobile power sources when judging that charging is required to be performed on other mobile power sources in the process of charging the part of mobile power sources of the intelligent charging cabinet, if so, the device can automatically start to perform charging operation on other mobile power sources, not only can reduce the occurrence of a charging circuit caused by the large charging current, but also can improve the charging stability and safety of the charging circuit of the mobile power sources, and can reduce the occurrence of the restarting condition or the fault condition of the intelligent charging cabinet due to the fact that the controller in the intelligent charging cabinet cannot feed back the obtained communication current information in time.
In yet another alternative embodiment, as shown in fig. 4, the apparatus further comprises: a third control module 309, wherein:
the judging module 302 is further configured to judge whether charging paths where all mobile power sources in the intelligent charging cabinet are located are in a closed state before the determining module 301 determines the total static current of the intelligent charging cabinet; when it is determined that the charging paths where all the mobile power sources are located are in the closed state, the determining module 301 is triggered to perform the above operation of determining the total quiescent current of the intelligent charging cabinet.
And a third control module 309, configured to, when the judging module 302 judges that charging paths in an unopened state exist in the charging paths where all the mobile power sources are located, control all the charging paths in the unopened state to be closed, and trigger the determining module 301 to perform the above operation of determining the total quiescent current of the intelligent charging cabinet.
Therefore, the device shown in fig. 4 is further capable of detecting whether all charging paths of the intelligent charging cabinet are in a closed state before determining the total static current of the intelligent charging cabinet, if yes, continuing to execute subsequent operations, if not, controlling all charging paths to be closed, and then executing subsequent operations, so that the problem that inaccurate total static current is sent due to the existence of the non-closed charging circuit can be reduced, and further improvement of the accuracy and reliability of determining the total static current of the intelligent charging cabinet is facilitated, and further improvement of the generation accuracy and reliability of abnormal information of the intelligent charging cabinet is facilitated.
Example IV
Referring to fig. 5, fig. 5 is a schematic diagram of another current detection device based on an intelligent charging cabinet according to an embodiment of the invention. As shown in fig. 5, the intelligent charging cabinet-based current detection apparatus may include:
a memory 501 in which executable program codes are stored;
a processor 502 coupled to the storage 501;
further, an input interface 503 coupled to the processor 502 and an output interface 504 may also be included;
the processor 502 invokes executable program codes stored in the storage 501, for executing the steps in the intelligent charging cabinet-based current detection method described in the first or second embodiment.
Example six
Referring to fig. 6, fig. 6 is a schematic diagram of an intelligent charging cabinet according to an embodiment of the present invention, where the intelligent charging cabinet includes a current detection device based on the intelligent charging cabinet as shown in fig. 3, 4 or 5, and the intelligent charging cabinet is used to perform the steps in the current detection method based on the intelligent charging cabinet described in the first embodiment or the second embodiment.
Example six
The embodiment of the invention discloses a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps in the intelligent charging cabinet-based current detection method described in the first embodiment or the second embodiment.
Example seven
Embodiments of the present invention disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, the computer program being operable to cause a computer to perform the steps of the intelligent charging cabinet-based current detection method described in embodiment one or embodiment two.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in a software product that may be stored in a computer-readable storage medium including a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), a programmable-Only Memory (Programmable Read-Only Memory, PROM), an erasable programmable-Only Memory (Erasable Programmable Read Only Memory, EPROM), a One-time programmable-Only Memory (OTPROM), an Electrically erasable-rewritable-Only Memory (EEPROM), a compact disc-Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium that can be used to carry or store data.
Finally, it should be noted that: the embodiment of the invention discloses a current detection method and a current detection device based on an intelligent charging cabinet, which are disclosed by the embodiment of the invention, are only used for illustrating the technical scheme of the invention, and are not limited by the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.