CN115841128A - Four-channel electronic tag controller based on 485 bus - Google Patents
Four-channel electronic tag controller based on 485 bus Download PDFInfo
- Publication number
- CN115841128A CN115841128A CN202211552227.8A CN202211552227A CN115841128A CN 115841128 A CN115841128 A CN 115841128A CN 202211552227 A CN202211552227 A CN 202211552227A CN 115841128 A CN115841128 A CN 115841128A
- Authority
- CN
- China
- Prior art keywords
- bus
- communication
- controller
- electronic tag
- power supply
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Abstract
The invention discloses a 485 bus-based four-channel electronic tag controller, which comprises: the system comprises an input system, a control system, a communication system, an output system and a power supply system; the input system is used for setting or modifying the network address and inputting the network address to the control system; the control system is used for realizing the functions of system data exchange, signal control and module management through the communication system and sending the result to the output system; the output system is used for displaying the state of the 485 bus; the power supply system is used for supplying power to each system in the controller. The controller is used as intermediate conversion equipment suitable for conversion from TCP/IP to 485 communication, can meet the requirement of communication with upper computer software, and can realize data transmission with a lower computer.
Description
Technical Field
The invention belongs to the technical field of TCP/IP to 485 communication, and particularly relates to a 485 bus-based four-channel electronic tag controller.
Background
The electronic label controller is an intermediate intelligent conversion device with the functions of starting and stopping, integrates receiving, controlling and forwarding, takes a central computer as a core, utilizes a network communication technology, can respectively and simultaneously realize data interaction with upper control software such as WMS and the like and a lower computer, and is widely applied to a plurality of industrial fields such as storage sorting, industry and the like. At present, in the technical field of TCP/IP to 485 communication, the communication lines between a controller and a lower computer are less than four channels, the capacity of mounting loads is not large enough, and the efficiency is low; in addition, in the process of RS485 information communication, special measures are needed to protect transmission signals from interference, the steps are complex, and additional cost is consumed.
Therefore, how to improve the load carrying capability of the communication line between the controller and the lower computer and ensure that the transmission signal is not interfered by the outside on the premise of simplifying the steps becomes a key problem of the current research.
Disclosure of Invention
In view of the above problems, the present invention provides a 485 bus based four-channel electronic tag controller, which solves at least some of the above technical problems, and as an intermediate conversion device suitable for TCP/IP to 485 communication, the controller can not only meet the requirement of communication with upper computer software, but also implement data transmission with a lower computer. The communication with the upper computer is realized through a TCP/IP protocol, and the communication with the lower computer is realized through a communication link based on RS485, so that the control and management of the lower computer are realized.
The embodiment of the invention provides a 485 bus-based four-channel electronic tag controller, which comprises: the system comprises an input system, a control system, a communication system, an output system and a power supply system;
the input system is used for setting or modifying a network address and inputting the network address to the control system;
the control system is used for realizing system data exchange, signal control and module management functions through the communication system and sending results to the output system;
the output system is used for displaying the state of the 485 bus;
the power supply system is used for supplying power to each system in the controller.
Further, the input system is composed of an 8-bit dial switch.
Further, the control system is an ARM core controller and adopts ST series STM32F407ZGT6 chips.
Further, the communication system comprises an Ethernet module and four RS485 communication modules;
the Ethernet module adopts a 100M RJ-45 network communication interface and is used for realizing software communication between the controller and an upper computer;
the four RS485 communication modules adopt aerial plug interfaces, support RS485 communication protocols and are used for achieving data interaction between the controller and the lower computer.
Further, the ethernet module employs a LAN8720A portal chip.
Further, the four paths of RS485 communication modules are optical coupling isolation modules.
Furthermore, the output system is a four-way bus LED indicator lamp module; and the bus is used for indicating that the data transmission is carried out in the current time period and indicating the bus state of the control board.
Further, the power supply system comprises an external DC24V to 5V power circuit and a DC24V to 3.3V power circuit;
the external DC 24V-to-5V power supply circuit is used for providing power for the four paths of RS485 communication modules and the output system;
and the DC 24V-to-3.3V power supply circuit is used for supplying power to the control system, the Ethernet module and the input system.
Furthermore, the external DC 24V-to-5V power supply circuit and the DC 24V-to-3.3V power supply circuit both adopt LM22674MRX chips.
Compared with the prior art, the 485 bus-based four-channel electronic tag controller has the following beneficial effects:
1. the controller can receive commands from the upper computer in real time, process and judge the commands and forward the commands to the lower computer, and instruct the lower computer to execute corresponding operations according to the commands; after the tasks are issued, the controller waits for the response of the lower computer, analyzes and packages the data in the same way, and reports the data to the upper computer, so that the data interaction of the whole system is realized.
2. The invention supports 485 bus transmission, and four channels of the controller can operate simultaneously. The system can still stably operate under the condition that 120 loads are mounted at the same time. Meanwhile, the device is convenient for workers to install and is not easy to fall off.
3. The 8-way dial switch can set a network address and has the function of modifying the network address at any time.
4. The RS485 communication circuit is provided with the optical coupling isolation module, so that external interference and lightning protection can be effectively prevented.
5. The fuse is designed at the input end of the 24V circuit, so that a board card power supply can be protected, and the problem of the power supply can be solved conveniently.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram of a structural framework of a 485 bus based four-channel electronic tag controller according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of the distribution of external interfaces of a 485-bus-based four-channel electronic tag controller according to an embodiment of the present invention.
Fig. 3 is a schematic distribution diagram of a 485 bus based four-channel electronic tag controller device according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a hardware structural framework of a 485 bus based four-channel electronic tag controller according to an embodiment of the present invention.
Fig. 5 is a circuit diagram of an input system according to an embodiment of the present invention.
Fig. 6 is a circuit diagram of an ethernet module according to an embodiment of the present invention.
Fig. 7 is a circuit diagram of a four-way RS485 communication module according to an embodiment of the present invention.
Fig. 8 is a circuit diagram of an output system according to an embodiment of the present invention.
Fig. 9 is a circuit diagram of a power supply system according to an embodiment of the present invention.
Fig. 10 is a schematic diagram of a software part framework of a 485 bus based four-channel electronic tag controller according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Referring to fig. 1 to 3, an embodiment of the present invention provides a 485 bus-based four-channel electronic tag controller, including: the system comprises an input system, a control system, a communication system, an output system and a power supply system; the input system is used for setting or modifying a network address and inputting the network address to the control system; the control system is used for realizing the functions of system data exchange, signal control and module management through the communication system and sending the result to the output system; the output system is used for displaying the state of the 485 bus; the power supply system is used for supplying power to each system in the controller.
The electronic tag controller will be described in detail below in terms of both hardware and software.
In the embodiment of the invention, a hardware platform of the electronic tag controller consists of a microcontroller module, a four-way RS485 communication module, an Ethernet module, a dial-up switch module, a four-way bus LED indicator lamp module and a power supply module. The general hardware structure is shown in fig. 4.
1. An input system:
referring to fig. 5, the input system mainly includes an 8-bit dial switch, and can implement setting and modifying of a network address.
2. The control system comprises:
the control system adopts an ARM core controller and mainly realizes the functions of system data exchange, signal control and module management. In an embodiment of the present invention, the control system may be configured as a microcontroller module; the microcontroller module adopts STM32F407ZGT6 of ST series, and the chip is provided with FLASH of 1MB, 64-KBRAM and 192+4KBbyte SRAM; the data analysis, information processing and calculation functions are mainly realized.
3. A communication system:
the communication system comprises an Ethernet module and four RS485 communication modules; referring to fig. 6, the ethernet module adopts a 100M RJ-45 network communication interface for implementing software communication between the controller and the upper computer; in the embodiment of the invention, the hundred-mega Ethernet module adopts a LAN8720A network port chip, and mainly realizes the stable data transmission between the controller and the server. Referring to fig. 7, the four-way RS485 communication module adopts an air interface, supports an RS485 communication protocol, and is used for realizing data interaction between the controller and the electronic tag, between the controller and the lane indicator light; in the embodiment of the invention, the four RS485 communication modules mainly realize data interaction between a single control panel and a plurality of loads (such as label plates); specifically, the optical coupling isolation module is adopted, has the external interference prevention and lightning protection design, and can realize reliable data transmission between the controller and a lower computer (such as an electronic tag or a roadway indicator lamp).
4. An output system:
referring to fig. 8, the output system is a four-way bus LED indicator module; and the bus is used for indicating that the data transmission is carried out in the current time period and indicating the bus state of the control board.
5. A power supply system:
referring to fig. 9, the power supply system includes an external DC24V to 5V power circuit and a DC24V to 3.3V power circuit; the two power supplies adopt a voltage conversion chip LM22674MRX. The DC 24V-to-5V power circuit provides power for the RS485 communication module and the four-way bus LED indicator lamp module; the DC 24V-to-3.3V power supply circuit provides power for the microcontroller module, the Ethernet module and the dial switch module; the input end of the DC24V circuit is provided with a fuse, so that a board card power supply can be protected, and the problem of the power supply can be solved conveniently.
The electronic tag controller software comprises 5 functional modules, namely a system initialization module, a communication processing module, an alarm module, a human-computer interaction module and a controller self-checking module, and the overall structure of the software is shown in fig. 10.
1. System initialization module
The system initialization module mainly realizes the initialization function of the system serial port, the clock and the IO port.
2. Communication module
The communication module mainly realizes the communication function between the controller and an upper control system, and between the controller and a lower computer (such as an electronic tag or a roadway indicator lamp). Data transmission is carried out between the controller and the upper control system based on a TCP/IP protocol of socket; the communication between the controller and the lower computer mainly adopts an RS485 serial port and conforms to a modbus communication protocol.
3. Alarm module
The alarm module is mainly used for monitoring the state of a lower computer controlled by the alarm module in real time, and can alarm in time and carry out exception handling when an abnormal condition occurs.
4. Man-machine interaction module
The man-machine interaction module mainly realizes the control of the four serial lamps. The method can be realized by setting each serial port to be 0/1.
5. Controller self-checking module
The controller self-checking module can be arranged through the plugging state and the connection of the network port, and the detection of the self state of the controller is realized.
The embodiment of the invention provides a 485 bus-based four-channel electronic tag controller, which has the working principle that: the controller is connected with the upper computer through a network cable, and a TCP/IP protocol is adopted for network communication. After the upper computer issues the command, the controller receives the data, processes and repackages the data, the data are forwarded to the lower computer through the RS485 bus, and the lower computer executes corresponding operation according to the command of the controller. The controller can also monitor the state of the lower computer controlled by the controller in real time, and can also send alarm information to the upper computer when abnormal conditions occur to perform abnormal processing. After the task is issued, the controller waits for the response replied by the lower computer, calculates and processes the received response, packages and reports the received response to the upper computer, and the controller completes the data transmission of the whole task.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (9)
1. The utility model provides a four-channel electronic tags controller based on 485 bus which characterized in that includes: the system comprises an input system, a control system, a communication system, an output system and a power supply system;
the input system is used for setting or modifying a network address and inputting the network address to the control system;
the control system is used for realizing system data exchange, signal control and module management functions through the communication system and sending results to the output system;
the output system is used for displaying the state of the 485 bus;
the power supply system is used for supplying power to each system in the controller.
2. The 485-bus-based four-channel electronic tag controller as claimed in claim 1, wherein said input system is constituted by an 8-bit dial switch.
3. The 485-bus-based four-channel electronic tag controller as claimed in claim 1, wherein the control system is an ARM core controller, and an ST series STM32F407ZGT6 chip is adopted.
4. The 485-bus-based four-channel electronic tag controller according to claim 1, wherein the communication system comprises an ethernet module and a four-way RS485 communication module;
the Ethernet module adopts a 100M RJ-45 network communication interface and is used for realizing the communication between the controller and the upper computer software;
the four RS485 communication modules adopt aerial plug interfaces, support RS485 communication protocols and are used for realizing data interaction between the controller and the lower computer.
5. The 485-bus-based four-channel electronic tag controller according to claim 4, wherein said Ethernet module employs LAN8720A portal chip.
6. The four-channel electronic tag controller based on 485 bus of claim 4, wherein the four RS485 communication modules are optical coupling isolation modules.
7. The 485-bus-based four-channel electronic tag controller according to claim 1, wherein the output system is a four-way bus LED indicator light module; and the bus is used for indicating that the data transmission is carried out in the current time period and indicating the bus state of the control board.
8. The 485-bus-based four-channel electronic tag controller according to claim 4, wherein the power supply system comprises an external DC24V to 5V power supply circuit and a DC24V to 3.3V power supply circuit;
the external DC 24V-to-5V power supply circuit is used for providing power for the four RS485 communication modules and the output system;
and the DC 24V-to-3.3V power supply circuit is used for supplying power to the control system, the Ethernet module and the input system.
9. The 485-bus-based four-channel electronic tag controller as claimed in claim 8, wherein the external DC24V to 5V power circuit and the DC24V to 3.3V power circuit both employ LM22674MRX chips.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211552227.8A CN115841128A (en) | 2022-12-05 | 2022-12-05 | Four-channel electronic tag controller based on 485 bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211552227.8A CN115841128A (en) | 2022-12-05 | 2022-12-05 | Four-channel electronic tag controller based on 485 bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115841128A true CN115841128A (en) | 2023-03-24 |
Family
ID=85578066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211552227.8A Pending CN115841128A (en) | 2022-12-05 | 2022-12-05 | Four-channel electronic tag controller based on 485 bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115841128A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020059485A1 (en) * | 2000-07-13 | 2002-05-16 | Schneider Automation | Controller internal bus supporting the TCP/IP Protocol |
CN101119238A (en) * | 2006-07-31 | 2008-02-06 | 深圳达实智能股份有限公司 | Ethernet based building controller |
CN201845225U (en) * | 2010-10-29 | 2011-05-25 | 浙江大学 | Building controller based on 32-bit ARM (Advanced RISC Machine) processor |
CN205809631U (en) * | 2016-07-05 | 2016-12-14 | 华北电力大学(保定) | A kind of 16 passage high accuracy data synchronous acquisition devices |
CN209314112U (en) * | 2019-02-25 | 2019-08-27 | 昆山市华显光电科技有限公司 | Electronic tag gateway |
-
2022
- 2022-12-05 CN CN202211552227.8A patent/CN115841128A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020059485A1 (en) * | 2000-07-13 | 2002-05-16 | Schneider Automation | Controller internal bus supporting the TCP/IP Protocol |
CN101119238A (en) * | 2006-07-31 | 2008-02-06 | 深圳达实智能股份有限公司 | Ethernet based building controller |
CN201845225U (en) * | 2010-10-29 | 2011-05-25 | 浙江大学 | Building controller based on 32-bit ARM (Advanced RISC Machine) processor |
CN205809631U (en) * | 2016-07-05 | 2016-12-14 | 华北电力大学(保定) | A kind of 16 passage high accuracy data synchronous acquisition devices |
CN209314112U (en) * | 2019-02-25 | 2019-08-27 | 昆山市华显光电科技有限公司 | Electronic tag gateway |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201111677Y (en) | Total distributed fire disaster alert control system | |
CN201029023Y (en) | Intelligent switch power source communication protocol converter | |
CN108333961A (en) | A kind of new distribution network data acquisition terminal | |
CN202583795U (en) | Hot-plug PLC multi-interface communication module | |
CN204557149U (en) | A kind of host computer remote communication module of multibeam laser light source module monitoring | |
CN203658477U (en) | DC power distribution device intelligent monitoring and energy consumption monitoring system | |
CN205880552U (en) | But intelligent building control system's redundant controller | |
CN115841128A (en) | Four-channel electronic tag controller based on 485 bus | |
CN210469832U (en) | Industrial lamp networking intelligent control system | |
CN109951383B (en) | Engineering safety monitoring wireless gateway system | |
CN201489361U (en) | Extensible zone controller based on CAN bus | |
CN103343830B (en) | Programmable control valve | |
CN202475463U (en) | Communication terminal monitoring device | |
CN112180820A (en) | Application method of Modbus RTU communication protocol in EDPF-NT Plus system | |
CN201215666Y (en) | Gate inhibition controller | |
CN201689410U (en) | Multiplex switching value bus transmission module | |
CN210670111U (en) | Be applied to communication debugging equipment of wisdom lamp pole | |
CN201345391Y (en) | Control panel system used in electric automobile battery charger | |
CN101436043B (en) | Communication method of communication server | |
CN202587019U (en) | Hot-plug Ethernet communication module | |
CN214481057U (en) | Multi-channel serial port parallel test system based on Ethernet-to-serial port | |
CN218298821U (en) | Intelligent device monitor compatible with PDU/TH bus | |
CN218514524U (en) | Multifunctional wireless gateway device | |
CN202444328U (en) | Intelligent monitoring device of direct-current power supply equipment | |
CN214413093U (en) | Intelligent street lamp system based on edge calculation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |