CN114995205B - Equipment start and stop control method and device, computer equipment and storage medium - Google Patents

Equipment start and stop control method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114995205B
CN114995205B CN202210919690.5A CN202210919690A CN114995205B CN 114995205 B CN114995205 B CN 114995205B CN 202210919690 A CN202210919690 A CN 202210919690A CN 114995205 B CN114995205 B CN 114995205B
Authority
CN
China
Prior art keywords
equipment
priority
register
available
controlled
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
CN202210919690.5A
Other languages
Chinese (zh)
Other versions
CN114995205A (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.)
Peak and Frequency Regulation Power Generation Co of China Southern Power Grid Co Ltd
Original Assignee
Peak and Frequency Regulation Power Generation Co of China Southern Power Grid 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 Peak and Frequency Regulation Power Generation Co of China Southern Power Grid Co Ltd filed Critical Peak and Frequency Regulation Power Generation Co of China Southern Power Grid Co Ltd
Priority to CN202210919690.5A priority Critical patent/CN114995205B/en
Publication of CN114995205A publication Critical patent/CN114995205A/en
Application granted granted Critical
Publication of CN114995205B publication Critical patent/CN114995205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application relates to a method and a device for controlling starting and stopping of equipment, computer equipment and a storage medium. The method comprises the following steps: configuring a first register, a second register, a third register and a fourth register according to a control mode, the number, the available state and a control command of equipment to be controlled; determining the priority identifier of the equipment to be controlled according to the available state identifier in the second register and the priority series information in the fourth register, and updating the first register according to the priority identifier to obtain an updated first register; determining actual priority information of the equipment to be controlled according to the updated priority identifier in the first register and the available state identifier in the second register, and updating the third register according to the actual priority information to obtain an updated third register; and performing start-stop control on the equipment to be controlled according to the updated third register. By adopting the method, the complexity of starting and stopping control of the equipment can be reduced.

Description

Equipment start and stop control method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of electrical equipment technologies, and in particular, to a method and an apparatus for controlling start and stop of an apparatus, a computer apparatus, and a storage medium.
Background
In industrial production represented by a large power plant, a control system often needs to externally apply work through a control device to realize pressure maintenance, liquid level maintenance and the like of the system. In consideration of economy and reliability, the control system usually needs to control a plurality of devices to start and stop in the process of realizing pressure maintenance or liquid level maintenance.
Taking the pressure maintaining control process of the medium-pressure system of the power plant as an example, the pressure of a balance gas tank is maintained by four air compressors, and when a first-level low-pressure signal of the pressure of the balance gas tank is received, the air compressor with the priority of 1 is started; when a secondary low-pressure signal for balancing the pressure of the air tank is received, starting an air compressor with the priority of 2; when a three-level low-pressure signal for balancing the pressure of the air tank is received, starting an air compressor with the priority of 3; when receiving the balanced gas pitcher pressure level four low pressure signal, start the air compressor machine that the priority is 4, in the same way, when the signal that the relevant pressure is low is replied, stop the air compressor machine in proper order.
Taking a power plant leakage drainage system as an example, four leakage drainage pumps are arranged in one water collection well to maintain the water level of the water collection well, and when a signal that the water level of the water collection well is higher by one level is received, the leakage drainage pump with the priority level of 1 is started; when a secondary signal that the water level of the water collecting well is high is received, starting a leakage draining pump with the priority of 2; when a three-level signal that the water level of the water collecting well is high is received, starting a seepage drainage pump with the priority of 3; and when receiving a water level four-level signal of the water collecting well, starting the leakage draining pump with the priority of 4, and in the same way, when the related water level four-level signal is reset, stopping the leakage draining pump in sequence.
In conventional methods, the start-stop logic is typically customized by the equipment manufacturer according to a specific scenario. However, in actual industrial production, when the number of devices participating in start-up and shut-down increases, the control logic design of the control system is complex, and errors are easily generated by adopting a traditional customization method, so that control logic disorder is caused, and further, potential hazards are brought to safe production.
Therefore, the existing equipment start-stop control technology has the problem of high complexity.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a device start-stop control method, apparatus, computer device, computer readable storage medium and computer program product capable of reducing complexity.
In a first aspect, the application provides a device start-stop control method. The method comprises the following steps:
configuring a first register, a second register, a third register and a fourth register according to a control mode, the number of devices to be controlled, an available state and a control command of the devices to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing the priority identifier, the available state identifier, the actual priority information and the priority series information of the equipment to be controlled;
determining the priority identifier of the equipment to be controlled according to the available state identifier in the second register and the priority series information in the fourth register, and updating the first register according to the priority identifier to obtain an updated first register;
determining actual priority information of the equipment to be controlled according to the updated priority identifier in the first register and the available state identifier in the second register, and updating the third register according to the actual priority information to obtain an updated third register;
and performing start-stop control on the equipment to be controlled according to the updated third register.
In one embodiment, the determining the priority identifier of the device to be controlled according to the available status identifier in the second register and the priority series information in the fourth register includes:
according to the priority series information in the fourth register, selecting priority starting equipment from the equipment to be controlled;
determining the available state of the priority starting equipment according to the available state identifier in the second register;
under the condition that the available state of the priority starting equipment is matched with a preset state, determining the priority identification of the priority starting equipment as a first priority identification, and determining the priority identifications of other equipment as a second priority identification; the other equipment is equipment except the priority starting equipment in the equipment to be controlled;
and combining the first priority identifier and the second priority identifier to obtain the priority identifier of the equipment to be controlled.
In one embodiment, the determining the actual priority information of the device to be controlled according to the updated priority identifier in the first register and the updated available status identifier in the second register includes:
determining available equipment and unavailable equipment in the equipment to be controlled according to the available state identification in the second register;
determining a priority starting device and a non-priority starting device in the available devices according to the updated priority identifier in the first register;
using the available state identifier corresponding to the priority starting equipment as the actual priority information of the priority starting equipment;
and accumulating the available state identifiers of the priority starting equipment and the non-priority starting equipment to obtain the actual priority information of the non-priority starting equipment.
In one embodiment, the performing start-stop control on the device to be controlled according to the updated third register includes:
determining available equipment and the actual priority of the available equipment according to the updated actual priority information in the third register; the available device and the actual priority of the available device both correspond to the non-zero bit in the updated third register;
and performing start-stop control on the available equipment according to the actual priority of the available equipment.
In one embodiment, the performing start-stop control on the available device according to the actual priority of the available device includes:
selecting a target actual priority matched with the signal level of the sensor from the actual priorities of the available devices;
determining target available equipment corresponding to the target actual priority;
controlling the target available equipment to be started under the condition that the target available equipment meets a first preset condition; the first preset condition is that the target available device is in a shutdown state, the target available device is available, and the target available device automatic start-up function is started.
In one embodiment, the performing start-stop control on the available device according to the actual priority of the available device further includes:
under the condition that the target available equipment meets a second preset condition, controlling the target available equipment to stop; the second preset condition is that the target available equipment is in a running state and receives a preset signal; the preset signal comprises at least one of a work-free signal and a control system fault signal.
In one embodiment, the method further comprises:
under the condition that the equipment to be controlled meets a third preset condition, judging that the equipment to be controlled is available; the third preset condition is that the equipment to be controlled has no comprehensive fault, the equipment to be controlled has no power supply fault, the equipment to be controlled has no control power supply fault, and the control right of the equipment to be controlled is far away.
In a second aspect, the application further provides a device start-stop control device. The device comprises:
the register module is used for configuring a first register, a second register, a third register and a fourth register according to the control mode, the number, the available state and the control command of the equipment to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing the priority identifier, the available state identifier, the actual priority information and the priority series information of the equipment to be controlled;
a first updating module, configured to determine a priority identifier of the device to be controlled according to the available state identifier in the second register and the priority series information in the fourth register, and update the first register according to the priority identifier to obtain an updated first register;
a second updating module, configured to determine actual priority information of the device to be controlled according to the updated priority identifier in the first register and the available state identifier in the second register, and update the third register according to the actual priority information to obtain an updated third register;
and the equipment control module is used for carrying out start-stop control on the equipment to be controlled according to the updated third register.
In a third aspect, the application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
configuring a first register, a second register, a third register and a fourth register according to a control mode, the number of devices to be controlled, an available state and a control command of the devices to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing the priority identifier, the available state identifier, the actual priority information and the priority series information of the equipment to be controlled;
determining the priority identifier of the equipment to be controlled according to the available state identifier in the second register and the priority series information in the fourth register, and updating the first register according to the priority identifier to obtain an updated first register;
determining actual priority information of the equipment to be controlled according to the updated priority identifier in the first register and the available state identifier in the second register, and updating the third register according to the actual priority information to obtain an updated third register;
and performing start-stop control on the equipment to be controlled according to the updated third register.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
configuring a first register, a second register, a third register and a fourth register according to a control mode, the number of devices to be controlled, an available state and a control command of the devices to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing a priority identifier, an available state identifier, actual priority information and priority series information of the equipment to be controlled;
determining the priority identifier of the equipment to be controlled according to the available state identifier in the second register and the priority series information in the fourth register, and updating the first register according to the priority identifier to obtain an updated first register;
determining actual priority information of the equipment to be controlled according to the updated priority identifier in the first register and the available state identifier in the second register, and updating the third register according to the actual priority information to obtain an updated third register;
and performing start-stop control on the equipment to be controlled according to the updated third register.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
configuring a first register, a second register, a third register and a fourth register according to a control mode, the number of devices to be controlled, an available state and a control command of the devices to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing a priority identifier, an available state identifier, actual priority information and priority series information of the equipment to be controlled;
determining the priority identifier of the equipment to be controlled according to the available state identifier in the second register and the priority series information in the fourth register, and updating the first register according to the priority identifier to obtain an updated first register;
determining actual priority information of the equipment to be controlled according to the updated priority identifier in the first register and the available state identifier in the second register, and updating the third register according to the actual priority information to obtain an updated third register;
and performing start-stop control on the equipment to be controlled according to the updated third register.
The method, the device, the computer device, the storage medium and the computer program product for controlling the start and stop of the equipment to be controlled are characterized in that a first register, a second register, a third register and a fourth register are configured according to a control mode, the number of the equipment to be controlled, an available state and a control command of the equipment to be controlled, a priority identifier of the equipment to be controlled is determined according to an available state identifier in the second register and priority series information in the fourth register, the first register is updated according to the priority identifier to obtain an updated first register, actual priority information of the equipment to be controlled is determined according to the updated priority identifier in the first register and the available state identifier in the second register, the third register is updated according to the actual priority information to obtain an updated third register, and finally the equipment to be controlled is controlled to start and stop according to the updated third register; the first register, the second register, the third register and the fourth register can be used for storing the priority identifier, the available state identifier, the actual priority information and the priority series information of the device to be controlled, the actual priority of the device to be controlled is automatically obtained by using the priority identifier, the available state identifier and the priority series information stored in the registers, the start and the stop of the device to be controlled are automatically controlled according to the actual priority, and the complexity of the start and stop control of the device is reduced.
Drawings
FIG. 1 is an application environment diagram of a device start-stop control method according to an embodiment;
FIG. 2 is a schematic flow chart of a device start-stop control method according to an embodiment;
FIG. 3 is a flow chart illustrating a device start-stop priority control method for an automatic control system according to an embodiment;
FIG. 4 is a schematic diagram of an embodiment of an solar storage medium pressure air compressor system control logic;
FIG. 5 is a block diagram of an apparatus start-stop control apparatus according to an embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The device start-stop control method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. The device start/stop controller 102 is connected to the device 104 to be controlled via a wired or wireless communication link. The device start-stop controller 102 may be a terminal or a server, wherein the terminal may be but is not limited to various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart car-mounted devices, and the like. The portable wearable device can be a smart watch, a smart bracelet, a head-mounted device and the like, and the server can be realized by an independent server or a server cluster formed by a plurality of servers. The device to be controlled 104 may be, but is not limited to, a work-doing device such as an oil pump, an air compressor, a leakage draining pump, and the like.
In one embodiment, as shown in fig. 2, a method for controlling start and stop of a device is provided, which is described by taking the method as an example applied to the device start and stop controller in fig. 1, and includes the following steps:
step S210, configuring a first register, a second register, a third register and a fourth register according to the control mode, the number of devices to be controlled, the available state and the control command of the devices to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing the priority identification, the available state identification, the actual priority information and the priority series information of the equipment to be controlled.
The control mode may be a mode for controlling the device to be controlled, and may include a manual setting priority mode and a cyclic switching priority mode.
The number of the devices can be the number of the devices to be controlled, and can beN maxN max ∈Z *
The available state may be a system number ID of an available device to be controlled.
The control command may be information sent by the control system, the information is generated by the control system according to the signal detected by the sensor and the control logic, and the information may specifically be that the starting priority isiOr a shutdown priority ofiIn whichi<N maxi∈Z *
In specific implementation, the device start-stop controller can acquire information of the control mode, the number of devices, the available state of the devices and the control command from the control system, and set four registers according to the information of the control mode, the number of devices, the available state of the devices and the control commandUVW、ARespectively for storing device priority identification, device availability identification, actual priority information and priority series information. Wherein, four registersUVW、AThe setting may be made according to the following rules:
1. for is toN max The station controlled apparatus being numbered, i.e. apparatusj∈[1, N max ],j∈Z *
2. Set three 1 inN max Is a register ofUVWThe first of three registersjThe bits represent the numbersjIn a device (2)jRegister, and method for controlling the sameUFor storage device priority identification, registersVFor storage device availability identification, registerWFor storing the actual priority;
3. devicejWhen available and automatic linked start-up is put intoVCorresponding positionV j Assigned value of 1, devicejRegisters when unavailable or automatically linked boot exitsVCorresponding positionV j The value is assigned to 0;
4. register with a plurality of registersUThe sum of the values at each position is constant to 1, i.e.U j ∈[0, 1],U j ∈Z,
Figure 187959DEST_PATH_IMAGE002
5. DevicejPriority series of devices when starting up a device for first priorityA=[jj+1、……、N max 、1、……、j-1],j∈Z *
Step S220, determining the priority identifier of the device to be controlled according to the available status identifier in the second register and the priority series information in the fourth register, and updating the first register according to the priority identifier to obtain the updated first register.
In a specific implementation, the second register may be enabled initiallyVIs =0, i.e.V j =0,j∈[1, N max ]And make the first registerUIs assigned asU 1 =1,U j =0,j∈[2, N max ]. It is also possible to select from a second registerVObtain device availability identification from the fourth registerAThe priority series is obtained, and the equipment priority identification is determined according to the equipment availability identification and the priority series. In particular, when based on the device priority seriesA=[jj+1、……、N max 、1、……、j-1],j∈Z * Determining the devicejWhen the equipment is started for the first priority, if the equipment is started for the first priorityjAvailability identification ofV j =1, then the first register may be replacedU1 is shifted toU A(1) I.e. byU A(1) =U j =1, otherwise, if the devicejAvailability identification ofV j =0, then the first register may be replacedUMiddle 1 mobile to device priority seriesANext bit of (2)I.e. byA k(1+)k∈[1, N max -1],k∈Z * Up to whenV A k(1+) When =1, move 1 toU A k(1+) I.e. byU A k(1+) =1。
For example, in the case where the number of device is 4, the first register is setUInitial values of [1, 0%]The second register initial value is set according to the available state of the equipment, the priority series of the equipmentA=[2、3、4、1]Determining that the device 2 is the first priority initiator device if the availability indicator of the device 2 indicatesV 2 =1, device 2 is available, the register may be replacedU1 is shifted toU A(1) I.e. byU 2 =1, otherwise, if availability of device 2 identifiesV 2 =0, device 2 is not available, device 3 may be determined as the first priority initiator device, i.e. as the first priority initiator deviceU 3 =1, ifV 3 =1, device 3 is available, the register may be replacedU1 is shifted toU A(2) I.e. byU 3 =1, otherwise, ifV 3 =0, device 3 is not available, device 4 may continue to be determined as the first priority initiator device, and the above method may be repeated until the determined first priority initiator device is available.
Step S230, determining the actual priority information of the device to be controlled according to the updated priority identifier in the first register and the available status identifier in the second register, and updating the third register according to the actual priority information to obtain an updated third register.
In a specific implementation, the third register may be used initiallyWIs =0, i.e.W j =0,j∈[1, N max ]From the updated first registerUObtain the device priority identification from the second registerVObtain the device availability identifier whenU j When =1, the device to be controlledjIs equal to the device availability identification, i.e. the actual priority ofW A(1) =W j =V j Other stand byThe actual priority of the controlling device being the accumulation of the device availability indications, i.e.
Figure 525399DEST_PATH_IMAGE004
For example, in the case where the number of devices is 4, a register after updateU=[0、1、0、0]Second registerV=[0、1、1、1]The third registerWThe initial value is [0, 0 ]]The fourth registerA=[2、3、4、1]Actual priority of device 1, since device 1 is not availableW 1 =0, due toU 2 =1, then the actual priority of device 2W A(1) =W 2 =V 2 =1, the device availability identities are accumulated to obtain the actual priority of the device 3W A(2) =W 3 =V 2 +V 3 =2, actual priority of the device 4W A(3) =W 4 =V 2 +V 3 +V 4 =3, update third register, may result inW=[0、1、2、3]。
And S240, performing start-stop control on the equipment to be controlled according to the updated third register.
In a specific implementation, a non-zero position can be searched in the updated third register, the actual priority of the non-zero position is an available priority, and start-stop control is performed on corresponding equipment according to the available priority.
The equipment start-stop control method comprises the steps of configuring a first register, a second register, a third register and a fourth register according to a control mode, the number, the available state and a control command of equipment to be controlled, determining a priority identifier of the equipment to be controlled according to an available state identifier in the second register and priority series information in the fourth register, updating the first register according to the priority identifier to obtain an updated first register, determining actual priority information of the equipment to be controlled according to the updated priority identifier in the first register and the available state identifier in the second register, updating the third register according to the actual priority information to obtain an updated third register, and finally performing start-stop control on the equipment to be controlled according to the updated third register; the first register, the second register, the third register and the fourth register can be used for storing the priority identifier, the available state identifier, the actual priority information and the priority series information of the device to be controlled, the actual priority of the device to be controlled is automatically obtained by using the priority identifier, the available state identifier and the priority series information stored in the registers, the start and the stop of the device to be controlled are automatically controlled according to the actual priority, and the complexity of the start and stop control of the device is reduced.
In an embodiment, the step S220 may specifically include: selecting priority starting equipment from the equipment to be controlled according to the priority series information in the fourth register; determining the available state of the prior starting equipment according to the available state identifier in the second register; under the condition that the available state of the priority starting equipment is matched with the preset state, determining the priority token identification of the priority starting equipment as a first priority token, and determining the priority token identifications of other equipment as a second priority token; the other equipment is equipment except the equipment which is preferentially started in the equipment to be controlled; and combining the first priority identifier and the second priority identifier to obtain the priority identifier of the equipment to be controlled.
The preset state may be a state in which the priority boot device is available.
In a specific implementation, the fourth register may be usedASelecting a priority starting device from all devices to be controlled according to the sequence of the priority series arrangement, and acquiring the priority starting device in a second registerVIf the available state identifier is available, the priority token identifier of the priority starting device can be determined as 1, the priority token identifiers of other devices can be determined as 0, the priority tokens are connected according to the number of the device to be controlled, and the priority identifiers of all the devices to be controlled can be obtained.
For example, if the fourth registerA=[2、3、4、1]Then the device 2 is a priority boot device, if it isTwo registersV=[0、1、1、1]If the available status flag of the device 2 is 1, it indicates that the device 2 is available, and if the device 2 is available, the priority token flag thereof may be determined as 1, and the priority tokens of the other devices 1, 3, and 4 may be determined as 0, and the priority tokens are connected according to the device numbers, so as to obtain that the priority tokens of the devices 1, 2, 3, and 4 to be controlled are 0, 1, 0, and 0 in sequence. Thus, the first register may be subsequently updated toU=[0、1、0、0]。
In this embodiment, the priority starting device is selected from the devices to be controlled according to the priority series information in the fourth register; determining the available state of the priority starting equipment according to the available state identifier in the second register; under the condition that the available state of the priority starting equipment is matched with the preset state, determining the priority token identification of the priority starting equipment as a first priority token, and determining the priority token identifications of other equipment as a second priority token; the first priority mark and the second priority mark are combined to obtain the priority mark of the equipment to be controlled, the priority mark of the equipment to be controlled can be automatically obtained according to the data stored in the register, the automatic control of starting and stopping of the equipment is simply and efficiently carried out, and reliable technical support is provided for safe production.
In an embodiment, the step S230 may specifically include: determining available equipment and unavailable equipment in the equipment to be controlled according to the available state identification in the second register; determining priority starting equipment and non-priority starting equipment in the available equipment according to the updated priority identification in the first register; using the available state identifier corresponding to the priority starting equipment as the actual priority information of the priority starting equipment; and accumulating the available state identifiers of the priority starting equipment and the non-priority starting equipment to obtain the actual priority information of the non-priority starting equipment.
Wherein the available device may be a device capable of being used. The unavailable device may be an unavailable device.
In particular implementations, the second register may be implementedVThe device with medium availability flag of 0 is determined as unavailable device, availability flagA device of 1 is determined to be a usable device; the updated first register may also be usedUThe available device with the medium priority identifier 1 is determined as a priority starting device, the available device with the priority identifier 0 is determined as a non-priority starting device, for the priority starting device, the actual priority can be equal to the device availability identifier, for the non-priority starting device, the actual priority can be the accumulation of the availability identifier of the priority starting device and the availability identifier of the non-priority starting device, the actual priorities are connected according to the number of the devices to be controlled, and the actual priorities of all the devices to be controlled can be obtained.
For example, if the second registerV=[0、1、1、1]Then device 1 is an unavailable device and devices 2, 3, 4 are available devices, the updated first registerU=[0、1、0、0]Then device 2 of the available devices is a priority initiator device and devices 3, 4 are non-priority initiator devices. For a priority-enabled device, the actual priority may be equal to the device availability identification, i.e. for device 2, there isW 2 =V 2 =1; for non-priority enabled devices, the actual priority may be the accumulation of device availability indications, i.e. for device 3, there isW 3 =V 2 +V 3 =2 for device 4, there areW 4 =V 2 +V 3 +V 4 =3, actual priority of device not available by default is 0, i.e. for device 1, there isW 1 And =0. Thus, the fourth register may be subsequently updated toW=[0、1、2、3]。
In this embodiment, the available device and the unavailable device in the device to be controlled are determined according to the available state identifier in the second register; determining priority starting equipment and non-priority starting equipment in the available equipment according to the updated priority identification in the first register; using the available state identifier corresponding to the prior starting equipment as the actual priority information of the prior starting equipment; the available state identifiers of the priority starting equipment and the non-priority starting equipment are accumulated to obtain the actual priority information of the non-priority starting equipment, the actual priority of the equipment to be controlled can be automatically obtained according to the data stored in the register, the automatic control of starting and stopping of the equipment is simply and efficiently carried out, and reliable technical support is provided for safe production.
In an embodiment, the step S240 may specifically include: determining available equipment and the actual priority of the available equipment according to the updated actual priority information in the third register; the available equipment and the actual priority of the available equipment correspond to the non-zero bit in the updated third register; and performing start-stop control on the available equipment according to the actual priority of the available equipment.
In a specific implementation, the third register may be updatedWAnd searching for a nonzero position, determining the equipment corresponding to the nonzero position as available equipment, determining the actual priority corresponding to the nonzero position as the actual priority of the available equipment, and controlling the start and stop of the available equipment according to the actual priority of the available equipment.
E.g. updated third registerW=[0、1、2、3]If the non-zero positions are 1, 2 and 3, and the corresponding devices 2, 3 and 4 are available devices, the actual priorities of the available devices are 1, 2 and 3, respectively, and the start-stop control sequence of the devices is device 2, device 3 and device 4.
In this embodiment, the available device and the actual priority of the available device are determined according to the updated actual priority information in the third register, the start-stop control is performed on the available device according to the actual priority of the available device, the start-stop control can be performed on the device simply and efficiently through the data stored in the register, and the complexity of device control is reduced.
In an embodiment, the step of performing start-stop control on the available device according to the actual priority of the available device may specifically include: selecting a target actual priority matched with the signal level of the sensor from the actual priorities of the available devices; determining target available equipment corresponding to the target actual priority; controlling the target available equipment to be started under the condition that the target available equipment meets a first preset condition; the first preset condition is that the target available equipment is in a shutdown state, the target available equipment is available, and the automatic starting function of the target available equipment is started.
In the specific implementation, the actual priority of the available equipment matched with the signal level of the sensor can be selected from the actual priorities of the available equipment to serve as the actual priority of the target, the equipment corresponding to the actual priority of the target is obtained to serve as the available equipment of the target, if the available equipment of the target is in a shutdown state, is available and has an automatic start-up function started, the available equipment of the target can be controlled to be started, otherwise, if the available equipment of the target does not meet any condition of the shutdown state, the available equipment and the automatic start-up function started, the available equipment of the target is not started.
E.g. based on updated third registerW=[0、1、2、3]If the equipment 2 is in a shutdown state, is available and the automatic starting function is started, the equipment 2 can be controlled to be started, otherwise, the equipment is not started.
In the embodiment, the target actual priority matched with the signal level of the sensor is selected from the actual priorities of the available devices; determining target available equipment corresponding to the target actual priority; under the condition that the target available equipment meets the first preset condition, the target available equipment is controlled to be started, the equipment can be automatically controlled to be started according to the conditions of the sensor grade, the equipment condition and the like, and the accuracy of the equipment starting control is improved.
In an embodiment, the step of performing start-stop control on the available device according to the actual priority of the available device may specifically include: under the condition that the target available equipment meets a second preset condition, controlling the target available equipment to stop; the second preset condition is that the target available equipment is in an operating state and receives a preset signal; the preset signal comprises at least one of a work-free signal and a control system fault signal.
In specific implementation, if the target available device is in an operating state and receives any one of a work-doing-unnecessary signal and a control system fault signal, the target available device is controlled to stop operating, otherwise, if the target available device in the operating state does not receive the signal, the target available device can continue operating.
In this embodiment, by controlling the target available device to stop when the target available device meets the second preset condition, the device can be controlled to stop running when a specific instruction is received, and the accuracy of device control is improved.
In an embodiment, the device start-stop control method may further include: under the condition that the equipment to be controlled meets a third preset condition, judging that the equipment to be controlled is available; the third preset condition is that the equipment to be controlled has no comprehensive fault, the equipment to be controlled has no power supply fault, the equipment to be controlled has no control power supply fault, and the control right of the equipment to be controlled is far away.
In the specific implementation, before configuring a first register, a second register, a third register and a fourth register according to a control mode, the number of devices, an available state and a control command of a device to be controlled, whether a comprehensive fault, a power supply fault and a control power supply fault exist in the device to be controlled can be detected, the position of a control right of the device to be controlled is determined, if the device to be controlled simultaneously meets the conditions of no comprehensive fault, no power supply fault and no control power supply fault and the control right is in a remote position, the device to be controlled is determined to be available, otherwise, if the device to be controlled does not simultaneously meet the conditions of no comprehensive fault, no power supply fault and no control power supply fault and the control right is in the remote position, the device to be controlled is determined to be unavailable.
In this embodiment, by determining that the device to be controlled is available when the device to be controlled meets the third preset condition, the availability of the device can be accurately determined, an accurate device availability identifier is obtained, and the accuracy of start-stop control of the device is further improved.
To facilitate a thorough understanding of the embodiments of the present application by those skilled in the art, the following description will be given with reference to a specific example.
Fig. 3 provides a device start-stop priority control method suitable for an automatic control system, which is described by taking the method as an example applied to a controller, and comprises the following steps:
step S310, obtaining information of control modes, the number of equipment, the available state of the equipment and control commands from a control system;
step S320, setting four registersUVWARespectively storing the device priority, the device availability, the actual priority and the priority series;
step S330, calculating and obtaining the equipment priority according to the equipment availability and the equipment priority and storing the equipment priority in a registerU
Step S340, according to the registerUAvailability of equipment, calculating to obtain actual priority and storing in registerW
Step S350, according to the actual priorityWScaling to obtain device actual priorityY
Step S360, starting the equipment to do work in sequence according to the sensor signals and the actual priority of the equipment;
and step S370, sequentially stopping the equipment after completing the work task according to the sensor signals and the actual priority of the equipment.
The control mode comprises manual setting priority and circular switching priority. The number of the equipment is the number of the equipment which is controlled to start and stopN maxN max ∈Z * . The equipment can be oil pump, air compressor, seepage drain pump etc. do work equipment. The device available status is the system number ID of the available device.
The control command is from the control system, the control command refers to information sent by the control system according to signals detected by the sensor signals and control logic, and the information is specifically the first priority of startingiThe equipment of the station doing work or stopping takes priorityiAn apparatus of the table, whereini<N maxi∈Z *
The step S320 may specifically include:
to pairN max The station controlled apparatus being numbered, i.e. apparatusj∈[1, N max ],j∈Z *
Set three 1 inN max Is a register ofUVWThe first of three registersjBit represents the numberjIn a device (2)jRegister, is a unit of a registerUFor storage device priority, registersVFor storage device availability, registersWFor storing the actual priority;
devicejWhen available and automatic linked start-up is put intoVCorresponding positionV j Assigned value of 1, devicejRegister when unavailable or automatic cascade-start exitsVCorresponding positionV j The value is assigned to 0;
register with a plurality of registersUThe sum of the values at each position is constant to 1, i.e.U j ∈[0, 1],U j ∈Z,
Figure 231187DEST_PATH_IMAGE002
DevicejPriority series of devices when starting up a device for first priorityA=[jj+1、……、N max 、1、……、j-1],j∈Z *
The step S330 may specifically include:
initializing registersVIs =0, i.e.V j =0,j∈[1, N max ]Time, registerUIs assigned asU 1 =1,U j =0,j∈[2, N max ];
When the equipmentjWhen starting up the equipment for the first priority, i.e. series of equipment prioritiesA=[jj+1、……、N max 、1、……、j-1],j∈Z * And is andV j when =1, shift 1 toU A(1) I.e. byU A(1) =U j =1;
When the equipment is usedjWhen starting up a device for first priority, i.e. series of device prioritiesA=[jj+1、……、N max 、1、……、j-1],j∈Z * And is andV j if =0, then continueContinuing to move 1 to the device priority seriesAIs next bit of (i.e. is)A k(1+)k∈[1, N max -1],k∈Z * Up toV A k(1+) If =1, then 1 is moved toU A k(1+) I.e. byU A k(1+) =1。
The step S340 may specifically include:
initialization registerV=0, i.e.V j =0,j∈[1, N max ]Register, is a unit of a registerWIs =0, i.e.W j =0,j∈[1, N max ];
When in useU j =1,W A(1) =W j =V j
Figure 628670DEST_PATH_IMAGE004
The step S350 may specifically include:
fetch registerWSearching for a non-zero position;
register with a plurality of registersWThe meaning of non-zero bits in the device isjIs of device priorityW j
Wherein the device availability consists of the following conditions:
1. the equipment has no fault, namely the comprehensive fault signal of the equipment control cabinet is 0;
2. the power supply of the equipment has no fault, namely the opening and closing position signal of the circuit breaker of the power loop of the equipment is 0;
3. the equipment control power supply has no fault, namely the equipment control cabinet alternating current control power supply disappearance signal is 0 and the equipment control cabinet direct current power supply disappearance signal is 0 and the equipment power loop control power supply normal signal is 1;
4. the control right of the equipment is far away, namely the remote signal of the equipment control cabinet is 1.
The step S360 may be composed of the following conditions:
1. the equipment is in a shutdown state, namely the equipment operation signal is 0;
2. the equipment is available and is not in a maintenance state;
3. the automatic starting function of the equipment is put into use;
4. { sensor first-level signal & device priority 1}
OR { sensorpStage signal&The device priority ispp>1,p∈Z * }
OR { sensor primary signal & receiving manual remote start device command & device automatic start function exit }.
Wherein, the primary signal of the sensor, the sensorpThe level signal can be a sensor signal set by the control system according to the work-doing requirement of starting and stopping the control equipment, the size of the equipment work required by the control system is reflected among different level sensors,pthe larger the amount of work required.
The step S370 may be composed of the following conditions:
1. the device is in operation;
2. the received signal OR of no work required by the equipment controls the system fault signal.
FIG. 4 is a schematic diagram of the control logic for a positive storage medium pressure air compressor system. According to fig. 4, the overall logic may be: the starting priority of the air compressor in the automatic mode can be selected through a public LCU monitoring screen or an upper computer of the whole plant, and 5 kinds of selections are set:
sequence 1: starting air compressors 1-2-3-4 in sequence;
sequence 2: starting air compressors of No. 2-3-4-1 in sequence;
sequence 3: starting air compressors No. 3-4-1-2 in sequence;
sequence 4: starting the No. 4-1-2-3 air compressors in sequence;
sequence 5: circularly switching the sequence 1-4 (the PLC performs shift processing, and the actual priority is displayed on the upper computer);
after the PLC is started, the circular switching is selected by default.
One cycle refers to the lowering of the equilibrium tank pressure from the normal pressure level to a low pressure and the return to the normal pressure level. Each air compressor is provided with an automatic starting function and a function of starting or quitting. When the automatic combined starting is put into use, the air compressor can be started according to the priority; when the automatic combined start exits, the air compressor is not automatically started any more, and the air compressor can be manually started and stopped by a person on duty at the moment. When a certain air compressor is unavailable, the automatic starting function of the air compressor automatically quits.
As shown in fig. 4, the priority calculation algorithm may set three registers U \ V \ W, where the register U is used for priority selection, the register V is used for automatic startup availability judgment, and the register W is used for actual priority calculation.
When a certain device is available and automatic joint start is started, the corresponding position of the register V is assigned to be 1, and when a certain device is unavailable or automatic joint start is stopped, the corresponding position of the register V is assigned to be 0.
When V1-V4 are all 0, shift 1 to U1 position.
When the device start-up sequence is 1-2-3-4 and V1=1, shift 1 to the U1 position; when the device start-up sequence is 1-2-3-4 and V1=0, 1 is shifted to the right to the Un position corresponding to the next Vn = 1.
When the device start-up sequence is 2-3-4-1 and V2=1, shift 1 to the U2 position; when the device start-up sequence is 2-3-4-1 and V2=0, 1 is shifted to the right to the Un position corresponding to the next Vn = 1.
When the device boot sequence is 3-4-1-2 and V3=1, shift 1 to the U3 position; when the device start-up sequence is 3-4-1-2 and V3=0, 1 is shifted to the right to the Un position corresponding to the next Vn = 1.
When the device start-up sequence is 4-1-2-3 and V4=1, 1 is shifted to the U4 position. When the device start-up sequence is 4-1-2-3 and V4=0, 1 is shifted to the right to the Un position corresponding to the next Vn = 1.
When register Vn =0, the corresponding Wn is assigned 0.
When U1=1 and V1=1, W1= V1.
When U1=1 and V2=1, W2= V1+ V2.
When U1=1 and V3=1, W3= V1+ V2+ V3.
When U1=1 and V4=1, W4= V1+ V2+ V3+ V4.
When U2=1 and V1=1, W1= V1+ V2+ V3+ V4.
When U2=1 and V2=1, W2= V2.
When U2=1 and V3=1, W3= V2+ V3.
When U2=1 and V4=1, W4= V2+ V3+ V4.
When U3=1 and V1=1, W1= V1+ V3+ V4.
When U3=1 and V2=1, W2= V1+ V2+ V3+ V4.
When U3=1 and V3=1, W3= V3.
When U3=1 and V4=1, W4= V3+ V4.
When U4=1 and V1=1, W1= V1+ V4.
When U4=1 and V2=1, W2= V1+ V2+ V4.
When U4=1 and V3=1, W3= V1+ V2+ V3+ V4.
When U4=1 and V4=1, W4= V4.
The air compressor start-stop logic can comprise:
#1 air compressor availability determination:
the #1 air compressor was considered available when all of the following conditions were met:
1. the #1 air compressor has no fault (the signal of the 1# medium-pressure air compressor control cabinet comprehensive fault is 0);
2. the #1 air compressor power supply has no fault (the signal of the switching-on position of the circuit breaker of the 1# medium-pressure air compressor power circuit is 0);
3. the #1 air compressor control power supply has no fault (the signal of the 1# medium-pressure air compressor control cabinet alternating-current control power supply disappearance is 0 & '1 # medium-pressure air compressor control cabinet DC24V power supply disappearance' is 0 & '1 # medium-pressure air compressor power loop control power supply normal' signal is 1);
4. the #1 air compressor control authority is at the far side (the "1# medium air compressor control cabinet far side" signal is 1).
#1 air compressor Start:
the #1 air compressor will start when the following conditions are met:
1. #1 air compressor in shutdown status ("1 # Medium pressure air compressor running" signal is 0);
2. #1 air compressor available;
3. the #1 air compressor automatic starting function is put into use (an operator on duty is arranged on an upper computer);
4. the priority of a primary low-pressure signal (70 bar) of the pressure of the balance gas tank and the priority of a #1 air compressor is 1
OR { balance tank pressure secondary low-pressure signal (69 bar) & #1 air compressor priority is 2}
OR { balance gas tank pressure three-stage low-pressure signal (67 bar) & #1 air compressor priority is 3}
OR { balance tank pressure four-level low-pressure signal (65 bar) & #1 air compressor priority is 4}
OR { balance gas tank pressure primary low-voltage signal (70 bar) & #1 air compressor manual remote start command & #1 air compressor automatic start function exit }.
The starting logic of the #2 to #4 air compressors is the same as that of the #1 air compressor.
Each air compressor is stopped:
stopping all air compressors when the following conditions are met (the condition that after stopping command pulses are sent when the air compressors are powered off and the air compressors are powered back on because the stopping commands do not exist is prevented from happening during programming):
1. the air compressor is in operation;
2. pressure normal signal of balance gas cylinder (74 bar)
OR balance gas tank over-pressure signal (76 bar)
OR governor pressure gas tank over-pressure signal (76 bar)
OR ball valve pressure gas cylinder over-pressure signal (78 bar)
OR PLC fault ("PLC normal" signal is 1) normally closed contacts are hardwired and connected to the air compressor stop circuit.
In addition, when the pressure of the balance air tank is higher than 70bar and the automatic starting function of a certain air compressor is quitted, the operator on duty can manually and remotely stop the air compressor.
The balancing tank pressure signal selection may specifically include: and the pressure signal of the pressure air tank of the speed regulator is a standby signal. When the main signal is in fault (less than 3.5 mA), the pressure of the pressure gas tank of the speed regulator is used as a standby signal.
Compared with the prior art, the method has the advantages that the equipment start-stop priority is obtained in a self-adaptive mode according to the control mode, the start-stop priority and the available state of the equipment, the equipment is automatically started to work, and an effective control method is provided for a multi-redundancy control system composed of multiple pieces of equipment.
Moreover, the whole control logic is standardized, so that the control mode, the start-stop priority and the available state of the equipment can be quantitatively expressed, and the invention is not complicated along with the increase of control equipment.
Furthermore, the method is simple and efficient, is suitable for automatic completion of a computer, and provides reliable technical support for safe production of a power plant.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a device start-stop control device for realizing the device start-stop control method. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the above method, so the specific limitations in one or more embodiments of the apparatus start-stop control apparatus provided below may refer to the limitations on the apparatus start-stop control method in the above description, and are not described herein again.
In one embodiment, as shown in fig. 5, there is provided an apparatus start-stop control device, including: a register module 410, a first update module 420, a second update module 430, and a device control module 440, wherein:
the register module 410 is configured to configure a first register, a second register, a third register and a fourth register according to a control mode, the number of devices, an available state and a control command of a device to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing a priority identifier, an available state identifier, actual priority information and priority series information of the equipment to be controlled;
a first updating module 420, configured to determine a priority identifier of the device to be controlled according to the available state identifier in the second register and the priority series information in the fourth register, and update the first register according to the priority identifier, to obtain an updated first register;
a second updating module 430, configured to determine actual priority information of the device to be controlled according to the updated priority identifier in the first register and the available state identifier in the second register, and update the third register according to the actual priority information to obtain an updated third register;
and the device control module 440 is configured to control starting and stopping of the device to be controlled according to the updated third register.
In an embodiment, the first updating module 420 is further configured to select a priority starting device from the devices to be controlled according to the priority series information in the fourth register; determining the available state of the priority starting equipment according to the available state identifier in the second register; under the condition that the available state of the priority starting equipment is matched with a preset state, determining the priority identification of the priority starting equipment as a first priority identification, and determining the priority identifications of other equipment as a second priority identification; the other equipment is equipment except the priority starting equipment in the equipment to be controlled; and combining the first priority identifier and the second priority identifier to obtain the priority identifier of the equipment to be controlled.
In an embodiment, the second updating module 430 is further configured to determine available devices and unavailable devices in the device to be controlled according to the available status identifier in the second register; determining a priority starting device and a non-priority starting device in the available devices according to the updated priority identifier in the first register; using the available state identifier corresponding to the priority starting equipment as the actual priority information of the priority starting equipment; and accumulating the available state identifiers of the priority starting equipment and the non-priority starting equipment to obtain the actual priority information of the non-priority starting equipment.
In an embodiment, the device control module 440 further includes:
a priority determining module, configured to determine an available device and an actual priority of the available device according to the updated actual priority information in the third register; the available device and the actual priority of the available device both correspond to the non-zero bit in the updated third register;
and the priority control module is used for controlling the starting and stopping of the available equipment according to the actual priority of the available equipment.
In one embodiment, the priority control module is further configured to select a target actual priority matching the sensor signal level from the available device actual priorities; determining target available equipment corresponding to the target actual priority; controlling the target available equipment to be started under the condition that the target available equipment meets a first preset condition; the first preset condition is that the target available equipment is in a shutdown state, the target available equipment is available, and the automatic connection starting function of the target available equipment is started.
In an embodiment, the priority control module is further configured to control the target available device to stop if the target available device meets a second preset condition; the second preset condition is that the target available equipment is in a running state and receives a preset signal; the preset signal comprises at least one of a work-free signal and a control system fault signal.
In an embodiment, the device start-stop control apparatus further includes:
the available judging module is used for judging that the equipment to be controlled is available under the condition that the equipment to be controlled meets a third preset condition; the third preset condition is that the equipment to be controlled has no comprehensive fault, the equipment to be controlled has no power supply fault, the equipment to be controlled has no control power supply fault, and the control right of the equipment to be controlled is far away.
All or part of each module in the start-stop control device of the equipment can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure thereof may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer equipment is used for storing equipment start-stop control data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method for controlling start and stop of a device.
It will be appreciated by those skilled in the art that the configuration shown in fig. 6 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In an embodiment, a computer program product is provided, comprising a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the various embodiments provided herein may be, without limitation, general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, or the like.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for controlling starting and stopping of equipment is characterized by comprising the following steps:
configuring a first register, a second register, a third register and a fourth register according to a control mode, the number of devices to be controlled, an available state and a control command of the devices to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing a priority identifier, an available state identifier, actual priority information and priority series information of the equipment to be controlled;
selecting priority starting equipment from the equipment to be controlled according to the priority series information in the fourth register; determining the available state of the priority starting equipment according to the available state identifier in the second register; under the condition that the available state of the priority starting equipment is matched with a preset state, determining the priority identification of the priority starting equipment as a first priority identification, and determining the priority identifications of other equipment as a second priority identification; the other equipment is equipment except the priority starting equipment in the equipment to be controlled; combining the first priority identifier with the second priority identifier to obtain a priority identifier of the equipment to be controlled, and updating the first register according to the priority identifier to obtain an updated first register;
determining available equipment and unavailable equipment in the equipment to be controlled according to the available state identification in the second register; determining a priority starting device and a non-priority starting device in the available devices according to the updated priority identifier in the first register; using the available state identifier corresponding to the priority starting equipment as the actual priority information of the priority starting equipment; accumulating the available state identifiers of the priority starting equipment and the non-priority starting equipment to obtain actual priority information of the non-priority starting equipment, and updating the third register according to the actual priority information to obtain an updated third register;
determining available equipment and the actual priority of the available equipment according to the updated actual priority information in the third register; the available device and the actual priority of the available device both correspond to the non-zero bit in the updated third register; and performing start-stop control on the available equipment according to the actual priority of the available equipment.
2. The method of claim 1, wherein the controlling the start and stop of the available device according to the actual priority of the available device comprises:
selecting a target actual priority matched with the signal level of the sensor from the actual priorities of the available devices;
determining target available equipment corresponding to the target actual priority;
controlling the target available equipment to be started under the condition that the target available equipment meets a first preset condition; the first preset condition is that the target available equipment is in a shutdown state, the target available equipment is available, and the automatic connection starting function of the target available equipment is started.
3. The method of claim 2, wherein the controlling the start and stop of the available device according to the actual priority of the available device further comprises:
under the condition that the target available equipment meets a second preset condition, controlling the target available equipment to stop; the second preset condition is that the target available equipment is in a running state and receives a preset signal; the preset signal comprises at least one of a work-free signal and a control system fault signal.
4. The method of claim 1, further comprising:
under the condition that the equipment to be controlled meets a third preset condition, judging that the equipment to be controlled is available; the third preset condition is that the equipment to be controlled has no comprehensive fault, the equipment to be controlled has no power supply fault, the equipment to be controlled has no control power supply fault, and the control right of the equipment to be controlled is far away.
5. An apparatus start-stop control apparatus, the apparatus comprising:
the register module is used for configuring a first register, a second register, a third register and a fourth register according to the control mode, the number of devices, the available state and the control command of the device to be controlled; the first register, the second register, the third register and the fourth register are respectively used for storing a priority identifier, an available state identifier, actual priority information and priority series information of the equipment to be controlled;
the first updating module is used for selecting priority starting equipment from the equipment to be controlled according to the priority series information in the fourth register; determining the available state of the priority starting equipment according to the available state identifier in the second register; under the condition that the available state of the priority starting equipment is matched with a preset state, determining the priority identification of the priority starting equipment as a first priority identification, and determining the priority identifications of other equipment as a second priority identification; the other equipment is equipment except the priority starting equipment in the equipment to be controlled; combining the first priority identifier with the second priority identifier to obtain a priority identifier of the equipment to be controlled, and updating the first register according to the priority identifier to obtain an updated first register;
the second updating module is used for determining available equipment and unavailable equipment in the equipment to be controlled according to the available state identification in the second register; determining a priority starting device and a non-priority starting device in the available devices according to the updated priority identifier in the first register; using the available state identifier corresponding to the priority starting equipment as the actual priority information of the priority starting equipment; accumulating the available state identifiers of the priority starting equipment and the non-priority starting equipment to obtain actual priority information of the non-priority starting equipment, and updating the third register according to the actual priority information to obtain an updated third register;
the device control module is used for determining available devices and the actual priority of the available devices according to the updated actual priority information in the third register; the available device and the actual priority of the available device both correspond to the non-zero bit in the updated third register; and performing start-stop control on the available equipment according to the actual priority of the available equipment.
6. The apparatus of claim 5, wherein the device control module is further configured to select a target actual priority from the available device actual priorities that matches a sensor signal level; determining target available equipment corresponding to the target actual priority; controlling the target available equipment to be started under the condition that the target available equipment meets a first preset condition; the first preset condition is that the target available equipment is in a shutdown state, the target available equipment is available, and the automatic connection starting function of the target available equipment is started.
7. The apparatus according to claim 6, wherein the device control module is further configured to control the target available device to stop if the target available device meets a second preset condition; the second preset condition is that the target available equipment is in a running state and receives a preset signal; the preset signal comprises at least one of a work-free signal and a control system fault signal.
8. The apparatus according to claim 5, further comprising an availability determination module configured to determine that the device to be controlled is available if the device to be controlled meets a third preset condition; the third preset condition is that the equipment to be controlled has no comprehensive fault, the equipment to be controlled has no power supply fault, the equipment to be controlled has no control power supply fault, and the control right of the equipment to be controlled is in a remote place.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
CN202210919690.5A 2022-08-02 2022-08-02 Equipment start and stop control method and device, computer equipment and storage medium Active CN114995205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210919690.5A CN114995205B (en) 2022-08-02 2022-08-02 Equipment start and stop control method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210919690.5A CN114995205B (en) 2022-08-02 2022-08-02 Equipment start and stop control method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114995205A CN114995205A (en) 2022-09-02
CN114995205B true CN114995205B (en) 2022-11-04

Family

ID=83022141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210919690.5A Active CN114995205B (en) 2022-08-02 2022-08-02 Equipment start and stop control method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114995205B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681520A (en) * 2012-06-04 2012-09-19 上海迪吉特控制系统有限公司 Implementation method of operation interface of automatic plant start-up &and shut-down system
CN110374851A (en) * 2019-07-19 2019-10-25 爱景智能装备(无锡)有限公司 The method of startup-shutdown priority is quickly judged in a kind of multiple air compressors
CN110456752A (en) * 2019-08-19 2019-11-15 蘑菇物联技术(深圳)有限公司 A kind of Control for Air Compression Station method based on planned dispatching in conjunction with algorithmic dispatching
CN111580445A (en) * 2020-04-22 2020-08-25 四川神华天明发电有限责任公司 Electrical equipment operation switching method and device, electronic equipment and storage medium
CN111749878A (en) * 2019-03-28 2020-10-09 中电投东北能源科技有限公司 Integrated modular group control air compressor optimization system
CN113391656A (en) * 2021-06-07 2021-09-14 国家石油天然气管网集团有限公司西气东输分公司 Intelligent increase and decrease control method for compressor unit
CN113883043A (en) * 2021-09-08 2022-01-04 西安热工研究院有限公司 Automatic starting and stopping method of air compressor unit by adopting priority control
CN114757492A (en) * 2022-03-21 2022-07-15 浙江中控信息产业股份有限公司 Multi-device control scheduling optimization method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109084499A (en) * 2018-08-15 2018-12-25 广东美的暖通设备有限公司 Air conditioner oil return control method, air-conditioning and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681520A (en) * 2012-06-04 2012-09-19 上海迪吉特控制系统有限公司 Implementation method of operation interface of automatic plant start-up &and shut-down system
CN111749878A (en) * 2019-03-28 2020-10-09 中电投东北能源科技有限公司 Integrated modular group control air compressor optimization system
CN110374851A (en) * 2019-07-19 2019-10-25 爱景智能装备(无锡)有限公司 The method of startup-shutdown priority is quickly judged in a kind of multiple air compressors
CN110456752A (en) * 2019-08-19 2019-11-15 蘑菇物联技术(深圳)有限公司 A kind of Control for Air Compression Station method based on planned dispatching in conjunction with algorithmic dispatching
CN111580445A (en) * 2020-04-22 2020-08-25 四川神华天明发电有限责任公司 Electrical equipment operation switching method and device, electronic equipment and storage medium
CN113391656A (en) * 2021-06-07 2021-09-14 国家石油天然气管网集团有限公司西气东输分公司 Intelligent increase and decrease control method for compressor unit
CN113883043A (en) * 2021-09-08 2022-01-04 西安热工研究院有限公司 Automatic starting and stopping method of air compressor unit by adopting priority control
CN114757492A (en) * 2022-03-21 2022-07-15 浙江中控信息产业股份有限公司 Multi-device control scheduling optimization method and system

Also Published As

Publication number Publication date
CN114995205A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
CN105333563B (en) A kind of refrigeration control method, device and air conditioner
CN112577161A (en) Air conditioner energy consumption model training method and air conditioner system control method
CN103732995B (en) Air-conditioning equipment managing device, air-conditioning equipment management system and air-conditioning equipment management method
CN112052890B (en) Method and device for predicting vibration of water supply pump
CN111492182B (en) Air conditioning system, remote control device, and method for storing historical operation data of air conditioner
CN107423174A (en) Method of testing, device and the storage medium of server configuration information
US20210318207A1 (en) System for abnormal condition detection using nearest neighbor
US9829209B2 (en) Integrated demand control method and integrated demand control device
CN103995191A (en) Method and device for identifying model of air conditioner
CN114995205B (en) Equipment start and stop control method and device, computer equipment and storage medium
CN111400358A (en) Air conditioner model selection method and device, computer equipment and storage medium
CN107943570A (en) application management method, device, storage medium and electronic equipment
CN114198863B (en) Fault detection method and device for air conditioner in machine room, computer equipment and storage medium
CN115899950A (en) Operation control method and device of air conditioning unit and air conditioning unit
CN116257397A (en) Pressure testing method, pressure testing device, storage medium and pressure testing equipment
CN110781540B (en) Design scheme analysis method and device, storage medium and computer equipment
CN113434690A (en) Clustering algorithm-based electricity utilization prediction evaluation method, device, system and medium
CN114413497A (en) Two-stage compressor, control method and device, control equipment and refrigeration equipment
US10444719B2 (en) Energy management device and energy management method
CN113805004B (en) Abnormality monitoring method and system for intelligent ammeter connecting equipment
CN114264037B (en) Method for judging content of refrigerant, air conditioner and storage medium
CN115682289A (en) Method and device for controlling air conditioner and air conditioner
CN117346269A (en) Power consumption display method and device, electronic equipment and storage medium
CN110971694A (en) Remote control method and device for parameters of self-service equipment
CN113987707A (en) Method and device for acquiring equipment maintenance space, electronic equipment and 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