CN115891739B - Electric energy control system - Google Patents
Electric energy control system Download PDFInfo
- Publication number
- CN115891739B CN115891739B CN202211650293.9A CN202211650293A CN115891739B CN 115891739 B CN115891739 B CN 115891739B CN 202211650293 A CN202211650293 A CN 202211650293A CN 115891739 B CN115891739 B CN 115891739B
- Authority
- CN
- China
- Prior art keywords
- electric energy
- module
- recording module
- electric quantity
- control system
- 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
Links
- 238000000034 method Methods 0.000 claims description 29
- 230000008569 process Effects 0.000 claims description 12
- 230000006870 function Effects 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 238000006073 displacement reaction Methods 0.000 claims description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000005265 energy consumption Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/60—Other road transportation technologies with climate change mitigation effect
- Y02T10/70—Energy storage systems for electromobility, e.g. batteries
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present application provides an electric energy control system, comprising: the device comprises an EEPROM memory, a data read-write module, an electric energy output module and a first electric energy recording module; the system is used for executing the following steps: the first electric energy recording module sends a historical electric quantity acquisition request to the data reading and writing module; the data read-write module acquires a first historical electric quantity character string T1 and a second historical electric quantity character string T2 from the EEPROM memory and sends the first historical electric quantity character string T1 and the second historical electric quantity character string T2 to the first electric energy recording module; the first electric energy recording module obtains a target historical electric quantity character string INIT=lift (T1, m) +T2; the first electric energy recording module acquires target historical electric quantity information LV=BIN2DEC (INIT) Factor; the first power recording module updates LV to lv=lv+zv every set period. The electric energy control system provided by the application realizes the recording of electric quantity under the condition that a physical electric meter is not required to be additionally arranged.
Description
Technical Field
The application relates to the field of mobile charging equipment, in particular to an electric energy control system.
Background
The mobile charging vehicle is novel charging equipment, and can automatically move to a new energy automobile to charge the new energy automobile. But also requires metering of the electrical energy it delivers into the new energy vehicle when recharging. However, if the physical ammeter is additionally arranged in the mobile charging vehicle, on one hand, the cost is increased, and on the other hand, the overall weight of the mobile charging vehicle is increased, so that the mobile energy consumption of the mobile charging vehicle is increased. Therefore, there is a need for a method that can enable a mobile charging vehicle to meter output electric energy without adding a physical electricity meter.
Disclosure of Invention
In view of the foregoing, the present application provides an electric energy control system, which at least partially solves the problems of the prior art.
In one aspect of the present application, there is provided a power control system including: the device comprises an EEPROM memory, a data read-write module, an electric energy output module and a first electric energy recording module; the EEPROM memory is connected with the data read-write module, and the data read-write module and the electric energy output module are both connected with the first electric energy recording module;
the power control system is used for executing the following steps:
and S100, the first electric energy recording module responds to the received charging request and sends a historical electric quantity acquisition request to the data reading and writing module.
S120, the data read-write module acquires a first historical electric quantity character string T1 and a second historical electric quantity character string T2 from the EEPROM memory, and sends the T1 and the T2 to the first electric energy recording module; t1 and T2 are m-bit binary integer strings.
S130, the first electric energy recording module obtains a target historical electric quantity character string init=lift (T1, m) +t2 according to T1 and T2; wherein lift () is a preset displacement processing function for shifting T1 left by m bits.
S140, the first power recording module obtains target historical power information lv=bin 2DEC (INIT) ×factor. BIN2DEC () is a preset binary conversion function. Factor is a preset conversion Factor.
S150, the first electric energy recording module updates LV to lv=lv+zv every set period; wherein ZV is the output power corresponding to the current setting period, zv= ((Inow x Unow)/1000) x stepT/3600; wherein Inow is the current output current of the electric energy output module, unow is the current output voltage of the electric energy output module, and stepT is the time length of the set period.
In one exemplary embodiment of the application, the power control system further comprises a second power recording module; and the second electric energy recording module is connected with the data reading and writing module and the electric energy output module at the same time.
The power control system is further configured to perform the steps of:
S200, the second electric energy recording module responds to the received charging request and sends a user history electric quantity acquisition request to the data reading-writing module; the user history electric quantity acquisition request comprises a user ID of a user corresponding to the charging request.
S210, the data read-write module acquires a first user electric quantity character string YT1 and a second electric quantity character string YT2 corresponding to the user ID from an EEPROM memory, and sends the YT1 and the YT2 to the second electric energy recording module; YT1 and YT2 are both m-bit binary integer strings.
And S230, the second electric energy recording module acquires a user electric quantity character string YINIT =lift (YT 1, m) +YT2 according to YT1 and YT2.
S240, the second power recording module obtains user history power information YLV =bin 2DEC (YINIT) Factor.
S250, the second electrical energy recording module obtains the current charge amount yb=0 of the user.
S260, the second electrical energy recording module obtains yb=yb+zv and YLV = YLV +zv at intervals of a set period.
In an exemplary embodiment of the application, a first list and a second list are provided in the EEPROM memory, T1 being stored in the first list and T2 being stored in the second list; and the storage location of T1 in the first list is the same as the storage location of T2 in the second list.
In an exemplary embodiment of the present application, after the step S150, the method further includes:
S160, responding to each update of the LV, adding the currently acquired ZV as a judgment value to the tail of a preset unidirectional queue, and performing cycle length update processing; the unidirectional queue is a first-in first-out queue, and the maximum capacity of the unidirectional queue is n.
The cycle length update process includes the steps of:
s161, obtaining each judgment value in the current unidirectional queue to obtain a judgment value list P= (P1, P2, …, pi, …, pn); pi is the i-th judgment value in the current unidirectional queue.
S162, obtaining the electric quantity fluctuation valueWherein avg () is a preset average value determination function.
S163, if BD < α, then stepT = stepT/β; otherwise, let stepT = β x stepT; wherein alpha is a preset judging threshold value, beta is a preset adjusting coefficient, and 0 < beta < 1.
In one exemplary embodiment of the present application, m=16.
In an exemplary embodiment of the present application, factor=0.01.
In one exemplary embodiment of the present application stepT = 0.01 seconds.
In an exemplary embodiment of the application, the power output module is a charging gun.
In an exemplary embodiment of the present application, β=0.9.
The electric energy control system provided by the application can realize periodic electric quantity recording output when external charging is performed each time by using software and hardware configuration (such as an EEPROM memory, a data read-write module, an electric energy output module and a first electric energy recording module) in the mobile charging vehicle. And the storage of historical data is carried out through the EEPROM, so that the accumulated record of multiple times of charging is realized. Therefore, the purpose that the recording and displaying of the output electric quantity are realized by moving the original software and hardware configuration in the charging vehicle without additionally installing a physical electric meter is achieved.
Meanwhile, since the configuration of hardware in the mobile charging vehicle is often low, for example, the storage space in the EEPROM memory is small. In the process of recording the electric quantity, the conventional unit is "kilowatt-hour", so that the accuracy of recording is at least one or two digits after decimal point. If the floating-point character string is stored in the EEPROM, the memory space occupied by the floating-point character string is twice that of the integer character string under the condition of the same bit number. Therefore, in the application, the target historical electric quantity information which is finally used for recording and displaying is obtained through the storage and recording of two m-bit binary integer character strings (namely T1 and T2) and the processing and calculation of T1 and T2, and the target historical electric quantity information can be displayed to the numerical value after decimal point. Therefore, on one hand, the recorded data can meet the application requirements, and on the other hand, the occupation of the storage space of the EEPROM memory is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of an electric energy control system according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
It should be noted that, without conflict, the following embodiments and features in the embodiments may be combined with each other; and, based on the embodiments in this disclosure, all other embodiments that may be made by one of ordinary skill in the art without inventive effort are within the scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the following claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the present disclosure, one skilled in the art will appreciate that one aspect described herein may be implemented independently of any other aspect, and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. In addition, such apparatus may be implemented and/or such methods practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
In one aspect of the application, a power control system is provided that is applicable within a mobile charging device (e.g., a mobile charging vehicle or a mobile power source).
Referring to fig. 1, the electric energy control system provided by the present application includes: the device comprises an EEPROM memory, a data read-write module, an electric energy output module and a first electric energy recording module; the EEPROM memory is connected with the data read-write module, and the data read-write module and the electric energy output module are both connected with the first electric energy recording module. The data read-write module and the first electric energy recording module can be virtual modules formed by software programs, and can be hardware modules (such as a processor or a singlechip) for running preset software programs. The power output module may be a charging gun or other power output interface (e.g., USB interface).
The power control system is used for executing the following steps:
And S100, the first electric energy recording module responds to the received charging request and sends a historical electric quantity acquisition request to the data reading and writing module. The charging request may be sent by an external device to be charged (such as a new energy automobile), or may be sent by a controller in the mobile charging device where the electric energy control system is located in response to a request of the device to be charged.
S120, the data read-write module acquires a first historical electric quantity character string T1 and a second historical electric quantity character string T2 from the EEPROM memory, and sends the T1 and the T2 to the first electric energy recording module; t1 and T2 are m-bit binary integer strings. Specifically, m=16. I.e., T1 and T2 are each a string consisting of 16-bit binary numbers.
S130, the first electric energy recording module obtains a target historical electric quantity character string init=lift (T1, m) +t2 according to T1 and T2; wherein lift () is a preset displacement processing function for shifting T1 left by m bits. Shifting T1 left by 16 bits is a 32-bit string with T1 changed to 0 for the last 16 bits. Thus, INIT is a string of 32-bit binary numbers, with the upper 16 bits of the credit being T1 and the lower 16 bits being T2.
And S140, the first electric energy recording module acquires target historical electric quantity information LV=BIN 2DEC (INIT) Factor, and controls the electric energy output module to output electric energy, wherein BIN2DEC () is a preset system conversion function. Factor=0.01. Since the constant 10 system numbers are used in the process of displaying and counting the electric quantity, in this embodiment, the INIT is converted from 2 system numbers to 10 system numbers through LV=BIN 2DEC (), and since in this embodiment, the output electric quantity needs to be accurate to the last two decimal points, namely 0.01 kilowatt-hour, in the process of recording, the numerical conversion is performed on BIN2DEC (INIT) through a preset conversion coefficient Factor, so that finally accurate 10 system and accurate to 0.01 kilowatt-hour electric quantity recording is obtained.
S150, the first electric energy recording module updates LV to LV=LV+ZV every set period, and sends the updated LV to display equipment (such as a display) to enable the display equipment to update display content; wherein ZV is the output power corresponding to the current setting period, zv= ((Inow x Unow)/1000) x stepT/3600; wherein Inow is the current output current of the electric energy output module, unow is the current output voltage of the electric energy output module, and stepT is the time length of the set period. Wherein Inow is in amperes, unow is in volts, and stepT is in seconds, such that ZV is in kilowatt-hours. Specifically, in determining the specific value stepT, it may be determined according to the hardware performance of the mobile charging device, and theoretically, the smaller the value stepT, the more accurate. In this embodiment, stepT is 0.01 seconds, that is, the numerical value is updated every 0.01 seconds, and experiments show that most of the hardware performance of the mobile charging device can be compatible with the updating period of 0.01 seconds, and the accuracy rate reaches the application requirement.
It should be noted that, in the present application, after each charging is completed, the current LV is reconverted into T1 and T2 and updated into the EEPROM memory for the next charging. The specific conversion process may be the inverse operation of the step S130 and the step S130, which should be understood by those skilled in the art that the conversion and updating can be implemented by the disclosure of the present application, and details are not repeated herein.
The electric energy control system provided by the embodiment can realize periodic electric quantity recording output when external charging is performed each time by using software and hardware configuration (such as an EEPROM memory, a data read-write module, an electric energy output module and a first electric energy recording module) in the mobile charging vehicle. And the storage of historical data is carried out through the EEPROM, so that the accumulated record of multiple times of charging is realized. Therefore, the purpose that the recording and displaying of the output electric quantity are realized by moving the original software and hardware configuration in the charging vehicle without additionally installing a physical electric meter is achieved.
Meanwhile, since the configuration of hardware in the mobile charging vehicle is often low, for example, the storage space in the EEPROM memory is small. In the process of recording the electric quantity, the conventional unit is "kilowatt-hour", so that the accuracy of recording is at least one or two digits after decimal point. If the floating-point character string is stored in the EEPROM, the memory space occupied by the floating-point character string is twice that of the integer character string under the condition of the same bit number. Therefore, in this embodiment, two binary integer strings of m bits (i.e., T1 and T2) are stored and recorded, and the target historical power information finally used for recording and displaying is obtained through processing and calculating the T1 and T2, and the target historical power information can be displayed to a numerical value after a decimal point. Therefore, on one hand, the recorded data can meet the application requirements, and on the other hand, the occupation of the storage space of the EEPROM memory is reduced.
In one exemplary embodiment of the application, the power control system further comprises a second power recording module; and the second electric energy recording module is connected with the data reading and writing module and the electric energy output module at the same time.
The power control system is further configured to perform the steps of:
S200, the second electric energy recording module responds to the received charging request and sends a user history electric quantity acquisition request to the data reading-writing module; the user history electric quantity acquisition request comprises a user ID of a user corresponding to the charging request.
S210, the data read-write module acquires a first user electric quantity character string YT1 and a second electric quantity character string YT2 corresponding to the user ID from an EEPROM memory, and sends the YT1 and the YT2 to the second electric energy recording module; YT1 and YT2 are both m-bit binary integer strings.
And S230, the second electric energy recording module acquires a user electric quantity character string YINIT =lift (YT 1, m) +YT2 according to YT1 and YT2.
S240, the second power recording module obtains user history power information YLV =bin 2DEC (YINIT) Factor.
S250, the second electrical energy recording module obtains the current charge amount yb=0 of the user.
S260, the second electrical energy recording module obtains yb=yb+zv and YLV = YLV +zv at intervals of a set period.
In this embodiment, it may be understood that the second virtual electric meter is configured through the second electric energy recording module to record the current charging electric quantity and the historical total charging electric quantity that individually correspond to the user who charges this time. And the specific method used is the same as that of the previous embodiment.
The electric energy control system provided by the embodiment can set corresponding virtual electric meters according to requirements, and is used for recording electric quantity under different scenes and requirements. Therefore, the electric quantity statistics under multiple dimensions can be completed without additionally installing multiple electric meters, on one hand, the hardware cost is saved, on the other hand, the universality of the electric energy control system can be improved, and the electric energy control system can be expanded and set at any time according to actual conditions.
Accordingly, in other embodiments, the charged electric quantity of the mobile charging device can be recorded and stored in the EEPROM memory. Therefore, the staff can determine the charge-discharge ratio of the mobile charging equipment or the self-running energy consumption through the total number of the historically charged electric quantity and the total number of the historically output electric quantity, and the mobile charging equipment is more convenient to optimize according to the data.
In an exemplary embodiment of the application, a first list and a second list are provided in the EEPROM memory, T1 being stored in the first list and T2 being stored in the second list; and the storage location of T1 in the first list is the same as the storage location of T2 in the second list.
In this embodiment, T1 and T2 are respectively stored in different lists, so that if an unauthorized user obtains the EEPROM memory by himself, he cannot directly obtain the historical working (charging and discharging) condition of the mobile charging device where he is located through the data stored in the EEPROM memory, thereby improving the security of information. And compared with the method for encrypting the internal data, the method does not occupy a large amount of calculation amount.
In an exemplary embodiment of the present application, after the step S150, the method further includes:
S160, responding to each update of the LV, adding the currently acquired ZV as a judgment value to the tail of a preset unidirectional queue, and performing cycle length update processing; the unidirectional queue is a first-in first-out queue, and the maximum capacity of the unidirectional queue is n.
The cycle length update process includes the steps of:
S161, obtaining each judgment value in the current unidirectional queue to obtain a judgment value list P= (P1, P2, …, pi, …, pn); pi is the i-th judgment value in the current unidirectional queue. In this embodiment, n=10.
S162, obtaining the electric quantity fluctuation valueWherein avg () is a preset average value determination function. The smaller BD, the smaller the power fluctuation of the output electric quantity is explained.
S163, if BD < α, then stepT = stepT/β; otherwise, let stepT = β x stepT; wherein alpha is a preset judgment threshold value, 0 < alpha, beta is a preset adjustment coefficient, and 0 < beta < 1. In this embodiment, β=0.9. The specific value of alpha can be determined by a person skilled in the art according to actual requirements.
From the foregoing embodiments, it can be seen that in the present application, the update of the LV is performed every stepT. Whereas to ensure data accuracy, the stepT value is often set to be small, such as 0.01 seconds. However, this also increases the computational load on the processor and increases the computational pressure. However, it is found through experiments that when the power fluctuation of the output electric quantity is small, the obtained recording result meets the application requirement even if the value of stepT is increased. Therefore, in this embodiment, by recording the output power corresponding to the current set period when updating each time, determining the power fluctuation of the power output in the near n periods according to step S162, and actively increasing stepT when the fluctuation is small (i.e., BD < α), so as to reduce the updating frequency, thereby reducing the throughput. Otherwise, stepT is actively reduced to ensure the accuracy of recording.
Further, in order to avoid stepT unlimited reductions, in this embodiment, if β× stepT is less than 0.005, stepT =0.005.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order, or that all illustrated steps be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
Those skilled in the art will appreciate that the various aspects of the application may be implemented as a system, method, or program product. Accordingly, aspects of the application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device according to this embodiment of the application. The electronic device is merely an example, and should not impose any limitations on the functionality and scope of use of embodiments of the present application.
The electronic device is in the form of a general purpose computing device. Components of an electronic device may include, but are not limited to: the at least one processor, the at least one memory, and a bus connecting the various system components, including the memory and the processor.
Wherein the memory stores program code that is executable by the processor to cause the processor to perform steps according to various exemplary embodiments of the application described in the "exemplary methods" section of this specification.
The storage may include readable media in the form of volatile storage, such as Random Access Memory (RAM) and/or cache memory, and may further include Read Only Memory (ROM).
The storage may also include a program/utility having a set (at least one) of program modules including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The bus may be one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
The electronic device may also communicate with one or more external devices (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device, and/or with any device (e.g., router, modem, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface. And, the electronic device may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through a network adapter. The network adapter communicates with other modules of the electronic device via a bus. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with an electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the application may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the application as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present application, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present application should be included in the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (8)
1. An electrical energy control system, comprising: the device comprises an EEPROM memory, a data read-write module, an electric energy output module and a first electric energy recording module; the EEPROM memory is connected with the data read-write module, and the data read-write module and the electric energy output module are both connected with the first electric energy recording module;
the power control system is used for executing the following steps:
S100, the first electric energy recording module responds to a received charging request and sends a historical electric quantity acquisition request to the data reading and writing module;
S120, the data read-write module acquires a first historical electric quantity character string T1 and a second historical electric quantity character string T2 from the EEPROM memory, and sends the T1 and the T2 to the first electric energy recording module; t1 and T2 are m-bit binary integer character strings;
s130, the first electric energy recording module obtains a target historical electric quantity character string init=lift (T1, m) +t2 according to T1 and T2; wherein lift () is a preset displacement processing function for shifting T1 left by m bits;
S140, the first power recording module obtains target historical power information lv=bin 2DEC (INIT) ×factor; BIN2DEC () is a preset binary conversion function, and Factor is a preset conversion coefficient;
S150, the first electric energy recording module updates LV to lv=lv+zv every set period; wherein ZV is the output power corresponding to the current setting period, zv= ((Inow x Unow)/1000) x stepT/3600; wherein Inow is the current output current of the electric energy output module, unow is the current output voltage of the electric energy output module, and stepT is the time length of the set period;
S160, responding to each update of the LV, adding the currently acquired ZV as a judgment value to the tail of a preset unidirectional queue, and performing cycle length update processing; the unidirectional queue is a first-in first-out queue, and the maximum capacity of the unidirectional queue is n;
the cycle length update process includes the steps of:
S161, obtaining each judgment value in the current unidirectional queue to obtain a judgment value list P= (P1, P2, …, pi, …, pn); pi is the ith judging value in the current unidirectional queue;
S162, obtaining the electric quantity fluctuation value Wherein avg () is a preset average value determining function;
S163, if BD < α, then stepT = stepT/β; otherwise, let stepT = β x stepT; wherein alpha is a preset judging threshold value, beta is a preset adjusting coefficient, and 0 < beta < 1.
2. The power control system of claim 1, further comprising a second power recording module; the second electric energy recording module is connected with the data reading and writing module and the electric energy output module at the same time;
the power control system is further configured to perform the steps of:
S200, the second electric energy recording module responds to the received charging request and sends a user history electric quantity acquisition request to the data reading-writing module; the user history electric quantity acquisition request comprises a user ID of a user corresponding to the charging request;
S210, the data read-write module acquires a first user electric quantity character string YT1 and a second electric quantity character string YT2 corresponding to the user ID from an EEPROM memory, and sends the YT1 and the YT2 to the second electric energy recording module; YT1 and YT2 are m-bit binary integer character strings;
S230, the second electric energy recording module obtains a user electric quantity character string YINIT =lift (YT 1, m) +yt2 according to YT1 and YT2;
s240, the second electric energy recording module obtains user history electric quantity information YLV =bin 2DEC (YINIT) Factor;
S250, the second electrical energy recording module obtains the current charge amount yb=0 of the user;
S260, the second electrical energy recording module obtains yb=yb+zv and YLV = YLV +zv at intervals of a set period.
3. The power control system of claim 1, wherein the EEPROM memory has a first list and a second list disposed therein, T1 being stored in the first list and T2 being stored in the second list; and the storage location of T1 in the first list is the same as the storage location of T2 in the second list.
4. The electrical energy control system of claim 1, wherein m = 16.
5. The power control system of claim 1, wherein Factor = 0.01.
6. The power control system of claim 1, wherein stepT = 0.01 seconds.
7. The power control system of claim 1, wherein the power output module is a charging gun.
8. The electrical energy control system of claim 1, wherein β = 0.9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211650293.9A CN115891739B (en) | 2022-12-21 | 2022-12-21 | Electric energy control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211650293.9A CN115891739B (en) | 2022-12-21 | 2022-12-21 | Electric energy control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115891739A CN115891739A (en) | 2023-04-04 |
CN115891739B true CN115891739B (en) | 2024-07-05 |
Family
ID=86488167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211650293.9A Active CN115891739B (en) | 2022-12-21 | 2022-12-21 | Electric energy control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115891739B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135003A (en) * | 2017-04-19 | 2017-09-05 | 西安电子科技大学 | Text compression methods are realized based on Gzip hardware |
CN110335654A (en) * | 2019-07-03 | 2019-10-15 | 重庆邮电大学 | A kind of information extraction method of electronic health record, system and computer equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110116351A (en) * | 2010-04-19 | 2011-10-26 | 김종윤 | Digital proframmable integrating totalizer |
DE102019108891A1 (en) * | 2019-04-04 | 2020-10-08 | Innogy Se | Method and device for assigning a measured value recorded by a charging station to a user |
CN115482631B (en) * | 2022-09-09 | 2024-06-25 | 浙江口碑网络技术有限公司 | Information interaction method and device |
-
2022
- 2022-12-21 CN CN202211650293.9A patent/CN115891739B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135003A (en) * | 2017-04-19 | 2017-09-05 | 西安电子科技大学 | Text compression methods are realized based on Gzip hardware |
CN110335654A (en) * | 2019-07-03 | 2019-10-15 | 重庆邮电大学 | A kind of information extraction method of electronic health record, system and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115891739A (en) | 2023-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7698709B2 (en) | Method and apparatus to manage multi-computer supply based on an economic model | |
CN109272348B (en) | Method and device for determining number of active users, storage medium and electronic equipment | |
CN109857556B (en) | Memory recovery method and device, storage medium and electronic equipment | |
CN112801331B (en) | Shaping of computational loads with virtual capacity and preferred location real-time scheduling | |
CN110618867A (en) | Method and device for predicting resource usage amount | |
CN115891739B (en) | Electric energy control system | |
CN110766202A (en) | Contract settlement system, method and equipment for predicting channel capacity | |
CN112819215A (en) | Recommendation strategy training method and device, electronic equipment and readable storage medium | |
CN112306406A (en) | Intelligent storage automatic grading method and device, storage medium and electronic equipment | |
JP6836949B2 (en) | Server device | |
CN115515045A (en) | Equipment charging optimization method and device, electronic equipment and readable storage medium | |
CN112764509B (en) | Computing core, computing core temperature adjustment method, computing core temperature adjustment device, computer readable medium, computer program, chip and computer system | |
CN115473216A (en) | Method and system for improving line loss calculation of power grid | |
CN111538597B (en) | Resource allocation method, device, computer readable storage medium and electronic equipment | |
CN114201729A (en) | Method, device and equipment for selecting matrix operation mode and storage medium | |
CN113723712A (en) | Wind power prediction method, system, device and medium | |
CN114683908A (en) | Battery replacement capability evaluation method and system for battery replacement station, electronic device and medium | |
CN111382092A (en) | Sensor network, method and storage medium | |
CN112782584A (en) | Method, system, medium, and device for predicting remaining usage limit of battery power | |
CN114785704B (en) | Internet data center equipment load prediction method and device, equipment and medium | |
CN118113561B (en) | GPU energy efficiency optimization method through dynamic and static information fusion | |
CN111309690B (en) | G code data lossless compression method for numerical control machine tool | |
CN116090663A (en) | Method and device for predicting daily active user number, electronic equipment and storage medium | |
CN113283807B (en) | Operation scheduling method and device of optical storage charging station | |
CN113850496A (en) | Power utilization planning method and device, electronic equipment and 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 |