Disclosure of Invention
In order to solve the problems, the invention aims to provide an intelligent temperature measurement guide rail terminal, wherein a temperature sensor is arranged on the terminal, the temperature of the terminal is measured in time, measures are taken to avoid the occurrence and the spread of accidents, each acquisition module can be connected with 8 temperature sensors, and the cost is saved.
The purpose of the invention is realized by the following technical scheme: including installing the terminal on the guide rail, including collection module and host terminal, be equipped with temperature sensor on the terminal, temperature sensor passes through the IIC bus and is connected with collection module, every collection module links to each other with 8 temperature sensor at most, collection module passes through communication interface and is connected with the communication of host terminal.
In a preferred embodiment, the acquisition module comprises an acquisition controller, a communication interface and a storage module, and the communication interface and the storage module are both connected with the acquisition controller.
In a preferred embodiment, the acquisition controller is a single chip microcomputer of type STC8A2K08S 2.
In a preferred embodiment, the communication interface is an RS485 interface or a wifi interface.
In a preferred embodiment, the communication interface is a single chip microcomputer with model STC8F2K08S 2.
In a preferred embodiment, the memory module is an eeprom.
In a preferred embodiment, an OLED screen is connected to the acquisition controller.
The invention has the beneficial effects that:
1. the temperature sensor is arranged on the terminal, and the temperature of the terminal is measured in time so as to take measures to avoid the occurrence and the spread of accidents;
2. and each acquisition module can be connected with 8 temperature sensors, so that the cost is saved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The invention will be further described with reference to the drawings and specific examples.
As shown in fig. 1-2, an intelligent temperature measurement rail terminal according to an embodiment of the present invention includes a terminal 8 mounted on a rail, and includes an acquisition module 1 and an upper terminal 5, where the terminal 8 is provided with a temperature sensor 6, the temperature sensor 6 is connected to the acquisition module 1 through an IIC bus, each acquisition module 1 is connected to at most 8 temperature sensors 6, and the acquisition module 1 is in communication connection with the upper terminal 5 through a communication interface 3. Collection module 1 can set up a plurality ofly, is connected with same host terminal 5, and the temperature value of gathering each terminal 8 through collection module 1 transmits host terminal 5 through communication interface 3, and host terminal 5 is the computer. The acquisition module 1 sends acquisition commands to the temperature sensors 6 at regular time according to the IDs of the temperature sensors 6, and receives temperature data from the temperature sensors 6. Every 8 terminals are connected through the bus mode, do not influence the normal wiring of 8 terminals, but 8 temperature conditions of each terminal of real-time supervision of this product, the temperature of occurrence surpassing sets for warning alert value acquisition module 1 and sends alarm signal to upper terminal 5 through the 485 bus or utilize the Wifi mode at once, and reflection time is less than 100ms. upper terminal 5 and can take corresponding treatment, if in time cut off power etc..
The temperature sensor 6 adopts LM75A, LM75A is a temperature sensor of a high-speed I2C interface, can directly convert the temperature into a digital signal within the temperature range of-55 ℃ to +125 ℃, and can realize the accuracy of 0.125 ℃. The MCU can directly read the data in its internal registers via the I2C bus and can operate on the 4 data registers via I2C to set different modes of operation. LM75A has 3 optional logical address pins so that 8 devices can be connected on the same bus simultaneously without address conflicts. LM75A can be configured to different modes of operation. It may be arranged to periodically monitor the ambient temperature in the normal operating mode or to enter an off mode to minimise device power consumption. The OS outputs 2 selectable operating modes: OS comparator mode and OS interrupt mode, the OS output can be active with high or low selection. In the normal operating mode, when the device is powered on, the OS operates in the comparator mode with a temperature threshold of 80 ℃ and a hysteresis threshold of 75 ℃. The low-power-consumption design is adopted, the typical value of working current is 250uA, and the power-down mode is 3.5 uA; wide operating voltage range: 2.8V-5.5V.
The acquisition module 1 comprises an acquisition controller 2, a communication interface 3 and a storage module 4, wherein the communication interface 3 is an RS485 interface 9 or a wifi interface 10, and the communication interface 3 and the storage module 4 are both connected with the acquisition controller 2.
The acquisition controller 2 is a single chip microcomputer with model STC8A2K08S 2. The microprocessor has the advantages of small volume, low power consumption, rich interfaces and the like, and is suitable for being used as microprocessors for a large number of applications. According to user's demand accessible RS485 bus or extension Wifi mode and host computer communication. Meanwhile, the distributed front-end processor is used for preprocessing the collected signals, so that the throughput and the response speed of the whole system are improved. And a processing interface is reserved for further expanding application functions such as acquisition of real-time current monitoring, terminal on-off and the like.
The communication interface 3 is a singlechip of model STC8F2K08S 2. The TC8F2K08S2 is an enhanced 51 single chip microcomputer of STC new STC8 series, and has small size, strong performance and very simple peripheral circuit. The single chip microcomputer with the internal clock frequency of 27MHz has a bright spot with a small packaging size, but the internal RAM of the single chip microcomputer is expanded to 2 Kbytes, and two hardware serial ports are provided. No external clock and external reset circuit etc. are required. The method is suitable for occasions with few IO requirements, high RAM requirements or two serial ports, and can be used as an RS485 or Wifi communication interface.
The memory module 4 is an electrically erasable rewritable read only memory. The EEProm EEPROM contains 4K space for storing system parameters, alarm thresholds, sensor parameters, local ID, etc. EEProm is a semiconductor memory device that can be electronically rewritten many times, and existing information can be erased and reprogrammed on a computer or on a dedicated device. Compared with EPROM, EEPROM can be erased by a specific voltage without ultraviolet irradiation or removal, so that new data can be written.
The acquisition controller 2 is connected with an OLED screen 7. For displaying the temperature value.
Finally, it should be noted that: the above-mentioned embodiments are only used for illustrating the technical solution of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.