Bus communication switching circuit, circuit board, dispensing equipment and production line

By designing a bus communication switching circuit and using a combination of controller and module to realize automatic switching of RS485 and CAN protocols, the problem of cumbersome communication interface switching in the existing technology is solved, the construction difficulty is reduced and the operation efficiency is improved.

CN221614993UActive Publication Date: 2024-08-27DONGGUAN ANDA AUTOMATIC EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323669356.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-08-27
Estimated Expiration
2033-12-29

AI Technical Summary

Technical Problem

In the existing technology, switching between RS485 and CAN bus communication interfaces requires manual operation, which is cumbersome and requires shutdown, which increases the difficulty of construction. Especially for non-circuit designers, it is more difficult to find circuit drawings.

Method used

Design a bus communication switching circuit to realize protocol switching through the combination of controller, RS485 bus module, CAN bus module and interface module. The same terminal block is used to integrate RS485 and CAN interfaces, and the communication protocol is directly switched through the controller logic to avoid manual operation. Interface replacement and shutdown operations.

Benefits of technology

It simplifies the communication switching process, reduces the difficulty of operation, realizes protocol switching without downtime, and improves the simplicity and efficiency of operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221614993U
    Figure CN221614993U
Patent Text Reader

Abstract

The utility model discloses a bus communication switching circuit, a circuit board, dispensing equipment and a production line, and relates to the technical field of communication. The first bus module is electrically connected with the controller, and the first bus module is used for communication through an RS485 communication protocol; the second bus module is electrically connected with the controller, and the second bus module is used for communication through a CAN bus protocol; the first interface module is provided with a first wiring terminal, the first wiring terminal is provided with a plurality of first pins and a plurality of second pins, the plurality of first pins are electrically connected with the first bus module, and the plurality of second pins are electrically connected with the second bus module; the first interface module is used for switching an RS485 communication protocol or a CAN bus protocol through the wiring terminal. According to the invention, the communication switching difficulty can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a bus communication switching circuit, a circuit board, a dispensing device and a production line. Background Art

[0002] In the related art, communication interfaces RS485 and CAN are commonly used bus communication interfaces. Through the TTL (transistor-transistor logic level) level conversion of the control chip, the RS485 or CAN related communication circuit converts the level of the output of the control chip. Due to the different electrical characteristics of the two, different electrical interfaces are required to achieve communication.

[0003] At present, the communication interface switching method between RS485 and CAN is usually manually operated, which requires stopping the machine and finding the relevant lines in the relevant equipment to replace the communication interface. The operation process is cumbersome. If the relevant technicians are not circuit designers and are not familiar with the relevant circuit layout, they have to find the relevant circuit drawings, which increases the difficulty of construction. Therefore, how to reduce the difficulty of switching communication has become a technical problem that needs to be solved urgently. Utility Model Content

[0004] The present application aims to solve at least one of the technical problems existing in the prior art. To this end, the present application proposes a bus communication switching circuit, a circuit board, a dispensing device and a production line, which can reduce the difficulty of switching communication.

[0005] According to the first aspect of the present application, a bus communication switching circuit includes:

[0006] Controller;

[0007] A first bus module, the first bus module is electrically connected to the controller, and the first bus module is used for communicating via RS485 communication protocol;

[0008] A second bus module, the second bus module is electrically connected to the controller, and the second bus module is used for communicating via a CAN bus protocol;

[0009] The first interface module is provided with a first wiring terminal, the first wiring terminal is provided with multiple first pins and multiple second pins, the multiple first pins are electrically connected to the first bus module, and the multiple second pins are electrically connected to the second bus module; the first interface module is used to switch between RS485 communication protocol and CAN bus protocol through the wiring terminal.

[0010] According to the bus communication switching circuit of the embodiment of the present application, at least the following beneficial effects are achieved: by setting a controller, a first bus module, a second bus module and a first interface module, and the first interface module is provided with a first wiring terminal, the first wiring terminal is provided with a plurality of first pins and a plurality of second pins, the plurality of first pins are electrically connected to the first bus module, and the plurality of second pins are electrically connected to the second bus module; when the controller switches the communication protocol due to the need for communication, the communication protocol can be directly replaced through the processing logic of the controller itself, and the communication can be carried out through the pins connected between the controller and the first bus module, or the communication can be carried out through the pins connected between the controller and the second bus module, and the communication protocol can be directly switched. At the same time, since RS485 and CAN are integrated in the same wiring terminal, there is no need to manually replace different interfaces, the operation is simple, no shutdown operation is required, the implementation process is simple, and the difficulty of switching communication is reduced. Therefore, the bus communication switching circuit of the present application can reduce the difficulty of switching communication.

[0011] According to some embodiments of the first aspect of the present application, the first bus module is an RS485 communication circuit; and the second bus module is a CAN communication circuit.

[0012] According to some embodiments of the first aspect of the present application, the RS485 communication circuit is provided with an RS485 communication chip, and the model of the RS485 communication chip is ADM485; the CAN communication circuit is provided with a CAN communication chip, and the model of the CAN communication chip is TJA1051T.

[0013] According to some embodiments of the first aspect of the present application, the RS485 communication circuit is provided with a first RS485 output pin and a second RS485 output pin, the plurality of first pins is two, and the two first pins are electrically connected to the first RS485 output pin and the second RS485 output pin respectively in a one-to-one correspondence.

[0014] According to some embodiments of the first aspect of the present application, the CAN communication circuit is provided with a first CAN output pin and a second CAN output pin, the plurality of second pins is two, and the two second pins are electrically connected to the first CAN output pin and the second CAN output pin respectively in a one-to-one correspondence.

[0015] According to some embodiments of the first aspect of the present application, the bus communication switching circuit also includes a second interface module, the second interface module is provided with a second wiring terminal, the second wiring terminal is provided with multiple third pins and multiple fourth pins, the multiple third pins are electrically connected to the first bus module, and the multiple fourth pins are electrically connected to the second bus module; the second interface module is used to switch the RS485 communication protocol or the CAN bus protocol through the wiring terminal.

[0016] According to some embodiments of the first aspect of the present application, the bus communication switching circuit also includes a power conversion module, which is used to convert 5V to 3.3V to power the CAN communication circuit.

[0017] The circuit board according to the second aspect embodiment of the present application includes the bus communication switching circuit as described in the first aspect embodiment.

[0018] The dispensing device according to the third aspect of the present application includes:

[0019] The circuit board as described in the embodiment of the second aspect;

[0020] A first process module, wherein the first process module is electrically connected to the first interface module, and the first process module is used to process a workpiece under the control of the controller.

[0021] The production line according to the fourth embodiment of the present application includes the dispensing equipment as described in the third embodiment.

[0022] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The present application is further described below with reference to the accompanying drawings and embodiments, wherein:

[0024] Figure 1 A principle block diagram of a bus communication switching circuit provided in an embodiment of the present application;

[0025] Figure 2 A circuit schematic diagram of the first bus module provided in an embodiment of the present application;

[0026] Figure 3 A circuit schematic diagram of the second bus module provided in an embodiment of the present application;

[0027] Figure 4 A circuit schematic diagram of the interface module provided in the embodiment of the present application;

[0028] Figure 5 This is a circuit schematic diagram of the power conversion module provided in an embodiment of the present application.

[0029] Reference numerals:

[0030] A controller 100 , a first bus module 200 , a second bus module 300 , a first interface module 400 , a second interface module 500 , and a power conversion module 600 . DETAILED DESCRIPTION

[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0032] It should be noted that although the functional modules are divided in the system diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in a different order than the module division in the system or the order in the flowchart. The terms in the specification, claims and the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0033] In the description of this application, "several" means more than one, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0034] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.

[0035] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0036] Below, according to Figures 1 to 5 The bus communication switching circuit of the embodiment of the present application is described.

[0037] It is understandable that if Figure 1 , Figure 2 , Figure 3 and Figure 4 As shown, the present application provides a bus communication switching circuit, comprising:

[0038] Controller 100;

[0039] A first bus module 200, the first bus module 200 is electrically connected to the controller 100, and the first bus module 200 is used for communication via RS485 communication protocol;

[0040] A second bus module 300, the second bus module 300 is electrically connected to the controller 100, and the second bus module 300 is used for communication via a CAN bus protocol;

[0041] The first interface module 400 is provided with a first wiring terminal, the first wiring terminal is provided with a plurality of first pins and a plurality of second pins, the plurality of first pins are electrically connected to the first bus module 200, and the plurality of second pins are electrically connected to the second bus module 300; the first interface module 400 is used to switch between the RS485 communication protocol or the CAN bus protocol through the wiring terminal.

[0042] By setting a controller 100, a first bus module 200, a second bus module 300 and a first interface module 400, and the first interface module 400 is provided with a first wiring terminal, the first wiring terminal is provided with a plurality of first pins and a plurality of second pins, the plurality of first pins are electrically connected to the first bus module 200, and the plurality of second pins are electrically connected to the second bus module 300; when the controller 100 switches the communication protocol due to the need for communication, the communication protocol can be directly changed through the processing logic of the controller 100 itself, and the controller 100 communicates with the pins connected to the first bus module 200, or communicates with the pins connected to the second bus module 300 through the controller 100, so that the communication protocol can be directly switched. At the same time, since RS485 and CAN are integrated in the same wiring terminal, there is no need to manually change different interfaces, the operation is simple, no shutdown operation is required, the implementation process is simple, and the difficulty of switching communication is reduced. Therefore, the bus communication switching circuit of the present application can reduce the difficulty of switching communication.

[0043] It is understandable that if Figure 2 and Figure 3 As shown, the first bus module 200 is an RS485 communication circuit, and the second bus module 300 is a CAN communication circuit. By setting the communication circuit into modules, the switching of the communication protocol is facilitated.

[0044] It is understandable that the RS485 communication circuit is provided with an RS485 communication chip, the model of which is ADM485; the CAN communication circuit is provided with a CAN communication chip, the model of which is TJA1051T. By adopting the solution of the RS485 communication chip and the CAN communication chip, the level conversion can be conveniently and quickly performed, thereby realizing the rapid switching of the communication protocol.

[0045] It should be noted that the RS485 communication circuit and the CAN communication circuit are set according to the needs of the industrial site. If necessary, other communication circuits can be set according to the technical solution of this application and the communication interface can be integrated.

[0046] It can be understood that the RS485 communication circuit is provided with a first RS485 output pin and a second RS485 output pin, the plurality of first pins are two, and the two first pins are electrically connected to the first RS485 output pin and the second RS485 output pin in a one-to-one correspondence.

[0047] It should be noted that if Figure 2 and Figure 4 As shown, RS485_A is the first RS485 output pin, RS485_B is the second RS485 output pin; the two first pins are pin 1 and pin 2 respectively.

[0048] It can be understood that the CAN communication circuit is provided with a first CAN output pin and a second CAN output pin, the plurality of second pins are two, and the two second pins are electrically connected to the first CAN output pin and the second CAN output pin in a one-to-one correspondence.

[0049] It should be noted that if Figure 3 and Figure 4 As shown, CANH is the first CAN output pin, CANL is the second CAN output pin; the two second pins are pin 3 and pin 6 respectively.

[0050] It is understandable that if Figure 1 and Figure 4 As shown, the bus communication switching circuit also includes a second interface module 500, the second interface module 500 is provided with a second wiring terminal, the second wiring terminal is provided with multiple third pins and multiple fourth pins, the multiple third pins are electrically connected to the first bus module 200, and the multiple fourth pins are electrically connected to the second bus module 300; the second interface module 500 is used to switch the RS485 communication protocol or the CAN bus protocol through the wiring terminal.

[0051] It should be noted that the first interface module 400 and the second interface module 500 are arranged according to external process requirements. The more process steps need to be controlled, the more interface modules can be arranged according to the needs.

[0052] It should be noted that both the first wiring terminal and the second wiring terminal are RJ45 connectors.

[0053] It should be noted that in the present application, the two communication lines use the same RJ45 interface, the CAN differential CANH is connected to pin 3pin of the RJ45 interface and CANL is connected to pin 6pin; RS485 A is connected to pin 1pin of the RJ45 interface, and signal B is connected to pin 2pin of the RJ45; in this way, two communications are completed with only one communication line, which reduces the difficulty of on-site wiring, reduces the redundant design of equipment, and improves the efficiency of on-site communication debugging.

[0054] It is understandable that if Figure 5 As shown, the bus communication switching circuit further includes a power conversion module 600, and the power conversion module 600 is used to convert 5V into 3.3V to power the CAN communication circuit.

[0055] It should be noted that other devices on the CAN communication circuit require 3.3V voltage as the working voltage. Therefore, by converting the 5V voltage to 3.3V voltage, the power requirements of these devices can be met to ensure their normal operation. In addition, compared with the 3.3V voltage, the 5V voltage has a higher voltage and greater power, so converting it to 3.3V voltage can reduce power consumption and heat generation, and improve the stability and reliability of the system.

[0056] It should be noted that the power conversion module 600 is provided with a power conversion chip, and the model of the power conversion chip is AMS1117.

[0057] It is understandable that the present application also provides a circuit board, including the bus communication switching circuit of the above embodiment. The bus communication switching circuit is arranged on the circuit board to facilitate installation and connection.

[0058] It is understandable that the present application also provides a dispensing device, including:

[0059] The circuit board as in the above embodiment;

[0060] The first process module is electrically connected to the first interface module 400 , and the first process module is used to process the workpiece under the control of the controller 100 .

[0061] According to the application scenario, the circuit board can be set in the dispensing equipment. At the same time, according to the needs, a first process module corresponding to the first interface module 400 is set. In addition, according to the needs of the process, the bus communication switching circuit is also provided with a second interface module 500, and the dispensing equipment is also provided with a second process module. The second process module is electrically connected to the second interface module 500, and the second process module is used to process the workpiece under the control of the controller 100.

[0062] It can be understood that the present application also provides a production line, including a dispensing device as described in the above embodiment.

[0063] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments. Various changes can be made within the knowledge of ordinary technicians in the relevant technical field without departing from the purpose of the present application. In addition, the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

Claims

1. A bus communication switching circuit, It is characterized in that include: Controller; A first bus module, the first bus module is electrically connected to the controller, and the first bus module is used for communicating via RS485 communication protocol; A second bus module, the second bus module is electrically connected to the controller, and the second bus module is used for communicating via a CAN bus protocol; The first interface module is provided with a first wiring terminal, the first wiring terminal is provided with multiple first pins and multiple second pins, the multiple first pins are electrically connected to the first bus module, and the multiple second pins are electrically connected to the second bus module; the first interface module is used to switch between RS485 communication protocol and CAN bus protocol through the wiring terminal.

2. The bus communication switching circuit according to claim 1, It is characterized in that The first bus module is an RS485 communication circuit; the second bus module is a CAN communication circuit.

3. The bus communication switching circuit according to claim 2, It is characterized in that The RS485 communication circuit is provided with an RS485 communication chip, and the model of the RS485 communication chip is ADM485; the CAN communication circuit is provided with a CAN communication chip, and the model of the CAN communication chip is TJA1051T.

4. The bus communication switching circuit according to claim 2, It is characterized in that The RS485 communication circuit is provided with a first RS485 output pin and a second RS485 output pin, the plurality of the first pins is two, and the two first pins are electrically connected to the first RS485 output pin and the second RS485 output pin respectively in a one-to-one correspondence.

5. The bus communication switching circuit according to claim 2, It is characterized in that The CAN communication circuit is provided with a first CAN output pin and a second CAN output pin, the plurality of second pins is two, and the two second pins are electrically connected to the first CAN output pin and the second CAN output pin respectively in a one-to-one correspondence.

6. The bus communication switching circuit according to claim 1, It is characterized in that The bus communication switching circuit also includes a second interface module, the second interface module is provided with a second wiring terminal, the second wiring terminal is provided with multiple third pins and multiple fourth pins, the multiple third pins are electrically connected to the first bus module, and the multiple fourth pins are electrically connected to the second bus module; the second interface module is used to switch the RS485 communication protocol or the CAN bus protocol through the wiring terminal.

7. The bus communication switching circuit according to claim 1, It is characterized in that The bus communication switching circuit also includes a power conversion module, which is used to convert 5V into 3.3V to power the CAN communication circuit.

8. A circuit board, It is characterized in that It comprises the bus communication switching circuit as described in any one of claims 1 to 7.

9. A dispensing device, It is characterized in that include: The circuit board as claimed in claim 8; A first process module, wherein the first process module is electrically connected to the first interface module, and the first process module is used to process a workpiece under the control of the controller.

10. A production line, It is characterized in that Including the dispensing equipment as described in claim 9.