CN117767255A - Power supply control method, device, equipment and storage medium - Google Patents

Power supply control method, device, equipment and storage medium Download PDF

Info

Publication number
CN117767255A
CN117767255A CN202311815816.5A CN202311815816A CN117767255A CN 117767255 A CN117767255 A CN 117767255A CN 202311815816 A CN202311815816 A CN 202311815816A CN 117767255 A CN117767255 A CN 117767255A
Authority
CN
China
Prior art keywords
power supply
power
detection
data
preset
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.)
Pending
Application number
CN202311815816.5A
Other languages
Chinese (zh)
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.)
Ebara Refrigeration Equipment and Systems China Co Ltd
Original Assignee
Ebara Refrigeration Equipment and Systems China 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 Ebara Refrigeration Equipment and Systems China Co Ltd filed Critical Ebara Refrigeration Equipment and Systems China Co Ltd
Priority to CN202311815816.5A priority Critical patent/CN117767255A/en
Publication of CN117767255A publication Critical patent/CN117767255A/en
Pending legal-status Critical Current

Links

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application discloses a power supply control method, a device, equipment and a storage medium, which are applied to a controller of a detection device, wherein the detection device is only powered by an electric storage power supply, and under the condition that the detection device is in a power-off state, a time difference between the current moment and the moment when the detection device is in a power-on state is not smaller than a time length corresponding to a power supply period, the power supply switch is controlled to be turned on, so that the detection device is in the power-on state in a preset time period, and the power supply period is obtained by adjusting the time length of a reference power supply period according to a preset adjustment rule when the detection device is in the power-on state based on the change speed of detection data of an object to be detected. The aim of prolonging the detection duration of the detection device to the object to be detected under the condition that the power storage power supply is powered on in a limited mode is achieved as far as possible.

Description

Power supply control method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of external power technologies, and in particular, to a power control method, apparatus, device, and storage medium.
Background
Compared with the common power supply, the main difference is that the power storage power supply has the capability of storing electric power, the power storage power supply can store a certain amount of electric energy, stable electric power output is provided when required, and the common power supply such as commercial power, a generator, solar energy and the like has no capability of storing electric energy, so that the power storage power supply is generally used for realizing power supply under the condition that the common power supply cannot be used.
The power storage power supply can be applied to various scenes such as life, work and the like, for example, the power storage power supply can realize the power supply of a detection device for detecting the air tightness, the temperature, the humidity and the like of an object to be detected, so that the detection device can collect detection data corresponding to the object to be detected, and the state monitoring of the object to be detected is realized. However, in general, the detection device can detect the object to be detected in real time under the condition that the common power supply supplies power in real time. If the electric power stored by the electric power storage power supply is used for supplying power to the detection device, detection is realized, and the electric power stored by the electric power storage power supply is limited, so that short-time power supply can not be realized, the detection device still cannot normally operate, and the state monitoring of an object to be detected is influenced.
Disclosure of Invention
In view of the foregoing, the present application provides a power control method, apparatus, device, and storage medium for solving the problem of short power supply time of the existing power storage power supply.
In order to achieve the above object, the following solutions have been proposed:
a power control method applied to a controller of a detection device, the detection device at least further comprising: the power control method comprises the following steps of:
when the detection device is powered by the power storage power supply only and is in a power-off state, acquiring the moment of controlling the power switch last time to enable the detection device to be in a power-on state and recording the moment as a reference moment;
and when the time difference between the current time and the reference time is not smaller than the time corresponding to the power supply period, controlling the power switch to be turned on, so that the detection device is in an electrified state in a preset time period, wherein the power supply period is obtained by controlling the power switch to be turned on for the last time to enable the detection device to be in the electrified state according to the reference power supply period according to the change speed of detection data of an object to be detected, and adjusting the time according to a preset adjustment rule, wherein the preset adjustment rule is obtained by reversely adjusting the reference power supply period according to the change speed.
Optionally, based on a change speed of detection data of an object to be detected, a process of obtaining the power supply period after performing duration adjustment according to a preset adjustment rule for controlling the reference power supply period according to which the power switch is turned on to enable the detection device to be in an energized state last time includes:
after the power switch is controlled last time to enable the detection device to be in an electrified state, historical detection data of an object to be detected and detection data of the object to be detected, which are acquired by the detection module at the current moment, are acquired, wherein the historical detection data are detection data at all moments before the current moment;
analyzing based on the detection data and the historical detection data, determining the data change quantity of the detection data of the object to be detected in a preset time interval, and recording the data change quantity as the change speed of the detection data;
determining the change duration of the detected data to the preset qualified data limit value based on the change speed;
when the change duration is not greater than a preset emergency duration, shortening the duration corresponding to the reference power supply period based on a preset adjustment amplitude to obtain the power supply period;
and when the change time length is longer than the preset emergency time length, prolonging the time length corresponding to the reference power supply period based on the preset adjustment amplitude to obtain the power supply period.
Optionally, the power control method may further include:
acquiring the residual electric quantity of the electric power storage power supply;
when the detection data of the object to be detected is not in the range value of the preset detection qualified data or the residual electric quantity is smaller than the preset electric quantity threshold value, alarm information representing abnormal detection is sent to the alarm module;
when the alarm time length of the alarm module responding to the alarm information meets the preset alarm time length, the power switch is controlled to enable the detection device to be in a power-off state.
A power control device for a controller of a detection device, the detection device at least further comprising: the detection module, the electric power storage power, switch and alarm module, power controlling means includes:
a reference time acquisition unit configured to acquire, when the detection device is powered by the power storage power supply only and the detection device is in a power-off state, a time at which the power switch is controlled last time to make the detection device in a power-on state, and record as a reference time;
the power supply control unit is used for controlling the power supply switch to be turned on when the time difference between the current time and the reference time is not smaller than the duration corresponding to the power supply period, so that the detection device is in an electrified state in a preset time period, wherein the power supply period is obtained by controlling the power supply switch to be turned on for the last time according to the reference power supply period when the detection device is in the electrified state and adjusting the duration according to a preset adjustment rule, and the preset adjustment rule is used for reversely adjusting the reference power supply period according to the change speed.
Optionally, the power supply control unit includes:
the data acquisition subunit is used for acquiring historical detection data of the object to be detected and the detection data of the object to be detected, which are acquired by the detection module at the current moment, after the power switch is controlled last time to enable the detection device to be in an electrified state, wherein the historical detection data are detection data of all moments before the current moment;
a data analysis subunit, configured to analyze based on the detection data and the historical detection data, determine a data variation of the detection data of the object to be detected within a preset time interval, and record the data variation as a variation speed of the detection data;
a time length determining subunit, configured to determine a time length of change from the detected data to the preset qualified data limit value based on the change speed;
the power supply period first determining subunit is used for shortening the time length corresponding to the reference power supply period based on a preset adjustment amplitude to obtain the power supply period when the change time length is not greater than a preset emergency time length;
and the power supply period second determining subunit is used for prolonging the time length corresponding to the reference power supply period based on the preset adjustment amplitude to obtain the power supply period when the change time length is longer than the preset emergency time length.
Optionally, the power supply control device may further include:
the electric quantity acquisition unit is used for acquiring the residual electric quantity of the power storage power supply;
the information sending subunit is used for sending alarm information representing abnormal detection to the alarm module when the detection data of the object to be detected is not in a preset detection qualified data range value or the residual electric quantity is smaller than a preset electric quantity threshold value;
and the power-off subunit is used for controlling the power switch to enable the detection device to be in a power-off state when the alarm duration of the alarm module responding to the alarm information meets the preset alarm duration.
A power control apparatus comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of any one of the power control methods.
A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of any one of the power control methods.
According to the embodiment of the application, under the condition that the detection device is only powered by the power storage power supply, the power supply period is set for the power storage power supply, the power storage power supply is controlled according to the power supply period, so that the detection device is intermittently in an electrified state to acquire detection data of an object to be detected, the state monitoring of the object to be detected is realized through non-real-time power supply, and the detection duration of the object to be detected can be prolonged as far as possible under limited electric quantity.
And the power supply period is obtained by adjusting the time length of the reference power supply period according to the last time of controlling the power switch according to the change speed of the detection data reflecting the state change trend of the object to be detected, so that the power supply period can be dynamically adjusted according to the change state of the detection data of the object to be detected, and the situation that the power is supplied to the user frequently under the condition that the state of the detection data is stable, and electric quantity waste is caused is avoided. Based on the above situation, the purpose that the detection duration of the object to be detected by the detection device is prolonged under the condition that the electric storage power supply is limited is achieved as far as possible.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for implementing power control according to an embodiment of the present application;
fig. 2 is an application example diagram of an application power control method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a power control device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a power control device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The power source commonly used for supplying power may include: the utility power, the real-time power generation device and the power storage device, and to detection device, in order to detect in real time or detect the object that waits to detect regularly, can connect power supply unit such as utility power or solar panel through the circuit generally, but once the power failure or meet the condition that is unfavorable for the electricity generation such as cloudy day, detection device can be in the outage state, can not realize detecting.
Based on this, this embodiment of the application sets up an electric power storage power supply, such as lead acid battery, lithium ion battery, nickel hydrogen battery, supercapacitor etc. in detection device inside, for detection device realizes supplying power when there is not other power supply.
At least the detection means should comprise: the system comprises a controller, a detection module, an electric power storage power supply, a power switch and an alarm module. The detection module is used for detecting and collecting relevant detection data of an object to be detected and transmitting the relevant detection data to the controller; the alarm module is used for alarming when abnormal data or smaller electric quantity of the stored power supply is detected, so that the effect of reminding workers is achieved.
The controller is used for receiving the related detection data sent by the detection module, analyzing the related detection data and performing other operations so as to intelligently monitor the state of the object to be detected in real time. And most importantly, when the controller detects that the detection device is powered by the power storage power supply only, the controller reasonably distributes the limited power of the power storage power supply, and prolongs the detection duration of the object to be detected.
In the embodiment of the application, the state of the object to be detected may not be changed in real time, or the amplitude of each change is smaller, and the data state of the detected data is stable, so that the data detected in real time are the same data, if the power is continuously supplied in real time, only the electric quantity is consumed, and the abnormal data possibly appearing in the follow-up process is missed. Based on this, the embodiment of the application chooses not to supply power to the detection device in real time, and realizes intermittent power supply to the detection device based on the power supply period.
Referring to fig. 1, a schematic flow chart for implementing a power control method according to an embodiment of the present application may be applied to a controller of a detection device, where the detection device is powered by only the power storage power supply, and the detection device is in a power-off state, the following flow steps are executed, where the flow chart includes:
step S110, obtaining the time when the power switch is controlled last time to make the detection device in the power-on state, and recording the time as the reference time.
And step S120, when the time difference between the current time and the reference time is not smaller than the time corresponding to the power supply period, controlling the power switch to be turned on, so that the detection device is in an electrified state in a preset time period.
The power supply period is obtained after the time length is adjusted according to a preset adjustment rule, wherein the reference power supply period is based on the change speed of detection data of an object to be detected, the reference power supply period is used for controlling the power switch to be turned on for the last time, and the detection device is in an electrified state, and the preset adjustment rule is used for reversely adjusting the reference power supply period according to the change speed.
It can be understood that when the commercial power or the power generation device suddenly fails to supply power to the detection device, the controller immediately controls the power switch to be turned on, so that the detection device is in an electrified state in a preset time period, and the detection module detects and collects data information of an object to be detected as detection data and transmits the detection data to the controller in the preset time period. And the control module performs data analysis based on the detection data and the detection data transmitted by the detection module before the current moment in the preset time period, and determines the change speed of the detection data of the current object to be detected so as to determine the power supply period, thereby determining the moment of starting the power switch next time after the current power supply is finished.
In this embodiment of the present application, considering that there is no commercial power or power supplied by the power generation device, only the electric storage power supplies supply power from beginning to end, so that in order to avoid no referenceable historical detection data in the controller to determine a power supply period, an initial power supply period is preset in the controller, when the electric storage battery is used for the first time, the initial power supply period is used as a control basis of the power switch, and when the collected detection data of the object to be detected is accumulated, the change speed of the detection data can be analyzed, the adjustment is performed on the basis of the initial power supply period, so as to obtain the power supply period of the next control power supply. It will be appreciated that the preliminary power supply period may also be considered as the reference power supply period described above.
The change speed is the speed of detecting data change in unit time, if the change speed is positive, the change trend of the detected data is proved to be positive increase, and the absolute value of the change speed is proved to be the increase amplitude of the detected data in unit time. Similarly, if the change speed is negative, it is proved that the change trend of the detection data is negative decrease, and the absolute value of the change speed is indicative of the decrease amplitude of the detection data in unit time.
It can be understood that for the object to be detected, a data qualified section exists in the detected data, when the change speed of the detected data is positive, it is proved that the current detected data continuously rises, the current detected data is likely to exceed the qualified upper limit value of the data qualified section, and in order to avoid missing the detection of abnormal data, the power supply period is required to be shortened, and the detection frequency is required to be increased. The shortening amplitude of the shortening power supply period can be determined according to the absolute value of the change speed, if the absolute value of the change speed is larger, the adjusting amplitude of the corresponding duration of the power supply period is increased, and if the absolute value of the change speed is smaller, the adjusting amplitude of the corresponding duration of the power supply period can be increased by a small amplitude.
When the change speed of the detection data is negative, the current detection data is proved to continuously drop, the possibility that the detection data exceeds the qualified upper limit value of the data qualified interval is reduced, the power supply period is required to be prolonged, and the detection frequency is reduced. The amplitude of the extended power supply period can be determined according to the absolute value of the change speed, if the absolute value of the change speed is larger, the amplitude of the adjustment of the corresponding duration of the power supply period is increased, and if the absolute value of the change speed is smaller, the amplitude of the adjustment of the corresponding duration of the power supply period can be increased by a small amplitude.
Based on the above, in the embodiment of the present application, the adjustment direction of the reference power supply period is inversely proportional to the change speed of the detection data, and the adjustment amplitude setting of the reference power supply period may be directly proportional to the absolute value of the change speed. According to the embodiment of the application, the detection device can monitor the state of the object to be detected, and the state change trend of the object to be detected can be predicted according to the change speed of the detection data. And the power supply period is adjusted based on the change speed of the detection data, instead of continuously supplying power in real time or supplying power in a fixed power supply period, and the detection frequency can be adjusted according to the data state in time under the condition that the detection duration of the object to be detected by the detection device is prolonged, so that the detection of the abnormal state of the object to be detected is avoided being missed.
In addition, in order to save the electric quantity of the electric storage power supply, the embodiment of the application also sets the power supply duration, that is, the detection device is in the power-on state in the preset time period. The preset time period may be a preset specific value, or may be periodically adjusted according to the electric quantity of the power storage power supply, the change speed of the detected data, and the like.
In summary, in the embodiment of the present application, when the detecting device is powered by the power storage power supply, a power supply period is set for the power storage power supply, and the power storage power supply is controlled according to the power supply period, so that the detecting device is intermittently in a power-on state to obtain the detection data of the object to be detected, and the state monitoring of the object to be detected is realized by non-real-time power supply, so that the detection duration of the object to be detected can be prolonged as long as possible under the limited electric quantity.
And the power supply period is obtained by adjusting the time length of the reference power supply period according to the last time of controlling the power switch according to the change speed of the detection data reflecting the state change trend of the object to be detected, so that the power supply period can be dynamically adjusted according to the change state of the detection data of the object to be detected, and the situation that the power is supplied to the user frequently under the condition that the state of the detection data is stable, and electric quantity waste is caused is avoided. Based on the above situation, the embodiment of the application achieves the purpose that the detection duration of the object to be detected by the detection device is prolonged under the condition that the electric storage power supply is limited.
Further, a power supply control method is described based on the following embodiment.
The above describes the manner of inversely adjusting the reference power supply period based on the positive and negative directions and the numerical values of the change speed of the detection data, it can be understood that the predicted qualified data limit value of the detection data may have an upper limit value and a lower limit value, and if the reference power supply period is reversely adjusted according to the change direction of the change speed of the data only, the time period corresponding to the power supply period may be prolonged when the change speed is negative, and instead, the abnormal data of the detection data of the object to be detected floating at the lower limit value may be missed, so that the abnormal state of the object to be detected cannot be detected.
Based on this, in the embodiment of the present application, the manner of reverse adjustment of the reference power supply period based on the change speed of the detection data may further include:
after the power switch is controlled last time to enable the detection device to be in an electrified state, historical detection data of an object to be detected and detection data of the object to be detected, which are acquired by the detection module at the current moment, are acquired, wherein the historical detection data are detection data at all moments before the current moment; analyzing based on the detection data and the historical detection data, determining the data change quantity of the detection data of the object to be detected in a preset time interval, and recording the data change quantity as the change speed of the detection data; determining the change duration of the detected data to the preset qualified data limit value based on the change speed; when the change duration is not greater than a preset emergency duration, shortening the duration corresponding to the reference power supply period based on a preset adjustment amplitude to obtain the power supply period; and when the change time length is longer than the preset emergency time length, prolonging the time length corresponding to the reference power supply period based on the preset adjustment amplitude to obtain the power supply period.
In the embodiment of the application, the change mode of the change speed of the detection data is not particularly considered, but the change time length required for the change of the detection data to the preset qualified data limit value is calculated according to the change speed of the detection data, so that the relation between the current detection data and the preset qualified data limit value can be determined. When the change duration is smaller than or equal to the preset emergency duration, the current detection data is proved to be changed to the preset qualified data limit value in a very short time, and the object to be detected is in an abnormal state, so that the duration of the reference power supply period is required to be shortened, the detection frequency is improved, and the abnormal state of the object to be detected is grabbed to give an alarm. If the change duration is not less than the preset emergency duration, the fact that the object to be detected cannot generate abnormal data in a short time is proved, no alarm is needed, the duration corresponding to the reference power supply period can be properly prolonged, and the power supply period is obtained.
It can be appreciated that the change speed of the detected data is proportional to the change duration, and the change duration is inversely proportional to the power supply period, so that in the embodiment of the present application, the adjustment of the reference power supply period is also reversely adjusted according to the change speed, which does not conflict with the preset adjustment rule described above.
Optionally, in the embodiment of the present application, a change trend of the detection data is first analyzed based on the detection data and the historical detection data, so as to obtain a change speed, thereby being convenient for determining whether a preset qualified data limit value for calculating a change duration is an upper limit value or a lower limit value, if the change trend is an increase trend, the preset qualified data limit value may be an upper limit value, otherwise, if the change trend is a decrease trend, the preset qualified data limit value may be a lower limit value.
However, the embodiment of the application may also calculate the time between the upper limit value and the lower limit value of the detected data at the same time, and jointly refer to the adjustment of the reference power supply period. Therefore, other ways of calculating the change speed may be selected in the embodiments of the present application, which are not limited herein, and the calculation ways may be selected according to the actual application, which are not illustrated herein.
It can be understood that the controller can receive real-time detection data of the object to be detected, which is collected by the detection module, under the power-on state, and the electric quantity of the electric storage power supply is reasonably distributed, so that the residual electric quantity of the electric storage power supply needs to be obtained at the same time, and if an abnormal condition is detected, an alarm is needed to be given out in addition to the adjustment of the power supply period so as to remind a worker to timely process the electric quantity, and the actual effect of the detection device is exerted.
Optionally, in an embodiment of the present application, the steps required to be performed by the controller may further include: acquiring the residual electric quantity of the electric power storage power supply; when the detection data of the object to be detected is not in the range value of the preset detection qualified data or the residual electric quantity is smaller than the preset electric quantity threshold value, alarm information representing abnormal detection is sent to the alarm module; when the alarm time length of the alarm module responding to the alarm information meets the preset alarm time length, the power switch is controlled to enable the detection device to be in a power-off state.
When the detection data does not accord with the numerical value interval specified by the preset detection qualified data range value, an alarm is required, and also if the residual electric quantity of the power storage power supply is insufficient to support the power-on detection of the next power supply period, the alarm is required.
The preset electric quantity threshold can be set according to the electric quantity which is averagely consumed after the detection device is electrified every time, and the preset electric quantity threshold can at least meet the requirement that the detection device is electrified at least once again, so that the situation that a worker fails to receive alarm information in time and misses an abnormal state prompt is avoided.
In addition, considering the limited electric quantity of the electric storage power supply, the embodiment of the application presets an alarm time length for each alarm, and the preset alarm time length can be a specific value and can be adaptively adjusted according to the emergency degree of the current condition. For example, detecting data abnormality, and in order to ensure safe operation of an object to be detected, a preset alarm time length needs to be prolonged; if the residual electric quantity is insufficient, the alarm time is shortened, the electric quantity is saved, and the like.
Based on the above embodiments, it can be seen that, in the case of limited power storage, the power supply control method mainly adaptively adjusts the power supply mode according to the data change condition of the detection data of the object to be detected, and timely detects the data state of the object to be detected while saving the electric quantity as much as possible, and prolongs the detection duration of the object to be detected when the power storage battery is in the limited electric quantity. Referring to fig. 2, an application example diagram of an application power control method provided in an embodiment of the present application is described to illustrate a practical application manner of the power control method.
Fig. 2 shows a detection apparatus for detecting air tightness of an absorption lithium bromide unit (hereinafter may be simply referred to as a unit), wherein the air tightness detection apparatus includes: mains power, power storage, solar power, charging power, power switch S1, controller/control board, pressure sensor, temperature sensor, wireless device and wireless communication switch S2.
The pressure sensor and the temperature sensor are equivalent to the detection modules described above and are respectively used for collecting real-time pressure values and real-time temperature values inside the unit. The microprocessor in the control panel can convert the acquired real-time pressure value into a pressure value corresponding to a preset temperature value according to the real-time temperature value, and based on the comparison of the pressure value and a preset pressure qualification limit value, whether the air tightness of the current unit is abnormal or not is determined.
As can be seen from fig. 2, the air tightness detection device has three power supplies for providing 220V voltage source, but when the mains power supply and the solar power supply fail and cannot supply power, S1 needs to be adjusted to the node corresponding to the power storage power supply, and the power storage power supply is used to complete normal power on of the air tightness detection device.
In the case of being supplied with power only by the electric storage power source, the control board performs the power source control method described above, realizing intermittent power supply of the electric storage power source to the airtight device. The control core of the control panel has automatic dormancy and timing awakening functions, and in the initial power supply stage of the power storage power supply, if the pressure value is maintained under a stable condition, the residual electric quantity of the battery is sufficient, the timing awakening can be performed by adopting a longer power supply period, and after each awakening, the control switch S1 enables the air tightness detection device to be in a power-on state, so that the collection of the unit data by the detection module and the collection and storage of the electric quantity of the power storage power supply are completed.
Further, the newly acquired pressure value is compared with the pressure value stored in the previous times, and the airtightness change trend of the unit is predicted through the calculation of the time interval and the data change quantity. Judging whether an alarm is necessary, if not, carrying out a dormant state, namely controlling S1 to enable the air tightness detection device to be in a power-off state, and waiting for the next awakening according to the power supply period. If the alarm is needed, an alarm signal is sent to the wireless device, so that the remote reminding of the user side is realized.
Meanwhile, the air tightness change trend of the unit is predicted according to the time interval and the calculation of the data change quantity, wherein the change trend can be represented by detecting the change speed of the data. If the change speed is high, the time length of the power supply period is shortened, the acquisition frequency of the detection module to the unit data is improved, the alarm time length can be shortened, and the effect of reminding a user side to finish the pressure maintaining of the unit as soon as possible is achieved. And if the change speed is slower, the duration of the power supply period is prolonged, the collection frequency of the detection module to the unit data is shortened, and the frequent collection of the same data is avoided, so that the electric quantity of the electric storage power supply is wasted.
The air tightness detection device also provides a charging power supply for the electric storage power supply, and when the electric storage power supply is not needed to supply power, the charging power supply charges the electric storage power supply through the branch of the mains supply, so that the utilization rate of the electric storage power supply is improved.
The power supply control device provided in the embodiments of the present application will be described below, and the power supply control device described below and the power supply control method described above may be referred to correspondingly to each other.
First, referring to fig. 3, a description will be given of a power control device in a controller applied to a detection device, as shown in fig. 3, the power control device may include:
a reference time acquisition unit 100 configured to acquire, when the detection device is powered by the power storage power supply only and the detection device is in a power-off state, a time at which the power switch is controlled last time to make the detection device in a power-on state, and record as a reference time;
the power supply control unit 200 is configured to control, when a time difference between a current time and the reference time is not less than a duration corresponding to a power supply period, to turn on the power switch, so that the detection device is in an energized state in a preset time period, where the power supply period is obtained by performing duration adjustment according to a preset adjustment rule based on a reference power supply period according to which the power switch is controlled to be turned on to make the detection device be in the energized state last time based on a change speed of detection data of an object to be detected, and the preset adjustment rule is to reversely adjust the reference power supply period according to the change speed.
In summary, in the embodiment of the present application, when the detecting device is powered by the power storage power supply, a power supply period is set for the power storage power supply, and the power storage power supply is controlled according to the power supply period, so that the detecting device is intermittently in a power-on state to obtain the detection data of the object to be detected, and the state monitoring of the object to be detected is realized by non-real-time power supply, so that the detection duration of the object to be detected can be prolonged as long as possible under the limited electric quantity.
And the power supply period is obtained by adjusting the time length of the reference power supply period according to the last time of controlling the power switch according to the change speed of the detection data reflecting the state change trend of the object to be detected, so that the power supply period can be dynamically adjusted according to the change state of the detection data of the object to be detected, and the situation that the power is supplied to the user frequently under the condition that the state of the detection data is stable, and electric quantity waste is caused is avoided. Based on the above situation, the embodiment of the application achieves the purpose that the detection duration of the object to be detected by the detection device is prolonged under the condition that the electric storage power supply is limited.
Optionally, the power control unit 200 includes:
the data acquisition subunit is used for acquiring historical detection data of the object to be detected and the detection data of the object to be detected, which are acquired by the detection module at the current moment, after the power switch is controlled last time to enable the detection device to be in an electrified state, wherein the historical detection data are detection data of all moments before the current moment;
a data analysis subunit, configured to analyze based on the detection data and the historical detection data, determine a data variation of the detection data of the object to be detected within a preset time interval, and record the data variation as a variation speed of the detection data;
a time length determining subunit, configured to determine a time length of change from the detected data to the preset qualified data limit value based on the change speed;
the power supply period first determining subunit is used for shortening the time length corresponding to the reference power supply period based on a preset adjustment amplitude to obtain the power supply period when the change time length is not greater than a preset emergency time length;
and the power supply period second determining subunit is used for prolonging the time length corresponding to the reference power supply period based on the preset adjustment amplitude to obtain the power supply period when the change time length is longer than the preset emergency time length.
Optionally, the power supply control device further includes:
the electric quantity acquisition unit is used for acquiring the residual electric quantity of the power storage power supply;
the information sending subunit is used for sending alarm information representing abnormal detection to the alarm module when the detection data of the object to be detected is not in a preset detection qualified data range value or the residual electric quantity is smaller than a preset electric quantity threshold value;
and the power-off subunit is used for controlling the power switch to enable the detection device to be in a power-off state when the alarm duration of the alarm module responding to the alarm information meets the preset alarm duration.
The power supply control device provided by the embodiment of the application can be applied to power supply control equipment.
Fig. 4 shows a schematic diagram of a structure of a power control apparatus, and referring to fig. 4, the structure of the power control apparatus may include: at least one processor 10, at least one memory 20, at least one communication bus 30, and at least one communication interface 40.
In the embodiment of the present application, the number of the processor 10, the memory 20, the communication bus 30 and the communication interface 40 is at least one, and the processor 10, the memory 20 and the communication interface 40 complete communication with each other through the communication bus 30.
The processor 10 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention, or the like.
The memory 20 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory.
The memory stores a program, and the processor can call the program stored in the memory, wherein the program is used for realizing each processing flow in the power supply control scheme.
The embodiment of the application also provides a storage medium, which can store a program suitable for being executed by a processor, and the program is used for realizing each processing flow in the power supply control scheme.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A power control method, characterized by being applied to a controller of a detection device, the detection device further comprising at least: the power control method comprises the following steps of:
when the detection device is powered by the power storage power supply only and is in a power-off state, acquiring the moment of controlling the power switch last time to enable the detection device to be in a power-on state and recording the moment as a reference moment;
and when the time difference between the current time and the reference time is not smaller than the time corresponding to the power supply period, controlling the power switch to be turned on, so that the detection device is in an electrified state in a preset time period, wherein the power supply period is obtained by controlling the power switch to be turned on for the last time to enable the detection device to be in the electrified state according to the reference power supply period according to the change speed of detection data of an object to be detected, and adjusting the time according to a preset adjustment rule, wherein the preset adjustment rule is obtained by reversely adjusting the reference power supply period according to the change speed.
2. The power supply control method according to claim 1, wherein the process of obtaining the power supply period after performing time length adjustment according to a preset adjustment rule for a reference power supply period according to which the power switch is controlled to be turned on to make the detection device in an energized state last time based on a change speed of detection data of an object to be detected, includes:
after the power switch is controlled last time to enable the detection device to be in an electrified state, historical detection data of an object to be detected and detection data of the object to be detected, which are acquired by the detection module at the current moment, are acquired, wherein the historical detection data are detection data at all moments before the current moment;
analyzing based on the detection data and the historical detection data, determining the data change quantity of the detection data of the object to be detected in a preset time interval, and recording the data change quantity as the change speed of the detection data;
determining the change duration of the detected data to the preset qualified data limit value based on the change speed;
when the change duration is not greater than a preset emergency duration, shortening the duration corresponding to the reference power supply period based on a preset adjustment amplitude to obtain the power supply period;
and when the change time length is longer than the preset emergency time length, prolonging the time length corresponding to the reference power supply period based on the preset adjustment amplitude to obtain the power supply period.
3. The power supply control method according to claim 1, characterized by further comprising:
acquiring the residual electric quantity of the electric power storage power supply;
when the detection data of the object to be detected is not in the range value of the preset detection qualified data or the residual electric quantity is smaller than the preset electric quantity threshold value, alarm information representing abnormal detection is sent to the alarm module;
when the alarm time length of the alarm module responding to the alarm information meets the preset alarm time length, the power switch is controlled to enable the detection device to be in a power-off state.
4. A power control device, characterized by a controller applied to a detection device, the detection device further comprising at least: the detection module, the electric power storage power, switch and alarm module, power controlling means includes:
a reference time acquisition unit configured to acquire, when the detection device is powered by the power storage power supply only and the detection device is in a power-off state, a time at which the power switch is controlled last time to make the detection device in a power-on state, and record as a reference time;
the power supply control unit is used for controlling the power supply switch to be turned on when the time difference between the current time and the reference time is not smaller than the duration corresponding to the power supply period, so that the detection device is in an electrified state in a preset time period, wherein the power supply period is obtained by controlling the power supply switch to be turned on for the last time according to the reference power supply period when the detection device is in the electrified state and adjusting the duration according to a preset adjustment rule, and the preset adjustment rule is used for reversely adjusting the reference power supply period according to the change speed.
5. The power supply control device according to claim 4, wherein the power supply control unit includes:
the data acquisition subunit is used for acquiring historical detection data of the object to be detected and the detection data of the object to be detected, which are acquired by the detection module at the current moment, after the power switch is controlled last time to enable the detection device to be in an electrified state, wherein the historical detection data are detection data of all moments before the current moment;
a data analysis subunit, configured to analyze based on the detection data and the historical detection data, determine a data variation of the detection data of the object to be detected within a preset time interval, and record the data variation as a variation speed of the detection data;
a time length determining subunit, configured to determine a time length of change from the detected data to the preset qualified data limit value based on the change speed;
the power supply period first determining subunit is used for shortening the time length corresponding to the reference power supply period based on a preset adjustment amplitude to obtain the power supply period when the change time length is not greater than a preset emergency time length;
and the power supply period second determining subunit is used for prolonging the time length corresponding to the reference power supply period based on the preset adjustment amplitude to obtain the power supply period when the change time length is longer than the preset emergency time length.
6. The power supply control device according to claim 4, characterized by further comprising:
the electric quantity acquisition unit is used for acquiring the residual electric quantity of the power storage power supply;
the information sending subunit is used for sending alarm information representing abnormal detection to the alarm module when the detection data of the object to be detected is not in a preset detection qualified data range value or the residual electric quantity is smaller than a preset electric quantity threshold value;
and the power-off subunit is used for controlling the power switch to enable the detection device to be in a power-off state when the alarm duration of the alarm module responding to the alarm information meets the preset alarm duration.
7. A power control apparatus comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the respective steps of the power supply control method according to any one of claims 1 to 3.
8. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the power control method according to any one of claims 1-3.
CN202311815816.5A 2023-12-26 2023-12-26 Power supply control method, device, equipment and storage medium Pending CN117767255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311815816.5A CN117767255A (en) 2023-12-26 2023-12-26 Power supply control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311815816.5A CN117767255A (en) 2023-12-26 2023-12-26 Power supply control method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117767255A true CN117767255A (en) 2024-03-26

Family

ID=90317969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311815816.5A Pending CN117767255A (en) 2023-12-26 2023-12-26 Power supply control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117767255A (en)

Similar Documents

Publication Publication Date Title
US20190190271A1 (en) Hybrid power supply method, device, and micro-energy power supply based on micro-energy collection
CN111007781A (en) Control method and system of environment monitoring device
TWI584113B (en) Smart energy-saving control system
WO2002061917A1 (en) Power supply
US9837838B2 (en) Collecting module, new lead-acid battery, charge and discharge control device and intelligent battery
US20160111880A1 (en) Power controller, power control method, and power control system
CN112977160A (en) Battery management method, battery system, vehicle, and computer storage medium
CN112616178A (en) Energy consumption management method and device, electronic equipment and storage medium
CN111480279A (en) Hybrid power supply control system for supplying electrical power to a load, and corresponding method and sensor comprising such a control system
CN111044912B (en) Dormancy monitoring system and method
KR20200032293A (en) Remote control system of energe storage apparatus having uninterruptible power system using terminal and its operation method
CN105743167A (en) Energy-saving control system and method for smart garbage bin
CN112732062B (en) Energy management method and system for lightweight operating system of terminal of Internet of things
EP3158620A1 (en) Methods and apparatus for electronic device power
CN117767255A (en) Power supply control method, device, equipment and storage medium
JP6456153B2 (en) Power control apparatus, charge / discharge control method, and program
CN115000533A (en) Low-voltage energy storage battery management system and control method
CN112649724A (en) Power failure detection circuit and method and MCU chip
WO2017047480A1 (en) Energy-harvesting wireless device and system
CN114678920A (en) Storage battery charging control method and device and electric automobile
KR101376532B1 (en) Low-power automatic meter reading system and method using solar repeater and battery node
CN113433926A (en) Ultra-low power consumption fault detection method and ultra-low power consumption elevator opening/closing door fault detection device
CN213279887U (en) Low-power consumption infrared camera control circuit and infrared camera
AU2019100309A4 (en) Hybrid power supply method, device, and micro-energy power supply based on micro-energy collection
CN216016459U (en) Low-power-consumption intelligent charge and discharge controller

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