Carrier rocket multichannel parallel simulation system and method
By adopting bus structure and Ethercat bus technology in the launch vehicle simulation system, the time delay and data inconsistency problems in multi-channel collaborative control in traditional systems are solved, rapid data transmission and synchronous control are achieved, and simulation efficiency and accuracy are improved. , reducing costs.
Patent Information
- Application Number
- CN202411028284.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional launch vehicle simulation systems have problems with time delay and inconsistent data transmission in multi-channel collaborative control scenarios, which makes it difficult to achieve accurate multi-channel collaborative control and affects the accuracy of simulation results.
A bus-type structure is used to connect different simulation channels through the bus. Ethercat bus technology is used to realize rapid data transmission and synchronous control. Real engine swing angle control signals are generated through ground control equipment. The flight control simulation computer generates control instructions, and the data communication equipment transmits the instructions. Classify and synchronously transmit to the servo controller to achieve synchronous movement of the servo mechanism.
It improves simulation efficiency and simulation reliability, reduces the delay in command transmission in different channels, enhances the synchronization and sensitivity between servo mechanisms, improves the accuracy and flexibility of simulation, and reduces costs.
Smart Images

Figure CN118550210A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of simulation control, in particular to a multi-channel parallel simulation system and method for a launch vehicle. Background Art
[0002] In modern space missions, launch vehicles, as core tools, undertake many important tasks. However, since launch vehicles involve complex engineering systems and high-risk launch processes, comprehensive and accurate simulation before actual launch becomes an indispensable part. Through the launch vehicle simulation system, the interaction between various components and the performance under various complex situations can be simulated, so as to discover potential safety hazards in advance, optimize the rocket design to improve its stability and safety, and make the entire rocket system achieve the best performance state while ensuring safety.
[0003] Traditional launch vehicle simulation systems are usually composed of discrete servo controllers or computers, each of which is responsible for processing specific tasks or simulation channels. Since the servo controllers of each simulation channel work independently, it is difficult to achieve precise synchronous control. In some scenarios where multi-channel collaboration is required, the traditional servo controller architecture may have problems with time delays and inconsistent data transmission, and cannot provide sufficient synchronization, making it difficult to achieve precise multi-channel collaborative control. For example: Patent CN117856669A realizes real-time control of a single servo and improves the accuracy of servo control; Patent CN117703623A realizes adaptive precise control of a single engine; Patent CN117875095A improves the rapid analysis of engine components at the interface input level by encapsulating multiple engine components in the launch vehicle engine system separately; Patent CN117949212A provides an engine fault diagnosis method through weighted fusion of multi-channel engine data to improve the credibility of fault diagnosis. However, the first two are only improvements and optimizations for a single channel component, while the latter two do not take into account the inconsistent data communication and time delays between different components, which may lead to a decrease in the accuracy of the results when analyzing a large number of components. Summary of the invention
[0004] The purpose of the present invention is to provide a multi-channel parallel simulation system and method for a launch vehicle, which adopts a bus structure to connect different simulation channels through the bus, realize fast data transmission and synchronous control, reduce the delay of instruction transmission of different channels, improve simulation efficiency and simulation reliability, reduce costs, and provide a basis for launch vehicle launch flight and theoretical analysis.
[0005] The technical solution to achieve the purpose of the present invention is:
[0006] A multi-channel parallel simulation system for a launch vehicle, the system comprises ground control equipment, a flight control simulation computer, data communication equipment, and an engine model; the flight control simulation computer is provided with an angle information solving module and a controller instruction generating module; the number of the engine models is multiple, each engine model is provided with one engine, two servo mechanisms and two servo controllers, wherein:
[0007] The ground control equipment is used to generate real engine swing angle control signals, including sine signals, cosine signals, and step signals, and also supports importing existing engine instructions and sending them to the flight control simulation computer through the RS422 serial port;
[0008] The flight control simulation computer is provided with an angle information solving module and a controller instruction generating module; the angle information solving module converts the engine swing angle control signal sent by the ground control equipment into the extension distance of the servo mechanism in the engine model; the controller instruction generating module generates control instructions of the servo mechanism in different engine models, the control instructions including homing instructions, calibration instructions, extension / shortening instructions, and fault clearing instructions, and sends the generated control instructions to the data communication equipment through the RS232 serial port;
[0009] The data communication device includes an Ethercat master station and multiple slave stations, the number of slave stations is the same as the number of servo controllers, and is used to classify control instructions and transmit them to different servo controllers synchronously via a bus;
[0010] The servo controller in the engine model receives control instructions from the data communication device, controls the servo mechanism to perform telescopic movement according to the control instructions, drives the engine model nozzle to move, and simulates the swing of the launch vehicle in the real environment; at the same time, it collects current state information, including attitude angle and speed, and returns the current state information to the ground control equipment for real-time monitoring and simulation analysis.
[0011] A launch vehicle multi-channel parallel simulation method is provided. The method is based on the launch vehicle multi-channel parallel simulation system, and the specific steps are as follows:
[0012] Step 1: The equipment is powered on, and the flight control simulation computer generates a servo mechanism zero-seeking instruction to control the servo mechanism to move to the electrical zero position; the flight control simulation computer generates a servo mechanism calibration instruction to calibrate the servo mechanism position;
[0013] Step 2: The ground control equipment determines the engine moving in the current stage according to different launch vehicle flight stages, generates an engine swing angle control signal, and sends it to the flight control simulation computer through the RS422 serial port;
[0014] Step 3: The flight control simulation computer analyzes the received engine swing angle control signal, calculates the servo mechanism movement distance, generates control instructions corresponding to different servo mechanisms, and sends them to the data communication device through the RS232 serial port;
[0015] Step 4: The data communication device classifies the control instructions and transmits them to the servo controller synchronously through the bus;
[0016] Step 5: The servo controller controls the servo mechanism to perform telescopic motion according to the control instruction, realizes motion control of the engine model, simulates the swing and response of the rocket engine in a real environment, collects the current engine model status information, and returns it to the ground control equipment;
[0017] Step 6. Repeat steps 2 to 5 to realize multi-channel parallel simulation of the launch vehicle.
[0018] Compared with the prior art, the present invention has the following significant advantages:
[0019] (1) The Ethercat bus technology is used to realize multi-channel synchronous control of the servo mechanism. Multiple channels do not interfere with each other, which enhances the synchronization and sensitivity between servo mechanisms and improves the accuracy of simulation;
[0020] (2) The ground equipment is used to simulate and generate real engine swing information. It can use equipment simulation information and support existing engine commands, ensuring the diversity of input data and improving the flexibility and versatility of the equipment.
[0021] (3) Use the flight control simulation computer to generate control instructions. The input is only the swing angle control signal, which reduces the complexity of the input, makes it easier to generate and optimize control instructions, and reduces the possibility of human error, which helps to improve the efficiency and accuracy of the simulation computer.
[0022] (4) The cyclic synchronous position mode is adopted to reduce the length of control instructions, shorten the data transmission time, and enhance the rapidity of response. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a hardware connection diagram of a launch vehicle multi-channel parallel simulation technology provided by the present invention;
[0024] Figure 2 It is a multi-channel parallel simulation technology operation procedure;
[0025] Figure 3 is a servo mechanism control flow chart adopted by the present invention;
[0026] Figure 4 It is the data transmission equipment used in the present invention;
[0027] Figure 5 is the master-slave register address mapping used in the present invention;
[0028] Figure 6 It is an electrical connection diagram of the controller and the controlled servo mechanism used in the present invention. Specific implementation methods
[0030] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0031] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0032] The present invention provides a launch vehicle multi-channel parallel simulation system for simulating the swing of a rocket in a real environment. The system comprises ground control equipment, a flight control simulation computer, data communication equipment, and an engine model; the flight control simulation computer is provided with an angle information solving module and a controller instruction generating module; the number of the engine models is multiple, and each engine model is provided with one engine, two servo mechanisms, and two servo controllers, wherein:
[0033] The ground control equipment is used to generate real engine swing angle control signals, including sine signals, cosine signals, and step signals, and also supports importing existing engine instructions and sending them to the flight control simulation computer through the RS422 serial port; the different types of control signals provided by the ground equipment can simulate the diverse changes in the engine attitude during the rocket launch process, provide rich input data for the simulation, reflect the dynamic characteristics of the engine during the flight, help simulate the engine operation in the real flight environment, and provide full support for the flight simulation;
[0034] The flight control simulation computer is provided with an angle information solving module and a controller instruction generating module; the angle information solving module converts the engine swing angle control signal sent by the ground control equipment into the extension distance of the servo mechanism in the engine model; the controller instruction generating module generates control instructions of the servo mechanism in different engine models, the control instructions including homing instructions, calibration instructions, extension / shortening instructions, and fault clearing instructions, and sends the generated control instructions to the data communication equipment through the RS232 serial port;
[0035] The data communication device includes an Ethercat master station and multiple slave stations, the number of which is the same as the number of servo controllers, and is used to classify control instructions and transmit them synchronously to different servo controllers through a bus; through the high-speed real-time communication capability and precise synchronization mechanism of the Ethercat bus, the control instructions can be accurately transmitted to the controllers of each servo mechanism, ensuring that each servo mechanism responds to the instructions at the same time and coordinates to complete the complex movement of the simulated rocket engine nozzle; each slave station controller performs corresponding action control according to the received instructions, and even if multiple servo mechanisms need to perform different tasks at the same time, it can ensure that the operations between them are independent of each other and will not interfere with each other, thereby realizing multi-channel data synchronization processing;
[0036] The servo controller in the engine model receives the control command of the data communication device, controls the servo mechanism to perform telescopic movement according to the control command, drives the engine model nozzle to move, and simulates the swing of the launch vehicle in the real environment; at the same time, it collects the current state information, including attitude angle and speed, and returns the current state information to the ground control equipment for real-time monitoring and simulation analysis. By real-time monitoring of the motion state of the rocket model, simulation analysis of the motion attitude, control signals, etc., and in-depth research on the operation of the rocket at different stages, it is helpful to understand the behavioral characteristics of the launch vehicle and improve the flight trajectory planning and attitude control strategy of the rocket.
[0037] The present invention also provides a launch vehicle multi-channel parallel simulation method, which is based on the launch vehicle multi-channel parallel simulation system, and the specific steps are as follows:
[0038] Step 1: The equipment is powered on, and the flight control simulation computer generates a servo mechanism zero-seeking instruction to control the servo mechanism to move to the electrical zero position; the flight control simulation computer generates a servo mechanism calibration instruction to calibrate the servo mechanism position;
[0039] Step 2: The ground control equipment determines the engine moving in the current stage according to different launch vehicle flight stages, generates an engine swing angle control signal, and sends it to the flight control simulation computer through the RS422 serial port;
[0040] Step 3: The flight control simulation computer analyzes the received engine swing angle control signal, calculates the servo mechanism movement distance, generates control instructions corresponding to different servo mechanisms, and sends them to the data communication device through the RS232 serial port;
[0041] Step 4: The data communication device classifies the control instructions and transmits them to the servo controller synchronously through the bus;
[0042] Step 5: The servo controller controls the servo mechanism to perform telescopic motion according to the control instruction, realizes motion control of the engine model, simulates the swing and response of the rocket engine in a real environment, collects the current engine model status information, and returns it to the ground control equipment;
[0043] Step 6. Repeat steps 2 to 5 to realize multi-channel parallel simulation of the launch vehicle.
[0044] In a specific implementation, the homing instruction and calibration instruction in step 1 are as follows:
[0045] The homing instruction is used to make the servo mechanism move to the electrical zero position. The specific homing method is: the servo mechanism gradually contracts at a distance of 1 mm per step. If a zero position electrical signal is detected, the movement is stopped. If it contracts to the limit position, it gradually extends at a distance of 1 mm per step to search in the reverse direction until a zero position electrical signal is found. When all servo mechanisms move to the electrical zero position, the homing is completed.
[0046] The calibration instructions are used to position the engine to the center of the rocket body, correct the deviation caused by the electrical zero position installation error, ensure that the data results obtained from the simulation experiment are accurate and reliable, and be able to more accurately evaluate the performance of attitude control and other aspects during flight control and simulation analysis, thereby improving the accuracy of the simulation.
[0047] In a specific implementation, the generation of the engine swing angle control signal in step 2 is as follows:
[0048] (2.1) According to different rocket flight stages, determine the engine that is moving in the current stage;
[0049] (2.2) Take the engine swing center as the origin, select two perpendicular lines in the plane passing through the origin and parallel to the engine nozzle cross section as the x-axis and y-axis, determine the z-axis by the right-hand rule, and establish the coordinate system xyz;
[0050] The ground control equipment determines that the rotation angle of the moving engine around the x-axis is , the rotation angle around the y axis is , the range is ±8 degrees, angle information , Generate by ground equipment, or import existing engine swing commands;
[0051] (2.3) The generated engine swing angle control signal is sent to the flight control simulation computer through the RS422 serial port.
[0052] In a specific implementation, the step 3 is as follows:
[0053] (3.1) The two servo mechanisms of an engine are the first servo mechanism and the second servo mechanism. There are four connection points between the two servo mechanisms and the engine. The two points connected to the engine bracket are fixed and are called fixed points A and B. The two points connected to the engine nozzle follow the engine swing when the engine swings, which are called follower points a and b. The initial distance is calculated based on the initial positions of the fixed points A and B and the follower points a and b.
[0054] (3.2) The post-swing positions of the follower points a and b are calculated by using the engine swing angle information and the transformation matrix. The engine swing angle information includes the rotation angle around the x-axis: , rotation angle around the y axis ;
[0055] (3.3) The distance after the swing is calculated from the position after the swing;
[0056] (3.4) The telescopic distance of the servo mechanism in the engine model is calculated from the distance after the swing;
[0057] (3.5) Generate corresponding servo mechanism control instructions according to the servo mechanism control method and MODBUS protocol.
[0058] In a specific implementation, the processing process of step (3.1) to step (3.4) is as follows:
[0059] The initial positions of fixed points A and B are:
[0060]
[0061]
[0062] in is the radius of the fixed point cross section circle, is the distance from the engine swing center to the fixed point cross-section circle;
[0063] The initial positions of follower points a and b are:
[0064]
[0065] in is the radius of the cross-section circle of the following point, is the distance from the engine swing center to the cross-section circle of the follower point;
[0066] Initial extension of 2 servo mechanisms , for:
[0067] (1)
[0068] When the rotation angle around the x-axis is , the rotation angle around the y axis is When , the corresponding transformation matrices are , :
[0069] (2)
[0070] (3)
[0071] After the angle transformation, the coordinates of the following points a and b become:
[0072] (4)
[0073] in , , are the x, y, and z coordinates of the moving point a after the angle transformation, , , They are the x, y, and z coordinates of the moving point b after the angle transformation;
[0074] The distance after the swing is:
[0075] (5)
[0076] in , , are the changes of x, y, and z coordinates after the angle transformation of the moving point a, is the extension amount of the first servo mechanism after the angle is transformed, , , are the changes of x, y, and z coordinates after the angle transformation of the moving point a, is the extension amount of the second servo mechanism after the angle is transformed;
[0077] Calculate the expansion and contraction amount of the first servo mechanism , the extension amount of the second servo mechanism They are:
[0078] (6)
[0079] In one specific embodiment, the servo mechanism control method in step (3.5) is a cyclic synchronous position mode;
[0080] The cyclic synchronous position mode refers to the master station completing the position instruction planning and outputting the planned target position, and sending the target position to the servo controller in a cyclic synchronous manner. The servo controller receives the planning instructions of the master station according to the synchronous cycle to realize position and speed control.
[0081] In a specific embodiment, the MODBUS protocol in step (3.5) includes a slave address, a function code, a starting address of the written parameters, the number of written parameters, the number of registers used by the written parameters, data bits and a check bit; the data bits are servo mechanism control instructions, including the control mode, control word, target position, lighting control mode, and homing control mode of each servo mechanism.
[0082] In a specific implementation, the data communication device in step 4 classifies the control instructions and transmits them synchronously to the servo controller via the bus, as follows:
[0083] The data communication device includes an Ethercat master station and multiple slave stations, and the number of slave stations is the same as the number of servo controllers. In the data communication device, the Ethercat master station maps the Ethercat registers with the servo controller registers through the Ethercat configuration file to realize the classification of control instructions. The Ethercat port is connected to the input of the first servo controller, and the output end of the first servo controller is connected to the input end of the second servo controller, and the synchronous transmission of the control instructions required by multiple servo controllers is realized through the bus. The control instructions are delivered to the servo controllers of each servo mechanism through the high-speed transmission bus, and the data between different servo controllers is synchronized, and each servo controller channel is independent of each other, so as to realize the parallel control and data synchronization of multi-channel simulation.
[0084] In a specific implementation, the servo controller in step 5 controls the servo mechanism to perform telescopic motion according to the control instruction to achieve motion control of the engine model, as follows:
[0085] Two servo controllers and servo mechanisms form a group. The servo mechanism controls the engine nozzle to swing 360 degrees by telescoping, which can truly simulate the movement state of the engine during rocket launch and provide accurate data support for flight control and simulation analysis.
[0086] The maximum swing angle during the swing process is 8°, and the maximum swing speed is 20° / s, which simulates the actual situation of engine attitude changes during rocket launch, so as to evaluate the response of the engine nozzle in different attitudes and better understand the behavioral characteristics of the rocket.
[0087] The present invention adopts a bus-type structure to connect different engine simulation channels through a bus, thereby realizing rapid data transmission and synchronous control, simulating the swing and response of the launch vehicle engine during the entire flight process from initial alignment to satellite-rocket separation, reducing the simulation cost, and reducing the delay between data transmissions of different engine channels, and can provide a basis for launch vehicle launch flight, theoretical analysis, and fault detection.
[0088] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Example
[0089] This embodiment provides a launch vehicle multi-channel parallel simulation system for simulating the swing of a rocket in a real environment, comprising ground control equipment, a flight control simulation computer, data communication equipment, and an engine model; the flight control simulation computer is provided with an angle information solving module and a controller instruction generating module; the number of the engine models is multiple, each engine model is provided with one engine, two servo mechanisms, and two servo controllers, wherein:
[0090] The ground control equipment is used to generate real engine swing angle control signals, including sine signals, cosine signals, and step signals, and also supports importing existing engine instructions and sending them to the flight control simulation computer through the RS422 serial port; the different types of control signals provided by the ground equipment can simulate the diverse changes in the engine attitude during the rocket launch process, provide rich input data for the simulation, reflect the dynamic characteristics of the engine during the flight, help simulate the engine operation in the real flight environment, and provide full support for the flight simulation;
[0091] The flight control simulation computer is provided with an angle information solving module and a controller instruction generating module; the angle information solving module converts the ground equipment engine swing angle control signal into the extension distance of the servo mechanism in the engine model; the controller instruction generating module generates control instructions for the servo mechanism in different engine models, the control instructions including homing instructions, calibration instructions, extension / shortening instructions, and fault clearing instructions, and sends the generated control instructions to the data communication device through the RS232 serial port;
[0092] The data communication device includes an Ethercat master station and multiple slave stations, the number of which is the same as the number of controllers, and is used to classify control instructions and transmit them synchronously to different servo controllers through a bus; through the high-speed real-time communication capability and precise synchronization mechanism of the Ethercat bus, the control instructions can be accurately transmitted to the controllers of each servo mechanism, ensuring that each servo mechanism responds to the instructions at the same time and coordinates to complete the complex movement of the simulated rocket engine nozzle; each slave station controller performs corresponding action control according to the received instructions, and even if multiple servo mechanisms need to perform different tasks at the same time, it can ensure that the operations between them are independent of each other and will not interfere with each other, thereby realizing multi-channel data synchronization processing;
[0093] The servo controller in the engine model receives the control command of the data communication device, controls the servo mechanism to perform telescopic movement according to the control command, drives the engine model nozzle to move, and simulates the swing of the launch vehicle in the real environment; at the same time, it collects the current state information, including attitude angle, speed, etc., and returns the current state information to the ground control equipment for real-time monitoring and simulation analysis. By real-time monitoring of the motion state of the rocket model, simulation analysis of the motion attitude, control signals, etc., and in-depth research on the operation of the rocket at different stages, it is helpful to understand the behavioral characteristics of the launch vehicle and improve the flight trajectory planning and attitude control strategy of the rocket.
[0094] like Figure 1 and Figure 2 As shown, this embodiment also provides a launch vehicle multi-channel parallel simulation method, the steps are as follows:
[0095] Step 1: The equipment is powered on, and the flight control simulation computer generates a servo mechanism zero-seeking instruction to control the servo mechanism to move to the electrical zero position; the flight control simulation computer generates a servo mechanism calibration instruction to calibrate the servo mechanism position;
[0096] Step 2: The ground control equipment determines the engine moving in the current stage according to different launch vehicle flight stages, generates an engine swing angle control signal, and sends it to the flight control simulation computer through the RS422 serial port;
[0097] Step 3: The flight control simulation computer analyzes the received engine swing angle control signal, calculates the servo mechanism movement distance, generates control instructions corresponding to different servo mechanisms, and sends them to the data communication device through the RS232 serial port;
[0098] Step 4: The data communication device classifies the control instructions and transmits them to the servo controller synchronously through the bus;
[0099] Step 5: The servo controller controls the servo mechanism to perform telescopic motion according to the control instruction, realizes motion control of the engine model, simulates the swing and response of the rocket engine in a real environment, collects the current engine model status information, and returns it to the ground control equipment;
[0100] Step 6. Repeat steps 2 to 5 to realize multi-channel parallel simulation of the launch vehicle.
[0101] Furthermore, the homing instruction and calibration instruction described in step 1 are specifically as follows:
[0102] The homing instruction is used to make the servo mechanism move to the electrical zero position. The specific homing method is: the servo mechanism slowly contracts at a distance of 1 mm. If a zero position electrical signal is detected, the movement is stopped. If it contracts to the limit position, it slowly extends at a distance of 1 mm to search in the reverse direction until a zero position electrical signal is found. When all servo mechanisms move to the electrical zero position, the homing is completed.
[0103] The calibration instructions are used to accurately position the engine to the center of the rocket body, correct the deviation caused by the electrical zero position installation error, ensure that the data results obtained from the simulation experiment are accurate and reliable, and be able to more accurately evaluate the performance of attitude control and other aspects during flight control and simulation analysis, thereby improving the accuracy of the simulation.
[0104] Furthermore, the generation of the engine swing angle control signal in step 2 is specifically as follows:
[0105] (1) According to different rocket flight phases, determine the engine that is moving in the current phase;
[0106] (2) Take the engine swing center as the origin O, select two mutually perpendicular lines in the plane passing through the origin and parallel to the engine nozzle cross section as the x-axis and y-axis, determine the z-axis by the right-hand rule, and establish a coordinate system;
[0107] There are a total of 4 connection points between the two servo mechanisms and the engine. When the engine swings, the upper connection points A and B are fixed and are fixed points; the upper connection points a and b follow the engine swing and are follower points.
[0108] The ground equipment determines that the rotation angle of the swinging engine around the x-axis is , the rotation angle around the y axis is , angle information , Generate by ground equipment, or import existing engine swing commands;
[0109] (3) The generated engine swing angle control signal is sent to the flight control simulation computer through the RS422 serial port.
[0110] Furthermore, the engine swing angle control signal is analyzed and solved in step 3, and the specific analysis and solution process is as follows:
[0111] (1) Calculate the initial distance from the initial positions of fixed points A and B and moving points a and b.
[0112] The initial positions of fixed points A and B are:
[0113]
[0114] in is the radius of the fixed point cross section circle, is the distance from the engine swing center to the fixed point cross-section circle;
[0115] The initial positions of follower points a and b are:
[0116]
[0117] in is the radius of the cross-section circle of the following point, is the distance from the engine swing center to the cross-section circle of the follower point;
[0118] The initial expansion and contraction of the two servo mechanisms is , for:
[0119]
[0120] (2) Through the engine swing angle information (the rotation angle around the x-axis is , the rotation angle around the y axis is ) and the transformation matrix to calculate the positions of the following points a and b after swinging.
[0121] When the rotation angle around the x-axis is , the rotation angle around the y axis is When , the corresponding transformation matrix is:
[0122]
[0123]
[0124] After the angle transformation, the coordinates of the following points a and b become:
[0125]
[0126] in , , are the x, y, and z coordinates of the moving point a after the angle transformation, , , They are the x, y, and z coordinates of the moving point b after the angle transformation;
[0127] (3) The distance after the swing is calculated from the position after the swing.
[0128] The distance after the swing is:
[0129]
[0130] in , , are the changes of x, y, and z coordinates after the angle transformation of the moving point a, is the extension and contraction amount of servo mechanism 1 after the angle is transformed, , , are the changes of x, y, and z coordinates after the angle transformation of the moving point a, is the extension and contraction amount of servo mechanism 2 after the angle is transformed.
[0131] (4) The corresponding servo mechanism extension and contraction amount is calculated based on the distance after the swing.
[0132] The calculated corresponding servo mechanism expansion and contraction amounts are
[0133]
[0134] (5) Generate corresponding servo mechanism control instructions according to the servo mechanism control method and MODBUS protocol.
[0135] The servo control method adopted by the present invention is a cyclic synchronous position mode, in which the master station completes the position instruction planning and outputs the planned target position, and sends the target position to the servo controller in a cyclic synchronous manner. The servo controller receives the planning instructions of the master station according to the synchronous cycle to realize position and speed control. The specific process is as follows Figure 3 shown.
[0136] The MODBUS protocol used in the present invention is shown in Table 1. It mainly includes the slave address, function code, starting address of the written parameters, number of written parameters, number of registers used by the written parameters, data bit and check bit. The data bit is the servo mechanism control instruction, including the control mode, control word, target position, light control mode, homing control mode, etc. of each servo mechanism.
[0137] Table 1 MODBUS protocol used in the present invention
[0138]
[0139] Furthermore, the data transmission device described in step 4 classifies the control instructions and transmits them to the controller synchronously via the bus, as follows:
[0140] Data communication equipment such as Figure 4 As shown in the figure, it includes an Ethercat master station and multiple slave stations. The number of slave stations is the same as the number of servo controllers. The Ethercat master station maps the Ethercat registers with the servo controller registers through the Ethercat configuration file to realize the classification of control instructions. The mapping is shown in the figure Figure 5 As shown; the Ethercat port is connected to the input of the first servo controller, and the output of the first servo controller is connected to the input of the second servo controller, and the synchronous transmission of the control instructions required by multiple servo controllers is realized through the bus; through the high-speed transmission bus, the control instructions can be accurately and timely transmitted to the servo controllers of each servo mechanism, ensuring the synchronization of data between different servo controllers, making each servo controller channel independent of each other and not interfering with each other, ensuring the parallel control and data synchronization of multi-channel simulation.
[0141] Furthermore, the controller described in step 5 controls the servo mechanism to perform telescopic movement according to the control instruction, thereby driving the nozzle of the engine model to swing, as follows:
[0142] like Figure 6 As shown in the figure, two servo controllers and servo mechanisms form a group. The servo mechanism controls the engine nozzle to swing 360 degrees by telescoping, which can truly simulate the motion state of the engine during rocket launch and provide accurate data support for flight control and simulation analysis. The maximum swing angle during the swing process is 8° and the maximum swing speed is 20° / s, which can simulate the actual situation of the engine attitude change during rocket launch, thereby evaluating the response of the engine nozzle in different attitudes and better understanding the behavior characteristics of the rocket.
Claims
1. A launch vehicle multi-channel parallel simulation system, characterized in that: The system includes ground control equipment, a flight control simulation computer, data communication equipment, and an engine model; the flight control simulation computer is provided with an angle information solving module and a controller instruction generating module; the number of the engine models is multiple, and each engine model is provided with one engine, two servo mechanisms, and two servo controllers, wherein: The ground control equipment is used to generate real engine swing angle control signals, including sine signals, cosine signals, and step signals, and also supports importing existing engine instructions and sending them to the flight control simulation computer through the RS422 serial port; The flight control simulation computer is provided with an angle information solving module and a controller instruction generating module; the angle information solving module converts the engine swing angle control signal sent by the ground control equipment into the extension distance of the servo mechanism in the engine model; the controller instruction generating module generates control instructions of the servo mechanism in different engine models, the control instructions including homing instructions, calibration instructions, extension / shortening instructions, and fault clearing instructions, and sends the generated control instructions to the data communication equipment through the RS232 serial port; The data communication device includes an Ethercat master station and multiple slave stations, the number of slave stations is the same as the number of servo controllers, and is used to classify control instructions and transmit them to different servo controllers synchronously via a bus; The servo controller in the engine model receives control instructions from the data communication device, controls the servo mechanism to perform telescopic movement according to the control instructions, drives the engine model nozzle to move, and simulates the swing of the launch vehicle in the real environment; at the same time, it collects current state information, including attitude angle and speed, and returns the current state information to the ground control equipment for real-time monitoring and simulation analysis.
2. A launch vehicle multi-channel parallel simulation method, characterized in that: The method is based on the launch vehicle multi-channel parallel simulation system described in claim 1, and the specific steps are as follows: Step 1: The equipment is powered on, and the flight control simulation computer generates a servo mechanism zero-seeking instruction to control the servo mechanism to move to the electrical zero position; the flight control simulation computer generates a servo mechanism calibration instruction to calibrate the servo mechanism position; Step 2: The ground control equipment determines the engine moving in the current stage according to different launch vehicle flight stages, generates an engine swing angle control signal, and sends it to the flight control simulation computer through the RS422 serial port; Step 3: The flight control simulation computer analyzes the received engine swing angle control signal, calculates the servo mechanism movement distance, generates control instructions corresponding to different servo mechanisms, and sends them to the data communication device through the RS232 serial port; Step 4: The data communication device classifies the control instructions and transmits them to the servo controller synchronously through the bus; Step 5: The servo controller controls the servo mechanism to perform telescopic motion according to the control instruction, realizes motion control of the engine model, simulates the swing and response of the rocket engine in a real environment, collects the current engine model status information, and returns it to the ground control equipment; Step 6. Repeat steps 2 to 5 to realize multi-channel parallel simulation of the launch vehicle.
3. The launch vehicle multi-channel parallel simulation method according to claim 2, characterized in that: The homing instructions and calibration instructions in step 1 are as follows: The homing instruction is used to make the servo mechanism move to the electrical zero position. The specific homing method is: the servo mechanism gradually contracts at a distance of 1 mm per step. If a zero position electrical signal is detected, the movement is stopped. If it contracts to the limit position, it gradually extends at a distance of 1 mm per step to search in the reverse direction until a zero position electrical signal is found. When all servo mechanisms move to the electrical zero position, the homing is completed. The calibration instructions are used to position the engine to the center of the rocket body and correct the deviation caused by the electrical zero position installation error.
4. The launch vehicle multi-channel parallel simulation method according to claim 2, characterized in that: The engine swing angle control signal is generated in step 2 as follows: (2.1) According to different rocket flight stages, determine the engine that is moving in the current stage; (2.2) Take the engine swing center as the origin, select two perpendicular lines in the plane passing through the origin and parallel to the engine nozzle cross section as the x-axis and y-axis, determine the z-axis by the right-hand rule, and establish the coordinate system xyz; The ground control equipment determines that the rotation angle of the moving engine around the x-axis is , the rotation angle around the y axis is , the range is ±8 degrees, angle information , Generate by ground equipment, or import existing engine swing commands; (2.3) The generated engine swing angle control signal is sent to the flight control simulation computer through the RS422 serial port.
5. The launch vehicle multi-channel parallel simulation method according to claim 4, characterized in that: The step 3 is as follows: (3.1) The two servo mechanisms of an engine are the first servo mechanism and the second servo mechanism. There are four connection points between the two servo mechanisms and the engine. The two points connected to the engine bracket are fixed and are called fixed points A and B. The two points connected to the engine nozzle follow the engine swing when the engine swings, which are called follower points a and b. The initial distance is calculated based on the initial positions of the fixed points A and B and the follower points a and b. (3.2) The post-swing positions of the follower points a and b are calculated by using the engine swing angle information and the transformation matrix. The engine swing angle information includes the rotation angle around the x-axis: , rotation angle around the y axis ; (3.3) The distance after the swing is calculated from the position after the swing; (3.4) The telescopic distance of the servo mechanism in the engine model is calculated from the distance after the swing; (3.5) Generate corresponding servo mechanism control instructions according to the servo mechanism control method and MODBUS protocol.
6. The launch vehicle multi-channel parallel simulation method according to claim 5, characterized in that: The processing process from step (3.1) to step (3.4) is as follows: The initial positions of fixed points A and B are: ; in is the radius of the fixed point cross section circle, is the distance from the engine swing center to the fixed point cross-section circle; The initial positions of follower points a and b are: ; in is the radius of the cross-section circle of the following point, is the distance from the engine swing center to the cross-section circle of the follower point; Initial extension of 2 servo mechanisms , for: (1) When the rotation angle around the x-axis is , the rotation angle around the y axis is When , the corresponding transformation matrices are , : (2) (3) After the angle transformation, the coordinates of the following points a and b become: (4) in , , are the x, y, and z coordinates of the moving point a after the angle transformation, , , They are the x, y, and z coordinates of the moving point b after the angle transformation; The distance after the swing is: (5) in , , are the changes of x, y, and z coordinates after the angle transformation of the moving point a, is the extension amount of the first servo mechanism after the angle is transformed, , , are the changes of x, y, and z coordinates after the angle transformation of the moving point a, is the extension amount of the second servo mechanism after the angle is transformed; Calculate the expansion and contraction amount of the first servo mechanism , the extension amount of the second servo mechanism They are (6)。 7. The launch vehicle multi-channel parallel simulation method according to claim 5, characterized in that: The servo mechanism control method in step (3.5) is a cyclic synchronous position mode; The cyclic synchronous position mode refers to the master station completing the position instruction planning and outputting the planned target position, and sending the target position to the servo controller in a cyclic synchronous manner. The servo controller receives the planning instructions of the master station according to the synchronous cycle to realize position and speed control.
8. The launch vehicle multi-channel parallel simulation method according to claim 5, characterized in that: The MODBUS protocol in step (3.5) includes the slave address, function code, starting address of the written parameters, number of written parameters, number of registers used by the written parameters, data bits and check bits; the data bits are servo mechanism control instructions, including the control mode, control word, target position, lighting control mode and homing control mode of each servo mechanism.
9. The launch vehicle multi-channel parallel simulation method according to claim 5, characterized in that: The data communication device in step 4 classifies the control instructions and transmits them to the servo controller synchronously through the bus, as follows: In the data communication device, the Ethercat master station maps the Ethercat registers with the servo controller registers through the Ethercat configuration file to realize the classification of control instructions; the Ethercat port is connected to the input of the first servo controller, and the output of the first servo controller is connected to the input of the second servo controller, and the synchronous transmission of the control instructions required by multiple servo controllers is realized through the bus; the control instructions are delivered to the servo controllers of each servo mechanism through the high-speed transmission bus, and the data between different servo controllers is synchronized, and each servo controller channel is independent of each other, realizing parallel control and data synchronization of multi-channel simulation.
10. The launch vehicle multi-channel parallel simulation method according to claim 9, characterized in that: The servo controller in step 5 controls the servo mechanism to perform telescopic motion according to the control instruction, thereby realizing motion control of the engine model, as follows: Two servo controllers and servo mechanisms form a group. The servo mechanism controls the engine nozzle to swing 360 degrees by telescoping, simulating the movement of the engine during rocket launch. The maximum swing angle during the swing process is 8°, and the maximum swing speed is 20° / s, which simulates the actual situation of engine attitude changes during rocket launch, so as to evaluate the response of the engine nozzle in different attitudes.
Citation Information
Patent Citations
Small liquid / solid rocket thrust vectoring nozzle servo control system and method
CN106368852A
Carrier rocket thrust vector control swing engine resonant frequency test system
CN106546816A
Method for determining length changes of servo actuators
CN111412083A
Rocket engine nozzle swing simulation analysis method and system
CN111553028A
Multi-axis servo motor control system and method based on EtherCAT P bus technology
CN111740643A
