CN214623647U - RS485 protocol-based one-to-many data acquisition device and system - Google Patents

RS485 protocol-based one-to-many data acquisition device and system Download PDF

Info

Publication number
CN214623647U
CN214623647U CN202120324106.2U CN202120324106U CN214623647U CN 214623647 U CN214623647 U CN 214623647U CN 202120324106 U CN202120324106 U CN 202120324106U CN 214623647 U CN214623647 U CN 214623647U
Authority
CN
China
Prior art keywords
receiving
main control
data acquisition
module
electrically connected
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.)
Active
Application number
CN202120324106.2U
Other languages
Chinese (zh)
Inventor
张川
赖全辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Tuoman Cloud Computing Co ltd
Original Assignee
Zhejiang Tuoman Cloud Computing Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang Tuoman Cloud Computing Co ltd filed Critical Zhejiang Tuoman Cloud Computing Co ltd
Priority to CN202120324106.2U priority Critical patent/CN214623647U/en
Application granted granted Critical
Publication of CN214623647U publication Critical patent/CN214623647U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model provides a one-to-many data acquisition device and system based on RS485 protocol, wherein, the one-to-many data acquisition device based on RS485 protocol electrically connects a plurality of sending terminals of the transceiver module with the same receiving terminal of the main control module; the receiving ends of the receiving and transmitting modules are electrically connected with the transmitting ends of the receiving selection module; the control ends of the plurality of transceiver modules are respectively electrically connected with the plurality of control ends of the main control module; the data transmission between the plurality of transceiver modules and the main control module is realized, the addresses of the transceiver modules are not required to be set, and the measurement can be directly carried out when a new detection instrument is connected into the transceiver modules.

Description

RS485 protocol-based one-to-many data acquisition device and system
Technical Field
The utility model relates to a data acquisition field, concretely relates to a pair of multidata collection system and system based on RS485 agreement.
Background
In the bearing industry, the production process of the bearing needs rough machining, finish machining and other production processes. After the processing by the processes, the dimensions of the bearing can change, such as the dimensions of the inner diameter, the outer diameter, the width and the like of the bearing, the processed product is compared with a standard part to obtain the dimension change, and the dimension change needs to be measured by a precise instrument to be used as a basis for controlling the product quality.
For a product with a plurality of attribute sizes to be measured, a plurality of measuring instruments are required to be used for measurement at the same time. In the prior art, a general RS485 protocol specifies line transmission voltage, data transmission distance, and the like from hardware, and supports configuration of a baud rate, a stop bit, and a check bit, and is a half-duplex communication protocol. The MODBUS-RTU protocol is a protocol which stipulates a software transmission format on the basis of an RS485 protocol, the protocol stipulates that a host and a plurality of slaves share a link channel, the host sends address codes, function codes and data, the slaves analyze the data after receiving the data, and reply if the data is matched with the own address codes, or else do not reply. No communication is made between the slave and the slave. When the master sends query information through a common link, all the slaves are interrupted, and the slave needs to receive the information and analyze whether the information is the address code of the slave, so that the process can cause the data of the display screen to be blocked when the data are quickly refreshed. Meanwhile, in the MODBUS-RTU protocol, the address code of the slave needs to be allocated in advance by the host or the slave supports a custom address code (which cannot be repeated), and in actual use, a worker can replace any one of the instruments without influencing the use of other instruments, so that the existing MODBUS-RTU protocol cannot meet the existing use requirement.
The above problems are currently in need of solution.
SUMMERY OF THE UTILITY MODEL
The utility model provides a pair of multidata collection system and system based on RS485 agreement to the realization need not to judge transceiver module's address and carries out data transmission's purpose immediately.
The utility model provides a technical scheme that its technical problem adopted is: the RS485 protocol-based one-to-many data acquisition device comprises:
the system comprises a main control module, at least one receiving selection module and a plurality of transceiving modules;
the sending end of the main control module is electrically connected with one receiving selection module;
the transmitting ends of the plurality of transceiver modules are electrically connected with the same receiving end of the main control module;
the receiving ends of the receiving and transmitting modules are electrically connected with the transmitting ends of the receiving selection module;
the control ends of the plurality of transceiver modules are respectively electrically connected with the plurality of control ends of the main control module;
the main control module is suitable for sending a control instruction to the receiving selection module, and the receiving selection module is suitable for setting a corresponding transceiver module to be in a sending mode and setting the transceiver module to be in a receiving mode according to the control instruction.
In one embodiment, the number of the receiving selection modules is two, and the two receiving selection modules are connected in series.
In one embodiment, the receive select module is a four 2-input nand gate.
In one embodiment, the model of the receiving selection module is SN74HC 08.
In one embodiment, the transceiver module includes a 485 transceiver chip and a probe interface;
the probe interface is electrically connected with the communication interface of the 485 receiving and transmitting chip;
the measuring head interface is electrically connected with an external micrometer;
the transmitting end of the 485 receiving and transmitting chip is electrically connected with the receiving end of the main control module;
the receiving end of the 485 receiving and transmitting chip is electrically connected with the transmitting end of the receiving selection module;
and the control end of the 485 receiving and transmitting chip is respectively electrically connected with the control end of the main control module.
In one embodiment, the main control module comprises a main control chip, a read-write chip and a flash memory;
the main control chip is electrically connected with the read-write chip and the flash memory respectively.
In one embodiment, the master control module further comprises an alarm;
the main control chip is electrically connected with the alarm.
In one embodiment, the model of the main control chip is stm32f 103.
The utility model also provides a pair of multidata collection system based on RS485 agreement, include: the system comprises a host, a one-to-many data acquisition device based on an RS485 protocol and a plurality of slaves.
In one embodiment, the one-to-many data acquisition device based on the RS485 protocol is disposed in the master, and each slave is in communication connection with the transceiver modules 1 to 1.
The utility model has the advantages that: the utility model provides a one-to-many data acquisition device and system based on RS485 protocol, wherein, the one-to-many data acquisition device based on RS485 protocol electrically connects a plurality of sending terminals of the transceiver module with the same receiving terminal of the main control chip; the receiving ends of the receiving and transmitting modules are electrically connected with the transmitting ends of the receiving selection module; the control ends of the plurality of transceiver modules are respectively electrically connected with the plurality of control ends of the main control chip; the data transmission between the plurality of transceiver modules and the main control module is realized, the addresses of the transceiver modules are not required to be set, and the measurement can be directly carried out when a new detection instrument is connected into the transceiver modules.
Drawings
The present invention will be further explained with reference to the drawings and examples.
Fig. 1 is a schematic block diagram of a one-to-many data acquisition device based on RS485 protocol provided by the present invention.
Fig. 2 is a schematic circuit diagram of a receiving selection module of a one-to-many data acquisition device based on RS485 protocol.
Fig. 3 is a schematic circuit diagram of the transceiver module of the one-to-many data acquisition device based on RS485 protocol provided by the present invention.
Fig. 4 is a schematic circuit diagram of the main control module of the one-to-many data acquisition device based on RS485 protocol.
Detailed Description
The present invention will now be described in detail with reference to the accompanying drawings. This figure is a simplified schematic diagram, and merely illustrates the basic structure of the present invention in a schematic manner, and therefore it shows only the constitution related to the present invention.
Example 1
Referring to fig. 1, embodiment 1 provides a one-to-many data acquisition device based on RS485 protocol. The one-to-many data acquisition device based on the RS485 protocol comprises: the device comprises a main control module, at least one receiving selection module and a plurality of transceiving modules.
In this embodiment, the transmitting end of the main control module is electrically connected to one of the receiving selection modules; the transmitting ends of the plurality of transceiver modules are electrically connected with the same receiving end of the main control module; the receiving ends of the receiving and transmitting modules are electrically connected with the transmitting ends of the receiving selection module; the control ends of the plurality of transceiver modules are respectively electrically connected with the plurality of control ends of the main control module; the main control module is suitable for sending a control instruction to the receiving selection module, the receiving selection module is suitable for setting a corresponding transceiver module to be in a sending mode and setting the transceiver module and the corresponding transceiver module to be in a receiving mode according to the control instruction, data transmission between the plurality of transceiver modules and the main control module is achieved, meanwhile, the addresses of the transceiver modules are not required to be set, and measurement can be directly carried out when a new detection instrument is connected into the transceiver modules.
In this embodiment, the number of the receiving selection modules is two, and the two receiving selection modules are connected in series. Specifically, the receive select module is a four 2-input nand gate.
Referring to fig. 2, fig. 2 is a schematic circuit diagram of a receiving selection module. The model of the receiving selection module is SN74HC 08. The four 2-input nand gates selected by the two receiving selection modules are respectively U2 and U12, a 4Y pin of U2 is electrically connected with an RX0 pin of the main control module, a 4B pin of U2 is electrically connected with a 3Y pin of U12, the two receiving selection modules are connected in series, and therefore the receiving ends of the plurality of receiving and transmitting modules are electrically connected with the same sending end of the main control core module.
Referring to fig. 3, fig. 3 is a schematic circuit diagram of a transceiver module. The receiving and transmitting module comprises a 485 receiving and transmitting chip and a measuring head interface; the probe interface is electrically connected with the communication interface of the 485 receiving and transmitting chip; the measuring head interface is electrically connected with an external micrometer; the transmitting end of the 485 receiving and transmitting chip is electrically connected with the receiving end of the main control module; the receiving end of the 485 receiving and transmitting chip is electrically connected with the transmitting end of the receiving selection module; and the control end of the 485 receiving and transmitting chip is respectively electrically connected with the control end of the main control module.
Specifically, the number of the transceiver modules is 8, and the four transceiver modules are divided into two groups, wherein one group of the transceiver modules is electrically connected to the four pins 1A, 1B, 2A, and 2B of the U2, and the other group of the transceiver modules is electrically connected to the four pins 1A, 1B, 2A, and 2B of the U12.
Referring to fig. 4, fig. 4 is a schematic circuit diagram of the main control module. The master control module comprises a master control chip U7, a read-write chip J7 and a flash memory U6; the master control chip U7 is electrically connected to the read/write chip J7 and the flash memory U6, respectively. The model of the main control chip is stm32f 103.
In this embodiment, the main control module further includes an alarm U5; the main control chip U7 is electrically connected with the alarm U5.
Example 2
The embodiment provides a one-to-many data acquisition system based on RS485 protocol, which comprises: the master, the one-to-many data acquisition device based on the RS485 protocol provided by the embodiment and a plurality of slaves.
In this embodiment, the one-to-many data acquisition device based on the RS485 protocol is disposed in the host, and each slave is in communication connection with the transceiver module 1 to 1.
In other embodiments, the transceiver module may be located in a slave.
To sum up, the utility model provides a one-to-many data acquisition device and system based on RS485 protocol, wherein, the one-to-many data acquisition device based on RS485 protocol electrically connects the transmitting ends of a plurality of transceiver modules with the same receiving end of the main control module; the receiving ends of the receiving and transmitting modules are electrically connected with the transmitting ends of the receiving selection module; the control ends of the plurality of transceiver modules are respectively electrically connected with the plurality of control ends of the main control module; the data transmission between the plurality of transceiver modules and the main control module is realized, the addresses of the transceiver modules are not required to be set, and the measurement can be directly carried out when a new detection instrument is connected into the transceiver modules.
In light of the foregoing, it will be apparent to those skilled in the art from this disclosure that various changes and modifications can be made without departing from the scope of the invention. The technical scope of the present invention is not limited to the content of the specification, and must be determined according to the scope of the claims.

Claims (10)

1. A one-to-many data acquisition device based on RS485 protocol is characterized by comprising:
the system comprises a main control module, at least one receiving selection module and a plurality of transceiving modules;
the sending end of the main control module is electrically connected with one receiving selection module;
the transmitting ends of the plurality of transceiver modules are electrically connected with the same receiving end of the main control module;
the receiving ends of the receiving and transmitting modules are electrically connected with the transmitting ends of the receiving selection module;
the control ends of the plurality of transceiver modules are respectively electrically connected with the plurality of control ends of the main control module;
the main control module is suitable for sending a control instruction to the receiving selection module, and the receiving selection module is suitable for setting a corresponding transceiver module to be in a sending mode and setting the transceiver module to be in a receiving mode according to the control instruction.
2. The RS485 protocol based one-to-many data acquisition device as claimed in claim 1, wherein the number of said reception selection modules is two, and two of said reception selection modules are connected in series.
3. The RS485 protocol based one-to-many data acquisition device of claim 2 wherein the receive select module is a four 2 input nand gate.
4. The one-to-many data acquisition device based on the RS485 protocol as claimed in claim 3, wherein the model of the receiving selection module is SN74HC 08.
5. The RS485 protocol based one-to-many data acquisition device according to claim 1, wherein the transceiver module comprises a 485 transceiver chip and a probe interface;
the probe interface is electrically connected with the communication interface of the 485 receiving and transmitting chip;
the measuring head interface is electrically connected with an external micrometer;
the transmitting end of the 485 receiving and transmitting chip is electrically connected with the receiving end of the main control module;
the receiving end of the 485 receiving and transmitting chip is electrically connected with the transmitting end of the receiving selection module;
and the control end of the 485 receiving and transmitting chip is respectively electrically connected with the control end of the main control module.
6. The RS485 protocol based one-to-many data acquisition device according to claim 1, wherein the main control module comprises a main control chip, a read-write chip, and a flash memory;
the main control chip is electrically connected with the read-write chip and the flash memory respectively.
7. The one-to-many data acquisition device based on the RS485 protocol of claim 6, wherein the master control module further comprises an alarm;
the main control chip is electrically connected with the alarm.
8. The one-to-many data acquisition device based on the RS485 protocol as claimed in claim 6, wherein the model of the main control chip is stm32f 103.
9. A one-to-many data acquisition system based on RS485 protocol is characterized by comprising: a master, a one-to-many data acquisition device based on the RS485 protocol as claimed in any one of claims 1-8, and a plurality of slaves.
10. The RS485 protocol based one-to-many data acquisition system according to claim 9, wherein the RS485 protocol based one-to-many data acquisition device is disposed in the host, and each of the slaves is communicatively connected to the transceiver modules 1 to 1.
CN202120324106.2U 2021-02-04 2021-02-04 RS485 protocol-based one-to-many data acquisition device and system Active CN214623647U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120324106.2U CN214623647U (en) 2021-02-04 2021-02-04 RS485 protocol-based one-to-many data acquisition device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120324106.2U CN214623647U (en) 2021-02-04 2021-02-04 RS485 protocol-based one-to-many data acquisition device and system

Publications (1)

Publication Number Publication Date
CN214623647U true CN214623647U (en) 2021-11-05

Family

ID=78440880

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120324106.2U Active CN214623647U (en) 2021-02-04 2021-02-04 RS485 protocol-based one-to-many data acquisition device and system

Country Status (1)

Country Link
CN (1) CN214623647U (en)

Similar Documents

Publication Publication Date Title
US5619722A (en) Addressable communication port expander
CN102045345A (en) Method for realizing position sensor interface supporting various sensor communication protocols
US9165232B2 (en) Radio-frequency identification (RFID) tag-to-tag autoconnect discovery, and related methods, circuits, and systems
CN103248420B (en) Methods, systems and devices for detecting and identifying fiber connection
CN104808096B (en) Based on the list-directed wireless module automatic testing equipment of instrument and method
CN105515911A (en) Gateway automatic test system and method of CAN network
CN105446837B (en) The method, apparatus and system whether detection IIC interface device connects
CN214623647U (en) RS485 protocol-based one-to-many data acquisition device and system
CN112699695B (en) RFID reader-writer software verification device and method and electronic equipment
CN202975800U (en) CAN (controller area network) bus diagnosis system based on WIFI (wireless fidelity) and mobile intelligent terminal
CN103076800B (en) Vehicle intelligent equipment and vehicle data identification system
CN112118166B (en) Multi-chip networking system, method and application
KR20110040827A (en) Conveying information with a pci express tag field
CN108132898A (en) Multiplex communication control method and communication box
CN203894594U (en) Control device for multi-interface communication, environment control device and functional board
CN114660383A (en) Universal ground detection test board card for load manager
CN114416622A (en) Single bus communication system and method
CN100361433C (en) Communication device using three step communication buffer storage
CN109976778B (en) Software updating method and system of vehicle electronic product, upper computer and storage medium
CN107390625B (en) PLC data reading and writing method and system in coal sample detection system
CN201830280U (en) Tester for simulating PROFIBUS-DP master station communication
CN217655531U (en) Radio frequency identification reader-writer interface protocol testing device
CN210441848U (en) Three-channel angle acquisition card based on EnDat protocol
CN210780821U (en) Intelligent monitoring device for transmission rate of LoRa communication network
CN103605622B (en) A kind of method and apparatus transmitting data

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant