CN113103903B - Method for switching sequencing modes of charging modules and terminal equipment - Google Patents

Method for switching sequencing modes of charging modules and terminal equipment Download PDF

Info

Publication number
CN113103903B
CN113103903B CN202110435949.4A CN202110435949A CN113103903B CN 113103903 B CN113103903 B CN 113103903B CN 202110435949 A CN202110435949 A CN 202110435949A CN 113103903 B CN113103903 B CN 113103903B
Authority
CN
China
Prior art keywords
charging module
machine number
current charging
fault
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110435949.4A
Other languages
Chinese (zh)
Other versions
CN113103903A (en
Inventor
马群
张�浩
李睿
李世涛
王洋
郭喜斌
曹会平
王勇江
司建龙
吴彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shijiazhuang Tonghe Electronics Co Ltd
Original Assignee
Shijiazhuang Tonghe Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shijiazhuang Tonghe Electronics Co Ltd filed Critical Shijiazhuang Tonghe Electronics Co Ltd
Priority to CN202110435949.4A priority Critical patent/CN113103903B/en
Publication of CN113103903A publication Critical patent/CN113103903A/en
Application granted granted Critical
Publication of CN113103903B publication Critical patent/CN113103903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L53/00Methods of charging batteries, specially adapted for electric vehicles; Charging stations or on-board charging equipment therefor; Exchange of energy storage elements in electric vehicles
    • B60L53/60Monitoring or controlling charging stations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/7072Electromobility specific charging systems or methods for batteries, ultracapacitors, supercapacitors or double-layer capacitors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02T90/10Technologies relating to charging of electric vehicles
    • Y02T90/12Electric charging stations

Abstract

The invention is suitable for the technical field of electric vehicle charging control, and provides a method for switching a charging module sequencing mode and terminal equipment, wherein the method comprises the following steps: if the sorting mode of the current charging module is an automatic sorting mode and the repeated fault of the machine number is detected, changing the machine number of the current charging module and obtaining a new machine number again; if the current charging module is in a manual sorting mode, and the repeated machine number faults are not eliminated when the time delay preset time reaches, the manual sorting mode of the current charging module is changed into an automatic sorting mode, and the new machine number of the current charging module is obtained in the automatic sorting mode, so that when the repeated machine number faults of the charging modules in different batches occur, smooth obstacle avoidance and intelligent switching can be realized, and the problem of the fault of output fluctuation or current sharing abnormity in the prior art is solved.

Description

Method for switching sequencing modes of charging modules and terminal equipment
Technical Field
The invention belongs to the technical field of electric vehicle charging control, and particularly relates to a method for switching charging module sequencing modes and terminal equipment.
Background
A plurality of modules that charge in the electric automobile fills electric pile generally use the principal and subordinate mode of flow equalizing to charge for electric automobile, and the module that charges of owner generally confirms with the size of following the module machine number that charges through charging, and the determination of present machine number generally adopts manual sequencing mode and automatic sequencing mode.
Manual sorting mode: determining the machine number of each charging module by using a hardware circuit (such as a dial switch mode); or the number is determined by manually inputting the machine number before each charging module leaves the factory.
The automatic sequencing mode is as follows: and automatically sequencing according to the unique serial number of the charging modules before leaving the factory to obtain the machine number corresponding to each charging module.
However, the charging modules in the charging piles in the same batch are in the same sorting mode, and when the charging modules in the charging piles in different batches are used in a mixed manner, if the charging modules in different batches have repeated machine number faults, the faults of output fluctuation or abnormal current sharing can be caused.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method for switching a charging module sorting manner and a terminal device, which are used to solve the problem in the prior art that when a repeated number failure occurs in charging modules of different batches, a failure of output fluctuation or current sharing abnormality is caused.
To achieve the above object, a first aspect of an embodiment of the present invention provides a method for switching a charging module sequencing mode, including:
if the sorting mode of the current charging module is an automatic sorting mode and the repeated fault of the machine number is detected, changing the machine number of the current charging module and obtaining a new machine number again;
if the current charging module is in a manual sorting mode and the repeated machine number faults are detected, the repeated machine number faults are not eliminated when the time delay preset time reaches, the manual sorting mode of the current charging module is changed into an automatic sorting mode, and a new machine number of the current charging module is obtained in the automatic sorting mode.
As another embodiment of the present application, if the current charging module is sorted automatically and a duplicate failure of the serial number is detected, changing the serial number of the current charging module and obtaining a new serial number again includes:
if the sequencing mode of the current charging module is an automatic sequencing mode and the sequencing mode of the charging module with the repeated fault of the machine number is a manual sequencing mode or an automatic sequencing mode, resetting the automatic sequencing completion flag bit of the current charging module, deleting the machine number of the current charging module and finishing the current process;
in the next process, detecting whether the automatic sequencing completion flag bit of the current charging module is set; and when detecting that the automatic sequencing completion flag bit of the current charging module is not set, automatically sequencing according to the machine numbers received from other charging modules of the charging pile and the preset number of the charging pile, and acquiring the new machine number of the current charging module.
As another embodiment of the present application, after detecting whether the automatic sorting completion flag bit of the current charging module is set, or after obtaining the new machine number of the current charging module, the method further includes:
detecting whether a final machine number of the current charging module is obtained or not;
when the final machine number of the current charging module is obtained, setting an automatic sequencing completion flag bit of the current charging module;
detecting whether a machine number repeated fault occurs;
and when the repeated fault of the machine number does not occur, ending the current flow.
As another embodiment of the present application, after the detecting whether the final machine number of the current charging module is obtained, the method further includes:
and when the final machine number of the current charging module is not obtained, clearing the automatic sequencing completion flag bit of the current charging module, and ending the current process.
As another embodiment of the present application, if the current charging module is in a manual sorting mode and a duplicate serial number failure is detected, delaying a preset time to re-detect whether the duplicate serial number failure is eliminated includes:
setting a delay preset time;
if the sorting mode of the current charging module is a manual sorting mode and a repeated fault of the machine number is detected, carrying out fault delay timing;
when the repeated fault of the machine number is not eliminated when the fault delay timer reaches the delay preset time, resetting the manual sequencing flag bit, the automatic sequencing completion flag bit, the fault delay timer and the fault reset delay timer of the current charging module, setting the fault position of the same machine number, and ending the current flow;
in the next process, when the manual sequencing flag bit and the automatic sequencing completion flag bit of the current charging module are detected to be zero, sequencing is carried out in an automatic sequencing mode to obtain a new machine number of the current charging module.
As another embodiment of the present application, after performing fault delay timing if the current charging module is sorted manually and a repeated fault of the serial number is detected, the method further includes:
when the fault delay timing does not reach the delay preset time and the repeated fault of the machine number is eliminated, ending the current process;
in the next process, when the received machine number is not repeated with the machine number of the current charging module, fault resetting delay timing is carried out;
and when the fault reset delay timer reaches the preset fault reset delay time, setting the fault position with the same number, resetting the fault reset delay timer and the fault delay timer, and ending the current flow.
As another embodiment of the present application, in the next process, after performing fault reset delay timing when it is detected that the received machine number is not repeated with the machine number of the current charging module, the method further includes:
and when the fault reset delay timer does not reach the preset fault reset delay time, ending the current process, and starting the process of detecting whether the machine number received by the next detection and the machine number of the current charging module have repeated faults or not.
A second aspect of the present invention provides a device for switching a charging module sorting manner, including:
the fault processing module is used for changing the machine number of the current charging module and obtaining a new machine number again if the sorting mode of the current charging module is an automatic sorting mode and the repeated fault of the machine number is detected;
and the sequencing mode changing module is used for changing the manual sequencing mode of the current charging module into an automatic sequencing mode and acquiring a new serial number of the current charging module by adopting the automatic sequencing mode if the sequencing mode of the current charging module is the manual sequencing mode and the serial number repeated fault is not eliminated when the time delay preset time reaches.
A third aspect of an embodiment of the present invention provides a terminal device, including: the charging module sorting method comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the method for switching the charging module sorting mode according to any one of the embodiments.
A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the method for switching the charging module sorting mode according to any of the above embodiments.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: compared with the prior art, the method has the advantages that if the sorting mode of the current charging module is an automatic sorting mode and the repeated fault of the machine number is detected, the machine number of the current charging module is changed, and a new machine number is obtained again; if the current charging module is in a manual sorting mode, and the repeated machine number faults are not eliminated when the time delay preset time reaches, the manual sorting mode of the current charging module is changed into an automatic sorting mode, and the new machine number of the current charging module is obtained in the automatic sorting mode, so that when the repeated machine number faults of the charging modules in different batches occur, smooth obstacle avoidance and intelligent switching can be realized, and the problem of the fault of output fluctuation or current sharing abnormity in the prior art is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart illustrating an implementation process of a method for switching a charging module sorting manner according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a communication architecture according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an intelligent switching flow between a manual sorting mode and an automatic sorting mode according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a processing flow when a same-number fault occurs according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an apparatus for switching a charging module sorting manner according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a schematic flow chart of an implementation of a method for switching a charging module sequencing mode according to an embodiment of the present invention, which is described in detail below.
Step 101, if the sorting mode of the current charging module is an automatic sorting mode and a repeated fault of the machine number is detected, changing the machine number of the current charging module and obtaining a new machine number again.
It should be noted that, in the communication architecture of the charging modules shown in fig. 2, all the charging modules on the charging pile are connected to the CAN bus, and send information such as the machine number, the sorting mode, and the current information of the charging pile to the CAN bus, and obtain the machine numbers, the sorting mode, the current information, and the like of other charging modules through the CAN bus. It should be noted that the charging modules on the charging pile may be sorted automatically or manually.
When the sequencing mode of the charging modules is an automatic sequencing mode, the machine numbers of the charging modules can be dynamically adjusted, but when the sequencing mode of the charging modules is a manual sequencing mode, the machine numbers of the charging modules cannot be changed after being determined, unless being modified by manual operation. Therefore, in the embodiment, when a charging module with repeated failure of the number occurs, the number of the charging module in the automatic sequencing mode can be directly changed, so that the problem of output fluctuation or current sharing abnormal failure caused by repeated failure of the number of the charging modules in different batches can be solved.
Optionally, this step may include: if the sequencing mode of the current charging module is an automatic sequencing mode and the sequencing mode of the charging module with the repeated fault of the machine number is a manual sequencing mode or an automatic sequencing mode, resetting the automatic sequencing completion flag bit of the current charging module, deleting the machine number of the current charging module and finishing the current process;
in the next process, detecting whether the automatic sequencing completion flag bit of the current charging module is set; and when detecting that the automatic sequencing completion flag bit of the current charging module is not set, automatically sequencing according to the machine numbers received from other charging modules of the charging pile and the preset number of the charging pile, and acquiring the new machine number of the current charging module.
It should be noted that, since the sorted charging module continuously sends its own serial number, current information, and master-slave flag to the CAN bus, and the sorted charging module needs to send its own preset serial number to the CAN bus, the charging module CAN start the next process after the current process is finished, and each process is executed in sequence. The current charging module can automatically sequence according to the preset number of the current charging module and the machine numbers sent by the other charging modules, so that the new machine numbers of the current charging module can be obtained, and repeated faults of the machine numbers are solved.
It should be noted that, when the charging modules with repeated machine number failures are all in an automatic sorting mode, both of the two charging modules can obtain their own new machine numbers again according to the above new machine number obtaining mode.
Optionally, the preset number may be a unique serial number before the charging module leaves the factory, and the serial number may be formed by combining a series of numbers and letters.
Optionally, after detecting whether the automatic sorting completion flag bit of the current charging module is set, or after obtaining the new machine number of the current charging module, the method may further include:
detecting whether a final machine number of the current charging module is obtained or not;
when the final machine number of the current charging module is obtained, setting an automatic sequencing completion flag bit of the current charging module;
detecting whether a machine number repeated fault occurs;
and when the repeated fault of the machine number does not occur, ending the current flow.
And when the final machine number of the current charging module is not obtained, clearing the automatic sequencing completion flag bit of the current charging module, and ending the current process.
Step 102, if the current charging module is in a manual sorting mode and the repeated machine number faults are detected, and the repeated machine number faults are not eliminated when the time delay preset time reaches, changing the manual sorting mode of the current charging module into an automatic sorting mode, and obtaining a new machine number of the current charging module by adopting the automatic sorting mode.
In this step, when a charging module with a machine number repeat fault occurs, because the current charging module is in a manual sequencing mode, and the same-machine charging module is in an automatic sequencing mode, the same-machine charging module can change the machine number of the same-machine charging module by setting the delay preset time, so that the machine number repeat fault is solved. However, when the sorting mode of the charging modules with the same number is a manual sorting mode, both the two charging modules cannot automatically modify the number of the charging module, and at this time, the sorting mode of the current charging module needs to be changed.
Optionally, if the current charging module is sorted manually, and when the repeated machine number fault is detected, delaying the preset time to re-detect whether the repeated machine number fault is eliminated, the method may include:
setting a delay preset time;
if the sorting mode of the current charging module is a manual sorting mode and a repeated fault of the machine number is detected, carrying out fault delay timing;
when the repeated fault of the machine number is not eliminated when the fault delay timer reaches the delay preset time, resetting the manual sequencing flag bit, the automatic sequencing completion flag bit, the fault delay timer and the fault reset delay timer of the current charging module, setting the fault position of the same machine number, and ending the current flow;
in the next process, when the manual sequencing flag bit and the automatic sequencing completion flag bit of the current charging module are detected to be zero, sequencing is carried out in an automatic sequencing mode to obtain a new machine number of the current charging module.
Optionally, the delay preset time may be set according to actual requirements, and a value of the delay preset time is not limited in this embodiment.
When the fault delay timing reaches the delay preset time and the repeated fault of the machine number is not eliminated, the sequencing mode of the charging module with the same machine number is also a manual sequencing mode, the machine number of the charging module can not be modified by the charging module, and the current charging module is required to modify the sequencing mode of the charging module. In this embodiment, modifying the own sorting mode is not completed in one process, and deleting the manual sorting flag bit of the current charging module and changing the manual sorting flag bit into the automatic sorting mode are separated and do not interfere with each other, so that smooth obstacle avoidance and intelligent switching can be realized, a code does not need to be modified, and the universality of the method can be improved.
Optionally, after performing fault delay timing if the current charging module is in a manual sequencing mode and a repeated fault of the serial number is detected, the method may further include:
when the fault delay timing does not reach the delay preset time and the repeated fault of the machine number is eliminated, the sequencing mode of the charging module with the same machine number is an automatic sequencing mode, the machine number of the charging module with the same machine number is changed, and the current process is ended;
in the next process, when the received machine number is not repeated with the machine number of the current charging module, fault resetting delay timing is carried out;
and when the fault reset delay timer reaches the preset fault reset delay time, setting the fault position with the same number, resetting the fault reset delay timer and the fault delay timer, and ending the current flow.
In this embodiment, when the fault reset delay timer reaches a preset fault reset delay time, it indicates that the machine number repeated fault is eliminated. The preset fault reset delay time may be set according to actual requirements, and a value of the preset fault reset delay time is not limited in this embodiment.
Optionally, in the next process, after performing fault reset delay timing when it is detected that the received machine number is not repeated with the machine number of the current charging module, the method further includes:
and when the fault reset delay timer does not reach the preset fault reset delay time, ending the current process, and starting the process of detecting whether the machine number received by the next detection and the machine number of the current charging module have repeated faults or not.
And when the fault reset delay timer does not reach the preset fault reset delay time, indicating that the machine numbers sent by all the charging modules are not received, and not finishing the operation of detecting whether the received machine numbers and the machine numbers of the current charging modules are repeated.
See fig. 3 for an intelligent switching flow between the manual sorting mode and the automatic sorting mode.
The process is started, and whether a manual sequencing flag bit is set or not is detected;
when the position of the manual sorting flag is set, the current charging module is possibly in a manual sorting mode, and whether a manual address exists or not is detected;
when the manual address exists, performing manual sequencing to obtain the number of the current charging module;
receiving machine numbers sent by other charging modules on the charging pile, and detecting whether machine number repeated faults occur or not; here, the other charging module refers to a charging module other than the current charging module;
and when the repeated fault of the machine number does not occur, ending the current flow.
And when the machine number has repeated faults, clearing the manual sequencing flag bit and the automatic sequencing completion flag bit of the current charging module, and ending the current process.
When the manual address does not exist, resetting the manual sequencing flag bit, and then sequencing in an automatic sequencing mode to obtain the number of the current charging module;
when the manual sorting flag bit is not set, detecting whether the automatic sorting completion flag bit is set, namely detecting whether the automatic sorting is completed;
when the flag bit of the automatic sorting completion is not set, automatic sorting is carried out to obtain the machine number of the current charging module;
after the machine number of the current charging module is obtained or when the automatic sorting completion flag bit is set, detecting whether the final machine number of the current charging module is obtained or not;
when the final machine number of the current charging module is obtained, setting an automatic sequencing completion flag bit of the current charging module;
detecting whether a machine number repeated fault occurs;
and when the repeated fault of the machine number does not occur, ending the current flow.
And when the machine number has repeated faults or the final machine number of the current charging module is not obtained, clearing the automatic sequencing completion flag bit of the current charging module, and ending the current process.
The intelligent switching process of the manual sequencing mode and the automatic sequencing mode CAN realize free collocation of the manual sequencing mode and the automatic sequencing mode, has self-adaptability connected to the same CAN bus, does not need to modify codes, CAN achieve the purpose of universality, has self-adaptability when the sequencing modes are freely combined, and realizes smooth obstacle avoidance and intelligent switching of the manual sequencing mode and the automatic sequencing mode.
Since the manual sorting mode needs to perform fault processing according to the delay preset time, the following describes a processing flow when the same-model fault occurs, as shown in fig. 4.
The process is started, and whether the received machine number is repeated with the machine number of the current charging module is detected;
when the received machine number is repeated with the machine number of the current charging module, performing fault delay timing;
detecting whether the fault delay timer reaches a delay preset time or not;
and when the fault delay timing does not reach the delay preset time, ending the current flow. It should be noted that, when it is detected in the next process that the received machine number is not repeated with the machine number of the current charging module, it indicates that the charging module with the same machine number may change its own machine number, and at this time, fault reset delay timing and subsequent steps are performed;
and when the fault delay timing reaches the delay preset time, the received machine number and the machine number of the current charging module are repeated, the same-machine number charging module can be in a manual sequencing mode, the same-machine number fault position is set, the fault delay timing and the fault reset delay timing are reset, and the current flow is ended.
When the received machine number is not repeated with the machine number of the current charging module, performing fault reset delay timing, and detecting whether the fault reset delay timing reaches preset fault reset delay time or not;
and when the fault reset delay timer does not reach the preset fault reset delay time, ending the current process, and starting the process of detecting whether the machine number received by the next detection and the machine number of the current charging module have repeated faults or not.
And when the fault reset delay timer reaches the preset fault reset delay time, setting the fault position with the same number, resetting the fault reset delay timer and the fault delay timer, and ending the current flow.
The processing flow when the same-number fault occurs CAN realize the adaptivity of connecting a manual sorting mode and an automatic sorting mode to the same CAN bus, realize the smooth obstacle avoidance and intelligent switching when the two types of charging modules are freely matched, and does not need to modify codes so as to achieve the purpose of universality.
After the manual sequencing mode is optimized, the following problems can be solved: and reporting the same-number fault in a delayed mode, wherein the number of the machine cannot be changed, and sufficient time is reserved for changing the number of the same-number charging module.
According to the method for switching the charging module sequencing mode, if the current charging module sequencing mode is an automatic sequencing mode and the repeated fault of the machine number is detected, the machine number of the current charging module is changed, and a new machine number is obtained again; if the current charging module is in a manual sorting mode, and the repeated machine number faults are not eliminated when the time delay preset time reaches, the manual sorting mode of the current charging module is changed into an automatic sorting mode, and the new machine number of the current charging module is obtained in the automatic sorting mode, so that when the repeated machine number faults of the charging modules in different batches occur, smooth obstacle avoidance and intelligent switching can be realized, and the problem of the fault of output fluctuation or current sharing abnormity in the prior art is solved. In the embodiment, codes do not need to be modified, smooth obstacle avoidance and intelligent switching of the charging modules in the two accumulation sorting modes can be realized, and therefore the universality of the charging modules can be improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 5 is a diagram illustrating an example of a device for switching a charging module sorting manner according to an embodiment of the present invention, which corresponds to the method for switching a charging module sorting manner described in the foregoing embodiment. As shown in fig. 5, the apparatus may include: a fault handling module 501 and a sorting mode changing module 502.
The fault processing module 501 is configured to, if the current charging module is in an automatic sorting mode and a repeated machine number fault is detected, change the machine number of the current charging module and obtain a new machine number again;
a sorting mode changing module 502, configured to change the manual sorting mode of the current charging module to an automatic sorting mode and obtain a new serial number of the current charging module by using the automatic sorting mode if the sorting mode of the current charging module is the manual sorting mode and the serial number repeat fault is not eliminated when the time delay reaches the preset time when the serial number repeat fault is detected.
Optionally, the fault handling module 501 may be configured to:
if the sequencing mode of the current charging module is an automatic sequencing mode and the sequencing mode of the charging module with the repeated fault of the machine number is a manual sequencing mode or an automatic sequencing mode, resetting the automatic sequencing completion flag bit of the current charging module, deleting the machine number of the current charging module and finishing the current process;
in the next process, detecting whether the automatic sequencing completion flag bit of the current charging module is set; and when detecting that the automatic sequencing completion flag bit of the current charging module is not set, automatically sequencing according to the machine numbers received from other charging modules of the charging pile and the preset number of the charging pile, and acquiring the new machine number of the current charging module.
Optionally, after detecting whether the automatic sorting completion flag bit of the current charging module is set, or after obtaining the new model number of the current charging module, the fault handling module 501 may be further configured to:
detecting whether a final machine number of the current charging module is obtained or not;
when the final machine number of the current charging module is obtained, setting an automatic sequencing completion flag bit of the current charging module;
detecting whether a machine number repeated fault occurs;
and when the repeated fault of the machine number does not occur, ending the current flow.
Optionally, after detecting whether the final machine number of the current charging module is obtained, the fault handling module 501 may be further configured to:
and when the final machine number of the current charging module is not obtained, clearing the automatic sequencing completion flag bit of the current charging module, and ending the current process.
Optionally, the sorting manner changing module 502 may be configured to:
setting a delay preset time;
if the sorting mode of the current charging module is a manual sorting mode and a repeated fault of the machine number is detected, carrying out fault delay timing;
when the repeated fault of the machine number is not eliminated when the fault delay timer reaches the delay preset time, resetting the manual sequencing flag bit, the automatic sequencing completion flag bit, the fault delay timer and the fault reset delay timer of the current charging module, setting the fault position of the same machine number, and ending the current flow;
in the next process, when the manual sequencing flag bit and the automatic sequencing completion flag bit of the current charging module are detected to be zero, sequencing is carried out in an automatic sequencing mode to obtain a new machine number of the current charging module.
Optionally, the sorting manner changing module 502 may be further configured to:
when the fault delay timing does not reach the delay preset time and the repeated fault of the machine number is eliminated, ending the current process;
in the next process, when the received machine number is not repeated with the machine number of the current charging module, fault resetting delay timing is carried out;
and when the fault reset delay timer reaches the preset fault reset delay time, setting the fault position with the same number, resetting the fault reset delay timer and the fault delay timer, and ending the current flow.
Optionally, the sorting manner changing module 502 may be further configured to:
and when the fault reset delay timer does not reach the preset fault reset delay time, ending the current process, and starting the process of detecting whether the machine number received by the next detection and the machine number of the current charging module have repeated faults or not.
According to the device for switching the charging module sequencing mode, if the current charging module sequencing mode is an automatic sequencing mode and a repeated machine number fault is detected, the fault processing module changes the machine number of the current charging module and obtains a new machine number again; if the current charging module is in a manual sorting mode, and the repeated machine number faults are not eliminated when the time delay preset time reaches, the sorting mode changing module changes the manual sorting mode of the current charging module into an automatic sorting mode and obtains the new machine number of the current charging module by adopting the automatic sorting mode, so that when the repeated machine number faults occur in the charging modules of different batches, the smooth obstacle avoidance and intelligent switching can be realized, and the problem of the faults of output fluctuation or current sharing abnormity in the prior art is solved. In the embodiment, codes do not need to be modified, smooth obstacle avoidance and intelligent switching of the charging modules in the two accumulation sorting modes can be realized, and therefore the universality of the charging modules can be improved.
Fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 6, the terminal device 600 of this embodiment includes: a processor 601, a memory 602, and a computer program 603 stored in the memory 602 and operable on the processor 601, such as a program for switching the charging module sequencing mode. When the processor 601 executes the computer program 603, steps in the method embodiment for switching the charging module sorting manner, such as steps 101 to 102 shown in fig. 1, or steps shown in fig. 3 and 4, are implemented, and when the processor 601 executes the computer program 603, functions of modules in each device embodiment, such as functions of modules 501 to 502 shown in fig. 5, are implemented.
Illustratively, the computer program 603 may be partitioned into one or more program modules, which are stored in the memory 602 and executed by the processor 601 to implement the present invention. The one or more program modules may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used for describing the execution process of the computer program 603 in the apparatus for switching the charging module sequencing mode or the terminal device 600. For example, the computer program 603 may be divided into a failure processing module 501 and a sorting mode changing module 502, and specific functions of the modules are shown in fig. 5, which are not described in detail herein.
The terminal device 600 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 601, a memory 602. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal device 600 and does not constitute a limitation of terminal device 600 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 601 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 602 may be an internal storage unit of the terminal device 600, such as a hard disk or a memory of the terminal device 600. The memory 602 may also be an external storage device of the terminal device 600, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 600. Further, the memory 602 may also include both an internal storage unit and an external storage device of the terminal device 600. The memory 602 is used for storing the computer programs and other programs and data required by the terminal device 600. The memory 602 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (9)

1. A method for switching sequencing modes of charging modules is characterized by comprising the following steps:
if the sorting mode of the current charging module is an automatic sorting mode and the repeated fault of the machine number is detected, changing the machine number of the current charging module and obtaining a new machine number again; the method comprises the following steps: if the sequencing mode of the current charging module is an automatic sequencing mode and the sequencing mode of the charging module with the repeated fault of the machine number is a manual sequencing mode or an automatic sequencing mode, resetting the automatic sequencing completion flag bit of the current charging module, deleting the machine number of the current charging module and finishing the current process; in the next process, detecting whether the automatic sequencing completion flag bit of the current charging module is set; when detecting that the automatic sorting completion flag bit of the current charging module is not set, automatically sorting according to the machine numbers sent by other charging modules of the charging pile and the preset number of the charging pile, and obtaining a new machine number of the current charging module;
if the current charging module is in a manual sorting mode and the repeated machine number faults are detected, the repeated machine number faults are not eliminated when the time delay preset time reaches, the manual sorting mode of the current charging module is changed into an automatic sorting mode, and a new machine number of the current charging module is obtained in the automatic sorting mode.
2. The method for switching sequencing modes of a charging module according to claim 1, wherein after detecting whether an automatic sequencing completion flag bit of the current charging module is set or not, or after obtaining a new machine number of the current charging module, the method further comprises:
detecting whether a final machine number of the current charging module is obtained or not;
when the final machine number of the current charging module is obtained, setting an automatic sequencing completion flag bit of the current charging module;
detecting whether a machine number repeated fault occurs;
and when the repeated fault of the machine number does not occur, ending the current flow.
3. The method for switching the sequencing mode of the charging modules according to claim 2, wherein after the detecting whether the final machine number of the current charging module is obtained, the method further comprises:
and when the final machine number of the current charging module is not obtained, clearing the automatic sequencing completion flag bit of the current charging module, and ending the current process.
4. The method according to any one of claims 1 to 3, wherein the step of, if the current charging module is in a manual sorting mode and a machine number repeat fault is detected, delaying a preset time to re-detect whether the machine number repeat fault is eliminated comprises:
setting a delay preset time;
if the sorting mode of the current charging module is a manual sorting mode and a repeated fault of the machine number is detected, carrying out fault delay timing;
when the repeated fault of the machine number is not eliminated when the fault delay timer reaches the delay preset time, resetting the manual sequencing flag bit, the automatic sequencing completion flag bit, the fault delay timer and the fault reset delay timer of the current charging module, setting the fault position of the same machine number, and ending the current flow;
in the next process, when the manual sequencing flag bit and the automatic sequencing completion flag bit of the current charging module are detected to be zero, sequencing is carried out in an automatic sequencing mode to obtain a new machine number of the current charging module.
5. The method according to claim 4, wherein after performing the fault delay timing if the current charging module is in the manual sorting mode and the serial number repeat fault is detected, the method further comprises:
when the fault delay timing does not reach the delay preset time and the repeated fault of the machine number is eliminated, ending the current process;
in the next process, when the received machine number is not repeated with the machine number of the current charging module, fault resetting delay timing is carried out;
and when the fault reset delay timer reaches the preset fault reset delay time, setting the fault position with the same number, resetting the fault reset delay timer and the fault delay timer, and ending the current flow.
6. The method according to claim 5, wherein after performing the fault reset delay timer when detecting that the received serial number is not duplicated with the serial number of the current charging module in the next process, the method further comprises:
and when the fault reset delay timer does not reach the preset fault reset delay time, ending the current process, and starting the process of detecting whether the machine number received by the next detection and the machine number of the current charging module have repeated faults or not.
7. A device for switching charging module sequencing modes is characterized by comprising:
the fault processing module is used for changing the machine number of the current charging module and obtaining a new machine number again if the sorting mode of the current charging module is an automatic sorting mode and the repeated fault of the machine number is detected; the fault processing module is used for clearing the automatic sorting completion flag bit of the current charging module, deleting the machine number of the current charging module and finishing the current flow if the sorting mode of the current charging module is an automatic sorting mode and the sorting mode of the charging module with machine number repeated faults is a manual sorting mode or an automatic sorting mode; in the next process, detecting whether the automatic sequencing completion flag bit of the current charging module is set; when detecting that the automatic sorting completion flag bit of the current charging module is not set, automatically sorting according to the machine numbers sent by other charging modules of the charging pile and the preset number of the charging pile, and obtaining a new machine number of the current charging module;
and the sequencing mode changing module is used for changing the manual sequencing mode of the current charging module into an automatic sequencing mode and acquiring a new serial number of the current charging module by adopting the automatic sequencing mode if the sequencing mode of the current charging module is the manual sequencing mode and the serial number repeated fault is not eliminated when the time delay preset time reaches.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202110435949.4A 2021-04-22 2021-04-22 Method for switching sequencing modes of charging modules and terminal equipment Active CN113103903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110435949.4A CN113103903B (en) 2021-04-22 2021-04-22 Method for switching sequencing modes of charging modules and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110435949.4A CN113103903B (en) 2021-04-22 2021-04-22 Method for switching sequencing modes of charging modules and terminal equipment

Publications (2)

Publication Number Publication Date
CN113103903A CN113103903A (en) 2021-07-13
CN113103903B true CN113103903B (en) 2022-04-12

Family

ID=76719397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110435949.4A Active CN113103903B (en) 2021-04-22 2021-04-22 Method for switching sequencing modes of charging modules and terminal equipment

Country Status (1)

Country Link
CN (1) CN113103903B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115473127A (en) * 2022-07-29 2022-12-13 科华数据股份有限公司 Winding group number identification method after replacement of electrical module, upper computer and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770527A (en) * 2008-12-30 2010-07-07 英业达股份有限公司 Method for modifying data of circuit components
CN103138316A (en) * 2011-11-30 2013-06-05 威海中创国际贸易有限公司 Electric car charger
CN104199075A (en) * 2014-09-09 2014-12-10 北京航空航天大学 Navigation mode switching method applied to UAV (unmanned aerial vehicle) integrated navigation system
CN107097661A (en) * 2017-04-16 2017-08-29 浙江万马新能源有限公司 Multi-power module address acquisition and homogeneous state control method based on address state table
CN107122942A (en) * 2017-05-02 2017-09-01 周惠君 Computer commodity distribution control method based on express delivery odd numbers coding rule
CN109245193A (en) * 2018-08-16 2019-01-18 江苏玖宇实业有限公司 A kind of more charging module balance control methods
EP3608158A1 (en) * 2018-08-10 2020-02-12 Beijing X-Charge Co., Ltd. A multi-plug dc charging pile system and distribution method of its charging power
CN111845749A (en) * 2019-04-28 2020-10-30 郑州宇通客车股份有限公司 Control method and system for automatically driving vehicle
CN112399397A (en) * 2019-08-13 2021-02-23 三星电子株式会社 Method and apparatus for recovery from roaming diversion to related failures

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770527A (en) * 2008-12-30 2010-07-07 英业达股份有限公司 Method for modifying data of circuit components
CN103138316A (en) * 2011-11-30 2013-06-05 威海中创国际贸易有限公司 Electric car charger
CN104199075A (en) * 2014-09-09 2014-12-10 北京航空航天大学 Navigation mode switching method applied to UAV (unmanned aerial vehicle) integrated navigation system
CN107097661A (en) * 2017-04-16 2017-08-29 浙江万马新能源有限公司 Multi-power module address acquisition and homogeneous state control method based on address state table
CN107122942A (en) * 2017-05-02 2017-09-01 周惠君 Computer commodity distribution control method based on express delivery odd numbers coding rule
EP3608158A1 (en) * 2018-08-10 2020-02-12 Beijing X-Charge Co., Ltd. A multi-plug dc charging pile system and distribution method of its charging power
CN109245193A (en) * 2018-08-16 2019-01-18 江苏玖宇实业有限公司 A kind of more charging module balance control methods
CN111845749A (en) * 2019-04-28 2020-10-30 郑州宇通客车股份有限公司 Control method and system for automatically driving vehicle
CN112399397A (en) * 2019-08-13 2021-02-23 三星电子株式会社 Method and apparatus for recovery from roaming diversion to related failures

Also Published As

Publication number Publication date
CN113103903A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN109063785B (en) Charging pile fault detection method and terminal equipment
CN110083628B (en) Addressing method and device for Electronic Control Unit (ECU) of vehicle
CN113103903B (en) Method for switching sequencing modes of charging modules and terminal equipment
CN108923957B (en) Distribution network terminal DTU fault elimination method and device and terminal equipment
CN112996020A (en) Bluetooth-based automatic testing method and device and Bluetooth testing terminal
CN111966391A (en) System configuration method and device of vehicle, terminal equipment and storage medium
CN109325603B (en) Fault request processing method and device and terminal equipment
CN108628712B (en) Application program testing method and terminal equipment
CN111203869B (en) Robot system maintenance method and device, robot and readable storage medium
CN113219320B (en) BMS circuit board checking method, system, readable storage medium and terminal equipment
CN111220899A (en) CEC circuit testing method and device of HDMI interface and terminal
CN111813080A (en) CAN bus pin identification method and device of vehicle OBD interface
CN114418147A (en) Method and device for processing abnormity of main charging module, terminal and storage medium
CN113447880B (en) Fault diagnosis method and device for electric energy meter and terminal equipment
CN113190881B (en) Method and device for determining machine number of charging module and terminal equipment
CN114425787A (en) Control method and device for robot automatic test, server and storage medium
CN115643160A (en) Data acquisition method, device, equipment and medium based on daisy chain communication
CN113271223B (en) Unified communication management method for charging module and terminal equipment
CN109597813B (en) Vehicle data processing method and device
CN113037880A (en) Gateway IP address configuration method and device, gateway and readable storage medium
CN114572005A (en) Vehicle mileage backup method and terminal equipment
CN112216333A (en) Chip testing method and device
CN107274589B (en) Access method and system of financial self-service terminal hardware equipment and terminal equipment
CN110716747B (en) Program operation efficiency optimization method based on function parameter statistics and terminal equipment
CN110618826A (en) Method and device for updating application program and terminal equipment

Legal Events

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