CN117834407A - Automatic configuration method of I/O equipment, APP, cloud server and system - Google Patents

Automatic configuration method of I/O equipment, APP, cloud server and system Download PDF

Info

Publication number
CN117834407A
CN117834407A CN202311729747.6A CN202311729747A CN117834407A CN 117834407 A CN117834407 A CN 117834407A CN 202311729747 A CN202311729747 A CN 202311729747A CN 117834407 A CN117834407 A CN 117834407A
Authority
CN
China
Prior art keywords
signal
range
temperature value
app
equipment
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
Application number
CN202311729747.6A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311729747.6A priority Critical patent/CN117834407A/en
Publication of CN117834407A publication Critical patent/CN117834407A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

The invention provides an automatic configuration method of I/O equipment, an APP, a cloud server and a system, wherein the method is characterized in that by programming I/O equipment configuration logic into a digital APP, when intelligent equipment needs to be externally connected with I/O equipment, the intelligent equipment only needs to download the automatic configuration APP of the corresponding I/O equipment, the data acquisition of the I/O equipment can be completed without manual configuration, the I/O equipment is accessed to be free of manual configuration, the configuration step of manual configuration on the I/O equipment in the system development process is omitted, and the system development efficiency is improved.

Description

Automatic configuration method of I/O equipment, APP, cloud server and system
Technical Field
The invention relates to the technical field of intelligent control, in particular to an automatic configuration method of I/O equipment, an APP, a cloud server and a system.
Background
At present, in building automatic control systems, sensors are used for collecting environmental information (such as temperature, humidity and the like), output signals of the sensors are voltage/current, and in order to cope with different use scenes, different sensors generally have fixed measuring range, such as a common current type temperature sensor, which outputs 4-20 mA current signals, and the corresponding temperature range is 0-70 ℃. The system collects voltage/current signals through an I/O interface of the programmable controller and converts the voltage/current signals into actual environment data.
The configuration flow of the programmable controller by the traditional technology is that (1) a sensor range dialing code is set; (2) Configuring an acquisition mode (such as voltage/current) of the I/O interface; (3) Configuring a signal range (such as 0-10V and 4-20 mA) acquired by an I/O interface; (4) The range of the corresponding sensor (e.g. 0-70 deg.c) is configured. It can be seen that, in the development of the control system, the development basically depends on manual operation, and the conventional development mode has two more prominent problems: firstly, the sensor is provided with more integrated configuration steps, and the development efficiency is low; secondly, the signal conversion parameters depend on manual configuration, so that errors are prone to occur, and debugging is complex. The whole project has long delivery cycle and high project cost.
Disclosure of Invention
The invention aims to overcome the technical defects and provide an automatic configuration method of I/O equipment, an APP, a cloud server and a system, so as to solve the problems of complicated operation and low efficiency of manual configuration of the I/O equipment in the related technology.
In order to achieve the technical purpose, the invention adopts the following technical scheme:
according to a first aspect of the present invention, there is provided an automatic configuration method of an I/O device, applied to an APP, including:
reading an I/O signal sent by external I/O equipment, wherein the I/O signal is an I/O voltage signal or an I/O current signal;
and calculating an environment temperature value corresponding to the currently received I/O signal according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range.
Preferably, the calculating, according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range, an ambient temperature value corresponding to a currently received I/O signal includes:
according to the I/O signal range of the I/O equipment and the corresponding temperature value of the I/O signal range, calculating a parameter value in a conversion formula of a characteristic value and the temperature value of the I/O signal;
and inputting the characteristic value of the received I/O signal into the conversion formula to obtain the environment temperature value corresponding to the current received I/O signal.
Preferably, the conversion formula of the characteristic value and the temperature value of the I/O signal is:
y=a·x+b, where a= (y2—y1)/(x 2—x1), b=y2—a·x2, x represents a characteristic value of the I/O signal, and y represents a temperature value;
x2 is the upper limit value of the range of the I/O signal, and x1 is the lower limit value of the range of the I/O signal;
y2 is the upper limit value of the corresponding temperature value of the I/O signal measuring range, and y1 is the lower limit value of the corresponding temperature value of the I/O signal measuring range.
Preferably, the characteristic value of the received I/O signal is input into the conversion formula to obtain an ambient temperature value corresponding to the current received I/O signal, which specifically includes:
and taking the characteristic value of the received I/O signal as the value of the independent variable x, and calculating according to the conversion formula to obtain the value of the dependent variable y as the environmental temperature value corresponding to the current received I/O signal.
According to a second aspect of the present invention, there is provided an I/O device auto-configuration APP comprising:
the reading module is used for reading an I/O signal sent by external I/O equipment, wherein the I/O signal is an I/O voltage signal or an I/O current signal;
the calculation module is used for calculating the environment temperature value corresponding to the currently received I/O signal according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range.
According to a third aspect of the present invention, there is provided an intelligent device comprising:
the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing the I/O equipment automatic configuration APP downloaded by the user;
the processor is used for running the APP to realize the method.
Preferably, if the input mode of the APP is an I/O voltage signal input mode, the intelligent device configures a voltage signal I/O acquisition interface to interface with an I/O device;
if the input mode of the APP is an I/O current signal input mode, the intelligent device configures a current signal I/O acquisition interface to be in butt joint with the I/O device.
Preferably, the range dial of the intelligent device is consistent with the range of the built-in I/O signal of the APP.
According to a fourth aspect of the present invention, there is provided a cloud server for storing the above-mentioned I/O device auto-configuration APP.
According to a fifth aspect of the present invention, there is provided an I/O device auto-configuration system comprising:
the cloud server and the intelligent device are connected with the cloud server in a wireless mode.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
through programming the I/O equipment configuration logic into the digital APP, when the intelligent equipment needs to be externally connected with the I/O equipment, the intelligent equipment only needs to download the automatic configuration APP of the corresponding I/O equipment, and can complete the data acquisition of the I/O equipment without manual configuration, thereby realizing the manual configuration-free access of the I/O equipment, omitting the manual configuration step of the I/O equipment in the system development process and improving the system development efficiency.
Furthermore, by means of the digital APP and the intelligent device, an self-adapting mechanism of the I/O device is realized, automatic acquisition and conversion of the system to the data of the I/O device are realized by means of the binding of the I/O signal and the range mapping, the integration of the data of the device into the system can be completed without manual configuration, engineering deployment efficiency is improved, system development technical threshold is reduced, and development efficiency is improved.
Drawings
FIG. 1 is a flowchart illustrating a method of automatic configuration of an I/O device according to an example embodiment;
FIG. 2 is a schematic block diagram illustrating an I/O device auto-configuration APP, according to an exemplary embodiment.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
Example 1
FIG. 1 is a flow chart illustrating a method of automatic configuration of an I/O device, according to an exemplary embodiment, the method being applied to an APP, as shown in FIG. 1, the method comprising:
s11, reading an I/O signal sent by external I/O equipment, wherein the I/O signal is an I/O voltage signal or an I/O current signal;
and step S12, calculating an environment temperature value corresponding to the currently received I/O signal according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range.
In specific practice, the APP is loaded and operated in an intelligent device, the intelligent device is externally connected with an I/O device, and the intelligent device includes but is not limited to a computer, an upper computer and other electric equipment. The I/O devices include, but are not limited to: various temperature sensors.
It can be appreciated that by programming the I/O device configuration logic into the digital APP, when the intelligent device needs to be externally connected with the I/O device, the intelligent device only needs to download the automatic configuration APP of the corresponding I/O device, and can complete the data acquisition of the I/O device without manual configuration, thereby realizing the manual configuration-free access of the I/O device, omitting the manual configuration step of the I/O device in the system development process, and improving the system development efficiency.
In one possible implementation manner, the calculating, according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range, an ambient temperature value corresponding to a currently received I/O signal includes:
according to the I/O signal range of the I/O equipment and the corresponding temperature value of the I/O signal range, calculating a parameter value in a conversion formula of a characteristic value and the temperature value of the I/O signal;
and inputting the characteristic value of the received I/O signal into the conversion formula to obtain the environment temperature value corresponding to the current received I/O signal.
It should be noted that, when the I/O signal is an I/O voltage signal, the characteristic value of the I/O signal is a voltage value; when the I/O signal is an I/O current signal, the characteristic value of the I/O signal is a current value.
For example, the conversion formula of the characteristic value and the temperature value of the I/O signal is as follows:
y=a·x+b, where a= (y2—y1)/(x 2—x1), b=y2—a·x2, x represents a characteristic value of the I/O signal, and y represents a temperature value;
x2 is the upper limit value of the range of the I/O signal, and x1 is the lower limit value of the range of the I/O signal;
y2 is the upper limit value of the corresponding temperature value of the I/O signal measuring range, and y1 is the lower limit value of the corresponding temperature value of the I/O signal measuring range.
Assuming that the I/O signal range of the current type temperature sensor is x 1-x 2 mA and the corresponding temperature value is y 1-y 2, a conversion formula of the current value and the temperature value is y=a.x+b (wherein a= (y 2-y 1)/(x 2-x 1), and b=y2-a.x2) can be obtained.
Specifically, the characteristic value of the received I/O signal is input into the conversion formula to obtain an ambient temperature value corresponding to the current received I/O signal, specifically:
and taking the characteristic value of the received I/O signal as the value of the independent variable x, and calculating according to the conversion formula to obtain the value of the dependent variable y as the environmental temperature value corresponding to the current received I/O signal.
It can be understood that, according to the technical scheme provided by the embodiment, by establishing the mapping relation between the characteristic value of the I/O signal and the ambient temperature value and solidifying the mapping relation by using a formula, when the characteristic value of one I/O signal is read, the mapping relation is substituted into the formula to be converted, so that the corresponding ambient temperature value can be obtained, the I/O signal is automatically adapted to the measuring range, the engineering deployment does not need to be debugged, the manual operation is reduced, and the engineering deployment efficiency is improved.
Example two
FIG. 2 is a schematic block diagram of an I/O device auto-configuration APP100, as shown in FIG. 1, according to an exemplary embodiment, the APP100 comprising:
the reading module 101 is configured to read an I/O signal sent by an external I/O device, where the I/O signal is an I/O voltage signal or an I/O current signal;
the calculating module 102 is configured to calculate an ambient temperature value corresponding to the currently received I/O signal according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range.
In specific practice, the APP is loaded and operated in an intelligent device, the intelligent device is externally connected with an I/O device, and the intelligent device includes but is not limited to a computer, an upper computer and other electric equipment. The I/O devices include, but are not limited to: various temperature sensors.
It can be appreciated that by programming the I/O device configuration logic into the digital APP, when the intelligent device needs to be externally connected with the I/O device, the intelligent device only needs to download the automatic configuration APP of the corresponding I/O device, and can complete the data acquisition of the I/O device without manual configuration, thereby realizing the manual configuration-free access of the I/O device, omitting the manual configuration step of the I/O device in the system development process, and improving the system development efficiency.
Example III
According to one exemplary embodiment, a smart device is shown, comprising:
the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing the I/O equipment automatic configuration APP downloaded by the user;
the processor is used for running the APP to realize the method.
In specific practice, the APP is loaded and operated in an intelligent device, the intelligent device is externally connected with an I/O device, and the intelligent device includes but is not limited to a computer, an upper computer and other electric equipment. The I/O devices include, but are not limited to: various temperature sensors.
It can be appreciated that by programming the I/O device configuration logic into the digital APP, when the intelligent device needs to be externally connected with the I/O device, the intelligent device only needs to download the automatic configuration APP of the corresponding I/O device, and can complete the data acquisition of the I/O device without manual configuration, thereby realizing the manual configuration-free access of the I/O device, omitting the manual configuration step of the I/O device in the system development process, and improving the system development efficiency.
In specific practice, if the input mode of the APP is an I/O voltage signal input mode, the intelligent device configures a voltage signal I/O acquisition interface to be in butt joint with the I/O device;
if the input mode of the APP is an I/O current signal input mode, the intelligent device configures a current signal I/O acquisition interface to be in butt joint with the I/O device.
In specific practice, the range dialing code of the intelligent device is consistent with the range of the built-in I/O signal of the APP.
It can be appreciated that, according to the technical scheme provided by the embodiment, the self-adapting mechanism of the I/O device is realized through the digital APP and the intelligent device, the automatic acquisition and conversion of the system to the I/O device data are realized through the binding of the I/O signal and the range mapping, the integration of the device data into the system can be completed without manual configuration, the engineering deployment efficiency is improved, the system development technology threshold is reduced, and the development efficiency is improved.
Example IV
According to one exemplary embodiment, a cloud server is shown, and is configured to store the I/O device auto-configuration APP.
It should be noted that, store APP to cloud server for developer to download and use. And in the new construction, the corresponding APP is searched in the cloud according to the type of the I/O equipment, downloaded and bound to the I/O interface of the intelligent equipment, and the operation is simple, and the deployment and implementation are easy.
It can be appreciated that, according to the technical scheme provided by the embodiment, the self-adapting mechanism of the I/O device is realized through the digital APP and the intelligent device, the automatic acquisition and conversion of the system to the I/O device data are realized through the binding of the I/O signal and the range mapping, the integration of the device data into the system can be completed without manual configuration, the engineering deployment efficiency is improved, the system development technology threshold is reduced, and the development efficiency is improved.
Example five
An automatic configuration system for an I/O device is shown according to an exemplary embodiment, comprising:
the cloud server and the intelligent device are connected with the cloud server in a wireless mode.
It should be noted that, store APP to cloud server for developer to download and use. And in the new construction, the corresponding APP is searched in the cloud according to the type of the I/O equipment, downloaded and bound to the I/O interface of the intelligent equipment, and the operation is simple, and the deployment and implementation are easy.
It can be appreciated that, according to the technical scheme provided by the embodiment, the self-adapting mechanism of the I/O device is realized through the digital APP and the intelligent device, the automatic acquisition and conversion of the system to the I/O device data are realized through the binding of the I/O signal and the range mapping, the integration of the device data into the system can be completed without manual configuration, the engineering deployment efficiency is improved, the system development technology threshold is reduced, and the development efficiency is improved.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. An automatic configuration method of an I/O device, applied to an APP, is characterized by comprising:
reading an I/O signal sent by external I/O equipment, wherein the I/O signal is an I/O voltage signal or an I/O current signal;
and calculating an environment temperature value corresponding to the currently received I/O signal according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range.
2. The method of claim 1, wherein calculating the ambient temperature value corresponding to the currently received I/O signal according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range comprises:
according to the I/O signal range of the I/O equipment and the corresponding temperature value of the I/O signal range, calculating a parameter value in a conversion formula of a characteristic value and the temperature value of the I/O signal;
and inputting the characteristic value of the received I/O signal into the conversion formula to obtain the environment temperature value corresponding to the current received I/O signal.
3. The method of claim 2, wherein the characteristic value and temperature value conversion formula of the I/O signal is:
y=a·x+b, where a= (y2—y1)/(x 2—x1), b=y2—a·x2, x represents a characteristic value of the I/O signal, and y represents a temperature value;
x2 is the upper limit value of the range of the I/O signal, and x1 is the lower limit value of the range of the I/O signal;
y2 is the upper limit value of the corresponding temperature value of the I/O signal measuring range, and y1 is the lower limit value of the corresponding temperature value of the I/O signal measuring range.
4. The method of claim 3, wherein the inputting the characteristic value of the received I/O signal into the scaling formula obtains an ambient temperature value corresponding to the current received I/O signal, specifically:
and taking the characteristic value of the received I/O signal as the value of the independent variable x, and calculating according to the conversion formula to obtain the value of the dependent variable y as the environmental temperature value corresponding to the current received I/O signal.
5. An I/O device auto-configuration APP comprising:
the reading module is used for reading an I/O signal sent by external I/O equipment, wherein the I/O signal is an I/O voltage signal or an I/O current signal;
the calculation module is used for calculating the environment temperature value corresponding to the currently received I/O signal according to the I/O signal range of the I/O device and the corresponding temperature value of the I/O signal range.
6. An intelligent device, comprising:
the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing the I/O equipment automatic configuration APP downloaded by the user;
the processor is configured to run the APP and implement the method of any one of claims 1 to 4.
7. The smart device of claim 6, wherein,
if the input mode of the APP is an I/O voltage signal input mode, the intelligent equipment configures a voltage signal I/O acquisition interface to be in butt joint with the I/O equipment;
if the input mode of the APP is an I/O current signal input mode, the intelligent device configures a current signal I/O acquisition interface to be in butt joint with the I/O device.
8. The smart device of claim 6, wherein,
and the range dialing code of the intelligent equipment is consistent with the range of the built-in I/O signal of the APP.
9. A cloud server for storing the I/O device auto-configuration APP of claim 5.
10. An I/O device auto-configuration system, comprising:
the cloud server of claim 9, and the smart device of any of claims 6-8, the smart device being wirelessly connected with the cloud server.
CN202311729747.6A 2023-12-14 2023-12-14 Automatic configuration method of I/O equipment, APP, cloud server and system Pending CN117834407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311729747.6A CN117834407A (en) 2023-12-14 2023-12-14 Automatic configuration method of I/O equipment, APP, cloud server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311729747.6A CN117834407A (en) 2023-12-14 2023-12-14 Automatic configuration method of I/O equipment, APP, cloud server and system

Publications (1)

Publication Number Publication Date
CN117834407A true CN117834407A (en) 2024-04-05

Family

ID=90508965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311729747.6A Pending CN117834407A (en) 2023-12-14 2023-12-14 Automatic configuration method of I/O equipment, APP, cloud server and system

Country Status (1)

Country Link
CN (1) CN117834407A (en)

Similar Documents

Publication Publication Date Title
CN110502467B (en) Universal acquisition interface software system based on serial port modbus communication protocol
CN110113196B (en) Protocol configuration method, device, equipment and medium
CN113595961A (en) Protocol conversion method and system, and gateway device
EP3651474B1 (en) System on a module for smart grid nodes
CN112286747B (en) Method, system, equipment and medium for detecting server cable
CN103123470A (en) Method for controlling a field device
CN104836713A (en) Measurement and calibration method for vehicle electronic controller, device and system
CN110401586B (en) Bus communication method, device, equipment and readable storage medium
CN105955234B (en) Tuning for Controllable Pitch Propeller controller test platform based on enhancing virtual reality technology
CN103314554B (en) DynamicHost configuration file for option mod
CN117834407A (en) Automatic configuration method of I/O equipment, APP, cloud server and system
CN110083141B (en) PLC master control module test method, device and system and computer equipment
CN208781216U (en) Intelligent information managing device and system
CN114442590A (en) Vehicle diagnosis method, apparatus, diagnosis communication device, server, and storage medium
CN114371674A (en) Method and device for sending analog data frame, storage medium and electronic device
CN111026428A (en) System and method capable of simultaneously remotely updating FPGA firmware programs in multiple board cards on line
CN106950852A (en) A kind of data acquisition device
CN110209142B (en) PLC module connection and detection method, device and detection equipment
CN112187766A (en) Modbus protocol conversion terminal configuration method and Modbus protocol conversion terminal
CN204695025U (en) A kind of wireless bus connector based on bluetooth
CN112764673A (en) Storage rate optimization method and device, computer equipment and storage medium
CN118051302B (en) NFC-based singlechip equipment maintenance system and method
CN220085381U (en) Device for remote reading and writing of serial port equipment
CN113176953B (en) On-site debugging terminal, instrument remote debugging system, instrument debugging method and readable storage medium
CN116112357B (en) Visual configuration soft gateway system and implementation method thereof

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