Internal bus circuit of remote IO system and electronic equipment
By setting up a power-on control circuit in the internal bus circuit of the remote IO system, the problem of poor system flexibility is solved, hot plugging and stable power supply of the remote IO module are realized, and the flexibility and reliability of the system are improved.
Patent Information
- Application Number
- CN202421939413.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2034-08-12
AI Technical Summary
The internal bus circuit of existing remote IO systems is poor, especially during hot swapping, which can easily cause the power supply voltage to fall, resulting in the reset of modules and couplers, affecting the flexibility of the system.
A power-on control circuit is set up between the coupler and the functional module, through which the remote IO module is hot-swap and unplugged, and through component designs such as capacitors and diodes, the power supply is stabilized and the power supply is avoided to avoid sudden drop in the power supply voltage.
The remote IO module is hot-swap and unplugging is realized, which improves the flexibility of the system, avoids the drop in the power supply voltage during the plug-in and unplugging process, and reduces the risk of module and coupler reset.
Smart Images

Figure CN222867015U_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communications, and in particular, to an internal bus circuit and electronic equipment of a remote IO system. Background Art
[0002] PLC is used as a controller in industrial automation applications, but the number of input and output points and the types of input and output signals of PLC are often insufficient. Therefore, remote IO modules are needed to expand the number of input and output points and signal types. If there is no hot-swap processing mechanism, then when the card is unplugged and plugged back in, hot-swap problems will occur on the power line VDD, especially the drop of power supply voltage, which will cause the modules and couplers that are still running to reset, resulting in poor flexibility. Utility Model Content
[0003] The embodiments of the present application provide a controller and an electronic device for an expandable remote IO module to solve the problem of poor flexibility of the internal bus circuit of the remote IO system in the prior art.
[0004] To solve the above problems, this application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides an internal bus circuit of a remote IO system, characterized in that the internal bus circuit includes a coupler and at least one functional module;
[0006] The couplers are electrically connected to the at least one functional module respectively;
[0007] Each of the at least one functional module is provided with a power-on control circuit, and the at least one functional module is connected to the coupler via the power-on control circuit;
[0008] Wherein, the at least one functional module is a remote IO module, and the coupler supplies power to the at least one functional module through the power-on control circuit.
[0009] Optionally, the coupler includes a first MCU, the functional module includes a second MCU, a GPIO pin is provided on the first MCU, and the first MCU is electrically connected to the second MCU through the GPIO pin.
[0010] Optionally, the coupler is further provided with a power supply terminal, a first conversion circuit and a second conversion circuit;
[0011] The power supply terminal is electrically connected to the first MCU through the first conversion circuit and the second conversion circuit in sequence, the power supply terminal is used to receive an external power supply, and the first conversion circuit and the second conversion circuit are used to convert voltage.
[0012] Optionally, the coupler is further provided with a first RS485 circuit and an internal bus interface;
[0013] The first MCU is electrically connected to the first RS485 circuit and the internal bus interface respectively. The first RS485 circuit is electrically connected to the internal bus interface. The internal bus interface includes a plurality of interfaces.
[0014] Optionally, the functional module is further provided with a third conversion circuit and a second RS485 circuit;
[0015] The third conversion circuit is electrically connected to the second MCU and the power-on control circuit respectively, and the second RS485 circuit is electrically connected to the third conversion circuit.
[0016] Optionally, the power-on control circuit includes an input terminal VDD, a diode D1, a capacitor C1, a resistor R1, a MOS tube Q1, a capacitor C2 and a capacitor C3;
[0017] The anode of the diode D1 is grounded, and the anode of the diode is connected to the input terminal VDD. The first end of the capacitor C1 is connected to the input terminal VDD, and the second end of the capacitor C1 is connected to the second end of the resistor R1. The first end of the resistor R1 is connected to the S end of the MOS tube Q1, and the second end of the resistor R1 is connected to the G end of the MOS tube Q1. The first end of the capacitor C2 is connected to the D end of the MOS tube Q1, and the second end of the capacitor C2 is grounded. The first end of the capacitor C3 is connected to the D end of the MOS tube Q1, and the second end of the capacitor C3 is grounded.
[0018] Optionally, the power-on control circuit further includes an input terminal CTRL_IN, a diode D2, a resistor R3, a MOS tube Q2 and a resistor R2;
[0019] The anode of the diode D2 is connected to the input terminal CTRL_IN, the cathode of the diode D2 is connected to the first end of the resistor R3, the second end of the resistor R3 is connected to the second end of the MOS tube Q2, the first end of the MOS tube Q2 is connected to the second end of the resistor R2, and the first end of the resistor R2 is connected to the G end of the MOS tube Q1.
[0020] Optionally, the power-on control circuit further includes a diode D3, a capacitor C4 and a capacitor C5;
[0021] The cathode of the diode D3 is connected to the first end of the resistor R3, the anode of the diode D3 is connected to the first end of the capacitor C5, the second end of the capacitor C5 is grounded, the first end of the capacitor C4 is connected to the anode of the diode D3, and the second end of the capacitor C4 is grounded.
[0022] Optionally, the first terminal VIN of the third conversion circuit is connected to the first terminal of the capacitor C3, the third terminal of the third conversion circuit is connected to the first terminal of the capacitor C4, and the second terminal GND of the third conversion circuit is grounded.
[0023] In a second aspect, an embodiment of the present application further provides an electronic device, which includes an internal bus circuit of the remote IO system described in any one of the first aspects.
[0024] The present application provides an internal bus circuit and electronic equipment of a remote IO system, wherein the internal bus circuit includes a coupler and at least one functional module; the coupler is electrically connected to the at least one functional module respectively; each of the at least one functional module is provided with a power-on control circuit, and the at least one functional module is connected to the coupler through the power-on control circuit; wherein the at least one functional module is a remote IO module, and the coupler supplies power to the at least one functional module through the power-on control circuit. The present application realizes hot-swapping of remote IO modules by providing a power-on control circuit between the coupler and the functional module, thereby improving product competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0026] Figure 1 One of the module connection diagrams of an internal bus circuit of a remote IO system provided in an embodiment of the present application;
[0027] Figure 2 A second schematic diagram of module connection of an internal bus circuit of a remote IO system provided in an embodiment of the present application;
[0028] Figure 3 One of the circuit diagrams of an internal bus circuit of a remote IO system provided in an embodiment of the present application;
[0029] Figure 4 The second circuit diagram of the internal bus circuit of a remote IO system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] The terms "first", "second" etc. in the embodiments of the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. In addition, the terms "include" and "have" and any variation thereof are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. In addition, "and / or" is used in the present application to represent at least one of connected objects, such as A and / or B and / or C, representing the inclusion of separate A, separate B, separate C, and A and B all exist, B and C all exist, A and C all exist, and 7 situations that A, B and C all exist.
[0032] like Figure 1 As shown, Figure 1 Schematic diagram of module connection in this embodiment. The embodiment of the present application provides a controller for an expandable remote IO module, wherein the internal bus circuit includes a coupler 100 and at least one functional module 200;
[0033] The coupler 100 is electrically connected to the at least one functional module 200 respectively;
[0034] Each of the at least one functional module 200 is provided with a power-on control circuit, and the at least one functional module 200 is connected to the coupler 100 via the power-on control circuit;
[0035] The at least one functional module 200 is a remote IO module, and the coupler 100 supplies power to the at least one functional module 200 through the power-on control circuit.
[0036] In this embodiment, the coupler 100 is connected to a plurality of functional modules 200 connected in series at the same time, and in this embodiment, the number of the functional modules 200 is not specifically limited. The functional module 200 is a remote IO module, which can also be divided into switch input and output, relay output, pulse output, pulse input, current and voltage input, current and voltage output, and RTD input.
[0037] It should be noted that if Figure 2 As shown, Figure 2The connection diagram for connecting multiple remote IO modules is shown below. In industrial automation applications, PLC is used as a controller, but the number of input and output points and the types of input and output signals of the PLC are often insufficient. Therefore, remote IO modules are needed to expand the number of input and output points and the types of signals. The expandable remote IO modules cannot communicate with the PLC directly, so a coupler 100 is needed for communication and data coupling. The coupler 100 communicates data with the PLC through an Ethernet-based field real-time bus. A remote IO system must have only one coupler 100, while remote IO modules can be multiple and various random combinations.
[0038] It should be noted that the remote IO modules can be divided into switch input and output, relay output, pulse output, pulse input, current and voltage input, current and voltage output and RTD input according to their functions. The data structures of these modules are different, but they all realize data and command communication through the internal bus based on RS485.
[0039] The present application provides an internal bus circuit of a remote IO system, the internal bus circuit comprising: a coupler and at least one functional module; the coupler is electrically connected to the at least one functional module respectively; each of the at least one functional module is provided with a power-on control circuit, and the at least one functional module is connected to the coupler through the power-on control circuit; wherein the at least one functional module is a remote IO module, and the coupler supplies power to the at least one functional module through the power-on control circuit. The present application realizes hot-swapping of remote IO modules by providing a power-on control circuit between the coupler and the functional module, thereby improving product competitiveness.
[0040] In some optional embodiments, optionally, the coupler 100 includes a first MCU, the functional module 200 includes a second MCU, the first MCU is provided with a GPIO pin, and the first MCU is electrically connected to the second MCU through the GPIO pin.
[0041] In this embodiment, the MCU included in the coupler 100 is a first MCU, and the MCU included in the functional module 200 is a second MCU, wherein the control lines are in a series form, and a GPIO of the coupler 100 MCU is output as CTRL_OUT to the CRTL_IN of module 1, connected to an external interrupt pin EXIT of the MCU inside module 1, and then a GPIO pin of the MCU is used as the CRTL_OUT of module 1, connected to the CRTL_IN of module 2, and so on in cascade, and the others are connected in parallel.
[0042] In this embodiment, the flexibility of circuit control is improved by setting up a hot-swap mechanism. If there is no hot-swap processing mechanism, then at the moment when the card is unplugged and plugged back in, the hot-swap problem mentioned above will be caused on the power line VDD, especially the drop of the power supply voltage, which will cause the modules and coupler 100 that are still running to reset.
[0043] Optionally, the coupler 100 is further provided with a power supply terminal, a first conversion circuit and a second conversion circuit;
[0044] The power supply terminal is electrically connected to the first MCU through the first conversion circuit and the second conversion circuit in sequence, the power supply terminal is used to receive an external power supply, and the first conversion circuit and the second conversion circuit are used to convert voltage.
[0045] In this embodiment, if Figure 3 As shown, the first conversion circuit is a DC / DC circuit 1, the second conversion circuit is a DCDC circuit 2, and the coupler 100 is connected to an external power supply through a power supply terminal. Specifically, the entire remote I / O system is powered by an external power supply with a voltage of 24V. The voltage is stepped down by the DC / DC circuit 1 inside the coupler 100, and the voltage on the internal bus is obtained after the voltage is stepped down. The internal bus voltage can be a range, not necessarily 5V, and then the voltage is stepped down by the DC / DC circuit 2 to obtain the working voltage of the control part of the coupler 100.
[0046] Optionally, the coupler 100 is further provided with a first RS485 circuit and an internal bus interface;
[0047] The first MCU is electrically connected to the first RS485 circuit and the internal bus interface respectively. The first RS485 circuit is electrically connected to the internal bus interface. The internal bus interface includes a plurality of interfaces.
[0048] In this embodiment, the coupler 100 is also provided with an RS485 circuit. RS-485 is a widely used serial communication standard, mainly used in industrial automation and data acquisition systems. It supports long-distance communication and multi-point connection, and can reliably transmit data in a noisy environment. The internal bus interface is used to connect with multiple functional modules 200, including, for example, PE ground wire, SYNC synchronization wire, P24V, PGND, etc., which are not specifically limited in this embodiment.
[0049] Optionally, the functional module 200 is further provided with a third conversion circuit and a second RS485 circuit;
[0050] The third conversion circuit is electrically connected to the second MCU and the power-on control circuit respectively, and the second RS485 circuit is electrically connected to the third conversion circuit.
[0051] In this embodiment, the third conversion circuit is an LDO / DCDC circuit, and the third conversion circuit is electrically connected to the second MCU and the power-on control circuit respectively. In addition, a second RS485 circuit is also provided, and the second RS485 circuit is electrically connected to the third conversion circuit.
[0052] Optionally, the power-on control circuit includes an input terminal VDD, a diode D1, a capacitor C1, a resistor R1, a MOS tube Q1, a capacitor C2 and a capacitor C3;
[0053] The anode of the diode D1 is grounded, and the anode of the diode is connected to the input terminal VDD. The first end of the capacitor C1 is connected to the input terminal VDD, and the second end of the capacitor C1 is connected to the second end of the resistor R1. The first end of the resistor R1 is connected to the S end of the MOS tube Q1, and the second end of the resistor R1 is connected to the G end of the MOS tube Q1. The first end of the capacitor C2 is connected to the D end of the MOS tube Q1, and the second end of the capacitor C2 is grounded. The first end of the capacitor C3 is connected to the D end of the MOS tube Q1, and the second end of the capacitor C3 is grounded.
[0054] Optionally, the power-on control circuit further includes an input terminal CTRL_IN, a diode D2, a resistor R3, a MOS tube Q2 and a resistor R2;
[0055] The anode of the diode D2 is connected to the input terminal CTRL_IN, the cathode of the diode D2 is connected to the first end of the resistor R3, the second end of the resistor R3 is connected to the second end of the MOS tube Q2, the first end of the MOS tube Q2 is connected to the second end of the resistor R2, and the first end of the resistor R2 is connected to the G end of the MOS tube Q1.
[0056] Optionally, the power-on control circuit further includes a diode D3, a capacitor C4 and a capacitor C5;
[0057] The cathode of the diode D3 is connected to the first end of the resistor R3, the anode of the diode D3 is connected to the first end of the capacitor C5, the second end of the capacitor C5 is grounded, the first end of the capacitor C4 is connected to the anode of the diode D3, and the second end of the capacitor C4 is grounded.
[0058] Optionally, the first terminal VIN of the third conversion circuit is connected to the first terminal of the capacitor C3, the third terminal of the third conversion circuit is connected to the first terminal of the capacitor C4, and the second terminal GND of the third conversion circuit is grounded.
[0059] In this embodiment, the VDD power supply does not directly enter the LDO for step-down and then be used for the control part, but is connected in series with a first-level power-on control circuit. The schematic diagram of the power-on control circuit is shown in FIG. Figure 4 As shown, the power-on control circuit is controlled by CTRL_IN. If the CTRL_IN signal is not high, Q1 is closed, and energy storage filter capacitors such as C2 and C3 are not connected to the VDD power line. The CRTL_IN signal is not high as soon as the module is plugged back in, but requires the upper-level module to send a high level under specific circumstances and maintain it for a certain period of time. During this high level time, the subsequent LDO / DCDC circuit is sufficient to work stably. D2 and D3 diodes are designed in the circuit. After the LDO / DCDC circuit works stably, the output voltage can enable the power supply through D3 when CRTL_IN is low.
[0060] Through the above method, when the remote I / O module is unplugged and plugged back in, the capacitive loads connected to the power line are powered on in sequence, the surge current on the power line is greatly reduced, and the voltage tends to be stable, thereby reducing the risk of low voltage reset of the part that is still operating normally.
[0061] The present application provides an internal bus circuit of a remote IO system, the internal bus circuit comprising: a coupler and at least one functional module; the coupler is electrically connected to the at least one functional module respectively; each of the at least one functional module is provided with a power-on control circuit, and the at least one functional module is connected to the coupler through the power-on control circuit; wherein the at least one functional module is a remote IO module, and the coupler supplies power to the at least one functional module through the power-on control circuit. The present application realizes hot-swapping of remote IO modules by providing a power-on control circuit between the coupler and the functional module, thereby improving product competitiveness.
[0062] In an embodiment of the present application, an electronic device is also provided. The electronic device includes the internal bus circuit of the remote IO system in any one of the above embodiments and has the same technical effect, which will not be described in detail in this embodiment.
[0063] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0064] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An internal bus circuit of a remote IO system, characterized in that: The internal bus circuit includes a coupler and at least one functional module; The couplers are electrically connected to the at least one functional module respectively; Each of the at least one functional module is provided with a power-on control circuit, and the at least one functional module is connected to the coupler via the power-on control circuit; Wherein, the at least one functional module is a remote IO module, and the coupler supplies power to the at least one functional module through the power-on control circuit.
2. The internal bus circuit according to claim 1, characterized in that: The coupler includes a first MCU, and the functional module includes a second MCU. The first MCU is provided with a GPIO pin, and the first MCU is electrically connected to the second MCU through the GPIO pin.
3. The internal bus circuit according to claim 2, characterized in that: The coupler is also provided with a power supply terminal, a first conversion circuit and a second conversion circuit; The power supply terminal is electrically connected to the first MCU through the first conversion circuit and the second conversion circuit in sequence, the power supply terminal is used to receive an external power supply, and the first conversion circuit and the second conversion circuit are used to convert voltage.
4. The internal bus circuit according to claim 3, characterized in that: The coupler is also provided with a first RS485 circuit and an internal bus interface; The first MCU is electrically connected to the first RS485 circuit and the internal bus interface respectively. The first RS485 circuit is electrically connected to the internal bus interface. The internal bus interface includes a plurality of interfaces.
5. The internal bus circuit according to claim 4, characterized in that: The functional module is also provided with a third conversion circuit and a second RS485 circuit; The third conversion circuit is electrically connected to the second MCU and the power-on control circuit respectively, and the second RS485 circuit is electrically connected to the third conversion circuit.
6. The internal bus circuit according to claim 5, characterized in that: The power-on control circuit includes an input terminal VDD, a diode D1, a capacitor C1, a resistor R1, a MOS tube Q1, a capacitor C2 and a capacitor C3; The anode of the diode D1 is grounded, and the anode of the diode is connected to the input terminal VDD. The first end of the capacitor C1 is connected to the input terminal VDD, and the second end of the capacitor C1 is connected to the second end of the resistor R1. The first end of the resistor R1 is connected to the S end of the MOS tube Q1, and the second end of the resistor R1 is connected to the G end of the MOS tube Q1. The first end of the capacitor C2 is connected to the D end of the MOS tube Q1, and the second end of the capacitor C2 is grounded. The first end of the capacitor C3 is connected to the D end of the MOS tube Q1, and the second end of the capacitor C3 is grounded.
7. The internal bus circuit according to claim 6, characterized in that: The power-on control circuit also includes an input terminal CTRL_IN, a diode D2, a resistor R3, a MOS tube Q2 and a resistor R2; The anode of the diode D2 is connected to the input terminal CTRL_IN, the cathode of the diode D2 is connected to the first end of the resistor R3, the second end of the resistor R3 is connected to the second end of the MOS tube Q2, the first end of the MOS tube Q2 is connected to the second end of the resistor R2, and the first end of the resistor R2 is connected to the G end of the MOS tube Q1.
8. The internal bus circuit according to claim 7, characterized in that: The power-on control circuit also includes a diode D3, a capacitor C4 and a capacitor C5; The cathode of the diode D3 is connected to the first end of the resistor R3, the anode of the diode D3 is connected to the first end of the capacitor C5, the second end of the capacitor C5 is grounded, the first end of the capacitor C4 is connected to the anode of the diode D3, and the second end of the capacitor C4 is grounded.
9. The internal bus circuit according to claim 8, characterized in that: The first terminal VIN of the third conversion circuit is connected to the first terminal of the capacitor C3, the third terminal of the third conversion circuit is connected to the first terminal of the capacitor C4, and the second terminal GND of the third conversion circuit is grounded.
10. An electronic device, characterized in that: The electronic device comprises an internal bus circuit of the remote IO system according to any one of claims 1-9.