CN103970027B - A telemetry processing unit simulation method in a comprehensive electronic software simulation environment - Google Patents
A telemetry processing unit simulation method in a comprehensive electronic software simulation environment Download PDFInfo
- Publication number
- CN103970027B CN103970027B CN201410132049.2A CN201410132049A CN103970027B CN 103970027 B CN103970027 B CN 103970027B CN 201410132049 A CN201410132049 A CN 201410132049A CN 103970027 B CN103970027 B CN 103970027B
- Authority
- CN
- China
- Prior art keywords
- telemetry
- processing unit
- simulation
- fpga module
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012545 processing Methods 0.000 title claims abstract description 98
- 238000004088 simulation Methods 0.000 title claims abstract description 64
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000002452 interceptive effect Effects 0.000 claims abstract description 7
- 238000012795 verification Methods 0.000 claims description 15
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000005259 measurement Methods 0.000 claims 15
- 230000004044 response Effects 0.000 abstract description 10
- 230000008569 process Effects 0.000 abstract description 8
- 238000012360 testing method Methods 0.000 abstract description 6
- 238000013461 design Methods 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 description 8
- 238000005070 sampling Methods 0.000 description 8
- 230000003993 interaction Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
Description
技术领域technical field
本发明属于月面巡视器综合电子仿真技术领域,涉及一种综合电子软件仿真环境中的遥测处理单元模拟方法,可以应用于针对月面巡视器综合电子单元中遥测处理单元的仿真模拟。The invention belongs to the technical field of comprehensive electronic simulation of lunar surface patrollers, and relates to a method for simulating a telemetry processing unit in a comprehensive electronic software simulation environment, which can be applied to the simulation of the telemetry processing unit in the comprehensive electronic unit of the lunar surface patroller.
背景技术Background technique
由于月面巡视器具有小型化、质量轻等要求,其综合电子单元集成了巡视器绝大部分电子线路。巡视器不同于以往型号常用的通过数据总线进行遥测数据传输的方式,而是采用独立的遥测处理单元完成与中心计算机的数据双向交互。Because the lunar surface patrol has the requirements of miniaturization and light weight, its integrated electronic unit integrates most of the electronic circuits of the patrol. The inspector is different from the usual method of telemetry data transmission through the data bus in previous models, but uses an independent telemetry processing unit to complete the two-way data interaction with the central computer.
在对遥测处理单元的模拟过程中,以往通常采用定周期查询方式读取中心计算机发往遥测处理单元的指令和数据,此类方法存在如下弊端:In the simulation process of the telemetry processing unit, in the past, the fixed-period query method was usually used to read the instructions and data sent by the central computer to the telemetry processing unit. This method has the following disadvantages:
(1)由于巡视器综合电子单元与遥测处理单元的传输有7种通道,其下传数据具有周期不确定的特点,并且最快的传输周期为毫秒级。因此,定周期查询方式响应不及时会导致数据包丢失。(1) Since there are 7 transmission channels between the integrated electronic unit of the patroller and the telemetry processing unit, the downlink data has an uncertain period, and the fastest transmission period is at the millisecond level. Therefore, the untimely response of the fixed-period query mode will result in packet loss.
(2)中心计算机发送遥测数据的周期由遥测处理单元状态决定,遥测任务在综合电子软件中优先级较高,任务调度时序受遥测处理单元影响很大。查询方式无法及时反映遥测处理单元状态的实时变化,因此无法模拟中心计算机与遥测处理单元数据交互的逻辑及时序。(2) The period for the central computer to send telemetry data is determined by the state of the telemetry processing unit. The telemetry task has a higher priority in the integrated electronic software, and the task scheduling timing is greatly affected by the telemetry processing unit. The query method cannot reflect the real-time changes in the state of the telemetry processing unit in a timely manner, so it cannot simulate the logic and timing of data interaction between the central computer and the telemetry processing unit.
发明内容Contents of the invention
本发明的目的在于提供一种综合电子软件仿真环境中的遥测处理单元模拟方法,该方法模拟星上遥测处理单元功能,建立起综合电子软件的硬件仿真环境,解决传统遥测处理单元模拟方法在综合电子仿真环境中数据丢失以及逻辑时序仿真不完善的缺陷,显著提高了开发效率。The purpose of the present invention is to provide a telemetry processing unit simulation method in a comprehensive electronic software simulation environment. The defects of data loss and imperfect logic timing simulation in the electronic simulation environment have significantly improved the development efficiency.
本发明的上述目的主要是通过如下技术方案予以实现的:Above-mentioned purpose of the present invention is mainly achieved through the following technical solutions:
一种综合电子软件仿真环境中的遥测处理单元模拟方法,通过遥测数据交互仿真系统实现,所述遥测数据交互仿真系统包括星上计算机和地面模拟的遥测处理单元,所述遥测处理单元由遥测仿真计算机和FPGA模块组成,具体实现方法如下:A method for simulating a telemetry processing unit in a comprehensive electronic software simulation environment, realized by a telemetry data interactive simulation system, the telemetry data interactive simulation system comprising an on-board computer and a ground-simulated telemetry processing unit, the telemetry processing unit is controlled by a telemetry simulation Composed of computer and FPGA module, the specific implementation method is as follows:
步骤(一)、星上计算机将控制指令发送给FPGA模块,所述控制指令包括查询所述遥测处理单元工作状态的指令、获取模拟量采样值的指令和通道控制指令;Step (1), the on-board computer sends control instructions to the FPGA module, the control instructions include instructions for querying the working status of the telemetry processing unit, instructions for obtaining analog sampling values, and channel control instructions;
步骤(二)、FPGA模块对接收的控制指令进行校验判断,若所述控制指令通过校验,则将所述控制指令进行存储,将工作状态设置为“未准备好”,并触发中断,进入步骤(三);若所述控制指令未通过校验,则将所述指令和遥测数据丢弃;Step (2), the FPGA module checks and judges the received control command, if the control command passes the check, stores the control command, sets the working status to "not ready", and triggers an interrupt, Enter step (3); if the control command fails to pass the verification, discard the command and telemetry data;
步骤(三)、遥测仿真计算机接收到中断后,首先从FPGA模块中读取通过校验的控制指令并进行分类,其中根据查询所述遥测处理单元工作状态的指令,将所述遥测处理单元当前工作状态数据发送给FPGA模块,进入步骤(四);遥测仿真计算机根据获取模拟量采样值的指令,将要求的模拟量采样值发送给FPGA模块,进入步骤(五);遥测仿真计算机根据通道控制指令,设定遥测处理单元的通道号,并将设定的通道号信息发送给FPGA模块,进入步骤(六);Step (3), after the telemetry simulation computer receives the interrupt, it first reads and classifies the control instructions that have passed the verification from the FPGA module, wherein according to the instruction for querying the working status of the telemetry processing unit, the current Send the working status data to the FPGA module, and enter step (4); the telemetry simulation computer sends the required analog sampling value to the FPGA module according to the instruction to obtain the analog sampling value, and enter step (5); the telemetry simulation computer controls according to the channel command, set the channel number of the telemetry processing unit, and send the set channel number information to the FPGA module, and enter step (6);
步骤(四)、FPGA模块接收所述遥测处理单元当前工作状态数据,若当前工作状态为“准备好”状态,则星上计算机向FPGA模块发送遥测数据,FPGA模块接收到所述遥测数据后,对所述遥测数据进行校验判断,若遥测数据通过校验,则将遥测数据进行存储,将工作状态设置为“未准备好”,并触发中断,进入步骤(七);若所述遥测数据未通过校验,则将所述遥测数据丢弃;Step (4), the FPGA module receives the current working status data of the telemetry processing unit. If the current working status is "ready", the on-board computer sends the telemetry data to the FPGA module. After the FPGA module receives the telemetry data, Perform verification and judgment on the telemetry data, if the telemetry data passes the verification, store the telemetry data, set the working status to "not ready", trigger an interruption, and enter step (7); if the telemetry data If the verification fails, the telemetry data is discarded;
步骤(五)、FPGA模块接收所述模拟量采样值后进行存储,供星上计算机进行读取;Step (5), the FPGA module stores the sampled value of the analog quantity after receiving it, and stores it for the on-board computer to read;
步骤(六)、FPGA模块接收所述通道号信息后进行存储,供星上计算机进行读取;Step (6), the FPGA module stores the channel number information after receiving it, and reads it for the on-board computer;
步骤(七)、遥测仿真计算机接收到中断后,从FPGA模块读取遥测数据后进行显示和存储。Step (7), after receiving the interrupt, the telemetry simulation computer reads the telemetry data from the FPGA module and displays and stores them.
在上述综合电子软件仿真环境中的遥测处理单元模拟方法中,步骤(三)中遥测仿真计算机接收到通道控制指令后,设置等待时间(模拟遥测处理单元接收一帧遥测数据后的处理时间),等待时间达到后,将所述遥测处理单元当前工作状态设为“准备好”状态。In the telemetry processing unit simulation method in the above-mentioned comprehensive electronic software simulation environment, after the telemetry simulation computer receives the channel control instruction in step (3), the waiting time is set (the processing time after the analog telemetry processing unit receives a frame of telemetry data), After the waiting time is up, the current working state of the telemetry processing unit is set to the "ready" state.
在上述综合电子软件仿真环境中的遥测处理单元模拟方法中,遥测处理单元中不同通道(不同传输速率)对应的等待时间不同。In the telemetry processing unit simulation method in the above-mentioned comprehensive electronic software simulation environment, different channels (different transmission rates) in the telemetry processing unit correspond to different waiting times.
在上述综合电子软件仿真环境中的遥测处理单元模拟方法中,步骤(三)中要求的模拟量采样值来自于热控分系统和电源分系统。In the above-mentioned telemetry processing unit simulation method in the integrated electronic software simulation environment, the sampled value of the analog quantity required in step (3) comes from the thermal control subsystem and the power supply subsystem.
在上述综合电子软件仿真环境中的遥测处理单元模拟方法中,步骤(一)中星上计算机发送给FPGA模块的遥测数据为非定周期的遥测数据,所述非定周期包括不同类遥测数据之间的非定周期与同一类遥测数据中不同帧遥测数据之间的非定周期。In the above-mentioned telemetry processing unit simulation method in the comprehensive electronic software simulation environment, the telemetry data sent by the on-board computer to the FPGA module in step (1) is non-period telemetry data, and the non-definite period includes telemetry data of different types The non-definite period between the telemetry data and the non-definite period between different frames of telemetry data in the same type of telemetry data.
在上述综合电子软件仿真环境中的遥测处理单元模拟方法中,同一类遥测数据中不同帧遥测数据之间的最小时间间隔为1~2ms。In the telemetry processing unit simulation method in the above-mentioned integrated electronic software simulation environment, the minimum time interval between different frames of telemetry data in the same type of telemetry data is 1-2 ms.
本发明与现有技术相比具有如下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
(1)、本发明鉴于传统遥测处理单元模拟方法的缺陷以及综合电子对遥测数据的特殊要求,设计了一种全新的综合电子软件仿真环境中的遥测处理单元模拟方法,该方法通过遥测数据交互仿真系统实现,采用FPGA技术与遥测仿真计算机软件配合首次模拟了月面巡视器综合电子单元中遥测处理单元状态变化和数据交互过程,实现方法简便,响应速度快、且有利于测试过程中对遥测处理单元状态参数和模拟量进行实时修改,以满足不同条件下的遥测处理单元故障模拟要求和热控分系统、电源分系统的测试要求;(1) In view of the defects of the traditional telemetry processing unit simulation method and the special requirements of integrated electronics for telemetry data, the present invention designs a brand-new telemetry processing unit simulation method in an integrated electronic software simulation environment, which interacts with telemetry data Realization of the simulation system, using FPGA technology and telemetry simulation computer software to simulate the state change and data interaction process of the telemetry processing unit in the integrated electronic unit of the lunar surface patrol for the first time. The status parameters and analog quantities of the processing unit are modified in real time to meet the fault simulation requirements of the telemetry processing unit and the test requirements of the thermal control subsystem and power supply subsystem under different conditions;
(2)、本发明综合电子软件仿真环境中的遥测处理单元模拟方法通过采用中断设计和改变遥测处理单元状态,实现了非定周期的遥测数据的实时响应,并且有效解决了综合电子单元中遥测处理单元大数据量毫秒级接收及对遥测处理单元状态快速变化的模拟问题,同时避免了在短时间内连续收到多条指令导致计算机无法及时响应中断引起的硬件板卡数据接收区阻塞问题;(2), the simulation method of the telemetry processing unit in the integrated electronic software simulation environment of the present invention realizes the real-time response of non-periodic telemetry data by adopting interrupt design and changing the state of the telemetry processing unit, and effectively solves the problem of telemetry processing in the integrated electronic unit. The processing unit receives a large amount of data at the millisecond level and simulates the rapid change of the state of the telemetry processing unit, and at the same time avoids the blockage of the hardware board data receiving area caused by the computer being unable to respond to interruptions in a short period of time after receiving multiple instructions continuously;
(3)、本发明的遥测处理单元模拟方法同时适用于定周期的遥测数据的实时响应和非定周期的遥测数据的实时响应,满足不同的遥测数据类型和传输方式的要求,提高了数据响应速度,有效避免了数据丢失,具有较广的适用范围和较强的实用性;(3), the telemetry processing unit simulation method of the present invention is applicable to both the real-time response of fixed-period telemetry data and the real-time response of non-fixed-period telemetry data, meeting the requirements of different telemetry data types and transmission methods, and improving data response Speed, effectively avoiding data loss, has a wide range of application and strong practicability;
(4)、本发明方法动态模拟星上计算机与遥测处理单元的实时数据交互过程,有效对遥测处理单元状态变化进行仿真,大大减少了综合电子应用软件研制过程中对星上遥测处理单元的依赖,有利于尽早发现综合电子软件中与遥测处理单元相关的程序问题,以及必须通过遥测处理单元进行的如热控等重要功能的测试;(4), the method of the present invention dynamically simulates the real-time data interaction process between the on-board computer and the telemetry processing unit, effectively simulates the state change of the telemetry processing unit, and greatly reduces the dependence on the on-board telemetry processing unit during the development of integrated electronic application software , which is conducive to the early detection of program problems related to the telemetry processing unit in the integrated electronic software, as well as the testing of important functions such as thermal control that must be performed through the telemetry processing unit;
(5)、本发明方法模拟遥测处理单元功能,建立起综合电子软件的硬件仿真环境,显著提高了开发效率,通过与星上计算机进行闭环联试,能够满足综合电子应用软件调试及确认测试的功能及性能要求,已完成多次仿真实验及若干版本确认测试。(5), the method of the present invention simulates the function of the telemetry processing unit, establishes a hardware simulation environment for integrated electronic software, significantly improves the development efficiency, and can meet the requirements of integrated electronic application software debugging and confirmation testing by performing closed-loop joint testing with the on-board computer. For functional and performance requirements, multiple simulation experiments and several version confirmation tests have been completed.
附图说明Description of drawings
图1为本发明采用的遥测数据交互仿真系统结构示意图;Fig. 1 is the telemetry data interactive simulation system structure schematic diagram that the present invention adopts;
图2为本发明遥测仿真计算机工作流程图。Fig. 2 is a working flow chart of the telemetry simulation computer of the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施例对本发明作进一步详细的描述:Below in conjunction with accompanying drawing and specific embodiment the present invention is described in further detail:
本发明综合电子软件仿真环境中的遥测处理单元模拟方法采用遥测数据交互仿真系统实现,如图1所示为本发明采用的遥测数据交互仿真系统结构示意图,由图可知遥测数据交互仿真系统包括星上计算机和地面模拟的遥测处理单元,遥测处理单元由遥测仿真计算机和FPGA模块组成,代替星上真实遥测处理单元板卡。The telemetry processing unit simulation method in the integrated electronic software simulation environment of the present invention is realized by a telemetry data interactive simulation system, as shown in Fig. The telemetry processing unit of the upper computer and the ground simulation, the telemetry processing unit is composed of a telemetry simulation computer and an FPGA module, which replaces the real telemetry processing unit board on the star.
本发明综合电子软件仿真环境中的遥测处理单元模拟方法的具体实现过程如下:The specific implementation process of the telemetry processing unit simulation method in the comprehensive electronic software simulation environment of the present invention is as follows:
步骤(一)、星上计算机将控制指令发送给FPGA模块,其中控制指令包括查询所述遥测处理单元工作状态的指令、获取模拟量采样值的指令和通道控制指令,本实施例中模拟量采样值的指令的周期为512ms,即每隔512ms发送一次指令。本实施例中不同类型遥测数据使用7条不同通道。Step (1), the on-board computer sends control instructions to the FPGA module, wherein the control instructions include instructions for querying the working status of the telemetry processing unit, instructions for obtaining analog sampling values, and channel control instructions. In this embodiment, the analog sampling The command cycle of the value is 512ms, that is, the command is sent every 512ms. In this embodiment, different types of telemetry data use 7 different channels.
步骤(二)、FPGA模块对接收的控制指令进行校验判断,若控制指令通过校验,则将该控制指令进行存储,将工作状态设置为“未准备好”,并触发中断(使用硬件中断,精度提升,满足毫秒级数据接收处理要求),当星上计算机读取到该标志后,不进行数据发送,由此避免中断被打断,进入步骤(三)。若指令未通过校验,则将该指令和遥测数据丢弃。Step (2), the FPGA module checks and judges the received control command. If the control command passes the check, it stores the control command, sets the working status to "not ready", and triggers an interrupt (using hardware interrupt , the accuracy is improved to meet the requirements of millisecond-level data reception and processing), when the on-board computer reads the flag, it does not send data, thereby avoiding interruptions and entering step (3). If the command fails the check, the command and telemetry data are discarded.
步骤(三)、遥测仿真计算机接收到中断后,首先从FPGA模块中读取通过校验的控制指令并进行分类,其中根据查询遥测处理单元工作状态的指令,将遥测处理单元当前工作状态数据发送给FPGA模块,进入步骤(四);遥测仿真计算机根据获取模拟量采样值的指令,将要求的模拟量采样值发送给FPGA模块,进入步骤(五);其中要求的模拟量采样值来自于热控分系统和电源分系统。遥测仿真计算机根据通道控制指令,设定遥测处理单元的通道号,并将设定的通道号信息发送给FPGA模块,进入步骤(六)。Step (3), after the telemetry simulation computer receives the interrupt, it first reads and classifies the control instructions that pass the verification from the FPGA module, and sends the current working status data of the telemetry processing unit according to the instruction for querying the working status of the telemetry processing unit to the FPGA module, enter step (4); the telemetry simulation computer sends the required analog sampling value to the FPGA module according to the instruction to obtain the analog sampling value, and enter step (5); the required analog sampling value comes from the thermal Control sub-system and power sub-system. The telemetry simulation computer sets the channel number of the telemetry processing unit according to the channel control command, and sends the set channel number information to the FPGA module, and enters step (6).
步骤(四)、FPGA模块接收上述步骤(三)中的遥测处理单元当前工作状态数据,若当前工作状态为“准备好”状态,则星上计算机向FPGA模块发送遥测数据,FPGA模块接收到该遥测数据后,对该遥测数据进行校验判断,若遥测数据通过校验,则将遥测数据进行存储,将工作状态设置为“未准备好”,并触发中断,进入步骤(七);若遥测数据未通过校验,则将遥测数据丢弃;Step (4), the FPGA module receives the current working status data of the telemetry processing unit in the above step (3). If the current working status is "ready", the on-board computer sends the telemetry data to the FPGA module, and the FPGA module receives the data After the telemetry data, check and judge the telemetry data, if the telemetry data passes the verification, store the telemetry data, set the working status to "not ready", trigger an interrupt, and enter step (7); if the telemetry data If the data fails to pass the verification, the telemetry data is discarded;
上述步骤(三)中遥测仿真计算机接收到通道控制指令后,设置等待时间(即模拟遥测处理单元接收一帧遥测数据后的处理时间),等待时间达到后,将遥测处理单元当前工作状态设为“准备好”状态。遥测处理单元中不同通道(不同传输速率)对应的等待时间不同。In the above step (3), after the telemetry simulation computer receives the channel control command, set the waiting time (that is, the processing time after the analog telemetry processing unit receives a frame of telemetry data), and after the waiting time is up, set the current working state of the telemetry processing unit to "ready" state. Different channels (different transmission rates) in the telemetry processing unit have different waiting times.
星上计算机发送给FPGA模块的遥测数据为非定周期的遥测数据,非定周期是指遥测数据到达时刻具有不确定性,包括不同类遥测数据之间的非定周期与同一类遥测数据中不同帧遥测数据之间的非定周期。对于同一类遥测数据中不同帧遥测数据之间的非定周期,即数据帧的到达时刻间隔不相同,例如第一帧数据t0时刻到达,第二帧数据t0+1时刻到达,第三帧数据t0+1+0.8时刻到达,第四帧数据t0+1+0.8+0.9时刻到达……。本发明中同一类遥测数据中不同帧遥测数据之间的最小时间间隔为1~2ms。The telemetry data sent by the computer on the star to the FPGA module is telemetry data with an indeterminate period. The indeterminate period means that the arrival time of the telemetry data is uncertain, including the non-fixed period between different types of telemetry data and the difference between the same type of telemetry data. Indefinite period between frames of telemetry data. For the non-definite period between different frames of telemetry data in the same type of telemetry data, that is, the arrival time intervals of data frames are different, for example, the first frame of data arrives at t0, the second frame of data arrives at t0+1, and the third frame of data Time t0+1+0.8 arrives, and the fourth frame of data arrives at time t0+1+0.8+0.9.... In the present invention, the minimum time interval between different frames of telemetry data in the same type of telemetry data is 1-2 ms.
对于不同类遥测数据之间的非定周期,即不同类遥测数据的到达时刻间隔不相同,例如第一类遥测数据中数据帧之间到达的时间间隔相同均为T0,第二类遥测数据中数据帧之间到达的时间间隔相同均为T1,T0≠T1。For the non-fixed period between different types of telemetry data, that is, the arrival time intervals of different types of telemetry data are different. For example, the arrival time interval between data frames in the first type of telemetry data is the same as T0, and in the second type The arrival time interval between data frames is the same as T1, and T0≠T1.
步骤(五)、FPGA模块接收步骤(三)中的模拟量采样值后进行存储,供星上计算机进行读取。In step (5), the FPGA module receives the sampled value of the analog quantity in step (3) and stores it for the on-board computer to read.
步骤(六)、FPGA模块接收步骤(三)中的通道号信息后进行存储,供星上计算机进行读取。Step (6), the FPGA module receives the channel number information in step (3) and stores it for the on-board computer to read.
步骤(七)、遥测仿真计算机接收到中断后,从FPGA模块读取遥测数据,遥测仿真计算机首先对遥测数据进行解析,即将接收到的遥测数据原码按照遥测数据格式和遥测协议的定义进行解析,得到要求的数据形式,之后对数据进行显示和存储。Step (7), after the telemetry simulation computer receives the interrupt, it reads the telemetry data from the FPGA module, and the telemetry simulation computer first analyzes the telemetry data, and the original code of the received telemetry data is parsed according to the definition of the telemetry data format and telemetry protocol , get the required data form, and then display and store the data.
上述遥测数据交互过程中,若遥测处理单元超过300s未收到数据(即未读到遥测处理单元工作状态为“准备好”),则遥测仿真计算机将遥测处理单元状态置为“正在进行自动遥测”。如图2所示为本发明遥测仿真计算机工作流程图。During the above-mentioned telemetry data interaction process, if the telemetry processing unit has not received data for more than 300s (that is, the telemetry processing unit has not read that the working status of the telemetry processing unit is "ready"), the telemetry simulation computer will set the status of the telemetry processing unit to "automatic telemetry in progress". ". As shown in Fig. 2, it is a working flow diagram of the telemetry simulation computer of the present invention.
本发明将对遥测处理单元的模拟实现方法抽象为两部分,首先是硬件接口模拟及其FPGA多任务自动处理,使用FPGA芯片实现,模拟真实遥测板卡完成数据的接收和指令的处理;其次是针对地面遥测处理单元状态变化及数据收发的动态仿真,主要在遥测仿真计算机中完成,在FPGA触发的中断中接收来自FPGA模块的控制指令和遥测数据。本发明充分利用硬件时序的精准性和软件设置的灵活性,对遥测处理单元与中心计算机数据交互的过程和时序进行仿真,既能真实再现遥测处理单元状态变化,又能模拟异常情况下各种时序,还可以满足通过遥测处理单元采集模拟量的设置要求。The present invention abstracts the simulation implementation method of the telemetry processing unit into two parts, the first is the hardware interface simulation and its FPGA multi-task automatic processing, which is realized by using the FPGA chip, and simulates the real telemetry board to complete the data reception and instruction processing; the second is For the dynamic simulation of the state change of the ground telemetry processing unit and data transmission and reception, it is mainly completed in the telemetry simulation computer, and the control instructions and telemetry data from the FPGA module are received in the interrupt triggered by the FPGA. The present invention makes full use of the accuracy of hardware timing and the flexibility of software settings to simulate the process and timing of data interaction between the telemetry processing unit and the central computer, which can not only reproduce the state changes of the telemetry processing unit, but also simulate various Timing can also meet the setting requirements for collecting analog quantities through the telemetry processing unit.
本发明综合电子软件仿真环境中的遥测处理单元模拟方法通过采用中断设计和改变遥测处理单元状态,实现了非定周期的遥测数据的实时响应,并且有效解决了综合电子单元中遥测处理单元大数据量毫秒级接收及对遥测处理单元状态快速变化的模拟问题,同时避免了在短时间内连续收到多条指令导致计算机无法及时响应中断引起的硬件板卡数据接收区阻塞问题;本发明的遥测处理单元模拟方法同时适用于定周期的遥测数据的实时响应和非定周期的遥测数据的实时响应,满足不同的遥测数据类型和传输方式的要求,提高了数据响应速度,有效避免了数据丢失。The telemetry processing unit simulation method in the integrated electronic software simulation environment of the present invention realizes the real-time response of non-fixed-period telemetry data by adopting interrupt design and changing the state of the telemetry processing unit, and effectively solves the problem of large data of the telemetry processing unit in the integrated electronic unit The millisecond-level reception and the simulation of the rapid change of the state of the telemetry processing unit avoid the blockage of the data receiving area of the hardware board caused by the computer being unable to respond to the interruption in a short time due to the continuous receipt of multiple instructions in a short period of time; the telemetry of the present invention The processing unit simulation method is applicable to both the real-time response of fixed-period telemetry data and the real-time response of non-fixed-period telemetry data, which meets the requirements of different telemetry data types and transmission methods, improves data response speed, and effectively avoids data loss.
以上所述,仅为本发明最佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。The above description is only the best specific implementation mode of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of changes or modifications within the technical scope disclosed in the present invention. Replacement should be covered within the protection scope of the present invention.
本发明说明书中未作详细描述的内容属于本领域专业技术人员的公知技术。The content that is not described in detail in the specification of the present invention belongs to the well-known technology of those skilled in the art.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410132049.2A CN103970027B (en) | 2014-04-02 | 2014-04-02 | A telemetry processing unit simulation method in a comprehensive electronic software simulation environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410132049.2A CN103970027B (en) | 2014-04-02 | 2014-04-02 | A telemetry processing unit simulation method in a comprehensive electronic software simulation environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103970027A CN103970027A (en) | 2014-08-06 |
CN103970027B true CN103970027B (en) | 2015-07-08 |
Family
ID=51239669
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410132049.2A Active CN103970027B (en) | 2014-04-02 | 2014-04-02 | A telemetry processing unit simulation method in a comprehensive electronic software simulation environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103970027B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111666106A (en) * | 2019-03-07 | 2020-09-15 | 慧与发展有限责任合伙企业 | Data offload acceleration from multiple remote chips |
CN112181741A (en) * | 2020-09-18 | 2021-01-05 | 青岛鼎信通讯股份有限公司 | Station terminal remote measuring method based on ARM platform Linux system |
CN114690663A (en) * | 2022-03-24 | 2022-07-01 | 上海御微半导体技术有限公司 | Model-based development of simulation control platform and test method for feeding and handover |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201555893U (en) * | 2009-07-09 | 2010-08-18 | 沈阳博来德滋电子科技有限公司 | Distribution type alternating current sampling device |
CN102075291B (en) * | 2010-12-17 | 2013-01-23 | 北京控制工程研究所 | Method for realizing receiving completeness of telemeter data |
CN102543164B (en) * | 2011-12-29 | 2015-02-11 | 北京控制工程研究所 | Spacecraft DSP chip data protection method |
CN103034236B (en) * | 2012-11-30 | 2015-07-08 | 北京控制工程研究所 | Multiple star sensor timing sequence synchronization processing method based on time division multiplexing |
CN103473056B (en) * | 2013-09-06 | 2016-08-17 | 北京控制工程研究所 | A kind of remote measurement configuration file automatic generation method |
-
2014
- 2014-04-02 CN CN201410132049.2A patent/CN103970027B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103970027A (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105760301B (en) | A kind of automated testing method and system based on Monkey order | |
WO2016090908A1 (en) | Memory simulation testing board system and testing method for embedded application of intelligent electric meter | |
CN105137807B (en) | General digital Star Service emulation platform | |
CN103678132A (en) | Application software cloud testing system | |
CN102722434A (en) | Performance test method and tool aiming at Linux process scheduling | |
CN107819647B (en) | Intelligent substation station control layer network tester | |
CN204291050U (en) | A kind of dispatching and monitoring information check system | |
CN103970027B (en) | A telemetry processing unit simulation method in a comprehensive electronic software simulation environment | |
CN107819611B (en) | Client test method based on IEC61850 multi-server simulation | |
CN107678958A (en) | A kind of method of testing for comprehensive parameters display system software | |
CN112131741A (en) | A real-time dual-core single-machine hardware-in-the-loop simulation architecture and simulation method | |
CN109462495A (en) | A kind of ship hardware and communication system detection system and method | |
CN102521087A (en) | System and method for remotely obtaining real-time graded debugging information of kernel module | |
CN117709046B (en) | Method for building APB_bridge subsystem-level verification platform based on uvm | |
CN106125573A (en) | Aircraft nose wheel Servo Control box method for designing based on graphical model | |
CN103544084B (en) | A kind of realization touches the product method and system of test automatically | |
CN103419199A (en) | Teaching system based on open type welding robot | |
CN102497295B (en) | Method and system for verifying register transfer level (RTL) of Ethernet exchange chip queue manager | |
CN106980576A (en) | A kind of built-in system software debugging system based on run time verification technology | |
CN103713977B (en) | Microprocessor IP (internet protocol) kernel comparison and verification implementation method | |
CN113094235B (en) | A tail delay abnormal cloud audit system and method | |
CN104158852B (en) | A kind of low-voltage collecting meter reading concentrator and local communication module information interaction detecting system | |
CN107393371A (en) | A kind of remote microcontroller virtual experimental system | |
CN100481093C (en) | System for verifying target and verification method thereof | |
CN105183954B (en) | A kind of universal serial bus health monitoring platform based on PXI |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |