Multi-mode communication output device
Through the modularly designed multi-mode communication output device, using components such as microcontroller and dial switch, the problems of low communication mode replacement efficiency and high risk of wiring errors in the existing technology are solved, and convenient mode switching and efficient communication output are achieved. , improving the flexibility and user experience of the device.
Patent Information
- Application Number
- CN202411281704.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-01-03
AI Technical Summary
The existing communication output device needs to re-extract the cable when replacing the communication mode, resulting in low efficiency, high cost and high risk of wiring errors, and the inability to flexibly match different interfaces.
Design a multi-mode communication output device, which can support multiple communication modes and data transmission rates through the modular connection between the motherboard and the interface board, and uses components such as microcontroller, dial switch, ADC module and serial port to support multiple communication modes and data transmission rates. The interface board can be designed according to the requirements. The Pin pin, the dial switch simplifies the mode selection, the indicator light displays the current mode, and the microcontroller stores configuration parameters.
It realizes convenient communication mode changes, reduces the risk of wiring errors, improves system response speed and production efficiency, simplifies operating procedures, and enhances equipment flexibility and adaptability.
Smart Images

Figure CN119247824A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, in particular to a multi-mode communication output device. Background Art
[0002] A communication output device, or communication controller, is a communication interface device used to control data transmission in a data communication system. It connects the data circuit to the host and is responsible for managing the input and output of data to the host or computer network. This device can convert the computer's parallel data into serial data transmitted on the communication line and perform all necessary control functions, error detection and synchronization. Modern communication controllers also have data compression, routing and security functions, while collecting management information.
[0003] Existing communication output devices have various communication modes. Some communication output devices can only output different communication protocols based on fixed communication connectors and cannot match different interfaces of the same communication. The communication output port of the current communication output device has too many cables, which is not convenient for connection and extraction. When the device needs to change the communication mode, the cable needs to be re-extracted and inserted into the interface, which leads to low efficiency and high cost. Summary of the invention
[0004] 1. Technical issues to be solved
[0005] In view of the deficiencies in the prior art, the present invention provides a multi-mode communication output device, which is easy to connect, reduces wiring links, and reduces the risk of communication abnormalities due to wiring errors and poor contact of the wiring. The communication mode can be easily changed, and the change of the communication mode can be completed by simply replacing the interface board and adjusting the dial. The design has the advantages of low finished product, low bit error rate, high efficiency, etc., which solves the problems raised in the background technology.
[0006] (II) Technical solution
[0007] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a multi-mode communication output device, comprising a main board, the main board is connected to an interface board through a connector, and a single-chip microcomputer, a dip switch, an ADC acquisition module, a drive signal module and a serial port are integrated on the main board, the single-chip microcomputer is connected to a lower computer through the serial port, a serial communication interface and a communication module 1 are integrated in the lower computer, a communication module 2, an ADC input module, a DAC output module and an IO module are integrated on the interface board, the interface board is used to connect to a host computer, the single-chip microcomputer is connected to the communication module 1 through a serial communication interface, and the single-chip microcomputer is also connected to the dip switch, the ADC input module, the DAC output module, the IO module and the ADC acquisition module through a parallel or serial interface.
[0008] Preferably, the interface board may have different input and output pins according to the requirements of different communication modes, and the main board is provided with a port, which is used to match the connector connected to the interface board.
[0009] Through the above technical solution, the interface board can be designed with different lead-in and lead-out pins according to the requirements of different communication modes, which means that the same mainboard can adapt to different communication protocols and environments by replacing different interface boards. This modular design greatly enhances the flexibility and adaptability of the communication output device; by integrating the relevant functions of the communication mode into the interface board, the mainboard can be designed to be more universal and simplified, which not only reduces the design difficulty and production cost of the mainboard, but also enables the interface board to be optimized for different specific applications, thereby improving production efficiency.
[0010] Preferably, the dip switch is a mechanical switch, and the dip switch is connected to the single-chip microcomputer through an IO module.
[0011] Through the above technical solution, the dip switch is a mechanical switch, which is connected to the microcontroller through the IO module and is used to select the communication mode. Different numbers represent different protocols, and it can support up to 30 communication modes. For non-professionals, the dip switch can select the communication mode through simple physical operation, which greatly simplifies the user's operation steps. In applications where the communication mode needs to be changed frequently, the dip switch can provide almost instant response without multiple clicks or inputs through the software, thereby improving the response speed and flexibility of the system.
[0012] Preferably, the dip switch has a plurality of switch positions, and each switch position corresponds to a communication protocol.
[0013] Through the above technical solution, by setting the dip switch to multiple switch positions, such a setting can simplify the operation, each dip position corresponds to a communication protocol, and the user can directly confirm the current communication mode by checking the position of the dip switch, reducing the possibility of misoperation.
[0014] Preferably, a communication output port is provided on the interface board, and the communication output port supports multiple data transmission rates.
[0015] Through the above technical solution, the communication output port supports multiple data transmission rates, which means that the interface board can adapt to various devices with different rate requirements, greatly increasing its versatility and adaptability; in practical applications, different devices and communication protocols may require different data transmission rates. High rates are usually used for fast transmission of large amounts of data, while low rates are suitable for small amounts of data or occasions with low real-time requirements.
[0016] Preferably, an indicator light is integrated on the outer surface of the interface board, and the indicator light is used to feedback the currently selected communication mode.
[0017] Through the above technical solution, the indicator light can intuitively display the currently selected communication mode, and the user can confirm the communication mode of the device by observing the state of the indicator light on the interface board, thereby enhancing the user experience.
[0018] Preferably, the ADC input module and the DAC output module both support multiple signal formats, the main board exchanges data with the host computer via an interface board, the communication content input exchanges data with the slave computer via a serial port, and the serial port is a DB9 interface.
[0019] Through the above technical solution, the ADC input module is responsible for converting continuous analog signals into discrete digital signals, and the DAC output module decodes and converts digital signals into corresponding analog signals, and then exchanges data with the host computer through the interface board. The main output content of the communication output device is DAC output, IO level output and ADC acquisition, IO acquisition, different communication modes, different input and output contents, and different input and output pins.
[0020] Preferably, the single chip microcomputer has a storage unit, and the storage unit is used to store configuration parameters of different communication modes.
[0021] Through the above technical solution, the storage unit of the microcontroller can save the configuration parameters of multiple communication modes according to different application scenarios and requirements. The user can quickly switch the communication mode as needed to improve the adaptability of the system. Through the pre-stored configuration parameters, the user can avoid the need to reset the communication parameters each time use, which simplifies the operation process and improves the user experience.
[0022] Preferably, the IO module comprises a plurality of programmable IO ports for configuration according to a selected communication mode, and the ADC input module and the DAC output module can both be configured by a single chip microcomputer.
[0023] Through the above technical solution, the ADC input module and DAC output module are centrally configured through the microcontroller, and users can quickly adjust parameters at the software level, simplifying the complexity of hardware connection and configuration.
[0024] Compared with the prior art, the present invention provides a multi-mode communication output device, which has the following beneficial effects:
[0025] 1. The multi-mode communication output device provided by the present invention is provided with an interface board and a dip switch. The main board is connected to the upper computer through the interface board for data exchange. The communication content input is exchanged with the lower computer through a DB9 interface. The main output content of the communication output device is DAC output, IO level output and ADC acquisition. The IO acquisition has different input and output contents in different communication modes, and the pins for introduction and extraction are also different. When the communication mode needs to be changed, only the interface board needs to be replaced, and the dial switch can be used to adjust the dial to complete the change of the communication mode.
[0026] 2. The multi-mode communication output device provided by the present invention facilitates connection between the main board and the upper computer through the interface board, which reduces the wiring links and reduces the risk of communication abnormalities due to wiring errors and poor contact of the cables. When communication abnormalities occur, the line inspection only needs to check the port with the lower computer, without checking the original large number of cables and whether the two ends of the cables are consistent, which makes it easy to find out the cause of the abnormality. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a principle block diagram of the structure of the present invention;
[0028] Figure 2 It is a logical schematic diagram of the structure of the present invention;
[0029] Figure 3 It is a schematic diagram of the connection between the modules of the structure of the present invention.
[0030] Among them: 1. Main board; 2. Interface board; 3. Single chip microcomputer; 4. DIP switch; 5. ADC acquisition module; 6. Drive signal module; 7. Serial port; 8. Lower computer; 9. Serial communication interface; 10. Communication module one; 11. Communication module two; 12. ADC input module; 13. DAC output module; 14. IO module; 15. Upper computer. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] See also Figure 1-Figure 3A multi-mode communication output device includes a main board 1, which is connected to an interface board 2 through a connector, and the main board 1 is integrated with a single-chip microcomputer 3, a dial switch 4, an ADC acquisition module 5, a drive signal module 6 and a serial port 7, the single-chip microcomputer 3 is connected to a lower computer 8 through the serial port 7, the lower computer 8 is integrated with a serial communication interface 9 and a communication module 1 10, the interface board 2 is integrated with a communication module 2 11, an ADC input module 12, a DAC output module 13 and an IO module 14, the interface board 2 is used to connect to a host computer 15, the single-chip microcomputer 3 is connected to the communication module 1 10 through the serial communication interface 9, and the single-chip microcomputer 3 is also connected to the dial switch 4, the ADC input module 12, the DAC output module 13, the IO module 14 and the ADC acquisition module 5 through a parallel or serial interface.
[0033] Specifically, the interface board 2 can have different input and output pins according to the requirements of different communication modes, and the main board 1 is provided with a port, which is used to match the connector connected to the interface board 2. The advantage is that the interface board 2 can be designed with different input and output pins according to the requirements of different communication modes, which means that the same main board 1 can adapt to different communication protocols and environments by replacing different interface boards 2. This modular design greatly enhances the flexibility and adaptability of the communication output device; by integrating the relevant functions of the communication mode into the interface board 2, the main board 1 can be designed to be more universal and simplified, which not only reduces the design difficulty and production cost of the main board 1, but also enables the interface board 2 to be optimized for different specific applications, thereby improving production efficiency.
[0034] Specifically, the dip switch 4 is a mechanical switch, and the dip switch 4 is connected to the single-chip microcomputer 3 through the IO module 14. The advantage is that the dip switch 4 is a mechanical switch, which is connected to the single-chip microcomputer 3 through the IO module 14 and is used to select the communication mode. Different numbers represent different protocols, and up to 100 communication modes can be supported. For non-professionals, the dip switch 4 can select the communication mode through simple physical operations, which greatly simplifies the user's operation steps. In applications where the communication mode needs to be changed frequently, the dip switch 4 can provide almost instant response without multiple clicks or inputs through software, which improves the response speed and flexibility of the system.
[0035] Specifically, the dip switch 4 has a plurality of switch positions, and each switch position corresponds to a communication protocol. The advantage is that by setting the dip switch 4 to a plurality of switch positions, such a setting can simplify the operation, and each dip position corresponds to a communication protocol. The user can directly confirm the current communication mode by checking the position of the dip switch 4, thereby reducing the possibility of misoperation.
[0036] Specifically, the interface board 2 is provided with a communication output port, and the communication output port supports multiple data transmission rates. The advantage is that the communication output port supports multiple data transmission rates, which means that the interface board 2 can adapt to various devices with different rate requirements, greatly increasing its versatility and adaptability; in practical applications, different devices and communication protocols may require different data transmission rates, and high rates are usually used for fast large data volume transmission, while low rates are suitable for small data volumes or occasions with low real-time requirements.
[0037] Specifically, an indicator light is integrated on the outer surface of the interface board 2, and the indicator light is used to feedback the currently selected communication mode. The advantage is that the indicator light can intuitively display the currently selected communication mode, and the user can confirm the communication mode of the device by observing the state of the indicator light on the interface board 2, which enhances the user experience.
[0038] Specifically, the ADC input module 12 and the DAC output module 13 both support multiple signal formats, the main board 1 exchanges data with the host computer 15 through the interface board 2, and the communication content input exchanges data with the slave computer 8 through the serial port 7, and the serial port 7 is a DB9 interface. The advantage is that the ADC input module 12 is responsible for converting continuous analog signals into discrete digital signals, and the DAC output module 13 decodes and converts digital signals into corresponding analog signals, and then exchanges data with the host computer 15 through the interface board 2. The main output content of the communication output device is DAC output, IO level output and ADC acquisition, IO acquisition, different communication modes, different input and output content, and different lead-in and lead-out pins.
[0039] Specifically, the single-chip microcomputer 3 has a storage unit, and the storage unit is used to store configuration parameters of different communication modes. The advantage is that the storage unit of the single-chip microcomputer 3 can save the configuration parameters of multiple communication modes according to different application scenarios and requirements, and the user can quickly switch the communication mode as needed to improve the adaptability of the system. Through the pre-stored configuration parameters, the user can avoid the need to reset the communication parameters every time it is used, which simplifies the operation process and improves the user experience.
[0040] Specifically, the IO module 14 includes a plurality of programmable IO ports for configuration according to the selected communication mode, and both the ADC input module 12 and the DAC output module 13 can be configured through the single chip microcomputer 3. The advantage is that by centrally configuring the ADC input module 12 and the DAC output module 13 through the single chip microcomputer 3, the user can quickly adjust the parameters at the software level, simplifying the complexity of hardware connection and configuration.
[0041] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A multi-mode communication output device, comprising a main board (1), characterized in that: The main board (1) is connected to the interface board (2) via a connector, and the main board (1) is integrated with a single-chip microcomputer (3), a dial switch (4), an ADC acquisition module (5), a drive signal module (6) and a serial port (7); the single-chip microcomputer (3) is connected to a lower computer (8) via the serial port (7); the lower computer (8) is integrated with a serial communication interface (9) and a communication module 1 (10); the interface board (2) is integrated with a communication module 2 (11), an ADC input module (12), a DAC output module (13) and an IO module (14); the interface board (2) is used to connect to a host computer (15); the single-chip microcomputer (3) is connected to the communication module 1 (10) via the serial communication interface (9); the single-chip microcomputer (3) is also connected to the dial switch (4), the ADC input module (12), the DAC output module (13), the IO module (14) and the ADC acquisition module (5) via a parallel or serial interface.
2. The multi-mode communication output device according to claim 1, characterized in that: The interface board (2) may have different input and output pins according to the requirements of different communication modes. The main board (1) is provided with a port, which is used to match a connector connected to the interface board (2).
3. The multi-mode communication output device according to claim 1, characterized in that: The dip switch (4) is a mechanical switch, and the dip switch (4) is connected to the single-chip computer (3) via an IO module (14).
4. The multi-mode communication output device according to claim 1, characterized in that: The dip switch (4) has a plurality of switch positions, and each switch position corresponds to a communication protocol.
5. The multi-mode communication output device according to claim 1, characterized in that: The interface board (2) is provided with a communication output port, and the communication output port supports a variety of data transmission rates.
6. The multi-mode communication output device according to claim 1, characterized in that: An indicator light is integrated on the outer surface of the interface board (2), and the indicator light is used to feedback the currently selected communication mode.
7. The multi-mode communication output device according to claim 1, characterized in that: The ADC input module (12) and the DAC output module (13) both support a variety of signal formats; the main board (1) exchanges data with a host computer (15) via an interface board (2); communication content input exchanges data with a slave computer (8) via a serial port (7); and the serial port (7) is a DB9 interface.
8. The multi-mode communication output device according to claim 1, characterized in that: The single chip computer (3) has a storage unit, and the storage unit is used to store configuration parameters of different communication modes.
9. The multi-mode communication output device according to claim 1, characterized in that: The IO module (14) comprises a plurality of programmable IO ports for being configured according to a selected communication mode, and the ADC input module (12) and the DAC output module (13) can both be configured via a single chip microcomputer (3).
