CN206223992U - Realize that gps antenna detects circuit based on ADC pressure differential methods - Google Patents

Realize that gps antenna detects circuit based on ADC pressure differential methods Download PDF

Info

Publication number
CN206223992U
CN206223992U CN201621340404.6U CN201621340404U CN206223992U CN 206223992 U CN206223992 U CN 206223992U CN 201621340404 U CN201621340404 U CN 201621340404U CN 206223992 U CN206223992 U CN 206223992U
Authority
CN
China
Prior art keywords
gps antenna
antenna
resistance
resistor
pressure differential
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.)
Active
Application number
CN201621340404.6U
Other languages
Chinese (zh)
Inventor
陈定锋
曾全良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Tong Li Information Technology Co Ltd
Original Assignee
Shanghai Tong Li Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Tong Li Information Technology Co Ltd filed Critical Shanghai Tong Li Information Technology Co Ltd
Priority to CN201621340404.6U priority Critical patent/CN206223992U/en
Application granted granted Critical
Publication of CN206223992U publication Critical patent/CN206223992U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Measuring Fluid Pressure (AREA)

Abstract

The utility model provides one kind and realizes that gps antenna detects circuit based on ADC pressure differential methods, including:One end connection power supply of first resistor R1, the first resistor R1;Second resistance R2, one end of the second resistance R2 is connected with the other end of the first resistor R1, the other end ground connection of the second resistance R2;Antenna, the input of the antenna is connected between the first resistor R1 and the second resistance R2;Single-chip microcomputer, the sampling pin of the single-chip microcomputer is connected with the input of the antenna, and the analog to digital conversion outside reference power pins of the single-chip microcomputer are connected with the power supply.Compared with prior art, the utility model has advantages below:1) can exactly detect gps antenna insertion, extract and short-circuit three kinds of states.2) detection method does not rely on corresponding component parameter error in PCBA.

Description

Realize that gps antenna detects circuit based on ADC pressure differential methods
Technical field
The utility model is related to gps antenna to detect the realization principle of hardware circuit, ADC samplings and detection algorithm, specifically It is a kind of to realize that gps antenna detects circuit based on ADC pressure differential methods.
Background technology
Gps antenna is linked on MCU pins as a kind of peripheral hardware, and MCU is according to the curent change flowed through on gps antenna pin To judge gps antenna is which kind of state in insertion, extraction or short circuit.
Common gps antenna detection method is that the curent change of antenna is converted into the change of relative voltage, and then is judged The variable quantity of voltage determines the state of gps antenna, and conventional gps antenna detection method has two kinds.
1) electrical level judging method:Voltage change signal faint on gps antenna is converted into what MCU can be recognized by comparator Low and high level data signal, the shortcoming of the method is that can only judge antenna insertion or extraction two states, it is impossible to judged The state of gps antenna short circuit, and because the reason for component production technology, corresponding component parameter can not in different PCBA Can unanimously (parameter error of identical component has 1%~5%), so as to cause the shakiness of the difficult design of comparison circuit and detection It is qualitative.
2) ADC sampling methods:The curent change of gps antenna is converted into the change of relative voltage, then by the ADC of MCU Pin real-time detection corresponding voltage value, so as to judge the state of gps antenna, the method is the modified version of electrical level judging method, can To detect gps antenna insertion, extract and short-circuit three kinds of states, however it is same because of corresponding component parameter in different PCBA The unstability of detection unanimously (parameter error of identical component has 1%~5%), can not possibly be caused.By it is demonstrated experimentally that The variable quantity of gps antenna electric current and voltage in insertion and disconnection is very small, the small parameter to variable quantity less than identical component Error, as a result causes detection to need the different detection parameter of modification according to different PCBA, very inconvenient, is unfavorable for production.
Utility model content
For defect of the prior art, the utility model purpose is that offer is a kind of can accurately judge gps antenna Three kinds of states based on ADC pressure differential methods realize that gps antenna detects circuit.
In order to solve the above technical problems, the utility model provides one kind realizes gps antenna detection electricity based on ADC pressure differential methods Road, including:One end connection power supply of first resistor R1, the first resistor R1;Second resistance R2, the one of the second resistance R2 End is connected with the other end of the first resistor R1, the other end ground connection of the second resistance R2;Antenna, the input of the antenna End is connected between the first resistor R1 and the second resistance R2;Single-chip microcomputer, the sampling pin of the single-chip microcomputer with it is described The input connection of antenna, the outside reference power pins of the single-chip microcomputer are connected with the power supply.
Preferably, the single-chip microcomputer is new Tang's single-chip microcomputer NUC100.
Preferably, the antenna is gps antenna.
Preferably, the voltage of the power supply is 3.3 volts.
Compared with prior art, the utility model has advantages below:
1) can exactly detect gps antenna insertion, extract and short-circuit three kinds of states.
2) detection method does not rely on corresponding component parameter error in PCBA.
Brief description of the drawings
The detailed description made to non-limiting example with reference to the following drawings by reading, other spies of the present utility model Levying objects and advantages will become more apparent upon.
Fig. 1 is that the utility model realizes that gps antenna detects circuit theory diagrams based on ADC pressure differential methods.
Specific embodiment
The utility model is described in detail with reference to specific embodiment.Following examples will be helpful to this area Technical staff further understands the utility model, but does not limit the utility model in any form.It should be pointed out that to ability For the those of ordinary skill in domain, without departing from the concept of the premise utility, some changes can also be made and changed.
As shown in figure 1, in order to realize accurately detecting gps antenna insertion, extract and extracting three kinds of states, this practicality is new Type realizes that gps antenna detects circuit based on ADC pressure differential methods, is divided into following components.
Antenna input:When antenna plug-in type, electric current faint on antenna flow into second resistance R2, the electric current for flowing into R2 becomes Greatly, then the voltage Vp of R2 upper ends becomes big, then ADC sampled values become big in MCU.When antenna is extracted, Vp=V3.3 × R2/ (R1+ R2), when antenna short circuit, Vp=0V, the different conditions of gps antenna can cause the difference of ADC sampled values in MCU.
System V3.3 voltages:For system power supply and the external reference voltages of MCUADC.
R1, R2 divider resistance:For providing suitable partial pressure to ADC samplings.
MCUADC samplings pin (passage 1):For the magnitude of voltage of Vp points of sampling.
MCU internal reference voltages V1.2:It is the 1.2V reference voltages for having MCU itself to provide, relative to ADC outside references electricity When pressure Vref produces change, the V1.2 that internal ADC channel (passage 7) reads is the corresponding ADC values of 1.2V all the time.
R1 represents the resistance of first resistor R1, and R2 represents the resistance of second resistance R2, and Vp represents the magnitude of voltage between R1 and R2, Vpadc is the voltage sample ADC values of Vp, and V3.3 represents system power supply magnitude of voltage and MCUADC external reference voltages value (by PCBA Component parameter error and do not know), V3.3adc for V3.3 ADC sampled values, V1.2 be MCU internal reference voltage values, V1.2adc is the ADC sampled values of V1.2.
Because V1.2 is the builtin voltage calibration value that MCU is provided, it does not change with the error of external component parameter, institute With us it is fair to consider that, V1.2adc is exactly the sampled value of system V1.2 (being fixed as 1.2V).The ADC of MCU is 10 and adopts Sample precision, then V3.3adc=1024, the voltage actual value that can extrapolate outside V3.3 is:
V3.3=V3.3adc × V1.2/V1.2adc=1024 × V1.2/V1.2adc
The magnitude of voltage at Vp ends is:
Vp=Vpadc × V1.2/V1.2adc
The pressure difference at R1 two ends is:
V3.3-Vp=1024 × V1.2/V1.2adc-Vpadc × V1.2/V1.2adc
V3.3-Vp=(1024-Vpadc) × V1.2/V1.2adc
The value for calculating Vp is asked to be:
Vp=V3.3- (1024-Vpadc) × V1.2/V1.2adc
Assuming that antenna insertion is respectively Vpi and Vpo with the Vp for disconnecting, then △ Vp are the difference that gps antenna is inserted and disconnected:
△ Vp=Vpi-Vpo
=V3.3- (1024-Vpiadc) × V1.2/V1.2adc-V3.3+ (1024-Vpoadc) × V1.2/V1.2adc
=(1024-Vpoadc) × V1.2/V1.2adc- (1024-Vpiadc) × V1.2/V1.2adc
=(1024-Vpoadc-1024+Vpiadc) × V1.2/V1.2adc
=(Vpiadc-Vpoadc) × V1.2/V1.2adc
Be can be seen that when gps antenna insertion by △ Vp, extracted or during short circuit, the value of Vp be certainly it is different, then The value of Vpadc is also different, the size according to △ Vp it may determine that go out antenna be in which kind of state, from formula as can be seen that It doesn't matter for the value of △ Vp values and R1, R2 and outside V3.3, is limited only in the V1.2 inside MCU, but V1.2 is one accurate Value, so identifying pressure differential method judges that gps antenna state is not only restricted to the error of component on PCBA, while can accurately examine Measure gps antenna insertion, extract and short-circuit three kinds of states.
Specific embodiment of the utility model is described above.It is to be appreciated that the utility model not office It is limited to above-mentioned particular implementation, those skilled in the art can within the scope of the claims make a variety of changes or change, This has no effect on substance of the present utility model.In the case where not conflicting, the spy in embodiments herein and embodiment Levying arbitrarily to be mutually combined.

Claims (4)

1. it is a kind of to realize that gps antenna detects circuit based on ADC pressure differential methods, it is characterised in that including:
One end connection power supply of first resistor R1, the first resistor R1;
Second resistance R2, one end of the second resistance R2 is connected with the other end of the first resistor R1, the second resistance The other end ground connection of R2;
Antenna, the input of the antenna is connected between the first resistor R1 and the second resistance R2;
Single-chip microcomputer, the sampling pin of the single-chip microcomputer is connected with the input of the antenna, the outside reference electricity of the single-chip microcomputer Source pin is connected with the power supply.
2. it is according to claim 1 to realize that gps antenna detects circuit based on ADC pressure differential methods, it is characterised in that the monolithic Machine is new Tang's single-chip microcomputer NUC100.
3. it is according to claim 1 to realize that gps antenna detects circuit based on ADC pressure differential methods, it is characterised in that the antenna It is gps antenna.
4. it is according to claim 1 to realize that gps antenna detects circuit based on ADC pressure differential methods, it is characterised in that the power supply Voltage be 3.3 volts.
CN201621340404.6U 2016-12-07 2016-12-07 Realize that gps antenna detects circuit based on ADC pressure differential methods Active CN206223992U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201621340404.6U CN206223992U (en) 2016-12-07 2016-12-07 Realize that gps antenna detects circuit based on ADC pressure differential methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201621340404.6U CN206223992U (en) 2016-12-07 2016-12-07 Realize that gps antenna detects circuit based on ADC pressure differential methods

Publications (1)

Publication Number Publication Date
CN206223992U true CN206223992U (en) 2017-06-06

Family

ID=58784980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201621340404.6U Active CN206223992U (en) 2016-12-07 2016-12-07 Realize that gps antenna detects circuit based on ADC pressure differential methods

Country Status (1)

Country Link
CN (1) CN206223992U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112505583A (en) * 2020-11-24 2021-03-16 深圳市广联智通科技有限公司 Circuit and method for detecting state of active GPS antenna

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112505583A (en) * 2020-11-24 2021-03-16 深圳市广联智通科技有限公司 Circuit and method for detecting state of active GPS antenna

Similar Documents

Publication Publication Date Title
CN103424601B (en) A kind of voltage detecting circuit
CN107677964B (en) A kind of New energy automobile motor battery analog detection method
CN106646077A (en) Detection apparatus used for detecting open and short circuit of load
CN103886360B (en) Smart card chip anti-power analysis method and circuit
CN103576000A (en) Inductance test circuit
CN104269829B (en) Self-adaptive threshold value short-circuit protection circuit
CN105068016A (en) Battery power display control method and battery power display control circuit
CN206223992U (en) Realize that gps antenna detects circuit based on ADC pressure differential methods
CN205353342U (en) Single -phase carrier wave smart electric meter communication module interface load bearing capability tester
CN103558571A (en) Calibration system of electronic transformer and merging unit
CN106505981A (en) Electrification reset circuit
CN205384360U (en) BMS current parameter calibrating device
CN106383264A (en) Anti-interference high-precision zero-crossing detection method
CN103412191B (en) Minitype resistance measurement system
CN107831358A (en) A kind of current measurement device based on MAX4373HEUA
CN110456141A (en) A kind of flash over-current detection circuit and its method
CN208636376U (en) A kind of test circuit of high-precision micro resistance
CN206725726U (en) A kind of voltage check device of large-size machine
CN206323360U (en) Electrification reset circuit
CN106443156B (en) Electric automobile current measurement circuit
CN105301489B (en) A kind of D.C. contactor contact detection device
CN203616454U (en) High-precision battery management system (BMS) unit voltage acquisition circuit
CN212134792U (en) Balanced symmetrical sampling circuit of direct current electric meter
CN109191825A (en) The method that data collector with self-checking function and its On-line self-diagnosis are surveyed
CN209606502U (en) Current detecting comparison circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant