CN110361762A - The polar reception device of automatic identification NMEA - Google Patents
The polar reception device of automatic identification NMEA Download PDFInfo
- Publication number
- CN110361762A CN110361762A CN201910762409.XA CN201910762409A CN110361762A CN 110361762 A CN110361762 A CN 110361762A CN 201910762409 A CN201910762409 A CN 201910762409A CN 110361762 A CN110361762 A CN 110361762A
- Authority
- CN
- China
- Prior art keywords
- module
- signal
- mould group
- receiving
- nmea
- 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
- LIWAQLJGPBVORC-UHFFFAOYSA-N ethylmethylamine Chemical compound CCNC LIWAQLJGPBVORC-UHFFFAOYSA-N 0.000 title claims abstract description 52
- 238000002955 isolation Methods 0.000 claims abstract description 45
- 238000006243 chemical reaction Methods 0.000 claims abstract description 37
- 238000000605 extraction Methods 0.000 claims description 23
- 230000005611 electricity Effects 0.000 claims description 3
- 238000009434 installation Methods 0.000 abstract description 5
- 230000005540 biological transmission Effects 0.000 description 10
- 238000012795 verification Methods 0.000 description 7
- 230000007812 deficiency Effects 0.000 description 6
- 238000000034 method Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000010790 dilution Methods 0.000 description 3
- 239000012895 dilution Substances 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000010365 information processing Effects 0.000 description 3
- 241000209094 Oryza Species 0.000 description 2
- 235000007164 Oryza sativa Nutrition 0.000 description 2
- 230000004807 localization Effects 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 235000009566 rice Nutrition 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/23—Testing, monitoring, correcting or calibrating of receiver elements
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The invention discloses a kind of polar reception devices of automatic identification NMEA, including NMEA receiving module, processing mould group, modulus of conversion group and control mould group, the NMEA receiving module, the processing mould group, the modulus of conversion group and the control mould group are successively electrically connected;The NMEA receiving module, for receiving navigation data signal;The processing mould group obtains positive phase signals and inversion signal for carrying out optocoupler conversion isolation and reverse phase processing to the navigation data signal;The modulus of conversion group exports the positive phase signals or the inversion signal for receiving the positive phase signals and the inversion signal, and to the control mould group;The control mould group, for receiving the positive phase signals or the inversion signal, and carries out polarity identification storage.Realize external data input, though access polarity it is whether correct, can with automatic identification and correct be sent into equipment be acquired calculating, obtain correct data, reduce the workload of installation and debugging.
Description
Technical field
The present invention relates to the data receiver technical field of electronic equipment more particularly to a kind of automatic identification NMEA is polar connects
Receiving apparatus.
Background technique
Electronic equipment in ship needs the data by device measuring and calculating to be sent in other equipment such as VDR, also needs
Receive the data from external equipment, such as GPS or Beidou location data.The equipment installed in ship-handling cabin is relatively more,
Inputoutput data is very more, and there is presence in when data line misconnection or polarity reversed phenomenon, can not carry out correct data biography
It is defeated, workload is increased to installation and debugging.
Summary of the invention
The purpose of the present invention is to provide a kind of polar reception devices of automatic identification NMEA, it is intended to solve existing reception
The easy misconnection of device data line or polarity reverse problem can not carry out the problem of correct data are transmitted.
To achieve the above object, the present invention provides a kind of polar reception devices of automatic identification NMEA, including NMEA to connect
Receive mould group, processing mould group, modulus of conversion group and control mould group, the NMEA receiving module, the processing mould group, the modulus of conversion group
It is successively electrically connected with the control mould group;Wherein,
The NMEA receiving module, for receiving navigation data signal, the navigation data signal includes satellite positioning letter
Number, satellite PRN data-signal, satellites in view signal, recommend one of positioning signal or ground speed signal or a variety of;
The processing mould group obtains just for carrying out optocoupler conversion isolation and reverse phase processing to the navigation data signal
Phase signals and inversion signal;
The modulus of conversion group is exported for receiving the positive phase signals and the inversion signal, and to the control mould group
The positive phase signals or the inversion signal;
The control mould group, for receiving the positive phase signals or the inversion signal, and carries out polarity identification storage.
In one embodiment, the processing mould group includes light-coupled isolation module and inversed module, the light-coupled isolation mould
Block and the NMEA receiving module are electrically connected, and the inversed module and the light-coupled isolation module are electrically connected;Wherein,
The light-coupled isolation module converts isolation processing for carrying out optocoupler to the navigation data signal, obtains positive
Signal;
The inversed module obtains inversion signal for carrying out the reverse processing of positive negative level to the positive phase signals.
In one embodiment, the modulus of conversion group includes first serial module and second serial module, first string
Mouth mold block and the light-coupled isolation module and the control mould group are electrically connected, the second serial module and the inversed module
It is electrically connected with the control mould group;Wherein,
The first serial module for receiving the positive phase signals, and is sent to the control mould group, and identification is correct
Polar signal is stored to the port I/O, reads identification for next polarity;
The second serial module for receiving the inversion signal, and is sent to the control mould group, and identification is correct
Polar signal is stored to the port I/O, reads identification for next polarity.
In one embodiment, the modulus of conversion group includes switch module and third serial port module, the switch module with
The light-coupled isolation module and inversed module are electrically connected, and by I/O interface and control mould group electric connection, and described the
Three serial port modules and the switch module and the control mould group are electrically connected;Wherein,
The control mould group, is also used to export control signal to the switch module, and the control signal includes the first electricity
Ordinary mail number and second electrical level signal;
The switch module for receiving the positive phase signals, the inversion signal and the control signal, and is based on institute
It states control signal and exports the positive phase signals or the inversion signal;
The third serial port module for receiving the positive phase signals or inversion signal, and is sent to the control mould group,
It stores to the port I/O, reads identification for next polarity.
In one embodiment, the third serial port module is mentioned including the first recognition unit, the first judging unit and first
Unit is taken, first recognition unit, first judging unit and first extraction unit are successively electrically connected;Wherein,
Whether first recognition unit includes for identification character in the positive phase signals or the inversion signal and is returned
Vehicle newline;
First judging unit, for judging whether character quantity reaches threshold value;
First extraction unit is compared for receiving the data format saved in full line character string and system, extraction pair
The navigation data information answered.
In one embodiment, the first serial module and second serial module include the second recognition unit, second
Judging unit and the second extraction unit, second recognition unit, the second judgment unit and second extraction unit according to
Secondary electric connection;Wherein,
Whether second recognition unit includes for identification character in the positive phase signals or the inversion signal and is returned
Vehicle newline;
The second judgment unit, for judging whether character quantity reaches threshold value;
Second extraction unit is compared for receiving the data format saved in full line character string and system, extraction pair
The navigation data information answered.
A kind of polar reception device of automatic identification NMEA of the invention, by the NMEA receiving module, for receiving
Navigation data signal;The processing mould group is obtained for carrying out optocoupler conversion isolation and reverse phase processing to the navigation data signal
To positive phase signals and inversion signal;The modulus of conversion group, for receiving the positive phase signals and the inversion signal, and to described
It controls mould group and exports the positive phase signals or the inversion signal;The control mould group, for receiving the positive phase signals or institute
Inversion signal is stated, and carries out polarity identification storage.Realize the input of external data, no matter whether the polarity of access is correct,
With automatic identification and correct be sent into equipment be acquired calculating, obtain correct data, reduce the workload of installation and debugging.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of the polar reception device first embodiment of automatic identification NMEA of the present invention;
Fig. 2 is the structural schematic diagram of the polar reception device second embodiment of automatic identification NMEA of the present invention;
Fig. 3 is the structural schematic diagram of third serial port module of the present invention;
Fig. 4 is the structural schematic diagram of first serial module or second serial module of the present invention;
First embodiment: the polar reception device of 100- automatic identification NMEA, 10-NMEA receiving module, 20- handle mould
Group, 30- modulus of conversion group, 40- control mould group, 201- light-coupled isolation module, 202- inversed module, 301- first serial module,
302- second serial module, the second recognition unit of 3011-, 3012- second judgment unit, the second extraction unit of 3013-;
Second embodiment: the polar reception device of 200- automatic identification NMEA, 50-NMEA receiving module, 60- handle mould
Group, 70- modulus of conversion group, 80- control mould group, 601- light-coupled isolation module, 602- inversed module, 701- switch module, 702- the
Three serial port modules, the first recognition unit of 7021-, the first judging unit of 7022-, the first extraction unit of 7023-.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Referring to Fig. 1, being the structural representation of polar 100 first embodiment of reception device of automatic identification NMEA of the present invention
Figure, as shown in Figure 1, the polar reception device 100 of the automatic identification NMEA include NMEA receiving module 10, processing mould group 20,
Modulus of conversion group 30 and control mould group 40, the NMEA receiving module 10, the processing mould group 20, the modulus of conversion group 30 and described
Control mould group 40 is successively electrically connected;Wherein,
The NMEA receiving module 10, for receiving navigation data signal, the navigation data signal includes satellite positioning
Signal, satellites in view signal, recommends one of positioning signal or ground speed signal or a variety of at satellite PRN data-signal;
The processing mould group 20 is obtained for carrying out optocoupler conversion isolation and reverse phase processing to the navigation data signal
Positive phase signals and inversion signal;
The modulus of conversion group 30, for receiving the positive phase signals and the inversion signal, and to the control mould group 40
Export the positive phase signals or the inversion signal;
The control mould group 40, for receiving the positive phase signals or the inversion signal, and carries out polarity identification storage.
The processing mould group 20 includes light-coupled isolation module 201 and inversed module 202, the light-coupled isolation module 201 with
The NMEA receiving module 10 is electrically connected, and the inversed module 202 is electrically connected with the light-coupled isolation module 201;Wherein,
The light-coupled isolation module 201 is converted isolation processing for carrying out optocoupler to the navigation data signal, is obtained just
Phase signals;
The inversed module 202 obtains inversion signal for carrying out the reverse processing of positive negative level to the positive phase signals.
The modulus of conversion group 30 includes first serial module 301 and second serial module 302, the first serial module
301 are electrically connected with the light-coupled isolation module 201 and the control mould group 40, the second serial module 302 with it is described instead
Phase module 202 and the control mould group 40 are electrically connected;Wherein,
The first serial module 301 for receiving the positive phase signals, and is sent to the control mould group 40, identification
Correct polar signal is stored to the port I/O, reads identification for next polarity;
Referring to Fig. 4, the second serial module 302, for receiving the inversion signal, and is sent to the control mould
Group 40, identifies correct polar signal, stores to the port I/O, reads identification for next polarity.
The first serial module 301 and second serial module 302 include that the judgement of the second recognition unit 3011, second is single
Member 3012 and the second extraction unit 3013, second recognition unit 3011, the second judgment unit 3012 and described second
Extraction unit 3013 is successively electrically connected;Wherein,
Whether second recognition unit 3011 includes for identification character in the positive phase signals or the inversion signal
It is accorded with new line;
The second judgment unit 3012, for judging whether character quantity reaches threshold value;
Second extraction unit 3013 is compared for receiving the data format saved in full line character string and system, is mentioned
Take corresponding navigation data information.
In the present embodiment, 10 receiver of NMEA receiving module, the signal in channel can be received, and
Be transformed into physical form identical information when sending, then be transmitted to the stay of two nights, that is, complete so-called decoding process, can be from being disturbed
Signal in extract to the maximum extent information source output information, and as far as possible reappear information source output, model CL1.For connecing
Navigation data signal is received, the navigation data signal includes satellite positioning signal (GPGGA), satellite PRN data-signal
(GPGSA), satellites in view signal (GPGSV), recommendation one of positioning signal (GPRMC) or ground speed signal (GPVTG)
Or it is a variety of.Satellite positioning signal (GPGGA) data content includes latitude, latitude hemisphere, north latitude or south latitude (N or S), longitude
Hemisphere, east longitude or west longitude (E or W), alignment quality instruction, 0=positioning is invalid, 1=positioning effectively, using number of satellite, from 00
To 12, horizontal accuracy, 0.5 to 99.9, height of the antenna from sea level, -9999.9 to 9999.9 meters, height unit, M expression
Height (- 9999.9 to 9999.9), the height unit of unit rice, the earth ellipsoid RELATIVE SEA LEVEL, M indicate unit rice, difference
The GPS data time limit (RTCM SC-104), finally set up RTCM transmission number of seconds amount, differential reference base station label, from 0000 to
1023;Satellite PRN data-signal (GPGSA) data content includes mode 2:M=manual, and A=is automatic, mode 1: location type
Formula 1=no-fix, 2=two-dimensional localization, 3=three-dimensional localization, the 1st channel satellite PRN code currently in use number (Pseudo
Random Noise, Pseudo-Random Noise Code), 01 to 32 (leading digit deficiency then mends 0, at most can receive 12 satellite informations),
2nd channel, 12nd channel of satellite PRN code number ... currently in use satellite PRN code number currently in use, PDOP are comprehensive
Position dilution of precision (0.5-99.9), HDOP Horizontal Dilution of Precision (0.5-99.9), VDOP vertical dilution of precision (0.5-99.9);
Satellites in view signal (GPGSV) data content includes that total GSV sentence text number, current GSV statement number, satellites in view are total
Number, 00 to 12, satellite number, 01 to 32, satellite elevation angle, 00 to 90 degree, satellite aximuth, 000 to 359 degree.Actual value, noise
Than (C/No), 00 to 99dB;No table does not receive signal;Recommendation positioning signal (GPRMC) data content includes UTC
(Coordinated Universal Time) time, hhmmss (Hour Minute Second) format, positioning states, A=effective position, V=
Invalid positioning, Latitude, latitude ddmm.mmmm (degree point) format (leading digit deficiency then mends 0), (north half latitude hemisphere N
Ball) or S (Southern Hemisphere), Longitude, longitude dddmm.mmmm (degree point) format (leading digit deficiency then mends 0), longitude hemisphere
E (east longitude) or W (west longitude), ground rate (000.0~999.9 section, Knot, leading digit deficiency then mend 0), ground course
(000.0~359.9 degree, using geographical north as reference data, leading digit deficiency then mend 0), the UTC date, ddmmyy (day month year) lattice
Formula, Magnetic Variation, magnetic declination (000.0~180.0 degree, leading digit deficiency then mend 0), Declination, magnetic
Drift angle direction, E (east) or W (west), Mode Indicator, (only 3.00 version of NMEA0183 exports, and A=is autonomous for mode instruction
Positioning, D=difference, E=estimation, N=data invalid);Ground speed signal (GPVTG) data content includes being with geographical north
The ground course (000~359 degree, the 0 of front will also be transmitted) of reference data, using magnetic north as the ground course of reference data
(000~359 degree, the 0 of front will also be transmitted), ground rate (000.0~999.9 section, the 0 of front will also be transmitted),
Face rate (0000.0~1851.8 kilometer/hour, the 0 of front will also be transmitted), mode indicate (only NMEA0183 3.00 editions
This output, A=autonomous positioning, D=difference, E=estimation, N=data invalid.The light-coupled isolation module 201 is photo-coupler,
It is a kind of electric one power conversion device of a light using light as media transmission electric signal.It is using light as medium the electric signal of input terminal
Optical signal is converted to, is coupled to output end and is reconverted into electric signal, since photo-coupler input, outlet chamber are mutually isolated, telecommunications
Number transmission has the characteristics that one-way, thus with good electrical isolation capabilities and anti-interference ability.Model FL817C/B.It will
The navigation data signal received carries out optocoupler conversion isolation processing, obtains positive phase signals.The inversed module 202 is anti-
The phasing back 180 degree of the positive phase signals is obtained the inversion signal, model K8DS-PH1 by phase device.The control mould
Block is central processing unit (CPU), is the final execution unit of information processing, program operation, model 6ES7317-2EK14-
0AB0.The first serial module 301 and the second serial module 302 are universal asynchronous receiving-transmitting transmitter, it will be passed
Defeated data is converted between serial communication and parallel communications, model FT232RL.The control mould group 40 is centre
It manages device (CPU), is the final execution unit of information processing, program operation, model 6ES7317-2EK14-0AB0.
Detailed process are as follows: the NMEA receiving module 10 receives the navigation data signal, the light-coupled isolation module 201
Optocoupler is carried out to the navigation data signal and converts isolation processing, obtains positive phase signals;The inversed module 202 is to the positive
Signal carries out the reverse processing of positive negative level, obtains inversion signal.The first serial module 301 receives the positive phase signals, and
It is sent to the control mould group 40, the second serial module 302 receives the inversion signal, and is sent to the control mould group
40.When inputting the positive phase signals, polarity connection is correct, data normal transmission, and record I/O port status is high level shape
State keeps I/O port status constant when receiving the positive phase signals for the first time, until continuous first quantity time receives
When the inversion signal, change I/O port status is low level signal state;When inputting the inversion signal, polarity connection
Correctly, data normal transmission, record I/O port status is low level state, when receiving the inversion signal for the first time, is protected
It is constant to hold I/O port status, until change I/O port status is height when continuous first quantity time receives the positive phase signals
Level signal state identifies polarity, it is ensured that data connection normal transmission.NMEA is the unified RTCM standard association of GPS navigation equipment
View.It is a set of standard information for defining receiver output, there is several different formats, and every kind is all independent relevant ASCII
Format, comma separate data flow, and data flow length is differed from 30-100 character.The content format of data is by start bit, data
Hold and stop position three parts composition, such as $ aaccc, ddd, ddd ..., ddd*hh<CR><LF>, start bit be " $ " or "!";
Aaccc is address field, and front two is identifier, and latter three are statement name, and ddd ... ddd is data;" * " is verification and prefix;hh
For verification and (check sum);The verification of all character ASCII characters and (each byte does XOR operation, is verified between $ and *
With rear, the ascii character of 16 system format of reconvert);<CR><LF>is CR (Carriage Return)+LF (Line Feed)
Frame end, carriage return and line feed.Second recognition unit 3011 identifies that the frame in the positive phase signals or the inversion signal is ordered
Enable start bit, " $ " or "!";If it is unidentified to " $ " or "!", then continue waiting for receiving, if recognize " $ " or "!", identify word
Symbol;The second judgment unit 3012 judges that character number reaches threshold value, indicates that the polarity for receiving data is correct;Then know
Other new line symbol, the new line symbol is<CR><LF>;Last second extraction unit 3013 receives full line character string
It is compared with the data format saved in system, extracts corresponding navigation data information.
The polar reception device 100 of a kind of automatic identification NMEA of the invention is used for by the NMEA receiving module 10
Receive navigation data signal;The processing mould group 20, for carrying out optocoupler conversion isolation and reverse phase to the navigation data signal
Processing, obtains positive phase signals and inversion signal;The modulus of conversion group 30, for receiving the positive phase signals and reverse phase letter
Number, and the positive phase signals or the inversion signal are exported to the control mould group 40;The control mould group 40, for receiving
Positive phase signals or the inversion signal are stated, and carries out polarity identification storage.The input of external data is realized, no matter the polarity of access
It is whether correct, with automatic identification and it can correct and be sent into equipment and be acquired calculatings, obtain correct data, reduction installation and debugging
Workload.
Referring to Fig. 2, being the structural representation of polar 200 second embodiment of reception device of automatic identification NMEA of the present invention
Figure, as shown in Fig. 2, the polar reception device 200 of the automatic identification NMEA include NMEA receiving module 50, processing mould group 60,
Modulus of conversion group 70 and control mould group 80, the NMEA receiving module 50, the processing mould group 60, the modulus of conversion group 70 and described
Control mould group 80 is successively electrically connected;Wherein,
The NMEA receiving module 50, for receiving navigation data signal, the navigation data signal includes satellite positioning
Signal, satellites in view signal, recommends one of positioning signal or ground speed signal or a variety of at satellite PRN data-signal;
The processing mould group 60 is obtained for carrying out optocoupler conversion isolation and reverse phase processing to the navigation data signal
Positive phase signals and inversion signal;
The modulus of conversion group 70, for receiving the positive phase signals and the inversion signal, and to the control mould group 80
Export the positive phase signals or the inversion signal;
The control mould group 80, for receiving the positive phase signals or the inversion signal, and carries out polarity identification storage.
The processing mould group 60 includes light-coupled isolation module 601 and inversed module 602, the light-coupled isolation module 601 with
The NMEA receiving module 50 is electrically connected, and the inversed module 602 is electrically connected with the light-coupled isolation module 601;Wherein,
The light-coupled isolation module 601 is converted isolation processing for carrying out optocoupler to the navigation data signal, is obtained just
Phase signals;
The inversed module 602 obtains inversion signal for carrying out the reverse processing of positive negative level to the positive phase signals.
The modulus of conversion group 70 include switch module 701 and third serial port module 702, the switch module 701 with it is described
Light-coupled isolation module 601 and inversed module 602 are electrically connected, and are electrically connected by I/O interface and the control mould group 80, institute
It states third serial port module 702 and the switch module 701 and the control mould group 80 is electrically connected;Wherein,
The control mould group 80 is also used to export control signal to the switch module 701, and the control signal includes the
One level signal and second electrical level signal;
The switch module 701, for receiving the positive phase signals, the inversion signal and the control signal, and base
The positive phase signals or the inversion signal are exported in the control signal;
The third serial port module 702 for receiving the positive phase signals or inversion signal, and is sent to the control mould
Group 80, stores to the port I/O, reads identification for next polarity.
Referring to Fig. 3, the third serial port module 702 includes the first recognition unit 7021,7022 and of the first judging unit
First extraction unit 7023, first recognition unit 7021, the first judging unit 7022 and the first extraction unit 7023 are successively
It is electrically connected;Wherein,
Whether first recognition unit 7021 includes for identification character in the positive phase signals or the inversion signal
It is accorded with new line;
First judging unit 7022, for judging whether character quantity reaches threshold value;
First extraction unit 7023 is compared for receiving the data format saved in full line character string and system, is mentioned
Take corresponding navigation data information.
In the present embodiment, the NMEA receiving module 50, the light-coupled isolation module 601, the inversed module 602
Workflow and the NMEA receiving module 50 of first embodiment, the light-coupled isolation module 601, the inversed module
602 workflow is consistent, and details are not described herein again.The switch module 701 is electronic switch, is to utilize electronic circuit and electricity
Power electronic device realizes the running unit of connecting and disconnecting of the circuit, including at least a controllable electric drive device, such as thyristor, crystal
Pipe, field-effect tube, silicon-controlled, relay etc., model DPS3005-USB.The third serial port module 702 is universal asynchronous receipts
Transmitter is sent out, the data that it will be transmitted is converted between serial communication and parallel communications, model FT232RL.It is described
Controlling mould group 80 is central processing unit (CPU), is the final execution unit of information processing, program operation, model 6ES7317-
2EK14-0AB0。
Detailed process are as follows: the NMEA receiving module 50 receives navigation data signal, 601 pairs of institutes of the light-coupled isolation module
It states navigation data signal and carries out optocoupler conversion isolation processing, obtain positive phase signals;The inversed module 602 is to the positive phase signals
The reverse processing of positive negative level is carried out, inversion signal is obtained.The control mould group 80 exports control letter to the switch module 701
Number, the control signal includes the first level signal and second electrical level signal;The switch module 701 receive it is described just believe
Number, the inversion signal and the control signal.When exporting the first level signal, that is, high level signal by I/O interface, then lead to
It crosses third serial port module 702 and exports the positive phase signals to the control mould group 80, polarity connection is correct, carries out normal data
Transmission, and recording I/O Interface status is high level state, when receiving the positive phase signals for the first time, continues to keep I/O interface
State is high level state, until continuous first quantity time receives the inversion signal, then changing I/O Interface status is low level
State guarantees the correctness of polarity connection, data normal transmission.Second electrical level signal, that is, low level is exported when passing through I/O interface
Signal then exports the inversion signal to the control mould group 80 by third serial port module 702, and polarity connection is correct, carries out
Normal data transmission, and recording I/O Interface status is low level state, when receiving the inversion signal for the first time, is continued
Holding I/O Interface status is low level state, until the continuous first quantity time reception positive phase signals, then change I/O interface
State is high level state, guarantees the correctness of polarity connection, data normal transmission.NMEA is that GPS navigation equipment is unified
RTCM standard agreement.It is a set of standard information for defining receiver output, has several different formats, every kind is all independent phase
The ASCII fromat of pass, comma separate data flow, and data flow length is differed from 30-100 character.The content format of data is by starting
Position, data content and stop position three parts composition, such as $ aaccc, ddd, ddd ..., ddd*hh<CR><LF>, start bit be
" $ " or "!";Aaccc is address field, and front two is identifier, and latter three are statement name, and ddd ... ddd is data;" * " is verification
And prefix;Hh is verification and (check sum);The verification of all character ASCII characters and (each byte does exclusive or fortune between $ and *
It calculates, obtains verification with after, the ascii character of 16 system format of reconvert);<CR><LF>is CR (Carriage Return)+LF
(Line Feed) frame end, carriage return and line feed.First recognition unit 7021 identifies the positive phase signals or reverse phase letter
Frame ordering start bit in number, " $ " or "!";If it is unidentified to " $ " or "!", then continue waiting for receiving, if recognize " $ " or
"!", identify character;First judging unit 7022 judges that character number reaches threshold value, indicates the polarity for receiving data
Correctly;Then identification new line symbol, the new line symbol is<CR><LF>;Last first extraction unit 7023 receives
Full line character string is compared with the data format saved in system, extracts corresponding navigation data information.
The polar reception device 200 of a kind of automatic identification NMEA of the invention is used for by the NMEA receiving module 50
Receive navigation data signal;The processing mould group 60, for carrying out optocoupler conversion isolation and reverse phase to the navigation data signal
Processing, obtains positive phase signals and inversion signal;The modulus of conversion group 70, for receiving the positive phase signals and reverse phase letter
Number, and the positive phase signals or the inversion signal are exported to the control mould group 80;The control mould group 80, for receiving
Positive phase signals or the inversion signal are stated, and carries out polarity identification storage.The input of external data is realized, no matter the polarity of access
It is whether correct, with automatic identification and it can correct and be sent into equipment and be acquired calculatings, obtain correct data, reduction installation and debugging
Workload.
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Claims (6)
1. a kind of polar reception device of automatic identification NMEA, which is characterized in that
Including NMEA receiving module, processing mould group, modulus of conversion group and control mould group, the NMEA receiving module, the processing mould
Group, the modulus of conversion group and the control mould group are successively electrically connected;Wherein,
The NMEA receiving module, for receiving navigation data signal, the navigation data signal includes satellite positioning signal, defends
Star PRN data-signal, recommends one of positioning signal or ground speed signal or a variety of at satellites in view signal;
The processing mould group obtains just believing for carrying out optocoupler conversion isolation and reverse phase processing to the navigation data signal
Number and inversion signal;
The modulus of conversion group, for receiving the positive phase signals and the inversion signal, and to described in control mould group output
Positive phase signals or the inversion signal;
The control mould group, for receiving the positive phase signals or the inversion signal, and carries out polarity identification storage.
2. the polar reception device of automatic identification NMEA as described in claim 1, which is characterized in that the processing mould group includes
Light-coupled isolation module and inversed module, the light-coupled isolation module and the NMEA receiving module are electrically connected, the reverse phase mould
Block and the light-coupled isolation module are electrically connected;Wherein,
The light-coupled isolation module converts isolation processing for carrying out optocoupler to the navigation data signal, obtains positive phase signals;
The inversed module obtains inversion signal for carrying out the reverse processing of positive negative level to the positive phase signals.
3. the polar reception device of automatic identification NMEA as claimed in claim 2, which is characterized in that the modulus of conversion group includes
First serial module and second serial module, the first serial module and the light-coupled isolation module and control mould group electricity
Property connection, the second serial module and the inversed module and control mould group electric connection;Wherein,
The first serial module for receiving the positive phase signals, and is sent to the control mould group, identifies correct polarity
Signal is stored to the port I/O, reads identification for next polarity;
The second serial module for receiving the inversion signal, and is sent to the control mould group, identifies correct polarity
Signal is stored to the port I/O, reads identification for next polarity.
4. the polar reception device of automatic identification NMEA as claimed in claim 2, which is characterized in that the modulus of conversion group includes
Switch module and third serial port module, the switch module and the light-coupled isolation module and inversed module are electrically connected, and logical
It crosses I/O interface and the control mould group is electrically connected, the third serial port module and the switch module and the control mould group
It is electrically connected;Wherein,
The control mould group is also used to export control signal to the switch module, and the control signal is believed including the first level
Number and second electrical level signal;
The switch module for receiving the positive phase signals, the inversion signal and the control signal, and is based on the control
Signal processed exports the positive phase signals or the inversion signal;
The third serial port module for receiving the positive phase signals or inversion signal, and is sent to the control mould group, storage
To the port I/O, identification is read for next polarity.
5. the polar reception device of automatic identification NMEA as claimed in claim 4, which is characterized in that the third serial port module
Including the first recognition unit, the first judging unit and the first extraction unit, first recognition unit, first judging unit
It is successively electrically connected with first extraction unit;Wherein,
Whether first recognition unit includes for identification that character and carriage return are changed in the positive phase signals or the inversion signal
Row symbol;
First judging unit, for judging whether character quantity reaches threshold value;
First extraction unit is compared for receiving the data format saved in full line character string and system, is extracted corresponding
Navigation data information.
6. the polar reception device of automatic identification NMEA as claimed in claim 3, which is characterized in that the first serial module
It include the second recognition unit, second judgment unit and the second extraction unit with second serial module, second recognition unit,
The second judgment unit and second extraction unit are successively electrically connected;Wherein,
Whether second recognition unit includes for identification that character and carriage return are changed in the positive phase signals or the inversion signal
Row symbol;
The second judgment unit, for judging whether character quantity reaches threshold value;
Second extraction unit is compared for receiving the data format saved in full line character string and system, is extracted corresponding
Navigation data information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910762409.XA CN110361762A (en) | 2019-08-19 | 2019-08-19 | The polar reception device of automatic identification NMEA |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910762409.XA CN110361762A (en) | 2019-08-19 | 2019-08-19 | The polar reception device of automatic identification NMEA |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110361762A true CN110361762A (en) | 2019-10-22 |
Family
ID=68224041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910762409.XA Pending CN110361762A (en) | 2019-08-19 | 2019-08-19 | The polar reception device of automatic identification NMEA |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110361762A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009194973A (en) * | 2008-02-13 | 2009-08-27 | Delta Electronics Inc | Inverter device having input signal processing device and method thereof |
CN202033624U (en) * | 2011-01-13 | 2011-11-09 | 浙江海洋学院 | Information generator of ship communication navigation apparatus |
CN102402495A (en) * | 2011-09-14 | 2012-04-04 | 厦门新诺科技有限公司 | NAME0183 input signal polarity self-adaption method for ship and interface device |
CN102882508A (en) * | 2012-08-30 | 2013-01-16 | 广州市捷众科贸有限公司 | Simple circuit for switching polarity of RS485 interface |
CN103323737A (en) * | 2013-06-13 | 2013-09-25 | 国家电网公司 | RS-485 interface polarity detecting method and system based on electric energy meter communication protocol |
CN103916105A (en) * | 2013-01-04 | 2014-07-09 | Ls产电株式会社 | Apparatus for converting terminal polarity for rs communication |
CN106486086A (en) * | 2017-01-05 | 2017-03-08 | 京东方科技集团股份有限公司 | A kind of source electrode driving device, its polarity inversion control method and liquid crystal indicator |
CN211375071U (en) * | 2019-08-19 | 2020-08-28 | 南京俊禄科技有限公司 | Receiving device capable of automatically identifying NMEA polarity |
-
2019
- 2019-08-19 CN CN201910762409.XA patent/CN110361762A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009194973A (en) * | 2008-02-13 | 2009-08-27 | Delta Electronics Inc | Inverter device having input signal processing device and method thereof |
CN202033624U (en) * | 2011-01-13 | 2011-11-09 | 浙江海洋学院 | Information generator of ship communication navigation apparatus |
CN102402495A (en) * | 2011-09-14 | 2012-04-04 | 厦门新诺科技有限公司 | NAME0183 input signal polarity self-adaption method for ship and interface device |
CN102882508A (en) * | 2012-08-30 | 2013-01-16 | 广州市捷众科贸有限公司 | Simple circuit for switching polarity of RS485 interface |
CN103916105A (en) * | 2013-01-04 | 2014-07-09 | Ls产电株式会社 | Apparatus for converting terminal polarity for rs communication |
CN103323737A (en) * | 2013-06-13 | 2013-09-25 | 国家电网公司 | RS-485 interface polarity detecting method and system based on electric energy meter communication protocol |
CN106486086A (en) * | 2017-01-05 | 2017-03-08 | 京东方科技集团股份有限公司 | A kind of source electrode driving device, its polarity inversion control method and liquid crystal indicator |
CN211375071U (en) * | 2019-08-19 | 2020-08-28 | 南京俊禄科技有限公司 | Receiving device capable of automatically identifying NMEA polarity |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108562923B (en) | Multi-source information fusion ship positioning method based on AIS ship station | |
CN106908044B (en) | A kind of full sea area tidal observation system and tidal observation method based on Beidou | |
CN101329180A (en) | Double-module shipborne terminal based on big dipper satellite navigation system positioning communication | |
CN107004345A (en) | Control method, unmanned plane and remote control equipment | |
Mistary et al. | Real time Vehicle tracking system based on ARM7 GPS and GSM technology | |
CN103163508A (en) | Doppler velocity log (DVL) parameter calibration method used for integrated navigation system of underwater inertial navigation system (INS) and DVL | |
CN107392590A (en) | Electronic chart post-paid System and method for based on Big Dipper short message | |
CN110361762A (en) | The polar reception device of automatic identification NMEA | |
CN108445453A (en) | Localization method, device, system and computer storage media | |
CN211375071U (en) | Receiving device capable of automatically identifying NMEA polarity | |
CN213717982U (en) | Data transmission system of sonar | |
KR20180000420U (en) | smart devices based nets phrase Location detection system and method | |
CN205374745U (en) | Position terminal | |
KR20140001534A (en) | Apparatus and method for providing location information and additional information using pseudolite navigation system | |
CN202471071U (en) | Semi-automatic navigation positioning system based on total station | |
CN109191820A (en) | Crowdsourcing data acquisition device and crowdsourcing depth measurement data collector | |
CN104139838A (en) | Method for avoiding ship accidents | |
CN210835256U (en) | Well lid positioning module based on beidou system | |
CN102879834A (en) | Method for implementing communication of navigation data of satellite navigation weather sonde | |
CN103926593A (en) | Big Dipper positioning and communication integrated terminal based on locomotive security | |
CN102183769A (en) | Method and device for sharing clock reference source | |
CN103743958A (en) | Thunder and lightning detection device on basis of Beidou satellite timing system | |
CN104113354A (en) | AIS (automatic identification system) equipment | |
CN103854397A (en) | Signal output method and electronic device | |
CN207835467U (en) | A kind of time synchronism apparatus |
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 |