Multi-channel pluggable Internet of Things gateway
By designing a multi-channel pluggable IoT gateway, the problem of single functions is solved, the flexible configuration and richness of functions is achieved, the cost is reduced, the multiple interface needs are met, and the system development and deployment are simplified.
Patent Information
- Application Number
- CN202420350915.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2034-02-26
AI Technical Summary
The existing IoT gateway has a single function and cannot be selected according to needs, resulting in multiple gateways that may be needed to be used together in the project, increasing the cost and difficulty in system development.
A multi-channel pluggable IoT gateway is designed, including housing and circuit board, and a variety of interfaces and chip locations are reserved, allowing functional configuration and expansion as needed, supporting digital signals, analog inputs and outputs, with Flexible interface layout and modular structure.
It realizes the flexible configuration and richness of the Internet of Things gateway functions, reduces costs, improves usage flexibility, and meets multiple interface requirements, simplifies system development and deployment.
Smart Images

Figure CN222215754U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of Internet of Things gateways, and in particular relates to a multi-channel pluggable Internet of Things gateway. Background Art
[0002] As a new trend in the development of modern information technology, the Internet of Things involves industries such as industry, agriculture, power grid, transportation, logistics, medical care, energy conservation and environmental protection, and public safety. Its system architecture has three levels: the bottom layer is the perception layer used to perceive data, the middle layer is the network layer responsible for data transmission, and the top layer is the application layer combined with the actual field. As a universal control center for the application systems of the Internet of Things industry such as smart home and smart agriculture, the Internet of Things gateway is a communication gateway between the transmission layer and the perception layer. It receives the data information of the real physical world collected by the sensor network nodes of the perception layer, and uploads this data information to the upper application layer through the communication network; after the application layer stores, analyzes and processes this data information, it generates corresponding control commands, which are then sent to the devices of the perception layer through the Internet of Things gateway, thereby realizing the monitoring and management of the underlying sensor network nodes. Some temperature monitoring and control systems require the use of Internet of Things gateway devices.
[0003] The current Internet of Things gateway has a single function and is generally a formed module. It is impossible to select functions according to one's own needs. It often includes a data acquisition gateway, a data transmission gateway, and a data output gateway. For example: The patent document with the authorization announcement number CN220043686 U discloses a modular Internet of Things gateway for energy-saving lighting in underground garages, which involves data transmission. It includes a housing, a wireless communication module, a control module, and a battery module. The housing is provided with multiple receiving slots. The wireless communication module, the control module, and the battery module can be detachably installed in the receiving slots. The control module is located between the battery module and the wireless communication module. The battery module supplies power to the control module through a connecting line. The control module supplies power to the wireless communication module through a connecting line and establishes a wired communication connection. The control module includes a wired connection port. The control module establishes a network connection with other Internet of Things gateways through the wireless communication module. The control module connects to the Internet through a wired connection port. The beneficial technical effects of the utility model include: improving the working reliability of the Internet of Things gateway through a modular structure.
[0004] This solution shows that the IoT gateway has a control module and a wireless communication module. These modules are pre-set in the shell and have a single function, insufficient number of channels, or insufficient flexibility in expanding other functions. As a result, in terms of project completion, multiple different gateways are often used together. In this case, additional gateways may be purchased due to the need for individual functions in small quantities, which will not only increase costs, but also increase the difficulty of system development.
[0005] Therefore, there is an urgent need for an IoT gateway with flexible functional configuration. Summary of the invention
[0006] The utility model aims to provide a multi-channel pluggable Internet of Things gateway with simple structure and good use effect.
[0007] In order to solve the above technical problems, the utility model provides the following technical solutions: a multi-channel pluggable Internet of Things gateway, comprising a housing and a circuit board placed in the housing;
[0008] The shell includes a bottom plate and a cover plate, and a rectangular installation notch is reserved on the cover plate; the side of the shell is reserved with a digital signal input interface, a digital signal output interface, a power interface, a network port, an RS232 interface, an RS485 interface, a CAN interface, an analog quantity acquisition interface, and an analog quantity output interface;
[0009] The circuit board is reserved with RS485 chip module welding position, CAN chip module welding position, analog acquisition plug-in position and analog output plug-in position; at the same time, a controller is welded on the circuit board, and the controller is connected to the digital signal input interface and the digital signal output interface; at the same time, the analog acquisition interface is connected to the analog acquisition plug-in position, and the analog acquisition plug-in position is connected to the signal input end of the controller; the signal output end of the controller is connected to the analog output plug-in position, and the analog output plug-in position is connected to the analog output interface; the controller communicates with the outside through the network port, RS232 interface, RS485 interface and CAN interface.
[0010] An acrylic plate is arranged on the cover plate to match the installation notch, the thickness of the edge of the acrylic plate is lower than the thickness in the middle, and the acrylic plate is bonded to the installation notch.
[0011] A capacitive touch screen is arranged on the cover plate to match the installation notch, a TTL level interface is reserved on the circuit board, and the capacitive touch screen is connected to the TTL level interface.
[0012] A support column is reserved on the bottom plate, and the circuit board is placed on the support column. At the same time, a positioning hole is reserved on the circuit board, and there is an internal thread in the support column. The circuit board and the support column can be fixed to the bottom plate directly by screws.
[0013] The RS485 interface comprises a ground terminal, a first pin and a second pin; the RS485 chip module welding position comprises an RS485 chip module welding position, a pad of an RS485 transceiver is reserved on the RS485 chip module welding position, and at the same time, a common terminal of the RS485 transceiver, a data input terminal of the RS485 transceiver, a data output terminal of the RS485 transceiver, an A terminal of the RS485 transceiver and a B terminal of the RS485 transceiver are reserved on the RS485 chip module welding position; a serial port communication circuit is arranged next to the RS485 chip module welding position, and the serial port communication circuit comprises a first triode and a fourth resistor; the output terminal of the controller is connected to the base of the first triode, and the collector of the first triode is connected to a DC power supply through a fourth resistor; the collector of the first triode is also connected to the common terminal of the RS485 transceiver; the data input terminal and the data output terminal of the RS485 transceiver are connected to the serial port of the controller; the A terminal and the B terminal of the RS485 transceiver are connected to the RS485 interface through the transceiver circuit.
[0014] The transceiver circuit comprises a first transient suppression diode, a second transient suppression diode and a third transient suppression diode; the grounding end of the RS485 transceiver is connected to the grounding end of the RS485 interface through a grounding resistor; the grounding end of the RS485 interface is connected with a fifth resistor and a first grounding capacitor in parallel, one end of the fifth resistor and the first grounding capacitor is connected to the grounding end of the RS485 interface, and the other end is grounded; the first transient suppression diode is connected between the A end and the B end of the RS485 transceiver; the second transient suppression diode is connected between the A end and the grounding end of the RS485 transceiver, the third transient suppression diode is connected between the B end and the grounding end of the RS485 transceiver, and the A end and the B end of the RS485 transceiver are connected to the first RS485 pin and the second RS485 pin of the RS485 interface.
[0015] The CAN interface includes a first CAN pin and a second CAN pin; the CAN chip module welding position includes a CAN chip module welding position, and a CAN isolation transceiver module welding pad is reserved on the CAN chip module welding position. At the same time, a CANH pin, a CANL pin, a data receiving pin, a data sending pin, a CAN grounding terminal and a CAN power supply terminal are reserved on the CAN chip module welding position; a CAN communication module is welded next to the CAN chip module welding position, and the CAN communication module includes a short circuit, a first resistor, a first capacitor, a second grounding capacitor and a fourth transient suppression diode; the data receiving pin and the data sending pin are respectively connected to the serial port of the controller; a short circuit is connected between the CANH pin and the CANL pin, and the CANH pin and the CANL pin are also respectively connected to the first CAN pin and the second CAN pin of the CAN interface; the first capacitor and the first resistor are connected in parallel, and the CAN grounding terminal is grounded through the parallel first resistor and the first capacitor; the CAN power supply terminal is connected to the power supply interface on the shell; the CAN power supply terminal is grounded through the fourth transient suppression diode; the CAN power supply terminal is also grounded through the second grounding capacitor.
[0016] The analog acquisition plug-in position includes an input jack, and an analog-to-digital plug-in module is plugged into the analog-to-digital plug-in position in conjunction with the input jack. The input jack includes an analog-to-digital input terminal and an analog-to-digital output terminal. The analog-to-digital input terminal is connected to the analog quantity acquisition interface, and the analog-to-digital output terminal is connected to the input pin of the controller.
[0017] The analog output plug-in position includes an output jack, and a digital-analog plug-in module is plugged into the analog output plug-in position in conjunction with the output jack. The output jack includes a digital-analog input terminal and an analog output terminal. The digital-analog input terminal is connected to the output terminal of the controller, and the analog output terminal is connected to the analog output interface.
[0018] A groove is reserved on the shell, and the digital signal input interface, digital signal output interface, power interface, network port, RS232 interface, RS485 interface, CAN interface, analog quantity acquisition interface, and analog quantity output interface are all embedded in the groove.
[0019] Through the above technical scheme, the technical effects of the utility model are as follows: 1. This multi-channel pluggable Internet of Things gateway, on the basis of meeting the basic functions of the gateway, adds more flexible function configurations, and reserves positions for related chips in the shell, which can be selected later according to needs, making it convenient to implement and more flexible, making the functions of the Internet of Things gateway richer, and on the premise of meeting performance requirements, welding can be performed on demand to the greatest extent to save costs. 2. The shell structure is simple, and the Internet of Things gateway can be conveniently fixed in the required position. At the same time, the reserved grooves can protect the relevant interfaces. 3. By adding reserved positions on the circuit board, the expansion of subsequent functions is facilitated, and the cost of the Internet of Things gateway is reduced. 4. The Internet of Things gateway can realize the input of digital quantities, the input of analog quantities, the output of digital quantities and the output of analog quantities, with more interfaces and more complete functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 It is a schematic diagram of the structure of the utility model;
[0021] Figure 2 is a schematic diagram of the bottom plate structure;
[0022] Figure 3 is a schematic diagram of the cover plate structure;
[0023] Figure 4 It is a schematic diagram of the circuit board structure;
[0024] Figure 5 It is a schematic diagram of the structure of the terminal block on the circuit board;
[0025] Figure 6 This is the circuit schematic diagram of the utility model. DETAILED DESCRIPTION
[0026] Multi-channel pluggable IoT gateways, such as Figures 1 to 4 As shown, it includes a shell 1, which is in the shape of a rectangular parallelepiped. The shell 1 includes a bottom plate and a cover plate arranged in conjunction with the bottom plate. The bottom plate includes a lower plate body 6 and a first side plate 10 connected to the end of the lower plate body 6 and arranged perpendicular to the lower plate body 6; 6 connecting plates 8 are vertically arranged on the lower plate body 6, among which, on the four sides of the lower plate body 6, except for the side connected to the first side plate 10, two connecting plates 8 are respectively arranged on the other three sides, and a first connecting hole 9 is reserved on the connecting plate 8.
[0027] Meanwhile, a fixing plate 4 is provided on the lower plate body 6 , and a mounting long hole 5 is reserved on the fixing plate 4 . When in use, bolts pass through the mounting long hole 5 to fix the housing 1 .
[0028] The cover plate includes an upper plate body 11 and a second side plate 12, a third side plate 13 and a fourth side plate 14 arranged perpendicular to the upper plate body 11. The second side plate 12, the third side plate 13 and the fourth side plate 14 are respectively provided with second connecting holes in conjunction with the first connecting hole 9. The first connecting hole 9 and the second connecting hole are fixed by bolt connection.
[0029] A digital signal input interface J2, a digital signal output interface J1, a power interface J3, a network port 22, an RS232 interface J8, an RS485 interface J6, a CAN interface J7, an analog quantity acquisition interface J5, and an analog quantity output interface J4 are reserved on the side of the shell 1; when in use, the external device can be connected to the corresponding interface as needed, and an installation notch 3 is reserved on the upper plate 11.
[0030] In order to avoid wear and tear on the connection between external devices and corresponding interfaces, grooves 2 are reserved on the second side panel 12, the third side panel 13 and the fourth side panel 14, and the digital signal input interface J2, the digital signal output interface J1, the power interface J3, the RS232 interface J8, the RS485 interface J6, the CAN interface J7, the analog quantity acquisition interface J5, and the analog quantity output interface J4 are all embedded in the groove 2.
[0031] In this embodiment, the power interface J3, RS232 interface J8, RS485 interface J6, CAN interface J7, and analog output interface J4 do not appear on the side of the housing 1 in the form of separate and dispersed interfaces. Figure 5 The terminal blocks shown are used to bring together various interfaces to form a wiring terminal block. When connecting with external devices, only the pin connector of the external device needs to be inserted into the corresponding wiring terminal block. The terminals are arranged more neatly, which is more convenient when connecting with external devices. Among them, the terminal block uses high and low terminals, which can save more space.
[0032] For example, the digital signal input interface J2 corresponds to 32 input interfaces. When the 32 input interfaces are combined into a terminal block, two rows are set, and the ones located on the outer side are set as low terminals, and the ones located on the inner side are set as high terminals, which can save space. In this embodiment, high and low are relative quantities, and high refers to a height higher than a low terminal, and low refers to a height lower than a high terminal.
[0033] When in use, the digital signal input interface J2 and the digital signal output interface J1 are located on the same side of the shell 1, and an L-shaped plate 15 connected between the upper plate 11 and the lower plate 6 is provided at the separation between the two. The plate 15 can not only realize the separation of the interfaces, but also strengthen the strength of the shell 1 and improve the service life of the shell 1.
[0034] In order to realize the functions of the digital signal input interface J2, the digital signal output interface J1, the power interface J3, the RS232 interface J8, the RS485 interface J6, the CAN interface J7, the analog quantity acquisition interface J5, and the analog quantity output interface J4, a circuit board 16 is provided inside the housing 1, and in order to realize the fixing of the circuit board 16 inside the housing 1. A support column 7 is provided on the lower plate body 6, and the support column 7 can support the circuit board 16. In order to realize the fixing of the circuit board 16, a positioning hole 17 is provided on the circuit board, and a screw is inserted into the positioning hole 17. At the same time, an internal thread is provided on the support column 7, and the end of the screw is screwed on the internal thread, so that the circuit board is fixed to the lower plate body 6 by bolts, thereby preventing the circuit board 16 from shifting horizontally in the housing 1.
[0035] The circuit board 16 is provided with a plurality of reserved positions, which improve the flexibility of use of the Internet of Things gateway. By reserving the reserved positions, the cost of the entire gateway is reduced, and the user only needs to configure it according to his or her own needs.
[0036] At the same time, a controller U1 is soldered on the circuit board 16, wherein Figure 6 As shown, the controller U1 includes an ARM chip. The ARM chip model selected in this embodiment is LPC1788FBD208.
[0037] The power supply end of the controller U1 is connected to the power interface J3. When in use, connect the external power supply to the power interface J3 to power the controller U1. When the IoT gateway is not needed, unplug the power cord connected to the power interface J3. The power supply supports a wide voltage DC9-36V power supply.
[0038] The controller is connected with a network port 22, and the communication function of the IoT gateway can be realized through the network port 22. In essence, a network chip needs to be connected between the controller and the network port. In the prior art, the conventional design of the gateway is to connect the network chip to the controller and then connect the network chip to the network port. In this embodiment, the connection between the network chip and the controller is not described in detail. The controller and the network port are only connected in the existing way, so that the gateway can transmit data through Ethernet.
[0039] In order to realize the collection of digital signals by the gateway, the input end of the controller U1 is connected to the digital signal input interface J2. When in use, it is only necessary to connect the digital output interface of the external device to the digital signal input interface J2 on the housing 1, and the digital signal of the external device can be transmitted to the controller U1, so that the gateway can realize the collection of digital signals. In this embodiment, there are 32 digital signal input interfaces J2, and the 32 digital signal input interfaces J2 are combined into the second pin row 232 for subsequent direct use.
[0040] In order to realize the output of digital signals by the gateway, the output end of the controller U1 is connected to the digital signal output interface J1. When in use, it is only necessary to connect the digital input interface of the external device to the digital signal output interface J1 on the housing 1, so that the digital signal of the controller can be transmitted to the external device to realize the control of the operation of the external device. For example, by connecting an indicator light to the digital signal output interface J1, the controller U1 can output high and low levels to realize the control of the indicator light. In this embodiment, there are 32 digital signal output interfaces J1, and the 32 digital signal output interfaces J1 are combined into the first pin row 231 for subsequent use.
[0041] The second pin row 232 formed by 32 digital signal input interfaces J2 and the first pin row 231 formed by 32 digital signal output interfaces J1 are installed on the upper side of the housing 1 .
[0042] For the convenience of display, both the digital signal input interface J2 and the digital signal output interface J1 are connected with status indicator lights. Of course, in this embodiment, the status indicator lights are not drawn in the drawings.
[0043] The status indicator light is an LED light-emitting diode, which adopts the surface mount packaging technology and corresponds one by one to 32 digital signal input interfaces and 32 digital signal output interfaces. When an abnormality occurs, these indicator lights can also be used to detect the problem.
[0044] At the same time, in order to facilitate the display of the overall working status of the controller, a three-color lamp D4 is provided in the center of the circuit board 16, the model is RGB5050, and the colors are red, blue and green.
[0045] The three-color light is used to indicate status information. The specific position of the three-color light on the circuit board is: located in the middle of the circuit board 16. In this way, when the acrylic plate is installed on the installation notch, the status of the three-color light can be observed through the acrylic plate. As an alternative to this example, when a capacitive touch screen is installed on the installation notch, the status of the three-color light can be displayed on the capacitive touch screen.
[0046] In order to realize the driving of the three-color lamp D4 by the controller U1, three light-emitting diode driving circuits are connected to the signal output end of the controller U1. The three light-emitting diode driving circuits are respectively used to drive the three light-emitting diodes of the three-color lamp.
[0047] Each LED driving circuit has the same composition, and only one of them is used as an example for explanation. The LED driving circuit includes a second triode Q2, the signal output end of the controller U1 is connected to the base of the second triode Q2, the emitter of the second triode Q2 is grounded, the collector of the second triode Q2 is connected to the cathode of one of the LEDs D4 in the three-color lamp, and the anode of the LED D4 is connected to a DC power supply. In this way, when one of the LEDs in the three-color lamp is to be lit, the controller U1 outputs a high level to the base of the second triode Q2 of its driving circuit, so that the second triode Q2 is turned on, and the corresponding LED D4 is powered on to emit light.
[0048] In order to realize the 232 communication function of the gateway, a second MAX3232 chip U3 is connected to the serial port of the controller U1. The serial port of the controller U1 is connected to the RS232 interface J8 through the second MAX3232 chip U3. By setting the RS232 interface J8, this Internet of Things gateway can communicate with the outside world through the 232 serial port, which is more flexible to use.
[0049] In order to facilitate the connection between the gateway and the capacitive touch screen, a TTL level interface DZ is connected to the controller U1. Since the controller U1 can directly output TTL level, it is only necessary to connect the serial port (pins U2_TXD1, U2_RXD1) of the controller U1 to the TTL level interface DZ. The TTL level interface reserved here is used for the subsequent installation of the capacitive touch screen. When the capacitive touch screen is needed later, it is only necessary to connect the TTL port of the capacitive touch screen to the TTL level interface DZ.
[0050] A capacitive touch screen is connected to the installation notch 3. In this embodiment, the display screen can be purchased from Shenzhen Top Micro Technology Development Co., Ltd., and the capacitive touch screen model is HMT121ATA-D. When in use, the TTL serial port of the capacitive touch screen is directly connected to the TTL level interface.
[0051] As a replacement for this embodiment, an acrylic mounting plate is installed on the mounting notch 3, and the TTL level interface is left hanging. In this case, the capacitive touch screen is not used, so when purchasing, there is no need to purchase a capacitive touch screen. In order to avoid the unsightly appearance caused by the empty mounting notch 3, a black translucent acrylic mounting plate can be installed on the mounting notch 3, which can keep the appearance color consistent and the internal circuit board status can be clearly seen. Among them, translucent means that the transmittance is 50%. The edge of the acrylic mounting plate used is thinned, and then the acrylic mounting plate is glued to the mounting notch with glue.
[0052] In order to realize the 485 communication function of this gateway, the RS485 interface J6 is reserved on the side of the shell 1, and the outside world can communicate with this gateway through RS485 interface J6.
[0053] The RS485 interface J6 includes a ground terminal, a first pin, and a second pin. In conjunction with the RS485 interface J6, the reserved position includes an RS485 chip module welding position 21. The RS485 chip module welding position 21 is reserved on the circuit board 16, wherein the RS485 chip module welding position 21 includes an RS485 soldering pad pre-set on the circuit board. When this function is needed, an RS485 module (model RSM3485HT) is purchased and soldered on the RS485 soldering pad.
[0054] At the same time, the common terminal CON of RS485 transceiver E3, the data input terminal RXD of RS485 transceiver E3, the data output terminal TXD of RS485 transceiver E3, the A terminal of RS485 transceiver E3 and the B terminal of RS485 transceiver E3 are reserved on the RS485 chip module welding position 21. The data input terminal RXD and the data output terminal TXD of RS485 transceiver E3 are connected to the serial port (pins U2_TXD0 and U2_RXD0) of controller U1.
[0055] A serial communication circuit is provided next to the RS485 chip module welding position 21, and the serial communication circuit includes a first transistor Q1 and a fourth resistor R4; the output end of the controller U1 is connected to the base of the first transistor Q1 through the seventh resistor R7, and the collector of the first transistor Q1 is connected to the DC power supply through the fourth resistor R4; the collector of the first transistor Q1 is also connected to the common end CON of the RS485 transceiver E3; the emitter of the first transistor Q1 is grounded, and at the same time, the emitter of the first transistor Q1 is also connected to the base of the first transistor Q1 through the ninth resistor R9.
[0056] In this embodiment, the controller U1 controls the RS485 transceiver E3CON terminal to be grounded or connected to a high level by sending high and low levels to the base of the first transistor Q1, thereby realizing whether the controller U1 performs 485 communication. It is easy to use and can avoid affecting other components on the circuit board 16.
[0057] The A end and the B end of the RS485 transceiver E3 are connected to the RS485 interface J6 through a transceiver circuit, wherein the transceiver circuit includes a first transient suppression diode D1, a second transient suppression diode D2, and a third transient suppression diode D3; the ground end of the RS485 transceiver E3 is connected to the ground end of the RS485 interface J6 through a grounding resistor; the ground end of the RS485 interface J6 is connected to a fifth resistor and a first grounding capacitor in parallel, one end of the fifth resistor and the first grounding capacitor is connected to the ground end of the RS485 interface J6, and the other end is grounded; the first transient suppression diode D1 is connected between the A end and the B end of the RS485 transceiver E3; the second transient suppression diode D2 is connected between the A end and the ground end of the RS485 transceiver E3, the third transient suppression diode D3 is connected between the B end and the ground end of the RS485 transceiver E3, and the A end and the B end of the RS485 transceiver E3 are connected to the first RS485 pin and the second RS485 pin of the RS485 interface J6.
[0058] In order to realize the CAN communication function of the gateway, a CAN interface J7 is reserved on the side of the housing 1, and the CAN interface J7 includes a first CAN pin and a second CAN pin. In order to adapt to this function, the reserved position includes a CAN chip module welding position 20, and the CAN chip module welding position 20 includes a CAN isolation transceiver module welding pad pre-set on the circuit board. The CAN chip module welding position 20 is reserved with a CANH pin, a CANL pin, a data receiving pin CANRXD, a data transmitting pin CANTXD, a CAN ground terminal GND, and a CAN power supply terminal VCC.
[0059] A CAN communication module E4 is welded next to the CAN chip module welding position 20 . The CAN communication module E4 includes a short-circuit CON, a first resistor R1 , a first capacitor C3 , a second grounding capacitor C2 and a fourth transient voltage suppression diode D5 .
[0060] Among them, the data receiving pin CANRXD and the data transmitting pin CANTXD are respectively connected to the serial port (pins U1_TXD, U1_RXD) of the controller U1; a short-circuit CON is connected between the CANH pin and the CANL pin, and the CANH pin and the CANL pin are also respectively connected to the first CAN pin and the second CAN pin of the CAN interface J7. The first capacitor C3 and the first resistor R1 are connected in parallel, and the CAN grounding end is grounded through the parallel first resistor R1 and the first capacitor C3; the CAN power supply end is connected to the power supply interface J3 on the housing 1; the CAN power supply end is grounded through the fourth transient suppression diode D5; the CAN power supply end is also grounded through the second grounding capacitor C2.
[0061] In this embodiment, there are two CAN interfaces J7, so there are also two corresponding CAN chip module welding positions 20 and CAN communication modules E4. In this way, when in use, there are two interfaces with CAN communication function, which minimizes the situation of insufficient use.
[0062] In this embodiment, only one connection between the CAN communication module E4 and the controller U1 is drawn in the attached figure, and the other connection is the same, so it is not drawn; in fact, the data receiving pin CANRXD and the data transmitting pin CANTXD of the other CAN communication module E4 are respectively connected to the serial port (pins U4_TXD, U4_RXD) of the controller U1.
[0063] When CAN communication is required, the CAN isolation transceiver module (model CTM1051AHP) can be soldered to the CAN isolation transceiver module pad of the circuit board 16. It is easy to use and only requires soldering, and no additional wiring is required to achieve the connection.
[0064] When the CAN communication function is not needed, there is no need to weld the CAN isolation transceiver module, which greatly reduces the equipment cost. Users can also install it on demand to avoid waste.
[0065] In this embodiment, the power interface J3, RS232 interface J8, RS485 interface J6, CAN interface J7, and analog output interface J4 are combined into a second terminal block 24, which is installed on the left side of the housing 1. The terminal block adopts a high and low double-row direct plug-in screw-free form. The use of high and low is the same as before, and both are relative quantities. When in use, by pressing the buckle on the corresponding terminal as needed, the wire can be directly inserted into the corresponding terminal. After releasing the buckle, the wire is clamped, and the wiring work is completed. The terminal block used here is a mature existing technology and is widely used on existing equipment. This embodiment does not involve improvements to the terminal block.
[0066] In order to realize the collection of analog signals by the gateway, an analog quantity collection interface J5 is reserved on the housing 1, and an analog quantity collection plug-in position 18 is provided on the circuit board to cooperate with this function. The analog quantity collection plug-in position 18 includes an input jack, and an analog-to-digital plug-in module can be plugged in with the input jack. The analog-to-digital plug-in module is a commercially available module with a pin on it. The AD7606 data acquisition module purchased from Taobao.com and Anfulai Electronic Store can collect 8 analog quantity signals at the same time. In this embodiment, there are 4 analog quantity collection plug-in positions 18, so there will be 32 channels for analog quantity collection. Among them, the input jack includes an analog-to-digital input terminal and an analog-to-digital output terminal. The analog-to-digital input terminal is connected to the analog quantity collection interface J5, and the analog-to-digital output terminal is connected to the input pin of the controller U1.
[0067] When in use, the analog signal can be input by simply inserting the analog acquisition plug-in module into the analog acquisition plug-in position 18. The analog acquisition plug-in module is an existing board, and the electronic components required by the analog-to-digital conversion chip AD7606 have been soldered on the board. In this way, when needed, only the board with the analog-to-digital conversion chip AD7606 needs to be plugged into the circuit board, and it can be used on demand.
[0068] When in use, the analog quantity acquisition interface J5 has 32 channels, and the 32 analog quantity acquisition interfaces J5 are combined into a third wiring terminal row 25 , and the third wiring terminal row 25 is located on the lower side of the housing 1 .
[0069] When the analog acquisition plug-in module is inserted into the analog acquisition plug-in position, the analog-to-digital input terminal is connected to the analog acquisition interface. At the same time, the analog-to-digital input terminal is connected to the analog input terminal of the analog-to-digital conversion chip AD7606, and the digital output terminal of the analog-to-digital conversion chip AD7606 is connected to the analog-to-digital output terminal, and the analog-to-digital output terminal is connected to the input pin of the controller U1.
[0070] In this way, the external analog signal enters the analog acquisition interface J5, is sent to the analog-to-digital conversion chip AD7606 through the analog acquisition interface, and after analog-to-digital conversion, is sent to the input end of the controller U1 by the analog-to-digital conversion chip AD7606.
[0071] In this embodiment, there are four analog acquisition plug-in positions 18, and four analog-to-digital plug-in modules can be inserted accordingly. These four analog-to-digital plug-in modules are reserved side by side on the long side of the circuit board 16 and close to the edge of the circuit board 16. Therefore, when laying out, the four analog acquisition plug-in positions 18 with the same function are placed together, which reduces the space occupied by the circuit board 16 on the one hand, and minimizes the interference between chips on the other hand.
[0072] In order to realize the gateway outputting analog signals, an analog output interface J4 is reserved on the housing 1, and the corresponding reserved position includes an analog output plug-in position 19. The analog output plug-in position 19 includes an output jack, and a digital-analog plug-in module can be plugged in with the output jack. The digital-analog plug-in module is a commercially available module purchased from Taobao.com and the DAC8562 module of Anfulai Electronics Store. There are pins on it, and the digital-analog plug-in module can be connected to the circuit board by inserting the pins into the output jack.
[0073] The output jack includes a digital-analog input terminal DIN and analog output interfaces CH1~CH5. The digital-analog input terminal is connected to the output terminal of the controller U1, and the analog output terminals CH1~CH5 are connected to the analog output interface J4.
[0074] Just insert the digital-to-analog plug-in module with the analog-to-analog conversion chip E1 (model DAC8563) soldered on it into the circuit board. The peripheral circuits required by DAC8563 are all soldered on the digital-to-analog plug-in module. This can save the size of the circuit board.
[0075] When in use, insert the digital-to-analog plug-in module into the analog output plug-in position 19, so that the output end of the controller will be connected to the digital-to-analog input end, the digital-to-analog input end is connected to the analog input end of the analog conversion chip E1, the digital output end of the analog conversion chip E1 is connected to the analog output end, and the analog output end is connected to the analog output interface J4. As described above, the analog output interface J4 is combined with the power interface J3, RS485 interface J6, CAN interface J7, and RS232 interface J8 to form the second terminal row 24. The external device is connected to the analog output interface J4 of the second terminal row 24 through the pin connector thereon, thereby obtaining the analog signal therefrom.
[0076] In this way, when analog quantity is needed, the digital-to-analog plug-in module is inserted into the analog output plug-in position 19, and the digital signal output by the controller enters the analog-to-digital conversion chip through the digital-to-analog input terminal, and then the digital quantity is converted into analog quantity by the analog-to-digital conversion chip and sent to the analog output interface J4 of the second terminal row 24, thereby improving the applicability of this gateway.
[0077] In this embodiment, the number of analog output plug-in positions 19 is two, and the corresponding number of digital-to-analog conversion chips E1 is also two. The two analog output plug-in positions 19 are located on the short side of the circuit board 16 and are close to the edge of the circuit board 16 .
[0078] When in use, external devices are connected to external devices through the digital signal input interface J2 and the analog quantity acquisition interface J5 to realize the collection of analog data and digital quantity information; this Internet of Things gateway outputs digital signals and analog signals to external devices through the digital signal output interface J1 and the analog quantity output interface J4, thereby realizing the driving of external devices by this Internet of Things gateway; RS485 interface J6 and CAN interface J7 this Internet of Things gateway realizes data communication, which is easy to implement and has flexible interfaces.
[0079] The utility model discloses a multi-channel pluggable Internet of Things gateway. On the basis of satisfying the basic functions of the gateway, more flexible configuration functions are added to achieve a position for relevant chips to be reserved in a shell 1, which can be selected later according to needs, and is convenient to implement and more flexible, making the Internet of Things gateway more functional. On the premise of meeting performance requirements, welding can be performed on demand to the greatest extent and cost can be saved.
Claims
1. Multi-channel pluggable IoT gateway, characterized by: It includes a housing and a circuit board placed in the housing; The shell includes a bottom plate and a cover plate, and a rectangular installation notch is reserved on the cover plate; the side of the shell is reserved with a digital signal input interface, a digital signal output interface, a power interface, a network port, an RS232 interface, an RS485 interface, a CAN interface, an analog quantity acquisition interface, and an analog quantity output interface; The circuit board is reserved with RS485 chip module welding position, CAN chip module welding position, analog acquisition plug-in position and analog output plug-in position; at the same time, a controller is welded on the circuit board, and the signal input end and signal output end of the controller are respectively connected to the digital signal input interface and the digital signal output interface; at the same time, the analog acquisition interface is connected to the analog acquisition plug-in position, and the analog acquisition plug-in position is connected to the signal input end of the controller; the signal output end of the controller is connected to the analog output plug-in position, and the analog output plug-in position is connected to the analog output interface; the controller communicates with the outside through the network port, RS232 interface, RS485 interface and CAN interface.
2. The multi-channel pluggable Internet of Things gateway according to claim 1, characterized in that: An acrylic plate is arranged on the cover plate to match the installation notch, the thickness of the edge of the acrylic plate is lower than the thickness in the middle, and the acrylic plate is bonded to the installation notch.
3. The multi-channel pluggable Internet of Things gateway according to claim 1, characterized in that: A capacitive touch screen is arranged on the cover plate to match the installation notch, a TTL level interface is reserved on the circuit board, and the capacitive touch screen is connected to the TTL level interface.
4. The multi-channel pluggable Internet of Things gateway as claimed in claim 2 or 3, characterized in that: A support column is reserved on the bottom plate, and the circuit board is placed on the support column; at the same time, a positioning hole is reserved on the circuit board, the support column has an internal thread, a screw is passed through the positioning hole, and the end of the screw is screwed on the support column.
5. The multi-channel pluggable Internet of Things gateway as claimed in claim 4, characterized in that: The RS485 interface comprises a ground terminal, a first pin and a second pin; the RS485 chip module welding position comprises an RS485 chip module welding position, a pad of an RS485 transceiver is reserved on the RS485 chip module welding position, and at the same time, a common terminal of the RS485 transceiver, a data input terminal of the RS485 transceiver, a data output terminal of the RS485 transceiver, an A terminal of the RS485 transceiver and a B terminal of the RS485 transceiver are reserved on the RS485 chip module welding position; a serial port communication circuit is arranged next to the RS485 chip module welding position, and the serial port communication circuit comprises a first triode and a fourth resistor; the output terminal of the controller is connected to the base of the first triode, and the collector of the first triode is connected to a DC power supply through a fourth resistor; the collector of the first triode is also connected to the common terminal of the RS485 transceiver; the data input terminal and the data output terminal of the RS485 transceiver are connected to the serial port of the controller; the A terminal and the B terminal of the RS485 transceiver are connected to the RS485 interface through the transceiver circuit.
6. The multi-channel pluggable Internet of Things gateway as claimed in claim 5, characterized in that: The transceiver circuit comprises a first transient suppression diode, a second transient suppression diode and a third transient suppression diode; the grounding end of the RS485 transceiver is connected to the grounding end of the RS485 interface through a grounding resistor; the grounding end of the RS485 interface is connected with a fifth resistor and a first grounding capacitor in parallel, one end of the fifth resistor and the first grounding capacitor is connected to the grounding end of the RS485 interface, and the other end is grounded; the first transient suppression diode is connected between the A end and the B end of the RS485 transceiver; the second transient suppression diode is connected between the A end and the grounding end of the RS485 transceiver, the third transient suppression diode is connected between the B end and the grounding end of the RS485 transceiver, and the A end and the B end of the RS485 transceiver are connected to the first RS485 pin and the second RS485 pin of the RS485 interface.
7. The multi-channel pluggable Internet of Things gateway according to claim 6, characterized in that: The CAN interface includes a first CAN pin and a second CAN pin; the CAN chip module welding position includes a CAN chip module welding position, and a CAN isolation transceiver module welding pad is reserved on the CAN chip module welding position. At the same time, a CANH pin, a CANL pin, a data receiving pin, a data sending pin, a CAN grounding terminal and a CAN power supply terminal are reserved on the CAN chip module welding position; a CAN communication module is welded next to the CAN chip module welding position, and the CAN communication module includes a short circuit, a first resistor, a first capacitor, a second grounding capacitor and a fourth transient suppression diode; the data receiving pin and the data sending pin are respectively connected to the serial port of the controller; a short circuit is connected between the CANH pin and the CANL pin, and the CANH pin and the CANL pin are also respectively connected to the first CAN pin and the second CAN pin of the CAN interface; the first capacitor and the first resistor are connected in parallel, and the CAN grounding terminal is grounded through the parallel first resistor and the first capacitor; the CAN power supply terminal is connected to the power supply interface on the shell; the CAN power supply terminal is grounded through the fourth transient suppression diode; the CAN power supply terminal is also grounded through the second grounding capacitor.
8. The multi-channel pluggable Internet of Things gateway as claimed in claim 7, characterized in that: The analog acquisition plug-in position includes an input jack, and an analog-to-digital plug-in module is plugged into the analog-to-digital plug-in position in conjunction with the input jack. The input jack includes an analog-to-digital input terminal and an analog-to-digital output terminal. The analog-to-digital input terminal is connected to the analog quantity acquisition interface, and the analog-to-digital output terminal is connected to the input pin of the controller.
9. The multi-channel pluggable Internet of Things gateway as claimed in claim 8, characterized in that: The analog output plug-in position includes an output jack, and a digital-analog plug-in module is plugged into the analog output plug-in position in conjunction with the output jack. The output jack includes a digital-analog input terminal and an analog output terminal. The digital-analog input terminal is connected to the output terminal of the controller, and the analog output terminal is connected to the analog output interface.
10. The multi-channel pluggable Internet of Things gateway according to any one of claims 1 or 9, characterized in that: A groove is reserved on the shell, and the digital signal input interface, digital signal output interface, power interface, network port, RS232 interface, RS485 interface, CAN interface, analog quantity acquisition interface, and analog quantity output interface are all embedded in the groove.
Citation Information
Patent Citations
Modularized Internet of Things gateway for energy-saving illumination of underground garage
CN220043686U
