Channel Construction, Time Synchronization and Structural Health Monitoring Method Based on Smartphone
A smart phone and construction method technology, applied in the direction of synchronization device, wireless communication, measurement device, etc., can solve the problems of limited results, low reliability of analysis results of modal detection and damage identification, and failure to realize time synchronization of mobile phones, etc. Achieve high reliability and precise results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0032] Specific implementation mode one: the communication channel construction method based on the smart phone wireless local area network of the present implementation mode, including:
[0033] Step 1, prepare several smart phones, one of which is used as a control terminal to build a wireless local area network, and the other is used as a collection terminal to connect to the wireless local area network;
[0034] Step 2, the acquisition end opens a specific port, and waits for the Socket Client to connect as a Socket Server;
[0035] Step 3. Read the Linux kernel / proc / net / arp directory, obtain the IP addresses of all acquisition terminals connected to the wireless LAN of the control terminal, and build a corresponding number of Socket Clients, respectively connect to the SocketServer in each acquisition terminal, and build a complete Socket communication channel.
specific Embodiment approach 2
[0036] Specific embodiment 2: The difference between this embodiment and specific embodiment 1 is: in step 3, if the control terminal actively disconnects all network connections, then repeat step 3 to re-establish the connection; if the acquisition terminal loses the connection with the control terminal , repeat steps 2 and 3 to re-establish the connection with the control terminal.
[0037] Other steps and parameters are the same as those in Embodiment 1.
specific Embodiment approach 3
[0038] Specific implementation mode three: the time synchronization method based on the smart phone wireless local area network of the present implementation mode, such as figure 1 shown, including:
[0039] Step 1, using the method described in the specific implementation mode 1 or 2 to construct the communication channel between the control terminal and each collection terminal;
[0040] Step 2: After receiving the start synchronization signal, the control terminal sends its own time tag t to all collection terminals through the communication channel 1 [1].
[0041] Step 3: The acquisition terminal receives the time stamp t from the control terminal 1 [1], generate a self-time tag t 2 [1].
[0042] Step 4. The control terminal records t 1 [1] and t 2 [1], and record the time tag t of the control end when receiving the time tag returned by the acquisition end 3 [1].
[0043] Step 5. Repeat steps 2 to 4 n times to get the array t 1 [n],t 2 [n],t 3 [n].
[0044] Step ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


