Unmanned ship bridge-crossing control method and device, electronic equipment and storage medium

文档序号:6963 发布日期:2021-09-17 浏览:66次 中文

1. A bridge crossing control method for an unmanned ship is characterized by comprising the following steps:

s10, receiving a bridging instruction issued by the control terminal, acquiring longitude and latitude information of a bridging starting point and a bridging end point from a rear end database according to the bridging instruction, and calculating to obtain a bridging control angle according to the longitude and latitude of the bridging starting point and the bridging end point;

s20, controlling the unmanned ship to drive to the bridge crossing starting point based on the current longitude and latitude, the current course angle and the longitude and latitude of the bridge crossing starting point of the unmanned ship;

s30, adjusting the direction of the unmanned ship to be coincident with the gap bridge control angle, then controlling the unmanned ship to drive into the bridge, and dynamically adjusting the course angle of the unmanned ship to be coincident with the gap bridge control angle during gap bridge;

s40, calculating the current position information of the unmanned ship by adopting an inertial navigation algorithm based on the inertial data and the longitude and latitude of the unmanned ship before entering the bridge;

and S50, judging whether the bridge crossing of the unmanned ship is finished or not based on the satellite signal data and the current position information of the unmanned ship, and judging that the bridge crossing of the unmanned ship is finished if the satellite signal data and/or the current position information of the unmanned ship meet preset conditions.

2. The bridge crossing control method for unmanned ship according to claim 1, further comprising the step of, before the step S10: and S01, setting a bridge starting point and a bridge ending point.

3. The bridge crossing control method of an unmanned ship according to claim 2, wherein the step S01 further comprises:

controlling the unmanned ship to run to one side of the bridge according to a remote control instruction of the control terminal, and acquiring longitude and latitude and horizontal component precision factor information of the current position of the unmanned ship once at intervals through a shipborne positioning system to obtain a bridge crossing initial point queue;

controlling the unmanned ship to run to the other side of the bridge according to a remote control instruction of the control terminal, and acquiring longitude and latitude and horizontal component precision factor information of the current position of the unmanned ship once at intervals through a shipborne positioning system to obtain a bridge crossing termination point queue;

and carrying out weighted average on the obtained bridge starting point queue and bridge ending point queue, wherein the weight is a horizontal component precision factor of each point, and obtaining the longitude and latitude of the bridge starting point and the bridge ending point and uploading the longitude and latitude to a back-end database.

4. The bridge crossing control method for the unmanned ship as claimed in claim 1, wherein in step S10, the step of calculating the bridge crossing control angle according to the longitude and latitude of the bridge crossing start point and the bridge crossing end point further comprises:

converting a geodetic coordinate system into a plane rectangular coordinate system, and establishing a vector pointing to a bridge crossing termination point from a bridge crossing start point according to the longitude and latitude of the bridge crossing start point and the bridge crossing termination point; and calculating the direction of the vector through a trigonometric function, namely obtaining the gap bridge control angle.

5. The bridge crossing control method for unmanned ship according to claim 1, wherein said step S20 further comprises:

calculating to obtain a target course angle according to the current longitude and latitude of the unmanned ship and the longitude and latitude of the bridge starting point;

and comparing the current course angle of the unmanned ship with the target course angle to obtain a control quantity, adjusting the direction of the unmanned ship according to the control quantity, and further controlling the unmanned ship to move towards the bridge-crossing starting point.

6. The bridge crossing control method for unmanned ship according to claim 1, wherein said step S30 further comprises:

after the unmanned ship reaches the starting point, taking the bridge control angle as a target course angle, then comparing the current course angle of the unmanned ship with the target course angle to obtain a control quantity, adjusting the direction of the unmanned ship according to the control quantity to enable the direction to be overlapped with the bridge control angle, and further controlling the unmanned ship to drive into the bridge and move to the bridge ending point;

and during bridge crossing, acquiring the current course angle of the unmanned ship in real time, controlling the unmanned ship to keep the difference value between the course angle of the unmanned ship and the bridge crossing control angle within a set range, and controlling the unmanned ship to move towards a bridge crossing termination point along the bridge crossing control angle.

7. The bridge crossing control method for unmanned ship according to claim 1, wherein said step S40 further comprises:

acquiring the current forward throttle value of the unmanned ship in real time and adding the current forward throttle value into a forward throttle value queue, and acquiring the current rotary throttle value of the unmanned ship in real time and adding the current rotary throttle value into a rotary throttle value queue;

selecting the first N data in the forward throttle value queue and the rotary throttle value queue, combining a dynamic model of the unmanned ship, calculating the forward throttle value to obtain acceleration, and integrating to obtain speed; calculating the angular velocity according to the rotary throttle value;

carrying out saturation treatment on the obtained speed and angular speed to enable the obtained speed and angular speed to be within the range of normal navigation of the unmanned ship;

integrating the speed and the angular speed after the saturation treatment to obtain the driving distance and the current direction angle of the unmanned ship;

the driving distance of the unmanned ship in the horizontal and vertical distances is calculated by utilizing the driving distance and the current direction angle of the unmanned ship, then the driving distance is converted into a geodetic coordinate system, and the longitude and the latitude of the unmanned ship before entering the bridge are combined, so that the current position of the unmanned ship can be obtained.

8. The utility model provides an unmanned ship control device that passes a bridge which characterized in that, unmanned ship control device that passes a bridge including:

the computing module is used for receiving a bridge crossing instruction issued by the control terminal, acquiring the longitude and latitude of a bridge crossing starting point and a bridge crossing ending point from a rear end database according to the bridge crossing instruction, and computing to obtain a bridge crossing control angle according to the longitude and latitude of the bridge crossing starting point and the bridge crossing ending point;

the bridge preparation control module is used for controlling the unmanned ship to run to the bridge starting point based on the current longitude and latitude, the current course angle and the longitude and latitude of the bridge starting point of the unmanned ship;

the inertial navigation module is used for adjusting the direction of the unmanned ship to enable the direction to be coincident with the bridge crossing control angle, then controlling the unmanned ship to drive into the bridge, and dynamically adjusting the course angle of the unmanned ship to enable the course angle to be coincident with the bridge crossing control angle during bridge crossing;

the track presumption module is used for calculating the current position information of the unmanned ship by adopting an inertial navigation algorithm based on the inertial data and the longitude and latitude of the bridge-crossing initial point;

and the bridge crossing end judging module is used for judging whether the bridge crossing of the unmanned ship is ended or not based on the satellite signal data and the current position information of the unmanned ship, and judging that the bridge crossing of the unmanned ship is ended if the satellite signal data and/or the current position information of the unmanned ship meet preset conditions.

9. An electronic device comprising at least one processor and at least one memory communicatively coupled to the processor, wherein the memory stores program instructions that, when executed by the processor, implement the unmanned ship bridge control method of any of claims 1-7.

10. A storage medium storing program instructions which, when executed by a processor, implement the unmanned ship bridge crossing control method according to any one of claims 1 to 7.

Background

In recent years, with the rapid development of intelligent technology, the intelligent degree of autonomous driving of unmanned ships is emphasized, and unmanned ships of various types and applications are widely applied. The autonomous navigation of the unmanned ship is embodied in an intelligentized mode and mainly depends on satellite positioning navigation. However, in practical applications, a bridge spans over the water surface in many waters, and a positioning signal of the unmanned ship is influenced by shielding under the bridge, so that the unmanned ship is difficult to control when the positioning signal is weak. How to still be able to autonomously travel under the condition of weak positioning signals is a technical difficulty in the field of unmanned ship control.

Disclosure of Invention

The invention aims to provide a method and a device for controlling the bridge crossing of an unmanned ship, electronic equipment and a storage medium, and aims to solve the technical problem that the unmanned ship is difficult to control due to weak positioning signals when the unmanned ship runs below a bridge in the prior art.

In order to solve the technical problem, the invention provides a method for controlling the bridge crossing of the unmanned ship, which comprises the following steps:

s10, receiving a bridging instruction issued by the control terminal, acquiring longitude and latitude information of a bridging starting point and a bridging end point from a rear end database according to the bridging instruction, and calculating to obtain a bridging control angle according to the longitude and latitude of the bridging starting point and the bridging end point;

s20, controlling the unmanned ship to drive to the bridge crossing starting point based on the current longitude and latitude, the current course angle and the longitude and latitude of the bridge crossing starting point of the unmanned ship;

s30, adjusting the direction of the unmanned ship to be coincident with the gap bridge control angle, then controlling the unmanned ship to drive into the bridge, and dynamically adjusting the course angle of the unmanned ship to be coincident with the gap bridge control angle during gap bridge;

s40, calculating the current position information of the unmanned ship by adopting an inertial navigation algorithm based on the inertial data and the longitude and latitude of the unmanned ship before entering the bridge;

and S50, judging whether the bridge crossing of the unmanned ship is finished or not based on the satellite signal data and the current position information of the unmanned ship, and judging that the bridge crossing of the unmanned ship is finished if the satellite signal data and/or the current position information of the unmanned ship meet preset conditions.

In order to solve the above technical problems, the present invention provides a bridge crossing control device for an unmanned ship, comprising: the computing module is used for receiving a bridge crossing instruction issued by the control terminal, acquiring the longitude and latitude of a bridge crossing starting point and a bridge crossing ending point from a rear end database according to the bridge crossing instruction, and computing to obtain a bridge crossing control angle according to the longitude and latitude of the bridge crossing starting point and the bridge crossing ending point; the bridge preparation control module is used for controlling the unmanned ship to run to the bridge starting point based on the current longitude and latitude, the current course angle and the longitude and latitude of the bridge starting point of the unmanned ship; the inertial navigation module is used for adjusting the direction of the unmanned ship to enable the direction to be coincident with the bridge crossing control angle, then controlling the unmanned ship to drive into the bridge, and dynamically adjusting the course angle of the unmanned ship to enable the course angle to be coincident with the bridge crossing control angle during bridge crossing; the track presumption module is used for calculating the current position information of the unmanned ship by adopting an inertial navigation algorithm based on the inertial data and the longitude and latitude of the bridge-crossing initial point; and the bridge crossing end judging module is used for judging whether the bridge crossing of the unmanned ship is ended or not based on the satellite signal data and the current position information of the unmanned ship, and judging that the bridge crossing of the unmanned ship is ended if the satellite signal data and/or the current position information of the unmanned ship meet preset conditions.

In order to solve the above technical problem, the present invention provides an electronic device, which includes at least one processor and at least one memory communicatively connected to the processor, where the memory stores program instructions, and the program instructions are called and executed by the processor to implement the above unmanned ship bridge crossing control method.

In order to solve the above technical problem, the present invention provides a storage medium storing program instructions, which when executed by a processor, implement the above unmanned ship bridge-crossing control method.

The invention has the beneficial technical effects that: according to the method for controlling the bridge crossing of the unmanned ship, the bridge crossing control angle is obtained through the longitude and latitude calculation of the bridge crossing starting point and the bridge crossing ending point, when the unmanned ship runs to the bridge crossing starting point, the direction of the unmanned ship is adjusted to be coincident with the bridge crossing control angle, then the unmanned ship is controlled to run into the bridge, and when the unmanned ship passes through the bridge, the course angle of the unmanned ship is dynamically adjusted to be coincident with the bridge crossing control angle, so that the unmanned ship can smoothly pass through the bridge, and the technical problem that the unmanned ship is difficult to control due to the fact that a positioning signal is weak when the unmanned ship runs below the bridge is solved.

Drawings

FIG. 1 is a flow chart of the operation of the unmanned ship bridge crossing control method of the invention;

FIG. 2 is a schematic structural diagram of a gap bridge control device of an unmanned ship according to the invention;

fig. 3 is a schematic structural diagram of an electronic device according to the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more clearly understood by those skilled in the art, the present invention is further described with reference to the accompanying drawings and examples.

Fig. 1 shows a work flow chart of an unmanned ship bridge crossing control method of the present invention, and as shown in fig. 1, in an embodiment of the present invention, the unmanned ship bridge crossing control method includes the following steps:

s10, receiving a bridging instruction issued by the control terminal, acquiring the longitude and latitude of a bridging starting point and a bridging ending point from a rear end database according to the bridging instruction, and calculating to obtain a bridging control angle according to the longitude and latitude of the bridging starting point and the bridging ending point;

the execution main body of the embodiment is loaded on an unmanned ship, and the unmanned ship navigates autonomously by means of satellite positioning navigation before passing a bridge. When the unmanned ship stops near the bridge crossing initial point, a bridge crossing instruction is remotely issued to the unmanned ship through the control terminal, after the unmanned ship receives the bridge crossing instruction, longitude and latitude information of the bridge crossing initial point and the bridge crossing end point is obtained from the rear end database, then a geodetic coordinate system is converted into a planar rectangular coordinate system, a vector pointing to the bridge crossing end point from the bridge crossing initial point is established according to the longitude and latitude of the bridge crossing initial point and the bridge crossing end point, and finally the direction of the vector is obtained through trigonometric function calculation, namely the bridge crossing control angle.

S20, controlling the unmanned ship to drive to the bridge crossing starting point based on the current longitude and latitude, the current course angle and the longitude and latitude of the bridge crossing starting point of the unmanned ship;

in specific implementation, a shipborne positioning system carried by the unmanned ship can acquire the current longitude and latitude of the unmanned ship in real time, and an inertial measurement unit of the unmanned ship can acquire the current course angle of the unmanned ship in real time. After the bridge-crossing instruction is issued, the unmanned ship calculates a target course angle according to the obtained current longitude and latitude of the unmanned ship and the longitude and latitude of the bridge-crossing starting point, then compares the current course angle of the unmanned ship with the target course angle to obtain a control quantity, adjusts the direction of the unmanned ship according to the control quantity, and further controls the unmanned ship to move towards the bridge-crossing starting point.

The present embodiment does not limit the onboard Positioning System, and the onboard Positioning System may adopt a Global Positioning System (GPS), or may also adopt a GLONASS (GLONASS SATELLITE SYSTEM, abbreviated as GLONASS) satellite navigation System or a beidou satellite navigation System.

S30, adjusting the direction of the unmanned ship to be coincident with the gap bridge control angle, then controlling the unmanned ship to drive into the bridge, and dynamically adjusting the course angle of the unmanned ship to be coincident with the gap bridge control angle during gap bridge;

in the specific implementation, after the unmanned ship reaches the starting point, the bridge crossing control angle is used as a target course angle, then the current course angle of the unmanned ship is compared with the target course angle to obtain a control quantity, the direction of the unmanned ship is adjusted according to the control quantity to be overlapped with the bridge crossing control angle, and the unmanned ship is controlled to drive into the bridge and move to the bridge crossing end point; and during bridge crossing, acquiring the current course angle of the unmanned ship in real time, controlling the unmanned ship to keep the difference value between the course angle of the unmanned ship and the bridge crossing control angle within a set range, and controlling the unmanned ship to move towards a bridge crossing termination point along the bridge crossing control angle. It should be noted that, the specific manner adopted by the present invention to control the unmanned ship to keep the difference between the heading angle of the unmanned ship and the bridge-crossing control angle within the set range is not limited, and the difference between the heading angle of the unmanned ship and the bridge-crossing control angle may be kept within the set range by a pid (proportion integration differential) control manner, or may be kept within the set range by other manners.

S40, calculating the current position information of the unmanned ship by adopting an inertial navigation algorithm based on the inertial data and the longitude and latitude of the unmanned ship before entering the bridge;

in the step, when the unmanned ship drives from the initial point of the bridge to the end point of the bridge, and the unmanned ship does not enter the bridge, the current longitude and latitude of the unmanned ship can be obtained in real time through the shipborne positioning system until the unmanned ship enters the bridge, the satellite positioning signal is weak and the position information of the unmanned ship cannot be obtained, so that the current position information of the unmanned ship needs to be calculated by adopting an inertial navigation algorithm.

As a possible implementation, the inertial data is calculated from the acquired forward throttle value and the rotational throttle value. In specific implementation, a forward throttle value queue and a rotary throttle value queue are constructed and respectively marked as Q1 and Q2; acquiring a current forward throttle value T1 of the unmanned ship in real time and adding the current forward throttle value T1 into a forward throttle value queue Q1, and acquiring a current rotary throttle value T2 of the unmanned ship in real time and adding the current rotary throttle value T2 into a rotary throttle value queue Q2; selecting the first N data in a forward throttle value queue Q1 and a rotary throttle value queue Q2, combining a dynamic model of the unmanned ship, calculating the forward throttle value to obtain acceleration, and integrating to obtain speed S; the angular velocity G is calculated from the rotary throttle value.

And calculating the current position information of the unmanned ship by adopting an inertial navigation algorithm based on the speed S and the angular speed G and combining the longitude and the latitude of the unmanned ship before entering the bridge. In specific implementation, the obtained speed S and the angular speed G are subjected to saturation treatment to be within the range of normal navigation of the unmanned ship; integrating the speed S and the angular speed G after the saturation treatment to obtain the driving distance and the current direction angle of the unmanned ship; and finally, calculating the driving distance of the unmanned ship in the horizontal and vertical distances by using the driving distance and the current direction angle of the unmanned ship, converting the driving distance into a geodetic coordinate system, and combining the longitude and the latitude of the unmanned ship before the bridge to obtain the current position of the unmanned ship.

As another possible implementation, the inertial measurement unit (including an accelerometer and a gyroscope, etc.) carried by the unmanned ship may be used to obtain inertial data (such as speed, acceleration, heading angle, angular velocity, etc.) of the unmanned ship, and then an existing inertial navigation algorithm may be used to calculate the current position information of the unmanned ship based on the obtained inertial data of the unmanned ship.

And S50, judging whether the bridge crossing of the unmanned ship is finished or not based on the satellite signal data and the current position information of the unmanned ship, and judging that the bridge crossing of the unmanned ship is finished if the satellite signal data and/or the current position information of the unmanned ship meet preset conditions.

As a possible implementation manner, whether the bridge crossing of the unmanned ship is finished is determined based on the satellite signal data and the current position information of the unmanned ship, and if the satellite signal data meets a preset condition, the bridge crossing of the unmanned ship is determined to be finished. In the specific implementation, a carrier-to-noise ratio and a usable number of satellites of a current satellite signal are obtained through a shipborne positioning system, and when the carrier-to-noise ratio is higher than a set threshold and the usable number of satellites is larger than the set threshold, the current positioning signal is considered to be recovered, so that it is determined that the unmanned ship has driven out of a bridge and the unmanned ship is over the bridge.

As another possible implementation manner, whether the bridge crossing of the unmanned ship is finished is determined based on the satellite signal data and the current position information of the unmanned ship, and if the current position information of the unmanned ship meets a preset condition, the bridge crossing of the unmanned ship is determined to be finished. In a specific implementation, the current position information of the unmanned ship is obtained through calculation in step S40, and the distance between the current position of the unmanned ship and the bridge-crossing starting point and the distance between the bridge-crossing ending point and the bridge-crossing starting point are respectively calculated.

As another possible embodiment, whether the bridge crossing of the unmanned ship is finished is determined based on the satellite signal data and the current position information of the unmanned ship, and if both the satellite signal data and the current position information of the unmanned ship meet preset conditions, the bridge crossing of the unmanned ship is determined to be finished.

In a specific implementation, a carrier-to-noise ratio and a usable number of satellites of a current satellite signal are obtained through a shipborne positioning system, and when the carrier-to-noise ratio is higher than a set threshold and the usable number of satellites is greater than the set threshold, the current positioning signal is considered to be recovered. When the positioning signal is detected to be recovered, the bridge crossing of the unmanned ship can be generally judged to be finished; however, if there is a gap in the middle of the bridge, the satellite signal may be occasionally enhanced due to the gap in the bridge during the crossing of the bridge by the unmanned ship, so that a misjudgment may be generated. The current position information of the unmanned ship is obtained by calculation in step S40, and the distance between the current position of the unmanned ship and the bridge starting point and the distance between the bridge ending point and the bridge starting point are calculated respectively, and if the distance between the current position of the unmanned ship and the bridge starting point is farther than the distance between the bridge ending point and the bridge starting point, it can be presumed that the unmanned ship has driven out of the bridge. In this way, if the positioning signal is recovered and the unmanned ship is presumed to have driven out of the bridge according to the current position information of the unmanned ship, the bridge passing of the unmanned ship is judged to be finished.

According to the bridge crossing control method for the unmanned ship, the bridge crossing control angle is obtained through longitude and latitude calculation of a bridge crossing starting point and a bridge crossing end point, when the unmanned ship runs to the bridge crossing starting point, the direction of the unmanned ship is adjusted to enable the unmanned ship to coincide with the bridge crossing control angle, then the unmanned ship is controlled to drive into the bridge, and when the unmanned ship passes through the bridge, the course angle of the unmanned ship is dynamically adjusted to enable the unmanned ship to keep coinciding with the bridge crossing control angle, so that the unmanned ship can smoothly pass through the bridge, and the technical problem that the unmanned ship is difficult to control due to the fact that a positioning signal is weak when the unmanned ship runs below the bridge is solved.

As shown in fig. 1, in a preferred embodiment of the present invention, the method for controlling the bridge crossing of the unmanned ship further includes, before the step S10, the steps of: and S01, setting a bridge starting point and a bridge ending point.

As a possible implementation, the step S01 further includes steps S01a, S01b and S01 c.

S01a, controlling the unmanned ship to travel to one side of the bridge according to a remote control instruction of the control terminal, and acquiring longitude and latitude and horizontal component precision factor information of the current position of the unmanned ship once at intervals through a shipborne positioning system to obtain a bridge crossing initial point queue;

in the specific implementation, a bridge starting point queue is constructed and recorded asThen controlling the unmanned ship to travel to one side of the bridge according to a remote control instruction of the control terminal, keeping the unmanned ship stationary for a period of time, obtaining the longitude and latitude and horizontal component precision factor information of the current position of the unmanned ship once at intervals through a shipborne positioning system, and obtaining a bridge crossing initial point queueWherein N is1,N2,N3...NqThe longitude and latitude information of q points is continuously acquired when the unmanned ship drives to one side of the bridge, namely the longitude and latitude information of the current position of the unmanned ship is continuously acquired when the unmanned ship stops at one side of the bridge, and q is a natural number larger than 3.

S01b, controlling the unmanned ship to run to the other side of the bridge according to a remote control instruction of the control terminal, and acquiring longitude and latitude and horizontal component precision factor information of the current position of the unmanned ship once at intervals through a shipborne positioning system to obtain a bridge crossing termination point queue;

in the specific implementation, a queue of bridge-crossing termination points is constructed and recorded asThen the unmanned ship is controlled to run to the other side of the bridge according to the remote control instruction of the control terminal, then the unmanned ship is kept still for a period of time, the unmanned ship already runs out of the bridge at the moment, the positioning signal intensity is high, and the unmanned ship is obtained once every a period of time through the shipborne positioning systemThe longitude and latitude and the horizontal component precision factor information of the current position of the man-boat are obtained, so that a bridge crossing end point queue is obtainedWherein M is1,M2,M3...MqAnd representing the longitude and latitude of the current position of the unmanned ship, which are continuously acquired when the unmanned ship runs to the other side of the bridge, namely continuously acquiring the longitude and latitude information of q points when the unmanned ship stops at the other side of the bridge, wherein q is a natural number more than 3.

And S01c, carrying out weighted average on the obtained bridge crossing initial point queue and bridge crossing end point queue, wherein the weight is a horizontal component precision factor of each point, and obtaining the longitude and latitude of the bridge crossing initial point and the bridge crossing end point and uploading the longitude and latitude to a rear-end database.

In particular implementations, the queue of origin points is started with a bridgeBridge crossing termination point queueTaking weighted average of latitude and longitude as basic data, taking weight as horizontal component precision factor of each point, and finally obtaining longitude and latitude N of the bridge starting point0Longitude and latitude M of bridge-crossing termination point0

As another possible implementation, setting the bridge starting point and the bridge ending point may be accomplished by: controlling the unmanned ship to run to one side of the bridge, and acquiring the longitude and latitude of the current position of the unmanned ship as the longitude and latitude of the starting point of the bridge crossing through a shipborne positioning system; and then controlling the unmanned ship to run to the other side of the bridge, and then acquiring the longitude and latitude of the current position of the unmanned ship as the longitude and latitude of a bridge crossing termination point through a shipborne positioning system.

Fig. 2 is a schematic structural diagram of an unmanned ship bridge-crossing control device according to the present invention, and as shown in fig. 2, in an embodiment of the present invention, the unmanned ship bridge-crossing control device includes:

the computing module 110 is configured to receive a bridge crossing instruction issued by the control terminal, obtain the longitude and latitude of the bridge crossing start point and the bridge crossing end point from the back-end database according to the bridge crossing instruction, and compute to obtain a bridge crossing control angle according to the longitude and latitude of the bridge crossing start point and the bridge crossing end point;

the bridge preparation control module 120 is used for controlling the unmanned ship to travel to the bridge starting point based on the current longitude and latitude, the current course angle and the longitude and latitude of the bridge starting point of the unmanned ship;

the inertial navigation module 130 is used for adjusting the direction of the unmanned ship to enable the direction to coincide with the bridge crossing control angle, then controlling the unmanned ship to drive into the bridge, and dynamically adjusting the course angle of the unmanned ship to enable the course angle to coincide with the bridge crossing control angle during bridge crossing;

the track presumption module 140 is used for calculating the current position information of the unmanned ship by adopting an inertial navigation algorithm based on the inertial data and the longitude and latitude of the bridge crossing initial point;

and the bridge crossing end judging module 150 is used for judging whether bridge crossing of the unmanned ship is ended or not based on the satellite signal data and the current position information of the unmanned ship, and judging that the bridge crossing of the unmanned ship is ended if the satellite signal data and/or the current position information of the unmanned ship meet preset conditions.

The calculation module 110, the bridge preparation control module 120, the inertial navigation module 130, the track presumption module 140, and the bridge end determination module 150 are functional modules corresponding to steps S10-S50 of the unmanned ship bridge control method in the embodiment shown in fig. 1, and may correspondingly perform steps S10-S50 of the unmanned ship bridge control method in the embodiment shown in fig. 1, so as to implement unmanned ship bridge control.

The unmanned ship bridge-crossing control device provided by the embodiment of the application obtains a bridge-crossing control angle through the longitude and latitude calculation of a bridge-crossing initial point and a bridge-crossing end point, adjusts the direction of the unmanned ship to enable the unmanned ship to coincide with the bridge-crossing control angle when the unmanned ship runs to the bridge-crossing initial point, then controls the unmanned ship to drive into the bridge, dynamically adjusts the course angle of the unmanned ship to enable the unmanned ship to coincide with the bridge-crossing control angle during bridge crossing, so that the unmanned ship can smoothly pass through the bridge, and the technical problem that the unmanned ship is difficult to control due to weak positioning signals when the unmanned ship runs below the bridge is solved.

As shown in fig. 2, in a preferred embodiment of the present invention, the unmanned ship bridge-crossing control apparatus further includes a coordinate point setting module 101. The coordinate point establishing module 101 is a functional module corresponding to step S01 of the unmanned ship bridge-crossing control method in the embodiment shown in fig. 1, and may execute step S01 of the unmanned ship bridge-crossing control method in the embodiment shown in fig. 1 to set a bridge-crossing start point and a bridge-crossing end point.

Fig. 3 shows a schematic structural diagram of an electronic device according to the present invention, and as shown in fig. 3, in an embodiment of the present invention, the electronic device includes a processor 210 and a memory 220 communicatively connected to the processor 210. The electronic device may also include an I/O interface 230 and a communications component 240.

The memory 220 is used for storing various types of data to support operations on the electronic device, and the data may include instructions for any application or method operating on the electronic device, and application-related data, such as program instructions for performing the above-described unmanned ship bridge control method, latitude and longitude information of the unmanned ship, and the like. The Memory 220 may be implemented by one or more volatile or non-volatile Memory devices of any type or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. One or more than one processor 210 can be adopted, and the processor 210 is used for controlling the overall operation of the electronic device, and the steps of the unmanned ship bridge-crossing control method are completed by calling and executing the program instructions stored in the memory 220. The I/O interface 230 provides an interface between the processor 210 and other interface modules, which may be onboard positioning systems, inertial measurement units, etc. The communication component 240 is used for wired or wireless communication between the electronic device and other devices. The wireless Communication includes Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so the corresponding Communication component 15 may include: Wi-Fi module, bluetooth module, NFC module.

The embodiment of the invention also provides a storage medium containing program instructions, and the program instructions are executed by a processor to realize the steps of the unmanned ship bridge-crossing control method. The storage medium may be the memory 220 including program instructions, and the program instructions may be executed by the processor 210 of the electronic device to implement the unmanned ship bridge control method.

The foregoing is considered as illustrative of the preferred embodiments of the invention and is not to be construed as limiting the invention in any way. Various equivalent changes and modifications can be made by those skilled in the art based on the above embodiments, and all equivalent changes and modifications within the scope of the claims should fall within the protection scope of the present invention.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:自动驾驶车辆测试信息确定方法、装置和电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类