Edge gateway
By automatically acquiring configuration parameters through the NFC read/write module and the main control core board, the problem of cumbersome manual input of interface parameters in existing technologies is solved, enabling industrial equipment to efficiently and accurately access the Internet of Things cloud platform.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2026-03-27
AI Technical Summary
In existing technologies, when industrial equipment is connected to an IoT cloud platform, it is necessary to manually input interface parameters, protocol parameters, and data function point information, which makes the input process cumbersome, error-prone, inefficient, and costly to maintain.
The NFC read/write module automatically acquires the configuration parameters of the device to be connected, and the main control core board determines the target connection terminal. The communication conversion module converts the USB interface into multiple connection terminal groups to achieve automated device access.
It reduces human error, improves device access efficiency, reduces labor costs, simplifies operation procedures, and improves access accuracy.
Smart Images

Figure CN224054273U_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The utility model relates to industrial internet of things technical field especially relates to an edge gateway. BACKGROUND
[0002] In prior art, industrial equipment accesses internet of things cloud platform through edge gateway. After the industrial equipment accesses internet of things cloud platform, edge gateway analyzes southward interface and southward protocol, and then converts the analyzed data into the protocol of north end standard format of internet of things cloud platform. When the industrial equipment accesses edge gateway, prior art usually is that professional engineers enter the interface parameter, protocol parameter, data function point information etc. of specific industrial equipment into internet of things cloud platform to realize modeling, and then access hardware to realize edge gateway equipment access. This access mode needs manual entry of interface parameter, protocol parameter and data function point information, which not only makes the entry process tedious and prone to error, but also has the problems of low efficiency and high maintenance cost. UTILITARY MODEL
[0003] The edge gateway provided by the utility model can automatically obtain the configuration parameters of the to-be-connected equipment through the NFC reading and writing module, thereby reducing the requirements for the operator and the error probability.
[0004] The utility model provides an edge gateway, which comprises:
[0005] An NFC reading and writing module is configured to read the configuration parameters of the to-be-connected equipment.
[0006] A main control core board is in communication connection with the NFC reading and writing module, and is configured to receive the configuration parameters read by the NFC reading and writing module, determine the target connection terminal required by the to-be-connected equipment according to the configuration parameters, and send the configuration parameters to an internet of things cloud platform.
[0007] A communication conversion module is in communication connection with the main control core board, and is configured to convert the USB interface of the main control core board into a plurality of connection terminals, and divide the plurality of connection terminals into a plurality of terminal groups under the control of the main control core board, wherein each terminal group corresponds to one configuration parameter.
[0008] Optionally, the edge gateway further comprises a power module, and the power module comprises:
[0009] A power socket comprises a first electrode and a second electrode, wherein the first electrode is configured to output a first target voltage, and the second electrode is grounded.
[0010] a first capacitor group comprising one or more parallel capacitors, a first end of the first capacitor group being electrically connected to the first electrode, and a second end of the first capacitor group being grounded;
[0011] a first voltage stabilizing chip, a first end of the first voltage stabilizing chip being electrically connected to the first end of the first capacitor group, a second end of the first voltage stabilizing chip being configured to output a second target voltage, and a third end of the first voltage stabilizing chip being grounded;
[0012] a second capacitor group comprising one or more parallel capacitors, a first end of the second capacitor group being electrically connected to the second end of the first voltage stabilizing chip, and a second end of the second capacitor group being grounded;
[0013] a second voltage stabilizing chip, a first end of the second voltage stabilizing chip being electrically connected to the first end of the second capacitor group, a second end of the second voltage stabilizing chip being configured to output a third target voltage, and a third end of the second voltage stabilizing chip being grounded, the second end of the second voltage stabilizing chip being electrically connected to a power supply pin of the master core board;
[0014] a third capacitor group comprising one or more parallel capacitors, a first end of the third capacitor group being electrically connected to the second end of the second voltage stabilizing chip, and a second end of the third capacitor group being grounded.
[0015] Optionally, the communication conversion module comprises:
[0016] a first conversion submodule, the first conversion submodule being communicatively connected to a USB interface of the master core board, and the first conversion submodule being configured to convert the USB interface of the master core board into a plurality of serial interfaces;
[0017] a second conversion submodule, the second conversion submodule being configured to convert the plurality of serial interfaces into a plurality of RS485 interfaces;
[0018] a plurality of connection terminals, the plurality of connection terminals being configured to be connected to devices to be connected;
[0019] a plurality of relays, the plurality of relays being connected to the master core board and being controlled by the master core board, and the plurality of relays being configured to electrically connect the connection terminals to the plurality of RS485 interfaces of the second conversion submodule.
[0020] Optionally, the plurality of connection terminals are divided into a plurality of connection terminal sets, and one or more connection terminals in each connection terminal set are electrically connected to each other.
[0021] Optionally, the plurality of relay arrays are distributed, wherein a plurality of rows of relays in the plurality of relay arrays correspond to a plurality of connection terminal sets one by one, each of the connection terminal sets is electrically connected to a corresponding row of the plurality of relays; a plurality of columns of relays in the plurality of relay arrays correspond to a plurality of RS485 interfaces one by one, each of the RS485 interfaces is electrically connected to a corresponding column of the plurality of relays.
[0022] Optionally, a control end of each of the plurality of relays is electrically connected to an input-output interface of the master core board.
[0023] Optionally, the second conversion submodule includes a plurality of conversion circuits, wherein the plurality of conversion circuits are electrically connected to the plurality of serial interfaces in the first conversion submodule one by one; the conversion circuit includes:
[0024] A conversion chip is configured to convert a serial port signal into an RS485 signal, an output pin of the conversion chip is electrically connected to a receiving pin of a corresponding serial interface, and a power supply pin of the conversion chip is electrically connected to a second end of the first voltage stabilizing chip;
[0025] A first resistor has a first end electrically connected to an output pin of the conversion chip and a second end electrically connected to a second end of the second voltage stabilizing chip;
[0026] A second resistor has a first end electrically connected to a second end of the first resistor and a second end electrically connected to an input control pin and an output control pin of the conversion chip;
[0027] A third resistor has a first end electrically connected to a first end of the second resistor and a second end electrically connected to a transmitting pin of a corresponding serial interface;
[0028] A fourth resistor has a first end electrically connected to a second end of the third resistor;
[0029] A first MOS transistor has a control end electrically connected to a second end of the fourth resistor, a first end electrically connected to a second end of the second resistor, a second end electrically connected to an input pin of the conversion chip, and a second end grounded;
[0030] A fifth resistor has a first end electrically connected to a power supply pin of the conversion chip and a second end electrically connected to a positive signal pin of the conversion chip;
[0031] A sixth resistor, a first end of the sixth resistor is electrically connected with the first end of the fifth resistor, and a second end of the sixth resistor is electrically connected with a negative signal pin of the conversion chip;
[0032] A seventh resistor, a first end of the seventh resistor is electrically connected with the second end of the sixth resistor, and a second end of the seventh resistor is electrically connected with the second end of the fifth resistor; the first end of the seventh resistor is electrically connected with one of the contacts of the corresponding relay, and the second end of the seventh resistor is electrically connected with the other contact of the corresponding relay.
[0033] Optionally, the NFC reading and writing module comprises:
[0034] An NFC chip, the NFC chip is used for converting an analog signal into a digital signal and sending the digital signal to the master core board; a transmitter power supply pin of the NFC chip is electrically connected with the second end of the first voltage stabilizing chip;
[0035] An induction coil, the induction coil is used for generating the analog signal and sending the analog signal to the NFC chip when being in contact with a device to be connected.
[0036] Optionally, the induction coil sends the analog signal to the NFC chip through a receiving circuit, and the receiving circuit comprises:
[0037] A fourth capacitor group, the fourth capacitor group comprises a plurality of capacitors arranged in parallel, a first end of the fourth capacitor group is electrically connected with an analog positive voltage pin of the NFC chip, and a second end of the fourth capacitor group is electrically connected with an analog ground pin of the NFC chip;
[0038] A first resistive device, a first end of the first resistive device is electrically connected with the second end of the fourth capacitor group, and a second end of the first resistive device is grounded;
[0039] A second resistive device, a first end of the second resistive device is electrically connected with the second end of the first resistive device, and a second end of the second resistive device is electrically connected with a digital positive voltage pin of the NFC chip;
[0040] An isolation capacitor, a first end of the isolation capacitor is electrically connected with the second end of the fourth capacitor group, and a second end of the isolation capacitor is electrically connected with a reference voltage pin of the NFC chip;
[0041] An eighth resistor, a first end of the eighth resistor is electrically connected with the second end of the isolation capacitor, and a second end of the eighth resistor is electrically connected with a receiving pin of the NFC chip;
[0042] A ninth resistor, a first end of the ninth resistor is electrically connected with the second end of the eighth resistor;
[0043] a receiving capacitor, a first end of the receiving capacitor being electrically connected with a second end of the ninth resistor, and a second end of the receiving capacitor being electrically connected with the induction coil.
[0044] Optionally, the induction coil comprises:
[0045] a first inductor, the first inductor being electrically connected with a first transmitting pin of the NFC chip;
[0046] a second inductor, the second inductor being electrically connected with a second transmitting pin of the NFC chip;
[0047] a first capacitor, a first end of the first capacitor being electrically connected with a second end of the first inductor, and a second end of the first capacitor being electrically connected with a transmitter ground pin of the NFC chip;
[0048] a second capacitor, a first end of the second capacitor being electrically connected with a second end of the second inductor, and a second end of the second capacitor being electrically connected with the second end of the first capacitor;
[0049] a third capacitor, a first end of the third capacitor being electrically connected with the second end of the first inductor;
[0050] a fourth capacitor, a first end of the fourth capacitor being electrically connected with the second end of the second inductor;
[0051] a fifth capacitor, a first end of the fifth capacitor being electrically connected with a second end of the third capacitor, and a second end of the fifth capacitor being electrically connected with the second end of the first capacitor;
[0052] a sixth capacitor, a first end of the sixth capacitor being electrically connected with a second end of the fourth capacitor, and a second end of the sixth capacitor being electrically connected with the second end of the fifth capacitor;
[0053] a seventh capacitor, a first end of the seventh capacitor being electrically connected with the first end of the fifth capacitor, and a second end of the seventh capacitor being electrically connected with the second end of the fifth capacitor;
[0054] an eighth capacitor, a first end of the eighth capacitor being electrically connected with the first end of the sixth capacitor, and a second end of the eighth capacitor being electrically connected with the second end of the sixth capacitor;
[0055] a first antenna, a first end of the first antenna being electrically connected with the first end of the seventh capacitor, and a second end of the first antenna being electrically connected with the second end of the seventh capacitor;
[0056] a second antenna, a first end of the second antenna being electrically connected with the first end of the eighth capacitor, a second end of the second antenna being electrically connected with the second end of the first antenna, and the first end of the second antenna being electrically connected with the second end of the receiving capacitor.
[0057] In the technical scheme of the utility model, through NFC read-write module reads the configuration parameter of the device to be connected and uploads to the internet of things cloud platform by main control core board, through main control core board controls communication conversion module, makes multiple connection terminals divide into multiple terminal groups, and makes each terminal group correspond to a kind of configuration parameter. Adopt this edge gateway, can in industrial equipment connection process, need not manual input configuration parameter, but is through NFC read-write module automatic acquisition and by main control core board determines the terminal group required to be connected to the device according to corresponding configuration parameter, effectively reduces the artificial cost, avoids the mistake of manual operation, improves the efficiency of device access. BRIEF DESCRIPTION OF DRAWINGS
[0058] Figure 1 It is the schematic diagram of the edge gateway of an embodiment of the utility model;
[0059] Figure 2 It is the schematic diagram of the edge gateway of another embodiment of the utility model;
[0060] Figure 3 It is the schematic diagram of the power module of another embodiment of the edge gateway of the utility model;
[0061] Figure 4 It is the schematic diagram of the communication conversion module of another embodiment of the edge gateway of the utility model;
[0062] Figure 5 It is the schematic diagram of multiple relays of another embodiment of the edge gateway of the utility model;
[0063] Figure 6 It is the schematic diagram of the first conversion submodule of another embodiment of the edge gateway of the utility model;
[0064] Figure 7 It is the schematic diagram of the second conversion submodule of another embodiment of the edge gateway of the utility model;
[0065] Figure 8 It is the schematic diagram of the NFC read-write module of another embodiment of the edge gateway of the utility model;
[0066] Figure 9 It is the schematic diagram of the internet of things system formed based on another embodiment of the edge gateway of the utility model;
[0067] Figure 10 It is the device access flow chart based on another embodiment of the edge gateway of the utility model. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical scheme and advantages of the embodiments of the utility model clearer, the technical scheme in the embodiments of the utility model will be clearly and completely described below in combination with the drawings in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by those skilled in the art without creative labor belong to the protection scope of the utility model.
[0069] The embodiment of the utility model provides a kind of edge gateway, as shown in Figure 1 It includes:
[0070] NFC read-write module, the NFC read-write module is used to read the configuration parameter of the device to be connected;
[0071] Master core board, the master core board is connected with the NFC read-write module, and the master core board is used to receive the configuration parameter read by the NFC read-write module, determines the target connection terminal required to be connected by the device to be connected according to the configuration parameter, and sends the configuration parameter to Internet of Things cloud platform, so that the Internet of Things cloud platform generates the device type model corresponding to the device to be connected and sends to the master core board;
[0072] Communication conversion module, the communication conversion module is connected with the master core board, and the communication conversion module is used to convert the USB interface of master core board into multiple connection terminals, and multiple connection terminals are divided into multiple terminal groups under the control of the master core board, wherein each terminal group corresponds to a configuration parameter.
[0073] In some embodiments, the master core board can be composed of ESP32-S3 core module, for example, and the master core board can integrate CPU, RAM, FLASH and WIFI functions, using 3.3V power supply. In terms of data, it is connected to the communication conversion module through USB (USBD+, USBD-), realizes multi-channel serial port expansion, for example, can be expanded to 4 channels, 16 channels or 32 channels. Data interaction and command control are realized through SPI bus (CS MISO MOSI CLK RST) and NFC read-write module.
[0074] In the technical scheme provided by the embodiment of the utility model, the configuration parameters of the device to be connected are read by the NFC read-write module and are uploaded to the Internet of Things cloud platform by the main control core board, the communication conversion module is controlled by the main control core board, so that the plurality of connection terminals are divided into a plurality of terminal groups, and each terminal group corresponds to a configuration parameter. By using this edge gateway, the configuration parameters do not need to be manually input during the connection process of the industrial equipment, but are automatically acquired by the NFC read-write module and determined by the main control core board according to the corresponding configuration parameters to determine the terminal group to be connected by the device to be connected, thereby effectively reducing the labor cost, avoiding the mistakes of manual operation, and improving the efficiency of device connection.
[0075] As an optional implementation, as shown in Figures 2-3 The power supply module comprises:
[0076] The power socket H1 comprises a first electrode 1 and a second electrode 2, the first electrode 1 is used for outputting a first target voltage, and the second electrode 2 is grounded;
[0077] The first capacitor group Cg1 comprises one or more than one parallel capacitor, a first end of the first capacitor group Cg1 is electrically connected with the first electrode, and a second end of the first capacitor group Cg1 is grounded;
[0078] The first voltage stabilizing chip U1 has a first end VI1 electrically connected with the first end of the first capacitor group, a second end VO1 of the first voltage stabilizing chip U1 is used for outputting a second target voltage, and a third end GND of the first voltage stabilizing chip U1 is grounded;
[0079] The second capacitor group Cg2 comprises one or more than one parallel capacitor, a first end of the second capacitor group Cg2 is electrically connected with the second end of the first voltage stabilizing chip U1, and a second end of the second capacitor group Cg2 is grounded;
[0080] The second voltage stabilizing chip U2 has a first end VI2 electrically connected with the first end of the second capacitor group, a second end VO2 of the second voltage stabilizing chip U2 is used for outputting a third target voltage, and a third end GND of the second voltage stabilizing chip U2 is grounded; the second end VO2 of the second voltage stabilizing chip U2 is electrically connected with a power supply pin 3V3 of the main control core board;
[0081] The third capacitor group Cg3 comprises one or more than one parallel capacitor, a first end of the third capacitor group Cg3 is electrically connected with the second end VO2 of the second voltage stabilizing chip U2, and a second end of the third capacitor group Cg3 is grounded.
[0082] In some embodiments, the power module is used to power all circuits, the power socket inputs 12V voltage, and after the first voltage stabilizing chip U1, 5V voltage can be output, which can power the circuits in the entire edge gateway that need 5V voltage. After the second voltage stabilizing chip, 3.3V voltage can be output, which can power the circuits in the entire edge gateway that need 3.3V voltage. In some preferred embodiments, the first voltage stabilizing chip U1 may, for example, be an AMS117-5V voltage stabilizing chip, and the second voltage stabilizing chip U2 may, for example, be an AMS117-3.3V voltage stabilizing chip.
[0083] As an optional implementation, as shown in Figure 4 The communication conversion module comprises:
[0084] A first conversion submodule, which is in communication connection with the USB interface of the master core board, and is used to convert the USB interface of the master core board into a plurality of serial interfaces;
[0085] A second conversion submodule, which is used to convert the plurality of serial interfaces into a plurality of RS485 interfaces;
[0086] A plurality of connection terminals, which are used to connect with to-be-connected devices;
[0087] A plurality of relays, which are in control connection with the master core board, and are controlled by the master core board to electrically connect the connection terminals with the plurality of RS485 interfaces of the second conversion submodule.
[0088] In some embodiments, generally, the master core board has only one serial port, in order to make up for the shortage of the number of serial ports, the communication conversion module is used to convert into a plurality of connection terminals, so as to be able to connect a plurality of industrial devices. In some embodiments, the first conversion submodule can adopt a CH344 module to convert the USB interface into a TTL interface, however, the transmission distance of the TTL interface is short and it is easy to be disturbed, therefore, the second conversion submodule is further used for conversion, for example, a MAX485 chip can be used to convert a plurality of TTL interfaces into a plurality of RS485 interfaces. RS485 interfaces are commonly used in industry for data transmission, and the transmission distance of the RS485 interface is longer and the anti-interference ability is stronger. In addition, the RS485 interface only needs AB two lines to connect the gateway and the device, which can make the wiring of the entire edge gateway simpler.
[0089] As an optional implementation, the plurality of connection terminals are divided into a plurality of connection terminal sets, and one or more connection terminals in each connection terminal set are electrically connected with each other.
[0090] As an optional implementation, as shown inFigure 5 As shown, the plurality of relay arrays are distributed, wherein a plurality of rows of relays in the plurality of relay arrays distributed correspond to a plurality of connection terminal sets one-to-one, each of the connection terminal sets is electrically connected with a corresponding row of the plurality of relays; a plurality of columns of relays in the plurality of relay arrays distributed correspond to a plurality of RS485 interfaces one-to-one, each of the RS485 interfaces is electrically connected with a corresponding column of the plurality of relays.
[0091] In some embodiments, as shown, Figure 5 As shown, a case is shown in which a plurality of relays are arranged in a relay matrix of 4 rows and 4 columns, in which each column of relays corresponds to an RS485 interface of a second conversion submodule, each row of relays corresponds to a terminal set, and each relay is controlled by an input-output interface of a master core board. Each relay is opened when the input-output interface is high, and is closed when the input-output interface is low. When the master core board senses a new device access from the NFC read-write module, configuration parameters such as serial port parameters and protocol parameters are read, and the same serial port parameters are switched to the same RS485 interface through data comparison, so that no matter which terminal set of the device shell, it can be automatically accessed and divided into a terminal group. For example, when the first terminal set is connected to a 9600 baud rate ammeter device, and the user connects a new ammeter device to the second terminal set, the NFC read-write module reads a new device configuration parameter, and if the serial port parameter is 9600, the second terminal set is also connected to the same RS485 interface as the first terminal set through the relay, forming a terminal group. If the serial port parameter is not 9600, the second terminal set is connected to another idle RS485 interface through the relay. If the serial port parameters of the devices in two terminal sets in the plurality of terminal sets are consistent, the Internet of Things cloud platform can prompt the user, and when the operator sees the prompt information, the devices in the two terminal sets can be merged into the same terminal set, thereby achieving the goal of automatic management of the serial port of the edge gateway, avoiding manual area filling of the serial port parameter and manual management of the edge gateway serial port grouping problem. The foregoing Figure 5In the embodiment, only the relays of the 4*4 array are shown, and those skilled in the art should understand that the array formed by the relays can be any number of rows and columns, for example, an 8*8 array, a 16*16 array or a 32*32 array. In the foregoing embodiment, a technical solution is provided, in which the device is first connected to any one terminal set, and the relay array is controlled by the master core board to be connected to the RS485 interface of the same serial port parameter to form a terminal group. After the connection, the Internet of Things cloud platform can prompt the user to combine the devices connected to two or more terminal sets in the same terminal group and connect them to the same terminal set. As a preferred embodiment, the user can also contact the device to be connected with the NFC read-write module before connecting the device, so that the master core board obtains the configuration parameters and prompts the user to connect the device to be connected to the corresponding connection terminal set.
[0092] As an optional embodiment, the control end of each relay in the plurality of relays is electrically connected with one input-output interface of the master core board.
[0093] As an optional embodiment, as shown in Figures 6-7 As shown in Figure 6 a schematic diagram of a first conversion submodule is shown, Figure 7 a schematic diagram of a second conversion submodule is shown, the second conversion submodule includes a plurality of conversion circuits, wherein the plurality of conversion circuits are electrically connected one by one with the plurality of serial interfaces in the first conversion submodule; the conversion circuit includes:
[0094] a conversion chip for converting serial port signals into RS485 signals, an output pin RO of the conversion chip is electrically connected with a corresponding receiving pin among receiving pins RX1-RX4 of the serial interface, and a power supply pin VCC of the conversion chip is electrically connected with the second end VO1 of the first voltage stabilizing chip;
[0095] a first resistor R3-1, a first end of the first resistor R3-1 is electrically connected with the output pin RO of the conversion chip, and the first resistor R3-1 is electrically connected with the second end of the second voltage stabilizing chip U2;
[0096] a second resistor R3-2, a first end of the second resistor R3-2 is electrically connected with a second end of the first resistor R3-1, and a second end of the second resistor R3-2 is electrically connected with an input control pin DE and an output control pin RE of the conversion chip;
[0097] a third resistor R3-3, a first end of the third resistor R3-3 is electrically connected with the first end of the second resistor R3-2, and a second end of the third resistor R3-3 is electrically connected with a corresponding sending pin in the sending pins TX1-TX4 of the serial interface;
[0098] a fourth resistor R3-4, a first end of the fourth resistor R3-4 is electrically connected with the second end of the third resistor R3-3;
[0099] a first MOS tube, a control end of the first MOS tube is electrically connected with a second end of the fourth resistor R3-4, a first end of the first MOS tube is electrically connected with a second end of the second resistor R3-2, a second end of the first MOS tube is electrically connected with an input pin DI of the conversion chip, and the second end of the first MOS tube is grounded;
[0100] a fifth resistor R3-5, a first end of the fifth resistor R3-5 is electrically connected with a power supply pin VCC of the conversion chip, and a second end of the fifth resistor R3-5 is electrically connected with a positive signal pin A of the conversion chip;
[0101] a sixth resistor R3-6, a first end of the sixth resistor R3-6 is electrically connected with the first end of the fifth resistor R3-5, and a second end of the sixth resistor R3-6 is electrically connected with a negative signal pin B of the conversion chip;
[0102] a seventh resistor R3-7, a first end of the seventh resistor R3-7 is electrically connected with the second end of the sixth resistor R3-6, a second end of the seventh resistor R3-7 is electrically connected with the second end of the fifth resistor R3-5, the first end of the seventh resistor R3-7 is electrically connected with one contact of a corresponding relay, and the second end of the seventh resistor R3-7 is electrically connected with the other contact of the corresponding relay.
[0103] As an optional implementation manner, as shown in Figure 8 the NFC read-write module comprises:
[0104] an NFC chip, which is used to convert an analog signal into a digital signal and send the digital signal to a master core board; a transmitter power supply pin TVDD of the NFC chip is electrically connected with a second end of the first voltage stabilizing chip U1;
[0105] an inductive coil, which is used to generate the analog signal and send the analog signal to the NFC chip when the inductive coil is in contact with a device to be connected.
[0106] As an optional implementation manner, as shown in Figure 8 the inductive coil sends the analog signal to the NFC chip through a receiving circuit, and the receiving circuit comprises:
[0107] a fourth capacitor group Cg4 including a plurality of capacitors arranged in parallel, a first end of the fourth capacitor group Cg4 being electrically connected to an analog positive voltage pin AVDD of the NFC chip, a second end of the fourth capacitor group Cg4 being electrically connected to an analog ground pin AVSS of the NFC chip;
[0108] a first resistive device Z1, a first end of the first resistive device Z1 being electrically connected to the second end of the fourth capacitor group, a second end of the first resistive device Z1 being grounded;
[0109] a second resistive device Z2, a first end of the second resistive device Z2 being electrically connected to the second end of the first resistive device Z1, a second end of the second resistive device Z2 being electrically connected to a digital positive voltage pin DVDD of the NFC chip;
[0110] an isolation capacitor C12, a first end of the isolation capacitor C12 being electrically connected to the second end of the fourth capacitor group, a second end of the isolation capacitor C12 being electrically connected to a reference voltage pin VMID of the NFC chip;
[0111] an eighth resistor R8, a first end of the eighth resistor R8 being electrically connected to the second end of the isolation capacitor C12, a second end of the eighth resistor R8 being electrically connected to a receiving pin RX of the NFC chip;
[0112] a ninth resistor R9, a first end of the ninth resistor R9 being electrically connected to the second end of the eighth resistor R8;
[0113] a receiving capacitor C11, a first end of the receiving capacitor C11 being electrically connected to a second end of the ninth resistor R9, a second end of the receiving capacitor C11 being electrically connected to the inductive coil.
[0114] As an optional embodiment, continuing as shown in Figure 8 the inductive coil includes:
[0115] a first inductor L1, the first inductor L1 being electrically connected to a first transmitting pin TX5 of the NFC chip;
[0116] a second inductor L2, the second inductor L2 being electrically connected to a second transmitting pin TX6 of the NFC chip;
[0117] a first capacitor C1, a first end of the first capacitor C1 being electrically connected to a second end of the first inductor L1, a second end of the first capacitor C1 being electrically connected to a transmitter ground pin TVSS of the NFC chip;
[0118] a second capacitor C2, a first end of the second capacitor C2 being electrically connected with a second end of the second inductor L2, a second end of the second capacitor C2 being electrically connected with a second end of the first capacitor C1;
[0119] a third capacitor C3, a first end of the third capacitor C3 being electrically connected with a second end of the first inductor L1;
[0120] a fourth capacitor C4, a first end of the fourth capacitor C4 being electrically connected with a second end of the second inductor L2;
[0121] a fifth capacitor C5, a first end of the fifth capacitor C5 being electrically connected with a second end of the third capacitor C3, a second end of the fifth capacitor C5 being electrically connected with a second end of the first capacitor C1;
[0122] a sixth capacitor C6, a first end of the sixth capacitor C6 being electrically connected with a second end of the fourth capacitor C4, a second end of the sixth capacitor C6 being electrically connected with a second end of the fifth capacitor C5;
[0123] a seventh capacitor C7, a first end of the seventh capacitor C7 being electrically connected with a first end of the fifth capacitor C5, a second end of the seventh capacitor C7 being electrically connected with a second end of the fifth capacitor C5;
[0124] an eighth capacitor C8, a first end of the eighth capacitor C8 being electrically connected with a first end of the sixth capacitor C6, a second end of the eighth capacitor C8 being electrically connected with a second end of the sixth capacitor C6;
[0125] a first antenna, a first end of the first antenna being electrically connected with a first end of the seventh capacitor C7, a second end of the first antenna being electrically connected with a second end of the seventh capacitor C7;
[0126] a second antenna, a first end of the second antenna being electrically connected with a first end of the eighth capacitor C8, a second end of the second antenna being electrically connected with a second end of the first antenna, the first end of the second antenna being electrically connected with a second end of the receiving capacitor C11.
[0127] As Figure 9As shown, an Internet of Things system formed based on the foregoing embodiments is provided, in which the Internet of Things cloud platform is used to implement cloud computing, cloud storage, data analysis, and bearing front-end data application of the Internet of Things system. The edge gateway can implement Internet access of a heterogeneous network, and the southbound device supports access of PLC devices, electricity meters, water meters, Modbus, motors, and other devices supporting PLC protocol electricity meter protocol, water meter protocol, Modbus RTU, and other industrial protocol conversion MQTT protocol, and uploads the accessed device data to the industrial Internet of Things platform. Since the edge gateway is internally provided with an NFC reading and writing module, when the device is accessed, the configuration information stored in the device end NFC tag can be read by touching the new device with the edge gateway, and the configuration information can be uploaded to the Internet of Things cloud platform. The edge gateway sub-device can include various serial port devices such as water meters, electricity meters, sensors, and devices using various brands of PLC protocols. Various interfaces can correspond to multiple interface parameters and multiple incompatible protocols. For the accessed device, the device end NFC tag should be provided, and the NFC tag can support multiple forms, for example, can be internally provided in the shell, and for example, can be pasted on the shell in the form of a sticker.
[0128] As Figure 10As shown, a device access process based on the edge gateway in the foregoing embodiments is provided. When the device is shipped or before the device is put into the warehouse, the NFC tag storing the configuration information is pasted on the device. When the device is installed, the user contacts the device with the edge gateway, so that the edge gateway reads the configuration information in the NFC tag. After reading the configuration information, the edge gateway prompts the user to install the new device to the corresponding connection terminal set, and the user only needs to connect the device to the corresponding connection terminal set according to the prompt. After reading the configuration information, the edge gateway also sends the configuration information to the Internet of Things cloud platform. The Internet of Things cloud platform analyzes the configuration parameters by itself, constructs the protocol template and the device type model by itself, adds the device according to the interface parameters reported by the gateway, adds the device according to the MAC and other information of the device, and finally distributes the device type model to the edge gateway. After the edge gateway applies the device type model distributed by the Internet of Things cloud platform, the device information can be collected and the control information can be issued. According to the foregoing device access process, when the edge gateway in the foregoing embodiments is used, the user only needs to contact the device with the edge gateway, and then connect the device to the corresponding terminal set according to the prompt, without any other operation. Thus, the manual operation link is reduced as a whole, the interface utilization rate is improved, the access efficiency is improved, and the error probability is reduced. The platform protocol template and the device template are automatically completed by the gateway and the cloud platform software, so that the platform maintenance cost can be simplified. Due to the simplification of the operation, professional personnel is not needed to operate during installation, so that the technical requirements of the device access personnel are reduced. At the same time, the protocol parameters and the interface parameters are no longer exposed to the construction party and the operation and maintenance party, and are automatically obtained by the edge gateway through the NFC, so that the security of the edge gateway is effectively improved.
[0129] The above merely illustrates the specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of the changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. An edge gateway, characterized by The edge gateway comprises: an NFC reading and writing module for reading configuration parameters of a device to be connected; a master core board in communication connection with the NFC reading and writing module, the master core board being configured to receive the configuration parameters read by the NFC reading and writing module, determine a target connection terminal required by the device to be connected according to the configuration parameters, and send the configuration parameters to an Internet of Things cloud platform; a communication conversion module in communication connection with the master core board, the communication conversion module being configured to convert a USB interface of the master core board into a plurality of connection terminals, and divide the plurality of connection terminals into a plurality of terminal groups under the control of the master core board, wherein each terminal group corresponds to one type of configuration parameter.
2. The edge gateway of claim 1, wherein, The edge gateway further comprises a power supply module, which comprises: a power socket comprising a first electrode and a second electrode, the first electrode being configured to output a first target voltage, and the second electrode being grounded; a first capacitor group comprising one or more parallel capacitors, a first end of the first capacitor group being electrically connected to the first electrode, and a second end of the first capacitor group being grounded; a first voltage stabilizing chip, a first end of the first voltage stabilizing chip being electrically connected to the first end of the first capacitor group, a second end of the first voltage stabilizing chip being configured to output a second target voltage, and a third end of the first voltage stabilizing chip being grounded; a second capacitor group comprising one or more parallel capacitors, a first end of the second capacitor group being electrically connected to the second end of the first voltage stabilizing chip, and a second end of the second capacitor group being grounded; a second voltage stabilizing chip, a first end of the second voltage stabilizing chip being electrically connected to the first end of the second capacitor group, a second end of the second voltage stabilizing chip being configured to output a third target voltage, and a third end of the second voltage stabilizing chip being grounded, the second end of the second voltage stabilizing chip being electrically connected to a power supply pin of the master core board; a third capacitor group comprising one or more parallel capacitors, a first end of the third capacitor group being electrically connected to the second end of the second voltage stabilizing chip, and a second end of the third capacitor group being grounded.
3. The edge gateway of claim 2, wherein, The communication conversion module comprises: a first conversion submodule in communication connection with a USB interface of the master core board, the first conversion submodule being configured to convert the USB interface of the master core board into a plurality of serial interfaces; a second conversion submodule configured to convert the plurality of serial interfaces into a plurality of RS485 interfaces; a plurality of connection terminals configured to be connected to a device to be connected; a plurality of relays in control connection with the master core board, the plurality of relays being configured to electrically connect the plurality of connection terminals to the plurality of RS485 interfaces of the second conversion submodule under the control of the master core board.
4. The edge gateway of claim 3, wherein, The plurality of connection terminals are divided into a plurality of connection terminal sets, and one or more connection terminals in each connection terminal set are electrically connected to each other.
5. The edge gateway of claim 4, wherein, The plurality of relay arrays are distributed, wherein a plurality of rows of relays in the array-distributed plurality of relays correspond one-to-one to a plurality of the connection terminal sets, each of the connection terminal sets being electrically connected to a corresponding row of the plurality of relays; and a plurality of columns of relays in the array-distributed plurality of relays correspond one-to-one to a plurality of the RS485 interfaces, each of the RS485 interfaces being electrically connected to a corresponding column of the plurality of relays.
6. The edge gateway of claim 3, wherein, The control end of each of the plurality of relays is electrically connected to an input-output interface of the master core board.
7. The edge gateway of claim 3, wherein, The second conversion submodule includes a plurality of conversion circuits, wherein the plurality of conversion circuits are electrically connected to the plurality of serial interfaces in the first conversion submodule one-to-one; and the conversion circuit includes: a conversion chip for converting a serial signal into an RS485 signal, an output pin of the conversion chip being electrically connected to a receiving pin of a corresponding serial interface, and a power supply pin of the conversion chip being electrically connected to a second end of the first voltage stabilizing chip; a first resistor, a first end of the first resistor being electrically connected to the output pin of the conversion chip, and the first resistor being electrically connected to the second end of the second voltage stabilizing chip; a second resistor, a first end of the second resistor being electrically connected to a second end of the first resistor, and a second end of the second resistor being electrically connected to an output control pin and an input control pin of the conversion chip; a third resistor, a first end of the third resistor being electrically connected to the first end of the second resistor, and a second end of the third resistor being electrically connected to a transmitting pin of a corresponding serial interface; a fourth resistor, a first end of the fourth resistor being electrically connected to the second end of the third resistor; a first MOS transistor, a control end of the first MOS transistor being electrically connected to the second end of the fourth resistor, a first end of the first MOS transistor being electrically connected to the second end of the second resistor, a second end of the first MOS transistor being electrically connected to an input pin of the conversion chip, and the second end of the first MOS transistor being grounded; a fifth resistor, a first end of the fifth resistor being electrically connected to the power supply pin of the conversion chip, and a second end of the fifth resistor being electrically connected to a positive signal pin of the conversion chip; a sixth resistor, a first end of the sixth resistor being electrically connected to the first end of the fifth resistor, and a second end of the sixth resistor being electrically connected to a negative signal pin of the conversion chip; a seventh resistor, a first end of the seventh resistor being electrically connected to the second end of the sixth resistor, and a second end of the seventh resistor being electrically connected to the second end of the fifth resistor; the first end of the seventh resistor being electrically connected to one of the contacts of a corresponding relay, and the second end of the seventh resistor being electrically connected to the other contact of the corresponding relay.
8. The edge gateway of claim 2, wherein, The NFC reading and writing module includes: an NFC chip for converting an analog signal into a digital signal and sending the digital signal to the master core board; a transmitter power supply pin of the NFC chip being electrically connected to the second end of the first voltage stabilizing chip; an induction coil for generating the analog signal when in contact with a device to be connected and sending the analog signal to the NFC chip.
9. The edge gateway of claim 8, wherein, The inductive coil sends the analog signal to the NFC chip through a receiving circuit, the receiving circuit comprises: A fourth capacitor group comprising a plurality of capacitors arranged in parallel, a first end of the fourth capacitor group is electrically connected to an analog positive voltage pin of the NFC chip, and a second end of the fourth capacitor group is electrically connected to an analog ground pin of the NFC chip; A first resistive device, a first end of the first resistive device is electrically connected to the second end of the fourth capacitor group, and a second end of the first resistive device is grounded; A second resistive device, a first end of the second resistive device is electrically connected to the second end of the first resistive device, and a second end of the second resistive device is electrically connected to a digital positive voltage pin of the NFC chip; An isolation capacitor, a first end of the isolation capacitor is electrically connected to the second end of the fourth capacitor group, and a second end of the isolation capacitor is electrically connected to a reference voltage pin of the NFC chip; An eighth resistor, a first end of the eighth resistor is electrically connected to the second end of the isolation capacitor, and a second end of the eighth resistor is electrically connected to a receiving pin of the NFC chip; A ninth resistor, a first end of the ninth resistor is electrically connected to the second end of the eighth resistor; A receiving capacitor, a first end of the receiving capacitor is electrically connected to the second end of the ninth resistor, and a second end of the receiving capacitor is electrically connected to the inductive coil.
10. The edge gateway of claim 9, wherein, The inductive coil comprises: A first inductor, a first end of the first inductor is electrically connected to a first transmitting pin of the NFC chip; A second inductor, a first end of the second inductor is electrically connected to a second transmitting pin of the NFC chip; A first capacitor, a first end of the first capacitor is electrically connected to a second end of the first inductor, and a second end of the first capacitor is electrically connected to a transmitter ground pin of the NFC chip; A second capacitor, a first end of the second capacitor is electrically connected to a second end of the second inductor, and a second end of the second capacitor is electrically connected to the second end of the first capacitor; A third capacitor, a first end of the third capacitor is electrically connected to the second end of the first inductor; A fourth capacitor, a first end of the fourth capacitor is electrically connected to the second end of the second inductor; A fifth capacitor, a first end of the fifth capacitor is electrically connected to a second end of the third capacitor, and a second end of the fifth capacitor is electrically connected to the second end of the first capacitor; A sixth capacitor, a first end of the sixth capacitor is electrically connected to a second end of the fourth capacitor, and a second end of the sixth capacitor is electrically connected to a second end of the fifth capacitor; A seventh capacitor, a first end of the seventh capacitor is electrically connected to the first end of the fifth capacitor, and a second end of the seventh capacitor is electrically connected to the second end of the fifth capacitor; An eighth capacitor, a first end of the eighth capacitor is electrically connected to the first end of the sixth capacitor, and a second end of the eighth capacitor is electrically connected to the second end of the sixth capacitor; A first antenna, a first end of the first antenna is electrically connected to the first end of the seventh capacitor, and a second end of the first antenna is electrically connected to the second end of the seventh capacitor; A second antenna, a first end of the second antenna is electrically connected with a first end of the eighth capacitor, a second end of the second antenna is electrically connected with a second end of the first antenna, and the first end of the second antenna is electrically connected with a second end of the receiving capacitor.