An adaptive control system for a phthalic anhydride pre-treatment tank
By constructing a temperature field deviation distribution vector and a flow velocity accumulation rate to modulate the agitator action, the problem of agitator action not matching material load changes in the existing technology is solved, achieving more efficient temperature control and mechanical synchronization, and reducing energy waste and mechanical wear.
Patent Information
- Application Number
- CN202611686589.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
The existing temperature control system of the phthalic anhydride pretreatment tank cannot effectively utilize the spatial distribution characteristics of multi-point temperature information, resulting in the agitator action not matching changes in material load, and the response delay of the hydraulic drive mechanism affects the synchronization of actions, causing energy waste and mechanical wear.
By constructing a temperature field deviation distribution vector inside the tank and combining it with the material accumulation rate generated by the difference in feed and discharge flow rates, the agitator's actions are adjusted, and hydraulic drive commands are output synchronously to achieve adaptive control of each degree of freedom of the agitator.
It improves the uniformity of the temperature field inside the tank and the adaptive capability of the stirring control, reduces local temperature deviation and energy waste, and optimizes the synchronization and efficiency of the mechanical transmission.
Smart Images

Figure CN123177149A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of chemical process control technology, specifically to an adaptive control system for a phthalic anhydride pretreatment tank. Background Technology
[0002] In the phthalic anhydride pretreatment process, the temperature of the medium inside the tank directly affects the viscosity, flow state, and subsequent reactivity of the phthalic anhydride. To maintain the temperature distribution within the tank within a reasonable range, existing stirring control systems typically deploy multiple temperature monitoring points inside the tank to collect the medium temperature at different locations. The temperature at a single point or the average temperature across all points is compared with a preset temperature threshold, and the stirrer speed, stirring direction, or hydraulic drive mechanism oil supply pressure is adjusted based on the comparison results. Some control methods divide the temperature deviation into several intervals and trigger the stirrer action through a zone threshold to mitigate local temperature deviations. However, existing temperature control and stirring action generation methods have shortcomings. After simplifying multi-point temperature information to an average or independent threshold state, the distribution characteristics of temperature deviation in the tank space are ignored. The stirrer's various degrees of freedom movements cannot provide targeted compensation for areas with concentrated temperature deviations. Local temperature deviations may persist, while other areas are subjected to unnecessary stirring disturbances. The agitator's agitation is primarily calculated based on temperature deviation, failing to utilize the difference between the feed and discharge velocities to reflect the accumulation of material within the tank. When the feed rate exceeds the discharge rate, leading to an increase in the total material volume, the existing agitation compensation may be insufficient to adapt to changes in material load. Conversely, when the tank is completely discharged, the agitation may exceed actual requirements, resulting in energy waste and mechanical wear. Furthermore, the pressure compensation commands from the multi-degree-of-freedom hydraulic drive mechanism exhibit varying response delays across different mechanisms. Existing control methods do not uniformly process the command timing, leading to inconsistent start times for actual actions and impacting the overall synthesis effect of the multi-degree-of-freedom agitation.
[0003] In the control of phthalic anhydride pretreatment tanks, the spatial distribution of temperature deviations at multiple monitoring points is not fully utilized for generating multi-degree-of-freedom stirring actions. The stirring compensation amount does not match the accumulation state of the material inside the tank, and the difference in response delay of the hydraulic drive mechanism affects the synchronization of actions. These are technical problems that need to be solved. Summary of the Invention
[0004] This invention provides an adaptive control system for a phthalic anhydride pretreatment tank. The system constructs a temperature field deviation distribution vector within the tank based on the temperature deviation directions of multiple monitoring points, and maps this vector to the motion space of each degree of freedom of the agitator to form an initial disturbance compensation amount. It generates a material accumulation rate within the tank based on the velocity difference between the current feed flow rate and the current discharge flow rate, and modulates the amplitude of the initial disturbance compensation amount using this material accumulation rate to obtain a final motion adjustment amount. Finally, it converts the final motion adjustment amount into pressure compensation commands for each hydraulic drive mechanism and outputs them synchronously.
[0005] To achieve the above objectives, the present invention provides the following technical solution: The present invention provides an adaptive control system for a phthalic anhydride pretreatment tank, including a temperature deviation encoding module, a temperature field mapping module, a flow rate accumulation calculation module, an amplitude modulation module, and a hydraulic synchronous drive module. The temperature deviation encoding module acquires the real-time medium temperature at multiple monitoring points inside the phthalic anhydride pretreatment tank and generates a temperature deviation direction code corresponding to each monitoring point based on the temperature difference between the real-time medium temperature at each monitoring point and a preset temperature threshold. The temperature field mapping module constructs a temperature field deviation distribution vector inside the tank based on the temperature deviation direction codes corresponding to each monitoring point, and maps the temperature field deviation distribution vector inside the tank to a preset agitator action space to obtain the initial disturbance compensation amount of the agitator in each degree of freedom. The flow rate accumulation calculation module acquires the current feed flow rate and the current discharge flow rate of the phthalic anhydride pretreatment tank, and generates the material accumulation rate inside the tank based on the flow rate difference between the current feed flow rate and the current discharge flow rate. The amplitude modulation module modulates the initial disturbance compensation amount of the agitator in each degree of freedom according to the material accumulation rate inside the tank to obtain the final action adjustment amount of the agitator in each degree of freedom. The hydraulic synchronous drive module converts the final motion adjustment of the agitator in each degree of freedom into pressure compensation commands for the corresponding hydraulic drive mechanism, and outputs them synchronously to each hydraulic drive mechanism. This system combines the spatial distribution characteristics of the temperature field deviation with the material accumulation state reflected by the difference in inlet and outlet flow rates to adjust the motion of the agitator in each degree of freedom, and improves the uniformity of the temperature field inside the tank and the adaptive capability of the agitation control through the synchronous compensation output of the hydraulic drive mechanism.
[0006] As a technical solution of the present invention, the temperature deviation encoding module calculates the difference between the real-time medium temperature at each monitoring point and a preset temperature threshold to obtain the real-time temperature deviation value at each monitoring point; the real-time temperature deviation value at each monitoring point is input into an encoding mapping table, which stores different temperature deviation value ranges and their corresponding direction codes, including positive and negative direction codes; the temperature deviation direction code corresponding to each monitoring point is determined based on the range corresponding to the real-time temperature deviation value at each monitoring point in the encoding mapping table.
[0007] Preferably, the temperature field mapping module divides the internal space of the phthalic anhydride pretreatment tank into multiple sub-space regions, each containing at least one monitoring point; the temperature deviation direction codes corresponding to each monitoring point within the same sub-space region are concatenated according to a preset sorting rule to obtain a direction code sub-sequence for that sub-space region; the direction code sub-sequences of all sub-space regions are then spliced together according to the spatial order within the tank to form a temperature field deviation distribution vector within the tank. The temperature field mapping module further divides the temperature field deviation distribution vector into multiple vector segments according to a preset segment length, each vector segment corresponding to a degree of freedom of the stirrer; a weighted sum is performed on each vector segment to obtain the weighted sum value corresponding to that vector segment; the weighted sum value corresponding to each vector segment is multiplied by a preset motion quantization step size under the corresponding degree of freedom to obtain the initial disturbance compensation amount of the stirrer in that degree of freedom.
[0008] The flow rate accumulation calculation module continuously collects multiple instantaneous values of the current feed flow rate and the current discharge flow rate within a preset time window, and calculates the average feed flow rate and the average discharge flow rate respectively; the average feed flow rate is subtracted from the average discharge flow rate to obtain the net increase rate of the material in the tank; the ratio of the net increase rate of the material in the tank to the current total amount of material in the tank is calculated to obtain the accumulation rate of the material in the tank.
[0009] The amplitude modulation module uses the accumulation rate of the material inside the tank as the modulation coefficient. It multiplies the initial disturbance compensation amount in each degree of freedom by the modulation coefficient to obtain the amplitude adjustment amount to be limited in each degree of freedom. The amplitude adjustment amount to be limited in each degree of freedom is compared with the preset maximum allowable adjustment amount in that degree of freedom. When the amplitude adjustment amount to be limited is greater than the maximum allowable adjustment amount, the maximum allowable adjustment amount is used as the final motion adjustment amount in that degree of freedom. Otherwise, the amplitude adjustment amount to be limited is used as the final motion adjustment amount in that degree of freedom.
[0010] As another technical solution of the present invention, before comparing the adjustment amount to be limited in each degree of freedom with the preset maximum allowable adjustment amount in that degree of freedom, the maximum bearing torque value of the mechanical transmission structure in that degree of freedom is obtained; based on the transmission ratio and the maximum bearing torque value of the mechanical transmission structure in that degree of freedom, the maximum motion adjustment amount that can be withstood in that degree of freedom is calculated, and the maximum motion adjustment amount is taken as the preset maximum allowable adjustment amount in that degree of freedom, so that the final motion adjustment amount is constrained by the mechanical transmission bearing capacity.
[0011] The hydraulic synchronous drive module acquires the current oil pressure and current piston displacement of the hydraulic drive mechanism in each degree of freedom; calculates the target piston displacement of the hydraulic drive mechanism in that degree of freedom based on the final motion adjustment amount; calculates the required pressure adjustment direction and pressure adjustment steps for the hydraulic drive mechanism in that degree of freedom based on the difference between the target piston displacement and the current piston displacement, combined with the current oil pressure value; and encodes the pressure adjustment direction and pressure adjustment steps into pressure compensation commands for the corresponding hydraulic drive mechanism. When calculating the pressure adjustment direction and pressure adjustment steps, the pressure adjustment direction is determined by the sign of the difference between the target piston displacement and the current piston displacement: a positive sign indicates a pressure increase direction, and a negative sign indicates a pressure decrease direction. The initial pressure adjustment steps are obtained by dividing the absolute value of the difference between the target piston displacement and the current piston displacement by the piston displacement change corresponding to a unit pressure change in the hydraulic drive mechanism; and the final pressure adjustment steps are obtained by rounding the initial pressure adjustment steps.
[0012] The hydraulic synchronous drive module also generates a unified timestamp based on the pressure compensation command of the hydraulic drive mechanism in each degree of freedom, and applies a command time offset to the pressure compensation command of each hydraulic drive mechanism according to the response delay time of each hydraulic drive mechanism, so that the actual start time of the action of each hydraulic drive mechanism at the execution level is consistent; and sends each pressure compensation command after applying the command time offset to the corresponding hydraulic drive mechanism.
[0013] The technical effects and advantages provided by the present invention in the above technical solution are as follows: The temperature deviation encoding module converts the difference between the real-time medium temperature at each monitoring point and the preset temperature threshold into a temperature deviation direction code, and then concatenates these codes according to the order of subspace regions and the tank interior space to form a temperature field deviation distribution vector within the tank. The temperature field mapping module divides this vector into vector segments corresponding to the agitator's degrees of freedom according to a preset segment length, performs a weighted summation of the segments, and multiplies it by the motion quantization step size to obtain the initial disturbance compensation amount for each degree of freedom. This processing method preserves the distribution characteristics of temperature deviation within the tank interior space, allowing the motion amount of each agitator degree of freedom to be directly determined by the temperature deviation direction distribution of the corresponding spatial region. When the direction codes of each monitoring point within a certain subspace region are consistent, the weighted sum of the vector segments corresponding to that region has a clear directionality, and the initial disturbance compensation amount for the corresponding degree of freedom is adjusted along this direction. When the temperature deviation directions of the regions are inconsistent, the weighted sums cancel each other out, and the motion amount is reduced accordingly, reducing additional disturbances to areas where the temperature distribution is already relatively uniform. Compared to using only single-point temperature or average temperature for feedback control, this scheme can generate more suitable disturbance compensation for areas with concentrated temperature deviations, reducing the persistence of local temperature deviations. Directional code encoding discretizes continuous temperature deviations, preventing temperature measurement noise and instantaneous minute temperature fluctuations from directly entering the agitator's action calculation as continuous amplitude values. This results in smoother changes in action quantity, reducing frequent reversals and pressure surges in the hydraulic drive mechanism. The flow rate accumulation calculation module averages the feed and discharge flow rates within a preset time window. The difference between the average feed and discharge flow rates yields the net increase rate of matter in the tank, which is then compared to the current total amount of matter in the tank to form the material accumulation rate. The amplitude modulation module uses this material accumulation rate as a modulation coefficient, multiplying it by the initial disturbance compensation amount on each degree of freedom to obtain the final action adjustment. This modulation process causes the agitator's action quantity to change with the material accumulation state in the tank. When the feed flow rate consistently exceeds the discharge flow rate, the total amount of matter in the tank increases, and the agitator's action quantity adjusts accordingly, avoiding insufficient compensation when fixed agitation parameters increase material load. When the net increase in matter in the tank decreases or net discharge occurs, the agitator's action quantity decreases, reducing over-mixing and mechanical wear. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.
[0015] Figure 1 This is a schematic diagram of the adaptive control system for the phthalic anhydride pretreatment tank; Figure 2 This is a flowchart of temperature field mapping and flow rate accumulation calculation; Figure 3This is a distribution diagram of the temperature deviation direction code at the monitoring points of the phthalic anhydride pretreatment tank; Figure 4 This is a schematic diagram of the weighted sum of vector segments of each degree of freedom; Figure 5 These are comparison curves of the adjustment amount and amplitude limit for each degree of freedom of motion; Figure 6 This is a distribution diagram of the response delay time and command time offset of the hydraulic drive mechanism. Detailed Implementation
[0016] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0017] See Figure 1 This invention provides an adaptive control system for a phthalic anhydride pretreatment tank, comprising a temperature deviation encoding module, a temperature field mapping module, a flow rate accumulation calculation module, an amplitude modulation module, and a hydraulic synchronous drive module. The temperature deviation encoding module acquires the real-time medium temperature at multiple monitoring points inside the phthalic anhydride pretreatment tank and generates a temperature deviation direction code corresponding to each monitoring point based on the temperature difference between the real-time medium temperature at each monitoring point and a preset temperature threshold. The temperature field mapping module constructs a temperature field deviation distribution vector within the tank based on the temperature deviation direction codes corresponding to each monitoring point and maps this vector to a preset agitator action space to obtain the initial disturbance compensation amount of the agitator in each degree of freedom. The flow rate accumulation calculation module acquires the current feed flow rate and current discharge flow rate of the phthalic anhydride pretreatment tank and generates the material accumulation rate within the tank based on the flow rate difference between the current feed flow rate and the current discharge flow rate. The amplitude modulation module modulates the initial disturbance compensation amount of the agitator in each degree of freedom according to the material accumulation rate within the tank to obtain the final action adjustment amount of the agitator in each degree of freedom. The hydraulic synchronous drive module converts the final motion adjustment of the agitator in each degree of freedom into pressure compensation commands for the hydraulic drive mechanism in the corresponding degree of freedom, and outputs them synchronously to each hydraulic drive mechanism.
[0018] In practice, the temperature deviation encoding module acquires the real-time medium temperature at multiple monitoring points inside the phthalic anhydride pretreatment tank. A preset temperature threshold is stored in the module's storage unit. The module calculates the difference between the real-time medium temperature at each monitoring point and the preset temperature threshold to obtain the real-time temperature deviation value for each monitoring point. The real-time temperature deviation value is equal to the real-time medium temperature at the monitoring point minus the preset temperature threshold.
[0019] The encoding mapping table is stored in the storage unit of the temperature deviation encoding module. The encoding mapping table contains multiple temperature deviation value ranges, each corresponding to a direction code, including positive and negative direction codes. In the encoding mapping table, the first temperature deviation value range is the range where the real-time temperature deviation value is greater than or equal to 0, corresponding to a positive direction code; the second temperature deviation value range is the range where the real-time temperature deviation value is less than 0, corresponding to a negative direction code. The temperature deviation encoding module inputs the real-time temperature deviation value corresponding to each monitoring point into the encoding mapping table, and determines the temperature deviation direction code corresponding to each monitoring point based on the temperature deviation value range in the encoding mapping table where the real-time temperature deviation value falls. When the real-time temperature deviation value falls into the first temperature deviation value range, the temperature deviation direction code is a positive direction code; when the real-time temperature deviation value falls into the second temperature deviation value range, the temperature deviation direction code is a negative direction code.
[0020] The temperature field mapping module divides the internal space of the phthalic anhydride pretreatment tank into multiple sub-regions. This division is achieved by meshing along the axial and radial directions of the tank, creating multiple sub-regions. Each sub-region contains at least one monitoring point. Within each sub-region, monitoring points are sorted in ascending order of their location numbers, which are assigned during installation. The temperature deviation direction codes corresponding to each monitoring point within the same sub-region are concatenated in ascending order of their location numbers to form a direction code sub-sequence for that sub-region. All direction code sub-sequences from all sub-regions are then concatenated according to the spatial order within the tank to form the internal temperature field deviation distribution vector. The spatial order within the tank is determined by the ascending order of the sub-region numbers, which increase progressively from the bottom to the top of the phthalic anhydride pretreatment tank, and within the same height layer, increase towards the tank wall along the central axis.
[0021] See Figure 3 In the figure, the horizontal axis represents the location numbers of multiple monitoring points inside the phthalic anhydride pretreatment tank, ranging from 0 to 500, and the vertical axis represents the temperature deviation value of the corresponding monitoring point, in degrees Celsius (°C). The dashed lines in the figure represent the preset temperature threshold, i.e., the location where the temperature deviation is 0. Dots represent the temperature deviation value corresponding to the positive direction code, and triangles represent the temperature deviation value corresponding to the negative direction code.
[0022] As shown in the figure, with the change of the monitoring point location number, the temperature deviation values of the positive direction codes are mainly distributed between 0 and 8°C, with most concentrated in the 0 to 4°C range, exhibiting some fluctuation. The temperature deviation values of the negative direction codes are mainly distributed between 0 and -6°C, with most concentrated in the 0 to -4°C range, showing a more dispersed distribution trend. The number of positive and negative direction codes in the figure is basically balanced, indicating that the temperature deviation of the monitoring points exists in both areas above and below the preset temperature threshold.
[0023] In specific implementation, please refer to Figure 2 The temperature field mapping module divides the temperature field deviation distribution vector inside the tank into multiple vector segments according to a preset segment length. The preset segment length is stored in the storage unit of the temperature field mapping module. The preset segment length is determined based on the number of degrees of freedom of the agitator. The specific value of the preset segment length is equal to the total length of the temperature field deviation distribution vector inside the tank divided by the number of degrees of freedom of the agitator. Each vector segment corresponds to one degree of freedom of the agitator.
[0024] Each vector segment is summed using a weighted average. The temperature field mapping module stores a preset weight sequence in its storage unit. Each weight value in the weight sequence corresponds one-to-one with each element in the vector segment. The weighted sum is calculated by multiplying each element in the vector segment by its corresponding weight value in the weight sequence, and then summing all the products to obtain the weighted sum value for the vector segment.
[0025] The weighted sum of each vector segment is multiplied by the preset motion quantization step size for the corresponding degree of freedom to obtain the initial perturbation compensation amount of the stirrer in the corresponding degree of freedom. The preset motion quantization step sizes for each degree of freedom are stored in the storage unit of the temperature field mapping module.
[0026] In practice, the flow rate accumulation calculation module continuously collects multiple instantaneous values of the current feed flow rate and the current discharge flow rate within a preset time window. The preset time window length is stored in the storage unit of the flow rate accumulation calculation module. The collection method involves collecting the instantaneous values of the feed flow rate and the discharge flow rate at a fixed sampling period within the preset time window.
[0027] The flow rate accumulation calculation module calculates the average feed flow rate based on the collected instantaneous feed flow rate values, and calculates the average discharge flow rate based on the collected instantaneous discharge flow rate values. The average feed flow rate is the sum of all instantaneous feed flow rate values divided by the number of instantaneous feed flow rate values. The average discharge flow rate is the sum of all instantaneous discharge flow rate values divided by the number of instantaneous discharge flow rate values.
[0028] The flow rate accumulation calculation module subtracts the average feed flow rate from the average discharge flow rate to obtain the net increase rate of matter in the tank. This module then calculates the ratio of the net increase rate of matter in the tank to the current total amount of matter in the tank, yielding the cumulative rate of matter accumulation. The current total amount of matter in the tank is obtained from the inventory detection device of the phthalic anhydride pretreatment tank.
[0029] The accumulation rate of substances inside the tank is calculated using the following formula:
[0030] in, Indicates the rate of accumulation of substances inside the container. This represents the net increase rate of matter in the tank, which is obtained by subtracting the average discharge flow rate from the average feed flow rate. This indicates the current total amount of material in the container.
[0031] See Figure 4 In the figure, the horizontal axis represents the vector element index of the temperature field deviation distribution vector inside the tank, and the vertical axis represents the weighted sum of the corresponding vector elements. The figure plots the weighted sum curves of vector segments corresponding to the five degrees of freedom of the agitator in the phthalic anhydride pretreatment tank, each marked with a different line type: solid dot curve for degree of freedom one, dashed square curve for degree of freedom two, dotted triangle curve for degree of freedom three, dotted diamond curve for degree of freedom four, and solid inverted triangle curve for degree of freedom five.
[0032] The horizontal axis range is divided into five continuous segments, and the corresponding temperature field deviation distribution vector is divided into five vector segments according to a preset segment length. Each vector segment corresponds to one degree of freedom of the stirrer. Within each vector segment, the curve exhibits obvious fluctuation characteristics, reflecting the weighted combination change of the temperature deviation direction code corresponding to each degree of freedom in the spatial region.
[0033] The values on the ordinate generally range from 0 to 9. The weighted sum for degree of freedom one is initially high in the first 100 elements, peaking at approximately 8.5 before gradually decreasing to around 3. Degrees of freedom two fluctuate wildly between 100 and 200 elements, peaking at nearly 7.5, showing an overall trend of first decreasing and then increasing. Degrees of freedom three initially decreases to a low of approximately 1.8 between 200 and 300 elements before slowly recovering to a peak of approximately 9. Degrees of freedom four shows an overall upward trend between 300 and 400 elements, with a low close to 0 and a high of approximately 5.5. Degrees of freedom five shows an overall downward curve between 400 and 500 elements, with significant fluctuations, peaking at approximately 9 and troughing near -1.
[0034] In practical implementation, the maximum load-bearing torque value of the mechanical transmission structure for each degree of freedom is obtained. The maximum load-bearing torque value is read from the factory parameters of the mechanical transmission structure, which includes the drive shaft, coupling, and reduction mechanism corresponding to each degree of freedom of the agitator. The maximum load-bearing torque value is obtained before comparing the adjustment amount to be limited in each degree of freedom with the preset maximum allowable adjustment amount in each degree of freedom.
[0035] Obtain the transmission ratio of the mechanical transmission structure for each degree of freedom. The transmission ratio is the ratio of the input speed to the output speed of the mechanical transmission structure, and it is read from the nameplate parameters of the mechanical transmission structure.
[0036] Obtain the torque-to-motion conversion coefficient for each degree of freedom of the mechanical transmission structure. The torque-to-motion conversion coefficient is calibrated based on the stiffness characteristics of the mechanical transmission structure. The calibration method involves applying a known torque to the mechanical transmission structure, measuring the motion produced under the known torque, and dividing the motion by the known torque to obtain the torque-to-motion conversion coefficient. The torque-to-motion conversion coefficient is greater than 0.
[0037] Based on the transmission ratio, maximum load torque, and torque-to-motion conversion coefficient of the mechanical transmission structure for each degree of freedom, calculate the maximum allowable motion adjustment for each degree of freedom. Use this maximum allowable motion adjustment for each degree of freedom as the preset maximum permissible adjustment for that degree of freedom.
[0038] The maximum amount of motion adjustment that can be tolerated on each degree of freedom is calculated according to the following formula:
[0039] in, This represents the maximum amount of motion adjustment that can be tolerated in a given degree of freedom. This represents the maximum torque value that a mechanical transmission structure can bear on the same degree of freedom. This refers to the transmission ratio of a mechanical transmission structure on the same degree of freedom. It represents the conversion coefficient from torque to motion in a mechanical transmission structure on the same degree of freedom.
[0040] In practice, the amplitude modulation module uses the accumulation rate of the material inside the tank as the modulation coefficient. The accumulation rate of the material inside the tank is generated by the flow velocity accumulation calculation module. The initial disturbance compensation amount for each degree of freedom is multiplied by the modulation coefficient to obtain the amplitude limiting adjustment amount for each degree of freedom.
[0041] The adjustment amount to be limited in each degree of freedom is compared with the preset maximum allowable adjustment amount in the same degree of freedom. When the adjustment amount to be limited is greater than the maximum allowable adjustment amount, the maximum allowable adjustment amount is used as the final motion adjustment amount in the same degree of freedom. When the adjustment amount to be limited is not greater than the maximum allowable adjustment amount, the adjustment amount to be limited is used as the final motion adjustment amount in the same degree of freedom.
[0042] See Figure 5 The horizontal axis of the figure represents the sampling sequence number, and the vertical axis represents the motion adjustment amount, in millimeters. The figure illustrates the processing of the motion adjustment amount of the agitator in each degree of freedom by the amplitude modulation module in this embodiment. The solid dotted curve represents the initial disturbance compensation amount of the agitator in each degree of freedom. The curve exhibits periodic fluctuations, with the overall variation range of the initial disturbance compensation amount being approximately between 1 mm and 9 mm. The dashed dotted curve represents the amplitude adjustment amount to be limited, obtained by the amplitude modulation module after multiplying the initial disturbance compensation amount by the accumulation rate of the material in the tank. Its peak value is significantly higher than the initial disturbance compensation amount, reaching a maximum of approximately 42 mm, showing the significant amplification effect of the material accumulation rate on the adjustment amount. The dashed line represents the preset maximum allowable adjustment amount in each degree of freedom, with a value fixed at approximately 12.5 mm, serving as the maximum motion adjustment limit that the mechanical transmission structure can withstand. The dotted line represents the final motion adjustment amount, whose value lies between the initial disturbance compensation amount and the maximum allowable adjustment amount, reflecting the amplitude limiting processing of the adjustment amount to be limited. When the pending adjustment amount exceeds the maximum allowable adjustment amount, the final action adjustment amount is limited to the maximum allowable adjustment amount; otherwise, the pending adjustment amount remains unchanged.
[0043] In practical implementation, the hydraulic synchronous drive module acquires the current oil pressure value and current piston displacement of the hydraulic drive mechanism at each degree of freedom. The current oil pressure value is read from the oil pressure sensor installed in the oil circuit of the hydraulic drive mechanism at each degree of freedom. The current piston displacement is read from the displacement sensor installed on the piston rod of the hydraulic drive mechanism at each degree of freedom.
[0044] Calculate the target piston displacement of the hydraulic drive mechanism in each degree of freedom based on the final motion adjustment amount. The target piston displacement is equal to the sum of the current piston displacement and the final motion adjustment amount.
[0045] Based on the difference between the target piston displacement and the current piston displacement, and combined with the current oil pressure value, calculate the required pressure adjustment direction and pressure adjustment steps for the hydraulic drive mechanism in each degree of freedom.
[0046] In calculating the pressure adjustment direction and the number of pressure adjustment steps, the pressure adjustment direction is determined based on the sign of the difference between the target piston displacement and the current piston displacement. When the sign of the difference is positive, the pressure adjustment direction is the pressure increase direction; when the sign of the difference is negative, the pressure adjustment direction is the pressure decrease direction.
[0047] Based on the current oil pressure value, the corresponding piston displacement change per unit pressure change is found in the hydraulic pressure-displacement variation characteristic table of the hydraulic drive mechanism. This table is stored in the storage unit of the hydraulic synchronous drive module. The table contains multiple current oil pressure value ranges, each corresponding to a piston displacement change per unit pressure change.
[0048] The initial pressure adjustment steps are obtained by dividing the absolute value of the difference between the target piston displacement and the current piston displacement by the piston displacement change corresponding to the unit pressure change of the hydraulic drive mechanism in the same degree of freedom.
[0049] The initial pressure adjustment steps are calculated using the following formula:
[0050] in, Indicates the number of initial pressure adjustment steps; Indicates the target piston displacement; Indicates the current piston displacement; This represents the absolute value of the difference between the target piston displacement and the current piston displacement. This represents the change in piston displacement corresponding to a unit pressure change in a hydraulic drive mechanism within the same degree of freedom. This indicates the amount of pressure change corresponding to each step of pressure adjustment in the hydraulic drive mechanism.
[0051] The initial pressure adjustment steps are rounded up to obtain the final pressure adjustment steps. The rounding method is to round up towards positive infinity. When the initial pressure adjustment steps are not an integer, the initial pressure adjustment steps are rounded up to obtain the final pressure adjustment steps; when the initial pressure adjustment steps are an integer, the initial pressure adjustment steps are used as the final pressure adjustment steps.
[0052] The pressure adjustment direction and the final pressure adjustment step count are encoded into the corresponding pressure compensation command of the hydraulic drive mechanism. The pressure compensation command consists of a direction bit and a step count bit. The direction bit occupies 1 binary bit, where 0 indicates the pressure increase direction and 1 indicates the pressure decrease direction. The step count bit occupies 12 binary bits and stores the binary representation of the final pressure adjustment step count.
[0053] In practical implementation, during the process of synchronously outputting to each hydraulic drive mechanism, the hydraulic synchronous drive module generates a unified timestamp based on the pressure compensation commands of the hydraulic drive mechanisms at each degree of freedom. The unified timestamp is read from the system clock inside the hydraulic synchronous drive module. The system clock is generated by the clock unit of the hydraulic synchronous drive module. The unified timestamp serves as a global reference moment, used to identify all pressure compensation commands generated within the same control cycle.
[0054] The hydraulic synchronous drive module acquires the response delay time of the hydraulic drive mechanism at each degree of freedom. The response delay time is pre-calibrated. The calibration method is as follows: a step pressure command is sent to each hydraulic drive mechanism, and the time difference between the moment the step pressure command is issued and the moment the piston of the hydraulic drive mechanism begins to move is recorded. This time difference is used as a response delay time measurement. The calibration is repeated twenty times for the same hydraulic drive mechanism, and the arithmetic mean of the twenty response delay time measurements is taken as the response delay time of the same hydraulic drive mechanism. The response delay time is stored in the storage unit of the hydraulic synchronous drive module.
[0055] Based on the response delay time of each hydraulic drive mechanism, a command time offset is applied to the pressure compensation command for each hydraulic drive mechanism. The command time offset is used to adjust the sending time of the pressure compensation command so that the actual start time of the action of each hydraulic drive mechanism at the execution level is consistent.
[0056] The transmission time after applying the instruction time offset is calculated according to the following formula:
[0057] in, Indicates the transmission time after the instruction time offset is applied. Represents a unified timestamp, This represents the response delay time of the same hydraulic drive mechanism. When If the time is less than the current system clock time, the current system clock time will be used as the transmission time after the instruction time offset is applied.
[0058] In practice, each pressure compensation command after the applied time offset is sent to the corresponding hydraulic drive mechanism. During the sending process, the hydraulic synchronous drive module, upon reaching the corresponding pressure compensation command... At the same time, the same pressure compensation command will be sent to the hydraulic drive mechanism corresponding to the same pressure compensation command.
[0059] See Figure 6In the figure, the horizontal axis represents the hydraulic drive mechanism number, and the vertical axis represents time (in milliseconds). Solid lines in the curves represent response delay time, and dashed lines represent command time offsets. The data in the figure corresponds to the process in this embodiment where the hydraulic synchronous drive module applies command time offsets to the pressure compensation commands for each hydraulic drive mechanism.
[0060] As can be seen from the figure, the response delay time fluctuates significantly within the range of hydraulic drive mechanism numbers 0 to 500, generally remaining between approximately 5 milliseconds and 50 milliseconds, exhibiting a discrete distribution. The command time offset fluctuates considerably, ranging from approximately -45 milliseconds to 0 milliseconds, and generally shows a negative trend, indicating that the applied command time offset is mostly negative.
[0061] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. An adaptive control system for a phthalic anhydride pretreatment tank, characterized in that, The system includes: The temperature deviation coding module acquires the real-time medium temperature at multiple monitoring points inside the phthalic anhydride pretreatment tank, and generates the temperature deviation direction code corresponding to each monitoring point based on the temperature difference between the real-time medium temperature at each monitoring point and the preset temperature threshold. The temperature field mapping module constructs a temperature field deviation distribution vector inside the tank based on the temperature deviation direction code corresponding to each monitoring point, and maps the temperature field deviation distribution vector to the preset agitator action space to obtain the initial disturbance compensation amount of the agitator in each degree of freedom. The flow rate accumulation calculation module obtains the current feed flow rate and the current discharge flow rate of the phthalic anhydride pretreatment tank, and generates the material accumulation rate in the tank based on the flow rate difference between the current feed flow rate and the current discharge flow rate. The amplitude modulation module modulates the initial disturbance compensation amount of the stirrer in each degree of freedom according to the accumulation rate of the material in the tank, so as to obtain the final action adjustment amount of the stirrer in each degree of freedom. The hydraulic synchronous drive module converts the final motion adjustment of the agitator in each degree of freedom into pressure compensation commands for the hydraulic drive mechanism in the corresponding degree of freedom, and outputs them synchronously to each hydraulic drive mechanism.
2. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 1, characterized in that, The generation of temperature deviation direction codes corresponding to each monitoring point includes: The difference between the real-time medium temperature at each monitoring point and the preset temperature threshold is calculated to obtain the real-time temperature deviation value at each monitoring point. The real-time temperature deviation value at each monitoring point is input into the encoding mapping table, which stores different temperature deviation value ranges and their corresponding direction codes, including positive direction codes and negative direction codes. Based on the interval corresponding to the real-time temperature deviation value at each monitoring point in the encoding mapping table, determine the temperature deviation direction code corresponding to each monitoring point.
3. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 2, characterized in that, The construction of the temperature field deviation distribution vector inside the tank includes: The internal space of the phthalic anhydride pretreatment tank is divided into multiple sub-space regions, each containing at least one monitoring point; The temperature deviation direction codes corresponding to each monitoring point within the same subspace region are concatenated according to a preset sorting rule to obtain the direction code subsequence of that subspace region. The directional code sequences of all subspace regions are spliced together according to the spatial order inside the tank to form the temperature field deviation distribution vector inside the tank.
4. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 3, characterized in that, The step of mapping the temperature field deviation distribution vector to a preset stirrer action space includes: The temperature field deviation distribution vector is divided into multiple vector segments according to a preset segment length, and each vector segment corresponds to one degree of freedom of the stirrer. The weighted sum of each vector segment is calculated to obtain the weighted sum value for that vector segment. The weighted sum of each vector segment is multiplied by the preset motion quantization step size under the corresponding degree of freedom to obtain the initial disturbance compensation amount of the stirrer in that degree of freedom.
5. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 4, characterized in that, The accumulation rate of substances within the generating tank includes: Within a preset time window, multiple instantaneous values of the current feed flow rate and multiple instantaneous values of the current discharge flow rate are continuously collected, and the average feed flow rate and the average discharge flow rate are calculated respectively. Subtract the average feed flow rate from the average discharge flow rate to obtain the net increase rate of material in the tank; The net increase rate of the substance in the tank is calculated by comparing it with the current total amount of substance in the tank, and the accumulation rate of the substance in the tank is obtained.
6. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 5, characterized in that, In the process of amplitude modulation of the initial disturbance compensation amount of the stirrer in each degree of freedom, the accumulation rate of the material in the tank is used as the modulation coefficient, and the initial disturbance compensation amount in each degree of freedom is multiplied by the modulation coefficient to obtain the amplitude adjustment amount to be limited in each degree of freedom. The adjustment amount to be limited in each degree of freedom is compared with the preset maximum allowable adjustment amount in that degree of freedom. When the adjustment amount to be limited is greater than the maximum allowable adjustment amount, the maximum allowable adjustment amount is used as the final motion adjustment amount in that degree of freedom; otherwise, the adjustment amount to be limited is used as the final motion adjustment amount in that degree of freedom.
7. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 6, characterized in that, The step of converting the final motion adjustment of the stirrer in each degree of freedom into pressure compensation commands for the hydraulic drive mechanism in the corresponding degree of freedom includes: Obtain the current oil pressure and current piston displacement of the hydraulic drive mechanism for each degree of freedom; Calculate the target piston displacement of the hydraulic drive mechanism in that degree of freedom based on the final motion adjustment amount in that degree of freedom; Based on the difference between the target piston displacement and the current piston displacement, and in conjunction with the current oil pressure value, calculate the required pressure adjustment direction and pressure adjustment steps for the hydraulic drive mechanism in this degree of freedom; The pressure adjustment direction and pressure adjustment steps are encoded into pressure compensation commands for the corresponding hydraulic drive mechanism.
8. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 7, characterized in that, In the process of calculating the required pressure adjustment direction and pressure adjustment steps of the hydraulic drive mechanism on this degree of freedom, the pressure adjustment direction is first determined according to the sign of the difference between the target piston displacement and the current piston displacement. When the sign of the difference is positive, the pressure adjustment direction is the pressure increase direction, and when the sign of the difference is negative, the pressure adjustment direction is the pressure decrease direction. Then, based on the absolute value of the difference between the target piston displacement and the current piston displacement, divide it by the piston displacement change corresponding to the unit pressure change of the hydraulic drive mechanism to obtain the initial pressure adjustment steps. Round the initial pressure adjustment steps to obtain the final pressure adjustment steps.
9. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 6, characterized in that, Before comparing the adjustment amount to be limited in each degree of freedom with the preset maximum allowable adjustment amount in that degree of freedom, the maximum load torque value of the mechanical transmission structure in that degree of freedom is first obtained. Based on the transmission ratio of the mechanical transmission structure in that degree of freedom and the maximum load torque value, calculate the maximum adjustment amount that can be tolerated in that degree of freedom, and use this maximum adjustment amount as the preset maximum allowable adjustment amount in that degree of freedom.
10. The adaptive control system for a phthalic anhydride pretreatment tank according to claim 1, characterized in that, During the process of synchronously outputting to each hydraulic drive mechanism, a unified timestamp is first generated based on the pressure compensation command of the hydraulic drive mechanism on each degree of freedom. Then, based on the response delay time of each hydraulic drive mechanism, an instruction time offset is applied to the pressure compensation command of each hydraulic drive mechanism to make the actual start time of each hydraulic drive mechanism at the execution level consistent. Each pressure compensation command after applying the command time offset is sent to the corresponding hydraulic drive mechanism.
