A method for automatically configuring parameters of a Wi-Fi wireless vibration sensor
By using NFC tags and host computer software on Wi-Fi wireless vibration sensors, the automatic configuration method solves the problem of manual configuration when sensors are put online and measuring points are replaced. Automatic configuration without manual operation is achieved, reducing the operation and maintenance workload and the risk of information leakage, and improving configuration security and efficiency.
Patent Information
- Application Number
- CN202111531118.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-14
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2041-12-14
AI Technical Summary
Existing Wi-Fi wireless vibration sensors require manual parameter configuration when going online or changing measurement points, resulting in a large workload for operation and maintenance and the risk of information leakage and configuration errors.
The automatic configuration parameter method is adopted. By storing the sensor identifier and network information in the NFC tag near the measurement point, combined with the host computer software and encrypted communication, the sensor can automatically obtain the configuration parameters after installation, avoiding manual operation.
This eliminates the need for manual configuration when sensors go online, reduces operation and maintenance workload, lowers the risk of information leakage and configuration errors, and improves configuration security and efficiency.
Smart Images

Figure CN114630317B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sensor connection, and in particular to a method for automatically configuring parameters of a Wi-Fi wireless vibration sensor. Background Art
[0002] In recent years, battery-powered wireless vibration sensors have become increasingly popular for vibration monitoring of rotating machinery. Wi-Fi wireless vibration sensors typically require configuration before use. These parameters typically include the sensor's installation point identifier, the sensor's static IP address, the SSID and password of the AP to which the sensor is connected, and the IP address and receiving port of the edge device.
[0003] In the prior art, each new sensor needs to be manually configured before it goes online. At the same time, if an online sensor is moved to a new measuring point, it also needs to be manually updated to update the configuration parameters, which increases the workload of the sensor operation and maintenance personnel. For the configuration of the sensor, the network administrator needs to inform the sensor operation and maintenance personnel of the configuration information of the on-site network, which poses a risk of network security leaks. At the same time, the sensor operation and maintenance personnel may make mistakes in the configuration parameters of a sensor (for example, an IP configuration error causes two devices in the network to have the same IP address, causing an IP conflict), affecting the normal operation of other Wi-Fi devices connected to the network. For example, a "sensor, sensor management system and sensor management method" disclosed in a Chinese patent document, with announcement number: CN112995336A, discloses that the configuration parameters of the sensor can be saved and modified through a cloud platform, but the security is low and the cloud processing capabilities are too high, making it unsuitable for localized small-scale scene deployment. Summary of the Invention
[0004] To this end, the present invention provides a method for automatically configuring parameters of a Wi-Fi wireless vibration sensor. The method is safe and fast. After the Wi-Fi wireless vibration sensor configuration environment is set up, if a new sensor is subsequently put online for configuration, or if the sensor needs to be reconfigured due to a change in measurement point, the user does not need to manually configure the sensor. The sensor can automatically complete the configuration operation after installation.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] A method for automatically configuring parameters of a Wi-Fi wireless vibration sensor, comprising the following steps:
[0007] S1. Setting an environment for storing the second configuration parameters and the identifier information in a host computer, and storing the identifier information and the first configuration parameters in the environment;
[0008] S2. Deploy wireless sensors to automatically obtain configuration parameters;
[0009] S3. Obtain configuration parameters, which are used to set the environment-specific configuration parameters in the sensor. The first configuration parameter includes the SSID and password of AP1 at the measurement point, and the IP and port information of the configuration server. The second configuration parameter includes the SSID and password of AP2 corresponding to each measurement point, and the IP and service port of the data server. Each sensor can obtain the configuration parameters of the measurement point through communication with the host computer when it goes online, without having to set them specifically.
[0010] Preferably, the S1 includes:
[0011] S11, setting second configuration parameters and identifier information on the host computer of the sensor;
[0012] S12, setting up encrypted communication between the host computer of the sensor and the sensor;
[0013] S13: Setting the first configuration parameter and the identifier information to an NFC tag near the sensor, thereby ensuring that the obtained configuration parameter corresponds to the identifier information.
[0014] Preferably, S2 includes setting the sensor to factory mode. When installing the sensor at the measurement point, the sensor must be in factory mode. If the sensor is newly manufactured, it will be in factory mode when used for the first time. For sensors that have already been configured and used online, press and hold the reset button for 5 seconds upon powering on to enter factory mode. The sensor can be automatically configured when it goes online, eliminating the need for manual operation.
[0015] Preferably, S3 includes:
[0016] S31. The sensor obtains first configuration parameters and identifier information;
[0017] S32, the host computer checks the identifier information of the sensor;
[0018] S33: The sensor obtains the second configuration parameter from the host computer. The required configuration parameter can be obtained through the host computer information, which improves the efficiency of the configuration parameter.
[0019] Preferably, the obtaining of configuration parameters further includes:
[0020] Set up a first AP to provide the first configuration parameters, and set up a second AP for normal sensor data transmission. Separating the AP for obtaining configuration parameters from the AP for data transmission can reduce the risk of leaks and parameter configuration errors.
[0021] Preferably, the sensor is connected to the host computer via the address information in the first configuration parameter, thereby improving configuration security.
[0022] Preferably, the wireless sensor includes a communication module and a computing module connected to the communication module, the communication module is used to obtain configuration parameters and communicate, and the computing module is used for decryption, encryption and algorithm calculation.
[0023] The embodiments of the present invention have the following advantages:
[0024] (1) The sensor can be automatically configured when it goes online without manual operation; (2) The risk of information leakage and errors is reduced; (3) There is no need to manually configure the sensor before use. The sensor can be automatically configured after installation, reducing the workload of sensor operation and maintenance personnel. The network administrator can configure and manage the network parameters of sensors installed at all measurement points on the sensor management system, reducing the risk of leakage and parameter configuration errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] To more clearly illustrate the technical solutions of the present invention or the prior art, the following briefly introduces the drawings required for the embodiments or the prior art descriptions. Obviously, the drawings described below are merely illustrative, and those skilled in the art can derive other implementation drawings based on the provided drawings without inventive effort.
[0026] The structures, proportions, sizes, etc. illustrated in this specification are intended only to complement the contents disclosed herein and to facilitate understanding and reading by persons familiar with the art. They are not intended to limit the conditions under which the present invention may be implemented and therefore have no substantive technical significance. Any structural modifications, changes in proportions, or adjustments in sizes shall remain within the scope of the technical contents disclosed herein without affecting the efficacy and objectives of the present invention.
[0027] Figure 1 Schematic diagram of the network architecture of an embodiment of the present invention.
[0028] Figure 2 This is a flow chart of establishing an automatic sensor configuration environment in an embodiment of the present invention.
[0029] In the picture:
[0030] 1-host computer; 2-first AP; 3-second AP; 4-configuration server; 5-data server;. DETAILED DESCRIPTION
[0031] The following describes the implementation of the present invention using specific embodiments. Those skilled in the art will readily understand the other advantages and benefits of the present invention from the disclosure herein. Obviously, the embodiments described are only a portion of the present invention, not all of it. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present invention without inventive effort are intended to fall within the scope of protection of the present invention.
[0032] like Figure 1-2 As shown, in a preferred embodiment, the present invention discloses a method for automatically configuring parameters of a Wi-Fi wireless vibration sensor, which can be divided into four parts: AP, measuring point NFC tag, Wi-Fi wireless vibrator, and host computer software (configuration server).
[0033] There are two types of APs: primary AP and secondary AP. The primary AP is used for automatic sensor configuration and provides DHCP services. The secondary AP is used for data transmission during normal sensor operation and does not provide DHCP services.
[0034] The networks of the first AP and the second AP are physically isolated, and the device connected to the first AP cannot access the data network of the second AP.
[0035] The NFC tag at the field measurement point is an NFC tag installed near the sensor installation location at the measurement point. It provides the following information: sensor measurement point identifier, SSID and password of the first AP used for connection on site, and IP and port of the configuration server.
[0036] The Wi-Fi wireless vibration sensor mainly includes MCU, vibration acquisition module, Wi-Fi module, NFC module, external storage module, power management module and reset button.
[0037] The MCU module can use STM32 series chips or other MCU chips with a main frequency of more than 100MHz, which can meet the algorithm calculation requirements of the sensor end. The peripheral circuit includes a crystal oscillator module, power-on reset and 3.3V power supply.
[0038] The vibration data acquisition module and ADC chip communicate with the MCU via serial ports such as SPI / I2C.
[0039] The Wi-Fi module communicates with the MCU through the serial port.
[0040] The NFC module is connected to the MCU through the serial port and is used to read the information of the NFC tag at the on-site measurement point.
[0041] The external storage module can use SRAM, EEPROM and Flash chips, and can be connected to the MCU through SPI or serial port. SRAM stores the raw vibration data collected each time, EEPROM stores the configuration parameters of the sensor, and Flash is used to store the characteristic value data of each calculation and the parameter values required for the calculation.
[0042] The power management module is battery-powered and provides 3.3V, 2.5V, and 1.8V power requirements for the entire system.
[0043] The reset button is used when the sensor is powered on. If the sensor detects that the reset button is pressed for 5 seconds, the configured and working sensor will be restored to the factory mode.
[0044] The upper computer software includes functional modules: receiving and sending data, AES encryption and decryption of data, and measurement point information management.
[0045] The process of setting up the sensor automatic configuration service environment is as follows:
[0046] S111. Configure the sensor host computer software and add the identifier information of each measuring point on site, the corresponding second AP SSID and password information, the IP address and service port of the data server to the database.
[0047] S121. The sensor firmware integrates the AES encryption and decryption algorithm. The password used for AES encryption and decryption is configured in the host computer software so that the host computer software can communicate with the sensor through AES encryption.
[0048] S131. Write the measuring point identifier information of each measuring point, the SSID and password information of the first AP of the measuring point, and the IP and port information of the configuration server into the corresponding measuring point NFC tag, and install the tag near the location where the measuring point sensor is installed to confirm that the installed sensor can read the tag information.
[0049] When installing a sensor at a measurement point, the sensor must be in factory mode. If it is a new sensor, it will be in factory mode when used for the first time. For sensors that have been configured and used online, you can enter factory mode by pressing and holding the reset button for 5 seconds when powering on.
[0050] The automatic configuration process of the sensor in factory mode is as follows:
[0051] S311. After the sensor is powered on, the NFC module reads the NFC tag installed at the measuring point, obtains the measuring point identifier information, AP1's SSID and password information, and configures the server's IP and service port.
[0052] S312. The sensor configures the Wi-Fi module to connect to the first AP and obtains an IP address through DHCP.
[0053] S313. The sensor encrypts the measurement point identifier information using AES and sends it to the configuration service host software.
[0054] S321. After receiving the data sent by the sensor, the host computer software performs AES decryption and checks whether the decrypted measurement point identifier information is in the database.
[0055] S331. If the corresponding measuring point identifier information is detected in the database, the static IP address that the sensor of the measuring point needs to be configured, the SSID and password of the second AP to be connected, the IP and port of the data server, and other information are AES encrypted and sent to the sensor.
[0056] S332. After receiving the data sent by the configuration service host computer software, the sensor decrypts it through AES, reconfigures the sensor network, and restarts to enter the normal working module, starting to collect vibration data and upload it to the data server.
[0057] Although the present invention has been described in detail above using general descriptions and specific embodiments, it will be apparent to those skilled in the art that modifications and improvements may be made thereto. Therefore, such modifications and improvements, without departing from the spirit of the present invention, are intended to be within the scope of protection claimed herein.
Claims
1. A method for automatically configuring parameters of a Wi-Fi wireless vibration sensor, characterized in that: The steps include: S1. Setting an environment for storing the second configuration parameters and the identifier information of the measuring point in the host computer, and storing the identifier information of the measuring point and the first configuration parameters in the environment; the second configuration parameters include the SSID and password information of the second AP and the IP and port of the data server; the first configuration parameters include the SSID and password information of the first AP of the measuring point and the IP and port of the configuration server; S2. Deploy wireless sensors to automatically obtain configuration parameters; S3: The sensor reads the NFC tag at the measuring point to obtain the first configuration parameter; the host computer verifies the identifier and issues the second configuration parameter, and the sensor restarts and enters the working mode; the first AP and the second AP are physically isolated, and the first AP is used for the automatic configuration service of the sensor; The second AP is used for data transmission services when the sensor is working normally.
2. The method for automatically configuring parameters of a Wi-Fi wireless vibration sensor according to claim 1, characterized in that: Said S1 comprises: S11, setting second configuration parameters and identifier information on the host computer of the sensor; S12, setting up encrypted communication between the host computer of the sensor and the sensor; S13: Set the first configuration parameter and identifier information into an NFC tag near the sensor.
3. A method for automatically configuring parameters of a Wi-Fi wireless vibration sensor according to claim 1 or 2, characterized in that: The S2 includes setting the sensor to factory mode.
4. The method for automatically configuring parameters of a Wi-Fi wireless vibration sensor according to claim 3, characterized in that: Said S3 includes: S31. The sensor obtains first configuration parameters and identifier information; S32, the host computer checks the identifier information of the sensor; S33: The sensor obtains the second configuration parameter from the host computer.
5. A method for automatically configuring parameters of a Wi-Fi wireless vibration sensor according to claim 1 or 4, characterized in that: The obtaining of configuration parameters further includes: A first AP is set to provide a first configuration parameter; and a second AP is set to be used for normal data transmission of the sensor.
6. The method for automatically configuring parameters of a Wi-Fi wireless vibration sensor according to claim 4, characterized in that: The sensor is connected to the host computer via the address information in the first configuration parameter.
7. The method for automatically configuring parameters of a Wi-Fi wireless vibration sensor according to claim 1, characterized in that: The wireless sensor includes a communication module and a calculation module connected to the communication module. The communication module is used to obtain configuration parameters and perform communication, and the calculation module is used for decryption, encryption and algorithm calculation.
Citation Information
Patent Citations
Sensor, sensor management system, and sensor management method
CN112995336A
Method and device for accessing a contact-less service
EP2887719A1