A 485 communication automatic switching circuit and control method
By using a relay switching circuit and central processing unit control, the wiring errors of the 485 communication module are automatically identified and corrected, solving the communication problems caused by wiring errors in the existing technology, improving user experience and construction efficiency, and protecting the 485 communication chip.
Patent Information
- Application Number
- CN202011332316.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-24
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-11-24
AI Technical Summary
The existing 485 communication circuit cannot automatically correct wiring errors, resulting in poor communication, increased construction difficulty and user complaints, and also has problems such as high cost, signal delay and lack of surge protection.
The system employs a relay switching circuit, combined with central processing unit control, to automatically identify and switch the communication loop between the 485 communication module and the connector. It also features surge suppression components and terminating resistors to filter out interference signals, provide terminating resistor matching control, and automatically correct wiring errors.
It enables automatic communication correction when wiring errors occur, reducing working hours, simplifying operation, improving user experience, protecting the 485 communication chip, avoiding signal delay and interference, and simplifying installation and debugging.
Smart Images

Figure CN112332887B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of 485 communication circuits, and in particular to a 485 communication automatic switching circuit and a control method. Background Art
[0002] At present, the indoor and outdoor units of commercial air conditioners generally use the 485 communication method. During the installation of the project, the 485 communication line AB is often connected reversely, resulting in poor communication. Most of the existing 485 communication circuits do not have the function of automatic reverse. If the wiring is wrong during the installation of the project, it will cause poor communication and failure to start the machine. The installer needs to disassemble the machine again to check the cause of the fault and adjust the line sequence, which wastes work time, increases the difficulty of construction, and is prone to customer complaints.
[0003] The Chinese patent application number 201320882538.0 discloses an automatic identification and correction circuit for reverse connection of 485 signal lines, including: an electronic switch circuit, a signal conversion circuit and a CPU, wherein the input end of the electronic switch circuit is the 485 signal input end, the output end of the electronic switch circuit is connected to the input end of the signal conversion circuit, the output end of the signal conversion circuit is connected to the I / O port P3.0 of the CPU, and the control port POO_485_SW of the CPU is connected to the logic control end of the electronic switch circuit. If the single-chip CPU determines that the current 485 signal line is reversely connected, it will output a control signal through the control interface P00_485_SW, and reversely process the 485 signal through the electronic switch circuit.
[0004] The automatic identification and correction circuit for reverse connection of 485 signal lines disclosed in the above application can automatically detect 485 network signals and determine whether the 485 signal lines are reversely connected. If reversed, it can automatically correct it. However, the solution disclosed in the above application has the following technical problems:
[0005] 1. The circuit disclosed in the application uses a BTC4157 multiplexer to implement the switching of the 485 loop. The device is relatively expensive and there is a signal delay problem when switching between high and low levels of communication.
[0006] 2. The circuit disclosed in the application does not have a surge protection device and is easily affected by the external environment.
[0007] 3. The circuit disclosed in the application does not have matching terminal resistance, and when multiple terminals are connected in parallel, the matching resistance cannot be adjusted.
[0008] In view of this, the present invention is proposed. Summary of the invention
[0009] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art and provide a 485 communication automatic switching circuit, which can automatically identify the communication status of indoor and outdoor units. When a wiring error occurs, the relay switching circuit is automatically controlled to switch the communication circuit between the 485 communication module and the connector, so that the communication remains normal. The operation is simple and convenient, with less working hours and low operating difficulty. A relay is used to control the switching of the communication circuit between the 485 communication module and the connector. The relay is equivalent to a wire, and there will be no signal delay problem, so the user experience is better.
[0010] In order to achieve this object, according to one aspect of the present invention, the present invention adopts the following technical solution:
[0011] A 485 communication automatic switching circuit, comprising:
[0012] Connectors;
[0013] 485 communication module, electrically connected to the connector;
[0014] The relay switching circuit is connected between the 485 communication module and the connector, and can switch the communication circuit between the 485 communication module and the connector.
[0015] Further, the relay switching circuit includes a first relay / a second relay whose input ends are respectively connected to a first communication line / a second communication line of a 485 communication module;
[0016] The connector has a first wiring port and a second wiring port. The output end of the first relay can be selectively connected to the first wiring port / the second wiring port, and the output end of the second relay is correspondingly connected to the second wiring port / the first wiring port.
[0017] Further, the first relay includes a first moving contact connected to the first communication line, and a first static contact / a second static contact respectively connectable to the first wiring port / the second wiring port, the first moving contact can be selectively connected to the first static contact or the second static contact, and the first relay defaults that the first moving contact is connected to the first static contact;
[0018] The second relay includes a second moving contact connected to the second communication line, and a third static contact / a fourth static contact which can be connected to the second wiring port / the first wiring port respectively. The second moving contact can be selectively connected to the third static contact or the fourth static contact. The second relay defaults to connecting the second moving contact to the third static contact.
[0019] Furthermore, it also includes a control module, wherein the control module includes a first central processing unit / a second central processing unit connected to the first relay / the second relay respectively;
[0020] The first central processing unit and the second central processing unit can receive control signals from the host computer, and control the first relay and the second relay to operate according to the control signals.
[0021] Furthermore, the first communication line / the second communication line is respectively provided with a first surge suppression element / a second surge suppression element which can absorb surge signals on the first communication line / the second communication line respectively;
[0022] Preferably, the first surge suppression element is a first TVS tube with one end connected to the first communication line and the other end grounded, and the second surge suppression element is a second TVS tube with one end connected to the second communication line and the other end grounded.
[0023] Furthermore, the first communication line and the second communication line are provided with a terminal resistor for reducing signal reflection, and the terminal resistor is connected to the first communication line at one end and connected to the second communication line at the other end through a wire;
[0024] Preferably, it also includes a control switch for controlling whether the terminal resistor is connected, and the control switch and the terminal resistor are connected in series and connected between the first communication line and the second communication line.
[0025] Furthermore, the first communication line / the second communication line is respectively provided with a first filter element / a second filter element for filtering out interference signals on the first communication line / the second communication line;
[0026] Preferably, the first filter element is a first filter resistor connected to the first communication line, and the second filter element is a second filter resistor connected to the second communication line.
[0027] Another object of the present invention is to provide a control method having any of the above-mentioned 485 communication automatic switching circuits, wherein when it is determined that the communication data between the 485 communication module and the docking control board is abnormal, the relay switching circuit can automatically switch the communication circuit between the 485 communication module and the connector.
[0028] Furthermore, when it is determined that the communication data between the 485 communication module and the docking control board is abnormal:
[0029] The first central processing unit controls the first relay to switch from a state where the first moving contact is connected to the first stationary contact to a state where the first moving contact is connected to the second stationary contact;
[0030] The second central processing unit controls the second relay to switch from a state where the second moving contact is connected to the third stationary contact to a state where the second moving contact is connected to the fourth stationary contact.
[0031] Furthermore, determine whether the communication data between the 485 communication module and the docking control board is normal:
[0032] If it is determined that the communication data between the 485 communication module and the docking control board is abnormal, the first central processor / the second central processor controls the first relay / the second relay to operate respectively, and switches the communication circuit between the 485 communication module and the connector;
[0033] Preferably, after switching the communication circuit, it is determined again whether the communication data between the 485 communication module and the docking control board is normal: if so, the first relay and the second relay maintain the current state; if not, a communication fault is reported;
[0034] More preferably, after switching the communication circuit, if it is determined that the communication data between the 485 communication module and the docking control board is abnormal, the communication data is continuously detected to be normal within T1 time. If the communication data is always detected to be abnormal within T1 time, the communication fault is reported.
[0035] After adopting the above technical solution, the present invention has the following beneficial effects compared with the prior art:
[0036] 1. The 485 communication automatic switching circuit provided by the present invention can automatically identify the communication status of the indoor and outdoor units. When a wiring error occurs, there is no need to change the wiring method. By controlling the action of the relay switching circuit, the communication circuit between the 485 communication module and the connector can be automatically switched. The operation is simple and convenient, with less man-hours and low operating difficulty. A relay is used to control the switching of the communication circuit between the 485 communication module and the connector. The relay is equivalent to a wire, and there will be no signal delay problem, so the user experience is better.
[0037] 2. The 485 communication automatic switching circuit provided by the present invention can absorb surge signals on the first communication line and the second communication line respectively through a first surge suppression element configured on the first communication line and a second surge suppression element configured on the second communication line, thereby protecting the 485 communication chip and preventing the 485 communication chip from being interfered with and damaged by surge signals.
[0038] 3. The 485 communication automatic switching circuit provided by the present invention is equipped with a terminal resistor, so that the signal is not easily reflected after reaching the ends of the first communication line and the second communication line, thereby reducing the signal reflection in the communication cable.
[0039] In addition, the present application is also configured with a control switch that can control whether the terminal resistor is connected. The control switch and the terminal resistor are connected in series in a loop and then connected between the first communication line and the second communication line. Whether the terminal resistor is connected is selected by opening and closing the control switch. During installation, the matching of the terminal resistor can be controlled according to actual conditions, which is convenient for direct operation during installation and debugging.
[0040] 4. The 485 communication automatic switching circuit provided by the present invention can effectively filter out interference signals on the first communication line and the second communication line by means of a first filtering element arranged on the first communication line and a second filtering element arranged on the second communication line.
[0041] 5. The control method of the 485 communication automatic switching circuit provided by the present invention, when it is determined that the communication data between the 485 communication module and the docking control board is abnormal, the first central processing unit / the second central processing unit respectively controls the first relay / the second relay to switch the communication circuit between the 485 communication module and the connector. The control is simple and convenient, the working hours are short, the operation difficulty is low, and when the communication data is always detected to be abnormal within the set T1 time, the communication fault can be automatically reported to remind the user to perform maintenance in time. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 485 communication automatic switching circuit according to an embodiment of the present invention;
[0043] Figure 2 is a flow chart of a control method of a 485 communication automatic switching circuit in an embodiment of the present invention;
[0044] in:
[0045] 10. Relay switching circuit; 101. First relay; 102. Second relay;
[0046] 20, 485 communication module; 201, first communication line; 202, second communication line;
[0047] 30. Connectors; DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The following embodiments are used to illustrate the present invention but are not used to limit the scope of the present invention.
[0049] In the description of the present invention, it should be noted that the directions or positional relationships indicated by terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “vertical”, “inside” and “outside” are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.
[0050] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0051] The present invention will be further described in detail below with reference to the embodiments.
[0052] like Figure 1 and Figure 2 As shown, this embodiment provides a 485 communication automatic switching circuit, including: a connector 30; a 485 communication module 20, electrically connected to the connector 30; a relay switching circuit 10, connected between the 485 communication module 20 and the connector 30, and capable of switching the communication circuit between the 485 communication module 20 and the connector 30. The 485 communication automatic switching circuit is applied in an air conditioning system, and the air conditioning system includes two control boards with 485 communication modules 20, and the two control boards are connected through the connector 30 and the communication line to communicate with each other.
[0053] The 485 communication automatic switching circuit provided in this embodiment can automatically identify the communication status of the indoor and outdoor units. When a wiring error occurs, there is no need to change the wiring method. By controlling the action of the relay switching circuit 10, the communication circuit between the 485 communication module 20 and the connector 30 can be automatically switched. The operation is simple and convenient, with less man-hours and low operating difficulty. A relay is used to control the switching of the communication circuit between the 485 communication module 20 and the connector 30. The relay is equivalent to a wire, and there will be no signal delay problem, which provides a better user experience.
[0054] Specifically, the 485 communication module 20 includes a 485 communication chip IC502, which is used to convert a 485 differential signal and a TTL level receivable by a single-chip microcomputer. Pin 1 of the 485 communication chip IC502 is a receiving pin connected to a signal receiving end of the single-chip microcomputer, pins 2 and 3 of the 485 communication chip IC502 are sending pins connected to a signal sending end of the single-chip microcomputer, pin 4 of the 485 communication chip IC502 is a control pin of the 485 chip, pin 5 of the 485 communication chip IC502 is grounded, and pin 8 of the 485 communication chip IC502 is connected to the working voltage inside the device.
[0055] Pin 7 of the 485 communication chip IC502 is connected to the first communication line 201, and pin 6 is connected to the second communication line 202. The relay switching circuit 10 includes a first relay 101 whose input end is connected to the first communication line 201 of the 485 communication module 20 and a second relay 102 connected to the second communication line 202.
[0056] The connector 30 has a first connection port and a second connection port. The output end of the first relay 101 can be selectively connected to the first connection port / the second connection port, and the output end of the second relay 102 is correspondingly connected to the second connection port / the first connection port.
[0057] Furthermore, if Figure 1 As shown, the first relay 101 includes a first moving contact 1 connected to the first communication line 201, a first static contact 2 connected to the first wiring port of the connector 30, and a second static contact 3 connected to the second wiring port of the connector 30. The first moving contact 1 can be selectively connected to the first static contact 2 or the second static contact 2. The first relay 101 defaults to connecting the first moving contact 1 to the first static contact 2.
[0058] The second relay 102 includes a second moving contact 1′ connected to the second communication line 202, a third static contact 2′ connected to the second connection port of the connector 30, and a fourth static contact 3′ connected to the first connection port of the connector 30. The second moving contact 1′ can be selectively connected to the third static contact 2′ or the fourth static contact 3′. The second relay 102 defaults to connecting the second moving contact 1′ to the third static contact 2′.
[0059] Furthermore, a control module is also included, the control module includes a first central processor connected to the first relay 101 and a second central processor connected to the second relay 102, and the CPU control end is a pin for the first central processor / second central processor to control the first relay 101 / second relay 102. The first central processor and the second central processor can receive a control signal from a host computer, and control the first relay 101 and the second relay 102 to act according to the control signal.
[0060] Furthermore, a first surge suppression element capable of absorbing surge signals on the first communication line 201 is disposed on the first communication line 201 , and a second surge suppression element capable of absorbing surge signals on the second communication line 202 is disposed on the second communication line 202 .
[0061] Preferably, the first surge suppression element is a first TVS 505 tube having one end connected to the first communication line 201 and the other end grounded, and the second surge suppression element is a second TVS 506 tube having one end connected to the second communication line 202 and the other end grounded.
[0062] The 485 communication automatic switching circuit provided in this embodiment can absorb surge signals on the first communication line 201 and the second communication line 202 respectively through the first surge suppression element configured on the first communication line 201 and the second surge suppression element configured on the second communication line 202, thereby protecting the 485 communication chip IC502 and preventing the 485 communication chip IC502 from being interfered with and damaged by surge signals.
[0063] Preferably, the 485 communication automatic switching circuit provided in this embodiment is configured with a third TVS 504 tube near pin 8 of the 485 communication chip IC502. The configured third TVS 504 tube can effectively absorb the interference and damage caused by the surge signal generated by the working voltage inside the device to the 485 communication chip IC502.
[0064] Furthermore, the first communication line 201 and the second communication line 202 are provided with a terminal resistor R533 for reducing signal reflection. The terminal resistor R533 is connected to the first communication line 201 at one end and the second communication line 202 at the other end via a wire. Through the configured terminal resistor R533, the signal is less likely to be reflected after reaching the ends of the first communication line 201 and the second communication line 202, thereby reducing signal reflection in the communication cable.
[0065] Preferably, it also includes a control switch K501 for controlling whether the terminal resistor R533 is connected, and one end of the control switch K501 and the terminal resistor R533 are connected in series and connected between the first communication line 201 and the second communication line 202 .
[0066] In the present application, the control switch K501 and the terminal resistor R533 are connected in series in a loop and then connected between the first communication line 201 and the second communication line 202. The connection of the terminal resistor R533 is selected by controlling the opening and closing of the switch K501. During installation, the matching of the terminal resistor R533 can be controlled according to actual conditions. Whether the terminal resistor R533 needs to be connected can be determined according to the number of external communication devices, which is convenient for direct operation during installation and debugging.
[0067] Furthermore, a first filter element for filtering out interference signals on the first communication line 201 is disposed on the first communication line 201 , and a second filter element for filtering out interference signals on the second communication line 202 is disposed on the second communication line 202 .
[0068] Preferably, the first filtering element is a first filtering resistor R536 connected to the first communication line 201 , and the second filtering element is a second filtering resistor R537 connected to the second communication line 202 .
[0069] The 485 communication automatic switching circuit provided in the present application can effectively filter out interference signals on the first communication line 201 and the second communication line 202 by setting a first filtering element on the first communication line 201 and a second filtering element on the second communication line 202 .
[0070] like Figure 2 As shown, this embodiment also provides a control method of the 485 communication automatic switching circuit described above, combined with Figure 1 and Figure 2 When it is determined that the communication data between the 485 communication module 20 and the docking control board is abnormal, the relay switching circuit 10 can automatically switch the communication circuit between the 485 communication module 20 and the connector 30.
[0071] Specifically, when it is determined that the communication data between the 485 communication module 20 and the docking control board is abnormal:
[0072] The first central processor controls the first relay 101 to switch from a state where the first moving contact is connected to the first static contact to a state where the first moving contact is connected to the second static contact;
[0073] The second central processing unit controls the second relay 102 to switch from a state where the second moving contact is connected to the third stationary contact to a state where the second moving contact is connected to the fourth stationary contact.
[0074] Further, determine whether the communication data between the 485 communication module 20 and the docking control board is normal:
[0075] If it is determined that the communication data between the 485 communication module 20 and the docking control board is abnormal, the first central processor / the second central processor controls the first relay 101 / the second relay 102 to operate respectively, switching the communication circuit between the 485 communication module 20 and the connector 30;
[0076] Preferably, after switching the communication circuit, it is determined again whether the communication data between the 485 communication module 20 and the docking control board is normal: if so, the first relay 101 and the second relay 102 maintain the current state; if not, a communication fault is reported, and the connection line may be disconnected or there is a problem with the communication circuit of the control board. In this case, the communication fault is reported by voice or flashing lights, etc., to promptly remind the user to perform maintenance.
[0077] More preferably, after switching the communication circuit, if it is determined that the communication data between the 485 communication module 20 and the docking control board is abnormal, the communication data is continuously detected to see if it is normal within the T1 time. If the communication data is always detected to be abnormal within the T1 time, the communication failure is reported to avoid detection errors due to unstable signals or other accidental external reasons, which may cause unnecessary trouble and distress to the user.
[0078] Combine the following Figure 1 and Figure 2 , the working principle of the 485 communication automatic switching circuit described in this embodiment is briefly summarized:
[0079] By default, the first moving contact 1 inside the first relay 101 is connected to the first static contact 2 , and the second moving contact 1 ′ inside the second relay 102 is connected to the third static contact 2 ′.
[0080] After power-on, the 485 communication module 20 starts to communicate with other control boards, and the 485 communication chip IC502 keeps detecting whether the communication data is normal;
[0081] If the communication is normal, the first relay 101 and the second relay 102 are controlled to maintain the current state, the communication circuit remains unchanged, and the power-off memory storage area of the chip is added, and the current state of the first relay 101 and the second relay 102 is maintained after power off and then on.
[0082] If communication with the docking control board cannot be established for T2 time and no communication data is detected, the first central processing unit / the second central processing unit controls the level switching of the first relay 101 / the second relay 102 respectively, and the relay switching circuit 10 switches the communication circuit between the 485 communication module 20 and the connector 30.
[0083] At this time, the first moving contact 1 inside the first relay 101 is connected to the second static contact 3, and the second moving contact 1' inside the second relay 102 is connected to the fourth static contact 3', thereby realizing the switching of the communication circuit.
[0084] After the communication circuit is switched, the communication signal is detected. If the communication is normal, the current connection state of the first relay 101 and the second relay 102 is maintained and added to the power-off memory storage area of the chip. The current connection state of the relay is maintained after power is off and then on.
[0085] If communication is still not possible after switching, the connection line may be disconnected or there may be a problem with the communication circuit of the control board. If abnormal communication data is always detected within T1 time, the communication failure will be reported through voice or flashing lights, etc., to remind the user to perform maintenance in time.
[0086] The control method of the 485 communication automatic switching circuit provided in this embodiment, when it is determined that the communication data between the 485 communication module 20 and the docking control board is abnormal, the first central processing unit / the second central processing unit respectively controls the first relay 101 / the second relay 102 to operate, so as to switch the communication circuit between the 485 communication module 20 and the connector 30. The control is simple and convenient, the working hours are short, the operation difficulty is low, and when the communication data is always detected to be abnormal within the set T1 time, the communication fault can be automatically reported to remind the user in time.
[0087] The implementation schemes in the above embodiments can be further combined or replaced, and the embodiments are only descriptions of the preferred embodiments of the present invention, and do not limit the concept and scope of the present invention. Without departing from the design concept of the present invention, various changes and improvements made to the technical solutions of the present invention by professional and technical personnel in this field all belong to the protection scope of the present invention.
Claims
1. A 485 communication automatic switching circuit, characterized in that: include: Connectors; 485 communication module, electrically connected to the connector; A relay switching circuit, connected between the 485 communication module and the connector, capable of switching the communication circuit between the 485 communication module and the connector; The relay switching circuit comprises a first relay / a second relay whose input ends are respectively connected to a first communication line / a second communication line of a 485 communication module; The connector has a first wiring port and a second wiring port, the output end of the first relay can be selectively connected to the first wiring port / the second wiring port, and the corresponding output end of the second relay is connected to the second wiring port / the first wiring port; The first communication line / the second communication line is respectively provided with a first surge suppression element / a second surge suppression element which can absorb surge signals on the first communication line / the second communication line respectively; The first surge suppression element is a first TVS tube with one end connected to the first communication line and the other end grounded, and the second surge suppression element is a second TVS tube with one end connected to the second communication line and the other end grounded; The 485 communication module includes a 485 communication chip, a pin 8 of the 485 communication chip is connected to the working voltage inside the device, and the automatic switching circuit is configured with a third TVS tube at a position close to the pin 8 of the 485 communication chip; The first communication line and the second communication line are provided with a terminal resistor for reducing signal reflection, and one end of the terminal resistor is connected to the first communication line through a wire, and the other end is connected to the second communication line; It also includes a control switch for controlling whether the terminal resistor is connected, and the control switch and the terminal resistor are connected in series between the first communication line and the second communication line; A first filter element / a second filter element for filtering out interference signals on the first communication line / the second communication line is respectively arranged on the first communication line / the second communication line; The first filter element is a first filter resistor connected to the first communication line, and the second filter element is a second filter resistor connected to the second communication line.
2. The 485 communication automatic switching circuit according to claim 1 is characterized in that: The first relay comprises a first moving contact connected to the first communication line, and a first static contact / a second static contact respectively connectable to the first wiring port / the second wiring port, the first moving contact can be selectively connected to the first static contact or the second static contact, and the first relay defaults that the first moving contact is connected to the first static contact; The second relay includes a second moving contact connected to the second communication line, and a third static contact / a fourth static contact which can be connected to the second wiring port / the first wiring port respectively. The second moving contact can be selectively connected to the third static contact or the fourth static contact. The second relay defaults to connecting the second moving contact to the third static contact.
3. The 485 communication automatic switching circuit according to claim 2 is characterized in that: Also includes a control module, the control module includes a first central processing unit / a second central processing unit connected to the first relay / the second relay respectively; The first central processing unit and the second central processing unit can receive control signals from the host computer, and control the first relay and the second relay to operate according to the control signals.
4. A control method having the 485 communication automatic switching circuit as claimed in claim 3, characterized in that: When it is determined that the communication data between the 485 communication module and the docking control board is abnormal: The first central processing unit controls the first relay to switch from a state where the first moving contact is connected to the first static contact to a state where the first moving contact is connected to the second static contact; The second central processing unit controls the second relay to switch from a state where the second moving contact is connected to the third stationary contact to a state where the second moving contact is connected to the fourth stationary contact.
5. The control method of the 485 communication automatic switching circuit according to claim 4 is characterized in that: Determine whether the communication data between the 485 communication module and the docking control board is normal: If it is determined that the communication data between the 485 communication module and the docking control board is abnormal, the first central processing unit / the second central processing unit controls the first relay / the second relay to operate respectively, and switches the communication circuit between the 485 communication module and the connector.
6. The control method of the 485 communication automatic switching circuit according to claim 5 is characterized in that: After switching the communication circuit, it is determined again whether the communication data between the 485 communication module and the docking control board is normal: if so, the first relay and the second relay maintain the current state; if not, a communication fault is reported.
7. The control method of the 485 communication automatic switching circuit according to claim 6 is characterized in that: After switching the communication circuit, if it is determined that the communication data between the 485 communication module and the docking control board is abnormal, the communication data will be continuously detected to see if it is normal within T1 time. If the communication data is always detected to be abnormal within T1 time, a communication fault will be reported.
