A transmitter having multiple bus outputs

CN224840831UActive Publication Date: 2026-10-09SUZHOU YULING ENVIRONMENTAL PROTECTION TECHCO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522368155.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-07
Publication Date
2026-10-09
Estimated Expiration
2035-11-07

AI Technical Summary

Technical Problem

然而,常规变送器只具备其中的一种总线,限制了其应用环境

Benefits of technology

本实用新型提供的具有多种总线输出的变送器包括:用户界面、MCU单元、控制单元以及总线输出模块,用户界面与MCU单元通信连接,MCU单元与总线输出模块和控制单元通信连接,所述用户界面用于设置所需要使用的总线;所述MCU单元用于读取用户界面的设置,并对控制单元进行操作,以完成所需要的总线输出设置,从而使用总线输出模块中所需要的总线进行通信,控制单元包括6个开关芯片,开关芯片用于进行二选一开关操作,开关芯片包括第一开关芯片、第二开关芯片、第三开关芯片、第四开关芯片、第五开关芯片及第六开关芯片,总线输出模块包括CAN总线、RS485总线、RS232总线,总线输出模块中的每个总线分别与控制单元中对应的2个开关芯片通信连接。采用本申请的变送器,用户可以通过用户界面进行简单的设置,从而自动选定需要使用的总线,显著扩展了变送器的应用环境。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224840831U_ABST
    Figure CN224840831U_ABST
Patent Text Reader

Abstract

The utility model provides a kind of transmitter with multiple bus outputs, it is related to transmitter technical field.The transmitter includes: user interface, MCU unit, control unit and bus output module, user interface is connected with MCU unit communication, MCU unit is connected with bus output module and control unit communication;MCU unit is used to read the setting of user interface, to complete the bus output setting required, to use the bus required in bus output module to communicate, control unit includes 6 switch chips, switch chip is used to carry out two alternative switch operation, bus output module includes CAN bus, RS485 bus, RS232 bus, each bus in bus output module is connected with corresponding 2 switch chips communication respectively.The transmitter of the present application, user can carry out simple setting through user interface, to automatically select the bus required to use, significantly expand the application environment of transmitter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of transmitter technology, specifically to a transmitter with multiple bus outputs. Background Technology

[0002] In recent years, ecological and environmental protection has received increasing attention. Wherever there is water, there is water quality monitoring, especially for domestic wastewater, industrial wastewater, and surface water. The goal is not only to achieve continuous 24-hour monitoring but also to scientifically and effectively control the quality of water bodies that fail monitoring before discharge and reuse. Therefore, water quality monitoring is of paramount importance. Currently, various online water quality sensors developed using optical principles are widely used in the water quality testing industry. However, because general water quality sensors are relatively small, they are difficult to display the tested data themselves. This necessitates transmitters to act as local displays and transmit data to the control center.

[0003] With the development of bus technology, more and more buses are being used in the field. Currently, the main buses include RS485, CAN, and RS232. However, conventional transmitters only support one of these buses, limiting their application environments. Therefore, there is a need to provide a transmitter that can expand its application range. Utility Model Content

[0004] The purpose of this invention is to address the shortcomings of the prior art by providing a transmitter with multiple bus outputs to solve the problem of expanding the application environment of the transmitter.

[0005] To achieve the above objectives, the technical solution adopted by this utility model is as follows: This invention provides a transmitter with multiple bus outputs, the transmitter comprising: a user interface, an MCU unit, a control unit, and a bus output module. The user interface communicates with the MCU unit, and the MCU unit communicates with the bus output module and the control unit. The user interface is used to set the bus to be used; The MCU unit is used to read the user interface settings and operate the control unit to complete the required bus output settings, thereby enabling communication using the bus required by the bus output module. The control unit includes six switch chips, which are used for two-to-one switching operations. The switch chips include a first switch chip, a second switch chip, a third switch chip, a fourth switch chip, a fifth switch chip, and a sixth switch chip. The bus output module includes a CAN bus, an RS485 bus, and an RS232 bus. Each bus in the bus output module is communicatively connected to two corresponding switch chips in the control unit.

[0006] Optionally, the switching chip in the control unit is an SGM3157. When the S pin is low, the B0 pin is connected to the A pin; when the S pin is high, the B1 pin is connected to the A pin.

[0007] Optionally, the CAN_H terminal of the CAN bus is directly connected to the B1 pin of the first switch chip, the CAN_L terminal of the CAN bus is directly connected to the B1 pin of the second switch chip, a first resistor is connected between the CAN_H and CAN_L terminals of the CAN bus, the B terminal of the RS485 bus is directly connected to the B1 pin of the third switch chip, the A terminal of the RS485 bus is directly connected to the B1 pin of the fourth switch chip, a second resistor is connected between the A and B terminals of the RS485 bus, the TOUT2 terminal of the RS232 bus is connected to the B1 pin of the fifth switch chip via a fifth resistor, and the RIN2 terminal of the RS232 bus is connected to the B1 pin of the sixth switch chip via a sixth resistor.

[0008] The beneficial effects of this utility model include: This utility model provides a transmitter with multiple bus outputs, comprising: a user interface, an MCU unit, a control unit, and a bus output module. The user interface is communicatively connected to the MCU unit, and the MCU unit is communicatively connected to both the bus output module and the control unit. The user interface is used to set the required bus. The MCU unit reads the settings from the user interface and operates the control unit to complete the required bus output settings, thereby enabling communication using the bus required by the bus output module. The control unit includes six switch chips, which perform two-to-one switching operations. The switch chips include a first switch chip, a second switch chip, a third switch chip, a fourth switch chip, a fifth switch chip, and a sixth switch chip. The bus output module includes a CAN bus, an RS485 bus, and an RS232 bus. Each bus in the bus output module is communicatively connected to two corresponding switch chips in the control unit. Using the transmitter of this application, users can easily select the required bus through simple settings via the user interface, significantly expanding the application environment of the transmitter. Attached Figure Description

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

[0010] Figure 1 A schematic diagram of the structure of a transmitter with multiple bus outputs provided in an embodiment of the present invention is shown; Figure 2 The circuit diagram of the bus output module and control unit provided in the embodiment of this utility model is shown. Detailed Implementation

[0011] 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, and not all embodiments. The components of the embodiments of this utility model described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0012] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0013] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0014] In the description of this utility model, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product of this utility model is in use. They are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this utility model. In addition, the terms "first," "second," and "third," etc., are only used to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0015] In the description of this utility model, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances.

[0016] With the development of bus technology, more and more buses are being used in the field. Currently, the main buses are RS485, CAN, and RS232. Typical transmitters only support one of these buses. This application proposes a transmitter that can simultaneously support all three buses, allowing for selection based on specific applications and expanding its application environment.

[0017] Figure 1 A schematic diagram of the structure of a transmitter with multiple bus outputs provided in an embodiment of the present invention is shown, such as... Figure 1 As shown, the transmitter provided by this utility model includes: a user interface, an MCU unit, a control unit, and a bus output module. The user interface is communicatively connected to the MCU unit, and the MCU unit is communicatively connected to the bus output module and the control unit. The user interface is used to set the bus to be used. The MCU unit is used to read the settings of the user interface and operate the control unit to complete the required bus output settings, thereby using the bus required by the bus output module for communication.

[0018] Figure 2 The circuit diagram of the bus output module and control unit provided in this embodiment of the present invention is shown. The control unit includes six switch chips, which are used for two-to-one switching operations. The switch chips include a first switch chip U5, a second switch chip U6, a third switch chip U7, a fourth switch chip U8, a fifth switch chip U9, and a sixth switch chip U10. The bus output module includes a CAN bus, an RS485 bus, and an RS232 bus. Each bus in the bus output module is communicatively connected to two corresponding switch chips in the control unit.

[0019] The switching chip in the control unit is model SGM3157. When the S pin is low, the B0 pin is connected to the A pin; when the S pin is high, the B1 pin is connected to the A pin. The CAN_H terminal of the CAN bus is directly connected to the B1 pin of the first switching chip, and the CAN_L terminal of the CAN bus is directly connected to the B1 pin of the second switching chip. A first resistor connects the CAN_H and CAN_L terminals of the CAN bus. The B terminal of the RS485 bus is directly connected to the B1 pin of the third switching chip, and the A terminal of the RS485 bus is directly connected to the B1 pin of the fourth switching chip. A second resistor connects the A and B terminals of the RS485 bus. The TOUT2 terminal of the RS232 bus is connected to the B1 pin of the fifth switching chip via a fifth resistor, and the RIN2 terminal of the RS232 bus is connected to the B1 pin of the sixth switching chip via a sixth resistor.

[0020] In practical use, the first step is to simply configure the required bus on the UI. After the MCU reads the settings, it will operate the control unit to complete the necessary bus output settings, thereby enabling communication using the required bus. The control unit and the always-on output circuitry are as follows: Figure 2 As shown. The working principle is described as follows: After the user sets the required communication bus through the user interface (UI), the MCU receives the instruction, remembers the required bus, and simultaneously starts the corresponding serial communication, opening the corresponding switches of the backend U5-U10 to realize the required bus transmission. The U5-U10 chips used here are model SGM3157, whose main function is a two-to-one switch with low on-resistance. When the S pin is low, the B0 pin is connected to the A pin; when the S pin is high, the B1 pin is connected to the A pin. U2-U4 used here are the CAN bus transceiver chip, RS485 transceiver bus, and RS232 bus, respectively.

[0021] The working process is as follows: For example, if the user selects to use RS485 communication, the MCU will activate the functions of 485_RX and 485_TX, and pull 485_TR low. At the same time, 485_SA and 485_SB in the diagram will be set to high signals, so that the RS485 bus will be connected to the circuit.

[0022] The solution presented in this application utilizes resistors, capacitors, and ICs to achieve the bus transmission required by the transmitter, bringing convenience to field use. Using the transmitter based on this application, users can perform simple settings through the user interface to automatically select the required bus, significantly expanding the transmitter's application environment.

[0023] In addition, it should be understood that the transmitter of this application also includes a power supply module, which supplies power to all modules. The MCU and user interface (UI) module are powered by 3.3V DC, the SGM3157 switches U5-U10 are powered by 3.3V, and the CAN / RS485 / RS232 transceiver chips U2-U4 are adapted to 5V or 3.3V power supply according to the chip model (which needs to be matched with the power supply logic of the external bus device). A 0.1μF filter capacitor needs to be connected in series at the power input terminal to stabilize the voltage and avoid interference.

[0024] Specifically, this transmitter circuit is centered around an MCU (Microcontroller Unit). It achieves multi-bus switching through the logic of "UI settings → MCU instruction parsing → control unit switch switching → bus transceiver chip data transmission." The circuit is divided into five core modules, with the following connection relationships: UI Interaction Module: Connects only unidirectionally to the MCU, used for user input of bus selection commands (such as RS485 / CAN / RS232). Input signals are directly transmitted to the MCU's I / O pins, with no other external circuit connections. MCU Control Module: Acts as the circuit's "central hub," bidirectionally connecting to the control unit (switch array), unidirectionally outputting control signals to each bus transceiver chip, and simultaneously receiving data streams from the bus transceiver chips. Key pins of the MCU include "bus selection command receiving pin," "switch control signal output pin," and "bus data transceiver pin," and only one type of bus's corresponding pin group is active at a time. Control unit (switch array): It consists of 6 SGM3157 2-to-1 switches U5-U10. The "S pin" (control terminal) of each switch is connected to the I / O pin of the MCU, the "A pin" (common terminal) is connected to the signal pin of the corresponding bus transceiver chip, and the "B0 / B1 pin" (selection terminal) is connected to the bus data transceiver pin of the MCU or left floating (only the selection terminal corresponding to the target bus is activated), forming a control link of "MCU → switch → bus transceiver chip". Bus transceiver module: Contains three dedicated chips: U2 = CAN transceiver chip, U3 = RS485 transceiver chip, and U4 = RS232 transceiver chip. The "data input / output pins" of each chip are connected to the "A pin" of the corresponding switch in the control unit. The "bus interface pins" (such as the A / B lines of RS485, the CAN_H / CAN_L lines of CAN, and the TX / RX lines of RS232) extend directly to the external interface of the transmitter for communication with external devices. In addition, the RS485 transceiver chip U3 is equipped with an additional "485_TR pin" (enable terminal), which is separately connected to the I / O pin of the MCU for controlling the RS485 transmit / receive mode switching.

[0025] There are a total of 6 switches, U5-U10. Two of them correspond to RS485 (U5 corresponds to 485_TX switching, U6 corresponds to 485_RX switching), two correspond to CAN (U7 corresponds to CAN_TX switching, U8 corresponds to CAN_RX switching), and two correspond to RS232 (U9 corresponds to 232_TX switching, U10 corresponds to 232_RX switching). The S pin of each group of switches is controlled by the MCU independently, ensuring that only one group of switches is activated at any given time.

[0026] When the user selects "RS485 bus" through the UI, the connection status of each module in the circuit is as follows. The working logic of other buses (CAN / RS232) is similar, only the corresponding devices and pin activations are different: MCU instruction output: Activate the "485_TX" and "485_RX" data pins to start the RS485 serial communication function; pull the "485_TR" control pin low (activate the receive / transmit mode of the RS485 transceiver chip); set the "S pin" of U5 (RS485_TX switch) and U6 (RS485_RX switch) to high level (according to the characteristics of SGM3157, a high level makes the B1 pin and the A pin conduct); set the "S pin" of U7-U10 (the corresponding switches of CAN / RS232) to low level (the B0 pin and the A pin conduct, and the B0 pin is left floating, cutting off the connection between CAN / RS232 and the MCU). Control unit U5-U6 connection status: U5 (RS485_TX switching): Pin B1 (connected to MCU's 485_TX) and pin A (connected to U3's DI) are connected, allowing TX data from the MCU to be transmitted to U3; U6 (RS485_RX switching): Pin B1 (connected to MCU's 485_RX) and pin A (connected to U3's RO) are connected, allowing RX data from U3 to be transmitted to the MCU. RS485 transceiver chip U3 connection status: Pin DI (connected to U5's A) receives TX data from the MCU, converts it into an RS485 differential signal internally, and outputs it from pins A / B (connected to external RS485 interface); Pin A / B receives RS485 differential signals from external devices, converts them into single-ended signals internally, and transmits them from pin RO (connected to U6's A) to the MCU's RX pin; When pins RE / DE (connected to MCU's 485_TR) are low, the chip is simultaneously in "receive" and "transmit" ready state, enabling bidirectional data transmission. Other bus device statuses: The "data input / output pins" of U2 (CAN transceiver chip) and U4 (RS232 transceiver chip) are in standby mode because the corresponding switch (U7-U10) B0 pin is floating and there is no data transmission; the external CAN and RS232 interfaces have no signal output, and only the RS485 interface (A / B terminals) establishes a valid connection with the external device.

[0027] The above description is merely a preferred embodiment of this utility model and is not intended to limit the utility model. Various modifications and variations can be made to this utility model by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this utility model should be included within the protection scope of this utility model.

Claims

1. A transmitter with multiple bus outputs, characterized in that, The transmitter includes: a user interface, an MCU unit, a control unit, and a bus output module. The user interface communicates with the MCU unit, and the MCU unit communicates with the bus output module and the control unit. The user interface is used to set the bus to be used; The MCU unit is used to read the user interface settings and operate the control unit to complete the required bus output settings, thereby enabling communication using the bus required by the bus output module. The control unit includes six switch chips, which are used for two-to-one switching operations. The switch chips include a first switch chip, a second switch chip, a third switch chip, a fourth switch chip, a fifth switch chip, and a sixth switch chip. The bus output module includes a CAN bus, an RS485 bus, and an RS232 bus. Each bus in the bus output module is communicatively connected to two corresponding switch chips in the control unit.

2. The transmitter with multiple bus outputs according to claim 1, characterized in that, The switching chip in the control unit is model SGM3157. When the S pin is low, the B0 pin is connected to the A pin; when the S pin is high, the B1 pin is connected to the A pin.

3. The transmitter with multiple bus outputs according to claim 2, characterized in that, The CAN_H terminal of the CAN bus is directly connected to the B1 pin of the first switch chip, the CAN_L terminal of the CAN bus is directly connected to the B1 pin of the second switch chip, and a first resistor is connected between the CAN_H and CAN_L terminals of the CAN bus. The B terminal of the RS485 bus is directly connected to the B1 pin of the third switch chip, the A terminal of the RS485 bus is directly connected to the B1 pin of the fourth switch chip, and a second resistor is connected between the A and B terminals of the RS485 bus. The TOUT2 terminal of the RS232 bus is connected to the B1 pin of the fifth switch chip via a fifth resistor, and the RIN2 terminal of the RS232 bus is connected to the B1 pin of the sixth switch chip via a sixth resistor.