Single-chip microcomputer control-based NAVTEX four-wire audio line switching system

The NAVTEX four-wire audio line switching system based on microcontroller control solves the problem that the NAVTEX system cannot remotely control line switching and monitor signal quality in real time. It realizes automated line switching and status storage, improving the system's flexibility and reliability.

CN224595011UActive Publication Date: 2026-08-04MINISTRY OF TRANSPORT BEIHAI NAVIGATION SUPPORT CENT DALIAN COMM CENT
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
MINISTRY OF TRANSPORT BEIHAI NAVIGATION SUPPORT CENT DALIAN COMM CENT
Filing Date
2025-07-30
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

The existing NAVTEX system cannot remotely control line switching, store and query connection status, or monitor the quality of input and output signals in real time, thus failing to meet the communication needs of modern shipping.

Method used

A NAVTEX four-wire audio line switching system based on microcontroller control is adopted, including an instruction terminal, a serial port control module, a microcontroller control module, a status storage module, a control signal monitoring module, a line switching module, a NAVTEX signal input module, and a NAVTEX signal output module. The system realizes line switching and signal monitoring through microcontroller control, and integrates status storage and query functions.

Benefits of technology

It enables automated line switching in the NAVTEX system, improving switching speed, reducing labor costs and line failure rates, and allowing for real-time monitoring of signal quality and remote operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224595011U_ABST
    Figure CN224595011U_ABST
Patent Text Reader

Abstract

The utility model discloses a kind of NAVTEX four-line audio circuit switching systems based on single-chip microcontroller control, comprising: instruction terminal, serial control module, single-chip microcontroller control module, state storage module, control signal monitoring module, line switching module, NAVTEX signal input module, NAVTEX signal output module, first / second signal monitoring module;Main instruction terminal is electrically connected with serial control module, serial control module is electrically connected with single-chip microcontroller control module, single-chip microcontroller control module is electrically connected with button control module, display module, state storage module, control signal monitoring module, line switching module, line switching module is electrically connected with NAVTEX signal input module, NAVTEX signal output module, NAVTEX signal input and output module are electrically connected with first signal monitoring module and second signal monitoring module respectively;The utility model can be used for maritime NAVTEX system audio signal line automatic switching, remote control line switching, signal transmission quality monitoring, line connection state storage and inquiry.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of maritime safety communication technology, and in particular to a NAVTEX four-wire audio line switching system based on microcontroller control. Background Technology

[0002] The NAVTEX system is a global automated intermediate frequency (MF) radio communication system for broadcasting maritime safety information (MSI). It was jointly developed by the International Maritime Organization (IMO) and the International Telecommunication Union (ITU) to provide ships with navigational warnings, weather forecasts, search and rescue information, and other emergency information.

[0003] The NAVTEX system currently uses dedicated four-wire analog audio signal equipment, which is not a standard universal device. Furthermore, NAVTEX line switching typically uses manual jumper connections. When a line switch is needed (e.g., switching from a main transmitter to a backup transmitter in case of a main transmitter failure, replacing an antenna, or adjusting the frequency), technicians must manually unplug or reconnect the jumper to change the signal path. However, manual jumper connections usually have the following problems: 1. It requires technicians to adjust the jumpers on-site, which is manual operation. The switching speed is slow and cannot quickly respond to sudden needs to achieve remote control line switching, resulting in low efficiency. 2. The system cannot switch lines remotely or automatically, making it difficult to adapt to dynamic needs (such as temporarily adding broadcast frequencies or switching to backup lines). The system has poor scalability and insufficient flexibility. 3. Manual jumper connection is a purely physical operation. The system cannot detect changes in the jumper connection status (e.g., which line is currently active), and cannot store or query the connection status. 4. NAVTEX uses 4-wire analog audio signals (not digital signals), requiring additional equipment (such as ADC analog-to-digital converters) for quantization analysis. The original system did not integrate real-time monitoring circuits (such as power meters and bit error rate detection modules), making it impossible to monitor the input / output signal quality in real time. The above problems have made the NAVTEX system unable to meet the growing communication demands and difficult to match modern shipping. Utility Model Content

[0004] This invention provides a NAVTEX four-wire audio line switching system based on microcontroller control, to overcome the technical problems of existing NAVTEX systems that cannot remotely control line switching, cannot store and query connection status, and cannot monitor the quality of input and output signals in real time.

[0005] To achieve the above objectives, the technical solution of this utility model is as follows: A NAVTEX four-wire audio line switching system based on microcontroller control includes: an instruction terminal, a serial port control module, a microcontroller control module, a state storage module, a control signal monitoring module, a line switching module, a NAVTEX signal input module, a NAVTEX signal output module, and a first / second signal monitoring module; The instruction terminal is used to send line switching instructions and status query instructions for a specified line to the microcontroller control module according to actual needs through the serial port control module, and to receive the status results returned by the microcontroller control module through the serial port control module; the microcontroller control module is used to send line switching instructions for a specified line to the line switching module, send status query instructions to the status storage module, and send monitoring instructions to the control signal monitoring module; the status storage module is used to store data information of the current line connection status and return the storage results to the microcontroller control module according to the status query instructions; the control signal monitoring module is used to monitor in real time whether the line switching instructions issued by the microcontroller control module are valid. Successful delivery is confirmed; if delivery fails, feedback is sent to the microcontroller control module, which then sends a new instruction to the command terminal. The line switching module is used to switch the specified NAVTEX transmission line according to the received line switching instruction. The NAVTEX signal input module and NAVTEX signal output module are used for NAVTEX signal input and output. The first signal monitoring module and the second signal monitoring module amplify the NAVTEX signal input from the NAVTEX signal input module and the NAVTEX signal output from the NAVTEX signal output module, respectively, and output them through an external speaker to monitor signal quality. The output of the instruction terminal is connected to the input of the serial port control module, and the output of the serial port control module is connected to the input of the microcontroller control module. The output of the microcontroller control module is connected to the input of the state storage module, the line switching module, and the control signal monitoring module, respectively. The output of the control signal monitoring module is connected to the input of the microcontroller control module. The NAVTEX signal input module receives external NAVTEX audio signals at its input and its output is connected to the input of the line switching module and the first signal monitoring module, respectively. The output of the line switching module is connected to the input of the NAVTEX signal output module. The output of the NAVTEX signal output module is connected to the input of the second signal monitoring module and outputs NAVTEX audio signals to the outside world.

[0006] Furthermore, the line switching module includes a microcontroller, a shift register chip, and four switch chips; The microcontroller is connected to the shift register chip and four switch chips respectively. The microcontroller inputs the clock signal, data signal and latch signal to the shift register chip. The shift register chip is connected to four switch chips. The shift register chip converts the input clock signal, data signal and latch signal from serial data into parallel data and outputs them synchronously to the four switch chips to complete the transmission of NAVTEX audio signals synchronously.

[0007] Furthermore, the microcontroller is an STC89C52RC microcontroller, the shift register chip is a 74HC595N chip, and the switch chip is an MT8816AE switch chip. The STC89C52RC microcontroller's P1.2 pin is connected to the SER pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.5 pin is connected to the SRCLK pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.4 pin is connected to the RCLK pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.3 pin is connected to the RESET pin of four MT8816AE switch chips; the STC89C52RC microcontroller's P1.6 pin is connected to the STROBE pin of four MT8816AE switch chips; and the STC89C52RC microcontroller's P1.7 pin is connected to the CS pin of four MT8816AE switch chips. The QA pin of the 74HC595N chip is connected to the AX0 pin of four MT8816AE switch chips; the QB pin of the 74HC595N chip is connected to the AX1 pin of four MT8816AE switch chips; the QC pin of the 74HC595N chip is connected to the AX2 pin of four MT8816AE switch chips; the QD pin of the 74HC595N chip is connected to the AX3 pin of four MT8816AE switch chips; the QE pin of the 74HC595N chip is connected to the AY0 pin of four MT8816AE switch chips; the QF pin of the 74HC595N chip is connected to the AY1 pin of four MT8816AE switch chips; the QG pin of the 74HC595N chip is connected to the AY2 pin of four MT8816AE switch chips; and the QH pin of the 74HC595N chip is connected to the DATA pin of four MT8816AE switch chips.

[0008] Furthermore, the first signal monitoring module includes a first speaker SPEAK1, a sixth electrolytic capacitor C14, a seventh electrolytic capacitor C15, a ninth electrolytic capacitor C19, an eleventh capacitor C17, a fifteenth resistor R14, a seventeenth resistor R16, a third potentiometer RJ3, a third switch S2, and an audio power amplifier. The second signal monitoring module includes a second speaker SPEAK2, an eighth electrolytic capacitor C16, a tenth electrolytic capacitor C20, a twelfth capacitor C18, a sixteenth resistor R15, an eighteenth resistor R17, and a fourth potentiometer RJ4. The second signal monitoring module and the first signal monitoring module share the same audio power amplifier. The first pin of the first speaker SPEAK1 is connected to the negative terminal of the sixth electrolytic capacitor C14, and the second pin of the first speaker SPEAK1 is grounded; the positive terminal of the sixth electrolytic capacitor C14 is connected to one end of the eleventh capacitor C17 and the OUT1 pin of the audio power amplifier, the other end of the eleventh capacitor C17 is connected to one end of the fifteenth resistor R14, and the other end of the fifteenth resistor R14 is grounded; the VCC pin of the audio power amplifier is connected to the positive terminal of the seventh electrolytic capacitor C15, the -IN1 pin of the audio power amplifier is connected to the positive terminal of the ninth electrolytic capacitor C19, and the +INF1 pin of the audio power amplifier is connected to one end of the seventeenth resistor R16 and one end of the third potentiometer RJ3; the positive terminal of the seventh electrolytic capacitor C15 is connected to one end of the third switch S2, and the other end of the third switch S2 is connected to the power supply; the negative terminal of the seventh electrolytic capacitor C15 is grounded; the negative terminal of the ninth electrolytic capacitor C19 is grounded; the other end of the seventeenth resistor R16 is grounded; and the other end of the third potentiometer RJ3 is connected, forming the first signal monitoring module; The first pin of the second speaker SPEAK2 is connected to the negative terminal of the eighth electrolytic capacitor C16, and the second pin of the second speaker SPEAK2 is grounded; the positive terminal of the eighth electrolytic capacitor C16 is connected to one end of the twelfth capacitor C18 and the OUT2 pin of the audio power amplifier, the other end of the twelfth capacitor C18 is connected to one end of the sixteenth resistor R15, and the other end of the sixteenth resistor R15 is grounded; the GND pin of the audio power amplifier is grounded, the +IN2 pin of the audio power amplifier is connected to one end of the eighteenth resistor R17 and one end of the fourth potentiometer RJ4, the -IN2 pin of the audio power amplifier is connected to the positive terminal of the tenth electrolytic capacitor C20; the negative terminal of the tenth electrolytic capacitor C20 is grounded; the other end of the eighteenth resistor R17 is grounded, forming the second signal monitoring module.

[0009] Furthermore, it also includes a display module, the input of which is connected to the output of the microcontroller control module; The display module is used to display a success message when the line switching is successful.

[0010] Furthermore, it also includes a button control module, the input end of which is connected to the output end of the microcontroller control module, for manually inputting line switching commands and status query commands to the microcontroller control module.

[0011] Furthermore, the audio power amplifier is model number TEA2822M.

[0012] Furthermore, the other pins of the 74HC595N chip are connected to the LED driver circuit.

[0013] Beneficial Effects: Based on the NAVTEX signal transmission method and characteristics of coastal radio stations, this utility model provides a microcontroller-controlled NAVTEX four-wire audio line switching system. It can switch between 8×16 four-wire audio lines and also features data storage, query, and reset functions for connected lines. It can monitor the transmission status of each signal in real time and perform remote communication line switching operations via a computer serial interface. This effectively solves the shortcomings of existing technologies, such as the inability to remotely control line switching, store and query connection status, and monitor input and output signal quality in real time. The development and use of this system makes line switching more automated, increases line switching speed, and reduces labor costs and line failure rates. Attached Figure Description

[0014] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0015] Figure 1 This is a schematic diagram of a NAVTEX four-wire audio line switching system based on a microcontroller control according to the present invention. Figure 2 This is a schematic diagram of the microcontroller in the line switching module; Figure 3 This is a schematic diagram of the shift register chip in the line switching module; Figure 4 This is a schematic diagram of the switching chip in the line switching module; Figure 5 This is the connection diagram for the reset circuit; Figure 6 This is the connection diagram for a crystal oscillator circuit; Figure 7 This is a connection diagram for the button control module; Figure 8 This is a connection diagram for the display module; Figure 9 This is a connection diagram for the state storage module; Figure 10 This is a connection diagram for the serial port control module; Figure 11 This is the connection diagram for the power supply circuit; Figure 12 This is a schematic diagram of the signal monitoring module; In the diagram, 1. Command terminal; 2. Main control computer; 3. Serial port control module; 4. Microcontroller control module; 5. Button control module; 6. Display module; 7. Status storage module; 8. Control signal monitoring module; 9. Line switching module; 10. NAVTEX signal input module; 11. NAVTEX signal output module; 12. First signal monitoring module; 13. Second signal monitoring module. Detailed Implementation To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.

[0016] This embodiment provides a NAVTEX four-wire audio line switching system based on microcontroller control, such as... Figure 1 As shown, it includes: instruction terminal 1, serial port control module 3, microcontroller control module 4, status storage module 7, control signal monitoring module 8, line switching module 9, NAVTEX signal input module 10, NAVTEX signal output module 11, first signal monitoring module 12, and second signal monitoring module 13; The instruction terminal 1 is used to send line switching instructions and status query instructions for a specified line to the microcontroller control module 4 through the serial port control module 3 according to actual needs, and to receive the status results returned by the microcontroller control module 4 through the serial port control module 3; the microcontroller control module 4 is used to send line switching instructions for a specified line to the line switching module 9, send status query instructions to the status storage module 7, and send monitoring instructions to the control signal monitoring module 8; the status storage module 7 is used to store data information of the current line connection status and return the storage results to the microcontroller control module 4 according to the status query instructions; the control signal monitoring module 8 is used to monitor in real time whether the line switching instructions issued by the microcontroller control module 4 are successful. If the signal is successfully delivered, it is fed back to the microcontroller control module 4. The microcontroller control module 4 then feeds back to the command terminal 1 to reissue the command. The line switching module 9 is used to switch the specified NAVTEX transmission line according to the received line switching command. The NAVTEX signal input module 10 and the NAVTEX signal output module 11 are used for NAVTEX signal input and output. The first signal monitoring module 12 and the second signal monitoring module 13 amplify the NAVTEX signal input by the NAVTEX signal input module 10 and the NAVTEX signal output by the NAVTEX signal output module 11, respectively, and output them through an external speaker to monitor the signal quality. The output of instruction terminal 1 is connected to the input of serial port control module 3, and the output of serial port control module 3 is connected to the input of microcontroller control module 4. The output of microcontroller control module 4 is connected to the input of state storage module 7, line switching module 9, and control signal monitoring module 8, respectively. The output of control signal monitoring module 8 is connected to the input of microcontroller control module 4. The input of NAVTEX signal input module 10 receives NAVTEX audio signals from the outside, and its output is connected to the input of line switching module 9 and the first signal monitoring module 12, respectively. The output of line switching module 9 is connected to the input of NAVTEX signal output module 11. The output of NAVTEX signal output module 11 is connected to the input of the second signal monitoring module 13 and outputs NAVTEX audio signals to the outside.

[0017] Specifically, such as Figure 1As shown, in this scheme, the command terminal is the main control computer 2. Staff use the main control computer 2 to send line switching commands for specified lines according to actual needs, monitor whether the sent commands are successfully delivered, and query the current line and signal status to obtain the query results. The main control computer 2 has multiple serial ports electrically connected to the serial port control module 3; the serial port control module 3 is electrically connected to the microcontroller control module 4 for remote data transmission between the main control computer and the microcontroller; the microcontroller control module 4 is electrically connected to the status storage module 7, which inputs the line specified in the line switching command into the status storage module for line data storage, and feeds back the stored line to the microcontroller control module 4 when a status query is needed; the microcontroller control module 4 is electrically connected to the control signal monitoring module 8, which monitors in real time whether the line switching commands sent by the microcontroller control module are successfully delivered; the microcontroller control module 4 is electrically connected to the line switching module 9, which sends line switching commands; the lines... Switching module 9 is electrically connected to NAVTEX signal input module 10 and NAVTEX signal output module 11. It is used to acquire the input NAVTEX signal and output it to NAVTEX signal output module 11 after switching the line. NAVTEX signal input module 10 receives the external NAVTEX audio signal and is electrically connected to the first signal monitoring module 12. It outputs the NAVTEX audio signal to the first signal monitoring module 12. The first signal monitoring module 12 is electrically connected to the monitoring speaker and outputs the NAVTEX audio signal to the monitoring speaker. NAVTEX signal output module 11 outputs the NAVTEX audio signal after switching the external transmitter line and is electrically connected to the second signal monitoring module 13. It outputs the NAVTEX audio signal to the second signal monitoring module 13. The second signal monitoring module 13 outputs the signal to the monitoring speaker. The monitoring speaker emits a sound signal. If there is a problem with the sound signal, that is, there is noise or distortion, it indicates that there is a problem with the monitored NAVTEX signal. In this case, it is necessary to manually resend the signal or repair the system. NAVTEX signal input module 10 and NAVTEX signal output module 11 are composed of three RJ45-8 chips.

[0018] In a specific embodiment, the line switching module 9 includes a microcontroller, a shift register chip, and four switch chips; The microcontroller is connected to the shift register chip and four switch chips respectively. The microcontroller inputs the clock signal, data signal and latch signal to the shift register chip. The shift register chip is connected to four switch chips. The shift register chip converts the input clock signal, data signal and latch signal from serial data into parallel data and outputs them synchronously to the four switch chips to complete the transmission of NAVTEX audio signals synchronously. Among them, such as Figure 2 , Figure 3 and Figure 4 As shown, the microcontroller is an STC89C52RC microcontroller, the shift register chip is a 74HC595N chip, and the switch chip is an MT8816AE switch chip. The STC89C52RC microcontroller's P1.2 pin is connected to the SER pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.5 pin is connected to the SRCLK pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.4 pin is connected to the RCLK pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.3 pin is connected to the RESET pin of four MT8816AE switch chips; the STC89C52RC microcontroller's P1.6 pin is connected to the STROBE pin of four MT8816AE switch chips; and the STC89C52RC microcontroller's P1.7 pin is connected to the CS pin of four MT8816AE switch chips. The QA pin of the 74HC595N chip is connected to the AX0 pin of four MT8816AE switch chips; the QB pin of the 74HC595N chip is connected to the AX1 pin of four MT8816AE switch chips; the QC pin of the 74HC595N chip is connected to the AX2 pin of four MT8816AE switch chips; the QD pin of the 74HC595N chip is connected to the AX3 pin of four MT8816AE switch chips; the QE pin of the 74HC595N chip is connected to the AY0 pin of four MT8816AE switch chips; the QF pin of the 74HC595N chip is connected to the AY1 pin of four MT8816AE switch chips; the QG pin of the 74HC595N chip is connected to the AY2 pin of four MT8816AE switch chips; and the QH pin of the 74HC595N chip is connected to the DATA pin of four MT8816AE switch chips. Specifically, the microcontroller is connected to a 5V power supply; the VCC pin of the 74HC595N chip is connected to a 5V power supply, and it also includes eleventh resistor R10 to thirteenth resistor R12. One end of the resistor is connected to the 5V power supply, the other end of the eleventh resistor R10 is connected to the P3.5 pin of the microcontroller, the other end of the twelfth resistor R11 is connected to the P3.6 pin of the microcontroller, and the other end of the thirteenth resistor R12 is connected to the P3.7 pin of the microcontroller. The eleventh resistor R10 through the thirteenth resistor R12 are all 10K ohms. .

[0019] In this solution, the STC89C52RC microcontroller is the microcontroller in the microcontroller control module. The other pins of the microcontroller are connected to chips in other connected circuits. The microcontroller control module sends instructions to the line switching module, which simultaneously transmits the instruction signals to four 8×16 switching chips, i.e., a total of 8 inputs and 16 outputs. The inputs and outputs can be arbitrarily connected. The line switching instruction contains the preset inputs and outputs. During line switching, data is transmitted according to the preset inputs and outputs, which is the line switching process. The line switching module executes the instructions to complete the line switching of the specified line. This innovative method of implementing NAVTEX signal line switching breaks through the capacity limit of a single chip transmitting four-wire signals.

[0020] In a specific embodiment, such as Figure 3 As shown, the other pins of the 74HC595N chip are connected to the LED driver circuit; The LED driver circuit includes a second resistor R1 to a ninth resistor R8, a second diode D1 to a ninth diode D8, and a second potentiometer RJ2. One end of each resistor is connected to the QA-QH pins of the 74HC595N chip, and the other end of the resistor is connected to the anode of the corresponding diodes in the second diode D1 to the ninth diode D8. The cathode of all diodes is connected to one end of the second potentiometer RJ2, and the other end of the second potentiometer RJ2 is connected to a 5V power supply. Each resistor is 1K. The second potentiometer is 5K. .

[0021] In this solution, the 74HC595N chip is connected to the LED driver circuit, which can flexibly control the display effect and determine the chip's status. In a specific embodiment, such as Figure 5 As shown, a reset circuit is used to provide reset signals for each chip and other circuits. The reset circuit specifically includes a second switch S1, a first electrolytic capacitor C0, and a first resistor R0. One end of the second switch S1 is connected to the 5V power supply and the positive terminal of the first electrolytic capacitor C0, and the other end is connected to the negative terminal of the first electrolytic capacitor C0 and one end of the first resistor R0; the other end of the first resistor R0 is grounded. The first resistor R0 is 10K. The first electrolytic capacitor C0 is 10. ; The main function of the reset circuit in this design is to restore each module in the circuit to its initial state when the system starts up or an abnormality occurs, so as to ensure that the system can operate normally and stably.

[0022] In a specific embodiment, a crystal oscillator circuit is included, such as... Figure 6 As shown, a crystal oscillator circuit is used to generate a clock signal for the system. The crystal oscillator circuit includes a first capacitor C1, a second capacitor C2, and a crystal resonator Y1. One end of the first capacitor C1 is connected to one end of the second capacitor C2, and the other end of the first capacitor C1 is connected to the XT1 pin of the crystal resonator Y1; one end of the second capacitor C2 is grounded, and the other end of the second capacitor C2 is connected to the XT2 pin of the crystal resonator Y1. The first capacitor C1 and the second capacitor C2 are both 33pF, and the frequency of the crystal resonator Y1 is 11.0592 MHz.

[0023] In this design, the crystal oscillator circuit is used to generate a stable oscillation signal at the crystal's natural resonant frequency. XT1 and XT2 are the output pins of the oscillation signal, used to transmit the generated clock signal to other circuit modules.

[0024] In a specific embodiment, a button control module 5 is also included. The input terminal of the button control module 5 is connected to the output terminal of the microcontroller control module 4, and is used to manually input line switching instructions and status query instructions to the microcontroller control module 4. like Figure 7 As shown, the button control module 5 includes 8 pins, which are respectively connected to the P2.0-P2.7 pins of the microcontroller; This solution includes a button control circuit, which allows for local manual input of commands and enables the control system to perform corresponding line switching or status query operations when the remote host cannot connect to the network.

[0025] In a specific embodiment, such as Figure 8 As shown, it also includes a display module 6, the input terminal of which is connected to the output terminal of the microcontroller control module; Display module 6 includes a third capacitor C3, a fourth capacitor C4, a first potentiometer RJ1, and a display chip, the display chip being model LCD1602. One end of the third capacitor C3 is connected to the GND pin of the display chip and grounded; the other end of the third capacitor C3 is connected to the VCC pin of the display chip and connected to a 5V power supply; one end of the fourth capacitor C4 is connected to another VCC pin of the display chip and connected to a 5V power supply; the other end of the fourth capacitor C4 is connected to another GND pin of the display chip and grounded; the other pins of the display chip are connected to the P0.0-P0.7 and P3.5-P3.7 pins of the microcontroller. The third capacitor C3 and the fourth capacitor C4 are both 104 type and have a size of 0.1. The first potentiometer RJ1 is 5K. . In this solution, the display module is configured to display a success message when the line switching is successful, as well as the status of keyboard input commands and status queries.

[0026] In a specific embodiment, such as Figure 9 As shown, the state storage module 7 includes a fifth capacitor C5 and a storage chip, the model of which is AT24C02; One end of the fifth capacitor C5 is grounded, and the other end is connected to the 5V power supply; the E0-E2, VSS, and WE pins of the memory chip are all grounded, the VCC pin is connected to the 5V power supply, and SCL and SDA are connected to the P1.0 and P1.1 pins of the microcontroller. The fifth capacitor, C5, is a 104 type and has a size of 0.1. .

[0027] This solution includes a status storage module that can store data on the current line connection status, enabling real-time storage and querying of connection status, saving manual labor and reducing line failure rate.

[0028] In a specific embodiment, such as Figure 10 As shown, the serial port control module 7 includes a sixth capacitor C6, a second electrolytic capacitor C7, an eighth capacitor C8-tenth capacitor C10, a tenth resistor R9, a ninth diode D9, a crystal resonator Y2, an adapter chip, and a USB interface. The adapter chip is model CH340G. The cathode of the second diode D9 is connected to the P3.0 pin of the microcontroller, and the other end is connected to the TXD pin of the adapter chip; one end of the tenth resistor R9 is connected to the P3.1 pin of the microcontroller, and the other end is connected to the RXD pin of the adapter chip; one end of the eighth capacitor C8 is grounded, and the other end is connected to the C3 pin of the adapter chip; one end of the ninth capacitor C9 is connected to one end of the tenth capacitor C10 and grounded, the other end of the ninth capacitor C9 is connected to the first pin of the crystal resonator Y2, and the other end of the tenth capacitor C10 is connected to the second pin of the crystal resonator Y2; the first pin of the crystal resonator Y2... One pin is connected to the XI pin of the adapter chip; the second pin of the crystal resonator Y2 is connected to the XO pin of the adapter chip; one end of the sixth capacitor C6 is grounded, and the other end is connected to the first pin of the USB interface; the negative terminal of the second electrolytic capacitor C7 is grounded, and the positive terminal is connected to the first pin of the USB interface; the GND pin of the adapter chip is grounded, the VCC pin is connected to the first pin of the USB interface, and UD+ and UD- are connected to the differential data lines D+ and D-; the fourth, fifth, and sixth pins of the USB interface are all grounded, the second pin is connected to D-, and the third pin is connected to D+. In this design, the diode is a 1N4148, and the tenth resistor R9 is a 330, with a size of 33. The signal of the eighth capacitor C8 is 103, and its magnitude is 0.1. The ninth capacitor C9 and the tenth capacitor C10 are both 22pF, and the sixth capacitor C6 is a 104 type with a size of 0.1. The second electrolytic capacitor C7 is 10. The crystal resonator Y2 is 12MHz.

[0029] In this solution, a serial port control module is set up to send the computer's instructions to the microcontroller control module, thereby realizing the transmission of instructions.

[0030] In a specific embodiment, such as Figure 11 As shown, it also includes a power supply circuit, which includes a third electrolytic capacitor C11, a fourth electrolytic capacitor C12, a fifth electrolytic capacitor C13, a first inductor L1 to a third inductor L3, a fourteenth resistor R13, a first diode D0, a first switch S0, a first isolation power supply block and U1-1, a second isolation power supply block U1-2, a fuse F1, and a power supply; the power supply model is DC-005; the isolation power supply block model is B1205S; The positive terminal of the power supply is connected to one end of the fuse, and the negative terminal is connected to the negative terminal of the third electrolytic capacitor C11; the other end of the fuse is connected to one end of the first switch S0; the other end of the first switch S0 is connected to the positive terminal of the third electrolytic capacitor C11 and one end of the first inductor L1; the negative terminal of the third electrolytic capacitor C11 is connected to the negative input pin of the first isolation power block and U1-1 and the negative input pin of the second isolation power block U1-2; the other end of the first inductor L1 is connected to the positive input pin of the first isolation power block and U1-1 and the positive input pin of the second isolation power block U1-2; the negative output pin of the first isolation power block U1-1 is connected to the second inductor L1. One end of L2 is connected to the positive output pin and the positive terminal of the fourth electrolytic capacitor C12, which is connected to a 5V power supply. The negative terminal of the fourth electrolytic capacitor C12 is connected to the other end of the second inductor L2 and grounded. The negative output pin of the second isolation power block U1-2 is connected to one end of the third inductor L3, and the positive output pin is connected to the positive terminal of the fifth electrolytic capacitor C13. The negative terminal of the fifth electrolytic capacitor C13 is connected to the other end of the third inductor L3 and the positive terminal of the first diode D0. The negative terminal of the first diode D0 is connected to one end of the fourteenth resistor R13, and the other end of the fourteenth resistor R13 is connected to the positive terminal of the fifth electrolytic capacitor C13 and a 5V power supply. The third electrolytic capacitor C11 has a capacitance of 2.2 kWh. The fourth electrolytic capacitor C12 and the fifth electrolytic capacitor C13 have a strength of 4.7. The first inductor L1 through the third inductor L3 are all 4.7. .

[0031] In a specific embodiment, such as Figure 12As shown, the first signal monitoring module 12 includes a first speaker SPEAK1, a sixth electrolytic capacitor C14, a seventh electrolytic capacitor C15, a ninth electrolytic capacitor C19, an eleventh capacitor C17, a fifteenth resistor R14, a seventeenth resistor R16, a third potentiometer RJ3, a third switch S2, and an audio power amplifier. The second signal monitoring module 13 includes a second speaker SPEAK2, an eighth electrolytic capacitor C16, a tenth electrolytic capacitor C20, a twelfth capacitor C18, a sixteenth resistor R15, an eighteenth resistor R17, and a fourth potentiometer RJ4. The second signal monitoring module 13 and the first signal monitoring module 12 share the same audio power amplifier. The first pin of the first speaker SPEAK1 is connected to the negative terminal of the sixth electrolytic capacitor C14, and the second pin of the first speaker SPEAK1 is grounded. The positive terminal of the sixth electrolytic capacitor C14 is connected to one end of the eleventh capacitor C17 and the OUT1 pin of the audio power amplifier. The other end of the eleventh capacitor C17 is connected to one end of the fifteenth resistor R14, and the other end of the fifteenth resistor R14 is grounded. The VCC pin of the audio power amplifier is connected to the positive terminal of the seventh electrolytic capacitor C15. The -IN1 pin of the audio power amplifier is connected to the positive terminal of the ninth electrolytic capacitor C19. The +IN1 pin of the audio power amplifier is connected to one end of the seventeenth resistor R16 and one end of the third potentiometer RJ3. The positive terminal of the seventh electrolytic capacitor C15 is connected to one end of the third switch S2, and the other end of the third switch S2 is connected to the power supply. The negative terminal of the seventh electrolytic capacitor C15 is grounded. The negative terminal of the ninth electrolytic capacitor C19 is grounded. The other end of the seventeenth resistor R16 is grounded. The other end of the third potentiometer RJ3 is connected, forming the first signal monitoring module. The first pin of the second speaker SPEAK2 is connected to the negative terminal of the eighth electrolytic capacitor C16, and the second pin of the second speaker SPEAK2 is grounded; the positive terminal of the eighth electrolytic capacitor C16 is connected to one end of the twelfth capacitor C18 and the OUT2 pin of the audio power amplifier, the other end of the twelfth capacitor C18 is connected to one end of the sixteenth resistor R15, and the other end of the sixteenth resistor R15 is grounded; the GND pin of the audio power amplifier is grounded, the +IN2 pin of the audio power amplifier is connected to one end of the eighteenth resistor R17 and one end of the fourth potentiometer RJ4, the -IN2 pin of the audio power amplifier is connected to the positive terminal of the tenth electrolytic capacitor C20; the negative terminal of the tenth electrolytic capacitor C20 is grounded; the other end of the eighteenth resistor R17 is grounded, forming the second signal monitoring module.

[0032] Specifically, in this scheme, the sixth electrolytic capacitor C14, the seventh electrolytic capacitor C15, the eighth electrolytic capacitor C16, the ninth electrolytic capacitor C19, and the tenth electrolytic capacitor C20 are all 100. The eleventh capacitor C17 and the twelfth capacitor C18 are both model 104 and have a size of 0.1. The fifteenth resistor R14 and the sixteenth resistor R15 have a strength of 4.7 ohms. The seventeenth resistor R16 and the eighteenth resistor R17 are both 10K. The third potentiometer RJ3 and the fourth potentiometer RJ4 are both 100K. ; It also includes a pin header circuit with a total of 8 rows. The other end of the third potentiometer RJ3 is connected to one pin of the pin header, and the other end of the fourth potentiometer RJ4 is connected to the other pin of the pin header. The pin header circuit is connected to the NAVTEX signal input module and the NAVTEX signal output module.

[0033] The usage process of this system is as follows: After the device is started, the system will first automatically initialize. It connects to the device serial port control module 3 through the serial port connection module 214. The staff sends the NAVTEX line switching command to the serial port control module 3 through the main control computer 2. The serial port control module 3 then sends the command to the microcontroller control module 4. The microcontroller control module 4 sends the command to the line switching module 9. At the same time, the control signal monitoring module 8 monitors in real time whether the command signal is successfully delivered. The line switching module 9 simultaneously transmits the command signal to four 8×16 switch chips and executes the command to complete the line switching. After the line switching command is executed, the status storage module 7 will store the current connection status, and the display module 6 will simultaneously display a successful switching prompt; the microcontroller control module 4 will feed back the command execution status to the main control computer 2 and display the operation result to the staff; When local operation is required, the button control module 5 can be used to operate directly locally, and the control commands can be directly transmitted to the microcontroller control module 4 to complete the line switching operation. The NAVTEX signal input module 10 transmits the NAVTEX signal to the NAVTEX signal output module 11 via the line switching module 9. The first signal monitoring module 12 and the second signal monitoring module 13 send signals to the monitoring speaker in real time, and monitor the quality of the NAVTEX input and output signals through the monitoring speaker. When it is necessary to determine the line status, the staff sends a NAVTEX line status query command to the serial port control module 3 through the main control computer 2. The serial port control module 3 then sends the command to the microcontroller control module 4. The microcontroller control module 4 sends the command to the status storage module 7, calls the status storage module 7 to store the data, and feeds back the query results to the main control computer 2.

[0034] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although the utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this utility model.

Claims

1. A NAVTEX four-wire audio line switching system based on microcontroller control, characterized in that, include: Command terminal (1), serial port control module (3), microcontroller control module (4), status storage module (7), control signal monitoring module (8), line switching module (9), NAVTEX signal input module (10), NAVTEX signal output module (11), first signal monitoring module (12) and second signal monitoring module (13); The instruction terminal (1) is used to send line switching instructions and status query instructions for a specified line to the microcontroller control module (4) through the serial port control module (3) according to actual needs, and to receive the status results returned by the microcontroller control module (4) through the serial port control module (3); the microcontroller control module (4) is used to send line switching instructions for a specified line to the line switching module (9), send status query instructions to the status storage module (7), and send monitoring instructions to the control signal monitoring module (8); the status storage module (7) is used to store the data information of the current line connection status and return the storage results to the microcontroller control module (4) according to the status query instructions; the control signal monitoring module (8) is used to monitor the line switching instructions issued by the microcontroller control module (4) in real time. Whether the delivery was successful or not, if the delivery was unsuccessful, feedback was sent to the microcontroller control module (4), and the microcontroller control module (4) was sent to the instruction terminal (1) to reissue the instruction; the line switching module (9) is used to switch the specified NAVTEX transmission line according to the received line switching instruction; the NAVTEX signal input module (10) and NAVTEX signal output module (11) are used for NAVTEX signal input and output; the first signal monitoring module (12) and the second signal monitoring module (13) respectively amplify the NAVTEX signal input by the NAVTEX signal input module (10) and the NAVTEX signal output by the NAVTEX signal output module (11) and output them through an external speaker, and monitor the signal quality through the external speaker; The output of the instruction terminal (1) is connected to the input of the serial port control module (3), and the output of the serial port control module (3) is connected to the input of the microcontroller control module (4). The output of the microcontroller control module (4) is connected to the input of the state storage module (7), the line switching module (9), and the control signal monitoring module (8), respectively. The output of the control signal monitoring module (8) is connected to the input of the microcontroller control module (4). The input of the NAVTEX signal input module (10) receives the NAVTEX audio signal from the outside, and its output is connected to the input of the line switching module (9) and the first signal monitoring module (12), respectively. The output of the line switching module (9) is connected to the input of the NAVTEX signal output module (11). The output of the NAVTEX signal output module (11) is connected to the input of the second signal monitoring module (13) and outputs the NAVTEX audio signal to the outside.

2. The NAVTEX four-wire audio line switching system based on microcontroller control according to claim 1, characterized in that, The line switching module (9) includes a microcontroller, a shift register chip, and four switch chips; The microcontroller is connected to the shift register chip and four switch chips respectively. The microcontroller inputs the clock signal, data signal and latch signal to the shift register chip. The shift register chip is connected to four switch chips. The shift register chip converts the input clock signal, data signal and latch signal from serial data into parallel data and outputs them synchronously to the four switch chips to complete the transmission of NAVTEX audio signals synchronously.

3. The NAVTEX four-wire audio line switching system based on microcontroller control according to claim 2, characterized in that, The microcontroller is an STC89C52RC microcontroller, the shift register chip is a 74HC595N chip, and the switch chip is an MT8816AE switch chip. The STC89C52RC microcontroller's P1.2 pin is connected to the SER pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.5 pin is connected to the SRCLK pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.4 pin is connected to the RCLK pin of the 74HC595N chip; the STC89C52RC microcontroller's P1.3 pin is connected to the RESET pin of four MT8816AE switch chips; the STC89C52RC microcontroller's P1.6 pin is connected to the STROBE pin of four MT8816AE switch chips; and the STC89C52RC microcontroller's P1.7 pin is connected to the CS pin of four MT8816AE switch chips. The QA pin of the 74HC595N chip is connected to the AX0 pin of four MT8816AE switch chips; the QB pin of the 74HC595N chip is connected to the AX1 pin of four MT8816AE switch chips; the QC pin of the 74HC595N chip is connected to the AX2 pin of four MT8816AE switch chips; the QD pin of the 74HC595N chip is connected to the AX3 pin of four MT8816AE switch chips; the QE pin of the 74HC595N chip is connected to the AY0 pin of four MT8816AE switch chips; the QF pin of the 74HC595N chip is connected to the AY1 pin of four MT8816AE switch chips; the QG pin of the 74HC595N chip is connected to the AY2 pin of four MT8816AE switch chips; and the QH pin of the 74HC595N chip is connected to the DATA pin of four MT8816AE switch chips.

4. The NAVTEX four-wire audio line switching system based on microcontroller control according to claim 1, characterized in that, The first signal monitoring module (12) includes a first speaker SPEAK1, a sixth electrolytic capacitor C14, a seventh electrolytic capacitor C15, a ninth electrolytic capacitor C19, an eleventh capacitor C17, a fifteenth resistor R14, a seventeenth resistor R16, a third potentiometer RJ3, a third switch S2, and an audio power amplifier. The second signal monitoring module (13) includes a second speaker SPEAK2, an eighth electrolytic capacitor C16, a tenth electrolytic capacitor C20, a twelfth capacitor C18, a sixteenth resistor R15, an eighteenth resistor R17, and a fourth potentiometer RJ4. The second signal monitoring module (13) and the first signal monitoring module (12) share the same audio power amplifier. The first pin of the first speaker SPEAK1 is connected to the negative terminal of the sixth electrolytic capacitor C14, and the second pin of the first speaker SPEAK1 is grounded; the positive terminal of the sixth electrolytic capacitor C14 is connected to one end of the eleventh capacitor C17 and the OUT1 pin of the audio power amplifier, the other end of the eleventh capacitor C17 is connected to one end of the fifteenth resistor R14, and the other end of the fifteenth resistor R14 is grounded; the VCC pin of the audio power amplifier is connected to the positive terminal of the seventh electrolytic capacitor C15, the -IN1 pin of the audio power amplifier is connected to the positive terminal of the ninth electrolytic capacitor C19, and the +INF1 pin of the audio power amplifier is connected to one end of the seventeenth resistor R16 and one end of the third potentiometer RJ3; the positive terminal of the seventh electrolytic capacitor C15 is connected to one end of the third switch S2, and the other end of the third switch S2 is connected to the power supply; the negative terminal of the seventh electrolytic capacitor C15 is grounded; the negative terminal of the ninth electrolytic capacitor C19 is grounded; the other end of the seventeenth resistor R16 is grounded; and the other end of the third potentiometer RJ3 is connected to form the first signal monitoring module (12). The first pin of the second speaker SPEAK2 is connected to the negative terminal of the eighth electrolytic capacitor C16, and the second pin of the second speaker SPEAK2 is grounded; the positive terminal of the eighth electrolytic capacitor C16 is connected to one end of the twelfth capacitor C18 and the OUT2 pin of the audio power amplifier, respectively; the other end of the twelfth capacitor C18 is connected to one end of the sixteenth resistor R15, and the other end of the sixteenth resistor R15 is grounded; the GND pin of the audio power amplifier is grounded; the +IN2 pin of the audio power amplifier is connected to one end of the eighteenth resistor R17 and one end of the fourth potentiometer RJ4, respectively; the -IN2 pin of the audio power amplifier is connected to the positive terminal of the tenth electrolytic capacitor C20; the negative terminal of the tenth electrolytic capacitor C20 is grounded; the other end of the eighteenth resistor R17 is grounded, forming the second signal monitoring module (13).

5. The NAVTEX four-wire audio line switching system based on microcontroller control according to claim 1, characterized in that, It also includes a display module (6), the input of which is connected to the output of the microcontroller control module (4); The display module (6) is used to display a success message when the switching of the line is successful.

6. The NAVTEX four-wire audio line switching system based on microcontroller control according to claim 1, characterized in that, It also includes a button control module (5), the input end of which is connected to the output end of the microcontroller control module (4), and is used to manually input line switching instructions and status query instructions to the microcontroller control module (4).

7. The NAVTEX four-wire audio line switching system based on microcontroller control according to claim 4, characterized in that, The audio power amplifier is model TEA2822M.

8. The NAVTEX four-wire audio line switching system based on microcontroller control according to claim 1, characterized in that, The other pins of the 74HC595N chip are connected to the LED driver circuit.