Disclosure of Invention
In view of the above, the invention provides an intelligent assembling method for an information channel of an embedded simulation platform of a digital satellite, which overcomes the defects of the prior art, realizes the standardized constraint from the simulation board card to the cabinet-level assembly, and can realize the configuration scheme of a telecommunication interface through level-by-level reasoning.
In order to achieve the purpose, the invention adopts the following technical scheme:
an intelligent assembling method for an information channel of an embedded simulation platform of a digital satellite comprises the following steps:
step one, arranging simulation board cards corresponding to each part of a digital satellite one by one, and carrying out board-level assembly on the simulation board cards;
classifying the simulation board cards corresponding to the components, placing the simulation board cards into a chassis, and performing box-level assembly on the chassis;
and step three, performing cabinet-level assembly on the cabinet where the case is located according to the category of the simulation board card in the case.
Preferably, the first step includes the following steps:
(1) the digital satellite simulation platform comprises assembly information, wherein the assembly information comprises the type and the number of the component telecommunication interfaces actually used in the assembly process of the digital satellite;
(2) selecting the components meeting the requirements in a digital satellite component library according to the assembly information;
(3) and setting a telecommunication interface channel number for the hardware of the simulation board card, and assembling the telecommunication interface channel number.
Preferably, the configuration scheme of the channel number of the telecommunication interface comprises a hardware assembly scheme and a software configuration scheme;
the hardware assembly scheme comprises the selection of a hardware output port and a connector port and the selection of a cable connection mode;
the software assembly scheme comprises the step of establishing a corresponding relation between the telecommunication interface channel number of the simulation board card hardware and the interface number of the real component, and the corresponding relation is used for unifying the telecommunication interface port number on the simulation board card hardware and the telecommunication interface number of the real component.
Preferably, the second step includes the following steps:
(1) the digital satellite simulation platform divides a digital satellite system into an attitude and orbit control subsystem and other subsystems according to whether environment support is needed or not;
(2) determining a basic division principle according to whether the attitude and orbit control subsystem and other subsystems use the same CAN bus or not, and dividing the assembly of the chassis;
(3) determining the number of the chassis by adopting a minimization principle;
(4) setting a board card ID for the simulation board card, and establishing a one-to-one correspondence relationship between the board card ID and the position of the simulation board card assembled in the chassis.
Preferably, determining the classification of the component according to the basic classification principle includes: sensor and actuator, ADCS and attitude control subsystem BOX, other subsystem components, CMU and other subsystem BOX.
Preferably, the simulation board cards are assembled according to the principle that the similar components are located in the same chassis.
Preferably, the second step includes the following steps:
(1) determining the number of the cabinets by adopting a minimization principle;
(2) and setting a case ID for the case, and establishing a one-to-one correspondence relationship between the case ID and the position of the case assembled in the cabinet.
Preferably, the chassis is assembled according to the principle that the same type of components are located in the same cabinet.
According to the technical scheme, compared with the prior art, the invention discloses an intelligent assembling method for the information channel of the embedded simulation platform of the digital satellite. On the basis of a semi-physical simulation mode, firstly, the simulation board card is subjected to unified configuration of interface channel numbers to meet the requirement of diversity of components of the digital spacecraft, and further, the problems of complexity of a simulation system and difficulty in simulation synchronization among component simulators are solved by combining rule constraint of inference engine intelligence through the corresponding relation between box-level configuration and cabinet-level configuration.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an intelligent assembling method for an information channel of an embedded simulation platform of a digital satellite, which is characterized in that starting from the structure of the digital satellite, a simulation board card corresponding to a digital satellite component is determined by taking a component level as a simulation granularity, then a box level and cabinet level assembling scheme is deduced upwards, and a telecommunication interface configuration scheme on each simulation board card is deduced downwards.
1. Board level assembly scheme
(1) Simulation board card corresponding simulation part
The satellite architecture includes component level equipment consisting essentially of: environmental dynamics simulator, BOX, sensors, actuators, ADCS, CMU, load, etc.
The other components except the environmental dynamics simulator belong to a part of a satellite entity, embedded simulation board cards are adopted for simulation, and each simulation board card is used for realizing the function of one component in a simulation mode and is collectively called as a component simulator. The environment dynamics simulator does not belong to a part of a satellite entity, simultaneously needs a large amount of data, is realized on an upper computer and is connected with the component simulator through a CAN bus.
(2) Determining telecommunications interface type, number
The method comprises the steps of storing interface types and quantity of component standards in a digital satellite component library, providing the types and quantity of component telecommunication interfaces actually used in the digital satellite assembling process in assembling information of a digital satellite, reading the types and quantity of the interfaces to be used in each component simulator according to the telecommunication interface information given in the assembling information, and initializing the unused telecommunication interfaces under the condition that the allowance of the circuit board telecommunication interfaces allows.
(3) Telecommunications interface channel number assembly
The channel number configuration method of the telecommunication interface is divided into a hardware assembly scheme and a software configuration scheme.
And completing the scheme of output port selection and cable connection by hardware assembly. And the software configuration completes the matching configuration of the simulation input and output signals and the hardware output port.
The hardware assembly is related to the position of the simulation board card and the ID of the simulation board card, and considering that a bus output by each board card comprises a plurality of different signal lines which are not suitable for customization, the wiring mode in each bus is kept consistent. And solving the hardware assembly scheme by adopting an inference mode, wherein the rule is that every two simulation board cards with input and output connection relations need to meet the requirement that the connector ports and the hardware output port numbers which are connected with each other are consistent, and the connection rule between the board cards is further inferred. Thereby, a complete hardware output port and cable connection scheme is obtained. For example, the following steps are carried out: according to the simulation satellite structure, the gyroscope and the gyroscope BOX need to be connected through the UART, each simulation board card is provided with 6 UART ports, and the selection principle is that the UART ports with the same number are selected from two sides of the two simulation board cards which are connected with each other. If the UART ports No. 1 of the two board cards are not used, selecting the UART port No. 1 for connection; if the same port number has the condition that one party is occupied, the UART ports of the same port number are sequentially selected.
Because the port number of the telecommunication interface on the hardware of the simulation board card is not consistent with the port number of the telecommunication interface on the real component, the one-to-one corresponding relation between the telecommunication interface of the real component and the port number of the telecommunication interface on the hardware is configured in a software configuration mode, and the configuration of the simulation software virtual channel is completed.
2. Case level assembly scheme
(1) Device classification
Because of the particularity of the CAN buses, different CAN buses need to be isolated, the CAN buses in one case are connected, and in order to reduce the assembly workload, the simulation boxes CAN be divided preliminarily according to whether the same CAN bus is used or not. As with the satellite architecture shown in fig. 1, the assembly scheme first defaults the sensors, actuators into one chassis, and the ADCS and all the boxes into one chassis, defining the basic partitioning principle. The CMU has strong control coupling with other subsystems, so that the BOX of the CMU and other subsystem equipment is preferentially assembled to one case, and other subsystem components are assembled to one case.
Satellite components are thus divided into four broad categories: sensor and actuator, ADCS and attitude control subsystem BOX, other subsystem components, CMU and other subsystem BOX.
(2) Determining number of chassis
The number of the chassis is determined by adopting a minimization principle, and the number of the chassis in each type is selected as small as possible. Assuming that each type needs N simulation boards, at most M simulation boards can be placed in each case, so that each type of equipment needs the number of cases to be rounded up by N/M.
(3) Determining the position and ID of the simulation board card
The simulation board card position and the board card ID are set to be in one-to-one correspondence, and the description of the board card position includes the case number and the card slot number in the case, in this case, one case allows installation of 10 component simulator board cards at most. Position reasoning is done with reference to two principles: in principle one, the position of the assembly simulation board card is as same as that of the same type of equipment as possible, for example, all sensors and actuators are preferably assembled to one case. In principle two, for convenience of connection between chassis, the card slot numbers of the component simulator board cards to be connected are preferably arranged to be the same. For example, the gyroscope is linked to the gyroscope BOX through the UART bus, the two-component simulator is connected to different CAN buses and is not located in the same chassis, and if the same card slot number of the two chassis is not available, the pair of card slots is preferentially arranged as the positions of the two-component simulator.
3. Cabinet level assembly scheme
(1) Number of cabinets
The cabinet number is determined by adopting a minimization principle, the cabinet number is selected as few as possible, and the method is the same as the method for determining the cabinet number. The arrangement needs N cabinets, and at most M cabinets can be placed in each cabinet, so that the number of cabinets is required to be rounded up by N/M.
(2) Determining each chassis in a cabinet and its location, ID
The cabinet distribution is carried out according to the number of cabinets obtained by dividing the components into four types of sensors and actuating mechanisms, ADCS and attitude control subsystems BOX, other subsystem components, CMU and other subsystems BOX. Because the attitude and orbit control subsystem has a more complex structure than other subsystems, the chassis of the attitude and orbit control subsystem is preferably arranged in the same cabinet. The other subsystems are then preferably arranged in a cabinet. Preferably, a type of equipment is in a cabinet. Finally, the equipment on one bus is preferentially satisfied in one case. And adopting an inference mechanism to finish chassis position inference under the constraint of the rule.
A back plate is arranged in the case, an equipment case interface board and a plurality of line adapter plates are inserted in one side of the back plate, and a synchronous plate and a plurality of ARM plates are inserted in the other side of the back plate. The ARM board is correspondingly an equipment simulation board card and is responsible for satellite component simulation, board level assembly in the step one is to determine each component and used interface which are respectively responsible for each ARM board, and box level assembly in the step two is to determine the position of each ARM board in a machine box clamping groove. The circuit adapter board and the ARM board are in one-to-one correspondence, and the main function of the circuit adapter board is to provide a richer interface scheme for simulation on the basis of not modifying the ARM board. The back plate completes the interconnection between the left plate and the right plate and the bus connection between the board cards in the case. The synchronous board realizes the synchronous management of all board cards in one case, and the consistency of the simulation speeds of the board cards is ensured. The equipment box interface board is connected with a case power supply, supplies power to the whole case equipment, and is simultaneously connected with the CAN bus and the RS485 bus.
The assembly scheme provided by the embodiment can realize synchronous management of each simulation board card, and in the simulation process of the digital satellite, a large number of component simulator board cards and the mutual matching of the environment simulator and the dynamic simulator are often required, and the real-time communication with an upper computer and an embedded simulation platform is realized. The different simulation board cards can synchronously receive synchronous execution instructions issued by a synchronous management program of the embedded simulation platform, and the different simulation board cards can synchronously send completion signals, for example, a schematic diagram of a synchronous management flow of the simulation board cards shown in an attached figure 2 of the specification.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.