CN113190881A - Method and device for determining machine number of charging module and terminal equipment - Google Patents

Method and device for determining machine number of charging module and terminal equipment Download PDF

Info

Publication number
CN113190881A
CN113190881A CN202110437396.6A CN202110437396A CN113190881A CN 113190881 A CN113190881 A CN 113190881A CN 202110437396 A CN202110437396 A CN 202110437396A CN 113190881 A CN113190881 A CN 113190881A
Authority
CN
China
Prior art keywords
current
charging module
charging
machine
determining
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.)
Granted
Application number
CN202110437396.6A
Other languages
Chinese (zh)
Other versions
CN113190881B (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 CN202110437396.6A priority Critical patent/CN113190881B/en
Publication of CN113190881A publication Critical patent/CN113190881A/en
Application granted granted Critical
Publication of CN113190881B publication Critical patent/CN113190881B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/73Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by creating or determining hardware identification, e.g. serial numbers
    • 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/30Constructional details of charging stations
    • B60L53/31Charging columns specially adapted for electric vehicles
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mechanical Engineering (AREA)
  • Mathematical Physics (AREA)
  • Transportation (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention is applicable to the technical field of electric vehicle charging control, and provides a method and a device for determining the number of a charging module and a terminal device, wherein the method comprises the following steps: determining a current machine number corresponding to the current charging module according to the current preset number and the acquired preset numbers sent by other charging modules on the charging pile, and sending the current machine number to a CAN bus; and receiving the corresponding machine numbers sent by the other charging modules, deleting the repeated machine numbers when the repeated fault of the machine numbers is detected, and determining the final machine numbers corresponding to the current charging modules according to the current preset numbers and the preset numbers sent by the charging modules corresponding to the repeated machine numbers, so that the hardware design and development cost, the labor cost and the possibility of error operation of personnel can be reduced, and the problem of the repeated machine numbers can be avoided.

Description

Method and device for determining machine number of charging module and terminal equipment
Technical Field
The invention belongs to the technical field of electric vehicle charging control, and particularly relates to a method and a device for determining a machine number of a charging module and terminal equipment.
Background
All set up a plurality of modules that charge in the electric automobile fills electric pile so that for a plurality of electric automobile that come to charge, reduce electric automobile queuing time, improve charge efficiency. At present, a plurality of charging modules are generally charged in a current equalizing mode of a master charging module and a slave charging module. The main charging module is the module with the largest output current in all the charging modules, and in the actual charging process, the current fluctuation occurs in each charging module when the main charging module and the auxiliary charging module change, so the fixity and invariance of the number selection of the charging modules become the key.
The machine number of each charging module is generally determined in the following two ways, and after the machine number is selected, the machine number is fixed and unchanged:
firstly, determining the machine number of each charging module by adopting a hardware circuit or a dial switch and the like;
and secondly, the method is determined by manually inputting the machine number before each charging module leaves the factory.
However, the inventor finds that when the machine number of each charging module is determined in the first mode, hardware circuit design is increased, development cost is increased, when the machine number of each charging module is determined in the second mode, labor cost is increased, meanwhile errors cannot be avoided, and the two modes cannot avoid the situation that the machine number is repeated, so that charging faults occur.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for determining a serial number of a charging module, and a terminal device, which are used to solve the problems that in the prior art, development cost and labor cost are increased, and repeated serial numbers cannot be avoided.
In order to achieve the above object, a first aspect of an embodiment of the present invention provides a method for determining a number of a charging module, including:
determining a current phone number corresponding to a current charging module according to the current preset number and the acquired preset numbers sent by other charging modules on the charging pile, and sending the current phone number to a CAN bus, wherein the other charging modules refer to the charging modules on the charging pile except the current charging module;
and receiving corresponding machine numbers sent by other charging modules, deleting repeated machine numbers when machine number repeated faults are detected, and determining a final machine number corresponding to the current charging module according to the current preset number and the preset number sent by the charging module corresponding to the repeated machine numbers.
As another embodiment of the present application, determining a current phone number corresponding to a current charging module according to a current preset number and an acquired preset number sent by other charging modules on the charging pile includes:
when a charging pile is powered on, receiving preset numbers sent by each charging module on the electric automobile charging pile through a CAN bus;
automatically sequencing according to the current preset number and all the received preset numbers, determining the current machine number corresponding to the current charging module, and sending the current machine number to the CAN bus;
detecting whether the current charging module successfully obtains a final machine number;
and when the current charging module successfully obtains the final machine number, determining that the automatic sequencing is completed.
After determining that the automatic sorting is completed when the current charging module successfully obtains the final machine number, the method further includes:
setting the automatic sorting completion flag bit;
after the detecting whether the current charging module successfully obtains the final machine number, the method further includes:
and when the current charging module succeeds and does not obtain the final machine number, determining that automatic sequencing is not completed, and clearing an automatic sequencing completion flag bit.
As another embodiment of the present application, the preset number is a unique serial number of the corresponding charging module.
As another embodiment of the present application, before determining a current phone number corresponding to a current charging module according to a current preset number and an acquired preset number sent by other charging modules on a charging pile, and sending the current phone number to a CAN bus, the method further includes:
detecting whether corresponding machine numbers sent by other charging modules are received;
when receiving corresponding machine numbers sent by other charging modules, marking the machine numbers, and detecting whether machine number repeated faults exist or not;
when the repeated faults of the machine number are not detected and the automatic sequencing is completed, whether the repeated faults of the main charging module occur or not is detected;
and when the repeated fault of the main charging module does not occur, recording the acquired corresponding machine numbers sent by the other charging modules, and searching and storing the main charging module.
As another embodiment of the present application, after the detecting whether a main charging module repetitive failure occurs, the method further includes:
and when the main charging module repeatedly fails, re-determining the main charging module according to the final machine number and the machine number of the charging module with the failure of the host, and storing the master-slave mark of the current charging module.
As another embodiment of the present application, the deleting a duplicate serial number when a serial number duplicate failure is detected, and determining a final serial number corresponding to a current charging module according to the current preset serial number and a preset serial number sent by the charging module corresponding to the duplicate serial number includes:
when the repeated machine number fault is detected, deleting the current machine number of the current charging module, and sending the current preset number of the current charging module to the CAN bus;
and when receiving a preset number sent by the charging module with the repeated fault of the machine number, reordering according to the current preset number and the preset number sent by the charging module with the repeated fault of the machine number, and determining the final machine number corresponding to the current charging module.
As another embodiment of the present application, the receiving the corresponding number sent by the other charging module includes:
receiving the corresponding machine numbers sent by the other charging modules in real time;
further comprising:
and receiving the master-slave marks sent by the other charging modules and the current information of each charging module in real time, wherein the current information is the average current when the charging module is the master charging module, and the current information is the output current when the charging module is the slave charging module.
A second aspect of the embodiments of the present invention provides a device for determining a serial number of a charging module, including:
the sequencing module is used for determining a current phone number corresponding to the current charging module according to the current preset number and the acquired preset numbers sent by other charging modules on the charging pile, and sending the current phone number to the CAN bus, wherein the other charging modules refer to the charging modules on the charging pile except the current charging module;
and the fault processing module is used for receiving the corresponding machine numbers sent by the other charging modules, deleting the repeated machine numbers when the repeated fault of the machine numbers is detected, reordering according to the current preset number and the preset number sent by the charging module corresponding to the repeated machine numbers, and determining the final machine number corresponding to the current charging module.
A third aspect of an embodiment of the present invention provides a terminal device, including: the charging module 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 determining the number of the charging module according to any one 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 and the device have the advantages that the current machine number corresponding to the current charging module is determined according to the current preset number and the acquired preset numbers sent by other charging modules on the charging pile, and the current machine number is sent to the CAN bus, so that the corresponding machine number CAN be obtained through automatic sequencing, the hardware design and development cost, the labor cost and the possibility of operation errors of personnel are reduced, and the problems in the prior art are avoided. And when the corresponding machine numbers sent by the other charging modules are received, when the machine number repeated fault is detected, the repeated machine numbers are deleted, and the final machine number corresponding to the current charging module is determined according to the current preset number and the preset number sent by the charging module corresponding to the repeated machine numbers, so that the problem of repeated machine numbers can be avoided.
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 of a method for determining a machine number of a charging module according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a communication architecture according to another embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of a method for determining a number of a charging module according to another embodiment of the present invention;
fig. 4 is an exemplary diagram of a machine number determination apparatus of a charging module according to an embodiment of the present invention;
fig. 5 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 determining a machine number of a charging module according to an embodiment of the present invention, which is described in detail below.
Step 101, determining a current machine number corresponding to a current charging module according to a current preset number and the obtained preset numbers sent by other charging modules on the charging pile, and sending the current machine number to a CAN bus.
The other charging modules refer to charging modules on the charging pile except the current charging module
As shown in fig. 2, in the communication architecture, all charging modules provided on the charging pile perform information communication via the CAN bus, and the current charging module is described as an execution subject.
Optionally, this step is an automatic sorting process, and may include:
when a charging pile is powered on, receiving preset numbers sent by each charging module on the electric automobile charging pile through a CAN bus;
and automatically sequencing according to the current preset number and all the received preset numbers, determining the current machine number corresponding to the current charging module, and sending the current machine number to the CAN bus.
After obtaining the current machine number of the user, whether the current machine number is the final machine number of the user needs to be detected.
Detecting whether the current charging module successfully obtains a final machine number;
and when the current charging module successfully obtains the final machine number, determining that the automatic sequencing is completed.
After determining that the automatic sorting is completed, further comprising: and setting the automatic sorting completion flag bit, and then resetting to complete the current automatic sorting process.
After the detecting whether the current charging module successfully obtains the final machine number, the method further includes:
and when the current charging module succeeds and does not obtain the final machine number, determining that automatic sequencing is not completed, clearing the automatic sequencing completion flag bit, and then resetting to complete the current automatic sequencing process.
In this embodiment, when the power is turned on, each charging module sends a preset number to the CAN bus. The preset serial 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, but the serial number does not have uniqueness, fixity and non-repeatability. The serial numbers are used for automatically sequencing and determining the machine numbers of the charging modules, so that the defects existing in a manual sequencing mode can be overcome, wherein the manual sequencing mode is to determine the machine number of each charging module by adopting a hardware circuit or a dial switch and the like in the prior art and determine the machine number by manually inputting the machine number before each charging module leaves a factory. Namely, the automatic sequencing mode can reduce the hardware development cost, the labor cost and the possibility of error operation of personnel.
For example, if the current charging module is the charging module No. 2, the current charging module can receive serial numbers sent by the charging module No. 1, the charging module No. 3 and the subsequent charging modules, automatically sort the serial numbers according to the serial numbers of all the charging modules, and sort the serial numbers according to a sequence from small to large or a sequence from large to small to obtain the machine numbers of the current charging module.
Optionally, before this step, the method may further include:
detecting whether corresponding machine numbers sent by other charging modules are received;
when receiving corresponding machine numbers sent by other charging modules, marking the machine numbers, and detecting whether machine number repeated faults exist or not;
when the repeated faults of the machine numbers are not detected and the automatic sequencing is completed, whether the faults of the same host occur or not is detected;
and when the same host fails, recording the acquired corresponding phone numbers sent by the other charging modules, and searching and storing the main charging module.
And when the same host fails, re-determining the main charging module according to the final machine number and the machine number of the charging module with the same host failure, and storing the master-slave mark of the current charging module.
In an embodiment, when the process starts, it may be first detected whether the corresponding machine numbers sent by other charging modules are received, when the corresponding machine numbers sent by other charging modules are received, it indicates that the operation of automatic sorting, that is, the operation of step 101, may be completed currently, and when the corresponding machine numbers sent by other charging modules are not received, the operation of step 101 needs to be performed.
Optionally, when the repeated number failure is not detected and the automatic sorting is completed, detecting whether the same host failure occurs may include:
when the repeated faults of the machine numbers are not detected, whether automatic sequencing is finished or not is detected; and after the automatic sequencing is finished, detecting whether the same host fails or not. Here, the same host fails, i.e., two hosts are present.
When the same host fails, the host needs to be determined again. In this embodiment, re-determining the main charging module according to the final machine number and the machine number of the charging module with the host failure may include: determining the charging module with the smaller number of the two modules as a main charging module, and determining the other charging module as a slave charging module; or the charging module with the larger size in the two charging modules is determined as the main charging module, and the other charging module is determined as the auxiliary charging module.
The master charging module and the slave charging module are determined to be master seeking operation and are actually the preprocessing process of current sharing, the current sharing process of the master charging module and the slave charging module is a process that all slave charging modules regulate self current according to the average current sent by the master charging module, and therefore the current sharing process needs to distinguish whether the obtained information is the average current or the output current, namely the master-slave performance of the received information.
In order to reduce the data transmission pressure of the CAN bus, the information sent to the CAN bus by each charging module is sent by using one frame.
And 102, receiving corresponding machine numbers sent by other charging modules, deleting repeated machine numbers when machine number repeated faults are detected, reordering according to the current preset number and the preset number sent by the charging module corresponding to the repeated machine numbers, and determining the final machine number corresponding to the current charging module.
After each charging module determines the own phone number, the own phone number is sent to the CAN bus in real time so as to inform other charging modules on the charging pile, and the problem that the same phone number is repeatedly occupied is avoided.
Optionally, when a repeated number failure is detected, deleting a repeated number, and determining a final number corresponding to the current charging module according to the current preset number and the preset number sent by the charging module corresponding to the repeated number, where the method includes:
when the repeated machine number fault is detected, deleting the current machine number of the current charging module, and sending the current preset number of the current charging module to the CAN bus;
and when receiving a preset number sent by the charging module with the repeated fault of the machine number, reordering according to the current preset number and the preset number sent by the charging module with the repeated fault of the machine number, and determining the final machine number corresponding to the current charging module.
It should be noted that, in order to avoid mutual interference between the automatic sorting and the main searching process, dynamic adjustment of stability, same-machine number fault and host repeated fault of the current-sharing preprocessing process is realized, so that the automatic sorting and main searching process is controlled in logic sequence and smoothly switched.
The conditions for the sequence control are:
the serial number is not continuously sent to the CAN bus after the automatic sequencing is finished;
the number corresponding to the charging module needs to be continuously sent on the CAN bus.
The key of the smooth switching is as follows:
and when the machine number has repeated faults, ending the current process, entering an automatic sequencing process, and performing a main searching process after the automatic sequencing process is finished.
When repeated faults of the host computer occur, the main charging module is directly re-determined in the current process according to the size of the host computer.
Optionally, when each charging module sends a serial number to the CAN bus, the master-slave mark and current information of each charging module CAN be sent in real time, wherein when the charging module is the master charging module, the current information is an average current, and when the charging module is the slave charging module, the current information is an output current.
Namely, the current charging module receives the corresponding machine number, the master-slave mark and the current information of each charging module sent by each charging module in real time.
The method for determining the number of the charging module is described below by a specific embodiment, as shown in fig. 3.
And after the process is started, detecting whether the corresponding machine number sent by other charging modules is received.
When the corresponding machine numbers sent by other charging modules are not received, the automatic sequencing is detected whether to be finished or not if the automatic sequencing is possibly not finished;
and when the automatic sequencing is not finished, determining a current machine number corresponding to the current charging module according to the current preset number and the acquired preset numbers sent by other charging modules on the charging pile, and sending the current machine number to the CAN bus.
Detecting whether the final machine number is successfully obtained or not;
and if the current charging module successfully obtains the final machine number, determining that automatic sequencing is completed, setting an automatic sequencing completion flag bit, and then resetting to complete the current automatic sequencing process. The reset refers to clearing a machine number marking variable, clearing an online module total count, storing a machine number of the machine, clearing a fault flag and storing a function flag after storing the fault flag, wherein the clearing of the fault flag is to clear the same machine number fault after storing the same machine number fault so as to restart the next process, and the function flag may include: a sorting completion flag bit, a master seeking completion flag bit, a master-slave flag and the like;
and if the current charging module succeeds in not obtaining the final machine number, determining that automatic sequencing is not completed, resetting an automatic sequencing completion flag bit, and then resetting to complete the current automatic sequencing process. The reset is the same as the reset meaning, but the automatic sorting completion flag bit is not set;
when the automatic sequencing is completed, detecting whether the main charging module is repeated;
and when the main charging module is repeated, re-determining the main charging module according to the final machine number and the machine number of the charging module with the fault of the host, storing the parameters of the current charging module, and ending the current process. The parameters refer to the number of online modules, the functional status flags and the failure flags, wherein the functional flags may include: a sorting completion flag bit, a master seeking completion flag bit, a master-slave flag and the like;
and when the repetition of the main charging module does not occur, recording the acquired corresponding machine numbers sent by the other charging modules, searching and storing the main charging module, and ending the current process. The parameters stored here are the same as described above;
when receiving corresponding machine numbers sent by other charging modules, carrying out same machine number processing and machine number marking processing, and detecting whether machine number repeated faults of the charging modules occur;
and when the repeated faults of the machine number of the charging module do not occur, the step of detecting whether the automatic sequencing of the serial numbers is finished is carried out.
And when the machine number of the charging module has repeated faults, deleting the current machine number of the current charging module, resetting the automatic sequencing completion flag bit, and then resetting to finish the current process. In the next process, the charging module with the machine number repeated fault sends the serial number of the charging module to the CAN bus again, whether the CAN bus receives the machine number is detected, the charging module with the machine number repeated fault sends the serial number of the charging module, and when the current charging module receives the preset serial number sent by the charging module with the machine number repeated fault, the current charging module carries out reordering according to the current preset serial number and the preset serial number sent by the charging module with the machine number repeated fault, and the final machine number corresponding to the current charging module is determined.
It should be noted that, since the corresponding serial number and the master-slave flag of the charging module and the current information of each charging module need to be sent to the CAN bus in real time, the next process CAN be started after the current process is finished.
In the above embodiment, the automatic sorting process and the main seeking process are separated, and do not interfere with each other, so that the stability of the current-equalizing preprocessing process, the dynamic adjustment of the same-number fault and the repeated fault of the host, and the smooth switching between the automatic sorting and the main seeking are realized.
According to the method for determining the machine number of the charging module, the current machine number corresponding to the current charging module is determined according to the current preset number and the obtained preset numbers sent by other charging modules on the charging pile, and the current machine number is sent to the CAN bus, so that the corresponding machine number CAN be obtained through automatic sequencing, the hardware design and development cost, the labor cost and the possibility of operation errors of personnel are reduced, and the problems in the prior art are avoided. And when the corresponding machine numbers sent by the other charging modules are received, when the machine number repeated fault is detected, the repeated machine numbers are deleted, and the final machine number corresponding to the current charging module is determined according to the current preset number and the preset number sent by the charging module corresponding to the repeated machine numbers, so that the problem of repeated machine numbers can be avoided. The method can realize that the final host is re-determined according to the number when the main charging module repeatedly fails. The automatic sequencing and main searching process is executed in a sequential control mode, so that mutual influence and interference can be avoided.
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. 4 shows an exemplary diagram of a machine number determination device of a charging module according to an embodiment of the present invention, which corresponds to the machine number determination method of the charging module described in the above embodiments. As shown in fig. 4, the apparatus may include: sorting modules 401 and 402.
The sequencing module 401 is configured to determine a current phone number corresponding to a current charging module according to a current preset number and preset numbers sent by other charging modules on the charging pile, and send the current phone number to the CAN bus, where the other charging modules refer to charging modules on the charging pile except the current charging module;
and the fault processing module 402 is configured to receive the corresponding machine numbers sent by the other charging modules, delete a duplicate machine number when a machine number duplicate fault is detected, reorder the machine numbers according to the current preset number and the preset number sent by the charging module corresponding to the duplicate machine number, and determine a final machine number corresponding to the current charging module.
Optionally, the sorting module 401 may be configured to:
when a charging pile is powered on, receiving preset numbers sent by each charging module on the electric automobile charging pile through a CAN bus;
automatically sequencing according to the current preset number and all the received preset numbers, determining the current machine number corresponding to the current charging module, and sending the current machine number to the CAN bus;
detecting whether the current charging module successfully obtains a final machine number;
and when the current charging module successfully obtains the final machine number, determining that the automatic sequencing is completed.
Optionally, the preset number is a unique serial number of the corresponding charging module.
Optionally, the sorting module 401, when the current charging module successfully obtains the final machine number, after determining that the automatic sorting is completed, may further be configured to:
and setting the automatic sorting completion flag bit. And when the current charging module succeeds and does not obtain the final machine number, determining that automatic sequencing is not completed, and clearing an automatic sequencing completion flag bit.
Optionally, before the sorting module 401 determines the current phone number corresponding to the current charging module according to the current preset number and the obtained preset numbers sent by other charging modules on the charging pile, and sends the current phone number to the CAN bus, the fault processing module 402 may be further configured to:
detecting whether corresponding machine numbers sent by other charging modules are received;
when receiving corresponding machine numbers sent by other charging modules, marking the machine numbers, and detecting whether machine number repeated faults exist or not;
when the repeated faults of the machine number are not detected and the automatic sequencing is completed, whether the repeated faults of the main charging module occur or not is detected;
and when the repeated fault of the main charging module does not occur, recording the acquired corresponding machine numbers sent by the other charging modules, and searching and storing the main charging module.
And when the main charging module repeatedly fails, re-determining the main charging module according to the final machine number and the machine number of the charging module with the failure of the host, and storing the master-slave mark of the current charging module.
Optionally, the fault handling module 402 may be configured to:
when the repeated machine number fault is detected, deleting the current machine number of the current charging module, and sending the current preset number of the current charging module to the CAN bus;
and when receiving a preset number sent by the charging module with the repeated fault of the machine number, reordering according to the current preset number and the preset number sent by the charging module with the repeated fault of the machine number, and determining the final machine number corresponding to the current charging module.
Optionally, the fault handling module 402 receives the corresponding machine number sent by the other charging module, and may be configured to:
receiving the corresponding machine numbers sent by the other charging modules in real time;
and receiving the master-slave marks sent by the other charging modules and the current information of each charging module in real time, wherein the current information is average current when the charging module is the master charging module, and the current information is output current when the charging module is the slave charging module.
According to the number determining device of the charging module, the current number corresponding to the current charging module is determined according to the current preset number and the preset numbers sent by other charging modules on the acquired charging pile through the sequencing module, and the current number is sent to the CAN bus, so that the corresponding number CAN be obtained through automatic sequencing, the hardware design and development cost, the labor cost and the possibility of operating errors of personnel are reduced, and the problems in the prior art are avoided. When the corresponding machine numbers sent by the other charging modules are received, when the repeated machine number faults are detected, the fault processing module deletes the repeated machine numbers, and determines the final machine number corresponding to the current charging module according to the current preset number and the preset number sent by the charging module corresponding to the repeated machine number, so that the problem of repeated machine numbers can be avoided. The method can realize that the final host is re-determined according to the number when the main charging module repeatedly fails. The automatic sequencing and main searching process is executed in a sequential control mode, so that mutual influence and interference can be avoided.
Fig. 5 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 5, the terminal device 500 of this embodiment includes: a processor 501, a memory 502 and a computer program 503, such as a number determination program for a charging module, stored in said memory 502 and operable on said processor 501. The processor 501 executes the computer program 503 to implement the steps in the embodiment of the method for determining the number of a charging module, such as the steps 101 to 102 shown in fig. 1, or the steps shown in fig. 2, and the processor 501 executes the computer program 503 to implement the functions of the modules in the embodiments of the apparatuses, such as the functions of the modules 401 to 402 shown in fig. 4.
Illustratively, the computer program 503 may be partitioned into one or more program modules that are stored in the memory 502 and executed by the processor 501 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, which are used to describe the execution process of the computer program 503 in the machine number determination device of the charging module or the terminal device 500. For example, the computer program 503 may be divided into an ordering module 401 and a fault handling module 402, and specific functions of the modules are shown in fig. 4, which are not described in detail herein.
The terminal device 500 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 501, a memory 502. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 500 and is not intended to limit the terminal device 500 and may include more or fewer components than those shown, or some components may be combined, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 501 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 502 may be an internal storage unit of the terminal device 500, such as a hard disk or a memory of the terminal device 500. The memory 502 may also be an external storage device of the terminal device 500, 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 500. Further, the memory 502 may also include both an internal storage unit and an external storage device of the terminal device 500. The memory 502 is used for storing the computer programs and other programs and data required by the terminal device 500. The memory 502 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 (10)

1. A method for determining the number of a charging module is characterized by comprising the following steps:
determining a current phone number corresponding to a current charging module according to the current preset number and the acquired preset numbers sent by other charging modules on the charging pile, and sending the current phone number to a CAN bus, wherein the other charging modules refer to the charging modules on the charging pile except the current charging module;
and receiving corresponding machine numbers sent by other charging modules, deleting repeated machine numbers when machine number repeated faults are detected, and determining a final machine number corresponding to the current charging module according to the current preset number and the preset number sent by the charging module corresponding to the repeated machine numbers.
2. The method for determining the machine number of the charging module according to claim 1, wherein the determining the current machine number corresponding to the current charging module according to the current preset number and the obtained preset numbers sent by other charging modules on the charging pile comprises:
when a charging pile is powered on, receiving preset numbers sent by each charging module on the electric automobile charging pile through a CAN bus;
automatically sequencing according to the current preset number and all the received preset numbers, determining the current machine number corresponding to the current charging module, and sending the current machine number to the CAN bus;
detecting whether the current charging module successfully obtains a final machine number;
and when the current charging module successfully obtains the final machine number, determining that the automatic sequencing is completed.
3. The method for determining the number of a charging module according to claim 2, wherein after determining that the automatic sorting is completed when the current charging module successfully obtains the final number, further comprising:
setting the automatic sorting completion flag bit;
after the detecting whether the current charging module successfully obtains the final machine number, the method further includes:
and when the current charging module succeeds and does not obtain the final machine number, determining that automatic sequencing is not completed, and clearing an automatic sequencing completion flag bit.
4. The method of determining the number of a charging module according to any one of claims 1 to 3,
the preset serial number is the only serial number of the corresponding charging module.
5. The method for determining the machine number of the charging module according to any one of claims 1 to 3, wherein before determining the current machine number corresponding to the current charging module according to the current preset number and the obtained preset numbers sent by other charging modules on the charging pile and sending the current machine number to the CAN bus, the method further comprises:
detecting whether corresponding machine numbers sent by other charging modules are received;
when receiving corresponding machine numbers sent by other charging modules, marking the machine numbers, and detecting whether machine number repeated faults exist or not;
when the repeated faults of the machine number are not detected and the automatic sequencing is completed, whether the repeated faults of the main charging module occur or not is detected;
and when the repeated fault of the main charging module does not occur, recording the acquired corresponding machine numbers sent by the other charging modules, and searching and storing the main charging module.
6. The method for determining the number of a charging module according to claim 5, further comprising, after said detecting whether a primary charging module repetitive failure has occurred:
and when the main charging module repeatedly fails, re-determining the main charging module according to the final machine number and the machine number of the charging module with the failure of the host, and storing the master-slave mark of the current charging module.
7. The method for determining the number of a charging module according to claim 5, wherein the step of deleting the repeated number when the repeated failure of the number is detected, and determining the final number corresponding to the current charging module according to the current preset number and the preset number sent by the charging module corresponding to the repeated number, comprises:
when the repeated machine number fault is detected, deleting the current machine number of the current charging module, and sending the current preset number of the current charging module to the CAN bus;
and when receiving a preset number sent by the charging module with the repeated fault of the machine number, reordering according to the current preset number and the preset number sent by the charging module with the repeated fault of the machine number, and determining the final machine number corresponding to the current charging module.
8. The method for determining the machine number of the charging module according to any one of claims 1 to 3, wherein the receiving the corresponding machine number sent by the other charging module comprises:
receiving the corresponding machine numbers sent by the other charging modules in real time;
further comprising:
and receiving the master-slave marks sent by the other charging modules and the current information of each charging module in real time, wherein the current information is the average current when the charging module is the master charging module, and the current information is the output current when the charging module is the slave charging module.
9. A set number determination device for a charging module, comprising:
the sequencing module is used for determining a current phone number corresponding to the current charging module according to the current preset number and the acquired preset numbers sent by other charging modules on the charging pile, and sending the current phone number to the CAN bus, wherein the other charging modules refer to the charging modules on the charging pile except the current charging module;
and the fault processing module is used for receiving the corresponding machine numbers sent by the other charging modules, deleting the repeated machine numbers when the repeated fault of the machine numbers is detected, reordering according to the current preset number and the preset number sent by the charging module corresponding to the repeated machine numbers, and determining the final machine number corresponding to the current charging module.
10. 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 8 when executing the computer program.
CN202110437396.6A 2021-04-22 2021-04-22 Method and device for determining machine number of charging module and terminal equipment Active CN113190881B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110437396.6A CN113190881B (en) 2021-04-22 2021-04-22 Method and device for determining machine number of charging module and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110437396.6A CN113190881B (en) 2021-04-22 2021-04-22 Method and device for determining machine number of charging module and terminal equipment

Publications (2)

Publication Number Publication Date
CN113190881A true CN113190881A (en) 2021-07-30
CN113190881B CN113190881B (en) 2023-02-10

Family

ID=76978343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110437396.6A Active CN113190881B (en) 2021-04-22 2021-04-22 Method and device for determining machine number of charging module and terminal equipment

Country Status (1)

Country Link
CN (1) CN113190881B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2912263A1 (en) * 2007-02-06 2008-08-08 Batscap Sa "BATTERY MODULE, MODULE PACK, CHARGER FOR MODULE"
CN103997106A (en) * 2014-04-29 2014-08-20 杭州奥能电源设备股份有限公司 Modular charging system for power operation power supplies
CN105743169A (en) * 2016-03-28 2016-07-06 武汉大学 Cloud remotely-controlled electric vehicle charging station system and method
WO2017059751A1 (en) * 2015-10-10 2017-04-13 西安特锐德智能充电科技有限公司 Flexible grouping and current-equalizing method for charger system of shared bus
CN108736523A (en) * 2017-04-13 2018-11-02 宁波轩悦行电动汽车服务有限公司 A kind of charging system for electric automobile
CN109228898A (en) * 2018-09-26 2019-01-18 广州华跃电力工程设计有限公司 Electric vehicle charging system, charging method, charging device and storage medium
WO2019105052A1 (en) * 2017-11-30 2019-06-06 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for electric vehicle charging
CN111216589A (en) * 2018-11-27 2020-06-02 上海擎感智能科技有限公司 Charging pile shared charging method, server, vehicle-mounted terminal and charging system
CN111245071A (en) * 2020-03-25 2020-06-05 科华恒盛股份有限公司 Parameter management method, system and device of modular charger

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2912263A1 (en) * 2007-02-06 2008-08-08 Batscap Sa "BATTERY MODULE, MODULE PACK, CHARGER FOR MODULE"
CN103997106A (en) * 2014-04-29 2014-08-20 杭州奥能电源设备股份有限公司 Modular charging system for power operation power supplies
WO2017059751A1 (en) * 2015-10-10 2017-04-13 西安特锐德智能充电科技有限公司 Flexible grouping and current-equalizing method for charger system of shared bus
CN105743169A (en) * 2016-03-28 2016-07-06 武汉大学 Cloud remotely-controlled electric vehicle charging station system and method
CN108736523A (en) * 2017-04-13 2018-11-02 宁波轩悦行电动汽车服务有限公司 A kind of charging system for electric automobile
WO2019105052A1 (en) * 2017-11-30 2019-06-06 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for electric vehicle charging
CN109228898A (en) * 2018-09-26 2019-01-18 广州华跃电力工程设计有限公司 Electric vehicle charging system, charging method, charging device and storage medium
CN111216589A (en) * 2018-11-27 2020-06-02 上海擎感智能科技有限公司 Charging pile shared charging method, server, vehicle-mounted terminal and charging system
CN111245071A (en) * 2020-03-25 2020-06-05 科华恒盛股份有限公司 Parameter management method, system and device of modular charger

Also Published As

Publication number Publication date
CN113190881B (en) 2023-02-10

Similar Documents

Publication Publication Date Title
CN109814524B (en) Vehicle diagnosis method, device and system
US11080404B2 (en) Firmware upgrade method, slave station of robot, and machine readable storage medium
CN108923957B (en) Distribution network terminal DTU fault elimination method and device and terminal equipment
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
CN103189834B (en) Method, apparatus and system for determining drive mark
CN108628712B (en) Application program testing method and terminal equipment
CN108376110B (en) Automatic detection method, system and terminal equipment
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN113177015B (en) Frame header-based serial port communication method and serial port chip
CN112333246B (en) ABtest experiment method and device, intelligent terminal and storage medium
CN113190881B (en) Method and device for determining machine number of charging module and terminal equipment
CN110798370A (en) Bus protocol debugging method and device based on universal interface and terminal equipment
CN113103903B (en) Method for switching sequencing modes of charging modules and terminal equipment
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
CN111143092A (en) Fault recording data processing method and system and terminal equipment
CN108255549B (en) Server program visual control method and device
CN116149941A (en) Monitoring method and device of server component, server and storage medium
CN110704198A (en) Data operation method, device, storage medium and processor
CN114418147A (en) Method and device for processing abnormity of main charging module, terminal and storage medium
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
AU2021204623A1 (en) Game state detection and configuration updating method and apparatus, device and storage medium
CN108460078B (en) Auxiliary function execution method and device, storage medium and terminal
CN110874246A (en) Module loading method, system and equipment
CN114528893A (en) Machine learning model training method, electronic device and storage medium
CN111726604A (en) Setting method and device of working mode data, terminal and readable storage medium

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