Running time compensation method, device, controller, disinfection equipment and storage medium
By detecting the reversal action and running time in the metal ion sterilization equipment, the compensation time is determined and the running time is extended, thus solving the problem of insufficient sterilization time caused by power failure during reversal and ensuring the sterilization effect.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI YESHEN TECH CO LTD
- Filing Date
- 2023-12-19
- Publication Date
- 2026-07-17
AI Technical Summary
The metal ion disinfection equipment experienced a power outage during the polarity switching process, resulting in insufficient actual disinfection time and failing to achieve the expected disinfection effect.
By detecting the number of times the metal ion disinfection device reverses its polarity and the time it has been running, the target compensation time is determined, and the running time of the device is extended to compensate for the time loss caused by the power outage due to polarity reversal.
It effectively compensates for the disinfection time loss caused by power failure due to reverse polarity, ensuring that the disinfection equipment achieves the expected disinfection effect.
Smart Images

Figure CN117739529B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of disinfection equipment control technology, and in particular to a method, device, controller, disinfection equipment and storage medium for operating time compensation. Background Technology
[0002] In hot water systems, metal ion disinfection devices are used to disinfect the water. These devices can include silver ion disinfectors, copper ion disinfectors, copper-silver ion disinfectors, etc. A disinfector typically includes a controller and a pair of metal electrodes (such as copper, silver, or copper-silver alloy electrodes). The pair of metal ion generating electrodes serve as a cathode and an anode, respectively. After the device is operational, the controller applies a DC voltage to the pair of metal ion electrodes. When current flows through, the anode releases weak ions that diffuse into the water to disinfect and sterilize it. Furthermore, the controller controls the reversal of the polarity of the pair of metal electrodes according to a set time (referred to as "polarity reversal") to prevent uneven electrode wear.
[0003] However, during operation, a low voltage phenomenon may occur during polarity reversal, causing a very short power outage when the equipment switches between polarities. During the power outage, the metal ion disinfection equipment does not actually operate, but the preset theoretical operating time does not take this power outage time into account. As a result, the actual operating time (i.e., disinfection time) does not reach the theoretical operating time, leading to a loss of disinfection time and failure to achieve the expected disinfection effect. Summary of the Invention
[0004] In view of the shortcomings of the prior art described above, the purpose of this disclosure is to provide a running time compensation method, apparatus, controller, disinfection equipment and storage medium to solve the problems in the related art.
[0005] The first aspect of this disclosure provides a runtime compensation method applied to a metal ion disinfection device, the metal ion disinfection device including at least one pair of electrodes capable of being reverse-polarized; the method includes: determining a corresponding target compensation time based on the number of reverse-polarization actions detected in the metal ion disinfection device and / or the running time; and extending the running time of the metal ion disinfection device by the target compensation time.
[0006] In an embodiment of the first aspect, determining the corresponding target compensation time based on the number of times the metal ion disinfection device has been detected to perform a reversal operation includes: accumulating each reversal operation that has occurred within the operating time to obtain the number of reversals; and obtaining the target compensation time by multiplying the preset unit time corresponding to each reversal operation by the number of reversals.
[0007] In an embodiment of the first aspect, the preset unit time is a times the execution time of the reversing action; a is in the range of 0 to 0.6, or in the range of 0.6 to 1; and / or, the preset unit time is a preset time value; the preset time value is in the range of 0 to 0.6 seconds, or in the range of 0.6 seconds to 1 second.
[0008] In an embodiment of the first aspect, determining the corresponding target compensation time based on the operating time of the metal ion disinfection device includes: determining the target compensation time according to a preset proportion of the operating time.
[0009] In an embodiment of the first aspect, determining a corresponding target compensation time based on the number of times the metal ion disinfection device has reversed its polarity and the running time includes: determining a first alternative compensation time based on the number of times the metal ion disinfection device has reversed its polarity; determining a second alternative compensation time based on the running time; and obtaining the target compensation time based on the weighted sum of the first alternative compensation time and the second alternative compensation time.
[0010] A second aspect of this disclosure provides a runtime compensation device for use in a metal ion disinfection device, the metal ion disinfection device including at least one pair of electrodes that can be reverse-polarized; the runtime compensation device includes: a compensation time determination module, used to determine a corresponding target compensation time based on the number of reverse-polarization actions detected in the metal ion disinfection device and / or the running time; and a running control module, used to extend the running time of the metal ion disinfection device to the target compensation time.
[0011] This disclosure provides a controller for use in a metal ion disinfection device; the controller includes: a processor and a memory; the memory stores program instructions; the processor is configured to run the program instructions to perform the runtime compensation method as described in any one of the first aspects.
[0012] This disclosure provides a fourth aspect of a metal ion disinfection device, comprising: a first metal electrode; a second metal electrode; an operating actuator coupled to a power supply, for switching the positive and negative terminals of the power supply to different conduction states with the first and second metal electrodes in response to a reversal command, including: a first conduction state in which the positive terminal of the power supply is connected to the first metal electrode and the negative terminal of the power supply is connected to the second metal electrode; and a second conduction state in which the negative terminal of the power supply is connected to the first metal electrode and the positive terminal of the power supply is connected to the first metal electrode; and a controller as described in the third aspect, coupled to the actuator, for outputting the reversal command.
[0013] In a fourth aspect embodiment, the operating actuator includes: a positive operating actuator, comprising: a first conductive path connecting the positive terminal of the power supply and a first metal electrode, and having a first switch for switching the first conductive path on and off; a second conductive path connecting the negative terminal of the power supply and a second metal electrode, and having a second switch for switching the second conductive path on and off; wherein the first switch and the second switch are configured to have the same switching state; a negative operating actuator, comprising: a third conductive path connecting the negative terminal of the power supply and the first metal electrode, and having a third switch for switching the third conductive path on and off; a fourth conductive path connecting the positive terminal of the power supply and the second metal electrode, and having a fourth switch for switching the fourth conductive path on and off; wherein the third switch and the fourth switch are configured to have the same switching state; and a controller, comprising: a first control terminal connected to and controlling the switching states of the first switch and the second switch; and a second control terminal connected to and controlling the switching states of the third switch and the fourth switch; the output signal of the first control terminal or the second control terminal forms the reverse polarity command.
[0014] The fifth aspect of this disclosure provides a computer-readable storage medium storing program instructions that are executed to perform the runtime compensation method as described in any one of the first aspects.
[0015] As described above, this disclosure provides a running time compensation method, apparatus, controller, disinfection equipment, and storage medium. The running time compensation method includes: determining a corresponding target compensation time based on the number of times the metal ion disinfection equipment has reversed its polarity and / or the running time; and extending the running time of the metal ion disinfection equipment to the target compensation time. By performing corresponding time compensation for the polarity reversal during the running time of the metal ion disinfection equipment, the running time loss caused by power outages during the polarity reversal process is compensated, thus maintaining a good disinfection effect. Attached Figure Description
[0016] Figure 1 A flowchart illustrating a runtime compensation method according to an embodiment of this disclosure is shown.
[0017] Figure 2 The following is a flowchart illustrating the method for determining the corresponding target compensation time based on the number of reversal actions in step S101 of one embodiment.
[0018] Figure 3 This illustration shows a flowchart of an embodiment of the present disclosure that combines the results of two methods to obtain the target compensation time.
[0019] Figure 4 A schematic diagram of the running time compensation device in one embodiment of this disclosure is shown.
[0020] Figure 5A schematic diagram of the controller structure in one embodiment of this disclosure is shown.
[0021] Figure 6 A schematic diagram of the structure of a metal ion disinfection device according to one embodiment of the present disclosure is shown. Detailed Implementation
[0022] The following specific examples illustrate the implementation of this disclosure. Those skilled in the art can easily understand other advantages and effects of this disclosure from the information disclosed herein. This disclosure can also be implemented or applied through other different specific embodiments, and various details in this disclosure can be modified or changed according to different viewpoints and application modules without departing from the spirit of this disclosure. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of this disclosure can be combined with each other.
[0023] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings, so that those skilled in the art to which this disclosure pertains can readily implement it. This disclosure may be embodied in many different forms and is not limited to the embodiments described herein.
[0024] In this disclosure, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic represented in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. Furthermore, the specific features, structures, materials, or characteristics represented may be combined in any suitable manner in any one or a group of embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples represented in this disclosure, as well as the features of those different embodiments or examples.
[0025] Furthermore, the terms "first" and "second" are used for illustrative purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the representation of this disclosure, "a set" means two or more, unless otherwise explicitly specified.
[0026] For the purpose of clarity, devices unrelated to the description are omitted, and the same or similar components throughout the specification are given the same reference numerals.
[0027] Throughout this specification, when it is said that a device is "connected" to another device, this includes not only "direct connection" but also "indirect connection" by placing other components in between. Furthermore, when it is said that a device "comprises" a certain constituent element, unless otherwise stated otherwise, this does not exclude other constituent elements, but rather implies that other constituent elements may be included.
[0028] While the terms first, second, etc., are used in some examples herein to refer to various elements, these elements should not be limited by these terms. These terms are used only to distinguish one element from another. For example, first interface and second interface, etc., are used. Furthermore, as used herein, the singular forms “a,” “an,” and “the” are intended to also include the plural forms unless the context indicates otherwise. It should be further understood that the terms “comprising,” “including,” indicate the presence of the stated feature, step, operation, element, module, item, kind, and / or group, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, modules, items, kinds, and / or groups. The terms “or” and “and / or” as used herein are interpreted as inclusive, or mean any one or any combination thereof. Thus, “A, B, or C” or “A, B, and / or C” means “any one of: A; B; C; A and B; A and C; B and C; A, B, and C.” Exceptions to this definition will only occur if the combination of elements, functions, steps, or operations is inherently mutually exclusive in some way.
[0029] The technical terms used herein are for reference only to specific embodiments and are not intended to limit the scope of this disclosure. The singular form used herein includes the plural form unless the statement explicitly indicates otherwise. The word "comprising" as used in this specification means to specify a particular characteristic, region, integer, step, operation, element, and / or component, and does not exclude the presence or addition of other characteristics, regions, integers, steps, operations, elements, and / or components.
[0030] Although not explicitly defined, all terms, including technical and scientific terms used herein, shall have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains. Terms defined in commonly used dictionaries shall be further interpreted as having a meaning consistent with the relevant technical literature and the message of the present disclosure, and shall not be over-interpreted as having an ideal or overly formulaic meaning unless otherwise defined.
[0031] During operation, the controller of a metal ion disinfection device will control the reversal of the positive and negative polarities of a pair of metal electrodes according to the set time (referred to as "polarity reversal") to prevent uneven consumption of the electrodes. A voltage undervoltage phenomenon will occur during polarity reversal, causing a very short power outage. This results in the actual operating time (i.e., disinfection time) falling short of the preset theoretical operating time, leading to a loss of disinfection time and failing to achieve the expected disinfection effect.
[0032] In view of this, the present disclosure provides a running time compensation method, which compensates for the disinfection time loss by compensating for the corresponding time of the polarity reversal during the running process.
[0033] like Figure 1 The diagram shows a flowchart illustrating the runtime compensation method in an embodiment of this disclosure.
[0034] The runtime compensation method is applied to a metal ion disinfection device, which includes at least one pair of electrodes capable of being reverse-polarized. Exemplarily, the runtime compensation method can be implemented by a controller in the metal ion disinfection device running program instructions. Exemplarily, depending on the type of metal ion disinfection device, such as silver ion, copper ion, or copper-silver ion disinfection devices, the electrodes can be made of silver, copper, or a combination of copper and silver.
[0035] exist Figure 1 The runtime compensation method includes:
[0036] Step S101: Determine the corresponding target compensation time based on the number of times the metal ion disinfection device has reversed its polarity and / or the running time.
[0037] In some embodiments, the target compensation time can be determined based on the number of reversal cycles of the metal ion sterilization device. For example... Figure 2 The diagram illustrates how the target compensation time is determined based on the number of reversal actions in step S101.
[0038] exist Figure 2 The process specifically includes:
[0039] Step S201: Accumulate each polarity reversal action that occurred within the running time to obtain the number of polarity reversals.
[0040] Step S202: Obtain the target compensation time by multiplying the preset unit time corresponding to each polarity reversal action by the number of polarity reversals.
[0041] For example, if 5 reversal actions occur during a disinfection time cycle, and the preset unit time for each action is 0.6 seconds, then the target compensation time is 5 * 0.6 = 3 seconds.
[0042] The preset unit time can refer to the execution time of the reverse polarity action, or the power outage time within the execution time.
[0043] In some embodiments, the preset unit time can be *a* times the execution time of the polarity reversal action; *a* is in the range of 0 to 0.6, or in the range of 0.6 to 1. *a* can refer to the execution time of the polarity reversal action or the power outage time within that execution time. For example, if the polarity reversal action is 1 second, and *a* is set to 1, then the preset unit time is 1 * 1 = 1 second. Alternatively, if the polarity reversal action is 1 second, and the power outage time is between 0.4 and 0.6 seconds, then *a* can be set to, for example, 0.6, meaning the preset unit time is 1 * 0.6 = 0.6 seconds.
[0044] In some embodiments, the preset unit time is a preset time value. The preset time value is in the range of 0 to 0.6 seconds, or in the range of 0.6 seconds to 1 second. For example, if the reversal action is 1 second, the preset unit time is 1 second. Or, if the reversal action is 1 second, and the power-off time is 0.4 to 0.6 seconds, then the preset unit time is set to 0.6 seconds.
[0045] In some embodiments, since the polarity reversal action occurs periodically at preset durations during operation, the operating time of the metal ion disinfection device can also reflect the number of polarity reversal actions. Therefore, determining the corresponding target compensation time based on the operating time of the metal ion disinfection device includes: determining the target compensation time according to a preset proportion of the operating time.
[0046] For example, if the running time is 5 minutes, assuming that theoretically a reversal occurs once per minute, each time for 1 second, and the power outage time is 0.4 to 0.6 seconds, then the preset ratio can be set to, for example, 1 / 60 or 1 / 100.
[0047] The above provides two methods for determining the target compensation time based on "number of polarity reversals of the metal ion disinfection device" and "running time". Considering the potential error fluctuations that may exist in a single method, in another embodiment, the results of both methods can be combined to obtain the target compensation time.
[0048] like Figure 3 The diagram illustrates a process flow for obtaining the target compensation time by combining the results of two methods in one embodiment of this disclosure.
[0049] exist Figure 3 The process includes:
[0050] Step S301: Determine the first alternative compensation time based on the number of times the metal ion disinfection device reverses its polarity.
[0051] The implementation of step S301 can be referred to Figure 2 The process in the process.
[0052] Step S302: Determine a second alternative compensation time based on the detected running time.
[0053] Step S303: Obtain the target compensation time based on the weighted sum of the first alternative compensation time and the second alternative compensation time.
[0054] It should be noted that the weighted sum of the first and second alternative compensation times in the weighted sum is 1. The weight can be set according to the confidence (i.e., accuracy) of the two methods. For example, if the first alternative compensation time determined based on "the number of times the metal ion disinfection device reverses its polarity" is considered more accurate, then the corresponding weight is set to 0.6 to 0.8; correspondingly, the weight of the second alternative compensation time determined based on "running time" is 0.4 to 0.2.
[0055] In one example, let the first alternative compensation time be 3 seconds, with a corresponding weight of 0.8; the second alternative compensation time be 2.8 seconds, with a corresponding weight of 0.2; then the target compensation time is 3*0.8+2.8*0.2=2.96 seconds.
[0056] Step S102: Extend the operating time of the metal ion disinfection device to the target compensation time.
[0057] In some embodiments, the target compensation time can be extended after the operating time of the metal ion disinfection device in each cycle. For example, if the operating time is 1 hour and the target compensation time is 1 minute, then after the 1-hour operating time is completed, the device can continue to operate for another 1 minute.
[0058] like Figure 4 The diagram shows a schematic representation of a runtime compensation device according to an embodiment of this disclosure. It should be noted that the principle and technical implementation of the runtime compensation device can refer to the runtime compensation method in previous embodiments, therefore, it will not be repeated in this embodiment.
[0059] The running time compensation device 400 includes:
[0060] The compensation time determination module 401 is used to determine the corresponding target compensation time based on the number of times the metal ion disinfection device has reversed its polarity and / or the running time.
[0061] The operation control module 402 is used to extend the operating time of the metal ion disinfection device to the target compensation time.
[0062] It should be noted that, in Figure 4 The various functional modules in the embodiments can be implemented, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, they can be implemented, in whole or in part, in the form of a program instruction product. A program instruction product includes one or a set of program instructions. When the program instructions are loaded and executed on a computer, all or part of the flow or function according to this disclosure is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The program instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another.
[0063] and, Figure 4 The apparatus disclosed in the embodiments can be implemented through other modular division methods. The apparatus embodiments shown above are merely illustrative. For example, the module division is only a logical functional division, and in actual implementation, there may be other division methods. For example, a group of modules or modules may be combined or dynamically integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces, and the indirect coupling or communication connection between devices or modules may be electrical or other forms.
[0064] in addition, Figure 4 The functional modules and sub-modules in the embodiments can be dynamically integrated within a single processing unit, or each module can exist physically independently, or two or more modules can be dynamically integrated within a single unit. These dynamic units can be implemented in hardware or as software functional modules. If these dynamic units are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. This storage medium can be a read-only memory, a hard disk, or an optical disk, etc.
[0065] It should be specifically noted that the flowchart representations of the embodiments described above in this disclosure can be understood as representing modules, segments, or portions of code comprising one or more sets of executable instructions configured to implement specific logical functions or processes. Furthermore, the scope of the preferred embodiments of this disclosure includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved.
[0066] For example, Figure 1 , Figure 2 , Figure 3 The order of the steps in the method embodiments may vary in specific scenarios and is not limited to the above representation.
[0067] like Figure 5 The diagram shown illustrates the structure of a controller in one embodiment of this disclosure.
[0068] The controller 500 can be applied to metal ion disinfection equipment to control the operation and polarity reversal of the metal ion disinfection equipment.
[0069] The controller 500 includes a bus 501, a processor 502, and a memory 503. The processor 502 and the memory 503 can communicate via the bus 501. The memory 503 can store program instructions. The processor 502 implements the steps of the runtime compensation method in the previous embodiment by executing the program instructions in the memory 503, for example... Figure 1 , Figure 2 ,or Figure 3 .
[0070] Bus 501 can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, although only one thick line is used in the diagram, this does not indicate that there is only one bus or one type of bus.
[0071] In some embodiments, processor 502 may be implemented as a central processing unit (CPU), microprocessor unit (MCU), system-on-chip (System-on-Chip), or field-programmable array (FPGA). Memory 503 may include volatile memory for temporary data storage during program execution, such as random access memory (RAM).
[0072] The memory 503 may also include non-volatile memory for data storage, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state disk (SSD).
[0073] In some embodiments, the controller 500 may further include a communicator 504. The communicator 504 is used for communication with external devices. In specific examples, the communicator 504 may include one or more wired and / or wireless communication circuit modules. For example, the communicator 504 may include one or more of the following: a wired network card, a USB module, a serial interface module, etc. The wireless communication protocols followed by the wireless communication module include, for example, Nearfield communication (NFC) technology, Infrared (IR) technology, Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), Bluetooth (BT), Global Navigation Satellite System (GNSS), etc.
[0074] like Figure 6 The diagram shows a schematic representation of a metal ion disinfection device according to an embodiment of this disclosure.
[0075] The metal ion disinfection device includes: a first metal electrode 601, a second metal electrode 602, an actuator 603, and a controller 604. The controller 604 can be... Figure 5 The controller 500 is implemented in the system.
[0076] The first metal electrode 601 and the second metal electrode 602 are used as positive and negative electrodes, respectively, and can be reversed in polarity. For example, the first metal electrode 601 and the second metal electrode 602 can be made of copper, silver, or a combination of copper and silver.
[0077] The operating actuator 603 is coupled to the positive (+) and negative (-) terminals of the power supply 605. The operating actuator 603 is used to switch the positive and negative terminals of the power supply to different conduction states with the first metal electrode 601 and the second metal electrode 602 in response to a reversal command. Specifically, the different conduction states include: a first conduction state where the positive terminal of the power supply is connected to the first metal electrode 601 and the negative terminal of the power supply is connected to the second metal electrode 602; and a second conduction state where the negative terminal of the power supply is connected to the first metal electrode 601 and the positive terminal of the power supply is connected to the first metal electrode 601.
[0078] As an example, the operating actuator 603 includes a positive operating actuator 631 and a negative operating actuator 632.
[0079] The operating actuator 631 includes: a first conductive path connecting the positive terminal of the power supply and the first metal electrode 601, and a first switch 6311 for switching the first conductive path on and off; and a second conductive path connecting the negative terminal of the power supply and the second metal electrode 602, and a second switch 6312 for switching the second conductive path on and off; wherein the first switch 6311 and the second switch 6312 are configured to have the same switching state.
[0080] The negative operating actuator 632 includes: a third conductive path connecting the negative terminal of the power supply to the first metal electrode 601, and a third switch 6321 for switching the third conductive path on and off; and a fourth conductive path connecting the positive terminal of the power supply to the second metal electrode 602, and a fourth switch 6322 for switching the fourth conductive path on and off; wherein the third switch 6321 and the fourth switch 6322 are configured to have the same switching state.
[0081] The controller 604 includes: a first control terminal 641, connected to and controlling the switching states of the first switch 6311 and the second switch 6312; and a second control terminal 642, connected to and controlling the switching states of the third switch 6321 and the fourth switch 6322. The output signal of the first control terminal 641 or the second control terminal 642 forms the polarity reversal command. Exemplarily, the controller 604 can run a positive operation strategy and a negative operation strategy, respectively. The positive operation strategy is used to output a first control command to the positive operation actuator 631, and the positive operation strategy is used to output a second control command to the negative operation actuator 632. The first control command or the second control command implements the polarity reversal command. For example... Figure 6As shown, the first control command controls the first switch 6311 and the second switch 6312 of the positive operating actuator 631 to be turned on, so that the first metal electrode 601 is connected to the positive terminal (+) of the power supply and the second metal electrode 602 is connected to the negative terminal (-) of the power supply. Simultaneously, if the second control command is not output, the third switch 6321 and the fourth switch 6322 of the negative operating actuator are turned off. Alternatively, in other embodiments, without outputting the first control command, the first switch 6311 and the second switch 6312 of the positive operating actuator 631 are turned off, while the second control command is output to control the third switch 6321 and the fourth switch 6322 of the negative operating actuator to be turned on, so that the first metal electrode 601 is connected to the negative terminal (-) of the power supply and the second metal electrode 602 is connected to the positive terminal (+) of the power supply. Thus, the reversal of polarity can be achieved through the first and second control commands.
[0082] Furthermore, the controller 604 delays the execution of the compensation time after the execution time is completed by running the execution time compensation method in the previous embodiment.
[0083] This disclosure also provides a computer-readable storage medium storing program instructions that, when run, implement the runtime compensation method of any of the previous embodiments.
[0084] That is, the method steps in the above embodiments are implemented as software or computer code that can be stored in a recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto-optical disk), or implemented as computer code that is originally stored in a remote recording medium or a non-transitory machine-readable medium and will be stored in a local recording medium after being downloaded via a network, so that the method represented herein can be stored in such software processing on a recording medium using a general-purpose computer, a special processor or programmable or special hardware (such as ASIC or FPGA).
[0085] In summary, this disclosure provides a running time compensation method, apparatus, controller, disinfection equipment, and storage medium. The running time compensation method includes: determining a corresponding target compensation time based on the number of times the metal ion disinfection equipment has reversed its polarity and / or the running time; and extending the running time of the metal ion disinfection equipment to the target compensation time. By performing corresponding time compensation for the polarity reversal during the running time of the metal ion disinfection equipment, the running time loss caused by power outages during the polarity reversal process is compensated, thus maintaining a good disinfection effect.
[0086] The above embodiments are merely illustrative of the principles and effects of this disclosure and are not intended to limit this disclosure. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this disclosure. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this disclosure should still be covered by the claims of this disclosure.
Claims
1. A runtime compensation method, characterized in that, The method is applied to a metal ion disinfection device, the metal ion disinfection device comprising at least one pair of electrodes capable of being switched by polarity reversal; the method includes: The target compensation time is determined based on the number of reversal actions detected by the metal ion disinfection device and the operating time, including: determining a first alternative compensation time based on the number of reversal actions detected by the metal ion disinfection device; determining a second alternative compensation time based on the operating time; and obtaining the target compensation time based on the weighted sum of the first and second alternative compensation times. The calculation method of the first alternative compensation time includes: accumulating each reversal action that occurs within the operating time to obtain the number of reversals; obtaining the first alternative compensation time by multiplying the preset unit time corresponding to each reversal action by the number of reversals; the preset unit time is set with reference to the power outage time in the execution time of each reversal action; the preset unit time is a times the execution time of the reversal action or a preset time value, and the preset unit time falls within the range of the power outage time. The calculation method of the second alternative compensation time includes: determining the second alternative compensation time based on a preset proportion of the operating time; the preset proportion makes the calculated second alternative compensation time correspond to the sum of the power outage times of each reversal within the operating time. The target compensation time is extended by extending the operating time of the metal ion disinfection equipment.
2. A running time compensation device, characterized in that, Applied to metal ion disinfection equipment, the metal ion disinfection equipment includes at least one pair of electrodes that can be switched by reversing the polarity; The running time compensation device includes: The compensation time determination module is used to determine a corresponding target compensation time based on the number of reversal actions detected by the metal ion disinfection device and the running time. This includes: determining a first alternative compensation time based on the number of reversal actions detected by the metal ion disinfection device; determining a second alternative compensation time based on the running time; and obtaining the target compensation time based on the weighted sum of the first and second alternative compensation times. The calculation method for the first alternative compensation time includes: accumulating each reversal action that occurs within the running time to obtain the number of reversals; obtaining the first alternative compensation time by multiplying the preset unit time corresponding to each reversal action by the number of reversals; the preset unit time is set with reference to the power outage time in the execution time of each reversal action; the preset unit time is a times the execution time of the reversal action or a preset time value, and the preset unit time falls within the range of the power outage time. The calculation method for the second alternative compensation time includes: determining the second alternative compensation time based on a preset proportion of the running time; the preset proportion ensures that the calculated second alternative compensation time corresponds to the sum of the power outage times of each reversal action within the running time. The operation control module is used to extend the operating time of the metal ion disinfection device to the target compensation time.
3. A controller, characterized in that, Applications in metal ion disinfection equipment; The controller includes: Processor and memory; The memory stores program instructions; The processor is configured to run the program instructions to perform the runtime compensation method as described in claim 1.
4. A metal ion disinfection device, characterized in that, include: First metal electrode; Second metal electrode; An actuator, coupled to a power supply, is used to switch the positive and negative terminals of the power supply to different conduction states with the first and second metal electrodes in response to a reversal command. This includes: a first conduction state in which the positive terminal of the power supply is connected to the first metal electrode and the negative terminal of the power supply is connected to the second metal electrode; and a second conduction state in which the negative terminal of the power supply is connected to the first metal electrode and the positive terminal of the power supply is connected to the first metal electrode. The controller as described in claim 3 is coupled to the actuator and is used to output the reverse polarity command.
5. The metal ion disinfection device according to claim 4, characterized in that, The operating mechanism includes: The operating actuator includes: a first conductive path connecting the positive terminal of the power supply and a first metal electrode, and a first switch for switching the first conductive path on and off; and a second conductive path connecting the negative terminal of the power supply and a second metal electrode, and a second switch for switching the second conductive path on and off; wherein the first switch and the second switch are configured to have the same switching state. A negative operating actuator includes: a third conductive path connecting the negative terminal of the power supply to the first metal electrode, and a third switch for switching the third conductive path on and off; and a fourth conductive path connecting the positive terminal of the power supply to the second metal electrode, and a fourth switch for switching the fourth conductive path on and off; wherein the third switch and the fourth switch are configured to have the same switching state. The controller includes: a first control terminal, which is connected to and controls the switching states of the first switch and the second switch; a second control terminal, which is connected to and controls the switching states of the third switch and the fourth switch; and the output signal of the first control terminal or the second control terminal forms the polarity reversal command.
6. A computer-readable storage medium, characterized in that, The system stores program instructions that are executed to perform the runtime compensation method as described in claim 1.
Citation Information
Patent Citations
Electrochemical sterilization water treater
CN105417646A
Ion elution device, washer and ion elution method
JP2013090663A