Method for simulating ship damage water inflow swinging motion gesture
Technical Field
The invention relates to the field of ship swing simulation, in particular to a ship damage water inflow swing motion attitude simulation method.
Background
The complex motion simulation test platform is increasingly applied to the fields of aviation, aerospace, navigation, automobiles and the like, and provides a simulated motion test environment for various devices in a carrier. The simulated swing test bed is widely used as a motion simulation test platform for simulating sea wave environments for land simulation tests of navigation, electromechanics, electronics and other equipment for ships. The swinging table can reproduce swinging motions of the ship under different sea conditions according to the input swinging spectral lines.
Chinese patent publication No. CN107796615B. The utility model discloses a swing test platform, including the platform base, be equipped with the main shaft perpendicularly on the platform base, the outside cover of main shaft is equipped with rotatory cover, the upper end rotation of rotatory cover is connected with the platform roof-rack, the outside of rotatory cover is equipped with short cantilever and many long cantilevers, the tip of short cantilever and long cantilever all contacts with platform roof-rack bottom, the perpendicular distance between the tip of short cantilever and long cantilever and the platform base is different, one side of platform base is equipped with inverter motor, inverter motor passes through coupling mechanism and is connected with rotatory cover. Therefore, the technical scheme lacks necessary monitoring means, so that the simulation precision of the ship damage water inlet swing motion gesture is not high.
Disclosure of Invention
Therefore, the invention provides a ship damage water inflow swinging motion gesture simulation method, which is used for solving the problem that the simulation precision of the ship damage water inflow swinging motion gesture is not high due to the lack of necessary monitoring means in the prior art.
In order to achieve the above purpose, the invention provides a ship damage water inflow swinging motion attitude simulation method, which comprises the following steps:
step S1, acquiring actual swinging spectral lines of damaged water inflow of a ship;
step S2, a swing test platform is built, swing simulation parameters are set, and swing of a simulated cabin body is completed;
S3, outputting a simulated swing spectral line based on the angular posture data simulating the swing of the cabin;
s4, obtaining the spectrum line coincidence ratio of the actual rocking spectrum line and the simulated rocking spectrum line;
step S5, determining the qualification of the simulated rocking spectrum based on the comparison of the spectrum line coincidence degree and a preset spectrum line coincidence degree, wherein the preset spectrum line coincidence degree comprises a first preset spectrum line coincidence degree and a second preset spectrum line coincidence degree;
Step S6, determining the reasons of disqualification and corresponding adjustment strategies when determining that the simulated rocking spectrum line is disqualified;
Step S7, preliminarily determining whether the simulation of the damaged water inflow swinging motion gesture of the ship meets the preset standard according to the uniformity of the simulated swinging spectral line in the preset time period when the simulation of the damaged water inflow swinging motion gesture of the ship meets the preset standard according to the comparison of the regulated simulated swinging spectral line and the actual swinging spectral line;
And S8, when the simulation of the damaged water inflow swinging motion gesture of the ship is preliminarily determined to meet the preset standard, determining an optimization mode of the swinging test platform according to the average value of the difference values of the offset angles on a plurality of points on the simulated swinging spectrum line after adjustment and the offset angles on the corresponding points on the actual swinging spectrum line.
Further, the swing test platform comprises:
the simulated cabin body is a ship-shaped cabin body;
the foundation bracket is connected with the simulated cabin body and used for supporting the simulated cabin body;
The rotary part is used for rotationally connecting the simulated cabin body and the basic bracket and comprises a first movable seat connected with the end surface of the simulated cabin body and a second movable seat connected with the basic bracket, wherein the first movable seat and the second movable seat are connected through a rotary pin shaft;
The hydraulic cylinder is used for driving the swing of the cabin body, one end of the hydraulic cylinder is connected with the foundation bracket, and the other end of the hydraulic cylinder is connected with the end face of the simulated cabin body;
the driving system is connected with the hydraulic cylinder and comprises a pump station for pumping high-pressure hydraulic oil, and a servo valve connected with the pump station and used for controlling the flow of the hydraulic oil, wherein the output end of the servo valve is connected with the hydraulic cylinder;
the support base is used for supporting the simulated cabin body in an auxiliary mode and comprises a support wheel connected with the bottom surface of the simulated cabin body and used for supporting the simulated cabin body, and a fixing seat connected with the support wheel and used for fixing the support wheel;
The data acquisition module is connected with the simulated cabin body and is used for acquiring the angular posture data of the simulated cabin body;
the data processing module is connected with the data acquisition module and used for drawing simulated rocking spectrum lines;
The control module is respectively connected with the data acquisition module and the driving system and used for determining the qualification of the simulated rocking spectrum line and determining whether the simulation of the ship damage water inflow rocking motion gesture meets the preset standard.
Further, the process of determining eligibility of the simulated rocking spectrum based on the comparison of the spectrum overlap ratio to a preset spectrum overlap ratio includes:
comparing the spectrum line coincidence ratio with the first preset spectrum line coincidence ratio and the second preset spectrum line coincidence ratio respectively;
If the spectrum line overlap ratio is smaller than the first preset spectrum line overlap ratio, determining that the reasons of disqualification and disqualification of the simulated swing spectrum line are that the angular displacement of the simulated cabin body does not reach the standard, and determining the advance time length of a servo valve opening signal according to the difference value between the first preset spectrum line overlap ratio and the spectrum line overlap ratio;
If the spectrum line overlap ratio is larger than or equal to the first preset spectrum line overlap ratio and smaller than the second preset spectrum line overlap ratio, determining that the simulated swing spectrum line is unqualified and unqualified because the angular speed of the simulated cabin body is unqualified, and increasing the opening speed of the servo valve according to the difference value between the spectrum line overlap ratio and the first preset spectrum line overlap ratio;
and if the spectrum line overlap ratio is greater than or equal to the second preset spectrum line overlap ratio, determining that the simulated rocking spectrum line is qualified and outputting the simulated rocking spectrum line.
Further, the opening speed of the servo valve is increased according to the difference between the line overlap ratio and the first preset line overlap ratio, wherein,
If the overlap ratio difference value is smaller than a first preset overlap ratio difference value, increasing the opening speed of the servo valve to a corresponding value by using a first preset speed adjusting coefficient;
if the overlap ratio difference value is larger than or equal to the first preset overlap ratio difference value and smaller than the second preset overlap ratio difference value, increasing the opening speed of the servo valve to a corresponding value by using a second preset speed adjustment coefficient;
If the overlap ratio difference value is larger than or equal to the second preset overlap ratio difference value, using a third preset speed adjustment coefficient to increase the opening speed of the servo valve to a corresponding value;
The overlap ratio difference value is the difference value between the overlap ratio of the spectral line and the overlap ratio of the first preset spectral line.
Further, under a first preset condition, according to the comparison of the simulated rocking spectrum line after adjustment and the actual rocking spectrum line, whether the simulation of the ship damage water inlet rocking motion gesture meets a preset standard is preliminarily determined, wherein,
If the simulated rocking spectrum line after adjustment approaches to the actual rocking spectrum line, the simulation of the damaged water inflow rocking motion gesture of the ship is preliminarily determined to accord with a preset standard, and whether the simulation of the damaged water inflow rocking motion gesture of the ship accords with the preset standard is determined again according to the uniformity of the simulated rocking spectrum line within a preset time period;
If the adjusted simulated rocking spectrum line is far away from the actual rocking spectrum line, the simulation of the damaged water inflow rocking motion gesture of the ship is preliminarily determined to be not in accordance with a preset standard, and the optimization mode of the rocking test platform is determined according to the average value of the difference values of the offset angles of a plurality of points on the adjusted simulated rocking spectrum line and the offset angles of corresponding points on the actual rocking spectrum line;
The first preset condition is that the opening speed of the servo valve is adjusted, and the adjusted simulated rocking spectrum line is obtained according to the adjusted opening speed of the servo valve.
Further, an optimization mode of the swing test platform is determined according to the average value of the difference values of the offset angles, wherein,
If the average value of the difference values of the offset angles is smaller than or equal to a preset average value threshold value, correcting the opening speed of the servo valve;
And if the average value of the difference values of the offset angles is larger than the preset average value threshold value, reducing the initial position offset of the simulated cabin.
Further, the correction amplitude of the opening speed of the servo valve is positively correlated with a correction difference value, wherein the correction difference value is a difference value between the preset average value threshold value and the average value of the difference values of the offset angles.
Further, determining whether the simulation of the ship damage water inflow swinging motion gesture meets the preset standard again according to the uniformity of the simulated swinging spectral line in the preset time period, wherein,
If the uniformity is smaller than a preset uniformity threshold, determining that the simulation of the ship damage water inlet swing motion gesture does not accord with a preset standard, and correcting the advance time length of the servo valve opening signal according to the difference between the preset uniformity threshold and the uniformity;
If the uniformity is greater than or equal to the preset uniformity threshold, determining that the simulation of the ship damage water inlet swing motion gesture meets the preset standard.
Further, the uniformity of the simulated rocking spectrum line is determined based on the dispersion of offset peaks on the simulated rocking spectrum line within a preset time period.
Further, a plurality of correction modes are set for correction of the advance time length of the servo valve opening signal, and the correction amplitude of each correction mode for the advance time length of the servo valve opening signal is different.
Compared with the prior art, the invention has the beneficial effects that the acquired simulated rocking spectrum line is compared with the actual rocking spectrum line of the damaged water inflow of the ship, the qualification of the simulated rocking spectrum line is judged according to the comparison coincidence ratio, and the operation parameters of the rocking test platform are correspondingly optimized when the precision of the simulated rocking spectrum line is determined to be insufficient, so that the simulation precision of the damaged water inflow rocking motion gesture of the ship is improved.
Furthermore, the swinging test platform provided by the invention is provided with the data acquisition module, the data processing module and the control module, so that the simulation reliability is precisely checked by acquiring the angular posture data of the simulation cabin, the operation parameters of the swinging test platform are rapidly and precisely corrected, and the simulation effect of the platform is further improved.
Further, the qualification of the simulated rocking spectrum line is determined based on the comparison of the spectrum line coincidence degree and the preset spectrum line coincidence degree, the problem that the angular displacement or the angular velocity does not reach the standard is effectively identified, and the advance time length or the opening speed of the servo valve opening signal is determined according to the comparison result, so that the accuracy of the simulation result is accurately judged.
Further, the invention increases the opening speed of the servo valve according to the difference between the line overlap ratio and the first preset line overlap ratio, and adopts different speed adjustment coefficients to ensure the accuracy and reliability of simulated swing.
Further, under the first preset condition, whether the simulation of the ship damage water inlet swing motion gesture meets the preset standard is preliminarily determined according to the comparison of the simulated swing spectral line after adjustment and the actual swing spectral line, and the method effectively improves the test efficiency and the simulation precision.
Further, an optimization mode of the swing test platform is determined according to the average value of the difference values of the offset angles, the damaged water inflow gesture of the ship is accurately simulated, and the reliability of the test is enhanced.
Further, whether the simulation of the ship damage water inlet swing motion gesture accords with the preset standard is determined again according to the uniformity of the simulated swing spectral line within the preset time, the simulation process is optimized by correcting the advanced time length of the servo valve opening signal, and the accuracy of the test result is improved.
Drawings
FIG. 1 is a flow chart of a method for simulating the attitude of a ship in a broken water inflow swinging motion according to an embodiment of the invention;
FIG. 2 is a schematic structural diagram of a swing test platform according to an embodiment of the present invention;
FIG. 3 is a flow chart of a process for determining eligibility of the simulated rocking line in accordance with an embodiment of the present invention;
FIG. 4 is a flow chart of increasing the opening speed of the servo valve according to an embodiment of the present invention;
FIG. 5 is a simulated rocking spectrum plot of an embodiment of the invention;
in fig. 2, 1, a simulation cabin, 2, a basic bracket, 3, a rotating part, 301, a first movable seat, 302, a second movable seat, 303, a rotating pin shaft, 4, a hydraulic cylinder, 5, a supporting base, 501, supporting wheels, 502 and a fixed seat.
Detailed Description
The invention will be further described with reference to examples for the purpose of making the objects and advantages of the invention more apparent, it being understood that the specific examples described herein are given by way of illustration only and are not intended to be limiting.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "upper," "lower," "left," "right," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
In addition, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, integrally connected, mechanically connected, electrically connected, directly connected, indirectly connected through an intermediate medium, or in communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
Referring to fig. 1-5, fig. 1 is a flow chart of a method for simulating a ship damage water inlet swing motion gesture according to an embodiment of the present invention, fig. 2 is a schematic structural diagram of a swing test platform according to an embodiment of the present invention, fig. 3 is a flow chart of a process for determining eligibility of a simulated swing spectrum line according to an embodiment of the present invention, fig. 4 is a flow chart for increasing an opening speed of a servo valve according to an embodiment of the present invention, and fig. 5 is a simulated swing spectrum line according to an embodiment of the present invention.
The invention provides a ship damage water inflow swinging motion attitude simulation method, which comprises the following steps:
step S1, acquiring actual swinging spectral lines of damaged water inflow of a ship;
step S2, a swing test platform is built, swing simulation parameters are set, and swing of a simulated cabin body is completed;
S3, outputting a simulated swing spectral line based on the angular posture data simulating the swing of the cabin;
s4, obtaining the spectrum line coincidence ratio of the actual rocking spectrum line and the simulated rocking spectrum line;
step S5, determining the qualification of the simulated rocking spectrum based on the comparison of the spectrum line coincidence degree and a preset spectrum line coincidence degree, wherein the preset spectrum line coincidence degree comprises a first preset spectrum line coincidence degree and a second preset spectrum line coincidence degree;
Step S6, determining the reasons of disqualification and corresponding adjustment strategies when determining that the simulated rocking spectrum line is disqualified;
Step S7, preliminarily determining whether the simulation of the damaged water inflow swinging motion gesture of the ship meets the preset standard according to the uniformity of the simulated swinging spectral line in the preset time period when the simulation of the damaged water inflow swinging motion gesture of the ship meets the preset standard according to the comparison of the regulated simulated swinging spectral line and the actual swinging spectral line;
And S8, when the simulation of the damaged water inflow swinging motion gesture of the ship is preliminarily determined to meet the preset standard, determining an optimization mode of the swinging test platform according to the average value of the difference values of the offset angles on a plurality of points on the simulated swinging spectrum line after adjustment and the offset angles on the corresponding points on the actual swinging spectrum line.
Specifically, the swing test platform includes:
the simulated cabin body is a ship-shaped cabin body;
the foundation bracket is connected with the simulated cabin body and used for supporting the simulated cabin body;
The rotary part is used for rotationally connecting the simulated cabin body and the basic bracket and comprises a first movable seat connected with the end surface of the simulated cabin body and a second movable seat connected with the basic bracket, wherein the first movable seat and the second movable seat are connected through a rotary pin shaft;
The hydraulic cylinder is used for driving the swing of the cabin body, one end of the hydraulic cylinder is connected with the foundation bracket, and the other end of the hydraulic cylinder is connected with the end face of the simulated cabin body;
the driving system is connected with the hydraulic cylinder and comprises a pump station for pumping high-pressure hydraulic oil, and a servo valve connected with the pump station and used for controlling the flow of the hydraulic oil, wherein the output end of the servo valve is connected with the hydraulic cylinder;
the support base is used for supporting the simulated cabin body in an auxiliary mode and comprises a support wheel connected with the bottom surface of the simulated cabin body and used for supporting the simulated cabin body, and a fixing seat connected with the support wheel and used for fixing the support wheel;
The data acquisition module is connected with the simulated cabin body and is used for acquiring the angular posture data of the simulated cabin body;
the data processing module is connected with the data acquisition module and used for drawing simulated rocking spectrum lines;
The control module is respectively connected with the data acquisition module and the driving system and used for determining the qualification of the simulated rocking spectrum line and determining whether the simulation of the ship damage water inflow rocking motion gesture meets the preset standard.
Specifically, the swing test platform consists of an analog cabin, a hydraulic cylinder, a servo valve, a PLC programmable controller, a computer system, a servo amplifier, an angle measuring sensor and the like.
Specifically, the motion of the simulated cabin is driven by servo hydraulic cylinders positioned on two sides of the rotation axis, the end parts of the hydraulic cylinders are hinged to the cabin and the supporting seat through balls, the cabin is driven to swing by the expansion and contraction of the hydraulic cylinders, and the angular displacement and the angular velocity of the swing motion are determined by the expansion and contraction displacement and the velocity of the hydraulic cylinders.
Specifically, the telescopic movement of the hydraulic cylinder is controlled by an electro-hydraulic servo valve, the opening and closing direction of the servo valve determines the telescopic movement or the contraction of the hydraulic cylinder, and the actual opening degree of the valve determines the telescopic speed of the hydraulic cylinder.
Specifically, the opening and closing direction and the opening degree of the electrohydraulic servo valve are controlled by an electric signal sent by a servo amplifier.
Specifically, based on the process of determining the qualification of the simulated rocking spectrum based on the comparison of the spectrum overlap ratio and a preset spectrum overlap ratio, comparing the spectrum overlap ratio with the first preset spectrum overlap ratio 80% and the second preset spectrum overlap ratio 95% respectively;
If the spectrum line overlap ratio is smaller than 80% of the first preset spectrum line overlap ratio, determining that the reasons of disqualification and disqualification of the simulated swing spectrum line are that the angular displacement of the simulated cabin body is not up to standard, and determining the advance time length of a servo valve opening signal according to the difference value between the first preset spectrum line overlap ratio and the spectrum line overlap ratio;
If the spectrum line overlap ratio is greater than or equal to the first preset spectrum line overlap ratio and less than 95% of the second preset spectrum line overlap ratio, determining that the reasons for disqualification and disqualification of the simulated swing spectrum line are that the angular speed of the simulated cabin body is not up to standard, and increasing the opening speed of the servo valve according to the difference value between the spectrum line overlap ratio and the first preset spectrum line overlap ratio;
and if the spectrum line overlap ratio is greater than or equal to the second preset spectrum line overlap ratio, determining that the simulated rocking spectrum line is qualified and outputting the simulated rocking spectrum line.
Specifically, the opening speed of the servo valve is increased according to the difference between the line overlap ratio and the first preset line overlap ratio, wherein,
If the overlap ratio difference value is smaller than the first preset overlap ratio difference value by 5%, the opening speed of the servo valve is increased to a corresponding value by using a first preset speed adjusting coefficient of 1.09;
If the difference value of the overlapping degree is more than or equal to 5% of the first preset overlapping degree difference value and less than 10% of the second preset overlapping degree difference value, using a second preset speed adjusting coefficient 1.06 to increase the opening speed of the servo valve to a corresponding value;
if the overlap ratio difference value is larger than or equal to the second preset overlap ratio difference value, increasing the opening speed of the servo valve to a corresponding value by using a third preset speed adjusting coefficient 1.02;
The overlap ratio difference value is the difference value between the overlap ratio of the spectral line and the overlap ratio of the first preset spectral line by 80 percent.
Specifically, under a first preset condition, whether the simulation of the ship damage water inlet swing motion gesture meets a preset standard is preliminarily determined according to the comparison of the simulated swing spectrum line after adjustment and the actual swing spectrum line, wherein,
If the simulated rocking spectrum line after adjustment approaches to the actual rocking spectrum line, the simulation of the damaged water inflow rocking motion gesture of the ship is preliminarily determined to accord with a preset standard, and whether the simulation of the damaged water inflow rocking motion gesture of the ship accords with the preset standard is determined again according to the uniformity of the simulated rocking spectrum line within a preset time period;
If the adjusted simulated rocking spectrum line is far away from the actual rocking spectrum line, the simulation of the damaged water inflow rocking motion gesture of the ship is preliminarily determined to be not in accordance with a preset standard, and the optimization mode of the rocking test platform is determined according to the average value of the difference values of the offset angles of a plurality of points on the adjusted simulated rocking spectrum line and the offset angles of corresponding points on the actual rocking spectrum line;
The first preset condition is that the opening speed of the servo valve is adjusted, and the adjusted simulated rocking spectrum line is obtained according to the adjusted opening speed of the servo valve.
Specifically, the optimization mode of the swing test platform is determined according to the average value of the difference values of the offset angles, wherein,
If the average value of the difference values of the offset angles is smaller than or equal to a preset average value threshold value of 3 degrees, correcting the opening speed of the servo valve;
and if the average value of the difference values of the offset angles is larger than the preset average value threshold, reducing the initial position offset of the simulated cabin.
Specifically, the correction amplitude of the opening speed of the servo valve is positively correlated with a correction difference value, wherein the correction difference value is a difference value between the preset average value threshold value and the average value of the difference values of the offset angles.
In particular, whether the simulation of the ship damage water inflow swinging motion gesture meets the preset standard is determined again according to the uniformity of the simulated swinging spectral line within the preset time period, wherein,
If the uniformity is smaller than a preset uniformity threshold value of 0.5, determining that the simulation of the ship damage water inflow swinging motion gesture does not accord with a preset standard, and correcting the advance time length of the servo valve opening signal according to the difference value between the preset uniformity threshold value and the uniformity;
If the uniformity is greater than or equal to the preset uniformity threshold, determining that the simulation of the ship damage water inlet swing motion gesture meets the preset standard.
Specifically, the uniformity of the simulated rocking spectrum line is determined based on the dispersion of offset peaks on the simulated rocking spectrum line over a preset period of time.
Specifically, several correction modes are set for the correction of the advance time length of the servo valve opening signal, and the correction amplitude of each correction mode for the advance time length of the servo valve opening signal is different.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features can be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will fall within the scope of the present invention.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, and various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.