Method for controlling discharge by precisely attaching electrolysis electrode to single-chip microcomputer circuit

A single-chip microcomputer circuit controls electrolysis discharge by adjusting voltage and current using pulse width modulation, stabilizing hypochlorous acid concentration and pH, addressing instability issues in existing water electrolysis equipment.

CN119065301APending Publication Date: 2024-12-03SUZHOU YANTONG NEW MATERIAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411197624.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Existing water electrolysis equipment produces hypochlorous acid with unstable concentration and pH values, limiting its effectiveness in practical applications.

Method used

A method involving a single-chip microcomputer circuit to control electrolysis discharge by adjusting voltage and current values using pulse width modulation, with feedback control strategies to maintain stability.

Benefits of technology

Achieves stable hypochlorous acid concentration and pH values, ensuring precise control and effective electrolysis process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065301A_ABST
    Figure CN119065301A_ABST
Patent Text Reader

Abstract

The invention discloses a method for controlling discharge by precisely attaching a single-chip microcomputer circuit to an electrolysis electrode, and relates to the technical field of electrolyzed water generation, and the method comprises the following steps: designing a single-chip microcomputer control algorithm according to working parameters of the electrolysis electrode; the voltage and current values of the electrolysis electrode are adjusted by accurately controlling a pulse width modulation signal in the single chip microcomputer circuit; based on a feedback control strategy, performing fine tuning on the pulse width modulation signal to keep stable output; and verifying the deviation between the adjusted pulse width modulation signal and the target precision. According to the discharge control method for precisely attaching the single-chip microcomputer circuit to the electrolysis electrode, a single-chip microcomputer control algorithm is designed according to working parameters of the electrolysis electrode; the voltage and current values of the electrolysis electrode are adjusted by accurately controlling the pulse width modulation signal in the single-chip microcomputer circuit, and the problem that the precision of the single-chip microcomputer circuit is insufficient when the single-chip microcomputer circuit controls the electrolysis electrode to discharge can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrolytic water generation, and in particular to a method for controlling discharge by a single-chip microcomputer circuit that is precisely fitted to an electrolytic electrode. Background Art

[0002] Electrolyzed water is a treatment technology widely used in the fields of disinfection and cleaning. In electrolyzed water, water is decomposed into hydrogen and oxygen through electrolysis, and some additional chemicals are produced. The most commonly used one is hypochlorous acid (HOCl). Hypochlorous acid has broad-spectrum bactericidal, disinfecting, bleaching and odor removal properties, so it is widely used in medical care, food processing, environmental protection and other fields.

[0003] However, existing water electrolysis equipment usually produces a certain concentration of hypochlorous acid, but these hypochlorous acids often have problems such as unstable concentration and unstable pH value, which limits their effectiveness in practical applications. For this reason, we propose a method for controlling discharge by using a single-chip microcomputer circuit that precisely fits the electrolysis electrode. Summary of the invention

[0004] The purpose of the present invention is to provide a method for controlling discharge by a single-chip microcomputer circuit precisely fitting an electrolysis electrode, so as to solve the problem that the hypochlorous acid concentration and pH value of the existing water electrolysis equipment mentioned in the above background technology are often unstable and difficult to meet the actual application requirements.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a method for controlling discharge by accurately fitting an electrolytic electrode with a single-chip circuit, comprising:

[0006] Design the single chip microcomputer control algorithm according to the working parameters of the electrolysis electrode;

[0007] The voltage and current values ​​of the electrolysis electrodes are adjusted by precisely controlling the pulse width modulation signal in the single chip microcomputer circuit;

[0008] Based on the feedback control strategy, the pulse width modulation signal is fine-tuned to keep the output stable;

[0009] Verify the deviation of the adjusted PWM signal from the target accuracy.

[0010] Optionally, the steps specifically include: determining the working voltage and current range of the electrolysis electrode; selecting a corresponding algorithm model according to the electrode material characteristics; adjusting the feedback coefficient in the algorithm to ensure the control effect; setting the limit values ​​of the voltage rise and fall rates; and defining the pulse frequency range under specific working conditions.

[0011] Optionally, the steps specifically include: generating a reference voltage setting signal to a pulse width modulation (PWM) unit; adjusting the duty cycle of the PWM signal according to the set value; using a digital-to-analog converter to convert the PWM output into an analog voltage and apply it to the electrolysis electrode; controlling the voltage or current to increase smoothly from a minimum value to a desired value; and adjusting the PWM frequency to maintain the response speed at the target value.

[0012] Optionally, the steps specifically include: detecting the actual voltage and current of the electrolysis process through an A / D converter; calculating the difference between the set value and the actual measured value in real time; adjusting the subsequent PWM signal duty cycle according to the error size; repeating the feedback process until convergence within the desired accuracy is achieved; and enabling the error tolerance threshold function to ensure the stability of the system under changing environments.

[0013] Optionally, the steps specifically include: recording the average state of the PWM signal in continuous sampling cycles; comparing the differences in pulse signals in continuous cycles and evaluating consistency; comparing the set output range threshold to check for over-limit conditions; applying the least squares fitting method to calculate the actual error range of the pulse signal; and predicting possible output fluctuations in the future and making advance adjustments.

[0014] Optionally, fine-tuning the pulse width modulation signal based on the feedback control strategy includes: performing an initial fine-tuning based on actual current feedback; calculating the difference between the actual current value and the set current value; determining if the difference between the actual current value and the set current value exceeds a predefined small range and executing the next step, otherwise skipping further fine-tuning and maintaining the current setting; and implementing fine-tuning when the current difference exceeds the limit to reduce the error until a predetermined small range is reached.

[0015] Optionally, the step of performing initial fine-tuning based on actual current feedback also includes: calculating the correction amount required for current regulation based on the voltage output of the previous state; setting a formula so that if the correction amount exceeds a threshold range, the correction process is entered, otherwise it remains unchanged to ensure control accuracy; adjusting the pulse width of PWM according to the correction amount; observing and re-reading the current feedback value to confirm the impact after adjustment.

[0016] Optionally, calculating the correction required for current regulation based on the voltage output of the previous state also includes: evaluating the actual current deviation fed back in the current state; the proportionality depends on the ratio of the difference to the set deviation value; correspondingly increasing or decreasing the pulse width of PWM to achieve the target correction amount; executing the correction action and re-evaluating the final effect.

[0017] Optionally, the increase or decrease of the PWM pulse width that needs to be corrected is calculated to compensate for the error; the adjustment amount is implemented and the adjustment effect is monitored in real time to ensure stable control of the target current output accuracy fluctuating within the allowable range; if the adjustment result does not meet the conditions, continue to monitor until the next condition is activated and then make appropriate adjustments to further optimize the feedback closed-loop performance.

[0018] Optionally, the current value after implementation is measured again to check whether it meets the preset error requirement, and to determine subsequent actions to maintain the system working within the set accuracy.

[0019] The single-chip microcomputer circuit of the present invention accurately fits the electrolysis electrode to control discharge and has the following advantages: the voltage and current values ​​of the electrolysis electrode are adjusted by accurately controlling the pulse width modulation signal in the single-chip microcomputer circuit; based on the feedback control strategy, the pulse width modulation signal is fine-tuned to maintain output stability; the deviation between the adjusted pulse width modulation signal and the target accuracy is verified; through the solution of the embodiment of the present disclosure, the problem of how to solve the problem of insufficient accuracy of the single-chip microcomputer circuit when controlling the discharge of the electrolysis electrode can be solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 The present invention is a control flow diagram of a method for controlling discharge by a single-chip microcomputer circuit precisely fitting an electrolytic electrode. DETAILED DESCRIPTION

[0021] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.

[0022] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein may be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein may be implemented independently of any other aspect, and two or more of these aspects may be combined in various ways. For example, any number of aspects described herein may be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein may be used to implement this device and / or practice this method.

[0023] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The drawings only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0024] In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the aspects described can be practiced without these specific details. The present invention provides a technical solution: a method for controlling discharge by a single-chip circuit precisely fitting an electrolytic electrode, comprising:

[0025] Design the single chip microcomputer control algorithm according to the working parameters of the electrolysis electrode;

[0026] The voltage and current values ​​of the electrolysis electrodes are adjusted by precisely controlling the pulse width modulation signal in the single chip microcomputer circuit;

[0027] Based on the feedback control strategy, the pulse width modulation signal is fine-tuned to keep the output stable;

[0028] Verify the deviation of the adjusted PWM signal from the target accuracy.

[0029] Specifically, when the control algorithm needs to increase the current, it can be achieved by increasing the duty cycle. When the current needs to be reduced, it can be achieved by reducing the duty cycle. After fine-tuning the duty cycle of the PWM signal, recalculate the deviation between the duty cycle of the PWM signal and the value required by the control algorithm. If the deviation is still greater than the preset range, continue fine-tuning. If the deviation is less than the preset range, stop fine-tuning. The voltage and current values ​​of the electrolysis electrode can be adjusted by accurately controlling the duty cycle of the PWM signal in the single-chip microcomputer circuit to achieve precise control of the electrolysis process.

[0030] The specific steps include: determining the working voltage and current range of the electrolytic electrode; selecting the corresponding algorithm model according to the characteristics of the electrode material; adjusting the feedback coefficient in the algorithm to ensure the control effect; setting the limit of the voltage rise and fall rate; defining the pulse frequency range under specific working conditions. Based on the different physical properties of different electrode materials, it is key to use an algorithm that matches their characteristics. Choosing the control algorithm that best suits a given application scenario helps to achieve more precise electrode control and achieve the expected performance. Taking platinum as the positive electrode as an example, a PI (proportional-integral) regulator can be selected to deal with the stability and reactivity of this precious metal electrode. If more complex materials such as titanium-plated iridium are used, more advanced control methods such as PID (proportional-integral-differential) may be required to better adjust parameters to adapt to complex reaction changes.

[0031] The steps specifically include: generating a reference voltage setting signal to a pulse width modulation (PWM) unit; adjusting the duty cycle of the PWM signal according to the set value; using a digital-to-analog converter to convert the PWM output into an analog voltage and apply it to the electrolysis electrode; controlling the voltage or current to increase smoothly from a minimum value to a desired value; adjusting the PWM frequency to maintain the response speed under the target value. The feedback mechanism ensures that the system can quickly adjust the deviation and achieve the desired stability target. For example, when implementing a PID control strategy, key parameters such as Kp (proportional constant), Ki (integral constant) and Kd (differential term weight) can be fine-tuned to quickly respond to the influence of factors such as temperature fluctuations inside the electrolytic cell while minimizing system oscillation or overshoot problems.

[0032] The specific steps include: detecting the actual voltage and current of the electrolysis process through an A / D converter; calculating the difference between the set value and the actual measured value in real time; adjusting the subsequent PWM signal duty cycle according to the error size; repeating the feedback process until convergence within the desired accuracy is achieved; enabling the error tolerance threshold function to ensure the stability of the system in a changing environment, prevent equipment damage caused by sudden changes too quickly, and help achieve a smoother and controllable change process to ensure safe and stable electrodeposition behavior.

[0033] The specific steps include: recording the average state of the PWM signal in continuous sampling cycles; comparing the differences in pulse signals in continuous cycles and evaluating consistency; comparing the set output range threshold to check for over-limit conditions; applying the least squares fitting method to calculate the actual error range of the pulse signal; estimating possible output fluctuations in the future and making advance adjustments. In specific applications such as the manufacture of high-quality metal coatings, it may be necessary to set the operating frequency range between 30 and 50 kHz to produce a product film layer with fine particle size and uniform thickness to ensure good coverage during the continuous operation process without cavitation damage.

[0034] Fine-tuning the pulse width modulation signal based on the feedback control strategy includes: performing an initial fine-tuning based on actual current feedback; calculating the difference between the actual current value and the set current value; determining if the difference between the actual current value and the set current value exceeds a predefined small range and executing the next step, otherwise skipping further fine-tuning and maintaining the current setting; and implementing fine-tuning when the current difference exceeds the limit to reduce the error until the predetermined small range is reached.

[0035] The steps of performing initial fine-tuning based on actual current feedback also include: calculating the correction required for current regulation based on the voltage output of the previous state; setting a formula so that if the correction exceeds a threshold range, the correction process is entered, otherwise it remains unchanged to ensure control accuracy; adjusting the PWM pulse width according to the correction; observing and re-reading the current feedback value to confirm the impact of the adjustment.

[0036] Calculating the correction required for current regulation based on the voltage output of the previous state also includes: evaluating the actual current deviation fed back in the current state; the proportionality depends on the ratio of the difference to the set deviation value; correspondingly increasing or decreasing the PWM pulse width to achieve the target correction amount; executing the correction action and re-evaluating the final effect.

[0037] Calculate the increase or decrease of the PWM pulse width that needs to be corrected to compensate for the error; implement the adjustment amount and monitor the adjustment effect in real time to ensure stable control of the target current output accuracy within the allowable range; if the adjustment result does not meet the conditions, continue to monitor until the next condition is activated and then make appropriate adjustments to further optimize the feedback closed-loop performance.

[0038] The current value after implementation is measured again to check whether it meets the preset error requirements, and to determine subsequent actions to maintain the system working within the set accuracy.

[0039] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

Claims

1. A method for controlling discharge by using a single-chip microcomputer circuit to precisely fit the electrolytic electrode. It is characterized in that include: Design the single chip microcomputer control algorithm according to the working parameters of the electrolysis electrode; The voltage and current values ​​of the electrolysis electrodes are adjusted by precisely controlling the pulse width modulation signal in the single chip microcomputer circuit; Based on the feedback control strategy, the pulse width modulation signal is fine-tuned to keep the output stable; Verify the deviation of the adjusted PWM signal from the target accuracy.

2. According to claim 1, a single-chip circuit accurately fits the electrolytic electrode to control the discharge method, It is characterized in that The steps specifically include: determining the working voltage and current range of the electrolytic electrode; selecting the corresponding algorithm model according to the electrode material characteristics; adjusting the feedback coefficient in the algorithm to ensure the control effect; setting the limit values ​​of the voltage rise and fall rates; and defining the pulse frequency range under specific working conditions.

3. According to claim 1, a single-chip circuit accurately fits the electrolytic electrode to control the discharge method, It is characterized in that The steps specifically include: generating a reference voltage setting signal to a pulse width modulation (PWM) unit; adjusting the duty cycle of the PWM signal according to the set value; using a digital-to-analog converter to convert the PWM output into an analog voltage and apply it to the electrolysis electrode; controlling the voltage or current to increase steadily from a minimum value to a desired value; and adjusting the PWM frequency to maintain the response speed at the target value.

4. According to claim 3, a single-chip circuit accurately fits the electrolytic electrode to control discharge method, It is characterized in that The steps specifically include: detecting the actual voltage and current of the electrolysis process through an A / D converter; calculating the difference between the set value and the actual measured value in real time; adjusting the subsequent PWM signal duty cycle according to the error size; repeating the feedback process until the desired accuracy is converged; and enabling the error tolerance threshold function to ensure the stability of the system under changing environments.

5. According to claim 4, a method for controlling discharge by using a single-chip microcomputer circuit to precisely fit an electrolytic electrode, It is characterized in that The steps specifically include: recording the average state of the PWM signal in continuous sampling cycles; comparing the differences of the pulse signals in continuous cycles and evaluating the consistency; comparing the set output range threshold to check the over-limit situation; applying the least squares fitting method to calculate the actual error range of the pulse signal; estimating the output fluctuations that may occur in the future and making early adjustments.

6. A method for controlling discharge by using a single-chip microcomputer circuit to precisely fit an electrolytic electrode according to claim 4, It is characterized in that Fine-tuning the pulse width modulation signal based on the feedback control strategy includes: performing an initial fine-tuning based on actual current feedback; calculating the difference between the actual current value and the set current value; determining if the difference between the actual current value and the set current value exceeds a predefined small range and executing the next step, otherwise skipping further fine-tuning and maintaining the current setting; and implementing fine-tuning to reduce the error until the predetermined small range is reached when the current difference exceeds the limit.

7. A method for controlling discharge by using a single-chip microcomputer circuit to precisely fit an electrolytic electrode according to claim 1, It is characterized in that The steps of performing initial fine-tuning based on actual current feedback also include: calculating the correction required for current regulation based on the voltage output of the previous state; setting a formula so that if the correction exceeds a threshold range, the correction process is entered, otherwise it remains unchanged to ensure control accuracy; adjusting the PWM pulse width according to the correction; observing and re-reading the current feedback value to confirm the impact of the adjustment.

8. A method for controlling discharge by using a single-chip microcomputer circuit to precisely fit an electrolytic electrode according to claim 1, It is characterized in that Calculating the correction required for current regulation based on the voltage output of the previous state also includes: evaluating the actual current deviation fed back in the current state; the proportionality depends on the ratio of the difference to the set deviation value; correspondingly increasing or decreasing the PWM pulse width to achieve the target correction amount; executing the correction action and re-evaluating the final effect.

9. A method for controlling discharge by using a single-chip microcomputer circuit to precisely fit an electrolytic electrode according to claim 1, It is characterized in that Calculate the increase or decrease of the PWM pulse width that needs to be corrected to compensate for the error; implement the adjustment amount and monitor the adjustment effect in real time to ensure stable control of the target current output accuracy within the allowable range; if the adjustment result does not meet the conditions, continue to monitor until the next condition is activated and then make appropriate adjustments to further optimize the feedback closed-loop performance.

10. A method for controlling discharge by using a single-chip microcomputer circuit to precisely fit an electrolytic electrode according to claim 1, It is characterized in that The current value after implementation is measured again to check whether it meets the preset error requirements, and to determine subsequent actions to maintain the system working within the set accuracy.