CN115891739A - Electric energy control system - Google Patents

Electric energy control system Download PDF

Info

Publication number
CN115891739A
CN115891739A CN202211650293.9A CN202211650293A CN115891739A CN 115891739 A CN115891739 A CN 115891739A CN 202211650293 A CN202211650293 A CN 202211650293A CN 115891739 A CN115891739 A CN 115891739A
Authority
CN
China
Prior art keywords
electric energy
module
electric quantity
recording module
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.)
Granted
Application number
CN202211650293.9A
Other languages
Chinese (zh)
Other versions
CN115891739B (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.)
Guoguang Shunneng Shanghai Energy Technology Co ltd
Original Assignee
Guoguang Shunneng Shanghai Energy Technology 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 Guoguang Shunneng Shanghai Energy Technology Co ltd filed Critical Guoguang Shunneng Shanghai Energy Technology Co ltd
Priority to CN202211650293.9A priority Critical patent/CN115891739B/en
Publication of CN115891739A publication Critical patent/CN115891739A/en
Application granted granted Critical
Publication of CN115891739B publication Critical patent/CN115891739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application provides an electric energy control system, includes: the device comprises an EEPROM (electrically erasable programmable read-only memory), a data read-write module, an electric energy output module and a first electric energy recording module; the system is configured to perform the following steps: the first electric energy recording module sends a historical electric quantity obtaining request to the data reading and writing module; the data reading and writing module acquires a first historical electric quantity character string T1 and a second historical electric quantity character string T2 from the EEPROM 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 method comprises the steps that a 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 realizes the recording of electric quantity under the condition that a physical electric meter is not additionally arranged.

Description

Electric energy control system
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 be automatically moved to a new energy automobile to charge the new energy automobile. However, when charging is performed again, the electric energy transmitted to the new energy automobile needs to be measured. However, if a physical electricity meter is additionally installed in the mobile charging car, on one hand, the cost is increased, and on the other hand, the overall weight of the mobile charging car is increased, so that the moving energy consumption of the mobile charging car is increased. Therefore, a method for enabling the mobile charging vehicle to measure the output electric energy without installing a physical electric meter is needed.
Disclosure of Invention
In view of the above, the present application provides an electric energy control system that at least partially solves the problems of the prior art.
In an aspect of the present application, there is provided an electric 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 reading and writing module, and the data reading and writing module and the electric energy output module are both connected with the first electric energy recording module;
the electric energy 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 obtaining request to the data reading and writing module.
S120, the data reading and writing module acquires a first historical electric quantity character string T1 and a second historical electric quantity character string T2 from the EEPROM, and sends the T1 and the T2 to the first electric energy recording module; t1 and T2 are both 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 shift processing function for shifting T1 by m bits to the left.
And S140, the first electric energy recording module acquires target historical electric quantity information LV = BIN2DEC (INIT)/Factor. BIN2DEC () is a preset binary conversion function. Factor is a preset conversion coefficient.
S150, the first electric energy recording module updates the LV to be LV = LV + ZV every set period; wherein, ZV is the output electric quantity corresponding to the current setting period, and ZV = ((Inow)/1000) × stepT/3600; wherein Inow is the current output current of the power output module, unow is the current output voltage of the power output module, and stepT is the time length of the set period.
In an exemplary embodiment of the present application, the power control system further comprises 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 electric energy 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 historical electric quantity obtaining request to the data reading and writing module; the user historical electric quantity obtaining request comprises a user ID of a user corresponding to the charging request.
S210, the data reading and writing module acquires a first user electric quantity character string YT1 and a second user electric quantity character string YT2 corresponding to the user ID from an EEPROM memory, and sends YT1 and YT2 to the second electric energy recording module; YT1 and YT2 are m-bit binary integer strings.
And S230, the second electric energy recording module acquires the user electric quantity character string YINIT = lift (YT 1, m) + YT2 according to YT1 and YT2.
And S240, the second electric energy recording module acquires user historical electric quantity information YLV = BIN2DEC (YINIT)/. Factor.
And S250, the second electric energy recording module acquires the current charging amount YB =0 of the user.
And S260, the second electric energy recording module acquires YB = YB + ZV and YLV = YLV + ZV every set period.
In an exemplary embodiment of the present application, a first list and a second list are provided in the EEPROM memory, T1 is stored in the first list, and T2 is 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 application, after the step S150, the method further includes:
s160, responding to each updating of the LV, adding the currently acquired ZV serving as a judgment value to the tail of a preset one-way queue, and performing cycle length updating processing; the one-way queue is a first-in first-out queue, and the maximum capacity of the one-way queue is n.
The cycle length update processing includes the steps of:
s161, obtaining each judgment value in the current one-way queue to obtain a judgment value list P = (P1, P2, \8230;, pi, \8230;, pn); wherein Pi is the ith judgment value in the current one-way queue.
S162, acquiring electric quantity fluctuation value
Figure BDA0004010214710000021
Wherein avg () is a preset mean determination function.
S163, if BD < alpha, letting StepT = StepT/beta; otherwise, let stepT = β stepT; wherein alpha is a preset judgment threshold value, beta is a preset adjustment coefficient, and beta is more than 0 and less than 1.
In an exemplary embodiment of the present application, m =16.
In an exemplary embodiment of the present application, factor =0.01.
In an exemplary embodiment of the present application, stepT =0.01 seconds.
In an exemplary embodiment of the present 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 use software and hardware configuration (such as an EEPROM (electrically erasable programmable read-only memory), a data read-write module, an electric energy output module and a first electric energy recording module) in the mobile charging car to realize periodic output electric quantity recording when the mobile charging car is externally charged every time. And the EEPROM memory is used for storing historical data, so that the cumulative record of multiple charging is realized. Therefore, the purpose that the physical electric meter is not required to be additionally installed is achieved, and the recording and the displaying of the output electric quantity are realized through the original software and hardware configuration in the mobile charging vehicle.
Meanwhile, the hardware configuration of the mobile charging vehicle is often low, for example, the storage space in an EEPROM memory is small. When recording electric quantity, the conventional unit is mostly 'kilowatt-hour', so the recording accuracy is at least one or two bits after decimal point. If the floating-point character string is stored in the EEPROM, the storage space occupied by the floating-point character string is twice as large as that of the integer character string if the number of bits is the same. Therefore, in the application, the target historical electric quantity information finally used for recording and displaying is obtained by storing and recording two m-bit binary integer character strings (namely T1 and T2) and processing and calculating the T1 and T2, and the target historical electric quantity information can be displayed to a numerical value after a decimal point. Therefore, on one hand, the recorded data can meet the application requirement, and on the other hand, the occupation of the storage space in the EEPROM is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used 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 it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a block diagram of an electric energy control system according to an embodiment of the present disclosure.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
It should be noted that, in the case of no conflict, the features in the following embodiments and examples may be combined with each other; moreover, all other embodiments that can be derived by one of ordinary skill in the art from the embodiments disclosed herein without making any creative effort fall within the scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended 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 disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects 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 an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to or other than one or more of the aspects set forth herein.
In one aspect of the present application, a power control system is provided that is applicable within a mobile charging device (e.g., a mobile charging cart or a mobile power source).
Referring to fig. 1, the power control system provided in the present application includes: the device comprises an EEPROM (electrically erasable programmable read-only 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 reading and writing module and the first electric energy recording module may be virtual modules formed by software programs, and may be hardware modules (such as a processor or a single chip microcomputer) for running preset software programs. The power output module may be a charging gun or other power output interface (e.g., USB interface).
The electric energy 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 obtaining 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 vehicle), or may be sent by a controller in the mobile charging device where the electric energy control system is located, in response to the request of the device to be charged.
S120, the data reading and writing module acquires a first historical electric quantity character string T1 and a second historical electric quantity character string T2 from an EEPROM memory and sends the T1 and the T2 to the first electric energy recording module; t1 and T2 are both m-bit binary integer strings. Specifically, m =16. I.e., T1 and T2 are both strings 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 shift processing function for shifting T1 by m bits to the left. Shifting T1 left by 16 bits is a 32-bit string with the last 16 bits all being 0 changed from T1. Thus, INIT is a string of 32-bit binary numbers, where the upper 16 bits of credit are T1 and the lower 16 bits are T2.
And S140, the first electric energy recording module acquires target historical electric energy information LV = BIN2DEC (INIT)/Factor and controls the electric energy output module to output electric energy, wherein the BIN2DEC () is a preset system conversion function. Factor =0.01. Because the 10-system number is often used when the electric quantity is displayed and counted, in the embodiment, the INIT is converted from the 2-system number to the 10-system number by LV = BIN2DEC (), and in the embodiment, because the output electric quantity needs to be accurate to two bits after a decimal point, namely 0.01 kilowatt, when recording is performed, the BIN2DEC (INIT) is subjected to numerical conversion by a preset conversion coefficient Factor, so that the final accurate 10-system electric quantity record accurate to 0.01 kilowatt-hour is obtained.
S150, the first electric energy recording module updates the 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 electric quantity corresponding to the current setting period, and ZV = ((Inow)/1000) × stepT/3600; wherein Inow is the current output current of the power output module, unow is the current output voltage of the power output module, and stepT is the time length of the set period. Where 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 of stepT, the determination may be made according to the hardware performance of the mobile charging device, and theoretically, the smaller the value of stepT, the more accurate it is. In this embodiment, stepT is 0.01 second, that is, the numerical value is updated every 0.01 second, and experiments show that the hardware performance of most of the mobile charging devices can be compatible with 0.01 second as the update period, and the accuracy rate meets the application requirement.
In the present application, after each charging is finished, the current LV is converted into T1 and T2 again and updated into the EEPROM memory, so as to be used for the next charging. The specific conversion process may be the inverse operation of the above step S130 and step S130, and those skilled in the art should be able to implement conversion and update through the content disclosed in the present application, which is not described herein again.
The electric energy control system provided by this embodiment can use software and hardware configurations (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 car to realize periodic output electric quantity recording each time external charging is performed. And the EEPROM memory is used for storing historical data, so that the cumulative record of multiple charging is realized. Therefore, the purpose that the physical electric meter is not required to be additionally installed is achieved, and the recording and the displaying of the output electric quantity are realized through the original software and hardware configuration in the mobile charging vehicle.
Meanwhile, the hardware configuration of the mobile charging vehicle is often low, for example, the storage space in an EEPROM memory is small. When recording electricity, the conventional unit used is mostly 'kilowatt-hour', so the recording accuracy is at least one or two bits after decimal point. If the floating-point character string is stored in the EEPROM, the storage space occupied by the floating-point character string is twice as large as that of the integer character string if the number of bits is the same. Therefore, in this embodiment, two binary integer strings of m bits (i.e., T1 and T2) are used for storage and recording, and through processing and calculation of T1 and T2, the target historical electric quantity information finally used for recording and displaying is obtained, and the target historical electric quantity information can be displayed to a decimal value. Therefore, on one hand, the recorded data can meet the application requirement, and on the other hand, the occupation of the storage space in the EEPROM is reduced.
In an exemplary embodiment of the present application, the power control system further includes a second power recording module; the second electric energy recording module is simultaneously connected with the data reading and writing module and the electric energy output module.
The electric energy 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 historical electric quantity obtaining request to the data reading and writing module; the user historical electric quantity obtaining request comprises a user ID of a user corresponding to the charging request.
S210, the data reading and writing module acquires a first user electric quantity character string YT1 and a second user electric quantity character string YT2 corresponding to the user ID from an EEPROM memory, and sends YT1 and YT2 to the second electric energy recording module; YT1 and YT2 are m-bit binary integer strings.
And S230, the second electric energy recording module acquires the user electric quantity character string YINIT = lift (YT 1, m) + YT2 according to YT1 and YT2.
And S240, the second electric energy recording module acquires user historical electric quantity information YLV = BIN2DEC (YINIT)/. Factor.
And S250, the second electric energy recording module acquires the charge YB =0 of the user at this time.
And S260, the second electric energy recording module acquires YB = YB + ZV and YLV = YLV + ZV every set period.
In this embodiment, it can be understood that a second virtual electric meter is constructed through the second electric energy recording module and is used for recording the current charging electric quantity and the historical total charging electric quantity which correspond to the current charging user individually. And the specific method used is the same as in the previous embodiment.
The electric energy control system provided by the embodiment can set the corresponding virtual electric meter according to the requirements, and is used for recording electric quantities under different scenes and requirements. Therefore, the electric quantity statistics under multiple dimensions can be completed without additionally installing multiple electric meters, the hardware cost is saved, 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.
Correspondingly, in other embodiments, the device can also be configured to record the charged amount of the mobile charging device and store the charged amount in the EEPROM memory. Therefore, the charging and discharging proportion of the mobile charging equipment or the operation energy consumption of the mobile charging equipment can be determined by the staff through the total number of the historical charged electric quantity and the total number of the historical output electric quantity, and the staff can optimize the mobile charging equipment more conveniently according to the data.
In an exemplary embodiment of the present application, a first list and a second list are provided in the EEPROM memory, T1 is stored in the first list, and T2 is 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 stored in different lists, so that if an unauthorized user obtains the EEPROM by himself, the unauthorized user cannot directly obtain the historical work (charge and discharge) condition of the mobile charging device through the data stored in the EEPROM, thereby improving the security of information. Compared with a method for encrypting the internal data, the method does not need to occupy a large amount of calculation.
In an exemplary embodiment of the present application, after the step S150, the method further includes:
s160, responding to each updating of the LV, adding the currently acquired ZV serving as a judgment value to the tail of a preset one-way queue, and performing cycle length updating processing; the one-way queue is a first-in first-out queue, and the maximum capacity of the one-way queue is n.
The cycle length update processing includes the steps of:
s161, acquiring each judgment value in the current one-way queue to obtain a judgment value list P = (P1, P2, \8230;, pi, \8230;, pn); wherein Pi is the ith judgment value in the current one-way queue. In this embodiment, n =10.
S162, obtaining the electric quantity fluctuation value
Figure BDA0004010214710000061
Wherein avg () is a preset mean value determinationA function. The smaller BD is, the smaller the power fluctuation of the output power amount is.
S163, if BD < alpha, making StepT = StepT/beta; otherwise, let stepT = β stepT; wherein alpha is a preset judgment threshold value, alpha is more than 0, beta is a preset adjustment coefficient, and beta is more than 0 and less than 1. In this example, β =0.9. The specific value of α can be determined by those skilled in the art according to actual requirements.
As can be seen from the foregoing examples, in the present application, every stepT, an update of the LV is performed. While the value of stepT is often set small, such as 0.01 second, to ensure the accuracy of the data. But this also increases the computational load on the processor, increasing computational pressure. However, it has been found through experiments that when the power fluctuation of the output power is small, the recorded result is satisfactory for the application even if the stepT value is increased. Therefore, in this embodiment, the output power corresponding to the current setting period at each update is recorded, and the power fluctuation of the output power in the near n periods is determined according to step S162, and when the fluctuation is small (BD < α), stepT is actively increased to reduce the update frequency, thereby reducing the processing amount. Otherwise, stepT is actively reduced to ensure the recording accuracy.
Further, in order to avoid an unlimited decrease of stepT, in this embodiment, if β ×. StepT is less than 0.005, stepT =0.005.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute 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.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device according to this embodiment of the present application. The electronic device is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present application.
The electronic device is in the form of a general purpose computing device. Components of the 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 storage stores program code executable by the processor to cause the processor to perform steps according to various exemplary embodiments of the present application described in the "exemplary methods" section above.
The memory may include readable media in the form of volatile memory, 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 of which or some combination thereof may comprise an implementation of a network environment.
The bus may be any representation of 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 devices (e.g., router, modem, etc.) that enable the electronic device to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface. Also, the electronic device may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via a network adapter. The network adapter communicates with other modules of the electronic device over the bus. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, 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 (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the present application may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present application described in the "exemplary methods" section above of this specification, when the 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 may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may 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 and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, 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., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the present application, and are not intended to be limiting. It will be readily appreciated that the processes illustrated in the above figures are not intended to indicate or limit the temporal order of the processes. In addition, it is also readily understood that these processes may be performed, for example, synchronously or asynchronously in multiple modules.
It should be noted that although in the above detailed description several modules or units of the 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, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. An electric energy control system, comprising: the device comprises an EEPROM (electrically erasable programmable read-only 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 reading and writing module, and the data reading and writing module and the electric energy output module are both connected with the first electric energy recording module;
the electric energy control system is used for executing the following steps:
s100, the first electric energy recording module responds to the received charging request and sends a historical electric quantity obtaining request to the data reading and writing module;
s120, the data reading and writing module acquires a first historical electric quantity character string T1 and a second historical electric quantity character string T2 from the EEPROM, 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, which is used for shifting T1 to the left by m bits;
s140, the first electric energy recording module obtains target historical electric energy information LV = BIN2DEC (INIT)/Factor; BIN2DEC () is a preset system conversion function, and Factor is a preset conversion coefficient;
s150, the first electric energy recording module updates the LV to be LV = LV + ZV every set period; wherein, ZV is the output electric quantity corresponding to the current setting period, and ZV = ((Inow)/1000) × stepT/3600; wherein Inow is the current output current of the power output module, unow is the current output voltage of the power output module, and stepT is the time length of the set period.
2. The power control system of claim 1 further comprising a second power logging module; the second electric energy recording module is simultaneously connected with the data reading and writing module and the electric energy output module;
the electric energy 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 historical electric quantity obtaining request to the data reading and writing module; the historical electric quantity obtaining request of the user comprises a user ID of a user corresponding to the charging request;
s210, the data reading and writing module acquires a first user electric quantity character string YT1 and a second user electric quantity character string YT2 corresponding to the user ID from an EEPROM memory and sends YT1 and YT2 to the second electric energy recording module; YT1 and YT2 are m-bit binary integer 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 historical electric energy information YLV = BIN2DEC (YINIT)/Factor;
s250, the second electric energy recording module obtains the current charge YB =0 of the user;
and S260, the second electric energy recording module acquires YB = YB + ZV and YLV = YLV + ZV every set period.
3. The power control system of claim 1 wherein the EEPROM memory has disposed therein a first list and a second list, 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 power control system of claim 1, wherein after the step S150, the method further comprises:
s160, responding to each updating of the LV, adding the currently acquired ZV serving as a judgment value to the tail of a preset one-way queue, and performing cycle length updating processing; the one-way queue is a first-in first-out queue, and the maximum capacity of the one-way queue is n;
the cycle length update processing includes the steps of:
s161, acquiring each judgment value in the current one-way queue to obtain a judgment value list P = (P1, P2, \8230;, pi, \8230;, pn); pi is the ith judgment value in the current one-way queue;
s162, acquiring electric quantity fluctuation value
Figure FDA0004010214700000021
Wherein avg () is a preset mean value determining function;
s163, if BD < alpha, letting StepT = StepT/beta; otherwise, let stepT = β stepT; wherein alpha is a preset judgment threshold value, beta is a preset adjustment coefficient, and beta is more than 0 and less than 1.
5. The power control system of claim 1, wherein m =16.
6. The power control system of claim 1, wherein Factor =0.01.
7. The power control system of claim 1 wherein stepT =0.01 seconds.
8. The power control system of claim 1 wherein the power output module is a charging gun.
9. The power control system of claim 4, wherein β =0.9.
CN202211650293.9A 2022-12-21 2022-12-21 Electric energy control system Active CN115891739B (en)

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 true CN115891739A (en) 2023-04-04
CN115891739B 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110116351A (en) * 2010-04-19 2011-10-26 김종윤 Digital proframmable integrating totalizer
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
EP3718814A1 (en) * 2019-04-04 2020-10-07 Innogy SE Method and device for assigning a measured value detected by a charging station to a user
CN115482631A (en) * 2022-09-09 2022-12-16 浙江口碑网络技术有限公司 Information interaction method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110116351A (en) * 2010-04-19 2011-10-26 김종윤 Digital proframmable integrating totalizer
CN107135003A (en) * 2017-04-19 2017-09-05 西安电子科技大学 Text compression methods are realized based on Gzip hardware
EP3718814A1 (en) * 2019-04-04 2020-10-07 Innogy SE Method and device for assigning a measured value detected by a charging station to a user
CN110335654A (en) * 2019-07-03 2019-10-15 重庆邮电大学 A kind of information extraction method of electronic health record, system and computer equipment
CN115482631A (en) * 2022-09-09 2022-12-16 浙江口碑网络技术有限公司 Information interaction method and device

Also Published As

Publication number Publication date
CN115891739B (en) 2024-07-05

Similar Documents

Publication Publication Date Title
KR20190139757A (en) Artificial neural network training using flexible floating point tensors
CN109272348B (en) Method and device for determining number of active users, storage medium and electronic equipment
WO2019225652A1 (en) Model generation device for lifespan prediction, model generation method for lifespan prediction, and storage medium storing model generation program for lifespan prediction
CN103678139A (en) Method and device for thin provision
CN113815481B (en) Battery pack selection method and device, electronic equipment and storage medium
CN112579241B (en) Page layout method and device, computer-readable storage medium and electronic equipment
CN112801331A (en) Shaping of computational loads using real-time scheduling of virtual capacity and preferred location
KR20160107093A (en) Method and system for predicting remaining useful life(rul) of battery
CN109582231A (en) Date storage method, device, electronic equipment and storage medium
CN102859380B (en) Method and apparatus for determining state of charge values for an electrical power cell
CN114862109A (en) Power utilization abnormity monitoring method and device, electronic equipment and storage medium
CN115891739B (en) Electric energy control system
CN114236461A (en) Electric quantity calibration method, electronic equipment and storage medium
JP2020191766A (en) Power management system
JP2020202631A (en) Power storage battery control device
JP6836949B2 (en) Server device
US11966786B2 (en) Proxy-based instruction throttling control
CN115576484A (en) Data reading and writing method and device, electronic equipment and storage medium
JPWO2019159585A1 (en) Learning system, estimation system and trained model
CN112764509B (en) Computing core, computing core temperature adjustment method, computing core temperature adjustment device, computer readable medium, computer program, chip and computer system
CN112345954B (en) Battery life prediction method, device, electronic equipment and medium
JP2019193402A (en) Control device and control method
CN115473216A (en) Method and system for improving line loss calculation of power grid
CN112257913A (en) Medium-voltage line load value prediction method, device, equipment and storage medium
CN111382092A (en) Sensor network, method 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