CN107168130B - A kind of circular power bus control method and circular power bus - Google Patents

A kind of circular power bus control method and circular power bus Download PDF

Info

Publication number
CN107168130B
CN107168130B CN201710483543.7A CN201710483543A CN107168130B CN 107168130 B CN107168130 B CN 107168130B CN 201710483543 A CN201710483543 A CN 201710483543A CN 107168130 B CN107168130 B CN 107168130B
Authority
CN
China
Prior art keywords
equipment
energy consumption
energy
token
power bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710483543.7A
Other languages
Chinese (zh)
Other versions
CN107168130A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710483543.7A priority Critical patent/CN107168130B/en
Publication of CN107168130A publication Critical patent/CN107168130A/en
Application granted granted Critical
Publication of CN107168130B publication Critical patent/CN107168130B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Abstract

The present invention provides a kind of circular power bus control method and circular power bus, wherein method includes, using token to all access ring bus and the equipment that open monitor function are polled;The energy consumption demand of energy consumption equipment is detected, statistics current time has the equipment total amount of energy consumption demand, and the energy supply sequence of each energy consumption equipment is determined according to equipment total amount and according to preset principle of ordering;According to energy supply sequence, token field information is updated;According to token field information, dispatches powering device and energy consumption equipment is energized.Circular power bus control method provided by the invention and circular power bus, the communication between each equipment and energy bus is realized by software interface, without carrying out complicated hardware configuration, it is cost-saved, and the equipment being articulated in energy bus is managed using token loop technique, the position of each equipment relative energy bus is reciprocity, scalability height.

Description

A kind of circular power bus control method and circular power bus
Technical field
The present invention relates to a kind of circular power bus control method and circular power buses.
Background technique
Energy bus is a kind of for reducing the bus arbitration controller of energy consumption, can control wind energy in system, electricity The energy balance that energy is mutually converted is carried out between the energy control devices such as energy, nuclear energy, kinetic energy.
Current energy bus is all based on central dispatch system, and all equipment is all to pass through central dispatch system It dispatches, belongs to monobus mode, when some equipment connect failure with central dispatch system, which will be unable to It is dispatched at energy, in addition, the existing energy bus based on central dispatch system is all based on hardware, by central dispatch system It establishes connection between equipment to need to carry out complicated hardware configuration, and the stationarity of hardware configuration to be not easy between equipment Connection and control function be changed and extend, at high cost and flexibility is low.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of circular power bus control method and circular power buses, lead to It crosses software interface and realizes communication between each equipment and energy bus, it is cost-saved without carrying out complicated hardware configuration, and adopt The equipment being articulated in energy bus is managed with token loop technique, the position of each equipment relative energy bus is equity , scalability is high, and when some equipment connect failure with energy bus, and poll, the equipment still can backward for token Energy scheduling is completed, reliability is higher.
In order to solve the above technical problems, present invention provide the technical scheme that
On the one hand, the present invention provides a kind of circular power bus control method, including,
All equipment for accessing ring bus and opening monitor function are polled using token, wherein equipment packet Include powering device and energy consumption equipment;
The energy consumption demand of energy consumption equipment is detected, statistics current time has the equipment total amount of energy consumption demand, and according to equipment Total amount and the energy supply sequence that each energy consumption equipment is determined according to preset principle of ordering;
According to energy supply sequence, token field information is updated;
According to token field information, dispatches powering device and energy consumption equipment is energized.
Further, further include,
The energy consumption for detecting energy consumption equipment stops demand;
Token field information is updated according to energy consumption stopping demand;
Stop energizing energy consumption equipment according to token field message scheduling powering device corresponding with energy consumption equipment.
Further, step is being polled to all equipment for accessing ring bus and opening monitor function using token Before rapid, further include,
To the equipment of each access ring bus, determinant attribute is set.
Further, the determinant attribute of each equipment, including device attribute and energy value, wherein
The device attribute of powering device is "+", and the device attribute of energy consumption equipment is "-".
Further, principle of ordering is that the energy consumption equipment smaller to energy consumption demand preferentially energizes.
Further, each equipment accesses ring bus using uniform common software interface.
Further, the direction that token is polled includes forward and backward.
Further, token field information includes initial character identification position and information content body;
Initial character identifies that position is " ^ ";
Information content body includes two digit order numbers, energy value information required for first digit bit identification equipment, and The current dump energy information in entire energy system of second digit bit identification.
Further, powering device, including battery, alternating current, oil machine, flywheel;
Energy consumption equipment, including server, air-conditioning.
On the other hand, the present invention also provides a kind of circular power buses, including, token ring module, detection module dispatches mould Block;
Token ring module, for being taken turns using token to all equipment for accessing ring bus and opening monitor function It askes;
Detection module, for detecting the energy consumption demand of energy consumption equipment, statistics current time has the equipment of energy consumption demand total Amount, and the energy supply of each energy consumption equipment is determined sequentially according to equipment total amount and according to preset principle of ordering;
Token ring module is also used to update token field information according to energy supply sequence;
Scheduler module, for dispatching powering device and being energized to energy consumption equipment according to token field information.
Circular power bus control method provided by the invention and circular power bus realize each equipment by software interface Communication between energy bus, it is cost-saved without carrying out complicated hardware configuration, and using token loop technique to being articulated in Equipment in energy bus is managed, and the position of each equipment relative energy bus is reciprocity, scalability height, and works as some When equipment connect failure with energy bus, token poll backward, the equipment remains unchanged achievable energy scheduling, and reliability is more It is high.
Detailed description of the invention
Fig. 1 is the flow chart of circular power bus control method provided in an embodiment of the present invention;
Fig. 2 is the another flow chart of circular power bus control method provided in an embodiment of the present invention;
Fig. 3 is powering device expression figure provided in an embodiment of the present invention;
Fig. 4 is energy consumption equipment expression figure provided in an embodiment of the present invention;
Fig. 5 is circular power bus control architecture schematic diagram provided in an embodiment of the present invention;
The structural block diagram of Fig. 6 circular power bus provided in an embodiment of the present invention;.
Specific embodiment
Present invention will be further explained by specific examples below, it should be understood, however, that, these embodiments are only It is used, is but should not be understood as present invention is limited in any form for specifically describing in more detail.
Embodiment one
In conjunction with Fig. 1, circular power bus control method provided in this embodiment, including,
Step S1: all equipment for accessing ring bus and opening monitor function are polled using token, wherein Equipment includes powering device and energy consumption equipment;
Step S2: detecting the energy consumption demand of energy consumption equipment, and statistics current time has the equipment total amount of energy consumption demand, and root The energy supply sequence of each energy consumption equipment is determined according to equipment total amount and according to preset principle of ordering;
Step S3: according to energy supply sequence, token field information is updated;
Step S4: it according to token field information, dispatches powering device and energy consumption equipment is energized.
Circular power bus control method provided in an embodiment of the present invention realizes that each equipment and energy are total by software interface Communication between line, it is cost-saved without carrying out complicated hardware configuration, and using token loop technique to being articulated in energy bus On equipment be managed, the position of each equipment relative energy bus be it is reciprocity, scalability is high, and works as some equipment and energy When measuring bus connection and breaking down, token poll backward, the equipment remains unchanged achievable energy scheduling, and reliability is higher.
Preferably, as illustrated in fig. 2, further include,
Step S5: the energy consumption for detecting energy consumption equipment stops demand;
Step S6: token field information is updated according to energy consumption stopping demand;
Step S7: stop supplying energy consumption equipment according to token field message scheduling powering device corresponding with energy consumption equipment Energy.
In the present embodiment, when some energy consumption equipment (for example, air-conditioning) no longer needs to consume energy (for example, it is desired to closing air-conditioning) When, the token field information in token will be updated, and token field information will send back energy by software interface after updating Bus stops energizing the energy consumption equipment at this point, energy bus will control powering device corresponding with the energy consumption equipment.
It is further preferred that being taken turns using token to all equipment for accessing ring bus and opening monitor function It before asking step, further include that determinant attribute is set to the equipment of each access ring bus.
Specifically, the determinant attribute of each equipment, including device attribute and energy value, wherein the equipment category of powering device Property be "+", and the device attribute of energy consumption equipment be "-".More specifically, the expression of powering device and energy consumption equipment in systems Mode is as shown in Figure 3 and Figure 4, and in Fig. 3, "+10 " indicate powering device, and the available energy value of the powering device is 10, E1 For the number of the powering device;And in Fig. 4, " -10 " indicate energy consumption equipment, and the energy value that the energy consumption equipment need to consume is 10, L1 is the number of the energy consumption equipment.
It is further preferred that principle of ordering is, the energy consumption equipment smaller to energy consumption demand is preferentially energized.In the present embodiment, When there are multiple loads (energy consumption equipment) to need work simultaneously, the minimum value of an energy out is just decided by vote using principle of ordering, and The first corresponding energy consumption equipment of starting minimum value.For example, there are three energy consumption equipments to have energy consumption demand, and respectively L1, L2 simultaneously, L3, and the energy value of L1 be 10, L2 energy value be 20, L3 energy value be 30, then first start the smallest L1 of energy value, then open The L2 that kinetic energy magnitude takes second place, finally starts L3.
It is further preferred that each equipment accesses ring bus using uniform common software interface.The present embodiment In, before equipment is articulated on ring bus, each equipment has configured common software interface, and passes through the software interface, Device-readable energy bus information writes energy bus information and controls itself energy output or input.Specifically, software connects Mouth includes following four power functions:
(1) readInterface () { }, for reading circular power bus message;
(2) writeInterface () { }, for writing circular power bus message;
(3) openInterface () { } when value is negative, is used to open energy input switch, is worth for timing, for closing Energy input switch;
(4) closeInterface () { } when // value is negative, for closing energy output switch, is worth for timing, for beating Open energy output switch.
It is further preferred that the direction that token is polled includes forward and backward.In the present embodiment, due to energy bus For annular control, when some equipment connect failure with energy bus, poll, the equipment are still achievable backward for token Energy scheduling, reliability are higher.
It is further preferred that token field information includes initial character identification position and information content body;Initial character identification position is "^";Information content body includes two digit order numbers, energy value information required for first digit bit identification equipment, and second Dump energy information in a current entire energy system of digit order number mark.Specifically, for example, for token field information " ^- 10-10 ", " ^ " indicate that the information is token information, and first " -10 " indicates that certain energy consumption equipment needs to open, and open the equipment Required energy value is 10, and second " -10 " expression has not been met unlocking condition, and residual energy magnitude in present energy system It is -10, i.e. energy value also poor 10.
It should be noted that initial character identification position is the preferred embodiment that " ^ " is the present embodiment, and initial character identifies position It can also be identified using other characters, the present embodiment is not especially limited.
It is further preferred that powering device, including but not limited to battery, alternating current, oil machine, flywheel;Energy consumption equipment, including but It is not limited to server, air-conditioning.The method of the present embodiment is suitable for data center's monitoring system with a variety of mixed function equipment In, energy scheduling can be better achieved.It should be noted that specific kind to powering device and energy consumption equipment of the present embodiment Class and particular number are not specifically limited.
Embodiment two
The present embodiment is a concrete application of the circular power bus control method that embodiment one provides.
As illustrated in fig. 5, multiple equipment is articulated in circular power bus using general-purpose interface, wherein to be mounted with 6 Powering device, respectively E1, E2, E3, E4, E5, E6, and it is mounted with 3 energy consumption equipments, respectively L1, L2, L3.The present embodiment In, the equipment in the circular power bus is switched on monitor function, and L1, L2, L3 require work, L1, L2, and L3 will decide by vote out One the smallest energy value first starts the equipment L1 of minimum energy value, restarts the L2 that energy value takes second place, finally start L3.
(1) when token passes through L1, just updating token field information is " ^-10-10 ", and calls writeInterface Interface writes back bus.When token passes through E1, E1 calling readInterface has got equipment and has needed energy, then just adjusts Energy output switch is closed with closeInterface, and updating token field information is " ^-10+0 ", and is called WriteInterface interface writes back bus;When token again passes by L1, L1 has been judged as current energy value from token information Through meeting, then, energy output is opened immediately, calls openInerface, open energy input switch.
(2) when token passes through L2, just updating token field information is " ^-20-20 ", and writes back bus.When token passes through When E2, updating token field information is " ^ is -20-10 ";When by E3, updating token field information is " ^-20+0 ";Work as token When again passing by L2, L2 is judged as current energy value and has met from token information, then, opens energy output immediately, calls OpenInerface opens energy input switch.
(3) when token passes through L3, just updating token field information is " ^-30-30 ", and writes back bus;When token passes through When E4, updating token field information is " ^-30-20 ";When by E5, updating token field information is " ^-30-10 ", by E6 When, updating token field information is " ^-30+0 ";When token again passes by L3, L3 is judged as present energy from token information Value has met, and then, opens energy output immediately, calls openInerface, opens energy input switch.
In addition, turning off L1 if necessary in the present embodiment, when token passes through L1, just updating token field information is " ^+ 10+10 ", and writeInterface interface is called to write back bus;When token passes through E1, E1 calls readInterface to obtain It has got equipment needs to release energy, has then just called closeInterface to open energy output switch, update token field Information is " ^+10+0 ", and writeInterface interface is called to write back bus;When token again passes by L1, L1 believes from token Breath, is judged as current energy value and has balanced, and then, closes energy output immediately, calls openInerface, it is defeated to close energy Enter switch.Finally, system balances again.
Embodiment three
In conjunction with Fig. 6, circular power bus provided in an embodiment of the present invention, including, token ring module 1, detection module 2 is adjusted Spend module 3;
Token ring module 1, for being carried out using token to all equipment for accessing ring bus and opening monitor function Poll;
Detection module 2, for detecting the energy consumption demand of energy consumption equipment, statistics current time has the equipment of energy consumption demand total Amount, and the energy supply of each energy consumption equipment is determined sequentially according to equipment total amount and according to preset principle of ordering;
Token ring module 1 is also used to update token field information according to energy supply sequence;
Scheduler module 3, for dispatching powering device and being energized to energy consumption equipment according to token field information.
Circular power bus provided in an embodiment of the present invention is realized logical between each equipment and energy bus by software interface Letter, it is cost-saved without carrying out complicated hardware configuration, and the equipment using token loop technique to being articulated in energy bus It is managed, the position of each equipment relative energy bus is reciprocity, scalability height, and when some equipment and energy bus connect When connecing failure, token poll backward, the equipment remains unchanged achievable energy scheduling, and reliability is higher.
Although present invention has been a degree of descriptions, it will be apparent that, do not departing from the spirit and scope of the present invention Under the conditions of, the appropriate variation of each condition can be carried out.It is appreciated that the present invention is not limited to the embodiments, and it is attributed to right It is required that range comprising the equivalent replacement of each factor.

Claims (10)

1. a kind of circular power bus control method characterized by comprising
All equipment for accessing ring bus and opening monitor function are polled using token, wherein the equipment packet Include powering device and energy consumption equipment;
The energy consumption demand of energy consumption equipment is detected, statistics current time has the equipment total amount of energy consumption demand, and according to the equipment Total amount and the energy supply sequence that each energy consumption equipment is determined according to preset principle of ordering;
According to the energy supply sequence, token field information is updated;
According to token field information, dispatches powering device and energy consumption equipment is energized.
2. circular power bus control method according to claim 1, which is characterized in that further include,
The energy consumption for detecting energy consumption equipment stops demand;
Token field information is updated according to the energy consumption stopping demand;
Stop energizing the energy consumption equipment according to token field message scheduling powering device corresponding with the energy consumption equipment.
3. circular power bus control method according to claim 1, which is characterized in that utilize token to all described It accesses ring bus and the equipment for opening monitor function is polled before step, further include,
To the equipment of each access ring bus, determinant attribute is set.
4. circular power bus control method according to claim 3, which is characterized in that the crucial of each equipment belongs to Property, including device attribute and energy value, wherein
The device attribute of the powering device is "+", and the device attribute of the energy consumption equipment is "-".
5. circular power bus control method according to claim 1, which is characterized in that
The principle of ordering is that the energy consumption equipment smaller to energy consumption demand preferentially energizes.
6. circular power bus control method according to claim 1, which is characterized in that each equipment is using same The common software interface of standard accesses the ring bus.
7. circular power bus control method according to claim 1, which is characterized in that described to be polled using token Direction include forward and backward.
8. circular power bus control method according to claim 1, which is characterized in that the token field information includes Initial character identifies position and information content body;
Initial character identification position is " ^ ";
The information content body includes two digit order numbers, energy value information required for first digit bit identification equipment, and The current dump energy information in entire energy system of second digit bit identification.
9. circular power bus control method according to claim 1, which is characterized in that
The powering device, including battery, alternating current, oil machine, flywheel;
The energy consumption equipment, including server, air-conditioning.
10. a kind of circular power bus, which is characterized in that including, token ring module, detection module, scheduler module;
The token ring module, for being taken turns using token to all equipment for accessing ring bus and opening monitor function It askes;
The detection module, for detecting the energy consumption demand of energy consumption equipment, statistics current time has the equipment of energy consumption demand total Amount, and the energy supply of each energy consumption equipment is determined sequentially according to the equipment total amount and according to preset principle of ordering;
The token ring module is also used to update token field information according to the energy supply sequence;
The scheduler module, for dispatching powering device and being energized to energy consumption equipment according to token field information.
CN201710483543.7A 2017-06-22 2017-06-22 A kind of circular power bus control method and circular power bus Active CN107168130B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710483543.7A CN107168130B (en) 2017-06-22 2017-06-22 A kind of circular power bus control method and circular power bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710483543.7A CN107168130B (en) 2017-06-22 2017-06-22 A kind of circular power bus control method and circular power bus

Publications (2)

Publication Number Publication Date
CN107168130A CN107168130A (en) 2017-09-15
CN107168130B true CN107168130B (en) 2019-04-19

Family

ID=59820138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710483543.7A Active CN107168130B (en) 2017-06-22 2017-06-22 A kind of circular power bus control method and circular power bus

Country Status (1)

Country Link
CN (1) CN107168130B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8527108B2 (en) * 2006-07-11 2013-09-03 Regen Energy Inc. Method and apparatus for managing an energy consuming load
CN202975724U (en) * 2012-09-18 2013-06-05 苏州惠天节能科技有限公司 Energy control system using technology of Internet of Things
CN103064741B (en) * 2012-12-24 2015-08-05 浙江工业大学 A kind of method of the divided load scheduling based on energy model
CN106483876A (en) * 2015-09-02 2017-03-08 李涛 A kind of energy scheduling architecture of new forms of energy data center

Also Published As

Publication number Publication date
CN107168130A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN104609270B (en) A kind of intelligent elevator control system and method
CN109067597A (en) A kind of distributed system dynamic and intelligent service administering method
CN106104293A (en) Method and device for the method for automatic mapping smart jack in home gateway and the electronic equipment being connected to smart jack
CN105183547B (en) A kind of method for scheduling task and device of user interface
CN109150674A (en) Fault cues system, method and device thereof, equipment, storage medium
CN104081312A (en) Voltage regulator control system
CN107018089A (en) The operating method of communication node in network
CN106055454A (en) Monitoring method for server mainboard
CN108923484A (en) Charge power adjusting method, device, power supply unit and storage medium
CN108806679A (en) voice awakening method and device
US10620687B2 (en) Hybrid power management approach
CN107168130B (en) A kind of circular power bus control method and circular power bus
CN104965745B (en) Air-conditioner system program renewing device and method
CN112598135A (en) Model training processing method and device, computer equipment and medium
CN102437928B (en) Communication method capable of self-adaptively switching between two speeds of CAN (Controller Area Network) bus
CN110161893A (en) The communication means and storage medium of slave device, control system, response data
CN109375543A (en) DVS voltage management device, system and method, storage medium, computer equipment
CN102623728A (en) Application structure of human machine interface in fuel cell system on basis of CAN (Controller Area Network) bus
CN108711427A (en) The acquisition method and device of voice messaging
CN207939202U (en) A kind of flexible power supply system of family based on new energy and mains-supplied
CN206594728U (en) Elevator IC card gate control system
CN206741494U (en) A kind of power-supply controller of electric using bio-identification means
CN202486866U (en) Doctor reserving machine
CN109120143A (en) A kind of method, master controller and system controlling power-on and power-off
CN109752989A (en) The method, apparatus and system of remote support for electric drive device

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