CN107168130A - 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
CN107168130A
CN107168130A CN201710483543.7A CN201710483543A CN107168130A CN 107168130 A CN107168130 A CN 107168130A CN 201710483543 A CN201710483543 A CN 201710483543A CN 107168130 A CN107168130 A CN 107168130A
Authority
CN
China
Prior art keywords
equipment
energy
token
energy consumption
control method
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
CN201710483543.7A
Other languages
Chinese (zh)
Other versions
CN107168130B (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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The present invention provides a kind of circular power bus control method and circular power bus, wherein, method includes, using token is to all access ring bus and opens the equipment of monitor function and is polled;The power consumption demand of energy consumption equipment is detected, statistics current time has the equipment total amount of power consumption demand, and determines the energy supply of each energy consumption equipment sequentially according to equipment total amount and according to default principle of ordering;According to energy supply order, token field information is updated;According to token field information, scheduling powering device is energized to energy consumption equipment.Circular power bus control method and circular power bus that the present invention is provided, 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, and autgmentability is high.

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 bus.
Background technology
Energy bus is a kind of bus arbitration controller for being used to reduce energy expenditure, can be with wind energy, electricity in control system The energy balance that energy is mutually changed 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 by central dispatch system To dispatch, belong to monobus mode, when some equipment is connected failure with central dispatch system, the equipment will be unable to Into energy scheduling, in addition, the existing energy bus based on central dispatch system is all based on hardware, by central dispatch system Contact is set up between equipment to be needed to carry out complicated hardware configuration, and the stationarity of hardware configuration to be difficult between equipment Connection and control function be changed and extend, cost is high and flexibility is low.
The content 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 bus, lead to Cross software interface and realize 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 , autgmentability is high, and when some equipment is connected with energy bus and broken down, token poll backward, and the equipment remains unchanged can Energy scheduling is completed, reliability is higher.
In order to solve the above technical problems, the technical scheme that the present invention is provided is:
On the one hand, the present invention provides a kind of circular power bus control method, including,
Using token is to all access ring bus and opens the equipment of monitor function and is polled, wherein, equipment bag Include powering device and energy consumption equipment;
The power consumption demand of energy consumption equipment is detected, statistics current time has the equipment total amount of power consumption demand, and according to equipment Total amount and the energy supply order that each energy consumption equipment is determined according to default principle of ordering;
According to energy supply order, token field information is updated;
According to token field information, scheduling powering device is energized to energy consumption equipment.
Further, in addition to,
Detect that the power consumption of energy consumption equipment stops demand;
Token field information is updated according to power consumption stopping demand;
Stop energizing energy consumption equipment according to token field message scheduling powering device corresponding with energy consumption equipment.
Further, using token is to all access ring bus and opens the equipment of monitor function and is polled step Before rapid, in addition to,
Equipment to each access ring bus sets determinant attribute.
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 power consumption demand is preferentially energized.
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 identification position is " ^ ";
Information content body is including two digit order numbers, the energy value information required for first digit bit identification equipment, and Dump energy information in the current whole energy system of second digit bit identification.
Further, powering device, including battery, civil power, oil machine, flywheel;
Energy consumption equipment, including server, air-conditioning.
On the other hand, the present invention also provides a kind of circular power bus, including, token ring module, detection module dispatches mould Block;
Token ring module, for using token is to all access ring bus and opens the equipment of monitor function and enters road wheel Ask;
Detection module, the power consumption demand for detecting energy consumption equipment, statistics current time has the equipment of power consumption demand total Amount, and determine the energy supply of each energy consumption equipment sequentially according to equipment total amount and according to default principle of ordering;
Token ring module, is additionally operable to, according to energy supply order, update token field information;
Scheduler module, for according to token field information, scheduling powering device to be energized to energy consumption equipment.
Circular power bus control method and circular power bus that the present invention is provided, each equipment is realized 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, and autgmentability is high, and when some When equipment is connected failure with energy bus, token poll backward, the equipment, which remains unchanged, can complete energy scheduling, and reliability is more It is high.
Brief description of the drawings
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 structured flowchart of Fig. 6 circular power buses provided in an embodiment of the present invention;.
Embodiment
The present invention is further illustrated below by specific embodiment, it should be understood, however, that, these embodiments are only It is used for specifically describing in more detail, and is not to be construed as limiting the present invention in any form.
Embodiment one
The circular power bus control method provided with reference to Fig. 1, the present embodiment, including,
Step S1:Using token is to all access ring bus and opens the equipment of monitor function and is polled, wherein, Equipment includes powering device and energy consumption equipment;
Step S2:The power consumption demand of energy consumption equipment is detected, statistics current time has the equipment total amount of power consumption demand, and root The energy supply order of each energy consumption equipment is determined according to equipment total amount and according to default principle of ordering;
Step S3:According to energy supply order, token field information is updated;
Step S4:According to token field information, scheduling powering device is energized to energy consumption equipment.
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 is reciprocity, and autgmentability is high, and when some equipment and energy When measuring bus connection and breaking down, token poll backward, the equipment, which remains unchanged, can complete energy scheduling, and reliability is higher.
Preferably, as illustrated in fig. 2, in addition to,
Step S5:Detect that the power consumption of energy consumption equipment stops demand;
Step S6:Token field information is updated according to power 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, now, energy bus will control powering device corresponding with the energy consumption equipment to stop energizing the energy consumption equipment.
It is further preferred that using token is to all access ring bus and opens the equipment of monitor function and enters road wheel Before inquiry step, in addition to, the equipment to each access ring bus sets determinant attribute.
Specifically, the determinant attribute of each equipment, including device attribute and energy value, wherein, the equipment category of powering device Property be "+", and energy consumption equipment device attribute be "-".More specifically, the expression of powering device and energy consumption equipment in systems As shown in Figure 3 and Figure 4, in Fig. 3, "+10 " represent powering device to mode, and the available energy value of the powering device is 10, E1 For the numbering of the powering device;And in Fig. 4, " -10 " represent energy consumption equipment, and the energy value that the energy consumption equipment need to be consumed is 10, L1 is the numbering of the energy consumption equipment.
It is further preferred that principle of ordering is, the energy consumption equipment smaller to power consumption demand is preferentially energized.In the present embodiment, When there are multiple loads (energy consumption equipment) to need work simultaneously, the minimum value for going out an energy is just decided by vote using principle of ordering, and First start the corresponding energy consumption equipment of minimum value.For example, have three energy consumption equipments that there is power consumption demand, and respectively L1, L2 simultaneously, L3, and L1 energy value be 10, L2 energy value be 20, L3 energy value be 30, then first start the minimum L1 of energy value, then open The L2 that kinetic energy value 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, gone forward equipment is articulated in into ring bus, each equipment has configured common software interface, and by the software interface, Device-readable energy bus information, write energy bus information and control itself energy export 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 () { }, be worth for it is negative when, for opening energy input switch, be worth for timing, for closing Energy input is switched;
(4) closeInterface () { }, // be worth for it is negative when, for closing energy output switch, be 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 is connected failure with energy bus, token poll backward, the equipment, which remains unchanged, to be completed Energy is dispatched, and reliability is higher.
It is further preferred that token field information, which includes initial character, recognizes position and information content body;Initial character identification position is “^”;Information content body is including two digit order numbers, the energy value information required for first digit bit identification equipment, and second Dump energy information in the individual current whole energy system of digit order number mark.Specifically, for example, for token field information " ^- 10-10 ", " ^ " represents that the information is token information, and first " -10 " represent that certain energy consumption equipment needs unlatching, and open the equipment Required energy value is 10, and second " -10 " represent to have not been met residual energy value in unlocking condition, and present energy system For -10, i.e. energy value also poor 10.
It should be noted that it is a preferred scheme of the present embodiment that initial character identification position, which is " ^ ", and initial character recognizes 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, civil power, oil machine, flywheel;Energy consumption equipment, including but It is not limited to server, air-conditioning.The method of the present embodiment is applied to 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 of the present embodiment to powering device and energy consumption equipment 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 is provided.
As illustrated in fig. 5, multiple equipment is articulated in using general-purpose interface in circular power bus, wherein, it is 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 are required for work, and L1, L2, L3 will decide by vote One minimum 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, it is " ^-10-10 " just to update token field information, and calls writeInterface Interface writes back bus.When token passes through E1, E1, which calls readInterface to get equipment, needs energy, then just adjusts Energy output switch is closed with closeInterface, and updates token field information for " ^-10+0 ", and is called WriteInterface interfaces write 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, openInerface is called, open energy input switch.
(2) when token passes through L2, it is " ^-20-20 " just to update token field information, and writes back bus.When token passes through During E2, it is " ^ is -20-10 " to update token field information;During by E3, it is " ^-20+0 " to update token field information;Work as token When again passing by L2, L2 is judged as current energy value and met from token information, then, and energy output is opened immediately, is called OpenInerface, opens energy input switch.
(3) when token passes through L3, it is " ^-30-30 " just to update token field information, and writes back bus;When token passes through During E4, it is " ^-30-20 " to update token field information;During by E5, it is " ^-30-10 " to update token field information, by E6 When, it is " ^-30+0 " to update token field information;When token again passes by L3, L3 is judged as present energy from token information Value has been met, then, and energy output is opened immediately, openInerface is called, and opens energy input switch.
In addition, in the present embodiment, L1 is turned off if desired, when token passes through L1, it is " ^+ just to update token field information 10+10 ", and call writeInterface interfaces to write back bus;When token passes through E1, E1 calls readInterface to obtain Having got equipment needs to release energy, and then just calls closeInterface to open energy output switch, updates token field Information is " ^+10+0 ", and calls writeInterface interfaces to write back bus;When token again passes by L1, L1 believes from token Breath, is judged as current energy value and has balanced, then, and energy output is closed immediately, openInerface is called, energy is closed defeated Enter switch.Finally, system is balanced again.
Embodiment three
With reference to 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 using token to it is all access ring bus and open monitor function equipment carry out Poll;
Detection module 2, the power consumption demand for detecting energy consumption equipment, statistics current time has the equipment of power consumption demand total Amount, and determine the energy supply of each energy consumption equipment sequentially according to equipment total amount and according to default principle of ordering;
Token ring module 1, is additionally operable to, according to energy supply order, update token field information;
Scheduler module 3, for according to token field information, scheduling powering device to be energized to energy consumption equipment.
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, and autgmentability is high, and when some equipment connects with energy bus When connecing failure, token poll backward, the equipment, which remains unchanged, can complete energy scheduling, and reliability is higher.
Although present invention has been a certain degree of description, it will be apparent that, do not departing from the spirit and scope of the present invention Under the conditions of, the appropriate change of each condition can be carried out.It is appreciated that the invention is not restricted to the embodiment, and it is attributed to right It is required that scope, it includes the equivalent substitution of each factor.

Claims (10)

1. a kind of circular power bus control method, it is characterised in that including:
Using token is to all access ring bus and opens the equipment of monitor function and is polled, wherein, the equipment bag Include powering device and energy consumption equipment;
The power consumption demand of energy consumption equipment is detected, statistics current time has the equipment total amount of power consumption demand, and according to the equipment Total amount and the energy supply order that each energy consumption equipment is determined according to default principle of ordering;
According to energy supply order, token field information is updated;
According to token field information, scheduling powering device is energized to energy consumption equipment.
2. circular power bus control method according to claim 1, it is characterised in that also include,
Detect that the power consumption of energy consumption equipment stops demand;
Token field information is updated according to the power 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, it is characterised in that in the utilization token to all Access ring bus and open the equipment of monitor function and be polled before step, in addition to,
Equipment to each access ring bus sets determinant attribute.
4. circular power bus control method according to claim 3, it is characterised in that the crucial category of each equipment 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, it is characterised in that
The principle of ordering is that the energy consumption equipment smaller to power consumption demand is preferentially energized.
6. circular power bus control method according to claim 1, it is characterised 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, it is characterised in that the side that the token is polled To including forward and backward.
8. circular power bus control method according to claim 1, it is characterised in that the token field information includes Initial character recognizes position and information content body;
The initial character identification position is " ^ ";
Described information endomorph is including two digit order numbers, the energy value information required for first digit bit identification equipment, and Dump energy information in the current whole energy system of second digit bit identification.
9. circular power bus control method according to claim 1, it is characterised in that
The powering device, including battery, civil power, oil machine, flywheel;
The energy consumption equipment, including server, air-conditioning.
10. a kind of circular power bus, it is characterised in that including token ring module, detection module, scheduler module;
The token ring module, for using token is to all access ring bus and opens the equipment of monitor function and enters road wheel Ask;
The detection module, the power consumption demand for detecting energy consumption equipment, statistics current time has the equipment of power consumption demand total Amount, and determine the energy supply of each energy consumption equipment sequentially according to the equipment total amount and according to default principle of ordering;
The token ring module, is additionally operable to, according to energy supply order, update token field information;
The scheduler module, for according to token field information, scheduling powering device to be energized to energy consumption equipment.
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 true CN107168130A (en) 2017-09-15
CN107168130B 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)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064741A (en) * 2012-12-24 2013-04-24 浙江工业大学 Energy-model-based divisible load scheduling method
CN202975724U (en) * 2012-09-18 2013-06-05 苏州惠天节能科技有限公司 Energy control system using technology of Internet of Things
CN103430425A (en) * 2011-01-24 2013-12-04 再生能源股份有限公司 Method and apparatus for managing energy consuming load
CN106483876A (en) * 2015-09-02 2017-03-08 李涛 A kind of energy scheduling architecture of new forms of energy data center

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103430425A (en) * 2011-01-24 2013-12-04 再生能源股份有限公司 Method and apparatus for managing energy consuming load
CN202975724U (en) * 2012-09-18 2013-06-05 苏州惠天节能科技有限公司 Energy control system using technology of Internet of Things
CN103064741A (en) * 2012-12-24 2013-04-24 浙江工业大学 Energy-model-based divisible load scheduling method
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
CN107168130B (en) 2019-04-19

Similar Documents

Publication Publication Date Title
US10776584B2 (en) Typifying emotional indicators for digital messaging
CN109067597A (en) A kind of distributed system dynamic and intelligent service administering method
CN107018089A (en) The operating method of communication node in network
CN107226049B (en) Vehicle software distribution system
CN205564253U (en) First full -color LED display control card of door and first full -color LED display screen system of door
CN104345869B (en) Secure digital input/output unit, system and its control method
CN201181474Y (en) Apparatus for managing advanced telecommunication computer skeleton single plate with multi-processor unit
CN109391282A (en) The information display method and device of a kind of wearable device and wearable device
CN105892629A (en) Multicore-based screen awakening method and device as well as mobile terminal
US10620687B2 (en) Hybrid power management approach
CN108092784A (en) A kind of method, terminal and computer-readable medium for creating group
CN103809979B (en) A kind of interactive software module integrated system and its implementation
CN108806679A (en) voice awakening method and device
CN105590436A (en) Point-to-point meter reading method
CN203118070U (en) Fingerprint attendance system with printing function
CN107168130A (en) A kind of circular power bus control method and circular power bus
CN109683470A (en) A kind of software and hardware self-adaptive matching method, device and driving device
CN104965745B (en) Air-conditioner system program renewing device and method
CN112598135A (en) Model training processing method and device, computer equipment and medium
CN107479900A (en) A kind of hot plug software scenario suitable for real time operating system
CN102623728A (en) Application structure of human machine interface in fuel cell system on basis of CAN (Controller Area Network) bus
CN102013993A (en) Physical topology use management method and system
CN202523798U (en) Application structure of CAN (Controller Area Network) bus-based human-computer interface to fuel cell system
CN208172840U (en) Equipment management system and warehouse management system
CN107702299A (en) Digital quantity interface peripherals and its circuit and air-conditioner control system

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