PCB liquid medicine adding method and device, electronic equipment and storage medium
The method and device address inaccuracies in chemical consumption calculation by determining consumption types and adding chemicals at precise thresholds, ensuring consistent concentrations and improved PCB quality.
Patent Information
- Application Number
- CN202411210171.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-24
AI Technical Summary
Existing PCB manufacturing methods inaccurately calculate chemical consumption and fail to determine the precise timing for adding solutions, leading to inconsistent solution concentrations and potential hysteresis.
A method and device that determine consumption types (reaction, carry-out, volatilization, decomposition) based on PCB data, calculate unit area consumption, and add medicine when a preset threshold is reached, ensuring accurate and timely addition of chemicals.
Accurately calculates chemical consumption from finer granularities, allowing for timely addition and maintaining consistent solution concentrations, thereby enhancing product quality stability.
Smart Images

Figure CN119175054A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of PCB manufacturing, and in particular to a PCB solution adding method, device, electronic equipment and storage medium. Background Art
[0002] A large amount of chemicals are required in the PCB manufacturing process. PCB chemicals are mainly used for cleaning, etching, solder mask and electroplating in the manufacturing process. Sufficient amount of chemicals is crucial to ensure the quality of PCB production.
[0003] In the PCB production process, as the production progresses, the medicine in the reaction tank is continuously consumed. In order to ensure sufficient medicine, it is necessary to add medicine to the reaction tank. Currently, one way to add medicine is to calculate the consumption of the medicine reaction according to the board area or copper area of the PCB produced, and add a corresponding amount of medicine to the reaction tank with reference to the consumption. Another way to add medicine is to sample the medicine in the reaction tank for testing and calculate the residual amount, and add medicine with reference to the residual amount.
[0004] The consumption of the reaction is calculated based on the board area or copper area, without considering the characteristics of the equipment, PCB structure and the solution. The method of calculating the consumption is relatively rough, and it is difficult to accurately determine the timing of addition based on the consumption. The concentration of the solution required for the process cannot be guaranteed. If the solution is added through sampling and testing, there will be lag. Summary of the invention
[0005] The invention provides a PCB solution adding method, device, electronic equipment and storage medium to solve the problem that the existing PCB solution consumption calculation method is rough and difficult to determine the accurate adding time, or there is hysteresis.
[0006] In a first aspect, the present invention provides a method for adding PCB solution, comprising:
[0007] Determining a consumption type of the medicine to be added to the reaction container, wherein the consumption type includes at least one of a reaction type, a carry-out type, a volatilization type, and a decomposition type;
[0008] Acquiring PCB data of the PCB produced in the reaction vessel;
[0009] Calculate the metal unit area consumption and the board unit area consumption of the solution based on the consumption type and the PCB data, wherein the metal unit area consumption is a unit area consumption of a reaction type, and the board unit area consumption is a unit area consumption of at least one of a carry-out type, a volatilization type, and a decomposition type;
[0010] During the PCB production process, the cumulative production quantity of the PCB in the reaction container is counted, and the cumulative metal area and the cumulative board area are calculated according to the production quantity and the PCB data;
[0011] Calculate the total consumption of the liquid medicine according to the metal unit area consumption, the plate unit area consumption, the cumulative metal area and the cumulative plate area;
[0012] When the total consumption of the medicine reaches a preset threshold, medicine is added to the reaction container.
[0013] In a second aspect, the present invention provides a PCB solution adding device, comprising:
[0014] A consumption type determination module, used to determine the consumption type of the medicine to be added to the reaction container, wherein the consumption type includes at least one of a reaction type, a carry-out type, a volatilization type, and a decomposition type;
[0015] A PCB data acquisition module, used to acquire PCB data of the PCB produced in the reaction container;
[0016] a unit area consumption calculation module, used for calculating the metal unit area consumption and the board unit area consumption of the potion based on the consumption type and the PCB data, wherein the metal unit area consumption is the unit area consumption of the reaction type, and the board unit area consumption is the unit area consumption of at least one of the carry-out type, the volatilization type and the decomposition type;
[0017] A cumulative area statistics module, used for counting the cumulative production quantity of PCBs in the reaction container during the PCB production process, and calculating the cumulative metal area and the cumulative board area according to the production quantity and the PCB data;
[0018] A total consumption calculation module for medicine, used for calculating the total consumption of medicine according to the metal unit area consumption, the plate unit area consumption, the cumulative metal area and the cumulative plate area;
[0019] The medicine adding module is used to add medicine into the reaction container when the total consumption of the medicine reaches a preset threshold.
[0020] In a third aspect, the present invention provides an electronic device, the electronic device comprising:
[0021] at least one processor; and
[0022] a memory communicatively connected to the at least one processor; wherein,
[0023] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the PCB solution adding method described in the first aspect of the present invention.
[0024] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the PCB solution adding method described in the first aspect of the present invention when executed.
[0025] In the embodiment of the present invention, by determining whether the medicine is at least one of the consumption types of reaction type, carry-out type, volatilization type and decomposition type, the metal unit area consumption and the board unit area consumption of the medicine are calculated based on the consumption type and PCB data. In the PCB production process, the cumulative production quantity of PCBs in the reaction container is further counted, and the cumulative metal area and the cumulative board area are calculated according to the production quantity and the PCB data. The total consumption of the medicine is calculated according to the metal unit area consumption, the board unit area consumption, the cumulative metal area and the cumulative board area. When the total consumption of the medicine reaches a preset threshold, the medicine is added. On the one hand, when the total consumption of the medicine reaches the preset threshold, the medicine is added, so that the medicine can be added in time to avoid hysteresis. On the other hand, the metal unit area consumption and the board unit area consumption are calculated according to multiple types of medicine consumption, so as to respectively calculate the consumption of the medicine by the metal reaction and the carry-out type, volatilization type and decomposition type of the medicine consumption of the non-metallic reaction in the process. The medicine consumption is calculated from a finer granularity, and the calculated total consumption of the medicine is more accurate. The medicine can be added at an accurate time to ensure that there is enough medicine for production, thereby improving the stability of product quality.
[0026] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0028] Figure 1 This is a flow chart of a PCB solution adding method provided in Embodiment 1 of the present invention;
[0029] Figure 2 This is a flow chart of a method for adding PCB solution provided in Embodiment 2 of the present invention;
[0030] Figure 3 This is a schematic diagram of the structure of a PCB solution adding device provided in Embodiment 3 of the present invention;
[0031] Figure 4It is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] Embodiment 1
[0034] Figure 1 This is a flow chart of a method for adding PCB solution provided in the first embodiment of the present invention. This embodiment is applicable to the case of adding solution during the PCB manufacturing process. The method can be performed by a PCB solution adding device. The PCB solution adding device can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the PCB solution adding method includes:
[0035] S101, determining a consumption type of the medicine to be added to the reaction container, where the consumption type includes at least one of a reaction type, a carry-out type, a volatilization type, and a decomposition type.
[0036] This embodiment can be used to add chemicals during the PCB production process. The reaction container can be a container for injecting chemicals for chemical reactions in each production process in each production line. The production line can include tinning lines, gold immersion lines, sandblasting lines, etc. The production processes can include degreasing, micro-etching, pickling, pre-dip, activation, post-dip and other processes. The reaction container can be a reaction cylinder for each process.
[0037] The potion can be a chemical potion injected into the reaction vessel for the PCB production process. Different production lines and processes have different potions. The consumption type of the potion can refer to the type of potion consumed in the reaction vessel. The consumption type of a potion in the reaction vessel can be one or more. Among them, the reaction type consumption can refer to the potion consumption through chemical reaction, the carry-out type consumption can refer to the potion consumption caused by the PCB being taken out of the reaction vessel in the form of residue on the PCB, the volatilization type can refer to the natural volatilization consumption of the potion in the reaction vessel at different temperatures, and the decomposition type can refer to the potion consumption in the reaction vessel due to decomposition, such as NaPS (sodium persulfate), H2O2 (hydrogen peroxide), etc., which belong to the decomposition type consumption potion.
[0038] For each process of different lines, you can set the consumption type of the potion. When you need to add potion to the process, read the preset consumption type of the potion.
[0039] S102, obtaining PCB data of the PCB produced in the reaction container.
[0040] The PCB data may be the board area of the produced PCB, the metal area of the metal to be reacted, and the thickness of the metal to be reacted, wherein the board area may be the area of the PCB, the metal to be reacted may be the metal on the PCB that needs to be removed or deposited on the PCB through a chemical reaction of a solution, for example, the metal to be reacted may be copper, gold, silver, etc., the metal area may be the surface area of the metal to be reacted removed or deposited on the PCB, for example, it may be the copper area, and the metal thickness may be the thickness of the metal to be reacted removed or deposited on the PCB, for example, it may be the thickness of the etched copper.
[0041] The board area of the PCB, the metal area of the metal to be reacted, and the metal thickness to be reacted in the PCB data can be determined by the design data or process data of the PCB. For example, the board area of the PCB, the metal area of the metal to be reacted, and the metal thickness to be reacted in a certain process can be found from the process data of the PCB through the PCB code (such as a QR code) and the corresponding process.
[0042] S103. Calculate the metal unit area consumption and the board unit area consumption of the solution based on the consumption type and PCB data, wherein the metal unit area consumption is the unit area consumption of the reaction type, and the board unit area consumption is the unit area consumption of at least one of the carry-out type, the volatilization type, and the decomposition type.
[0043] For example, if a potion is used for chemical reactions and has a volatile property, the consumption types of the potion may include reaction-type consumption, volatilization-type consumption, and carry-out-type consumption. The metal unit area consumption may be the potion consumption caused by the reaction between the metal to be reacted (such as copper) and the potion in a unit area (such as 1 square meter) on the PCB. The board unit area consumption may be the potion consumption caused by at least one of the carry-out type, volatilization type, and decomposition type consumption when producing a unit area of PCB.
[0044] For different consumption types, calculation rules can be set in advance, and the unit consumption area is calculated based on the calculation rules of various consumption types. For example, the calculation rule for the unit area consumption of the reaction type can be the chemical reaction equation of the potion, and the calculation rule for the unit area consumption of the carry-out type, the volatile type and the decomposition type can be a statistical analysis calculation based on historical consumption data. This embodiment can pre-configure the calculation rules for the reaction type, carry-out type, volatile type and decomposition type potions when producing different PCBs in each process, and calculate the metal unit area consumption of the potion and the unit area consumption of the board through the configured calculation rules.
[0045] S104. During the PCB production process, the cumulative production quantity of the PCB in the reaction container is counted, and the cumulative metal area and the cumulative board area are calculated based on the production quantity and the PCB data.
[0046] PCB data includes the metal area of the metal to be reacted in a PCB and the board area of the PCB. Each time a PCB is produced, the metal area and the board area are accumulated to obtain the current production accumulated metal area and accumulated board area.
[0047] S105. Calculate the total consumption of the liquid medicine according to the metal consumption per unit area, the plate consumption per unit area, the cumulative metal area and the cumulative plate area.
[0048] Specifically, the total metal consumption is obtained by multiplying the metal consumption per unit area by the cumulative metal area, the total plate consumption is obtained by multiplying the plate consumption per unit area by the cumulative plate area, and the total potion consumption is obtained by calculating the sum of the total metal consumption and the total plate consumption.
[0049] S106: When the total consumption of the medicine reaches a preset threshold, add medicine to the reaction container.
[0050] In this embodiment, the control point of the medicine can be set in advance and the initial concentration of the medicine in the reaction container can be measured before the production line is started every day. The control point can be the desired target medicine concentration, which is the ideal medicine concentration in the production process. The upper and lower concentrations can be set through the control point, and the difference between the initial concentration and the lower concentration can be calculated, and the product of the difference and the volume of the reaction container can be calculated to obtain the available amount of medicine, which is the preset threshold. In one example, the difference between the upper and lower concentrations can be calculated, and the difference and the volume of the reaction container can be calculated to obtain the amount of medicine to be added, that is, the amount of medicine that needs to be added when the medicine is consumed to reach the lower concentration.
[0051] In the embodiment of the present invention, by determining that the medicine is at least one of the consumption types of reaction type, carry-out type, volatilization type and decomposition type, the metal unit area consumption and the board unit area consumption of the medicine are calculated based on the consumption type and PCB data. In the PCB production process, the cumulative production quantity of PCBs in the reaction container is further counted, and the cumulative metal area and the cumulative board area are calculated according to the production quantity and the PCB data. The total consumption of the medicine is calculated according to the metal unit area consumption, the board unit area consumption, the cumulative metal area and the cumulative board area. When the total consumption of the medicine reaches a preset threshold, the medicine is added. On the one hand, when the total consumption of the medicine reaches the preset threshold, the medicine is added, so that the medicine can be added in time to avoid hysteresis. On the other hand, the metal unit area consumption and the board unit area consumption are calculated according to multiple types of medicine consumption, so as to respectively calculate the consumption of the medicine by the metal reaction and the carry-out type, volatilization type and decomposition type of the medicine consumption of the non-metallic reaction in the process. The medicine consumption is calculated from a finer granularity, and the calculated total consumption of the medicine is more accurate. The medicine can be added at an accurate time to ensure that there is enough medicine for production, thereby improving the stability of product quality.
[0052] Embodiment 2
[0053] Figure 2 This is a flow chart of a PCB solution adding method provided in the second embodiment of the present invention. The embodiment of the present invention is optimized on the basis of the above-mentioned first embodiment. Figure 2 As shown, the PCB solution adding method includes:
[0054] S201, determining a consumption type of the medicine to be added to the reaction container, where the consumption type includes at least one of a reaction type, a carry-out type, a volatilization type, and a decomposition type.
[0055] In this embodiment, the consumption type of a potion in the reaction container can be one or more types, wherein the consumption of the reaction type may refer to the consumption of the potion through chemical reactions, the consumption of the carry-out type may refer to the consumption of the potion due to the PCB being taken out of the reaction container and left on the PCB, the volatilization type may refer to the natural volatilization of the potion in the reaction container at different temperatures, and the decomposition type may refer to the consumption of the potion in the reaction container due to decomposition. For each process of different lines, the consumption type of the potion can be set, and when the potion needs to be added to the process, the preset consumption type of the potion is read.
[0056] S202, obtaining PCB data of the PCB produced in the reaction container.
[0057] The PCB data may be the board area of the produced PCB, the metal area of the metal to be reacted, and the thickness of the metal to be reacted. The PCB data may be determined by the design data of the PCB.
[0058] S203, determining the calculation rules for the consumption of medicines of different consumption types.
[0059] The calculation rules may be calculation algorithms for the unit area consumption of different types of potions. The calculation rules may be based on the chemical reaction equations of the potions, statistical analysis algorithms for historical consumption data, etc. The calculation rules for different potions in different production processes and different consumption types may be pre-configured.
[0060] S204, calculating the metal unit area consumption and the board unit area consumption based on the calculation rules of the medicine consumption of different consumption types and the PCB data.
[0061] In one embodiment, when the consumption type is reactive type, the chemical reaction equation of the liquid medicine in the reaction container and the metal to be reacted on the PCB is determined as the liquid medicine consumption calculation rule, so as to calculate the metal unit area consumption a of the reactive type through the chemical reaction equation, the density of the metal to be reacted and the reaction thickness.
[0062] Specifically, the molar mass ratio of the molar mass of the chemical solution to the molar mass of the metal to be reacted can be calculated by first using the molar mass of the chemical solution and the molar mass of the metal to be reacted in the chemical reaction equation, and the product of a unit area, the density of the metal to be reacted, and the reaction thickness can be calculated to obtain the mass of the metal to be reacted per unit area, and the product of the mass and the molar mass ratio can be calculated to obtain the metal unit area consumption a of the chemical solution in the reaction type.
[0063] When the consumption type is at least one of the carry-out type, the volatilization type, and the decomposition type, the calculation rule of the liquid medicine consumption is to determine the consumption per unit area of the board based on the statistical analysis of the historical consumption data of the liquid medicine, then the historical consumption data of the liquid medicine can be obtained, such as the liquid medicine consumption of each production cycle in multiple production cycles, the metal area of the metal to be reacted, and the board area of the PCB, etc. are obtained as the historical consumption data of the liquid medicine, and the unit area consumption of the carry-out type, the volatilization type, and the decomposition type boards are calculated based on the historical consumption data of the liquid medicine. Specifically, the sum of the liquid medicine consumption of multiple production cycles can be calculated to obtain the total liquid medicine consumption D of multiple production cycles, the sum of the metal areas of multiple production cycles can be calculated to obtain the total metal area E, and the sum of the PCB areas of multiple production cycles can be calculated to obtain the total PCB area F, and the unit area consumption b of the carry-out type, the volatilization type, and the decomposition type boards are calculated by the following formula:
[0064] b=(Da×E) / F;
[0065] Where a is the consumption of reactive metal per unit area.
[0066] Taking the etching of copper (Cu) on PCB by H2SO4 (sulfuric acid) in the micro-etching tank of immersion tin wire as an example, H2SO4 needs to react with Cu. At the same time, after the PCB is taken out of the micro-etching tank and transferred to the next process, H2SO4 will remain on the PCB, resulting in carry-out consumption.
[0067] For calculating the consumption of Cu per unit area a by the H2SO4 reaction type, the reaction equation of H2SO4 in the micro-etching cylinder is as follows:
[0068] Cu+H2SO4+H2O2=CuSO4+2H2O;
[0069] In the above reaction equation, the molar mass of Cu is 64, the molar mass of H2SO4 is 98, and the molar mass ratio of H2SO4 to Cu is 98 / 64. 2 (square meters) As an example, the density of Cu is 8.9 g / cm 3 , micro-etching thickness is 1.2μm, micro-etching 1m 2 The mass of H2SO4 required for copper with a thickness of 1.2μm is:
[0070] H2SO4=1×10 4 ×1.2×10 -4 ×8.9×(98÷64)=16.34g (grams).
[0071] That is, the consumption of Cu per unit area by H2SO4 reaction type is a=16.34g, that is, per production of micro-etching 1m 2 The amount of H2SO4 consumed in the reaction of copper with a thickness of 1.2 μm is 16.34 g.
[0072] For calculating the consumption per unit area of H2SO4, the historical H2SO4 concentration A before production can be calculated. i , concentration after production B i , copper production area E i , plate area F i , calculate the consumption D of H2SO4 on day i i =(A i -B i )×C, C is the volume of the micro-etching cylinder.
[0073] The total consumption of H2SO4 in the past 10 days D=D1+D2+……D 10 =11883.5g;
[0074] The copper production area of H2SO4 in the past 10 days is E=E1+E2+……E 10 =300.53m 2 ;
[0075] The H2SO4 production area in the past 10 days is F = F1 + F2 + ... F 10 =426.6m 2 ;
[0076] Substituting the second unit area consumption b, the consumption of H2SO4 carried out is as follows:
[0077] b=(Da×E) / F=(11883.5-16.34×300.53) / 426.6=16.35gm 2 , that is, every production of 1m 2 A specific model of PCB, 1m 2 The PCB will bring out 16.35g of H2SO4 consumption.
[0078] The unit area consumption of the decomposition type and volatilization type boards can also refer to the carry-out type, which will not be described in detail here. The unit area consumption of the volatilization type boards can also be determined by statistically analyzing the volatilization amount at different temperatures.
[0079] S205. During the PCB production process, the cumulative production quantity of the PCB in the reaction container is counted, and the cumulative metal area and the cumulative board area are calculated based on the production quantity and the PCB data.
[0080] Specifically, the PCB data includes the metal area and board area of the metal to be reacted (such as copper) on the PCB. During the production process, the PCBs put into the reaction container can be counted by a timer. Every time a PCB is counted, the accumulated metal area and the accumulated board area are calculated according to the calculated production quantity. For example, the product of the production quantity and the metal area of a single PCB is the accumulated metal area, and the product of the production quantity and the board area of a single PCB is the accumulated board area.
[0081] S206. Calculate the product of the metal consumption per unit area and the cumulative metal area to obtain the total metal consumption of the potion.
[0082] Since the metal consumption per unit area is the consumption of potion required for the reaction of a unit area of the metal to be reacted (such as copper), the product of the cumulative metal area and the metal consumption per unit area can be calculated to obtain the amount of potion required for the reaction of the cumulative metal area with the potion, that is, the total metal consumption of the potion.
[0083] S207, calculating the product of the board consumption per unit area and the cumulative board area to obtain the total board consumption of the liquid medicine.
[0084] Since the consumption per unit area of the board is the consumption of the medicine caused by the non-metallic reaction (at least one of carry-out, volatilization, and decomposition) of a unit area of the PCB board, the product of the cumulative board area and the consumption per unit area of the board can be calculated to obtain the consumption of the medicine caused by the cumulative board area, that is, the total consumption of the medicine on the board.
[0085] S208. Calculate the sum of the total metal consumption and the total plate consumption to obtain the total potion consumption.
[0086] In this embodiment, during the PCB production process, the chemical solution is continuously consumed as the PCBs are put into use. The total chemical solution consumption includes the total metal consumption of the chemical solution for metal reactions and the total board consumption caused by non-metallic reactions (at least one of carry-out, volatilization, and decomposition), that is, the sum of the total metal consumption and the total board consumption.
[0087] S209: When the total consumption of the medicine reaches a preset threshold, add medicine to the reaction container.
[0088] Taking the control range of the potion concentration as 80+ / -10 as an example, it is expected that when the concentration drops to the lower limit concentration of 75, potion is added to the upper limit concentration of 85. If the initial concentration of the potion is 80 (usually adjusted to the median of the control range when opening the line), the preset threshold is T=(80-75)C, where C is the volume of the reaction container. When the total consumption of the potion reaches T, potion is added, and the amount added is the difference between the volume C of the reaction container and the expected value of 85 and 75.
[0089] In this embodiment, the consumption type of the medicine to be added is divided into a reaction type, a carry-out type, a volatile type, and a decomposition type. After determining the consumption type of the medicine to be added, a calculation rule for the consumption of the medicine of different consumption types is determined. The metal unit area consumption and the board unit area consumption are calculated based on the calculation rule for the consumption of the medicine of different consumption types and the PCB data. Further, in the PCB production process, the cumulative production quantity of the PCB in the reaction container is counted, and the cumulative metal area and the cumulative board area are calculated according to the production quantity and the PCB data. The medicine consumption is calculated according to the metal unit area consumption, the board unit area consumption, the cumulative metal area, and the cumulative board area. The total water consumption, when the total consumption of the medicine reaches the preset threshold, the medicine is added. On the one hand, the medicine can be added in time to avoid lag, and on the other hand, the metal unit area consumption and the plate unit area consumption are calculated through various types of medicine consumption, so as to calculate the consumption of medicine by metal reaction and the carry-out type, volatilization type and decomposition type of medicine consumption of non-metallic reaction in the process respectively. The medicine consumption is calculated from a finer granularity, and the calculated total consumption of medicine is more accurate, so that the medicine can be added at the right time to ensure that there is enough medicine for production, thereby improving the stability of product quality.
[0090] Embodiment 3
[0091] Figure 3 This is a schematic diagram of the structure of a PCB solution adding device provided in the third embodiment of the present invention. Figure 3 As shown, the PCB solution adding device includes:
[0092] The consumption type determination module 301 is used to determine the consumption type of the medicine to be added in the reaction container, wherein the consumption type includes at least one of a reaction type, a carry-out type, a volatilization type, and a decomposition type;
[0093] A PCB data acquisition module 302, used to acquire PCB data of the PCB produced in the reaction container;
[0094] The unit area consumption calculation module 303 is used to calculate the metal unit area consumption and the board unit area consumption of the potion based on the consumption type and the PCB data, wherein the metal unit area consumption is the unit area consumption of the reaction type, and the board unit area consumption is the unit area consumption of at least one of the carry-out type, the volatilization type and the decomposition type;
[0095] The cumulative area statistics module 304 is used to count the cumulative production quantity of the PCB in the reaction container during the PCB production process, and calculate the cumulative metal area and the cumulative board area according to the production quantity and the PCB data;
[0096] A total consumption calculation module 305 for calculating the total consumption of the liquid medicine according to the unit area consumption of the metal, the unit area consumption of the plate, the cumulative metal area and the cumulative plate area;
[0097] The medicine adding module 306 is used to add medicine into the reaction container when the total consumption of the medicine reaches a preset threshold.
[0098] Optionally, the unit area consumption calculation module 303 includes:
[0099] A calculation rule determination unit, used to determine the calculation rules for the consumption of different consumption types of medicines;
[0100] The unit area consumption calculation unit is used to calculate the metal unit area consumption and the board unit area consumption based on the calculation rules of the medicine consumption of different consumption types and the PCB data.
[0101] Optionally, the calculation rule determination unit includes:
[0102] A first calculation rule determination subunit is used to determine the chemical reaction equation of the liquid medicine in the reaction container and the metal to be reacted on the PCB as a liquid medicine consumption calculation rule when the consumption type is a reaction type;
[0103] The PCB data includes the reaction thickness of the metal to be reacted, and the unit area consumption calculation unit includes:
[0104] The metal unit area consumption calculation subunit is used to calculate the metal unit area consumption a of the reaction type according to the chemical reaction equation, the density of the metal to be reacted and the reaction thickness.
[0105] Optionally, the metal unit area consumption calculation subunit is used to:
[0106] Determining the molar masses of the metal to be reacted and the potion in the chemical reaction equation of the metal to be reacted and the potion, and calculating the ratio of the molar mass of the potion to the molar mass of the metal to be reacted to obtain a molar mass ratio;
[0107] Calculating the product of the unit area and the density of the metal to be reacted to obtain the unit area mass of the metal to be reacted;
[0108] The product of the mass per unit area of the metal to be reacted and the molar mass ratio is calculated to obtain the metal consumption per unit area a of the reaction type.
[0109] Optionally, the unit area consumption calculation module 303 further includes:
[0110] A second calculation rule determination subunit is used for, when the consumption type is at least one of the carry-out type, the volatile type and the decomposition type, the calculation rule of the liquid medicine consumption is to determine the consumption per unit area of the board based on the statistical analysis of the historical consumption data of the liquid medicine;
[0111] The unit area consumption calculation unit includes:
[0112] The historical consumption data acquisition subunit is used to acquire the historical consumption data of the potion;
[0113] The plate unit area consumption calculation subunit is used to calculate the plate unit area consumption of the carry-out type, the volatile type and the decomposition type based on the historical consumption data of the liquid medicine.
[0114] Optionally, the historical consumption data acquisition subunit is used to:
[0115] Obtain the consumption of the medicine solution, the metal area of the metal to be reacted, and the PCB area of each production cycle in multiple production cycles;
[0116] The board area consumption calculation subunit is used for:
[0117] The sum of the potion consumption of multiple production cycles is calculated to obtain the total potion consumption D of multiple production cycles;
[0118] The sum of the metal areas of multiple production cycles is calculated to obtain the total metal area E, and the sum of the PCB areas of multiple production cycles is calculated to obtain the total PCB area F;
[0119] The consumption per unit area b of the take-out type, volatile type and decomposition type plates is calculated by the following formula:
[0120] b=(D-a×E) / F;
[0121] Where a is the consumption of reactive metal per unit area.
[0122] Optionally, the total medicine consumption calculation module 305 includes:
[0123] The total metal consumption calculation unit is used to calculate the product of the metal consumption per unit area and the cumulative metal area to obtain the total metal consumption of the potion;
[0124] A total plate consumption calculation module is used to calculate the product of the plate unit area consumption and the cumulative plate area to obtain the total plate consumption of the potion;
[0125] The total consumption of medicine solution calculation module is used to calculate the sum of the total consumption of metal and the total consumption of plates to obtain the total consumption of medicine solution.
[0126] The PCB solution adding device provided in the embodiment of the present invention can execute the PCB solution adding method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0127] Embodiment 4
[0128] Figure 4 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0129] like Figure 4As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0130] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0131] The processor 41 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a PCB solution addition method.
[0132] In some embodiments, the PCB solution adding method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the PCB solution adding method described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to execute the PCB solution adding method in any other appropriate manner (e.g., by means of firmware).
[0133] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0134] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0135] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0136] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0137] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0138] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0139] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0140] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for adding PCB solution, characterized in that: include: Determining a consumption type of the medicine to be added to the reaction container, wherein the consumption type includes at least one of a reaction type, a carry-out type, a volatilization type, and a decomposition type; Acquiring PCB data of the PCB produced in the reaction vessel; Calculate the metal unit area consumption and the board unit area consumption of the solution based on the consumption type and the PCB data, wherein the metal unit area consumption is a unit area consumption of a reaction type, and the board unit area consumption is a unit area consumption of at least one of a carry-out type, a volatilization type, and a decomposition type; During the PCB production process, the cumulative production quantity of the PCB in the reaction container is counted, and the cumulative metal area and the cumulative board area are calculated according to the production quantity and the PCB data; Calculate the total consumption of the liquid medicine according to the metal unit area consumption, the plate unit area consumption, the cumulative metal area and the cumulative plate area; When the total consumption of the medicine reaches a preset threshold, medicine is added to the reaction container.
2. The PCB solution adding method according to claim 1, characterized in that: The calculating the metal unit area consumption and the board unit area consumption of the potion based on the consumption type and the PCB data includes: Determine the calculation rules for potion consumption of different consumption types; The metal unit area consumption and the board unit area consumption are calculated based on the calculation rules for the medicine consumption of different consumption types and the PCB data.
3. The PCB solution adding method according to claim 2, characterized in that: The calculation rules for determining the consumption of different types of medicines include: When the consumption type is a reaction type, a chemical reaction equation of the liquid medicine in the reaction container and the metal to be reacted on the PCB is determined as a liquid medicine consumption calculation rule; The PCB data includes the reaction thickness of the metal to be reacted, and the metal unit area consumption and the board unit area consumption are calculated based on the calculation rules of the different consumption types of liquid medicine consumption and the PCB data, including: The metal consumption per unit area a of the reaction type is calculated according to the chemical reaction equation, the density of the metal to be reacted and the reaction thickness.
4. The PCB solution adding method according to claim 3, characterized in that: The metal unit area consumption a of the reaction type is calculated by the chemical reaction equation, the density of the metal to be reacted and the reaction thickness, including: Determining the molar masses of the metal to be reacted and the potion in the chemical reaction equation of the metal to be reacted and the potion, and calculating the ratio of the molar mass of the potion to the molar mass of the metal to be reacted to obtain a molar mass ratio; Calculating the product of the unit area and the density of the metal to be reacted to obtain the unit area mass of the metal to be reacted; The product of the mass per unit area of the metal to be reacted and the molar mass ratio is calculated to obtain the metal consumption per unit area a of the reaction type.
5. The PCB solution adding method according to claim 2 or 3, characterized in that: The calculation rules for determining the consumption of different types of medicines also include: When the consumption type is at least one of the carry-out type, the volatile type and the decomposition type, the calculation rule of the liquid medicine consumption is to determine the consumption per unit area of the board based on the statistical analysis of the historical consumption data of the liquid medicine; Calculating the metal unit area consumption and the board unit area consumption based on the calculation rules of the medicine consumption of different consumption types and the PCB data, further comprising: Get historical potion consumption data; The consumption per unit area of the plates of the carry-out type, the volatile type and the decomposition type is calculated based on the historical consumption data of the liquid medicine.
6. The PCB solution adding method according to claim 5, characterized in that: Obtaining historical potion consumption data includes: Obtain the consumption of the medicine solution, the metal area of the metal to be reacted, and the PCB area of each production cycle in multiple production cycles; The consumption per unit area of the carry-out type, volatile type and decomposition type boards is calculated based on the historical consumption data of the liquid medicine, including: The sum of the potion consumption of multiple production cycles is calculated to obtain the total potion consumption D of multiple production cycles; The sum of the metal areas of multiple production cycles is calculated to obtain the total metal area E, and the sum of the PCB areas of multiple production cycles is calculated to obtain the total PCB area F; The consumption per unit area b of the take-out type, volatile type and decomposition type plates is calculated by the following formula: b=(D-a×E) / F; Where a is the consumption of reactive metal per unit area.
7. The PCB solution adding method according to any one of claims 1 to 3, characterized in that: The consumption of the medicine solution is calculated according to the metal unit area consumption, the plate unit area consumption, the cumulative metal area and the cumulative plate area, including: Calculate the product of the metal consumption per unit area and the cumulative metal area to obtain the total metal consumption of the potion; Calculate the product of the unit area consumption of the board and the cumulative board area to obtain the total board consumption of the liquid medicine; The total consumption of the potion is obtained by calculating the sum of the total consumption of the metal and the total consumption of the plate.
8. A PCB solution adding device, characterized in that: include: A consumption type determination module, used to determine the consumption type of the medicine to be added to the reaction container, wherein the consumption type includes at least one of a reaction type, a carry-out type, a volatilization type, and a decomposition type; A PCB data acquisition module, used to acquire PCB data of the PCB produced in the reaction container; a unit area consumption calculation module, used for calculating the metal unit area consumption and the board unit area consumption of the potion based on the consumption type and the PCB data, wherein the metal unit area consumption is the unit area consumption of the reaction type, and the board unit area consumption is the unit area consumption of at least one of the carry-out type, the volatilization type and the decomposition type; A cumulative area statistics module, used for counting the cumulative production quantity of PCBs in the reaction container during the PCB production process, and calculating the cumulative metal area and the cumulative board area according to the production quantity and the PCB data; A total consumption calculation module for medicine, used for calculating the total consumption of medicine according to the metal unit area consumption, the plate unit area consumption, the cumulative metal area and the cumulative plate area; The medicine adding module is used to add medicine into the reaction container when the total consumption of the medicine reaches a preset threshold.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the PCB solution adding method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the PCB solution adding method according to any one of claims 1 to 7 when executed.
