CN111928895B - Data acquisition system and data acquisition method - Google Patents

Data acquisition system and data acquisition method Download PDF

Info

Publication number
CN111928895B
CN111928895B CN202010776971.0A CN202010776971A CN111928895B CN 111928895 B CN111928895 B CN 111928895B CN 202010776971 A CN202010776971 A CN 202010776971A CN 111928895 B CN111928895 B CN 111928895B
Authority
CN
China
Prior art keywords
sensor
data acquisition
network cable
power supply
sensors
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
CN202010776971.0A
Other languages
Chinese (zh)
Other versions
CN111928895A (en
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.)
Shenzhen Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray Technologies 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 Shenzhen Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN202010776971.0A priority Critical patent/CN111928895B/en
Publication of CN111928895A publication Critical patent/CN111928895A/en
Application granted granted Critical
Publication of CN111928895B publication Critical patent/CN111928895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a data acquisition system and a data acquisition method, wherein the data acquisition system comprises: a detection module for detecting environmental data, the detection module comprising at least one sensor, the sensor comprising at least one RJ45 interface, the sensor comprising at least one of an RS485 type sensor and a dry contact type sensor; the data acquisition host comprises an RJ45 interface; the data acquisition host is connected with the sensor through the first network cable, the first network cable comprises two RJ45 connectors, the two RJ45 connectors of the first network cable are respectively plugged into the RJ45 interface of the sensor and the RJ45 interface of the data acquisition host, so that the data acquisition host supplies power to the sensor through the first network cable and obtains the environmental data from the sensor, and the problem that the wiring and wiring modes of the data acquisition host and the sensor in the prior art are complicated is solved.

Description

Data acquisition system and data acquisition method
Technical Field
The invention relates to the technical field of environmental dynamic information management, in particular to a data acquisition system and a data acquisition method.
Background
In order to obtain the environmental state between weak electricity, a sensor and a data acquisition host need to be arranged between the weak electricity, and the data acquisition host is connected with the sensor to obtain the environmental data acquired by the sensor. In the prior art, a data acquisition host provides a special sensor interface for all sensors so that the sensors are connected with the data acquisition host, and as data lines and power supply interfaces of different sensors are different, the number of required power supply interfaces and data lines is increased along with the increase of the number of the sensors.
For example, for an infrared human body sensor, it needs to access the positive pole of the power adapter through its own positive pole, access the negative pole of the power adapter through the grounding end of the electric wire, and access the DIX end and the grounding end of the data transmission terminal controller through two output signal lines, at this time, if the number of sensors needs to be expanded, it needs to further add the power line and the data line. And, the sensor among the prior art inserts the data acquisition host computer through the mode of twisting the screw post, and this mode at first needs carry out the wire stripping to the wire rod, exposes the part of copper wire, then can expose the copper end of wire rod through twisting the screw fixation, if will increase new sensor, then need constantly to repeat this process of twisting the screw post, and this process is consuming time hard, leads to the wiring of data acquisition host computer and sensor and walks the line mode very much complicacy.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a data acquisition system, and aims to solve the problem that in the prior art, the wiring and wiring modes of a data acquisition host and a sensor are complicated.
In order to achieve the above object, the present invention provides a data acquisition system, including: a detection module for detecting environmental data, the detection module comprising at least one sensor, the sensor comprising at least one RJ45 interface, the sensor comprising at least one of an RS485 type sensor and a dry contact type sensor; the data acquisition host comprises an RJ45 interface; the system comprises a first network cable and a data acquisition host, wherein the first network cable comprises two RJ45 connectors, and the two RJ45 connectors of the first network cable are respectively plugged into an RJ45 interface of the sensor and an RJ45 interface of the data acquisition host, so that the data acquisition host supplies power to the sensor through the first network cable and acquires the environmental data from the sensor.
Preferably, the detection module comprises more than two of the sensors, each of the sensors comprising two RJ45 interfaces; the data acquisition system further comprises at least one second network cable, wherein the second network cable comprises two RJ45 connectors, and the two RJ45 connectors of the second network cable are respectively plugged into the RJ45 interfaces of the adjacent sensors.
Preferably, the sensor includes the dry contact type sensor, the RJ45 interface includes an anode power supply terminal, a cathode power supply terminal, a common signal terminal, and at least one independent signal terminal, and the first network cable and the second network cable each include an anode power supply line, a cathode power supply line, a common signal line, and at least one independent signal line, where the anode power supply line is connected to the anode power supply terminal, the cathode power supply line is connected to the cathode power supply terminal, the common signal line is connected to the common signal terminal, and the independent signal line is connected to the independent signal terminal, so that the RJ45 connector is connected to the RJ45 interface.
Preferably, the number of the dry contact type sensors is 2 or more, the dry contact type sensors further include a control device and a dial switch, wherein: the control device is connected with the common signal end, the positive power end and the negative power end, and the dial switch is connected with the independent signal end and the control device so as to control the control devices of different dry contact type sensors to be connected with different independent signal ends.
Preferably, the dry contact type sensor includes a water leakage detecting sensor, a door sensor, and a human body detecting sensor.
Preferably, the sensor includes the RS485 type sensor, the RJ45 interface includes an anode power supply terminal, a cathode power supply terminal, a first signal terminal and a second signal terminal, and the first network cable and the second network cable each include an anode power supply line, a cathode power supply line, a first signal line and a second signal line, wherein the anode power supply line is connected to the anode power supply terminal, the cathode power supply line is connected to the cathode power supply terminal, the first signal line is connected to the first signal terminal, and the second signal line is connected to the second signal terminal, so that the RJ45 connector is connected to the RJ45 interface.
Preferably, the number of the RS485 type sensors is 2 or more, the RS485 type sensors include a control device, wherein: the control device is connected with the first signal end, the second signal end, the anode power end and the cathode power end.
Preferably, the RS485 type sensor includes a temperature and humidity sensor, an infrared remote controller, a commercial power detection sensor, and an acousto-optic alarm.
The invention also provides a data acquisition method, which is applied to the data acquisition host, and comprises the following steps: the environmental data that obtains at least a sensor detection through first net twine, wherein, the sensor with the data acquisition host computer all is provided with the RJ45 interface, the RJ45 interface on the data acquisition host computer passes through first net twine connection the sensor and to the sensor power supply.
Preferably, the step of acquiring the environmental data detected by the at least one sensor through the first network cable further comprises:
and sending the environmental data to an environmental monitoring terminal so that the environmental monitoring terminal monitors the environmental state based on the environmental data.
Preferably, the number of the sensors is more than 2, the sensors include two RJ45 interfaces, adjacent sensors are connected by a second cable, the second cable includes two RJ45 connectors, the two RJ45 connectors of the second cable are respectively plugged into the RJ45 interfaces of the adjacent sensors, and the step of acquiring the environmental data detected by at least one sensor through the first cable includes:
and acquiring the environmental data acquired by the plurality of sensors through the first network cable and the second network cable, and supplying power to the plurality of sensors through the first network cable and the second network cable.
Preferably, the sensor is an RS485 type sensor, and the step of acquiring the environmental data detected by the at least one sensor through the first network cable further includes:
acquiring identification information of the RS485 type sensor;
and distributing a communication address to the RS485 type sensor according to the identification information, and binding the communication address with the identification information.
The RJ45 connector of the first network cable is connected with the RJ45 interface on the data acquisition host, and the RJ45 interface on the sensor is connected with the other connector of the first network cable, so that the data acquisition host can supply power to the sensor through the RJ45 interface and the first network cable, and obtains environmental data from the sensor.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic diagram of a data acquisition system according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a data acquisition system according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a data acquisition system according to another embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a data acquisition system according to another embodiment of the present invention;
FIG. 5 is a schematic flow chart diagram illustrating a data collection method according to an embodiment of the present invention;
FIG. 6 is a schematic flow chart diagram illustrating a data collection method according to another embodiment of the present invention;
FIG. 7 is a schematic flow chart diagram illustrating a data collection method according to another embodiment of the present invention;
fig. 8 is a schematic view of an application scenario of the data acquisition system of the present invention.
The reference numbers illustrate:
Figure BDA0002617615080000041
Figure BDA0002617615080000051
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
As shown in fig. 1, in an embodiment, the data acquisition system comprises: a detection module 10, said detection module 10 being configured to detect environmental data, said detection module 10 comprising at least one sensor 30, said sensor 30 comprising at least one RJ45 interface 40, said sensor comprising at least one of an RS485 type sensor 32 and a dry contact type sensor 31; a data acquisition host 20, wherein the data acquisition host 20 comprises an RJ45 interface 40; a first cable 60, wherein the first cable 60 includes two RJ45 connectors 50, and the two RJ45 connectors 50 of the first cable 60 are plugged into the RJ45 interface 40 of the sensor 30 and the RJ45 interface 40 of the data collection host 20, respectively, so that the data collection host 20 supplies power to the sensor 30 through the first cable 60 and acquires the environmental data from the sensor 30.
The detection module 10 is the device of detection environmental data, and the detection module 10 includes sensor 30, and sensor 30 can detect the state of self environment, obtains corresponding environmental data, and sensor 30 is equipped with at least one RJ45 interface 40, and RJ45(Registered Jack 45) interface is partly of RJ45 socket, and RJ45 socket includes RJ45 interface 40 and RJ45 connects 50, and RJ45 connects 50 and includes 8 recesses, 8 contacts.
The data acquisition host 20 is a device for acquiring data detected by the sensor 30, the device is provided with an RJ45 interface 40, a first network cable 60 is a network cable used for connecting the data acquisition host 20 and the sensor 30, two ends of the first network cable 60 are respectively provided with an RJ45 connector 50, one RJ45 connector 50 is plugged in an RJ45 interface 40 of the data acquisition host 20, the other RJ45 connector 50 is plugged in an RJ45 interface 40 of the sensor 30, two pins for supplying power are defined on the RJ45 interface 40, two power supply pins of the RJ45 interface 40 are connected with two power lines in the first network cable 60 to realize connection with the sensor 30, so that the data acquisition host 20 can supply power to the sensor 30, and in addition, pins for receiving and sending data are also defined on the RJ5 interface and are connected with the first network cable 60 to realize data exchange with the sensor 30.
In this embodiment, the RJ45 interface 40 is disposed on the data collection host 20, the RJ45 interface 40 is connected to the RJ45 interface 40 on the sensor 30 through the first network cable 60, so as to achieve the electrical connection and communication connection between the data collection host 20 and the sensor 30, when wiring is performed, the RJ45 connector 50 on the first network cable can be conveniently inserted into the RJ45 interfaces 40 of the data collection host 20 and the sensor 30, and the data collection host 20 can supply power to the sensor 30 through the first network cable 60 and perform data exchange with the sensor 30, and it is not necessary to separately provide a power supply for the sensor, and it is also not necessary to use different cables as power lines and data lines, so that the wiring and routing modes are simpler.
As shown in fig. 2, in the present embodiment based on the above embodiment, the detecting module 10 includes more than two sensors 30, and each sensor 30 includes two RJ45 interfaces 40; the data acquisition system further comprises at least one second network cable 70, wherein the second network cable 70 comprises two RJ45 connectors 50, and the two RJ45 connectors 50 of the second network cable 70 are respectively plugged into the RJ45 interfaces 40 of the adjacent sensors 30.
The detection module 10 includes more than two (including two) sensors 30, each sensor 30 includes two RJ45 interfaces 40, the RJ45 interface 40 of the data acquisition host 20 is connected with one RJ45 interface 40 of any sensor 30 through a first network cable 60, in addition, the sensor 30 connected with the data acquisition host 20 is connected with a second network cable 70 through another RJ45 interface 40, the second network cable 70 is connected with one RJ45 interface 40 of another sensor 30 to realize the connection between adjacent sensors 30, the adjacent sensors 30 can realize electrical connection and data exchange through the second network cable, wherein, the relative position relationship between the two sensors 30 belonging to the two interfaces connected by two connectors 50 adjacent to the second network cable 70, and the second network cable 70 refers to the network cable used for connecting between the sensors 30.
In this embodiment, the number of the sensors 30 in the detection module 10 is two or more, the adjacent sensors 30 are connected through the second network cable 70, when the data acquisition system needs to add a new sensor 30, only two connectors 50 of the second network cable 70 need to be plugged into the RJ45 interfaces 40 of the two sensors 30, the problem that the screw column is screwed again and a power line and a data line are newly added to each new sensor 30 is avoided, the efficiency of the new sensor 30 is improved, and the wiring and connection modes of the connection among the sensors 30 are simplified.
As shown in fig. 3, based on the above embodiment, the present embodiment is provided, where the sensor 30 includes the dry contact type sensor 31, the RJ45 interface 40 includes a positive power source terminal 51, a negative power source terminal 52, a common signal terminal 53, and at least one independent signal terminal 54, and the first network cable and the second network cable each include a positive power line 61, a negative power line 62, a common signal line 63, and at least one independent signal line 64, where the positive power line 61 is connected to the positive power source terminal 51, the negative power line 62 is connected to the negative power source terminal 52, the common signal line 63 is connected to the common signal terminal 53, and the independent signal line 64 is connected to the independent signal terminal 54, so that the RJ45 connector 50 is connected to the RJ45 interface 40.
The number of the dry contact type sensors 31 is more than 2, each dry contact type sensor 31 comprises a control device 80 and a dial switch 90, wherein: the control device 80 is connected to the common signal terminal 53, the positive electrode power source terminal 51 and the negative electrode power source terminal 52, and the dial switch 90 is connected to the independent signal terminal 54 and the control device 80, so as to control the control devices 80 of different dry contact type sensors 31 to be connected to different independent signal terminals 54.
The dry contact type sensor 31 is a sensor defined by summarizing the commonality of the sensor of a certain type, and the dry contact type sensor 31 has the commonality that it has a dry contact, and the dry contact is an electric switch having two states of on and off, and the two contacts of the dry contact have no polarity and are interchangeable.
The dry contact type sensor 31 is provided with an RJ45 interface 40, the RJ45 interface 40 of the dry contact type sensor 31 includes an anode power source terminal 51, a cathode power source terminal 52, a common signal terminal 53 and at least one independent signal terminal 54, the anode power source terminal 51 is a positive terminal of a power supply of the RJ45 interface 40 and corresponds to a positive pin, the cathode power source terminal 52 is a negative terminal of the power supply of the RJ45 interface 40 and corresponds to a negative pin, the common signal terminal 53 is a pin for which connection needs to be established for each dry contact type sensor 31, the independent signal terminal 54 is a pin for which connection is independently established for each dry contact type sensor 31, when the sensor connected to the first network cable 60 and the second network cable 70 is the dry contact type sensor 31, the first network cable 60 and the second network cable 70 include an anode power line 61, a cathode power line 62, a common signal line 63 and at least one independent signal line 64, and the anode power line 61 is a positive power source terminal 51 used for connecting with the RJ45 interface 40 in the first network cable 60 and the second network cable 70 The RJ45 connector 50 and the RJ45 interface 40 can be connected by connecting the positive power source terminal 51 with the positive power line 61, connecting the negative power source terminal 52 with the negative power source terminal 53, connecting the common signal line 63 with the common signal terminal 54, and connecting the independent signal terminal 54 with the independent signal line 64, in the first network line 60 and the second network line 70, wherein the negative power source terminal 52 is connected with the negative power source terminal 62, and the common signal line 63 is connected with the common signal terminal 53, and the independent signal terminal 54 is connected with the independent signal line 64, in the first network line 60 and the second network line 70, the negative power source terminal 52 is connected with the RJ45 interface 40.
When the number of the dry contact type sensors 31 is one, the dry contact type sensors 31 are connected with the data acquisition host 20 through a first network cable 60, when the number of the dry contact type sensors 31 is more than two (including two), each adjacent dry contact type sensor is connected through a second network cable 70, each dry contact type sensor 31 comprises a dial switch 90 and a control device 80, the dial switch 90 is an address switch for operation control, the control device 80 is connected with the dial switch 90, the dial switch 90 is connected with an independent signal end 54, when the dial switch 90 is in a gating state, the control device 80 can communicate with the independent signal end 54, each dry contact type sensor 31 is provided with at least one dial switch 90, when the dry contact type sensors 31 are provided with more than two dial switches 90, each dial switch 90 is connected to an independent signal end 54 by controlling the gating state of each dial switch 90, each dry contact type sensor 31 can only have one dial switch 90 in the on state at the same time, so that in the case of the dry contact type sensor 31 having more than two dial switches 90, the dry contact type sensor 31 can be connected to different independent signal terminals 54 by controlling the on states of the different dial switches 90, thereby connecting different control devices 80 to different independent signal terminals 54.
The dry contact type sensor 31 comprises a water leakage detection sensor, a door magnetic sensor and a human body detection sensor, wherein the water leakage detection sensor is used for detecting whether the environment where the sensor is located leaks water, the door magnetic sensor is used for detecting whether a door is opened, the smoke sensor is used for detecting smoke concentration, the human body detection sensor is used for detecting the existence state of a human body in the environment, the dry contact type sensor 31 is additionally arranged in the detection module, so that the environment data detected by the detection module is more perfect, and the environment data acquired by the data acquisition host machine is more comprehensive.
In the present embodiment, each of the dry contact type sensors 31 is electrically and communicatively connected to the RJ45 interface 40 and the connector 50 of the second network cable 70, so as to simplify the connection between the dry contact type sensors 31, and the dial switch 90 controls the dry contact type sensors 31 to access different independent signal lines 64, so that each of the dry contact type sensors 31 can access the independent signal line 64 to transmit the environment data when there are a plurality of dry contact type sensors 31.
As shown in fig. 4, the present embodiment is proposed based on the above-mentioned embodiment, the sensor includes the RS485 type sensor 32, the RJ45 interface 40 includes a positive power source terminal 51, a negative power source terminal 52, a first signal terminal 55 and a second signal terminal 56, the network cable includes a positive power line 61, a negative power line 62, a first signal line 65 and a second signal line 66, wherein the positive power line 61 is connected to the positive power source terminal 51, the negative power line 62 is connected to the negative power source terminal 52, the first signal line 65 is connected to the first signal terminal 55, and the second signal line 66 is connected to the second signal terminal 56, so that the RJ45 connector 50 is connected to the RJ45 interface 40.
The control device 80 is connected to the first signal terminal 55, the second signal terminal 56, the positive electrode power source terminal 51, and the negative electrode power source terminal 52.
The RS485 type sensor 32 is a type of sensor defined after being distinguished according to the commonality possessed by a certain type of sensor, the commonality possessed by the RS485 type sensor 32 is that it adopts an RS485 protocol, the RS485 protocol is a serial data interface standard, and a bus supports multipoint and bidirectional communication.
The RS485 type sensor 32 is provided with an RJ45 interface 40, the RJ45 interface 40 of the RS485 type sensor 32 includes an anode power source terminal 51, a cathode power source terminal 52, a first signal terminal 55 and a second signal terminal 56, the anode power source terminal 51 is a positive terminal of a power supply source of the RJ45 interface 40 and corresponds to an anode pin, the cathode power source terminal is a negative terminal of the power supply source of the RJ45 interface 40 and corresponds to a cathode pin, the first signal terminal 55 is a pin of the RJ45 interface 40 corresponding to an a signal or a B signal of the RS485 type sensor 32, the second signal terminal 56 is different from the first signal terminal 55 and corresponds to a pin of the RJ45 interface 40 corresponding to the a signal or the B signal of the RS485 type sensor 32, the a signal is also called a non-reverse signal, the B signal is also called a reverse signal, and when the sensor connected by the first network cable 60 and the second network cable 70 is the RS485 type sensor 32, the first network cable 60 or the second network cable 70 includes an anode power source 61, and the second network cable 70 includes the anode power source terminal 61, A negative power line 62, a first signal line 65 and a second signal line 66, wherein the positive power line 61 is a wire core of the first network line 60 and the second network line 70 for connecting with the positive power end 51 of the RJ45 interface 40, the negative power line 62 is a wire core of the first network line 60 and the second network line 70 for connecting with the negative power end of the RJ45 interface 40, the first signal line 65 is a wire core of the first network line 60 and the second network line 70 for connecting with the first signal end 55 of the RJ45 interface 40, the second signal line 66 is a wire core of the first network line 60 and the second network line 70 for connecting with the second signal end 56 of the RJ45 interface 40, the connection of the RJ45 connector 50 to the RJ45 interface 40 may be accomplished by connecting the positive power supply terminal 51 to the positive power line 61, the negative power supply terminal 52 to the negative power line 62, the first signal line 65 to the first signal terminal 55, and the second signal terminal 56 to the second signal line 66.
Under the condition that the number of the RS485 type sensors 32 is one, the RS485 type sensors 32 are connected with the data acquisition host 20 through the first network cable 60, under the condition that the number of the RS485 type sensors 32 is more than two (including two), each adjacent RS485 type is connected through the second network cable 70, each RS485 type comprises a control device 80, and the control device 80 is respectively connected with the first signal end 55, the second signal end 5656, the positive power supply end 51 and the negative power supply end 52 of the RJ45 interface 40, so that the control of the RJ45 interface 40 is realized.
The RS485 type sensor 32 comprises a temperature and humidity sensor, an infrared remote controller, a mains supply detection sensor and an acousto-optic alarm, wherein the temperature and humidity sensor is used for collecting the temperature and the humidity in the environment, the infrared remote controller can send out a control code and is used for controlling equipment such as an air conditioner, the mains supply detection sensor is used for detecting the power condition, for example, whether three-phase voltage is normal or not is checked, the acousto-optic alarm is used for monitoring faults and sending out alarm information when the faults exist, the RS485 type sensor 32 is additionally arranged in a detection module, the environment data detected by the detection module is more perfect, and the environment data acquired by a data acquisition host is more comprehensive.
In this embodiment, each RS485 type sensor 32 is electrically and communicatively connected to each other through its RJ45 interface 40 and the second network cable 70, which simplifies the connection mode between the RS485 type sensors 32.
As shown in fig. 5, the present embodiment provides a data acquisition method, where the data acquisition method includes:
and step S10, acquiring environmental data detected by at least one sensor through a first network cable, wherein the sensor and the data acquisition host are both provided with RJ45 interfaces, and the RJ45 interface on the data acquisition host is connected with the sensor through the first network cable.
The data acquisition host receives environmental data sent by the sensor, wherein after the sensor detects the environmental data, the control device in the sensor sends the environmental data to the data acquisition host through the first network cable, the data acquisition host is a terminal capable of processing the data sent by the sensor, and the terminal refers to computer equipment.
And step S20, sending the environmental data to an environment monitoring terminal so that the environment monitoring terminal monitors the environmental state based on the environmental data.
The environment monitoring terminal is used for monitoring the environment state, can receive the environmental data that the data acquisition host computer sent to according to the environmental data monitoring sensor is in the environment state.
In this embodiment, the environmental data detected by at least one sensor is acquired through the first network cable, and the data is acquired through the RJ45 interface of the data acquisition host and the network cable plugged in the interface to connect with other sensors, so that compared with the prior art, the convenience of expanding the acquired environmental data is improved, because for the data acquisition host, if the type or integrity of the acquired environmental data needs to be expanded, more sensors need to be added, in the prior art, a power line and a data line need to be separately provided when a sensor is added, and a sensor needs to be newly added by screwing a screw post, the process is time-consuming and labor-consuming, the efficiency is low, the difficulty of expanding the environmental data is increased, the environment data is not convenient to expand, and the efficiency of expanding the acquired environmental data is reduced, in this embodiment, the efficiency of expanding the sensor is improved through the RJ45 interface and the second network cable, the efficiency of the environmental data that the extension was gathered when having promoted the environmental data.
As shown in fig. 6, based on the previous embodiment, in the case that the number of the sensors is greater than 2, each sensor includes two RJ45 interfaces, adjacent sensors are connected by a second cable, the second cable includes two RJ45 connectors, two RJ45 connectors of the second cable are plugged into the RJ45 interfaces of the adjacent sensors, respectively, and step S10 includes:
step S11, obtaining the environmental data collected by the plurality of sensors through the first network cable and the second network cable, and supplying power to the plurality of sensors through the first network cable and the second network cable.
In this embodiment, the environmental data that a plurality of sensors were gathered have been obtained through first net twine and second net twine, have realized supplying power for the sensor and having obtained the effect of environmental data from the sensor through first net twine and second net twine, have simplified when gathering environmental data wiring and the line mode of walking between data acquisition host computer and the sensor, between a plurality of sensors.
As shown in fig. 7, the present embodiment is proposed based on the above embodiment, and step S10 includes:
step S30, acquiring identification information of the RS485 type sensor;
and step S40, allocating a communication address to the RS485 type sensor according to the identification information, and binding the communication address with the identification information.
The identification information is information which is configured when the RS485 sensor leaves a factory and is used for uniquely identifying the sensor, for example, the identification information can be a uniquely existing character string, after the data acquisition host receives the identification information sent by the RS485 type sensor, a communication address is allocated to the sensor corresponding to the identification information according to the identification information, the communication address is bound with the identification information, and the binding refers to a process of establishing a unique corresponding relation between the communication address and the representation information.
In this embodiment, the technical effect of communicating with a specific RS485 type sensor is achieved by binding the identification information of the RS485 type sensor with the communication address allocated to the sensor.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A data acquisition system, characterized in that the data acquisition system comprises:
the detection module is used for detecting environmental data and comprises more than two sensors, each sensor comprises two RJ45 interfaces, and the sensors comprise an RS485 type sensor and a dry contact type sensor;
the data acquisition host comprises an RJ45 interface;
the system comprises a first network cable, a second network cable and a data acquisition host, wherein the first network cable comprises two RJ45 connectors, and the two RJ45 connectors of the first network cable are respectively plugged into an RJ45 interface of the sensor and an RJ45 interface of the data acquisition host, so that the data acquisition host supplies power to the sensor through the first network cable and acquires the environment data from the sensor;
at least one second network cable, wherein the second network cable comprises two RJ45 connectors, and the two RJ45 connectors of the second network cable are plugged into the RJ45 interfaces of the adjacent sensors respectively;
when the sensor is the dry contact type sensor, the RJ45 interface includes a positive power supply end, a negative power supply end, a common signal end and at least one independent signal end, and the first network cable and the second network cable each include a positive power supply line, a negative power supply line, a common signal line and at least one independent signal line, where the positive power supply line is connected with the positive power supply end, the negative power supply line is connected with the negative power supply end, the common signal line is connected with the common signal end, and the independent signal line is connected with the independent signal end, so that the RJ45 connector is connected with the RJ45 interface;
the number of the dry contact type sensors is more than 2, the dry contact type sensors further comprise a control device and a dial switch, the control device is connected with the public signal end, the positive electrode power end and the negative electrode power end, and the dial switch is connected with the independent signal end and the control device so as to control the control devices of different dry contact type sensors to be connected to different independent signal ends.
2. The data acquisition system as in claim 1, wherein the dry contact type sensor comprises a water leak detection sensor, a door sensor, and a human body detection sensor.
3. The data acquisition system of claim 1 wherein the sensor comprises the RS485 type sensor and the RJ45 interface comprises a positive power supply terminal, a negative power supply terminal, a first signal terminal, and a second signal terminal, the first and second network cables each comprising a positive power supply line, a negative power supply line, a first signal line, and a second signal line, wherein the positive power supply line is connected to the positive power supply terminal, the negative power supply line is connected to the negative power supply terminal, the first signal line is connected to the first signal terminal, and the second signal line is connected to the second signal terminal such that the RJ45 connector is interfaced with the RJ 45.
4. A data acquisition system according to claim 3, wherein the number of RS485 type sensors is 2 or more, the RS485 type sensors comprising control means, wherein:
the control device is connected with the first signal end, the second signal end, the anode power end and the cathode power end.
5. The data acquisition system as claimed in claim 4, wherein the RS485 type sensor comprises a temperature and humidity sensor, an infrared remote controller, a mains electricity detection sensor and an acousto-optic alarm.
6. A data acquisition method based on the data acquisition system of claim 1, wherein the data acquisition method is applied to a data acquisition host, and the data acquisition method comprises:
the environmental data that obtains at least a sensor detection through first net twine, wherein, the sensor with the data acquisition host computer all is provided with the RJ45 interface, the RJ45 interface on the data acquisition host computer passes through first net twine connection the sensor and to the sensor power supply.
7. The data collection method of claim 6, wherein the step of obtaining environmental data sensed by the at least one sensor via the first network cable further comprises:
and sending the environmental data to an environmental monitoring terminal so that the environmental monitoring terminal monitors the environmental state based on the environmental data.
8. The data collection method of claim 7, wherein the number of the sensors is greater than 2, the sensors include two RJ45 interfaces, adjacent sensors are connected by a second cable, the second cable includes two RJ45 connectors, the two RJ45 connectors of the second cable are plugged into the RJ45 interfaces of the adjacent sensors, respectively, and the step of acquiring the environmental data detected by at least one sensor through the first cable includes:
and acquiring the environmental data acquired by the plurality of sensors through the first network cable and the second network cable, and supplying power to the plurality of sensors through the first network cable and the second network cable.
9. The data collection method of claim 7, wherein when the sensor is an RS485 type sensor, the step of obtaining the environmental data detected by the at least one sensor through the first network cable further comprises:
acquiring identification information of the RS485 type sensor;
and distributing a communication address to the RS485 type sensor according to the identification information, and binding the communication address with the identification information.
CN202010776971.0A 2020-08-04 2020-08-04 Data acquisition system and data acquisition method Active CN111928895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010776971.0A CN111928895B (en) 2020-08-04 2020-08-04 Data acquisition system and data acquisition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010776971.0A CN111928895B (en) 2020-08-04 2020-08-04 Data acquisition system and data acquisition method

Publications (2)

Publication Number Publication Date
CN111928895A CN111928895A (en) 2020-11-13
CN111928895B true CN111928895B (en) 2022-06-17

Family

ID=73306753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010776971.0A Active CN111928895B (en) 2020-08-04 2020-08-04 Data acquisition system and data acquisition method

Country Status (1)

Country Link
CN (1) CN111928895B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185748A (en) * 2011-03-15 2011-09-14 国家无线电监测中心检测中心 Temperature and humidity sensing networking system
CN204595464U (en) * 2015-04-30 2015-08-26 浙江悦居智能科技股份有限公司 A kind of Smart Home board POE supply module
CN105784172A (en) * 2016-03-02 2016-07-20 上海倍鼎测控技术有限公司 Vibration and temperature data collection and measuring method based on network
CN207301680U (en) * 2017-09-14 2018-05-01 浙江国自机器人技术有限公司 A kind of controller and robot
CN207717154U (en) * 2018-02-02 2018-08-10 北京盛世宏博科技有限公司 A kind of RJ45 network humiture sensors powered using POE
CN108682110A (en) * 2018-06-20 2018-10-19 济南泰格电子技术有限公司 A kind of rotating ring management system for monitoring
CN109120415A (en) * 2018-10-08 2019-01-01 杭州鸿雁智能科技有限公司 A kind of house control system based on PoE bus
CN109191766A (en) * 2018-08-18 2019-01-11 重庆尚廷智能科技发展有限公司 A kind of multifunction monitoring system
CN208984977U (en) * 2018-11-19 2019-06-14 烟台市起源电力工程有限公司 A kind of novel remote switch amount control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10053843C1 (en) * 2000-10-30 2002-06-20 Siemens Ag Socket for ethernet plug-in connection has Ethernet communications channel electrically screened from incorporated voltage supply contacts

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185748A (en) * 2011-03-15 2011-09-14 国家无线电监测中心检测中心 Temperature and humidity sensing networking system
CN204595464U (en) * 2015-04-30 2015-08-26 浙江悦居智能科技股份有限公司 A kind of Smart Home board POE supply module
CN105784172A (en) * 2016-03-02 2016-07-20 上海倍鼎测控技术有限公司 Vibration and temperature data collection and measuring method based on network
CN207301680U (en) * 2017-09-14 2018-05-01 浙江国自机器人技术有限公司 A kind of controller and robot
CN207717154U (en) * 2018-02-02 2018-08-10 北京盛世宏博科技有限公司 A kind of RJ45 network humiture sensors powered using POE
CN108682110A (en) * 2018-06-20 2018-10-19 济南泰格电子技术有限公司 A kind of rotating ring management system for monitoring
CN109191766A (en) * 2018-08-18 2019-01-11 重庆尚廷智能科技发展有限公司 A kind of multifunction monitoring system
CN109120415A (en) * 2018-10-08 2019-01-01 杭州鸿雁智能科技有限公司 A kind of house control system based on PoE bus
CN208984977U (en) * 2018-11-19 2019-06-14 烟台市起源电力工程有限公司 A kind of novel remote switch amount control device

Also Published As

Publication number Publication date
CN111928895A (en) 2020-11-13

Similar Documents

Publication Publication Date Title
RU113443U1 (en) ADVANCED CABLE SYSTEM
US7370106B2 (en) Network revision system with local system ports
CN101112042B (en) Distinguishing network interface card from short circuit condition in power over Ethernet system
US20090273334A1 (en) System and Method for Efficient Association of a Power Outlet and Device
US7676571B2 (en) System for monitoring cable interface connections in a network
CN103473193A (en) Portable device and peripheral extension dock
CN109639544A (en) The system and method for automatic distribution address
WO2013119010A1 (en) Power line communication apparatus and method, and load power monitoring apparatus and method using same
CN105353265B (en) A kind of many types of cable detection method of probe-type multicore and detection means
CA2722920C (en) System and method for efficient association of a power outlet and device
CN111928895B (en) Data acquisition system and data acquisition method
JP2009514471A (en) Intelligent patching infrastructure management system
CN102445474B (en) Gas detector, identification method of sensor thereof, and sensor connection detection method
CN201508374U (en) Cascade wiring device of electricity collector and electric meter
US20070078975A1 (en) System For Monitoring Cable Interface Connections In A Network
CN210958413U (en) Probe monitoring device and IPv4/IPv6 translation equipment with same
CN109274611A (en) The method that baseboard management controller switches shared network protocol
CN212085876U (en) UPS power supply system
CN214429534U (en) Sensing device based on power line carrier communication
CN205229911U (en) Management controller's interconnected board
CN217037210U (en) Vehicle bus fault detection device
CN114322233B (en) Air conditioning unit monitoring method, device and equipment and air conditioning system
CN218071524U (en) Gateway interface management system
CN212085760U (en) Multifunctional bus duct
CN210958170U (en) Novel 86 box line arrangement

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
GR01 Patent grant
GR01 Patent grant