Disclosure of Invention
In order to solve the above problems in the prior art, embodiments of the present application provide a stepped charging circuit and a charging method, which can implement dynamic allocation and deployment interoperability of charging modules among terminals, and improve charging efficiency while ensuring the utilization rate of the charging modules.
In a first aspect, an embodiment of the present application provides a stepped charging circuit, including:
the charging system comprises an alternating current power supply, an alternating current contactor, a power distribution controller, n charging modules, n output interfaces and a relay arranged between the first charging module and the second charging module, wherein the first charging module and the second charging module are any two different charging modules in the n charging modules, the n charging modules correspond to the n output interfaces one to one, and n is an integer greater than 1;
the input end of the alternating current contactor is connected with an alternating current power supply, the control end of the alternating current contactor is connected with the first control end of the power distribution controller, and the output end of the alternating current contactor is respectively connected with the alternating current input end of each charging module in the n charging modules;
the direct current output end of each charging module is connected with the output interface corresponding to each charging module, and the communication end of each charging module is connected with the first control end of the power distribution controller;
the input end of the relay is connected with the direct current output end of the first charging module, the output end of the relay is connected with the direct current output end of the second charging module, and the control end of the relay is connected with the second control end of the power distribution controller;
when the device to be charged is charged through the ith output interface and the output power of the charging module corresponding to the ith output interface is less than the power required by the device to be charged, the power distribution controller is used for determining m charging modules from the remaining n-1 charging modules and closing a relay between each charging module in the m charging modules and the charging module corresponding to the ith output interface, i is an integer greater than 0 and less than or equal to n, and m is an integer greater than 0 and less than n.
In a second aspect, an embodiment of the present application provides a charging method applied to the charging circuit disclosed in the first aspect of the embodiment of the present invention, including:
when the device to be charged is charged through the ith output interface and the output power of the charging module corresponding to the ith output interface is smaller than the power required by the device to be charged, m charging modules are determined from the remaining n-1 charging modules;
and closing a relay between each charging module in the m charging modules and the charging module corresponding to the ith output interface.
In a third aspect, an embodiment of the present application provides a charging pile, including the charging circuit disclosed in the first aspect of the embodiment of the present invention.
The implementation of the embodiment of the application has the following beneficial effects:
it can be seen that, in the embodiment of the present application, the charging module is divided into n groups to be fixedly matched with n output interfaces, and then the n output interfaces are connected through the stepped dynamic distribution array. During charging, the power distribution controller receives the charging requirement of the equipment to be charged connected with a certain output interface, and then the stepped dynamic distribution array is controlled through the charging requirement to realize allocation and interoperability of the charging modules among the terminals, so that the utilization rate of the charging modules is ensured, and the charging efficiency is improved. Meanwhile, the stepped dynamic distribution array has a simple structure, uses a small number of array units, and can further reduce the cost while being convenient to use.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application are within the scope of protection of the present application.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, result, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In the present application, a stepped charging circuit is disclosed, which may include: alternating current power supply, alternating current contactor, power distribution controller, a plurality of module of charging, a plurality of output interface and a plurality of relay. For example, in the present embodiment, the number of the charging modules is the same as the number of the output interfaces, and is at least 2, and meanwhile, there is a one-to-one correspondence relationship between the charging modules and the output interfaces. The number of the relays is determined by the number of the charging modules.
Next, a description will be given of a charging circuit proposed in the present application, taking a case of 2 charging modules as an example. Specifically, as shown in fig. 1, the charging circuit may include: the charging system comprises an alternating current power supply 101, an alternating current contactor 102, a power distribution controller 103, a first charging module 104, a second charging module 105, a first output interface 106, a second output interface 107 and a relay 108.
In the present embodiment, the ac power supply 101 is composed of an ac output and an ac breaker, wherein the ac breaker may be used as a master switch for controlling the on of the ac output. The input end of the ac contactor 102 is connected to the ac power supply 101, the control end of the ac contactor 102 is connected to the first control end of the power distribution controller 103, and the output end of the ac contactor 102 is connected to the ac input ends of the first charging module 104 and the second charging module 105, respectively.
In this embodiment, the dc output terminal of the first charging module 104 is connected to the first output interface 106, the dc output terminal of the second charging module 105 is connected to the second output interface 107, and the communication terminals of the first charging module 104 and the second charging module 105 are connected to the first control terminal of the power distribution controller 103.
In the present embodiment, the input terminal of the relay 108 is connected to the dc output terminal of the first charging module 104, the output terminal of the relay 108 is connected to the dc output terminal of the second charging module 105, and the control terminal of the relay 108 is connected to the second control terminal of the power distribution controller 103.
In this embodiment, when the device to be charged is charged through the first output interface 106/the second output interface 107, and the output power of the first charging module 104/the second charging module 105 corresponding to the first output interface 106/the second output interface 107 is less than the power required by the device to be charged, the power distribution controller 103 may close the relay between the first charging module 104 and the second charging module 105, and call the second charging module 105/the first charging module 104, so that the combined output power of the first output interface 106/the second output interface 107 is greater than or equal to the power required by the device to be charged, and the device to be charged is charged.
Of course, in practical applications, the number of charging modules in the charging circuit proposed in the present application is much greater than 2, and the above-mentioned charging circuit structure can be regarded as a basic unit to assist understanding of the structure and the operation logic of the charging circuit in which the number of charging modules is much greater than 2.
Hereinafter, a description will be given of a charging circuit proposed in the present application, taking a case of n charging modules as an example. Specifically, as shown in fig. 2, the charging circuit may include: the charging system comprises an alternating current power supply 201, an alternating current contactor 301, a power distribution controller 401, n charging modules 501-50n, n output interfaces 601-60n and a relay arranged between the first charging module and the second charging module, wherein the n charging modules correspond to the n output interfaces one to one, and n is an integer greater than 1.
In this embodiment, the first charging module and the second charging module may be understood as any two different charging modules among the n charging modules 501 to 50 n. In other words, one relay is provided between any two different charging modules of the n charging modules 501-50 n. Specifically, the input end of the relay is connected to the dc output end of the first charging module, the output end of the relay is connected to the dc output end of the second charging module, and the control end of the relay is connected to the second control end of the power distribution controller 401. Based on this, the number k of relays can also be expressed by formula (i):
in this embodiment, the ac power supply 201 is still composed of an ac output and an ac breaker, wherein the ac breaker can be used as a master switch for controlling the on of the ac output. The input end of the ac contactor 301 is connected to the ac power supply 201, the control end of the ac contactor 301 is connected to the first control end of the power distribution controller 401, and the output end of the ac contactor 301 is connected to the ac input end of each of the n charging modules 501 to 50 n.
In the present embodiment, the dc output terminal of each of the n charging modules 501 to 50n is connected to the corresponding output interface, as shown in fig. 2, that is, the dc output terminal of the charging module 501 is connected to the output interface 601, the dc output terminal of the charging module 502 is connected to the output interface 602, and the dc output terminal of the charging module 50n is connected to the output interface 60 n. Meanwhile, the communication terminal of each of the n charging modules 501 to 50n is connected to the first control terminal of the power distribution controller 401.
Meanwhile, in the present embodiment, as shown in fig. 3, the power allocation controller 401 may include: the central control chip 402, the first communication interface 403, the second communication interface 404, the first digital signal output array 405 and the second digital signal output array 406. Specifically, the central control chip 402 may be an STM32 chip, and the first and second digital signal output arrays 405 and 406 may be relay output arrays. Of course, the central control chip 402 may also be another chip, and the first digital signal output array 405 and the second digital signal output array 406 may also be a combination of one or more of a relay output array, a transistor output array, and a thyristor output array, which is not limited in this application.
In this embodiment, the input terminals of the first communication interface 403, the second communication interface 404 and the first digital signal output array 405 may be directly connected to the central control chip 402. The output of the first digital signal output array 405 is a first control terminal of the power distribution controller 401. The input end of the second digital signal output array 406 is connected to the central control chip 402 through a signal distribution interface 407, where the signal distribution interface 407 is configured to transmit a control signal sent by the central control chip 402 to any one of the second digital signal output ports in the second digital signal output array 406, and the signal distribution interface 407 may be an RS486 or another communication interface that may implement point-to-point communication control. The output terminal of the second digital signal output array 406 is a second control terminal of the power distribution controller 401.
In an alternative embodiment, the second digital signal output array 406 may be composed of a plurality of expansion boards, wherein each expansion board is provided with a plurality of second digital signal output ports, and each second digital signal output port corresponds to one relay, that is, each second digital signal output port is connected to the control terminal of its corresponding relay. Based on this, in an alternative embodiment, the relays may also be grouped such that each group of relays corresponds to one expansion board.
Specifically, the present application provides a grouping method, as shown in fig. 2, in this embodiment, n charging modules 501 to 50n are arranged in order of labels in advance, and a charging module with a small label is arranged in front of a charging module with a large label, for example: [ charging module 501, charging modules 502, … …, charging module 50n-1, charging module 50n ]. After the arrangement sequence is determined, finding out the relays connected with the 1 st charging module, namely the direct current output end of the charging module 501, from all the relays to serve as a 1 st group of relay group 701; then finding out a relay connected with the 2 nd position charging module, namely the direct current output end of the charging module 502, from the rest relays to be used as the 2 nd group relay group 702; until the n-1 th group of relay set 70n-1 is obtained. Therefore, in the subsequent allocating and inter-using process, the corresponding relay can be directly searched for operation in the relay group corresponding to the allocated charging module, and the efficiency is improved.
Based on the above circuit structure, in this embodiment, when the device to be charged is charged through the ith output interface, and the output power of the charging module corresponding to the ith output interface is less than the power required by the device to be charged, the power distribution controller 401 may determine m charging modules from the remaining n-1 charging modules, and close the relay between each charging module in the m charging modules and the charging module corresponding to the ith output interface, so that the combined output power of the ith output interface is greater than or equal to the power required by the device to be charged, and the device to be charged is already charged. Wherein i is an integer greater than 0 and less than or equal to n, and m is an integer greater than 0 and less than n.
Specifically, for the method of determining m charging modules, in this embodiment, the charging modules meeting the requirement may be sequentially searched forward or backward according to the determined sequence of the charging modules until the m charging modules are determined. Meanwhile, the application also provides a method for determining m charging modules, which specifically comprises the following steps: the power distribution controller 401 may first determine k candidate charging modules from the remaining n-1 charging modules, where the operating state of each of the k candidate charging modules is idle, and k is an integer greater than 0 and less than n. Specifically, after the output interface corresponding to the charging module is activated, the charging module is switched to the use state, and the working state identifier of the charging module is marked as "use". Based on this, the power distribution controller 401 may sequentially query the operating status identifier of each of the remaining n-1 charging modules, and determine k charging modules in the idle state.
And then, determining the difference between the power required by the equipment to be charged and the output power of the charging module corresponding to the ith output interface. And finally, determining m charging modules in the k candidate charging modules according to the difference between the power required by the equipment to be charged and the output power of the charging module corresponding to the ith output interface. Specifically, the sum of the output powers of the m charging modules is greater than the difference between the power required by the device to be charged and the output power of the charging module corresponding to the i-th output interface.
Furthermore, in this embodiment, after the relay between each of the m charging modules and the charging module corresponding to the ith output interface is closed, the power distribution controller 401 may be further configured to monitor the usage of the output interface corresponding to each of the m charging modules. Specifically, each output interface corresponds to a charging gun, and when a charging gun is used, a used instruction is issued to the power distribution controller 401, so that the power distribution controller 401 knows that its corresponding output interface is used.
Based on this, when it is monitored that the first output interface is used, the power distribution controller 401 controls to turn off the relay between the charging module corresponding to the first output interface and the charging module corresponding to the ith output interface, where the first output interface is any one of the output interfaces corresponding to each of the m charging modules. And determining j charging modules from the remaining n-m-1 charging modules, and closing a relay between each charging module in the j charging modules and the charging module corresponding to the ith output interface, wherein j is an integer which is greater than or equal to 0 and less than or equal to n-m-1.
Therefore, the stepped charging circuit provided by the embodiment of the application realizes the allocation and the mutual use of the charging modules among the terminals by controlling the stepped dynamic distribution array according to the charging requirements, and improves the charging efficiency while ensuring the utilization rate of the charging modules. Meanwhile, the stepped dynamic distribution array has a simple structure, uses a small number of array units, and can further reduce the cost while being convenient to use.
In addition, the present application also provides a charging method applicable to the charging circuit described in any one of the above embodiments, specifically, the charging method includes:
when the device to be charged is charged through the ith output interface and the output power of the charging module corresponding to the ith output interface is smaller than the power required by the device to be charged, m charging modules are determined from the remaining n-1 charging modules; and closing a relay between each charging module in the m charging modules and the charging module corresponding to the ith output interface.
In this embodiment, determining m charging modules from the remaining n-1 charging modules may be implemented as follows:
determining k candidate charging modules from the remaining n-1 charging modules, wherein the working state of each candidate charging module in the k candidate charging modules is idle, and k is an integer greater than 0 and less than n;
determining the difference between the power required by the equipment to be charged and the output power of the charging module corresponding to the ith output interface;
and determining m charging modules in the k candidate charging modules according to the difference between the power required by the equipment to be charged and the output power of the charging module corresponding to the ith output interface, wherein the sum of the output powers of the m charging modules is larger than the difference between the power required by the equipment to be charged and the output power of the charging module corresponding to the ith output interface.
In this embodiment, after closing the relay between each of the m charging modules and the charging module corresponding to the ith output interface, the charging method further includes:
monitoring the service condition of an output interface corresponding to each charging module in the m charging modules;
when the first output interface is monitored to be used, a relay between the charging module corresponding to the first output interface and the charging module corresponding to the ith output interface is disconnected, wherein the first output interface is any one of the output interfaces corresponding to each of the m charging modules;
j charging modules are determined from the remaining n-m-1 charging modules, and a relay between each charging module in the j charging modules and the charging module corresponding to the ith output interface is closed, wherein j is an integer which is greater than or equal to 0 and less than or equal to n-m-1.
In addition, in a possible embodiment, the application further provides a charging pile, which includes the charging circuit described in any one of the above embodiments.
It should be noted that, for simplicity of description, the aforementioned embodiments of the invention are described as a series of acts or combinations, but those skilled in the art will recognize that the present application is not limited by the order of acts, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are all alternative embodiments and that the acts and modules referred to are not necessarily required by the application.
In the above embodiments, the description of each embodiment has its own emphasis, and for parts not described in detail in a certain embodiment, reference may be made to the description of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed circuits, devices, apparatuses, and the like may be implemented in other manners. For example, the above-described embodiments of circuits, devices, apparatuses, and the like are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric 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 embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, and the memory may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the methods and their core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.