CN109323878B - Flight simulator hardware detection system based on WPF - Google Patents

Flight simulator hardware detection system based on WPF Download PDF

Info

Publication number
CN109323878B
CN109323878B CN201811363629.7A CN201811363629A CN109323878B CN 109323878 B CN109323878 B CN 109323878B CN 201811363629 A CN201811363629 A CN 201811363629A CN 109323878 B CN109323878 B CN 109323878B
Authority
CN
China
Prior art keywords
panel
switch
byte
flight simulator
detection system
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
Application number
CN201811363629.7A
Other languages
Chinese (zh)
Other versions
CN109323878A (en
Inventor
罗哲
刘兴涛
王澳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Pan American Smart Industry Co ltd
Original Assignee
Fame Vista Technologies Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fame Vista Technologies Ltd filed Critical Fame Vista Technologies Ltd
Priority to CN201811363629.7A priority Critical patent/CN109323878B/en
Publication of CN109323878A publication Critical patent/CN109323878A/en
Application granted granted Critical
Publication of CN109323878B publication Critical patent/CN109323878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M99/00Subject matter not provided for in other groups of this subclass
    • G01M99/005Testing of complete machines, e.g. washing-machines or mobile phones

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a flight simulator hardware detection system based on WPF, which relates to the field of computer application technology and flight simulation, and comprises five parts, namely a switch panel, a circuit breaker panel, an accelerator panel, an instrument panel and an operation panel; and setting an eight-byte data protocol according to the UDP service, wherein the first byte is the area number of the panel, the second byte is the key number, the third byte is data, and the rest bytes are left empty for standby. The invention has the beneficial effects that: the flight simulator hardware detection system can clearly feed back the state of each part of the simulator hardware, can quickly detect the damaged part, and provides great convenience for the maintenance and repair of the flight simulator.

Description

Flight simulator hardware detection system based on WPF
Technical Field
The invention relates to the technical field of flight simulation training, in particular to a WPF-based flight simulator hardware detection system.
Background
The flight simulator is a real-time simulation system which generates corresponding visual pictures, sound special effects and action feedback according to the operation of a pilot. When a pilot operates various devices (a steering column, pedals, an accelerator, buttons and the like) in a simulation cabin or a teacher operates related control keys on a teacher's desk, the operation control devices generate corresponding voltage signals, the voltage signals are converted into digital quantities through an input interface and then are sent to a computer, the computer calculates the received digital quantities through a preset management program and a related mathematical model, then the calculated results are compiled and controlled through an API (application program interface) of flight simulation software, corresponding airplane driving states are driven by related instruments to indicate the corresponding airplane states, related indicator lights on a driving control panel are driven to present the corresponding states, a sound box emits sounds consistent with the operation, and a motion platform is in the corresponding motion states.
The flight simulator is a device for training pilots, and generally comprises a cockpit, interface equipment, various instruments, a vision system and a training computer. The computer is the control center of the flight training simulator. When trainees train, the trainees can perform various operations while sitting in the cockpit: the electric door is opened, the accelerator is pushed and pulled, the flight lever and the rudder are operated, and various data such as flight speed, travel, position, height, wind direction, wind speed and the like can be obtained. The sight system can simulate the scenery where the student is located, the student feels the motions of diving, pitching and circling just like sitting in the airplane during operation, can see various scenery (cloud, fog, river and building) on and off the airplane, and can set various flight environments so as to comprehensively exercise the technology and learn and master various operations with high difficulty and danger. Therefore, as long as the simulation conditions are vivid, the trainees who pass the flight simulation training can immediately drive the airplane to lift off for exercise after the graduation. The prior flight simulator pays attention to the realization of the fidelity and multiple functions of the flight simulator, and is not careless in the aspects of maintenance and repair of the flight simulator, so that the design is attractive, the use is convenient, the function is complete, and the simulator hardware detection system convenient to operate can generate a great pushing effect on the maintenance of the flight simulator.
At present, a maintenance simulator generally needs to send professional maintenance personnel to an actual field of equipment for debugging and maintaining, and the cost is higher; the existing simulator has the problems of difficult maintenance, difficult fault confirmation, long solving time, unreasonable flow and the like.
WPF (Windows Presentation Foundation) is a Microsoft-derived Windows-based user interface Framework that is part of NET Framework 3.0. The method provides a uniform programming model, language and framework, and really does the work of separating interface designers and developers; at the same time, it provides a new multimedia interactive user graphical interface.
The UDP protocol is known as the user datagram protocol, and it is used for processing packets in a network like the TCP protocol, and is a connectionless protocol. In the OSI model, at the fourth layer, the transport layer, is at a layer above the IP protocol.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a WPF-based flight simulator hardware detection system, support remote use and solve the problems that the existing simulator is not suitable for maintenance, is not suitable for confirmation of faults, is long in solving time and is unreasonable in flow.
The WPF-based flight simulator hardware detection system comprises five parts, namely a switch panel, a circuit breaker panel, an accelerator panel, an instrument panel and an operation panel; and setting an eight-byte data protocol according to the UDP service protocol, wherein the first byte is the area number of the panel, the second byte is the key number, the third byte is data, and the rest bytes are left empty for standby.
Preferably, the first byte is the area number of the panel where the first byte is located, and the specific details are as follows: the switch panel area number is 1, the breaker panel area number is 2, the accelerator panel area number is 3, the meter panel area number is 4, and the operation panel area number is 5.
Preferably, the second byte is a key number, which is as follows: the key number of the general electric switch is 3, the key number of the beacon light is 6, and the key number of the airspeed meter is 5.
Preferably, the third byte is a data number, which is specifically as follows: the lamp is in a state of 1 on and 0 off; switch state 1 on, 0 off; the throttle lever data is 0-100.
Preferably, the first part of switch panel comprises an electronic switch of the simulator, a main switch, an aviation lamp switch and an auxiliary fuel switch, and the states of the switch and the lamp can be correspondingly fed back according to hardware operation of the switch panel; the second part of the breaker panel comprises an engine switch and a trip switch; the engine switch has 5 gears: OFF, LEFT, RIGHT, BOTH, START, the jump switch has two states of pressing and jumping out; the third part throttle panel contains throttle lever, mixing ratio pole, wing flap switch, and flight simulator throttle gear can be adjusted to the throttle lever, and mixing ratio pole cooperation throttle lever uses, and throttle lever and mixing ratio pole range all are 0-100, and the wing flap switch possess 4 gears: 0. 10, 20, 30; the instrument panel of the fourth part comprises an airspeed meter, an altimeter and an attitude instrument, and the functions of the airspeed meter, the altimeter and the attitude instrument are sequentially used for indicating the flying speed, the flying altitude and the flying attitude of the flight simulator; the fifth part of the operation panel comprises an operation rod and a pedal, and clear feedback can be made on the states of the operation rod and the pedal.
Due to the adoption of the technical scheme, the invention has the beneficial effects that: the flight simulator hardware detection system can clearly feed back the state of each part of the simulator hardware, can quickly detect the damaged part, and provides great convenience for the maintenance and repair of the flight simulator.
Drawings
FIG. 1 is a diagram of the data protocol format of the present invention;
FIG. 2 is a schematic diagram of the general structure of the present invention;
FIG. 3 is a state screenshot of the present invention instruction 16100000;
FIG. 4 is a state screenshot of the present invention instruction 42000000.
Detailed Description
The embodiments of the invention will be described in detail below with reference to the drawings, but the invention can be implemented in many different ways as defined and covered by the claims.
The invention is described in detail below with reference to the accompanying drawings.
Example 1:
fig. 1 is a data protocol format diagram, the data protocol is composed of 8 bytes, the types of the data protocol are all in a shaping mode, the first byte is the area number of the panel where the data protocol is located (for example, the area number of a switch panel is 1, the area number of a circuit breaker panel is 2, the area number of an accelerator panel is 3, the area number of an instrument panel is 4, and the area number of an operation panel is 5), the second byte is the key number (for example, the key number of a main switch is 3, the key number of a beacon light is 6, the key number of an airspeed meter is 5, and the like), the third byte is data (for example, the state of the light is 1 on, 0 off, the switch state is 1 on, 0 off, the throttle lever data is 0-100), and the rest bytes are. Therefore, each data protocol instruction can be used for accurately feeding back a device on one simulator, and the simulator detection system can be used for accurately feeding back each data instruction.
If the beacon light switch is turned on as indicated by command 16100000 (the first byte 1 indicates the zone panel number is 1, the second byte 6 indicates the key numbered 6 on the zone panel, the third byte 1 indicates the status of this key is 1, and the next 5 0 s are complementary based on the 8-byte protocol), the beacon light switch is visible on the zone 1 panel as in fig. 3; also for example, command 42000000 (the first byte 4 indicates zone panel number 4, the second byte 2 indicates zone panel number 4 button, the third 0 indicates this button status 0, and the next 5 0's are based on 8 byte protocol supplements) indicates that the flap is in 0 gear, and that the flap is in 0 gear as can be observed on the zone 3 panel, as shown in FIG. 4.
Fig. 2 is a general block diagram of the flight simulator hardware detection system of the present invention, which can be clearly seen to mainly comprise five major parts. The first part of switch panel (number 1 in the figure) contains simulator electronic switch, main switch, various aviation lights, auxiliary fuel switch, etc., and the states of the switch and the lights can be correspondingly fed back according to the hardware operation of the switch panel. The second part of the breaker panel (number 2 in the figure) contains an engine switch, various trip switches; the engine switch has 5 gears, and the jump switch has two kinds of states of pressing and jumping out, and its effect is equivalent to the safety switch, for example its jump switch can jump out when reserve battery voltage is too big, and reserve battery can be invalid. The third part throttle panel (number 3 in the figure) comprises a throttle lever, a mixing ratio lever and a flap switch; the throttle lever can adjust the throttle gear of the flight simulator, the mixing ratio lever is matched with the throttle lever for use, the measuring ranges of the mixing ratio lever and the throttle lever are 0-100, and when the hardware of the simulator is operated, the corresponding progress bar can be changed along with the mixing ratio lever; the flap switch has 4 gears (0, 10, 20, 30). The instrument panel (number 4 in the figure) of the fourth part comprises an airspeed meter, an altimeter and an attitude indicator, and the functions of the airspeed meter, the altimeter and the attitude indicator are sequentially used for indicating the flying speed, the flying altitude and the flying attitude of the flight simulator. The fifth part of the operation panel (5 in the figure) comprises an operation rod and a pedal, and can clearly feedback the states of the operation rod and the pedal. The flight simulator hardware detection system can make clear feedback on the state of each component of the simulator hardware through analysis of a data protocol, can quickly detect out a damaged component, and provides great convenience for maintenance and repair of the flight simulator.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (4)

1. A flight simulator hardware detection system based on WPF is characterized by comprising five parts, namely a switch panel, a circuit breaker panel, an accelerator panel, an instrument panel and an operation panel; setting an eight-byte data protocol according to a UDP service protocol, wherein the first byte is the area number of a panel where the first byte is located, the second byte is a key number, the third byte is data, and the rest bytes are left empty for later use;
the first part of switch panel comprises an electronic electric switch of the simulator, a main electric switch, an aviation lamp switch and an auxiliary fuel switch, and the states of the switch and the lamp can be correspondingly fed back according to hardware operation of the switch panel; the second part of the breaker panel comprises an engine switch and a trip switch; the engine switch has 5 gears: OFF, LEFT, RIGHT, BOTH, START, the jump switch has two states of pressing and jumping out; the third part throttle panel contains throttle lever, mixing ratio pole, wing flap switch, and flight simulator throttle gear can be adjusted to the throttle lever, and mixing ratio pole cooperation throttle lever uses, and throttle lever and mixing ratio pole range all are 0-100, and the wing flap switch possess 4 gears: 0. 10, 20, 30; the instrument panel of the fourth part comprises an airspeed meter, an altimeter and an attitude instrument, and the functions of the airspeed meter, the altimeter and the attitude instrument are sequentially used for indicating the flying speed, the flying altitude and the flying attitude of the flight simulator; the fifth part of the operation panel comprises an operation rod and a pedal, and clear feedback can be made on the states of the operation rod and the pedal.
2. The WPF-based flight simulator hardware detection system as claimed in claim 1, wherein the first byte is the area number of the panel where the first byte is located, specifically as follows: the switch panel area number is 1, the breaker panel area number is 2, the accelerator panel area number is 3, the meter panel area number is 4, and the operation panel area number is 5.
3. The WPF-based flight simulator hardware detection system of claim 2, wherein the second byte is a key number, specifically as follows: the key number of the general electric switch is 3, the key number of the beacon light is 6, and the key number of the airspeed meter is 5.
4. A WPF-based flight simulator hardware detection system as claimed in claim 3, wherein the third byte is a data number, specifically as follows: the lamp is in a state of 1 on and 0 off; switch state 1 on, 0 off; the throttle lever data is 0-100.
CN201811363629.7A 2018-11-16 2018-11-16 Flight simulator hardware detection system based on WPF Active CN109323878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811363629.7A CN109323878B (en) 2018-11-16 2018-11-16 Flight simulator hardware detection system based on WPF

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811363629.7A CN109323878B (en) 2018-11-16 2018-11-16 Flight simulator hardware detection system based on WPF

Publications (2)

Publication Number Publication Date
CN109323878A CN109323878A (en) 2019-02-12
CN109323878B true CN109323878B (en) 2021-06-08

Family

ID=65258474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811363629.7A Active CN109323878B (en) 2018-11-16 2018-11-16 Flight simulator hardware detection system based on WPF

Country Status (1)

Country Link
CN (1) CN109323878B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181161B (en) * 2020-02-14 2021-07-06 成都泛美视界科技有限公司 Power supply control system applied to flight simulator

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4291380A (en) * 1979-05-14 1981-09-22 The Singer Company Resolvability test and projection size clipping for polygon face display
CN103761900B (en) * 2013-12-31 2016-03-30 中国人民解放军空军航空大学军事仿真技术研究所 A kind of method that flight simulator passenger cabin detects with portable on-line checkingi device
CN106934132A (en) * 2017-02-28 2017-07-07 西安交通大学 A kind of flight management simulation system and analogy method

Also Published As

Publication number Publication date
CN109323878A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN113496635B (en) Flight simulator and flight training simulation method
CN103473966A (en) Semi-physical digital simulation control platform of aircraft cockpit
CN104269083A (en) Low-cost flight simulator cabin display and control system
CN103854534A (en) Simple flight simulation device
EP3278322A1 (en) Method and system for customizing a recorded real time simulation based on simulation metadata
CN110187681A (en) Restructural cockpit display & control system
CN112164274A (en) Aircraft flight control simulation system
CN102254465A (en) Aircraft safety warning system based on virtual technology
CN110444077A (en) A kind of Virtual Cockpit System of simulated flight device
CN109323878B (en) Flight simulator hardware detection system based on WPF
CN110246389A (en) A kind of ladder vehicle training system and method
CN212484651U (en) Flight simulation training system of training plane
Williams Scenario-Based Training with X-Plane and Microsoft Flight Simulator: Using PC-Based Flight Simulations Based on FAA-Industry Training Standards
CN110956869A (en) Road navigation flight training system
CN116312136A (en) Aircraft cabin simulation system and fault simulation training method thereof
Ackerman et al. Pilot-in-the-loop flight simulator for NASA’s Transport Class Model
CN112991864A (en) Analog simulation training system of large helicopter
CN111181161B (en) Power supply control system applied to flight simulator
CN212484650U (en) Panel of airplane simulator
Rüther-Kindel et al. VIGA-Virtual Instructor for General Aviation
CA3000448C (en) Recertification of an interactive computer simulation station
CN210721940U (en) Airplane mode control panel simulator
CN212181701U (en) Flap switch of airplane simulator
CN211956798U (en) Standby instrument of airplane simulator
EP4407587A1 (en) Master data model for aviation training

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240301

Address after: No. 10, 13th Floor, Building 1, No. 51 Qinglong Street, Qingyang District, Chengdu City, Sichuan Province, 610000

Patentee after: Sichuan Pan American Smart Industry Co.,Ltd.

Country or region after: China

Address before: No. 366, North Section of Hupan Road, Tianfu New District, Chengdu City, Sichuan Province, 610000, Building 1, 3rd Floor, No.1

Patentee before: FAME VISTA TECHNOLOGIES, LTD.

Country or region before: China