CN116280010A - Active profile showing device and method for ocean observation buoy - Google Patents
Active profile showing device and method for ocean observation buoy Download PDFInfo
- Publication number
- CN116280010A CN116280010A CN202310433546.5A CN202310433546A CN116280010A CN 116280010 A CN116280010 A CN 116280010A CN 202310433546 A CN202310433546 A CN 202310433546A CN 116280010 A CN116280010 A CN 116280010A
- Authority
- CN
- China
- Prior art keywords
- module
- myxyt
- data
- embedded microprocessor
- observation buoy
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B63—SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
- B63B—SHIPS OR OTHER WATERBORNE VESSELS; EQUIPMENT FOR SHIPPING
- B63B22/00—Buoys
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B63—SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
- B63B—SHIPS OR OTHER WATERBORNE VESSELS; EQUIPMENT FOR SHIPPING
- B63B22/00—Buoys
- B63B22/16—Buoys specially adapted for marking a navigational route
- B63B22/166—Buoys specially adapted for marking a navigational route comprising a light
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B63—SHIPS OR OTHER WATERBORNE VESSELS; RELATED EQUIPMENT
- B63B—SHIPS OR OTHER WATERBORNE VESSELS; EQUIPMENT FOR SHIPPING
- B63B22/00—Buoys
- B63B2022/006—Buoys specially adapted for measuring or watch purposes
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- Ocean & Marine Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The invention relates to an active profile showing device and method of a marine observation buoy, which consists of an embedded microprocessor, an LED driving module, an illuminance sensor, an LED lamp strip, a 485 bus protocol module, an AIS receiving module and a positioning module, wherein the embedded microprocessor is respectively connected with the LED driving module, the illuminance sensor, the 485 bus protocol module, the AIS receiving module and the positioning module, and the LED driving module is connected with the LED lamp strip. The embedded microprocessor executes data compliance discrimination check every second, executes the active profile analysis control module at regular time, and adjusts the LED driving power, the lighting duration and the extinguishing duration according to the weighted calculation of the distance normalization result of the ship and the buoy. The beneficial effects of the invention are as follows: the power and the on-off time of the LED lamp strip are dynamically adjusted according to the distance between surrounding ships, so that a better marking body profile effect is realized with less energy consumption.
Description
Technical Field
The invention relates to the field of ocean observation buoys, in particular to an active profile showing device and method of an ocean observation buoy.
Background
Buoy means a device anchored at a specified position and floating on the water surface. According to different specific functions, the navigation aid navigation mark (hereinafter referred to as navigation aid navigation mark) and the ocean observation buoy (hereinafter referred to as observation buoy) can be distinguished.
The navigation aid navigation mark is a mark for indicating the direction, limit and obstruction of navigation objects, and comprises a river crossing mark, a coastal mark, a guide mark, a transition guide mark, a head-tail guide mark, a side mark, a left-right navigation mark, a position mark, a flooding mark, a bridge and culvert mark and the like. Is a manual sign that helps guide the vessel to navigate, position and mark the obstacles and to indicate warnings. The national standards of GB 12708-1991 "navigation mark light signal color", GB 15359-2021 "China sea area light vessel and large navigation aid buoy standard", GB 16161-2021 "China sea area water navigation aid mark shape display rule", GB 17381-2020 "visual navigation mark surface color rule", GB 24418-2020 "China sea area navigable water area bridge navigation aid mark" and the like should be followed. At present, the navigation mark lamp device generally comprises a mark body and a navigation mark lamp device carried on the mark body, wherein the navigation mark lamp device comprises a solar panel, a storage battery, an LED lamp, a positioning module, a communication module and the like, and an AIS transceiver module is partially arranged.
The observation buoy is a modern marine observation facility, floats on the sea surface and is anchored at a designated position, and is used for collecting marine environment data and realizing automatic acquisition, automatic marking and automatic sending of the data. The method is to follow GB/T14914.2-2019, ocean Observation Specification part 2, seashore Observation, GB/T14914.3-2021, ocean Observation Specification part 3: buoy submerged buoy observation, HY/T142-2011 large ocean environment monitoring buoy, HY/T143-2011 small ocean environment monitoring buoy and other national and industry standards. Currently, the observation instrument generally comprises a target body and an observation instrument carried on the target body, wherein the observation instrument comprises a solar panel, a storage battery, a positioning module, a communication module, a marine hydrologic observation module (a monitoring object: tide, sea wave, ocean current, sea ice, sea water temperature, salinity and depth), a marine meteorological observation module (a monitoring object: wind, air pressure, air temperature, relative humidity, precipitation, sea surface effective energy visibility, cloud, fog and weather phenomenon) and other marine observation items (a monitoring object: sea luminescence, water color, noise, irradiance, sea surface illuminance, sea surface height and the like). Has become the most important infrastructure for ocean observations, facilitating the transition of ocean data acquisition modes from "look at" to "observe".
The navigation aid navigation mark and the observation buoy have a common part consisting of a solar panel, a storage battery, a positioning module and a communication module; the system comprises a positioning module, a GPS positioning module, a Beidou positioning module, a communication module, a 4G network or a Beidou short message. The device is a complete set of equipment which is arranged on a target body and integrates optical and mechanical functions, and is typical unmanned automatic equipment with low power consumption, excellent performance, miniaturization and high reliability. However, the functional positioning of the two is different, in general, the navigation aid navigation mark is not provided with marine observation equipment on the observation buoy, but the observation buoy is a safety meter and may be provided with a navigation aid navigation mark or navigation mark lamp or AIS transceiver module.
The patent CN111200548A discloses a 485 protocol concentrator applied to an RS485 bus of the marine observation buoy, which consists of an embedded microprocessor, a 485 chip, a power switch, an LDO power chip, a 232 chip, an SDI12, an address dial switch, a 4-core connector chip, a resistor and a resistor pair network, and can be in data communication with most of the existing mature marine observation intelligent equipment, and the data protocol analysis is flexible; the document CN111232132A discloses a control system and a control method of a marine observation buoy, which realize data communication with intelligent equipment with different interfaces and different data protocols through a 485 protocol concentrator on an RS485 bus and have the advantages of simple installation process, easy expansion, easy maintenance, stable communication and the like; however, the observation buoy actually forms a navigation obstacle influencing the navigation of the ship, and the prevention of collision and the guarantee of facility safety are important problems. Document CN112046683a discloses a high stability's marine buoy, through setting up the buffer ring that encircles in instrument shelter setting for instrument and equipment who carries on the buoy can obtain effectual anticollision protection, solves among the prior art marine buoy the problem that the storm resistance is weaker, instrument shelter lacks sufficient protection, thereby holistic stability, barrier propterty all have great promotion.
In recent years, navigation aids adopt active visualization profile technology to help self-protect. Document CN109850073a discloses a buoy night visualization system and method, which improves the buoy night visualization capability and actively visualizes for recognition by crews. Document CN305995633S designs a four-fork type navigation mark lamp holder night visualization device, combines an LED light source on the visualization device with a roof board for displaying the appearance of a buoy on the buoy lamp holder, increases the night contour brightening visualization area of the navigation mark, and enhances the practical effect of buoy visualization. The active visualization profile showing technology is applied to the observation buoy, so that the existence of the observation buoy is prompted to the passing ship, the visibility of the observation buoy is improved, and the safety is further guaranteed. However, to achieve this objective, it is necessary to balance the power distribution of the visualization and observation buoy with the power distribution of the marine observation device, and in particular, if the visualization and observation buoy can achieve a better profile effect with less energy consumption, it is obvious that the viability of the observation buoy can be significantly improved.
Disclosure of Invention
In order to achieve the above purpose, the design technical scheme of the invention is as follows: the utility model provides an initiative of ocean observation buoy shows profile device, by embedded microprocessor, LED drive module, illuminance sensor, LED lamp area, 485 bus protocol module, AIS receiving module, orientation module group, wherein, embedded microprocessor links to each other with LED drive module, illuminance sensor, 485 bus protocol module, AIS receiving module, orientation module respectively, and LED drive module links to each other with the LED lamp area. The active profile display device of the ocean observation buoy can dynamically adjust the LED driving power and the on-off duration according to the distance of surrounding AIS ships.
The 485 bus protocol module in the active profile display device of the ocean observation buoy is connected to an 485 bus network in the observation buoy; specifically, the LED lamp strip is fixed on the support, and is arranged along the outline of the observation buoy.
The active profile showing device of the ocean observation buoy has 2 channels for obtaining current positioning data and time data, namely a 485 bus protocol module and a positioning module, and preferably a 485 bus protocol module. The embedded microprocessor in the active profile showing device of the ocean observation buoy obtains a positioning data packet through any one of the 2 channels, and then decodes the positioning data packet to obtain current positioning data and time data. Further, the embedded microprocessor controls to close the positioning module if the positioning data packet is obtained through the 485 bus protocol module, otherwise controls to open the positioning module.
The channel for obtaining the AIS message data packet is provided with 2 modules, namely a 485 bus protocol module and an AIS receiving module, preferably a 485 bus protocol module. After an AIS message data packet is obtained through any one of the 2 channels, the AIS message data packet is decoded, and an on-water mobile communication service identification code MMSI (Maritime Mobile Service Identify), position data and time data of the ship are obtained. Further, the embedded microprocessor controls to close the AIS receiving module if the AIS message data packet is obtained through the 485 bus protocol module, otherwise controls to open the AIS receiving module.
The active profile display device for the ocean observation buoy comprises 2 channels for controlling the LED lamp to flash or turn off, namely a 485 bus protocol module and an illuminance sensor, preferably a 485 bus protocol module. An embedded microprocessor in the active profile display device of the ocean observation buoy controls the LED lamp strip to flash or turn off if a command for controlling the LED lamp strip to flash or turn off is obtained through a 485 bus protocol module, and controls the illuminance sensor to be turned off; otherwise, the illumination sensor is controlled to be turned on without obtaining an instruction for controlling the LED lamp strip through the 485 bus protocol module, the illumination sensor detects the state of daytime and night, the LED lamp strip is controlled to be turned off during daytime, and the LED lamp strip is controlled to flash and light during night.
An embedded microprocessor in the active profile display device of the ocean observation buoy is provided with a timer TimerLED_ON and a timer TimerLED_off, wherein the units are milliseconds, and the interrupt period is adjustable. The embedded microprocessor, when entering the timer TimerLED_ON interrupt service routine, executes the following steps: the timer LED_ON is turned Off, the LED driving power circuit is controlled to stop outputting, the LED lamp is turned Off, and the timer LED_off is turned ON. The embedded microprocessor, when entering the timer TimerLED_off interrupt service routine, executes the following steps: the timer LED_off is turned Off, the LED driving power circuit is controlled to be powered ON to cause the LED lamp to be lighted, and the timer LED_ON is turned ON.
The embedded microprocessor in the active profile display device of the ocean observation buoy performs the following steps when the LED lamp strip is required to be controlled to be turned off: controlling the LED driving power circuit to stop outputting causes the LED lamp to be turned Off, and turning Off the timer TimerLED_off and turning Off the timer TimerLED_ON.
The embedded microprocessor in the active profile showing device of the ocean observation buoy performs the following steps when the LED lamp strip is required to be controlled to flash: controlling the power-ON output of the LED driving power circuit causes the LED lamp to be lighted, turning Off the timer TimerLED_off and turning ON the timer TimerLED_ON.
An embedded microprocessor in the active profile indicating device of the ocean observation buoy is internally provided with a position time structure body (nt_XYT) which consists of MMSI codes, longitude, latitude and time data, and as shown in a table 1, one MMSI code only correspondingly stores one data record:
table 1 position time structure:
variable name | Type(s) | Description of the invention |
MMSI | Character type | Ship MMSI code, with 0, indicates that the record is empty |
X | Floating point type | Longitude and latitude |
Y | Floating point type | Latitude of latitude |
Time | Shaping type | Time data |
。
An embedded microprocessor in the active profile device of the marine observation buoy is provided with a data buffer zone myXYT [ m ], the range of m is defined by a position time structure body (nt_XYT): 5-500, wherein, the MMSI code, longitude, latitude and time data of the observation buoy are saved by the myXYT [0], the MMSI code, longitude, latitude and time data of other ships are saved by the myXYT [1] to myXYT [ m ], and the initial values of the myXYT [1] to myXYT [ m ] are all 0.
The embedded microprocessor in the active profile showing device of the ocean observation buoy is provided with a positioning data packet decoding module, and the positioning data packet decoding module firstly checks whether the positioning data packet is correct or not, and performs subsequent operations only if the positioning data packet is correct, namely: decoding according to the protocol to obtain the current longitude, latitude and Time data of the buoy, and storing the current longitude, latitude and Time data in myXYT [0]. X, myXYT [0]. Y and myXYT [0]. Time; the method comprises the following specific steps:
r1: checking the positioning data packet, checking the positioning data packet to execute the subsequent steps correctly, and if not, exiting the module;
r2: decoding the positioning data packet according to the protocol to obtain current longitude, latitude and time data;
r3: and storing the obtained current longitude to myXYT [0]. X, storing the latitude to myXYT [0]. Y, and storing the Time data to myXYT [0]. Time, wherein myXYT [0]. MMSI is a set fixed character.
An embedded microprocessor in an active profile showing device of an ocean observation buoy is provided with an AIS message data packet decoding module, which firstly checks whether AIS message data packets are checked correctly or not, and only if the AIS message data packets are checked correctly, the subsequent operation is executed, namely: decoding according to a protocol, obtaining MMSI code, longitude, latitude and Time data of a ship from a data packet, and storing the MMSI code, longitude, latitude and Time data in a myXYT [1] to myXYT [ m ] buffer area in a newly added or updated alternative mode, wherein the X-th component variable is the member variables MMSI, X, Y and Time of the myXYT [ X ]; the method comprises the following specific steps:
s1: checking the AIS message data packet, checking to execute the following steps correctly, or else, exiting the module;
s2: setting a temporary object tmp defined by nt_XYT, decoding an AIS message data packet according to a protocol to obtain MMSI code, longitude, latitude and time data of a ship, and respectively storing the MMSI code, longitude, latitude and time data in tmp.MMSI, tmp.X, tmp.Y and tmp.Time;
s3: searching whether myXYT [ i ]. MMSI=tmp.MMSI exists in myXYT [1] -myXYT [ m ] member variable MMSI, if so, performing updating and replacing operation, namely, completely replacing data of myXYT [ i ] with data of a temporary object tmp, and then exiting the module, otherwise, executing the subsequent steps;
s4: and finding the smallest position j in the myXYT [1] to myXYT [ m ] to meet the myXYT [ j ] MMSI=0, and performing a new insertion operation, namely replacing all data of the myXYT [ j ] with data of a temporary object tmp.
The embedded microprocessor in the active profile device of the ocean observation buoy performs data compliance judging and checking at regular time every second, takes the difference value between the time data of the data record and the time data of the observation buoy as the judging basis, and traverses to check the compliance of the myXYT [1] to myXYT [ m ] data record, if the difference value is smaller than 6 minutes, namely 360 seconds, the data record is judged to be compliant, the data record is reserved, otherwise, the data record is judged to be non-compliant, and the data record is deleted; the data compliance judging and checking specifically comprises the following steps:
t1: myXYT [ i ]. MMSI is not 0 (i=1 to m), deltaT is calculated, deltat=abs (myXYT [ i ]. Time-myXYT [0]. Time);
t2: if DeltaT >360 (seconds), myxyti #, mmsi=0, i.e., delete the data record;
t3: and repeating the step T1 until the traversal is finished.
An embedded microprocessor in the active profile display device of the ocean observation buoy is internally provided with an LED configuration structure body (nt_LEDCFG) which consists of a driving power factor, a lighting duration and a lighting duration, as shown in a table 2; wherein, LEDOPower is integer, dimensionless, LEDON is integer, unit is millisecond, LEDOff is integer, unit is millisecond;
TABLE 2 LED arrangement Structure
Variable name | Type(s) | Description of the invention |
LEDPower | Shaping type | Driving power factor, dimensionless |
LEDOn | Shaping type | Bright duration in milliseconds |
LEDOff | Shaping type | The extinguishing time is in milliseconds |
。
An embedded microprocessor in the active profile device of the marine observation buoy is provided with a data buffer zone myLED [ n ], the range of n is defined by an LED configuration structure body (nt_LEDCFG): 10 to 600.
The embedded microprocessor in the active profile display device of the ocean observation buoy executes an active profile display analysis control module at a timing of every second, and comprises the following specific steps:
w1: defining a variable Count and a Distance value array variable Distance [ m ]; these variables are all initialized to 0;
w2: traversing myXYT [1] to myXYT [ m ], if the data record is non-0, calculating to obtain a Distance value between the ship and the buoy by using member variables X, Y and myXYT [0] X, myXYT [0] Y, and storing the Distance value in Distance [ Count ], count++;
w3: traversing the Distance [0] -Distance [ Count-1] to divide by the Knot normalization treatment, wherein the Knot range is as follows: 100-1000, and correspondingly storing the results in distances [0] to [ Count-1];
w4: weighted average is carried out on the distances [0] to [ Count-1];
w5: taking an integer for the W3 result;
w6: and using the result obtained in the step W4 as a serial number i, reading and obtaining LED driving power, ON-time and Off-time data from myLED [ i ]. LEDPower, myLED [ i ]. LEDON and myLED [ i ]. LEDOff, and setting an LED driving power circuit, a timer TimerLED_ON interrupt period and a timer TimerLED_off interrupt period respectively by using the data.
Compared with the prior art, the method has the beneficial effects that: the active profile display device arranged on the observation buoy can dynamically adjust the output power, the lighting duration and the extinguishing duration of the LED lamp strip according to the distance between surrounding ships, achieves the effect of realizing better profile display of the buoy with less energy consumption, is beneficial to prompting the existence of the buoy and warning safety navigation, and promotes the improvement of the self-sustaining power and the viability of the observation buoy.
The objects, features and advantages of the present invention will be described in detail by way of example with reference to the accompanying drawings.
Drawings
Fig. 1 is a circuit configuration diagram of the present invention.
Fig. 2 is a flow chart of the data compliance determination of the present invention.
FIG. 3 is an active profile analysis control flow diagram of the present invention.
Description of the embodiments
In fig. 1, 101 is an embedded microprocessor, 102 is a 485 bus protocol module, 103 is an LED driving module, 104 is an LED lamp strip, 105 is an AIS receiving module, 106 is a position locating module, and 107 is an illuminance sensor, wherein 101 is respectively connected with 102, 103, 105, 106, 107, and 103 and 104.
To further illustrate a specific embodiment of the present invention, the flowcharts shown in fig. 2 and 3 include the following modules and steps.
Step 201: starting a data compliance judging module and executing step 202;
step 202: setting i to 1, and executing step 203;
step 203: judging whether myXYT [ i ]. MMSI is 0, if not, executing step 204, otherwise, executing step 207 if not, executing step 0;
step 204: calculate deltat=abs (myXYT [ i ]. Time-myXYT [0]. Time), execute step 205;
step 205: judging whether DeltaT is more than 360, if so, executing step 206, otherwise, executing step 207;
step 206: setting myXYT [ i ]. MMSI to 0, executing step 207;
step 207: performing the i plus one operation, and performing step 208;
step 208: judging whether i is smaller than m, if so, executing step 203, otherwise, conforming to executing step 209;
step 209: and exiting the module.
Step 301: starting an active profile analysis control module, and executing step 302;
step 302: setting Count to 0, i to 1, and clearing the array Distance [ m ], and executing step 303;
step 303: judging whether myXYT [ i ]. MMSI is 0, if so, executing step 306, otherwise, executing step 303 if not, otherwise, executing step 0;
step 305: calculating Distance [ Count ] =int (Distance [ Count ]/Knot), count++, and performing step 306;
step 306: i is incremented by one, step 307 is performed;
step 307: judging whether i is smaller than m, if so, executing step 303, otherwise, executing step 308;
step 308: calculating a weighted average value of the distances [0] to [ Count-1], taking an integer, storing the integer to i, and executing step 309;
step 309: setting an LED driving power circuit by using myLED [ i ]. LEDCPower, setting a timer TimerLED_ON interrupt period by using myLED [ i ]. LEDCOf, and setting a timer TimerLED_ OFf interrupt period by using myLED [ i ]. LEDCOf; step 310 is performed;
step 310: and exiting the module.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that the specific embodiments described are illustrative only and not intended to limit the scope of the invention, and that any equivalent modifications and variations which are motivated by the present technical route are intended to be included within the scope of the claims.
Claims (6)
1. The utility model provides an initiative profile showing device and method of marine observation buoy, can be according to the distance dynamic adjustment of surrounding AIS boats and ships with the continuous drive power of this device associated LED lamp area and the duration of turning on and off, its characterized in that:
1) The active profile display device of the ocean observation buoy comprises an embedded microprocessor, an LED driving module, an illuminance sensor, an LED lamp strip, a 485 bus protocol module, an AIS receiving module and a positioning module, wherein the embedded microprocessor is respectively connected with the LED driving module, the illuminance sensor, the 485 bus protocol module, the AIS receiving module and the positioning module, and the LED driving module is connected with the LED lamp strip;
2) An embedded microprocessor in an active profile display device of a marine observation buoy is internally provided with a data buffer zone myXYT [ m ], the range of which is defined by a position time structure body nt_XYT: 5-500, wherein myXYT [0] stores MMSI code, longitude, latitude and data time of marine observation buoy, and myXYT [1] -myXYT [ m ] stores MMSI code, longitude, latitude and data time of other ships; the position time structure body nt_XYT consists of MMSI codes, longitudes, latitudes and data time; the initial values of myXYT [1] to myXYT [ m ] are all 0;
3) An embedded microprocessor in the active profile device of the ocean observation buoy is provided with a data buffer zone myLED [ n ], which is defined by an LED configuration structural body nt_LEDCFG, and the range of n: 10 to 600 percent; the LED configuration structure nt_LEDCFG consists of a driving power factor LEDCpower, a lighting duration LEDON and an extinguishing duration LEDOff, wherein the LEDCpower is integer and dimensionless, the LEDON is integer, the unit is millisecond, and the unit is millisecond;
4) An embedded microprocessor in an active profile showing device of a marine observation buoy is used for executing data compliance judging and checking at regular time every second, and the specific steps are as follows:
t1: myXYT [ i ]. MMSI is not 0 (i=1 to m), deltaT is calculated, deltat=abs (myXYT [ i ]. Time-myXYT [0]. Time);
t2: if DeltaT >360, myXYT [ i ]. MMSI=0;
t3: repeating T1 until the traversal is finished;
5) The embedded microprocessor in the active profile display device of the ocean observation buoy executes an active profile display analysis control module at a timing of every second, and comprises the following specific steps:
w1: defining a variable Count and a Distance value array variable Distance [ m ]; these variables are all initialized to 0;
w2: traversing myXYT [1] to myXYT [ m ], if the data record is non-0, calculating to obtain a Distance value between the ship and the buoy by using member variables X, Y and myXYT [0] X, myXYT [0] Y, and storing the Distance value in Distance [ Count ], count++;
w3: traversing the Distance [0] -Distance [ Count-1] to divide by the Knot normalization treatment, wherein the Knot range is as follows: 100-1000, and correspondingly storing the results in distances [0] to [ Count-1];
w4: weighted average is carried out on the distances [0] to [ Count-1];
w5: taking an integer for the W3 result;
w6: and using the result obtained in the step W4 as a serial number i, reading and obtaining LED driving power, ON-time and Off-time data from myLED [ i ]. LEDPower, myLED [ i ]. LEDON and myLED [ i ]. LEDOff, and setting an LED driving power circuit, a timer TimerLED_ON interrupt period and a timer TimerLED_off interrupt period respectively by using the data.
2. The device and method for active profile display of marine observation buoy according to claim 1, wherein the number of channels for obtaining current positioning data and time data is 2, namely 485 bus protocol module and positioning module, preferably 485 bus protocol module; an embedded microprocessor in the active profile showing device of the ocean observation buoy obtains a positioning data packet through any one of 2 channels and then decodes the positioning data packet to obtain current positioning data and time data; and the embedded microprocessor controls to close the positioning module if the positioning data packet is obtained through the 485 bus protocol module, and controls to open the positioning module if the positioning data packet is not obtained through the 485 bus protocol module.
3. The device and method for actively displaying the profile of the marine observation buoy according to claim 1, wherein the channel for obtaining the AIS message data packet is provided with 2 modules, namely a 485 bus protocol module and an AIS receiving module, preferably a 485 bus protocol module; after an AIS message data packet is obtained through any one of the 2 channels, the AIS message data packet is decoded to obtain an on-water mobile communication service identification code, position data and time data of the ship; and the embedded microprocessor controls to close the AIS receiving module if the AIS message data packet is obtained through the 485 bus protocol module, otherwise controls to open the AIS receiving module.
4. The device and method for actively displaying the outline of the marine observation buoy according to claim 1, wherein the device for actively displaying the outline of the marine observation buoy is characterized in that 2 channels for controlling the LED lamp to flash or go out are arranged, namely a 485 bus protocol module and an illuminance sensor, preferably a 485 bus protocol module; an embedded microprocessor in the active profile display device of the ocean observation buoy controls the LED lamp strip to flash or turn off if a command for controlling the LED lamp strip to flash or turn off is obtained through a 485 bus protocol module, and controls the illuminance sensor to be turned off; otherwise, the illumination sensor is controlled to be turned on without obtaining an instruction for controlling the LED lamp strip through the 485 bus protocol module, the illumination sensor detects the state of daytime and night, the LED lamp strip is controlled to be turned off during daytime, and the LED lamp strip is controlled to flash and light during night.
5. The device and method for actively displaying the outline of the marine observation buoy according to claim 1, wherein an embedded microprocessor in the device for actively displaying the outline of the marine observation buoy is provided with a timer TimerLED_ON and a timer TimerLED_off, the units are milliseconds, and the interrupt period is adjustable; the embedded microprocessor, when entering the timer TimerLED_ON interrupt service routine, executes the following steps: the timer LED_ON is turned Off, the LED driving power circuit is controlled to stop outputting to cause the LED lamp to be turned Off, and the timer LED_off is turned ON; the embedded microprocessor, when entering the timer TimerLED_off interrupt service routine, executes the following steps: the timer LED_off is turned Off, the LED driving power circuit is controlled to be powered ON to cause the LED lamp to be lighted, and the timer LED_ON is turned ON.
6. The active profile showing device and method of a marine observation buoy according to claim 1, wherein the embedded microprocessor in the active profile showing device of a marine observation buoy comprises an AIS message data packet decoding module, and the specific steps are as follows:
s1: checking the AIS message data packet, checking to execute the following steps correctly, or else, exiting the module;
s2: setting a temporary object tmp defined by nt_XYT, decoding an AIS message data packet according to a protocol to obtain MMSI code, longitude, latitude and time data of a ship, and respectively storing the MMSI code, longitude, latitude and time data in tmp.MMSI, tmp.X, tmp.Y and tmp.Time;
s3: searching whether myXYT [ i ]. MMSI=tmp.MMSI exists in myXYT [1] to myXYT [ m ] member variables, if yes, performing updating and replacing operation, namely replacing all data of myXYT [ i ] with data of a temporary object tmp, then exiting the module, and otherwise, executing the subsequent steps;
s4: and finding the smallest position j in the myXYT [1] to myXYT [ m ] to meet the myXYT [ j ] MMSI=0, and performing a new insertion operation, namely replacing all data of the myXYT [ j ] with data of a temporary object tmp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310433546.5A CN116280010A (en) | 2023-04-21 | 2023-04-21 | Active profile showing device and method for ocean observation buoy |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310433546.5A CN116280010A (en) | 2023-04-21 | 2023-04-21 | Active profile showing device and method for ocean observation buoy |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116280010A true CN116280010A (en) | 2023-06-23 |
Family
ID=86825928
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310433546.5A Pending CN116280010A (en) | 2023-04-21 | 2023-04-21 | Active profile showing device and method for ocean observation buoy |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116280010A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117382811A (en) * | 2023-10-19 | 2024-01-12 | 河北省张家口水文勘测研究中心 | Novel hydrologic test buoy device and system |
-
2023
- 2023-04-21 CN CN202310433546.5A patent/CN116280010A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117382811A (en) * | 2023-10-19 | 2024-01-12 | 河北省张家口水文勘测研究中心 | Novel hydrologic test buoy device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103380750B (en) | Automatic deepwater net cage intelligent settlement system | |
CN106646557A (en) | Beidou satellite based augmentation system and short message function-based marine monitoring buoy | |
CN116280010A (en) | Active profile showing device and method for ocean observation buoy | |
CN101384817A (en) | Wind turbine comprising approach lighting | |
CN109474910B (en) | Virtual navigation mark registering method based on entity navigation mark position | |
CN206394823U (en) | A kind of hydrometeorological multi-parameter observation buoy | |
CN108791718B (en) | Self-propelled navigation mark lamp | |
CN212125468U (en) | Intelligent sensing navigation mark equipment | |
KR100910834B1 (en) | Coastal construction indication lamp | |
CN207826479U (en) | A kind of integrated form Multipurpose float rod | |
KR101147350B1 (en) | Apparatus for guiding course and alerting | |
CN204463475U (en) | A kind of bridge limit for height collision avoidance system | |
CN111152888A (en) | Navigation mark, navigation mark anti-collision early warning device and method | |
CN208828051U (en) | A kind of Multifunctional navigation mark lamp | |
KR100960592B1 (en) | Lighting device controller for outer wall of lighthouse | |
JP6858448B2 (en) | Display terminal and underpass warning display system | |
CN206669586U (en) | Harbour warns navigation mark | |
CN207233164U (en) | A kind of city bridges and culverts waterlogging real-time graded prior-warning device | |
CN111391994A (en) | Intelligent sensing navigation mark equipment and early warning method thereof | |
CN204775916U (en) | Marine SOS beacon and rescue system | |
CN207164521U (en) | A kind of intelligent buoy | |
CN206954454U (en) | A kind of buoy for being easy to positioning to find | |
JP2016053894A (en) | Evacuation guidance system | |
CN203996795U (en) | Multifunction energy-saving buoy | |
KR102157585B1 (en) | Smart buoy |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |