Optical compass system
By using laptop computers and simulation software to replace traditional display and control devices in the optical compass system, the problems of complex structure, high cost and inconvenient portability of the optical compass system are solved, and more efficient and portable field test capabilities are achieved.
Patent Information
- Application Number
- CN202411645088.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-01-14
AI Technical Summary
The existing optical compass system has complex structure, high cost and inconvenient portability, making it difficult to meet the needs of field tests.
By borrowing a laptop, using a USB to serial port box to connect to the main instrument, and installing the display and control device simulation system software on the laptop, replacing the traditional physical display and control device, the command control and data analysis of the optical compass main instrument can be realized.
It simplifies the structure of the optical compass system, reduces manufacturing cost and weight, improves portability and intuitive operation, and is suitable for field environmental tests.
Smart Images

Figure CN119309562A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an optical compass system, belonging to the technical field of computer data display components. Background Art
[0002] The optical compass is based on the fiber optic gyroscope and accelerometer. The accelerometer detects the acceleration signal of the object in the three independent axes of the carrier coordinate system, while the gyroscope detects the angular velocity signal of the carrier relative to the inertial coordinate system, measures the angular velocity and acceleration of the carrier in three-dimensional space, and calculates the carrier's attitude. The optical compass has the characteristics of high measurement accuracy, good stability, and fast response speed. It can work autonomously all day and night without being affected by the outside world. It is suitable for navigation control occasions that require high accuracy, high stability, and high-speed response.
[0003] In the prior art, an optical compass usually includes two parts: a main instrument and a display and control device. Among them, the display and control device is mainly used for human-computer interaction, providing users with various types of information about the current equipment in real time, and providing users with an operation and control platform. When completing various field tests, the accuracy performance of the main instrument is mainly evaluated. During the process, the display and control device needs to be used to switch various states to ensure complete coverage of the test; however, since the display and control device usually includes components such as a display screen, a control panel, a power panel, a screen key panel, and structural parts (display screen: used to display various information, such as data, images, etc.; control panel: processes input signals and controls the display content of the display screen; power panel: provides the power supply required by the equipment. Screen key panel: used to receive user input operations. Structural parts: support and protect other components to ensure the stability and durability of the equipment), it has problems such as complex structure, high cost, large size, and heavy weight, and is not convenient to carry for outdoor testing.
[0004] Therefore, how to reduce the manufacturing cost of the optical compass and make it convenient to use and carry is a technical problem to be solved by those skilled in the art. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide an optimized optical compass system, which separates the display and control device and solves the problems of the existing optical compass system, such as complex structure, high cost and inconvenience in carrying.
[0006] To achieve the above purpose, the present invention adopts the following technical solutions:
[0007] An optical compass system, characterized in that an existing laptop computer is used to physically connect the interface end of a main instrument through a USB to serial port box, and a display control device simulation system software is installed on the laptop computer to replace the original physical display control device, so as to realize command control and data analysis of the optical compass main instrument, and ensure that human-computer interaction can be completed between a user and the device;
[0008] The software programming of the display and control device simulation system is based on the producer / consumer mode of the labview platform, and is composed of three while dead loops, namely, a front panel instruction loop, a data acquisition and analysis loop, and a data preservation loop; the front panel instruction loop mainly completes the instruction protocol conversion and sending of each control in the "navigation data" interface control module; the data acquisition and analysis loop mainly completes the data analysis of the "navigation data" interface display module; the data preservation loop mainly completes the data preservation to facilitate offline analysis by later users; the programming is based on the built-in controls of the labview development platform and various sub-Vis programmed by the developer himself, and the data interaction between this system and the main instrument is realized in the serial communication mode.
[0009] Furthermore, the laptop computer meets the following operating conditions and is installed with display and control device simulation system software; wherein the operating conditions are based on a laptop with Windows operating system (XP version and above), a USB to serial port box (MOXA, supporting RS422 communication), and a Labview software development platform (2011 version and above software).
[0010] Furthermore, the display and control device simulation system is composed of a "navigation data" main interface and a "other data" page; the "navigation data" main interface is composed of a display module and a control module, and the display and control module mainly outputs heading, attitude information, angular velocity information, position information, speed information, working status and fault status and other information to the user; the control module mainly satisfies the user to send initial position, manual speed, installation error, water speed information, start-up control, operation control, data acquisition and status and other instructions.
[0011] The software programming of the display and control device simulation system executes the following process:
[0012] The consumer mode "data parsing" process executes the following process:
[0013] When the display and control device simulation system receives a data packet through the serial port, it caches the data through the data buffer, then extracts each frame of data through a programmed subVI, and verifies whether the frame data is valid. If the data is a valid frame, the data is parsed and converted according to the defined communication protocol, and displayed on the panel with the corresponding data control. For example: convert a 4-byte hexadecimal string into decimal data that the user can intuitively identify; convert a single-byte Boolean status word into the on and off of the indicator light for the user to intuitively distinguish. Programming based on this flow chart achieves the purpose of displaying the heading, attitude information, angular rate information, position information, speed information, working status and fault status output by the main instrument to the user.
[0014] (2) The process of "command control" in producer mode is as follows: when the user clicks the corresponding send command, the program will detect whether the control is clicked to confirm (the control value changes). After confirmation, the command is converted into a specified communication protocol, and the data frame is integrated (adding frame header and checksum), and then the serial port send control is called to complete the command sending. Programming based on this flowchart can achieve the purpose of sending the user's operation display control device simulation system command to the main instrument.
[0015] Furthermore, the system startup status and working mode controls are string type and displayed in Chinese; the heading information, angular rate information, position information, speed information, and installation error information controls are float type numerical controls; the status time and working time are string type controls and displayed in ASCII code format; the data valid status light and fault status light are Boolean type controls, the status light is green when the data is valid, gray when invalid, the status light is red when a fault occurs, and gray when there is no fault.
[0016] Furthermore, in the operation module, the start control status (dock start, odometer start, satellite navigation start) and working control mode (satellite navigation combination, odometer combination, manual autonomy) controls are enumeration types; data collection and status are Boolean types, the status light is blue during collection, and gray when collection is stopped.
[0017] Furthermore, the "Other Data" page contains original data messages, data acquisition path, cycle receiving time, instructions for use and version description; the original data messages are divided into original messages for command sending and receiving data. Among them, the original data message is transmitted in the format of data frame (frame header + data + check), the check method is single-byte XOR, the data frame is in hexadecimal string format, the low byte is in front and the high byte is in the back; the cycle receiving time is a numerical control, which controls the cycle period when the entire system receives data; the instructions for use and version description are Boolean controls, and the content is output in the form of a pop-up window for users to browse when "clicked".
[0018] Compared with the prior art, the present invention has the following beneficial effects:
[0019] 1. The present invention creatively proposes a design method of eliminating the display screen, control panel, screen keypad and other structural components of the traditional optical compass, using existing equipment such as existing laptop computers, USB to serial port boxes, and only installing the operating software on the laptop computer. This not only simplifies the structure of the optical compass system, greatly reduces the manufacturing cost of the optical compass, reduces the weight and heat generation of the optical compass, but also greatly facilitates the carrying of field work and facilitates field environmental tests; at the same time, the operation is more convenient and more intuitive.
[0020] 2. The present invention uses a laptop computer as a display and control device, which can not only be used for multiple purposes, but also the software content can be temporarily and conveniently changed according to needs, reducing the probability of temporary hardware damage and inability to operate.
[0021] 3. The operating software control method of the present invention is ingeniously conceived and has good versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a software block architecture diagram of the display control device simulation system involved in Example 1 of the present invention;
[0023] Figure 2 It is a functional flow chart of "data analysis" based on consumer mode of the display and control device simulation system of the present invention;
[0024] Figure 3 It is a flow chart of the "command control" sending function of the display and control device simulation system based on the producer mode of the present invention;
[0025] Figure 4 A schematic diagram of programming for an embodiment of "command control" in the display and control device simulation system of the present invention;
[0026] Figure 5 A programming diagram of an embodiment of "data analysis" in the display control device simulation system of the present invention;
[0027] Figure 6 An embodiment of the "navigation data" interface in the display control device simulation system of the present invention;
[0028] Figure 7 It is an embodiment of the "other data" interface in the display and control device simulation system of the present invention. DETAILED DESCRIPTION
[0029] The specific implementation modes of the present invention are further described in detail below in conjunction with specific examples.
[0030] Unless otherwise indicated, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the art in the art. All documents mentioned in this specification are incorporated by reference to disclose and describe the methods and / or materials related to the documents. In the event of a conflict with any incorporated document, the content of this specification shall prevail. As used herein, "comprising", "including", "having", "containing", etc. are all open terms, i.e., meaning including but not limited to.
[0031] Unless otherwise specified, the experimental methods used in the present invention are all conventional methods.
[0032] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0033] Example
[0034] The present invention provides a novel optical compass system, including a main instrument and a display and control device; wherein the display and control device uses an existing laptop computer, is connected to the interface end of the main instrument through a USB to serial port box, and a display and control device simulation system software is installed on the laptop computer to replace the original physical display and control device, so as to realize the command control and data analysis of the optical compass main instrument, and ensure that the user and the device can complete the human-computer interaction. The laptop computer + software replaces the existing display and control device composed of components such as a display screen, a control panel, a power panel, a screen key panel and structural parts, and completes the function and performance test of the equipment. The display and control device simulation system software uses labview as a development tool, and is developed to simulate the relevant functions of the display and control device during the test process.
[0035] The display and control device simulation system software programming is based on the producer / consumer mode of the labview platform, and is composed of three while dead loops, namely the front panel instruction loop, the data acquisition and analysis loop, and the data preservation loop; the front panel instruction loop mainly completes the instruction protocol conversion and sending of each control in the "navigation data" interface control module; the data acquisition and analysis loop mainly completes the data analysis of the "navigation data" interface display module; the data preservation loop mainly completes the preservation of data to facilitate offline analysis by later users; the programming is based on the built-in controls of the labview development platform and various sub-Vis programmed by the developer himself, and the data interaction between this system and the main instrument is realized in the serial communication mode. The display and control device can be used for field environmental tests, simplify the structure of the optical compass, greatly reduce the manufacturing cost of the optical compass, reduce the weight and heating of the optical compass, and greatly facilitate the carrying of field work and field environmental tests; at the same time, the operation is more convenient and intuitive.
[0036] The laptop computer meets the following operating conditions and is installed with the display and control device simulation system software.
[0037] Operating conditions:
[0038] Laptop based on Windows operating system (XP version and above), USB to serial port box (MOXA, supporting RS422 communication), Labview software development platform (2011 version and above).
[0039] Technical solution:
[0040] The display and control device simulation system software programming is based on the producer / consumer model and consists of three while dead loops, namely the front panel command loop, the data acquisition loop and the data saving loop. Among them, the front panel command loop mainly completes the command protocol of each control in the "navigation data" interface control module; the data acquisition loop mainly completes the data analysis of the "navigation data" interface display module; the data saving loop mainly completes the data saving. The programming is based on the built-in controls of the labview development platform and various sub-Vis programmed by the developer himself, and the data interaction between this system and the main instrument is realized in the serial communication mode.
[0041] like Figure 1 As shown, the display and control device simulation system consists of the "navigation data" main interface and the "other data" page. The "navigation data" interface consists of a display module and a control module.
[0042] Among them, "other data" includes original data message, cyclic receiving time, instructions for use and version description; among them, the original data message is transmitted in the format of data frame (frame header + data + check), the check method is single-byte XOR, the data frame is in hexadecimal string format, with low byte in front and high byte in the back; the cyclic receiving time is a numerical control, which controls the cycle period when the entire system receives data; the instructions for use and version description are Boolean controls, which output the content in the form of a pop-up window for users to browse when "clicked".
[0043] like Figure 2 As shown, it is a functional flow chart of "data analysis" based on consumer mode of the display control device simulation system in Example 1 of the present invention; the display module "data analysis" executes the following process:
[0044] When the display and control device simulation system receives a data packet through the serial port, it caches the data through the data buffer, then extracts each frame of data through a programmed subVI, and verifies whether the frame data is valid. If the data is a valid frame, the data is parsed and converted according to the defined communication protocol, and displayed on the panel with the corresponding data control. For example: convert a 4-byte hexadecimal string into decimal data that the user can intuitively identify; convert a single-byte Boolean status word into the on and off of the indicator light for the user to intuitively distinguish. Programming based on this flow chart achieves the purpose of displaying the heading, attitude information, angular rate information, position information, speed information, working status and fault status output by the main instrument to the user.
[0045] like Figure 3 As shown, it is a flow chart of the "command control" sending function of the display and control device simulation system based on the producer mode of the present invention, and its "command control" sending function executes the following process:
[0046] When the user clicks the corresponding send command, the program will detect whether the control has been clicked to confirm (the control value has changed). After confirmation, the program will convert the command into the specified communication protocol, integrate the data frame (add frame header, checksum), and then call the serial port send control to complete the command sending.
[0047] See also Figure 4 Based on Figure 3 A programming diagram of an embodiment of the "command control" is shown; it can be seen that the "command control" is easy to implement.
[0048] See also Figure 5 Based on Figure 2 A programming diagram of an embodiment of the “data analysis” is shown; it can be seen that the “data analysis” is easy to implement.
[0049] See also Figure 6 Based on Figure 1 The display and control device simulates the embodiment of the "navigation data" interface in the system. The "navigation data" display and control module mainly outputs heading, attitude, angular rate, position, speed, working status, fault status and other information to the user; the control module mainly satisfies the user to send instructions such as initial position, manual speed, installation error, water speed information, startup control, operation control, data collection and status. Other data pages include original data messages, data collection path, cycle reception time, instructions for use, and version description. The original data message is divided into the original message of command sending and receiving data.
[0050] In the display module, the startup status and working mode controls are string type and displayed in Chinese; the heading information, angular rate information, position information, speed information, and installation error information controls are float type numerical controls; the status time and working time are string type controls and displayed in ASCII code format; the data valid status light and fault status light are Boolean type controls. The status light is green when the data is valid and gray when it is invalid. The status light is red when a fault occurs and gray when there is no fault.
[0051] In the control module, the start control (dock start, odometer start, satellite navigation start) and work control (satellite navigation combination, odometer combination, manual autonomy) controls are enumeration types; data collection and status are Boolean types, the status light is blue during collection, and gray when collection is stopped.
[0052] See also Figure 7 Based on Figure 1 The display and control device simulates an embodiment of the "other data" interface of the system.
[0053] In summary, the operating software of the present invention is unique in conception and simple and intuitive to operate. Using a laptop as the display and control device of the optical compass can not only be used for multiple purposes, but also the software content can be temporarily and conveniently changed according to needs, reducing the probability of temporary hardware damage and inability to operate.
[0054] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.
Claims
1. An optical compass system, characterized in that: By using an existing laptop computer, a USB to serial port box is used to physically connect the laptop computer to the interface of the main instrument, and the display and control device simulation system software is installed on the laptop computer to replace the original physical display and control device, so as to realize the command control and data analysis of the optical compass main instrument and ensure that the human-computer interaction between the user and the device can be completed; The software programming of the display and control device simulation system is based on the producer / consumer mode of the labview platform, and is composed of three while dead loops, namely, a front panel instruction loop, a data acquisition and analysis loop, and a data preservation loop; the front panel instruction loop mainly completes the instruction protocol conversion and sending of each control in the "navigation data" interface control module; the data acquisition and analysis loop mainly completes the data analysis of the "navigation data" interface display module; the data preservation loop mainly completes the data preservation to facilitate offline analysis by later users; the programming is based on the built-in controls of the labview development platform and various sub-Vis programmed by the developer himself, and the data interaction between this system and the main instrument is realized in the serial communication mode.
2. The optical compass system according to claim 1, characterized in that: The laptop computer meets the following operating conditions and is installed with display and control device simulation system software; wherein the operating conditions are based on a laptop computer with a Windows operating system, a USB to serial port box, and a Labview software development platform.
3. The optical compass system according to claim 1, characterized in that: The display and control device simulation system is composed of the "navigation data" main interface and the "other data" page; the "navigation data" main interface is composed of a display module and a control module. The display and control module mainly outputs heading, attitude information, angular rate information, position information, speed information, working status and fault status to the user; the control module mainly satisfies the user to send instructions such as initial position, manual speed, installation error, water speed information, startup control, operation control, data collection and status; The software programming of the display and control device simulation system executes the following process: (1) Consumer mode "data analysis" process: When the display control device simulation system receives a data packet through the serial port, it caches the data through the data buffer, then extracts each frame of data through a programmed subVI, and verifies whether the frame data is valid. If the data is a valid frame, it parses and converts the data according to the defined communication protocol, and displays it on the panel using the corresponding data control; (2) Producer mode "command control" process: When the user clicks the corresponding send command, the program will detect whether the control has been clicked to confirm. After confirmation, the command will be converted into the specified communication protocol and the data frame will be integrated (adding frame header and checksum), and then the serial port send control will be called to complete the command sending.
4. The optical compass system according to claim 3, characterized in that: The system startup status and working mode controls in the display module are of string type and displayed in Chinese; the heading information, angular rate information, position information, speed information, and installation error information controls are float type numerical controls; the status time and working time are string type controls and displayed in ASCII code format; the data valid status light and the fault status light are Boolean controls, the status light is green when the data is valid, and gray when invalid; the status light is red when a fault occurs, and gray when there is no fault.
5. The optical compass system according to claim 3, characterized in that: The "other data" page includes original data messages, data acquisition path, cycle reception time, instructions for use and version description; the original data messages are divided into original messages for command sending and receiving data.
6. The optical compass system according to claim 4, characterized in that: In the operation module, the start control state and the working control mode controls are enumeration types; the data acquisition and status are Boolean types, the status light is blue during acquisition, and gray when the acquisition is stopped.
7. The optical compass system according to claim 5, characterized in that: The original data message is transmitted in the format of a data frame (frame header + data + checksum), the check method is a single-byte XOR, the data frame is in a hexadecimal string format, with the low byte in front and the high byte in the back; the cycle receiving time is a numerical control that controls the cycle period when the entire system receives data; the instructions for use and version description are Boolean controls, and the content is output in the form of a pop-up window for the user to browse when "clicked".