Disclosure of Invention
The invention aims to solve the technical problem of overcoming the defects of the prior art and provides a visualization-based laser ranging system which is simple in structure, convenient to use, strong in linkage of all devices, high in monitoring accuracy and low in energy consumption.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
a visualization-based laser ranging system comprises a laser ranging device, a normally dormant camera device and a communication module for communicating the laser ranging device and the camera device with a processing terminal, wherein the laser ranging device is in communication connection with the camera device; the laser ranging device is used for ranging a point to be monitored and obtaining distance information, comparing the distance information with an internal prestored alarm threshold value, and sending an alarm signal to the processing terminal and the camera device according to a comparison result; the camera device is used for awakening after receiving the alarm signal and shooting a point to be monitored to obtain image information; the communication module is used for sending the alarm signal, the distance information and the image information to the processing terminal.
As a further improvement of the above technical solution:
the camera device is connected above the laser ranging devices in a rotating mode, awakens after receiving an alarm signal of one laser ranging device and rotates to a position corresponding to the laser ranging device, and shoots a to-be-monitored point corresponding to the laser ranging device to obtain image information.
And the processing terminal is used for sending an alarm threshold value to the laser ranging device through the communication module before the visualization-based laser ranging system runs.
And the laser ranging device sends an alarm signal to the processing terminal and the camera device when the currently obtained distance information exceeds a first alarm threshold and/or the distance information deviation value obtained by accumulating the set times exceeds a second alarm threshold.
The laser ranging device sends an alarm signal to the processing terminal and the camera device when the currently obtained distance information exceeds a first alarm threshold value in a first alarm mode;
the laser ranging device sends an alarm signal to the processing terminal and the camera device when the distance information deviation value obtained by accumulating the set times exceeds a second alarm threshold value in a second alarm mode;
and the laser ranging device sends alarm signals to the processing terminal and the camera device when the currently obtained distance information exceeds the first alarm threshold value and the distance information deviation value obtained by accumulating the set times exceeds the second alarm threshold value in the third alarm mode.
The processing terminal is used for sending an alarm mode instruction to the laser ranging device through the communication module before the laser ranging system based on visualization runs, and the laser ranging device runs the first alarm mode, the second alarm mode or the third alarm mode according to the alarm mode instruction.
And the processing terminal is used for sending a signal to control the camera device to shoot the monitored point again to obtain the image information when the received image information is lower than the set pixel.
The laser ranging device and the camera device are connected to the mounting frame and connected to a set position through the mounting frame, and the camera device is located above the laser ranging device.
The relative position accessible mounting bracket of laser rangefinder and camera device is adjusted, the mounting bracket is including the first installation arm of connecting laser rangefinder, the second installation arm of connecting camera device and connecting seat, be equipped with a plurality of through-holes of arranging according to the row on the connecting seat, be equipped with the connecting hole on first installation arm and/or the second installation arm to the through-hole fastening that penetrates connecting hole and connecting seat through the fastener.
The laser ranging device is characterized in that a turntable is arranged on the mounting frame, the turntable is hinged to the mounting frame body through a horizontal axis, and the laser ranging device is connected to the turntable through a bearing perpendicular to the turntable.
Compared with the prior art, the invention has the advantages that:
the invention discloses a visualization-based laser ranging system, which comprises a laser ranging device, a camera device and a communication module for communicating the laser ranging device and the camera device with a processing terminal, wherein the laser ranging device is in communication connection with the camera device. In the working process, the laser ranging device monitors a point to be monitored, obtains distance information of the point to be monitored, compares the distance information with an alarm threshold value, and directly sends the distance information to the processing terminal through the communication module and is displayed by the processing terminal when the distance information does not exceed the alarm threshold value; because the laser ranging device can meet the monitoring requirement in the process, the camera device is always in a dormant state in the process, and the energy consumption is lower than that required in a starting state. When the distance information exceeds the alarm threshold value, the laser ranging device sends an alarm signal to the camera device and the processing terminal, the camera device is awakened by the alarm signal from dormancy so as to shoot image information of a point to be monitored, whether the point to be monitored is abnormally deformed or settled is further confirmed, then the camera device integrates the image information and the distance information to form an image or a video with information such as a distance value, alarm data, the position, date and time of the monitoring point and the like, and the image or the video is sent to the processing terminal for displaying, so that engineering technicians can judge and process the information of the monitoring point more truly.
The distance measuring system provided by the invention can be freely switched between a normal monitoring state and an abnormal monitoring state, the accuracy and the reliability of monitoring data are effectively improved through the camera device, the laser distance measuring device and the camera device can realize linkage operation, the monitoring data, pictures and short videos can be mutually proved, and the reliability and the stability of the monitoring system are further ensured. Meanwhile, the camera device cannot be in a starting state all the time, so that the requirement on energy supply equipment is lower, the energy consumption is reduced, and stable, effective and long-term good monitoring can be kept even if the camera device is arranged in a field monitoring scene only powered by photovoltaic power.
Detailed Description
In order to facilitate understanding of the invention, the invention will be described more fully and in detail with reference to the accompanying drawings and preferred embodiments, but the scope of the invention is not limited to the specific embodiments below.
Example 1:
as shown in fig. 1 and fig. 3, the laser ranging system based on visualization of this embodiment includes a laser ranging device 1, a camera device 2 that is dormant in a normal state, and a communication module that enables the two to communicate with a processing terminal, and the laser ranging device 1 is in communication connection with the camera device 2. In the working process, the laser ranging device 1 monitors a point to be monitored, obtains distance information of the point, compares the distance information with an alarm threshold value, and when the distance information does not exceed the alarm threshold value, the laser ranging device 1 directly sends the distance information to a processing terminal through a communication module and the processing terminal displays the distance information; since the laser distance measuring device 1 can already meet the monitoring requirements in this process, the camera device 2 is always in the sleep state in this process, and the energy consumption is lower than that required in the start-up state. When the distance information exceeds the alarm threshold value, the laser ranging device 1 sends an alarm signal to the camera device 2 and the processing terminal, the camera device 2 is awakened by the alarm signal from dormancy so as to shoot image information of a point to be monitored, whether the point to be monitored is abnormally deformed or subsided is further confirmed, then the camera device 2 integrates the image information and the distance information to form an image or a video with information such as a distance value, alarm data and the position, date and time of the monitoring point, and the image or the video is sent to the processing terminal for displaying, so that engineering technicians can judge and process the information of the monitoring point more truly. The superposition of the data information to the video or the picture is completed in an integrated processing module of the camera device 2, namely information synthesis front-end, but not a data processing mechanism of a common monitoring camera, namely the data processing mechanism is completed in a background video monitoring processing platform, and the superposition mode has the advantages of quicker operation and more efficient processing.
The ranging system of this embodiment is in monitoring normal condition and the conversion freely under the abnormal state, effectively improves the accuracy and the reliability of monitoring data through camera device 2 for laser ranging device 1 can realize the linkage operation with camera device 2, and then makes monitoring data and picture, short video can be witnessed each other, further guarantees monitoring system's reliability and stability. Meanwhile, the camera device 2 is not always in a starting state, so that the requirement on energy supply equipment is lower, the energy consumption is reduced, and stable, effective and long-term good monitoring can be kept even if the camera device is arranged in a field monitoring scene only powered by photovoltaic power.
In this embodiment, the camera device 2 is rotatably connected above the plurality of laser ranging devices 1, wakes up after receiving an alarm signal of a certain laser ranging device 1, rotates to a position corresponding to the laser ranging device 1, and shoots a point to be monitored corresponding to the laser ranging device 1 to obtain image information. Since the abnormal condition is not always generated in the monitoring process, the camera device 2 is in the dormant state most of the time, and the mode that one camera device 2 is linked with a plurality of laser ranging devices 1 is adopted in the embodiment, compared with the one-to-one linkage mode, the demand of the camera device 2 is reduced, the working time ratio of the camera device 2 to the laser ranging devices 1 is improved, and the service period of the camera device 2 is fully utilized.
In this embodiment, the camera selected by the camera device 2 is a dome camera capable of capturing and recording a screen at any angle in a spatial range, and a 4G internet of things card can be inserted to communicate with the processing terminal. The laser ranging device 1 is in wired connection with the camera device 2 through an RS485 communication line.
In this embodiment, the laser ranging device 1 may emit a laser source with a large power to the monitored point, and then settle the reflected laser signal to obtain the distance information between the laser source and the monitored point. The laser ranging device 1 in this embodiment adopts a ranging algorithm of full-phase fourier transform, and has functions of data acquisition, address query/modification, and the like, which are functions of an existing laser ranging sensor or ranging equipment.
In this embodiment, as shown in fig. 2, the communication module includes a 4G internet of things card disposed on the camera device 2 and a communication circuit connected to the laser ranging device 1, the communication circuit integrates three communication circuits, namely 4G, 5G and beidou short message communication, into the same circuit, and the switching manner of the three is realized by a mechanical toggle switch. When a 5G signal exists and the signal strength is strong, the 5G communication can be replaced, and the transmission speed and the stability are higher; when the 4/5G signal does not exist or the signal strength is very weak, Beidou short message communication can be adapted, and stable transmission can be achieved; laser rangefinder 1's master control chip STM32F103C8T6 total 3 serial ports, wherein serial ports 1 is used for the distance information acquisition of laser emergence module, and serial ports 2 configuration RS485 communication circuit is connected with camera device 2, and serial ports 3 is used for connecting communication circuit.
In this embodiment, the processing terminal is configured to send an alarm threshold to the laser ranging device 1 through the communication module before the operation of the laser ranging system based on visualization, and the laser ranging device 1 determines whether the distance information is abnormal according to the received alarm threshold. The alarm threshold value can be set manually according to different terrains, different building structures and different environments.
In this embodiment, the laser ranging apparatus 1 has three alarm modes of operation:
the laser ranging device 1 sends an alarm signal to the processing terminal and the camera device 2 when the currently obtained distance information exceeds a first alarm threshold value in a first alarm mode; namely, the first alarm threshold value is the normal range of single distance information, and when the single distance information exceeds the range, the abnormal deformation of the point to be monitored compared with the normal form is shown.
The laser ranging device 1 sends an alarm signal to the processing terminal and the camera device 2 when the distance information deviation value obtained by accumulating the set times exceeds a second alarm threshold value in a second alarm mode; namely, the second alarm threshold is a normal range of the deformation process or the monitoring error, and when the deviation value between the accumulated distance information for multiple times exceeds the range, the abnormal deformation of the point to be monitored is shown.
And the laser ranging device 1 sends alarm signals to the processing terminal and the camera device 2 when the currently obtained distance information exceeds the first alarm threshold value and the distance information deviation value obtained by accumulating the set times exceeds the second alarm threshold value in the third alarm mode. Not only is the single distance information judged, but also the accumulated distance information deviation value is judged, and the condition of the point to be monitored is monitored more comprehensively.
In this embodiment, the processing terminal is further configured to send an alarm mode instruction to the laser ranging device 1 through the communication module before the operation of the laser ranging system based on visualization, and the laser ranging device 1 operates the first alarm mode, the second alarm mode, or the third alarm mode according to the alarm mode instruction to operate different monitoring situations.
In this embodiment, the camera device 2 shoots a picture of a point to be monitored, records a short video for a period of time (usually 15 seconds), and then uses the communication module to push the picture and video stream information to the processing terminal, and the processing terminal can identify the captured picture and video stream information, and if the pixel is too low, sends an instruction to enable the camera device 2 to capture the picture and the short video again.
In this embodiment, as shown in fig. 4, the system further includes a mounting frame 3, and the laser ranging device 1 and the camera device 2 are both connected to the mounting frame 3 and connected to the setting position through the mounting frame 3, so that the relative positions of the laser ranging device 1 and the camera device 2 are more stable. The mounting frame 3 is fixed at a solid and reliable position through the fixing base by the fastening bolt, the position of the mounting frame cannot be changed easily, and the camera device 2 is positioned above the laser ranging device 1 and is convenient for shooting a to-be-monitored point.
In this embodiment, as shown in fig. 5, the relative positions of the laser distance measuring device 1 and the camera device 2 can be adjusted by the mounting frame 3, the mounting frame 3 includes a first mounting arm 31 connected to the laser distance measuring device 1, a second mounting arm 32 connected to the camera device 2, and a connecting seat 33, a plurality of through holes arranged in rows are provided on the connecting seat 33, and the first mounting arm 31 and the second mounting arm 32 are provided with connecting holes and fastened by fasteners penetrating through the connecting holes and the through holes of the connecting seat 33. In this embodiment, be equipped with level and vertical two through-holes on the connecting seat 33 respectively, horizontal through-hole is used for connecting first installation arm 31, and vertical through-hole is used for connecting second installation arm 32, through being connected with the through-hole of difference, and the horizontal distance between laser rangefinder 1 and camera device 2 can be adjusted to first installation arm 31, and the vertical distance between laser rangefinder 1 and the camera device 2 can be adjusted to second installation arm 32, and the two combines further to realize relative position's comprehensive adjustment.
In this embodiment, a turntable 34 is disposed on the mounting frame 3, the turntable 34 is hinged to the body of the mounting frame 3 around a horizontal axis, and the laser distance measuring device 1 is connected to the turntable 34 through a bearing perpendicular to the turntable 34. After the mounting bracket 3 is fixed, the front and back inclination of the turntable 34 can be adjusted, and the inclination position is fastened by fasteners such as bolts, and then the rotation angle of the laser ranging device 1 is adjusted by the rotation of the bearing, and the positions are fastened by fasteners such as bolts, so that the omnidirectional adjustment of the orientation of the laser ranging device 1 can be realized. The adjustment process is simple and convenient, and the staff can quickly finish the laying. The adjusting structure and the fastening member of the embodiment both adopt the existing structure and the existing conventional adjusting and fastening mode, and are not described herein.
Example 2:
in this embodiment, the processing terminal may also send a data acquisition instruction to the laser ranging device 1 at regular time, and then the laser ranging device 1 may send the obtained distance information to the processing terminal after receiving the data acquisition instruction, where the data transmission format is:
the processing terminal sends: ADDR 11095A444A430720190809{ crc16L crc16H }
The laser ranging device 1 responds by one: ADDR 11095A444A4307____ { crc16L crc16H } -data acquisition
The laser ranging device 1 responds two: ADDR 16095A444A4307____ { crc16L crc16H } -alarm data
Wherein: ADDR represents an address; 11/16 function code (11 data acquisition, 16 alarm data); 09 denotes the data length, starting from "5A" and counting 9 bytes to the right; "5A 444A 43" is a data separator; "____" represents a single precision floating point number of 4 bytes, i.e., the collected distance information. { crc16L crc16H }: indicating the high and low bits of the crc check. Whether the response data is normal collected data or alarm data can be judged through the function codes in the response instruction. Under the general condition, when the alarm information is not generated, only the data acquisition instruction is responded; when the alarm information is generated, both the data acquisition instruction and the alarm data can respond. The precision of the laser distance measuring device 1 in the embodiment can reach +/-1 mm, the measuring range is 0.01 m-40 m, and the parameter index can meet the requirement of high precision.
In this embodiment, the processing terminal sends an alarm threshold instruction, and the laser ranging device 1 responds to a reply instruction after receiving the instruction and completing setting of a corresponding alarm threshold, where the instruction setting format is:
the processing terminal sends: ADDR 13095A444A4307____ { crc16L crc16H }
The laser ranging device 1 responds: ADDR 13095A444A4307535A4347{ crc16L crc16H }
Wherein: ADDR represents an address; 13 denotes a function code; 09 denotes the data length, starting from "5A" and counting 9 bytes to the right; "5A 444A 43" is a data separator; "____" represents a single precision floating point number of 4 bytes, i.e., a threshold range is set. "535A 4347" sets the success identifier for the threshold; { crc16L crc16H }: representing the low and high bits of the crc check.
That is, when the processing terminal receives the threshold setting success identifier in the response data frame, it indicates that the threshold setting was successful. For example: when the alarm threshold value of 30mm is set, the 4-byte 16-system number corresponding to "30 mm" is "41F 00000", and the serial port debugging assistant performs the test, the test result is shown in fig. 6.
In this embodiment, the processing terminal sends an alarm mode instruction, and this embodiment takes two modes of sending a single alarm and an adjacent deviation value alarm as an example, and the test result is shown in fig. 7:
the data with the number "1" is the last test data "44248000" ═ 658mm, the data with the number "2" is the current test data "439B 0000" ═ 310mm, the data with the number "3" is the difference value of two test data "43 AE 0000" ═ 348mm, and the difference value exceeds the alarm threshold value "30 mm", so that the alarm information is uploaded and the alarm difference value is provided.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above-described embodiments. It should be apparent to those skilled in the art that modifications and variations can be made without departing from the technical spirit of the present invention.