Tower crane height adjusting method and device, computer equipment and storage medium
1. A tower crane height adjusting method is characterized by comprising the following steps:
acquiring the height of a tower crane, the height and the width of a building and the distance between the tower crane and the building;
calculating an angle difference between a first angle and a second angle according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, wherein the first angle is an included angle between a first top point of the building and the tower crane, which are shot by a camera device arranged on the tower crane, and the second angle is an included angle between a second top point of the building and the tower crane, which are shot by the camera device;
calculating the height difference between the height of the tower crane and the height of the building under the condition that the angle difference is larger than an angle threshold value;
and adjusting the height of the tower crane according to the height difference.
2. The method of claim 1, wherein the building comprises a plurality of buildings, the method further comprising:
acquiring a first distance between the tower crane and a target building in the plurality of buildings under the condition that the height of the tower crane cannot be continuously adjusted;
acquiring second distances between the tower crane and other buildings in the plurality of buildings;
and sending early warning information under the condition that the second distance is greater than or equal to the first distance.
3. The method of claim 1 or 2, wherein calculating the angular difference between the first angle and the second angle based on the tower crane height, the building height and width, and the distance between the tower crane and the building comprises:
according to the height of the tower crane, the height of the building and the distance between the tower crane and the building, calculating the first angle through a first formula as follows, wherein the first formula is as follows:
according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, calculating the second angle through a second formula as follows, wherein the second formula is as follows:
calculating an angle difference between the first angle and the second angle according to the first angle and the second angle, wherein the angle difference satisfies a third formula as follows:
wherein tan (·) represents a tangent function operation, arctan (·) represents an arctangent function operation, and θ1Representing an included angle theta between a first vertex of the building shot by the camera device and the tower crane2Representing an included angle between a second top point of the building shot by the camera device and the tower crane, L representing a distance between the tower crane and the building, W representing a width of the building, and h representing a distance between the tower crane and the building1Represents the height, h, of the tower crane2Representing the height of the building.
4. The method of claim 3, wherein the angular difference and the angular threshold satisfy a first inequality as follows:
wherein the content of the first and second substances,representing the angle threshold;
substituting the third formula into the first inequality to obtain a second inequality as follows:
and sorting the second inequality to obtain a third inequality as follows:
5. the method of claim 4, wherein the calculating a difference in height between the tower crane height and the building height comprises:
solving the third inequality by taking the height difference as an independent variable to obtain a fourth inequality that the height difference meets the following requirement:
6. the method of claim 4, wherein calculating the first distance between the tower crane and a target building of the plurality of buildings in the event that the height of the tower crane cannot be further adjusted comprises:
solving the third inequality by taking the first distance as an independent variable to obtain that the first distance satisfies the following fifth inequality:
7. the utility model provides a tower crane height adjusting device which characterized in that includes:
the first acquisition module is configured to acquire the height of a tower crane, the height and the width of a building and the distance between the tower crane and the building;
the first calculation module is configured to calculate an angle difference between a first angle and a second angle according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, wherein the first angle is an included angle between a first vertex of the building and the tower crane, which is shot by a camera device installed on the tower crane, and the second angle is an included angle between a second vertex of the building and the tower crane, which is shot by the camera device;
the second calculation module is configured to calculate a height difference between the height of the tower crane and the height of the building when the angle difference is larger than an angle threshold value;
and the adjusting module is configured to adjust the height of the tower crane according to the height difference.
8. The apparatus of claim 7, wherein the building comprises a plurality of buildings, the apparatus further comprising:
a third calculation module configured to calculate a first distance between the tower crane and a target building of the plurality of buildings if the height of the tower crane cannot be adjusted continuously;
the second acquisition module is configured to acquire a second distance between the tower crane and other buildings in the plurality of buildings;
a sending module configured to send early warning information if the second distance is greater than or equal to the first distance.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
Background
The tower crane, also called tower crane, is the most common hoisting equipment in construction sites, and is used for hoisting construction raw materials such as reinforcing steel bars, wood ridges, concrete, steel pipes and the like for construction. At present, for monitoring and analyzing the operation condition of a construction site, the image of the construction site is shot mainly by a camera device arranged on a tower crane, so that the tower crane must be raised to a reasonable height to ensure the image quality shot by the camera device along with the gradual rise of the height of a building in the construction site.
Among the prior art, the rising of tower crane mainly is accomplished by artifical manual operation, needs adjust many times even sometimes and just can make the tower crane be in suitable position, consequently, can't carry out automatically regulated to the height of tower crane among the prior art, leads to the control efficiency of tower crane low, and control accuracy is poor.
Disclosure of Invention
In view of this, the embodiment of the present disclosure provides a tower crane height adjusting method and apparatus, a computer device, and a computer readable storage medium, so as to solve the problems in the prior art that the tower crane height cannot be automatically adjusted, which results in low control efficiency and poor control accuracy of the tower crane.
In a first aspect of the embodiments of the present disclosure, a tower crane height adjusting method is provided, including: acquiring the height of a tower crane, the height and the width of a building and the distance between the tower crane and the building; calculating the angle difference between a first angle and a second angle according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, wherein the first angle is an included angle between a first top point of the building and the tower crane, which are shot by a camera device arranged on the tower crane, and the second angle is an included angle between a second top point of the building and the tower crane, which are shot by the camera device; calculating the height difference between the height of the tower crane and the height of the building under the condition that the angle difference is greater than the angle threshold value; and adjusting the height of the tower crane according to the height difference.
In a second aspect of the embodiments of the present disclosure, a tower crane height adjusting device is provided, including: the first acquisition module is configured to acquire the height of the tower crane, the height and the width of a building and the distance between the tower crane and the building; the first calculation module is configured to calculate an angle difference between a first angle and a second angle according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, wherein the first angle is an included angle between a first top point of the building and the tower crane, which is shot by a camera device installed on the tower crane, and the second angle is an included angle between a second top point of the building and the tower crane, which is shot by the camera device; the second calculation module is configured to calculate the height difference between the height of the tower crane and the height of the building under the condition that the angle difference is larger than the angle threshold value; and the adjusting module is configured to adjust the height of the tower crane according to the height difference.
In a third aspect of the embodiments of the present disclosure, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above method when executing the computer program.
In a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores a computer program, which when executed by a processor, implements the steps of the above-mentioned method.
Compared with the prior art, the embodiment of the disclosure has the following beneficial effects: through the height that obtains the tower crane, the height and the width of building and the distance between tower crane and the building, height according to the tower crane, the height and the width of building and the distance between tower crane and the building calculate the angle difference of first angle and second angle, wherein, first angle is the contained angle between the first summit of the building and the tower crane that install camera device on the tower crane and shoot, the second angle is the contained angle between the second summit of the building and the tower crane that camera device shot, under the condition that the angle difference is greater than the angle threshold value, calculate the difference in height of the height of tower crane and the height of building, and adjust the height of tower crane according to the difference in height, can realize the automatically regulated of tower crane height, therefore, the control efficiency and the control accuracy of tower crane have been improved.
Drawings
To more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without inventive efforts.
FIG. 1 is a scenario diagram of an application scenario of an embodiment of the present disclosure;
FIG. 2 is a flow chart of a tower crane height adjusting method provided by the embodiment of the disclosure;
FIG. 3 is a flow chart of a tower crane height adjusting method provided by the embodiment of the disclosure;
FIG. 4 is a block diagram of a tower crane height adjusting device provided by the embodiment of the disclosure;
fig. 5 is a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the disclosed embodiments. However, it will be apparent to one skilled in the art that the present disclosure may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present disclosure with unnecessary detail.
A tower crane height adjusting method and device according to an embodiment of the disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 is a scene schematic diagram of an application scenario of an embodiment of the present disclosure. The application scene can include a tower crane 1, a building 2 and a camera device 3.
The tower crane 1 is an indispensable device on a construction site, and is mainly used for industrial and civil building construction with large lifting height and large operation radius, and construction operations of power stations, water conservancy projects, ports, shipbuilding and the like. The tower crane 1 may include, but is not limited to, a tower body, a balance arm, a crane boom, a drawbar, a luffing dolly, a hook, and the like.
Building 2 is broadly an asset that is constructed by man-made construction, and includes both houses and structures; in a narrow sense, means a house, not including a structure. Here, a house refers to an engineering building for people to live, work, study, produce, manage, entertain, store articles, and perform other social activities; the structure refers to a construction other than a house, for example, a fence, a road, a dam, a well, a tunnel, a water tower, a bridge, a chimney, and the like.
The camera 3 may be various devices for capturing image information of a construction site where the tower crane 1 is located, including but not limited to a wide-angle camera, a binocular camera, a Charge Coupled Device (CCD) camera, a wireless camera, a zoom camera, a gun-type camera, a dome camera, a wide-dynamic camera, and the like. Camera device 3 can install on the body of tower crane 1, also can install on the davit of tower crane 1, and this embodiment of this disclosure does not do the restriction to this. Further, a wireless communication module is provided in the camera device 3 to transmit image information captured by the camera device 3 to a tower crane operation room provided on the tower body, a tower crane operation room provided on the ground, or a server via a network.
The network may be a wired network connected by a coaxial cable, a twisted pair and an optical fiber, or may be a wireless network that can interconnect various Communication devices without wiring, for example, Bluetooth (Bluetooth), Near Field Communication (NFC), Infrared (Infrared), and the like, which is not limited in this disclosure.
The server may be a server providing various services, for example, a background server receiving a request sent by the tower crane 1 that establishes a communication connection with the server, and the background server may receive, analyze, and the like the request sent by the tower crane 1 and generate a processing result. The server may be one server, or a server cluster composed of a plurality of servers, or may also be one cloud computing service center, which is not limited in this disclosure.
The server may be hardware or software. When the server is hardware, it can be various electronic devices providing various services for the tower crane 1. When the server is software, the server may be implemented as a plurality of software or software modules providing various services for the tower crane 1, or may be implemented as a single software or software module providing various services for the tower crane 1, which is not limited in the embodiment of the present disclosure.
Taking a server as an example, the tower crane 1 may establish a communication connection with the server via a network to receive or send information and the like. Specifically, after the image information of the building site where the tower crane 1 is located is shot by the camera device 3 arranged on the tower crane 1, the camera device 3 transmits the shot image information to the server through the network; then, the server acquires the height of the tower crane 1, the height and the width of the building 2 and the distance between the tower crane 1 and the building 2, and calculates a first angle between a first vertex of the building 2 and the tower crane 1 and a second angle between a second vertex of the building 2 and the tower crane 1; further, under the condition that the angle difference between the first angle and the second angle is larger than the angle threshold value, the server calculates the height difference between the height of the tower crane 1 and the height of the building 2, and adjusts the height of the tower crane 1 according to the height difference so as to avoid adjusting the tower crane 1 for multiple times.
It should be noted that specific types, numbers, and combinations of the tower crane 1, the server, and the network may be adjusted according to actual requirements of an application scenario, which is not limited in the embodiment of the present disclosure.
FIG. 2 is a flow chart of a tower crane height adjusting method provided by the embodiment of the disclosure. The tower crane height adjusting method of fig. 2 may be performed by a tower crane operation room provided on the tower body of the tower crane 1 of fig. 1, a tower crane operation room provided on the ground, or a server. As shown in fig. 2, the method for adjusting the height of the tower crane comprises the following steps:
s201, acquiring the height of a tower crane, the height and the width of a building and the distance between the tower crane and the building;
s202, calculating an angle difference between a first angle and a second angle according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, wherein the first angle is an included angle between a first top point of the building and the tower crane, which is shot by a camera device arranged on the tower crane, and the second angle is an included angle between a second top point of the building and the tower crane, which is shot by the camera device;
s203, calculating the height difference between the height of the tower crane and the height of the building under the condition that the angle difference is larger than the angle threshold value;
and S204, adjusting the height of the tower crane according to the height difference.
Specifically, referring to fig. 1, taking a server as an example, the server obtains the height h of the tower crane 11Height h of building 22And the width W and the distance L between the tower crane 1 and the building 2, and calculating a first angle theta between a first vertex of the building 2 and the tower crane 1, which is shot by a camera device 3 arranged on the tower crane 11And a second angle theta between a second vertex of the building 2 shot by the camera device 3 and the tower crane 12Angle difference theta of2-θ1(ii) a Further, under the condition that the angle difference is larger than the angle threshold value, the server calculates the height h of the tower crane 11Height h from building 22Height difference h of1-h2And according to the height h of the tower crane 1, the height difference1And (6) carrying out adjustment.
Here, the height h of the tower crane 11The height h of the building 2 can be obtained from the tower crane manufacturer or the product specification of the tower crane 12And (top surface) width W can be obtained from a building plan view, and distance L between tower crane 1 and building 2 in the horizontal direction can be obtained from a construction plan view.
The building 2 may be a residential building such as a general residence, a high-end apartment house, a villa, etc., a public building such as an office building, a shop, a hotel, a movie theater, a gymnasium, an exhibition hall, a hospital, etc., an industrial building such as a factory building, a warehouse, etc., or even an agricultural building such as a bunker, a farm, etc., which is not limited by the disclosed embodiment. Preferably, in the disclosed embodiment, the building 2 is a residential building or a public building.
The image pickup device 3 may be various image pickup apparatuses such as a wide-angle camera, a binocular camera, a charge coupled device camera, a wireless camera, a zoom camera, a gun-type camera, a dome camera, a wide-dynamic camera, and the like. Preferably, in the embodiment of the present disclosure, the image pickup device 3 is a 360 ° wide-angle camera. Further, camera device 3 can install at the body of the tower top of tower crane 1, also can install at the davit top of tower crane 1, or can also install at the dolly top of becoming width of cloth, and this disclosed embodiment does not do the restriction to this. Preferably, in the embodiment of the present disclosure, the camera device 3 is disposed at the top end of the tower body of the tower crane 1, so as to better acquire image information of a building site where the tower crane 1 is located. It should be noted that the specific type, number and installation position of the image capturing devices 3 may be set according to actual needs, and the embodiment of the present disclosure does not limit this.
The angle threshold may be an angle value preset by the user according to empirical data, or an angle value obtained by adjusting the set angle threshold according to actual needs, which is not limited in the embodiment of the present disclosure. For example, the angle threshold may be 1 °, 2 °, 5 °, 10 °, 15 °, 18 °, 20 °, 25 °, 30 °, 35 °, 40 °, 45 °, and so on. Preferably, in the disclosed embodiment, the angle threshold is 2 °.
According to the technical scheme provided by the embodiment of the disclosure, through the height that obtains the tower crane, the height and the width of building and the distance between tower crane and the building, according to the height of tower crane, the height and the width of building and the distance between tower crane and the building calculate the angle difference of first angle and second angle, wherein, first angle is the contained angle between the first summit of the building and the tower crane that install camera device on the tower crane and shoot, the second angle is the contained angle between the second summit of the building and the tower crane that camera device shot, under the condition that the angle difference is greater than the angle threshold value, calculate the height difference of the height of tower crane and the height of building, and adjust the height of tower crane according to the height difference, can realize the automatic adjustment of height, therefore, the control efficiency and the control accuracy of tower crane have been improved.
In some embodiments, the building includes a plurality of buildings, and the tower crane height adjustment method further includes: acquiring a first distance between a tower crane and a target building in a plurality of buildings under the condition that the height of the tower crane cannot be continuously adjusted; acquiring a second distance between the tower crane and other buildings in the plurality of buildings; and sending early warning information under the condition that the second distance is greater than or equal to the first distance.
Specifically, in the case where a plurality of buildings 2 are included in the construction area, when the height h of the tower crane 1 is large1When the adjustment cannot be continued (namely the tower crane 1 rises to the highest height), the server can acquire a first distance between the tower crane 1 and a target building in the buildings 2 from a construction plan and acquire a second distance between the tower crane 1 and other buildings in the buildings 2; further, the server may send the warning information in case the second distance is greater than or equal to the first distance.
Here, the early warning means an action of sending an emergency signal to a relevant department according to a previously summarized rule or a possibility precursor obtained by observation before a disaster or other danger requiring a precaution occurs, and reporting a dangerous situation to avoid the occurrence of the danger under an unknown or insufficient preparation condition, thereby reducing the damage caused by the danger to the maximum extent. The sending mode of the early warning information can include but is not limited to buzzing early warning, broadcasting early warning, short message early warning, electronic display screen early warning and the like.
According to the technical scheme provided by the embodiment of the disclosure, under the condition that the construction area comprises a plurality of buildings, when the height of the tower crane cannot be adjusted continuously, the number of the buildings beyond the shooting range in the construction area can be determined by acquiring the first distance between the tower crane and the target building and the second distance between the tower crane and other buildings under the condition that the second distance is larger than the first distance, and early warning information is sent.
In some embodiments, calculating the angular difference between the first angle and the second angle based on the height of the tower crane, the height and width of the building, and the distance between the tower crane and the building comprises: according to the height of the tower crane, the height of a building and the distance between the tower crane and the building, a first angle is calculated through a first formula as follows, wherein the first formula is as follows:according to the height of the tower crane, the height and width of the building and the towerThe distance between the crane and the building, and a second angle is calculated by a second formula as follows:calculating an angle difference between the first angle and the second angle according to the first angle and the second angle, wherein the angle difference satisfies a third formula as follows:wherein tan (·) represents a tangent function operation, arctan (·) represents an arctangent function operation, and θ1The included angle theta between the first top point of the building shot by the camera device and the tower crane is shown2The included angle between the second top point of the building shot by the camera device and the tower crane is shown, L shows the distance between the tower crane and the building, W shows the width of the building, and h shows the width of the building1Indicates the height of the tower crane, h2Indicating the height of the building.
Specifically, the height h of the tower crane 1 is obtained1Height h of building 22After the distance L between the width W and the tower crane 1 and the building 2, the server can be according to the height h of the tower crane 11Height h of building 22And the distance L between the tower crane 1 and the building 2, and a first formula is obtained by utilizing the tangent function:by solving the first formula, a first angle can be obtained:the server is also according to the height h of the tower crane 11Height h of building 22And the width W and the distance L between the tower crane 1 and the building 2 are calculated by utilizing a tangent function to obtain a second formula:by solving the second equation, a second angle can be obtained:further, the server calculates an angle difference between the first angle and the second angle to obtain a third formula:
in some embodiments, the angle difference and the angle threshold satisfy a first inequality as follows:wherein the content of the first and second substances,represents an angle threshold; substituting the third formula into the first inequality to obtain a second inequality as follows:and sorting the second inequality to obtain a third inequality as follows:
specifically, in order to ensure the shooting quality of the building 2 by the camera device 3 on the tower crane 1, it is necessary for the camera device 3 to maintain an excellent shooting angle for the top surface of the building 2, that is, it is necessary to ensure the first angle θ1To a second angle theta2Satisfy a first inequality:here, the first and second liquid crystal display panels are,is an angle threshold.
Further, substituting the third equation into the first inequality may obtain a second inequality:according to the subtraction formula of the arctan function:solving the second inequality can obtain:due to whenWhen the time is sufficiently small, the reaction solution is dried,is approximately equal toFor example, tan0.2 ≈ 0.2, and therefore, it is possible to obtain:to pairAnd (4) finishing to obtain a third inequality:
in some embodiments, calculating the difference in height between the tower crane height and the building height comprises: and solving the third inequality by taking the height difference as an independent variable to obtain a fourth inequality with the height difference meeting the following requirements:
specifically, in the third inequality as described above, the width W of the building 2 and the distance L between the tower crane 1 and the building 2 are fixed values,is the upper bound of the angle threshold, and is also a fixed value, so the third inequality can be regarded as the height difference h1-h2Is a one-dimensional quadratic inequality of the independent variable.
Further, for a quadratic equation of one, ax2+ bx + c is 0, and its root equation is:due to the fact thatIs upwardly open, therefore, in order to ensureLess than 0, it is necessary to satisfy:andin construction practice, the inequalityThe value to the right of (A) will typically be large, e.g. in the kilometers, and therefore, not taken into accountBut only in the case ofThe case (1). Order tob=-W,Substitute it intoIt is possible to obtain:
for example, table 1 shows the height difference between tower crane 1 and building 2 calculated from the angle threshold, the width of building 2, and the distance between tower crane 1 and building 2. Here, the unit of the angle threshold is degrees (°), and the units of the width, distance, and height difference are all meters (m).
TABLE 1
As can be seen from table 1, in the case that the angle threshold is 1 degree, if the width of the top surface of the building 2 is 20 meters and the distance between the tower crane 1 and the building 2 is 100 meters, the height difference between the tower crane 1 and the building 2 can be calculated to be 10.57 meters, that is, the tower crane 1 is 10.57 meters higher than the building 2. In the construction practice, the height of the highest building 2 in the range of 100 meters can be acquired at preset time intervals, and then the tower crane 1 is lifted to a position 10.57 meters higher than the building 2, so as to ensure the quality of the image transmitted back by the camera device 3 installed on the tower crane 1.
According to the technical scheme provided by the embodiment of the disclosure, under the condition that the angle threshold value, the width of the building and the distance between the tower crane and the building are fixed, along with the operation progress of a construction site, when the building rises, the tower crane can automatically rise to a proper position according to the calculated height difference, so that the control efficiency and the control precision of the tower crane are improved, and the quality of an image transmitted back by a camera device installed on the tower crane is ensured.
In some embodiments, calculating a first distance between the tower crane and a target building of the plurality of buildings in the event that the height of the tower crane cannot be further adjusted comprises: solving the third inequality by taking the first distance as an independent variable to obtain a fifth inequality that the first distance satisfies the following condition:
specifically, when the height of the tower crane 1 cannot be adjusted continuously, in the third inequality as described above, the width W of the building 2 and the height difference h between the tower crane 1 and the building 21-h2Are all fixed values, and are all fixed values,the third inequality is an upper bound of the angle threshold and is also a fixed value, so that the third inequality can be regarded as a one-dimensional quadratic equation inequality taking the distance L between the tower crane 1 and the building 2 as an independent variable.
Further, with the distance L as an independent variable, the third inequality is sorted to obtain:since the inequality is also a one-dimensional quadratic inequality, andis upwardly open, therefore, in order to ensureLess than 0, it is also necessary to satisfy:andin construction practice, the inequalityGenerally negative and therefore, do not take into accountBut only consider the case ofThe case (1). Order to Substitute it intoIt is possible to obtain:
for example, table 2 shows the distance between tower crane 1 and building 2 calculated from the angle threshold, the width of building 2, and the height difference between tower crane 1 and building 2. Here, the unit of the angle threshold is degrees (°), and the units of the width, the height difference, and the distance are all meters (m).
TABLE 2
As can be seen from table 2, in the case that the angle threshold is 1 degree, if the width of the top surface of the building 2 is 20 meters and the height difference between the tower crane 1 and the building 2 is 10 meters, the range that can be shot by the camera device 3 of the tower crane 1 is 97.04 meters through calculation, that is, the distance L between the tower crane 1 and the building 2 should be less than or equal to 97.04 meters. In other words, if the distance L between the tower crane 1 and the building 2 is greater than 97.04 meters, the quality of the image transmitted back by the camera 3 cannot be guaranteed, and at this time, an early warning is required.
According to the technical scheme provided by the embodiment of the disclosure, under the condition that the height of the tower crane cannot be continuously adjusted, the coverage range of the camera device is calculated, early warning can be carried out on buildings which exceed the shooting range of the camera device in a construction area, and the camera device is rearranged according to the coverage range of the camera device.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
FIG. 3 is a flow chart of a tower crane height adjusting method provided by the embodiment of the disclosure. The tower crane height adjusting method of fig. 3 may be performed by a tower crane operation room provided on the tower body of the tower crane 1 of fig. 1, a tower crane operation room provided on the ground, or a server. As shown in fig. 3, the method for adjusting the height of the tower crane comprises the following steps:
s301, acquiring the height of the tower crane, the height and the width of one building in a plurality of buildings and the distance between the tower crane and the building;
s302, calculating an angle difference between a first angle and a second angle according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, wherein the first angle is an included angle between a first top point of the building and the tower crane, which is shot by a camera device arranged on the tower crane, and the second angle is an included angle between a second top point of the building and the tower crane, which is shot by the camera device;
s303, calculating the height difference between the height of the tower crane and the height of the building under the condition that the angle difference is larger than the angle threshold value;
s304, determining whether the height of the tower crane can be continuously adjusted, and if so, executing S305; otherwise, executing S306;
s305, under the condition that the height of the tower crane can be continuously adjusted, adjusting the height of the tower crane according to the height difference;
s306, acquiring a first distance between the tower crane and a target building under the condition that the height of the tower crane cannot be continuously adjusted;
s307, acquiring second distances between the tower crane and other buildings in the plurality of buildings;
and S308, sending early warning information under the condition that the second distance is greater than or equal to the first distance.
According to the technical scheme provided by the embodiment of the disclosure, by acquiring the height of a tower crane, the height and width of one building in a plurality of buildings and the distance between the tower crane and the building, the angle difference between a first angle and a second angle is calculated according to the height of the tower crane, the height and width of the building and the distance between the tower crane and the building, wherein the first angle is an included angle between a first vertex of the building and the tower crane, which are shot by a camera device arranged on the tower crane, the second angle is an included angle between a second vertex of the building and the tower crane, which are shot by the camera device, under the condition that the angle difference is greater than an angle threshold value, the height difference between the height of the tower crane and the height of the building is calculated, under the condition that the height of the tower crane can be continuously adjusted, the height of the tower crane is adjusted according to the height difference, under the condition that the height of the tower crane cannot be continuously adjusted, the method comprises the steps of obtaining a first distance between the tower crane and a target building, obtaining a second distance between the tower crane and other buildings in the plurality of buildings, sending early warning information under the condition that the second distance is larger than or equal to the first distance, and automatically adjusting the height of the tower crane, so that the control efficiency and the control precision of the tower crane are improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 4 is a block diagram of a tower crane height adjusting device provided by the embodiment of the disclosure. As shown in FIG. 4, the tower crane height adjusting device comprises:
the first obtaining module 401 is configured to obtain the height of a tower crane, the height and width of a building and the distance between the tower crane and the building;
the first calculating module 402 is configured to calculate an angle difference between a first angle and a second angle according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, wherein the first angle is an included angle between a first vertex of the building and the tower crane, which is shot by a camera device installed on the tower crane, and the second angle is an included angle between a second vertex of the building and the tower crane, which is shot by the camera device;
the second calculation module 403 is configured to calculate a height difference between the height of the tower crane and the height of the building when the angle difference is greater than the angle threshold;
and the adjusting module 404 is configured to adjust the height of the tower crane according to the height difference.
According to the technical scheme provided by the embodiment of the disclosure, through the height that obtains the tower crane, the height and the width of building and the distance between tower crane and the building, according to the height of tower crane, the height and the width of building and the distance between tower crane and the building calculate the angle difference of first angle and second angle, wherein, first angle is the contained angle between the first summit of the building and the tower crane that install camera device on the tower crane and shoot, the second angle is the contained angle between the second summit of the building and the tower crane that camera device shot, under the condition that the angle difference is greater than the angle threshold value, calculate the height difference of the height of tower crane and the height of building, and adjust the height of tower crane according to the height difference, can realize the automatic adjustment of height, therefore, the control efficiency and the control accuracy of tower crane have been improved.
In some embodiments, the building includes a plurality of buildings, and the tower crane height adjustment apparatus of fig. 4 further includes: a third calculation module 405 configured to calculate a first distance between the tower crane and a target building of the plurality of buildings if the height of the tower crane cannot be adjusted continuously; a second obtaining module 406 configured to obtain a second distance between the tower crane and another building of the plurality of buildings; a sending module 407 configured to send the warning information if the second distance is greater than or equal to the first distance.
In some embodiments, the first calculation module 402 of fig. 4 calculates the first angle according to the height of the tower crane, the height of the building, and the distance between the tower crane and the building by the following first formula:according to the height of the tower crane, the height and the width of the building and the distance between the tower crane and the building, a second angle is calculated through a second formula as follows, wherein the second formula is as follows:calculating an angle difference between the first angle and the second angle according to the first angle and the second angle, wherein the angle difference satisfies a third formula as follows:wherein tan (·) represents a tangent function operation, arctan (·) represents an arctangent function operation, and θ1Showing the first top point of the building and the tower crane shot by the camera deviceAngle of separation, theta2The included angle between the second top point of the building shot by the camera device and the tower crane is shown, L shows the distance between the tower crane and the building, W shows the width of the building, and h shows the width of the building1Indicates the height of the tower crane, h2Indicating the height of the building.
In some embodiments, the angle difference and the angle threshold satisfy a first inequality as follows:wherein the content of the first and second substances,represents an angle threshold; substituting the third formula into the first inequality to obtain a second inequality as follows:and sorting the second inequality to obtain a third inequality as follows:
in some embodiments, the second calculation module 403 of fig. 4 solves the third inequality with the height difference as an argument, and obtains a fourth inequality that the height difference satisfies:
in some embodiments, the third calculation module 405 of fig. 4 solves the third inequality with the first distance as an argument, and the first distance satisfies the following fifth inequality:
it should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
Fig. 5 is a schematic diagram of a computer device 5 provided by an embodiment of the present disclosure. As shown in fig. 5, the computer device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in the memory 51 and executable on the processor 50. The steps in the various method embodiments described above are implemented when the computer program 52 is executed by the processor 50. Alternatively, the processor 50 implements the functions of the modules/units in the above-described device embodiments when executing the computer program 52.
Illustratively, the computer program 52 may be partitioned into one or more modules/units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present disclosure. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 52 in the computer device 5.
The computer device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computer devices. The computer device 5 may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a computer device 5 and is not intended to limit the computer device 5 and may include more or fewer components than shown, or some of the components may be combined, or different components, e.g., the computer device may also include input output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 51 may be an internal storage unit of the computer device 5, for example, a hard disk or a memory of the computer device 5. The memory 51 may also be an external storage device of the computer device 5, such as a plug-in hard disk provided on the computer device 5, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 51 may also include both an internal storage unit of the computer device 5 and an external storage device. The memory 51 is used for storing computer programs and other programs and data required by the computer device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
In the embodiments provided in the present disclosure, it should be understood that the disclosed apparatus/computer device and method may be implemented in other ways. For example, the above-described apparatus/computer device embodiments are merely illustrative, and for example, a division of modules or units, a division of logical functions only, an additional division may be made in actual implementation, multiple units or components may be combined or integrated with another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the present disclosure may implement all or part of the flow of the method in the above embodiments, and may also be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of the above methods and embodiments. The computer program may comprise computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain suitable additions or additions that may be required in accordance with legislative and patent practices within the jurisdiction, for example, in some jurisdictions, computer readable media may not include electrical carrier signals or telecommunications signals in accordance with legislative and patent practices.
The above examples are only intended to illustrate the technical solutions of the present disclosure, not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, it should 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 technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present disclosure, and are intended to be included within the scope of the present disclosure.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种超起滑轮托架装置、臂架及起重机