CN216927419U - Input and output signal switching device of universal ship driving simulator - Google Patents

Input and output signal switching device of universal ship driving simulator Download PDF

Info

Publication number
CN216927419U
CN216927419U CN202220822031.5U CN202220822031U CN216927419U CN 216927419 U CN216927419 U CN 216927419U CN 202220822031 U CN202220822031 U CN 202220822031U CN 216927419 U CN216927419 U CN 216927419U
Authority
CN
China
Prior art keywords
input
output
interface
analog
module
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
CN202220822031.5U
Other languages
Chinese (zh)
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.)
Zhenjiang Runchen Information Technology Co ltd
Original Assignee
Zhenjiang Runchen Information Technology Co 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 Zhenjiang Runchen Information Technology Co ltd filed Critical Zhenjiang Runchen Information Technology Co ltd
Priority to CN202220822031.5U priority Critical patent/CN216927419U/en
Application granted granted Critical
Publication of CN216927419U publication Critical patent/CN216927419U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The utility model discloses an input and output signal switching device of a universal ship driving simulator, and relates to the technical field of ship electronics. The utility model comprises an input switching module, an output switching module and a power supply module; the input switching module is connected with the output switching module, and the power supply module supplies power to the input switching module and the output switching module; the input switching module comprises an input control module, an analog input processing module, an analog input interface, a digital input interface, a first serial port and a third serial port; the output switching module comprises an output control module, an analog output processing module, an analog output interface, a digital output interface and a second serial port; the input switching module and the output switching module are connected with each other through a first serial port and a second serial port; the third serial port is connected with the computer serial port. The utility model has good universality, can independently realize the control of the input quantity on the output quantity, is easy to use, has strong expandability on the analog quantity, low cost and convenient upgrade and maintenance.

Description

Input and output signal switching device of universal ship driving simulator
Technical Field
The utility model belongs to the technical field of ship electronics, and particularly relates to an input and output signal switching device of a universal ship driving simulator, which is applied to a ship driving simulation system.
Background
The ship driving simulation training is an important means for ship driving technology training, a ship driving simulator is used for replacing a real ship to carry out content training such as ship control, collision avoidance and the like, and the method has the advantages that training scene conditions can be set repeatedly, training cost is low, training is free of accident risk and the like. The ship driving simulator is usually realized by adopting a semi-physical simulation mode, a computer is used for simulating a ship driving scene, and interactive facilities such as a vehicle, a rudder, a button, an indicator light and the like which are the same as those of a real ship are adopted; the data interaction between the input and output signals of the car, the rudder, the button, the indicator light and the like and the computer is the traditional Chinese medicine link of the simulator.
At present, the input and output signals of the ship driving simulator are mainly directly connected with a computer by adopting a data acquisition card and the like, and the input and output signals are directly processed by the computer, so that the computer has more processing interfaces and data, and the maintenance and the upgrade of software and hardware of the system are complex. Therefore, the signal conversion device of the universal ship driving simulator is provided, the connection between the external input and output and the computer is integrally realized, the access of the input and output signals can be flexibly configured, and the signal conversion device has important significance and practical value for the ship driving simulator.
SUMMERY OF THE UTILITY MODEL
The utility model provides an input and output signal switching device of a universal ship driving simulator, which solves the problems.
In order to solve the technical problems, the utility model is realized by the following technical scheme:
the utility model relates to an input and output signal switching device of a universal ship driving simulator, which comprises an input switching module, an output switching module and a power supply module, wherein the input switching module is connected with the output switching module; the input switching module is connected with the output switching module, and the power supply module supplies power to the input switching module and the output switching module;
the input switching module comprises an input control module, an analog input processing module, an analog input interface, a digital input interface, a first serial port and a third serial port; the input control module is connected with the analog quantity input processing module, the digital quantity input interface, the first serial port and the third serial port; the analog input processing module is connected with the analog input interface;
the output switching module comprises an output control module, an analog output processing module, an analog output interface, a digital output interface and a second serial port; the output control module is connected with the analog quantity output processing module, the digital quantity output interface and the second serial port, and the analog quantity output processing module is connected with the analog quantity output interface;
the input switching module and the output switching module are connected with each other through a first serial port and a second serial port; and the third serial port is connected with the serial port of the computer.
Further, the input control module comprises a microcontroller, two serial ports respectively connected with the first serial port and the third serial port, an I2C interface connected with the analog input processing module, and a GPIO interface connected with the digital input interface.
Further, the analog input processing module comprises an A/D chip supporting an I2C interface and an I2C interface connected with the input control module.
Furthermore, the analog input interface and the digital input interface both adopt wiring terminals to provide connection with analog input ends and digital input ends of the simulator.
Further, the third serial port adopts a USB interface.
Further, the output control module comprises a microcontroller, a serial port connected with the second serial port, an I2C interface connected with the analog quantity output processing module, and a GPIO interface connected with the digital quantity output interface.
Further, the analog output processing module comprises an A/D chip supporting an I2C interface and an I2C interface connected with the output control module.
Furthermore, the analog output interface and the digital output interface both adopt wiring terminals to provide connection with analog and digital output ends of the simulator.
Furthermore, the power module comprises a power interface, a power management chip, a power switch and a power working state indicator lamp.
Compared with the prior art, the utility model has the following beneficial effects:
the device of the technical scheme can be connected with a driving simulator computer through a serial port, provides connection of various analog input and output quantities and digital input and output quantities, adopts a wiring terminal for connection of input and output quantities, and has good universality; the device can independently realize the control of the input quantity to the output quantity, reduces the interaction quantity with the simulator computer, lightens the operation burden of the simulator computer and is easy to use; the special analog-to-digital conversion and digital-to-analog conversion chips are adopted, so that the expandability of analog quantity is strong; meanwhile, the device is low in cost and convenient to upgrade and maintain, and has important significance and practical value in the field of ship driving simulators.
Of course, it is not necessary for any product in which the utility model is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an input/output signal switching device of a universal ship driving simulator according to the present invention;
FIG. 2 is a diagram illustrating a data format from a first serial port to a second serial port;
FIG. 3 is a schematic diagram of a data format of the third serial port interacting with the computer;
FIG. 4 is a schematic circuit diagram of an analog input processing module;
FIG. 5 is a schematic circuit diagram of an analog output processing module;
FIG. 6 is a schematic circuit diagram of a power module;
in the drawings, the components represented by the respective reference numerals are listed below:
1-input switching module, 101-input control module, 102-digital input interface, 103-digital input interface, 104-analog input processing module, 105-first serial port, 106-third serial port, 2-output switching module, 201-output control module, 202-digital output interface, 203-analog output interface, 204-analog output processing module, 205-second serial port and 3-power module.
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.
Referring to fig. 1-6, an input/output signal switching device of a universal ship driving simulator according to the present invention includes an input switching module 1, an output switching module 2, and a power module 3; the input switching module 1 is connected with the output switching module 2, and the power supply module 3 supplies power to the input switching module 1 and the output switching module 2;
the input switching module 1 comprises an input control module 101, an analog input processing module 104, an analog input interface 103, a digital input interface 102, a first serial port 105 and a third serial port 106; the input control module 101 is connected with the analog input processing module 104, the digital input interface 103, the first serial port 105 and the third serial port 106; the analog input processing module 104 is connected with the analog input interface 103;
the output switching module 2 comprises an output control module 201, an analog output processing module 204, an analog output interface 203, a digital output interface 202 and a second serial port 205; the output control module 201 is connected with an analog output processing module 204, a digital output interface 202 and a second serial port 205, and the analog output processing module 204 is connected with an analog output interface 203; the output switching module 2 outputs analog quantity and digital quantity under the control of the input switching module, the input switching module 1 can input the analog quantity and the digital quantity, feed back parameters of various input quantities and output quantities to a computer, and control the output analog quantity and the digital quantity of the output switching module 2 according to the input analog quantity, the input digital quantity and computer data;
the input switching module 1 and the output switching module 2 are connected with a second serial port 205 through a first serial port 105; the third serial port 106 is connected to a computer serial port.
As shown in fig. 2, the communication data between the first serial port 105 and the second serial port 205 is mainly used by the output switching module 2 to configure the output quantity, and mainly has two-byte and three-byte data formats. When the two bytes are available, the first byte is 0xFF, which indicates that the output digital quantity is configured; the most significant bit 1 and 0 of the second byte respectively correspond to the high and low digital quantity output, and the rest part of the second byte corresponds to a specific position and can support 128 digital quantity output. When the three bytes are three bytes, the first byte is 0x31, 0x32, 0x34 and 0x38, and the first byte corresponds to different analog quantity outputs respectively; the second byte is reserved with four high bits; the lower 4 bits of the second byte and the first byte are the values corresponding to the analog output.
As shown in fig. 3, the communication data of the third serial port 106 and the computer includes input amount data to the computer and input amount control data from the computer. The data sent to the computer has two-byte and three-byte data formats, wherein when two bytes are carried out, the first byte is 0xFF and represents the input of digital quantity, the highest 1 and 0 of the second byte respectively correspond to the low and high input digital quantity, and the rest part of the second byte corresponds to a specific position and can support the output of 128 digital quantities; when the three bytes are three bytes, the first byte is 0x31, 0x32, 0x34 and 0x38, which respectively correspond to different analog quantity inputs; the second byte is reserved with four high bits; the lower 4 bits of the second byte and the first byte are the values corresponding to the analog inputs. The data from the computer mainly has two-byte and three-byte data formats, wherein when two bytes are adopted, the first byte is 0xFF and represents that the output digital quantity is configured, the highest 1 and 0 of the second byte respectively correspond to the high and low output digital quantities, and the rest part of the second byte corresponds to a specific position and can support the output of 128 digital quantities; the first byte is 0x31, 0x32, 0x34 and 0x38, which correspond to different analog quantity outputs, the upper four bits of the second byte are reserved, the lower 4 bits of the second byte and the first byte are values corresponding to the analog quantity outputs.
In this embodiment, the input control module 101 includes a microcontroller MCU, two serial ports respectively connected to the first serial port 105 and the third serial port 106, an I2C interface connected to the analog input processing module 104, and a GPIO interface connected to the digital input interface 102.
As shown in fig. 4, the analog input processing module 104 includes an a/D chip supporting an I2C interface, an I2C interface connected to the input control module 101; in the specific embodiment, the a/D chip is specifically an AD7091R chip, a single chip supports four analog inputs, and a plurality of chips can share an interface to provide more analog inputs; the I2C interface processes the analog input from the analog input interface and sends the processed analog to the input control module 101.
The analog input interface 103 and the digital input interface 102 both use connection terminals to provide connection with analog and digital input terminals of the simulator.
The third serial port 106 adopts a USB interface, and is connected to the input control module to realize data interaction between the input control module and the computer; the first serial port is directly connected with the second serial port, the input control module 101 sends data to the output control module 201 of the output switching module 2, and the output quantity and parameters needing to be configured are indicated through the serial port data; the output control module 201 controls the analog output and the digital output of the output switching module 2 according to the data sent from the input control module 101.
The output control module 201 includes a microcontroller MCU, a serial port connected to the second serial port, an I2C interface connected to the analog output processing module 204, and a GPIO interface connected to the digital output interface 202.
The analog output processing module 204 includes an a/D chip supporting an I2C interface, and an I2C interface connected to the output control module 201; the A/D chip is specifically AD5694R chip.
The analog output interface 203 and the digital output interface 202 both adopt terminals to provide connection with analog and digital outputs of the simulator.
The power module 3 comprises a power interface, a power management chip, a power switch and a power working state indicator lamp; the power interface comprises two interfaces of 12V input and 5V input. 12V outputs 5V through a power management chip, and the 5V input interface and the 5V input of the USB can be used as 5V input; the 5V input provides analog power for the analog input processing module of the input switching module and the analog output processing module of the output switching module after passing through the power switch, and is simultaneously connected with two power management chips with 3.3V output to respectively provide digital power for the input switching module and the output switching module; the power supply working state indicator light is turned on when the power supply switch is turned on and turned off when the power supply switch is turned off.
The input and output signal switching device of the universal ship driving simulator in the technical scheme can be connected with analog quantity and digital quantity input of keys, a vehicle, a rudder and the like, and provides input values to a computer through a serial port; for the output of analog quantity and digital quantity which can be directly determined by input quantity, the mapping from input to output can be set according to the relation between output quantity and input quantity, and the output quantity is automatically updated when the input quantity is changed; providing corresponding mapping relation for output quantity which needs to be determined by a computer independently or determined by the computer and the input quantity together, and changing the output quantity in real time according to the change of serial port data and the input quantity of the computer.
Has the advantages that:
the device of the technical scheme can be connected with a driving simulator computer through a serial port, provides connection of various analog input and output quantities and digital input and output quantities, adopts a wiring terminal for connection of input and output quantities, and has good universality; the device can independently realize the control of the input quantity to the output quantity, reduces the interaction quantity with the simulator computer, lightens the operation burden of the simulator computer and is easy to use; the special analog-to-digital conversion and digital-to-analog conversion chips are adopted, so that the expandability of analog quantity is strong; meanwhile, the device is low in cost and convenient to upgrade and maintain, and has important significance and practical value in the field of ship driving simulators.
The preferred embodiments of the utility model disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the utility model to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the utility model and the practical application, to thereby enable others skilled in the art to best utilize the utility model. The utility model is limited only by the claims and their full scope and equivalents.

Claims (9)

1. An input and output signal switching device of a universal ship driving simulator is characterized by comprising an input switching module (1), an output switching module (2) and a power module (3); the input switching module (1) is connected with the output switching module (2), and the power supply module (3) supplies power to the input switching module (1) and the output switching module (2);
the input switching module (1) comprises an input control module (101), an analog input processing module (104), an analog input interface (103), a digital input interface (102), a first serial port (105) and a third serial port (106); the input control module (101) is connected with an analog quantity input processing module (104), a digital quantity input interface (102), a first serial port (105) and a third serial port (106); the analog input processing module (104) is connected with the analog input interface (103);
the output switching module (2) comprises an output control module (201), an analog quantity output processing module (204), an analog quantity output interface (203), a digital quantity output interface (202) and a second serial port (205); the output control module (201) is connected with the analog quantity output processing module (204), the digital quantity output interface (202) and the second serial port (205), and the analog quantity output processing module (204) is connected with the analog quantity output interface (203);
the input switching module (1) and the output switching module (2) are connected with a second serial port (205) through a first serial port (105); the third serial port (106) is connected with the serial port of the computer.
2. The input and output signal switching device of the universal ship driving simulator according to claim 1, wherein the input control module (101) comprises a microcontroller, two serial ports respectively connected with the first serial port (105) and the third serial port (106), and an I connected with the analog input processing module (104)2The C interface and the GPIO interface connected with the digital quantity input interface (102).
3. The apparatus for switching input/output signals of a universal ship driving simulator according to claim 1, wherein the analog input processing module (104) comprises a support I2A/D chip of C interface, I connected with input control module (101)2And C, interface.
4. The input and output signal switching device of the universal ship driving simulator according to claim 1, wherein the analog input interface (103) and the digital input interface (102) both adopt terminals to provide connection with analog and digital input terminals of the simulator.
5. The input/output signal switching device of the universal ship driving simulator according to claim 1, wherein the third serial port (106) adopts a USB interface.
6. The input/output signal switching device of the universal ship driving simulator according to claim 1, wherein the output control module (201) comprises a microcontroller, a serial port connected with the second serial port, and an I connected with the analog output processing module (204)2The C interface and the GPIO interface connected with the digital quantity output interface (202).
7. The apparatus for switching input/output signals of a universal ship driving simulator according to claim 1, wherein the analog output processing module (204) comprises a support I2A/D chip of C interface, I connected with output control module (201)2And C, interface.
8. The input and output signal switching device of the universal ship driving simulator according to claim 1, wherein the analog quantity output interface (203) and the digital quantity output interface (202) both adopt terminals to provide connection with analog quantity and digital quantity output ends of the simulator.
9. The input and output signal switching device of the universal ship driving simulator according to claim 1, wherein the power module (3) comprises a power interface, a power management chip, a power switch and a power operation status indicator lamp.
CN202220822031.5U 2022-04-11 2022-04-11 Input and output signal switching device of universal ship driving simulator Active CN216927419U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220822031.5U CN216927419U (en) 2022-04-11 2022-04-11 Input and output signal switching device of universal ship driving simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220822031.5U CN216927419U (en) 2022-04-11 2022-04-11 Input and output signal switching device of universal ship driving simulator

Publications (1)

Publication Number Publication Date
CN216927419U true CN216927419U (en) 2022-07-08

Family

ID=82237262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220822031.5U Active CN216927419U (en) 2022-04-11 2022-04-11 Input and output signal switching device of universal ship driving simulator

Country Status (1)

Country Link
CN (1) CN216927419U (en)

Similar Documents

Publication Publication Date Title
CN108508812A (en) A kind of AGV controllers I/O port multiplexing configuration system and method
CN216927419U (en) Input and output signal switching device of universal ship driving simulator
CN109752992B (en) FPGA +8051 system controller
CN107515341A (en) A kind of test board
CN202033911U (en) Singlechip interactive teaching system
CN116192716B (en) ZYNQ-based avionics multi-protocol bus test platform
CN117148819A (en) On-orbit simulation test platform for aerospace products
CN115237262A (en) Replaceable modular keyboard electronic equipment
CN208924278U (en) Conference host
CN210925146U (en) Course extensible comprehensive teaching experiment platform
CN106843096A (en) Smart button is switched and its switches set
CN210091439U (en) Aircraft simulation cabin system and simulation operation control device thereof
CN109558343B (en) PC interface signal switching device and method based on touch frame
CN206601595U (en) Electric monitoring platform based on multiprocessor
CN110658746A (en) Program-controlled capacitor device based on capacitor array
CN220491476U (en) Development board for teaching of small single-chip microcomputer
CN216622983U (en) Locomotive simulation device and locomotive simulation system
CN220220646U (en) USB (universal serial bus) expansion circuit and automobile
CN211653642U (en) Multitask input/output interface
CN219979009U (en) Embedded experimental teaching experiment box
CN217333141U (en) Bus type environment monitoring instrument
CN214670170U (en) Nuclear power station system simulation cabinet
CN203535872U (en) Experiment platform integrated with DSP, single-chip microcomputer and CPLD
CN218634133U (en) Ethernet communication conversion equipment
CN215814638U (en) Simulation passenger cabin interface box based on FPGA

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant