Corrosion early warning circuit, corrosion early warning method, electronic equipment and storage medium
By designing a corrosion warning circuit constructed by Cantor set in electronic circuits, the problem of difficult circuit corrosion in corrosive gas environments is solved, and a gradual warning of the degree of corrosion failure is achieved, providing predictive maintenance of the circuit.
Patent Information
- Application Number
- CN202411642001.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-02-28
AI Technical Summary
In a corrosive gas environment, the metal parts of the electronic circuit are prone to corrosion, resulting in circuit failure. The prior art cannot effectively monitor the corrosion process, resulting in sudden circuit failure and causing losses.
A corrosion warning circuit is designed, and by configuring the PCB body and grounding resistors constructed by different Cantor sets, the detection module is used to test the corrosion degree of PCB lines to achieve a gradual early warning of the corrosion failure degree.
Through the design of Cantor set, PCB lines of different thicknesses in the circuit fail in sequence in the corrosion gas environment, output different detection results, realize gradual early warning of the degree of corrosion failure and provide predictive maintenance of the circuit.
Smart Images

Figure CN119534293A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic circuits, and in particular to a corrosion warning circuit, a corrosion warning method, an electronic device and a storage medium. Background Art
[0002] In a corrosive gas environment, such as H2S atmosphere, the metal parts in the electronic circuit are prone to corrosion, causing circuit failure. The sensor can monitor the concentration of corrosive gases, but it cannot monitor the corrosion process. If the circuit fails suddenly due to corrosion, it will cause losses.
[0003] Therefore, how to characterize the progressive process of corrosion intensification and provide early warning information for circuit failure caused by corrosion, so as to achieve predictive maintenance of the circuit, is an urgent problem to be solved. Summary of the invention
[0004] In view of the above problems, the present application provides a corrosion warning circuit, a control circuit, an electronic device and a storage medium to at least solve the problems existing in the related art.
[0005] In a first aspect, the present invention provides a corrosion warning circuit, comprising: a PCB body and a grounding resistor, wherein:
[0006] The PCB body is arranged according to N groups of Cantor sets according to the early warning requirements, wherein each group of Cantor sets has a different shape, and N is a positive integer;
[0007] One end of the PCB line in the PCB body corresponding to each group of the Cantor set is connected to the grounding resistor and then grounded, and the other end is connected to a detection module to test the corrosion degree of the PCB line.
[0008] In one embodiment, M PCB lines are connected in parallel, where M is a positive integer ≥2.
[0009] In one embodiment, the corrosion warning circuit further includes: a digital signal conversion module, wherein the M PCB lines are connected in parallel, one end of which is connected to the grounding resistor and then grounded, and the other end is connected to the detection module via a digital signal interface module.
[0010] In one embodiment, the corrosion warning circuit also includes: a voltage source, a voltage divider resistor and an analog signal conversion module. After the M PCB lines are connected in parallel, one end is connected to the grounding resistor and then grounded, and the other end is connected to one end of the voltage divider resistor. The other end of the voltage divider resistor is respectively connected to the voltage source and the analog signal conversion module, and the analog signal conversion module is connected to the detection module.
[0011] In one embodiment, the detection module includes an ADC module.
[0012] In a second aspect, an embodiment of the present application provides an electronic device, comprising the corrosion warning circuit in the first aspect.
[0013] In a third aspect, an embodiment of the present application provides a corrosion early warning method, which is applied to the electronic device in the second aspect, including:
[0014] Acquiring detection parameters of the corrosion warning circuit, wherein the detection parameters vary with the number and shape of the Cantor set;
[0015] Determining corrosion stage information of the corrosion early warning circuit based on the detection parameters;
[0016] When the corrosion stage information meets the threshold, an early warning message is output.
[0017] In one embodiment, the detection parameters include: detection level data, and the step of determining the corrosion stage information of the corrosion early warning circuit based on the detection parameters includes:
[0018] The corrosion stage information of the corrosion warning circuit is determined based on the detection level data, wherein each group of the Cantor sets corresponds to a different detection level.
[0019] In one embodiment, the detection parameters include: detection voltage data, and the step of determining the corrosion stage information of the corrosion warning circuit based on the detection parameters includes:
[0020] The corrosion stage information of the corrosion warning circuit is determined based on the detection voltage data, wherein the resistance values of the voltage divider resistors connected to each group of the Cantor sets are different.
[0021] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the corrosion warning method of the third aspect are implemented.
[0022] Compared with the prior art, one or more embodiments of the above scheme may have the following advantages or beneficial effects:
[0023] The corrosion warning circuit provided by the present invention comprises: a PCB body and a grounding resistor, wherein: the PCB body is arranged according to N groups of Cantor sets according to warning requirements, wherein each group of Cantor sets has a different shape, and N is a positive integer; one end of a PCB line in the PCB body corresponding to each group of Cantor sets is connected to the grounding resistor and then grounded, and the other end is connected to a detection module to test the corrosion degree of the PCB line. By adopting the design of the Cantor set, PCB lines of different thicknesses in the circuit will fail in sequence from thin to thick PCB lines due to different shapes of the Cantor sets in a corrosive gas environment, and different detection results are output, so that a progressive warning of the degree of corrosion failure can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The scope of the present disclosure may be better understood by reading the following detailed description of exemplary embodiments in conjunction with the accompanying drawings. The drawings included are:
[0025] Figure 1 A structural schematic diagram of a corrosion warning circuit provided by an embodiment of the present invention is shown;
[0026] Figure 2 A schematic diagram showing the structure of another corrosion warning circuit provided by an embodiment of the present invention is shown;
[0027] Figure 3 A schematic diagram of an exemplary corrosion early warning method provided by an embodiment of the present invention is shown;
[0028] Figure 4 A structural block diagram of an electronic device for executing a corrosion early warning method according to an embodiment of the present application is shown;
[0029] Figure 5 A computer-readable storage medium for storing or carrying a corrosion early warning method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.
[0031] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0032] If similar descriptions of "first / second / third" appear in the application documents, the following description is added. In the following description, the terms "first / second / third" are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the invention described herein can be implemented in an order other than that illustrated or described herein.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.
[0034] In a corrosive gas environment, such as H2S atmosphere, the metal parts in the electronic circuit are prone to corrosion, causing circuit failure. The sensor can monitor the concentration of corrosive gases, but it cannot monitor the corrosion process. If the circuit fails suddenly due to corrosion, it will cause losses.
[0035] Based on the problems existing in the related art, the present invention can realize progressive warning of the degree of corrosion failure by configuring corrosion warning circuits with different Cantor set structures, provide warning information for circuit failure, and thus achieve the effect of predictive maintenance of the circuit.
[0036] The embodiment of the present invention provides a corrosion warning circuit, including: a PCB body and a grounding resistor, wherein:
[0037] The PCB body is arranged according to N groups of Cantor sets according to the warning requirements, where each group of Cantor sets has a different shape and N is a positive integer;
[0038] One end of a PCB line in a PCB body corresponding to each Cantor set is connected to the grounding resistor and then grounded, and the other end is connected to a detection module to test the corrosion degree of the PCB line.
[0039] It should be noted that:
[0040] The Cantor set is a self-similar set constructed by continuously deleting intervals. The formation process is as follows:
[0041] Initial stage:
[0042] Start from the closed interval [0,1].
[0043] Step 1 (delete the middle one-third interval):
[0044] Divide the interval [0,1] into three subintervals of equal length, namely [0,1 / 3], [1 / 3,2 / 3] and [2 / 3,1].
[0045] Delete the open interval in the middle (1 / 3,2 / 3) and keep the two closed intervals on the left and right [0,1 / 3] and [2 / 3,1].
[0046] Step 2 (delete the middle one-third of the remaining interval again):
[0047] For the two intervals [0,1 / 3] and [2 / 3,1] remaining in the previous step, divide them into three subintervals of equal length respectively.
[0048] Delete the open intervals (1 / 9,2 / 9) and (7 / 9,8 / 9) in the middle of each interval, and keep the four closed intervals [0,1 / 9], [2 / 9,3 / 9], [6 / 9,7 / 9], and [8 / 9,1].
[0049] Step 3 and beyond:
[0050] Repeat this process: for each remaining closed interval, remove the middle third of the open intervals again. This process will continue forever.
[0051] As this process proceeds, the remaining intervals become more and more numerous and smaller.
[0052] The resulting Cantor set is the set of points that remain after all these deletions.
[0053] In this embodiment, the corrosion warning circuit only needs a limited number of Cantor sets, and the first few sets or several of them can be selected according to the prediction granularity requirements.
[0054] In this embodiment, after connecting different groups of Cantor set structures through the detection module, the corrosion degree of PCB lines in different Cantor set PCB bodies is collected. Due to the different shapes of the Cantor set and the different corrosion accuracies of the Cantor set structure, the corrosion conditions of different positions and different severity levels can be obtained, thereby realizing progressive early warning of the degree of corrosion failure.
[0055] The detection module may be completed by connecting a digital signal conversion module or an analog signal conversion module on a circuit board.
[0056] The PCB body material of the Cantor set structure can be set to a copper clad layer structure.
[0057] Combined with the detection results of digital or analog signals in the circuit, a progressive early warning of the degree of corrosion failure can be achieved.
[0058] In some implementations, the circuit structure arrangement formed by the Cantor set can be changed in proportion to adjust the thickness, length and width, and can be flexibly changed according to the circuit arrangement requirements.
[0059] Exemplarily, the detection modules may be connected one by one according to a structure that is gradually subdivided from one end to the other end according to the Cantor set construction.
[0060] In some embodiments, M of the PCB lines are connected in parallel, where M is a positive integer ≥2.
[0061] In some embodiments, the corrosion warning circuit further includes: a digital signal conversion module, wherein M PCB lines are connected in parallel, one end of which is connected to a grounding resistor and then grounded, and the other end is connected to a detection module via a digital signal interface module.
[0062] See also Figure 1 , Figure 1 The structure diagram of a corrosion warning circuit provided is shown in the figure, and the connection example of the digital circuit is shown in the figure. When the corresponding PCB line is corroded, the corresponding digital IO will change from low level to high level.
[0063] In some embodiments, the corrosion warning circuit also includes: a voltage source, a voltage divider resistor and an analog signal conversion module. After the M PCB lines are connected in parallel, one end is connected to the grounding resistor and then grounded, and the other end is connected to one end of the voltage divider resistor. The other end of the voltage divider resistor is respectively connected to the voltage source and the analog signal conversion module, and the analog signal conversion module is connected to the detection module.
[0064] In some embodiments, the detection module includes an ADC module.
[0065] See also Figure 2 , Figure 2 As shown in the structural diagram of another corrosion warning circuit provided, when the corresponding PCB line is corroded, the corresponding analog AIO will change its level, and the corrosion progress can be obtained from the voltage reading by connecting to the ADC.
[0066] For example, the grounding resistor is set to R, and the voltage divider resistor can be selected to be 6R. When the PCB is corroded, the output voltage will change. If the grounding resistor is set to R, the voltage divider resistor can be selected to have different values, so that different output voltages can be achieved after different PCB lines are corroded.
[0067] In this embodiment, a PCB designed with a geometric pattern using a Cantor set is implemented, with copper-clad circuits of different geometric patterns of the Cantor set, and copper-clad circuits of different thicknesses are connected to different digital IOs in the detection module or the main control circuit or connected to analog IOs after a series resistor. In a corrosive gas environment, the copper-clad layer will fail in sequence from thin to thick, the digital circuit output will change to 0 / 1, or the signal detection voltage of the analog IO will change, and reading the detection signal can achieve a progressive early warning of the degree of corrosion failure.
[0068] In some embodiments, the present application provides an electronic device 200, which includes the above-mentioned corrosion warning circuit.
[0069] In one embodiment, Figure 3 As shown, the present application also provides a corrosion early warning method, which is applied to the above-mentioned electronic device 200, including S110 to S130:
[0070] S110: Acquire detection parameters of the corrosion warning circuit, where the detection parameters change with the number and shape of the Cantor set.
[0071] In this embodiment, the detection parameters include detection level data and detection voltage data, and different detection data are obtained by combining different group numbers of the Cantor set and different corresponding Cantor set shapes.
[0072] S120: Determine corrosion stage information of the corrosion warning circuit based on the detection parameters.
[0073] In some embodiments, S120 includes: determining corrosion stage information of the corrosion warning circuit based on the detection level data, wherein each group of the Cantor sets corresponds to a different detection level.
[0074] In some embodiments, S120 further includes: determining corrosion stage information of the corrosion warning circuit based on the detection voltage data, wherein the resistance values of the voltage divider resistors connected to each group of the Cantor sets are different.
[0075] S130: When the corrosion stage information meets a threshold, output warning information.
[0076] The electronic device composed of the corrosion warning circuit can set different corrosion stage information thresholds according to different usage requirements.
[0077] Exemplarily, thresholds corresponding to high, medium, and low conditions may be set for the corrosion stage to provide early warning.
[0078] In addition, different warning types can be output according to different thresholds to achieve progressive warning of circuit corrosion progress in a corrosive environment.
[0079] See also Figure 4 , Figure 4 The present application provides a structural block diagram of an electronic device 200 that can execute the above-mentioned corrosion warning method. The electronic device 200 can be a smart phone, a tablet computer, a computer, a portable computer or other devices.
[0080] The electronic device 200 further includes a processor 202 and a memory 204. The memory 204 stores a program that can execute the contents of the aforementioned embodiments, and the processor 202 can execute the program stored in the memory 204.
[0081] Among them, the processor 202 may include one or more cores and message matrix units for processing data. The processor 202 uses various interfaces and lines to connect various parts of the entire electronic device 200, and executes various functions and processes data of the electronic device 200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 204, and calling data stored in the memory 204. Optionally, the processor 202 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 202 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modulation decoder. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modulation decoder may not be integrated into the processor, but may be implemented separately through a communication chip.
[0082] The memory 204 may include a random access memory (RAM) or a read-only memory (ROM). The memory 204 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 204 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., instructions for a user to obtain a random number), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (e.g., random numbers) created by the terminal during use, etc.
[0083] The electronic device 200 may also include a network module and a screen. The network module is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices, such as communicating with an audio playback device. The network module may include various existing circuit components for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity modules (SIM) cards, memories, etc. The network module may communicate with various networks such as the Internet, corporate intranets, wireless networks, or communicate with other devices via wireless networks. The above-mentioned wireless networks may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The screen may display interface content and perform data interaction.
[0084] Please refer to Figure 5 , which shows a block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable storage medium 400 stores a program code 410, which can be called by a processor to execute the method described in the above method embodiment.
[0085] The computer-readable storage medium 400 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium 400 has storage space for program codes 410 that perform any method steps in the above method. These program codes 410 can be read from or written to one or more computer program products. The program codes 410 can be compressed, for example, in an appropriate form.
[0086] The embodiment of the present application also provides a computer program product or a computer program, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the corrosion early warning method described in the above various optional implementations.
[0087] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
[0088] Although the embodiments disclosed in the present invention are as above, the contents described are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the protection scope of the present invention shall still be subject to the scope defined in the attached claims.
Claims
1. A corrosion warning circuit, characterized in that: include: PCB body and ground resistance, where: The PCB body is arranged according to N groups of Cantor sets according to the early warning requirements, wherein each group of Cantor sets has a different shape, and N is a positive integer; One end of the PCB line in the PCB body corresponding to each group of the Cantor set is connected to the grounding resistor and then grounded, and the other end is connected to a detection module to test the corrosion degree of the PCB line.
2. The corrosion warning circuit according to claim 1, characterized in that: The M PCB lines are connected in parallel with each other, wherein M is a positive integer ≥2.
3. The corrosion warning circuit according to claim 2, characterized in that: The corrosion warning circuit also includes: a digital signal conversion module, wherein M PCB lines are connected in parallel, one end of which is connected to the grounding resistor and then grounded, and the other end is connected to the detection module through a digital signal interface module.
4. The corrosion warning circuit according to claim 2, characterized in that: The corrosion warning circuit also includes: a voltage source, a voltage divider resistor and an analog signal conversion module. After the M PCB lines are connected in parallel, one end is connected to the grounding resistor and then grounded, and the other end is connected to one end of the voltage divider resistor. The other end of the voltage divider resistor is respectively connected to the voltage source and the analog signal conversion module, and the analog signal conversion module is connected to the detection module.
5. The corrosion warning circuit according to claim 4, characterized in that: The detection module includes an ADC module.
6. An electronic device, characterized in that: The invention comprises the corrosion warning circuit according to any one of claims 1 to 5.
7. A corrosion early warning method, applied to the electronic device according to claim 6, characterized in that: The corrosion early warning method comprises: Acquiring detection parameters of the corrosion warning circuit, wherein the detection parameters vary with the number and shape of the Cantor set; Determining corrosion stage information of the corrosion early warning circuit based on the detection parameters; When the corrosion stage information meets the threshold, an early warning message is output.
8. The corrosion warning circuit according to claim 7, characterized in that: The detection parameters include: detection level data, and the step of determining the corrosion stage information of the corrosion early warning circuit based on the detection parameters includes: The corrosion stage information of the corrosion warning circuit is determined based on the detection level data, wherein each group of the Cantor sets corresponds to a different detection level.
9. The corrosion warning circuit according to claim 8, characterized in that: The detection parameters include: detection voltage data, and the corrosion stage information of the corrosion early warning circuit is determined based on the detection parameters, and further includes: The corrosion stage information of the corrosion warning circuit is determined based on the detection voltage data, wherein the resistance values of the voltage divider resistors connected to each group of the Cantor sets are different.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, and the program codes can be called by one or more processors to execute the corrosion early warning method as described in any one of claims 7-9.