[go: up one dir, main page]

CN116780710B - GNSS receiver charging control method and device - Google Patents

GNSS receiver charging control method and device Download PDF

Info

Publication number
CN116780710B
CN116780710B CN202310753345.3A CN202310753345A CN116780710B CN 116780710 B CN116780710 B CN 116780710B CN 202310753345 A CN202310753345 A CN 202310753345A CN 116780710 B CN116780710 B CN 116780710B
Authority
CN
China
Prior art keywords
charging
module
usb
gnss receiver
voltage
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
CN202310753345.3A
Other languages
Chinese (zh)
Other versions
CN116780710A (en
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 Spatio Singularity Intelligent Technology Co ltd
Original Assignee
Shanghai Spatio Singularity Intelligent 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 Spatio Singularity Intelligent Technology Co ltd filed Critical Shanghai Spatio Singularity Intelligent Technology Co ltd
Priority to CN202310753345.3A priority Critical patent/CN116780710B/en
Publication of CN116780710A publication Critical patent/CN116780710A/en
Application granted granted Critical
Publication of CN116780710B publication Critical patent/CN116780710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a GNSS receiver charging control method and device, and relates to the technical field of automatic battery charging control of GNSS receivers. In order to solve the problems that the USB port of the computer can be automatically protected due to the fact that the current exceeds the limit, so that the computer cannot normally identify GNSS receiver equipment, and the user fails to copy data; a GNSS receiver charging control device comprises an MCU control module, a USB bus switching module, a comparator detection module and a battery charging management module; when the GNSS receiver is connected to the computer through the USB cable in the power-on state, the GNSS receiver charging control device closes the battery charging function, and when the GNSS receiver is connected to the computer through the USB cable in the power-off state, the GNSS receiver charging control device opens the charging function and limits the maximum charging current to 500mA so as to protect the USB port of the computer.

Description

GNSS receiver charging control method and device
Technical Field
The present invention relates to the field of automatic battery charging control technologies for GNSS receivers, and in particular, to a method and an apparatus for controlling battery charging of a GNSS receiver.
Background
The batteries of early GNSS receivers were basically all detachable, and when the battery electric quantity was not enough, the user can be with the battery dismantlement use supporting special charging device to charge, had both increased the cost like this, had also caused inconvenience for the user, and the battery exists the possibility of losing moreover.
With the development of battery cell technology and the improvement of the integration level of a GNSS receiver, in order to reduce the volume and the weight of the receiver, the GNSS receiver is gradually changed into a built-in non-detachable mode, which requires that the receiver is provided with a built-in charging control circuit, and a user can charge the built-in battery of the receiver directly through a USB interface; the built-in battery capacity of the receiver is generally larger, the charging time can be shortened by adopting the USB PD quick charging technology, better experience is provided for a user, the USB PD quick charging current is larger, when the user uses a computer to connect a USB interface of the GNSS receiver, and data copying is performed, because the USB interface of the computer can only provide 500mA current output to the maximum extent and is far smaller than the current required by the USB quick charging of the GNSS receiver, the USB port of the computer can be automatically protected due to the fact that the current exceeds the limit, so that the computer cannot normally identify GNSS receiver equipment, and the user fails to copy the data. There are generally two conventional solutions to this problem:
firstly, a highly integrated battery power management I C device is adopted to automatically identify whether a USB interface is connected with a computer device or a charging adapter, and charging current is controlled through software configuration, so that the method has the defects that I C chips with the functions are less in selection and can only depend on foreign manufacturers, no domestic alternative scheme exists, the software configuration is complex, and the development workload is large;
secondly, in the charging control method, when the charging voltage is detected to be 5V, the charging current is limited to be not more than 500mA, and the method has the defect that when a user uses a common non-quick charging adapter, the user can only charge with the charging current less than 500mA, so that the charging time is greatly prolonged, and the user is inconvenient to use.
Disclosure of Invention
The invention aims to provide a GNSS receiver charging control method and device, which can automatically judge equipment connected with a USB interface of a GNSS receiver, switch control a charging function of a built-in battery, and automatically close the charging function when the GNSS receiver is connected with a computer for data communication, so as to solve the problems in the background art.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a GNSS receiver charge control method, comprising the steps of:
s1: judging the on-off state of the GNSS receiver: based on the MCU control module, acquiring the operation data of the GNSS receiver, judging whether the GNSS receiver is in a power-on state or a power-off state currently, and outputting a USB control signal based on a judging result;
s2: USB bus switching: the USB bus switching module responds to the USB control signal, correspondingly switches the USB interface and determines the switching state of the USB interface;
the switching state comprises a GNSS receiver main processor connection state and an open circuit state;
s3: judging the output level of the comparator: the comparator detection module samples the voltage of the D+ signal line of the USB interface, wherein the comparator detection module comprises two paths of voltage comparator circuits, namely a voltage comparator VM1 and a voltage comparator VM2;
the reference voltages of the two voltage comparator circuits are different, the voltage value of the D+ signal line of the USB interface is sampled through I N + input ends of the two operational amplifiers, and I N-ends are the reference voltage input ends of the two voltage comparator circuits;
the two voltage comparators compare the voltage value of the D+ signal of the USB interface with the reference voltage value of the two voltage comparator circuits in the on-off state, and output comparison result signals;
the MCU control module acquires the comparison result signal to judge and process, and outputs a control signal matched with the processing result to the battery charging management module;
s4: charging output: and the battery charging management module is used for switching on or switching off the charging function of the battery according to the control signal, and setting the maximum charging current limit value based on the switching-on and switching-off state of the GNSS receiver and the output level of the two voltage comparators.
Further, for the MCU control module in S1, specifically:
the MCU control module comprises an MCU controller, the MCU controller is respectively connected with the outputs of the two voltage comparators through two paths of GPIO inputs, and the output results of the comparator detection module are sampled;
the MCU controller is connected with a switching selection switch of the USB bus switching module through one path of GPIO output, and switches the communication selection of the USB bus according to the current on-off state;
the MCU controller is respectively connected with a charging function and a charging current threshold value selection end of the battery charging management module through two paths of GPIO outputs, and correspondingly controls the switching of the charging function and the selection of the charging current threshold value.
Further, in the step S2, the USB interface is correspondingly switched, specifically:
when the USB bus switching module receives a USB control signal output when the GNSS receiver is in a starting state, the USB bus switching module switches a USB interface to a USB bus interface of a main processor of the receiver;
when the USB bus switching module receives a USB control signal output when the GNSS receiver is in a shutdown state, the USB bus switching module switches the USB interface to an open circuit state.
Further, for the charging output in S4, the method includes:
when the GNSS receiver is in a starting state, the USB bus switching module switches the USB interface to a USB bus interface of a main processor of the receiver;
when the USB interface of the receiver is connected with the USB port of the computer, the D+ signal voltage sampling value of the USB interface is 0 V+/-0.1V, which is lower than the reference voltage value of each of the two voltage comparator circuits, the voltage comparators output low level, and the MCU control module closes the charging function of the battery charging module;
when the USB interface of the receiver is connected with the charging adapter, the D+ signal voltage sampling value of the USB interface is 2.7 V+/-0.1V, which is higher than the reference voltage value of the voltage comparator VM1 and lower than the reference voltage value of the voltage comparator VM2, the voltage comparator VM1 outputs a high level, the MCU control module opens the charging function of the battery charging module, and the maximum charging current is set to be 3A.
Further, for the charging output in S4, the method further includes:
when the GNSS receiver is in a shutdown state, the USB bus switching module switches the USB interface of the GNSS receiver to an open circuit state, and the D+ signal of the USB interface is pulled up to 3.3V plus or minus 0.1V by using a resistor;
when the USB interface of the receiver is connected with the USB port of the computer, the sampling value of the USB D+ signal voltage is 3.0V plus or minus 0.1V, which is higher than the reference voltage value of the voltage comparator VM1 and lower than the reference voltage value of the voltage comparator VM2, the voltage comparator VM1 outputs a high level, the MCU control module opens the charging function of the battery charging module and sets the maximum charging current to 500mA;
when the USB interface of the receiver is connected with the charging adapter, the D+ signal voltage sampling value of the USB interface is 3.3 V+/-0.1V, which is higher than the reference voltage values of the voltage comparators VM1 and VM2, the voltage comparators VM1 and VM2 both output high level, the MCU control module opens the charging function of the battery charging module, and the maximum charging current is set to be 3A.
The invention provides another technical scheme, a GNSS receiver charging control device comprises an MCU control module, a USB bus switching module, a comparator detection module and a battery charging management module, wherein the MCU control module is respectively and electrically connected with the output of a voltage comparator VM1 and the output of a voltage comparator VM2 of the comparator detection module through two paths of GPIO inputs, the MCU control module is electrically connected with a switching selection switch of the USB bus switching module through one path of GPIO output, and the MCU control module is respectively and electrically connected with a charging function and a charging current threshold selection end of the battery charging management module through two paths of GPIO outputs.
Further, the MCU control module controls the USB bus switching module according to the current on-off state, and judges whether to open the charging function of the battery charging module and set the maximum charging current according to the output signal of the comparator detection module.
Further, the USB bus switching module selectively switches the communication passage of the USB bus according to the control signal of the MCU control module, one path is communicated with the USB interface of the GNSS receiver main processor, the other path switches the USB interface of the GNSS receiver to a suspended open circuit state, the voltage of the D+ signal of the USB interface is pulled up to 3.3V based on the resistor, and the D-signal is in the open circuit suspended state.
Further, the comparator detection module comprises two paths of voltage comparator circuits, reference voltages of the two paths of voltage comparator circuits are different, voltage values of a D+ signal of the USB interface are sampled in a switching-on and switching-off state respectively, and comparison result signals are output according to the respective reference voltage values of the two paths of voltage comparator circuits for judging processing by the MCU control module.
Further, the battery charging management module comprises a battery management chip and a charging current threshold value selection change-over switch, and the battery management chip opens or closes a charging function of a built-in battery of the receiver according to charging control signal input of the MCU control module;
the charging current threshold selection switch switches the charging current threshold configuration resistance of the battery management chip, and selects the configuration resistance of the maximum charging current of 500mA or 3A according to the charging current threshold selection control signal input of the MCU control module.
Compared with the prior art, the invention has the beneficial effects that:
1. the device capable of automatically judging the connection of the USB interface of the GNSS receiver performs on-off control on the charging function of the built-in battery, and can set a maximum charging current threshold value, and when the GNSS receiver is connected with a computer for data communication, the charging function is automatically closed, so that the damage of the USB interface of a user computer or the influence on the USB communication function caused by overlarge charging current is avoided; when the GNSS receiver is connected with the computer, the charging function is automatically started, and the maximum charging current threshold is set to be 500mA, so that the charging function of the computer for the GNSS receiver is realized;
2. when the GNSS receiver is connected with the charging adapter, the charging function is automatically opened, the maximum charging current threshold is set to be 3A, the charging speed is improved, more selectivity and greater convenience are brought to the charging and the use of the GNSS receiver, when the USB charging adapter is lacked at the side or the GNSS receiver is used outdoors for operation, the portable notebook computer can be used for carrying out emergency charging on the receiver, when the USB charging adapter is used by a user, the maximum charging current threshold is improved to be 3A, the charging speed can be remarkably improved, and the charging time is saved.
Drawings
FIG. 1 is a block diagram illustrating a GNSS receiver charge control method according to the present invention;
fig. 2 is a flowchart of a GNSS receiver charging control method according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to solve the technical problems that when data copying is performed, the USB interface of the computer can only provide 500mA current output at maximum, and the USB port of the computer can be automatically protected due to the fact that the current exceeds the limit, so that the computer cannot normally identify GNSS receiver equipment, and the user fails to copy the data, please refer to FIGS. 1-2, the embodiment provides the following technical scheme:
a GNSS receiver charge control method, comprising the steps of:
s1: judging the on-off state of the GNSS receiver: based on the MCU control module, acquiring the operation data of the GNSS receiver, judging whether the GNSS receiver is in a power-on state or a power-off state currently, and outputting a USB control signal based on a judging result;
the MCU control module comprises an MCU controller, the MCU controller is respectively connected with the outputs of the two voltage comparators through two paths of GPIO inputs, and the output results of the comparator detection module are sampled;
the MCU controller is connected with a switching selection switch of the USB bus switching module through one path of GPIO output, and switches the communication selection of the USB bus according to the current on-off state;
the MCU controller is respectively connected with a charging function and a charging current threshold value selection end of the battery charging management module through two paths of GPIO outputs, and correspondingly controls the switching of the charging function and the selection of the charging current threshold value;
s2: USB bus switching: the USB bus switching module responds to the USB control signal, correspondingly switches the USB interface and determines the switching state of the USB interface;
the switching state comprises a GNSS receiver main processor connection state and an open circuit state;
when the USB bus switching module receives a USB control signal output when the GNSS receiver is in a starting state, the USB bus switching module switches a USB interface to a USB bus interface of a main processor of the receiver;
when the USB bus switching module receives a USB control signal output when the GNSS receiver is in a shutdown state, the USB bus switching module switches a USB interface to an open circuit state;
s3: judging the output level of the comparator: the comparator detection module samples the voltage of the D+ signal line of the USB interface, wherein the comparator detection module comprises two paths of voltage comparator circuits, namely a voltage comparator VM1 and a voltage comparator VM2;
the reference voltages of the two voltage comparator circuits are different, the voltage value of the D+ signal line of the USB interface is sampled through I N + input ends of the two operational amplifiers, and I N-ends are the reference voltage input ends of the two voltage comparator circuits;
the two voltage comparators compare the voltage value of the D+ signal of the USB interface with the reference voltage value of the two voltage comparator circuits in the on-off state, and output comparison result signals;
the MCU control module acquires the comparison result signal to judge and process, and outputs a control signal matched with the processing result to the battery charging management module;
s4: charging output: and the battery charging management module is used for switching on or switching off the charging function of the battery according to the control signal, and setting the maximum charging current limit value based on the switching-on and switching-off state of the GNSS receiver and the output level of the two voltage comparators.
Specifically, whether the USB access device is a computer or a charging adapter is automatically identified through the GNSS receiver, the on-off state of the GNSS receiver is judged, the USB bus switching module is controlled according to the current on-off state, so that USB data communication of the receiver is normal when the computer is connected, the D+ signal voltage of the USB bus is correctly sampled by the comparator detection module, whether the charging function of the battery charging module is opened or not is judged according to the output signal of the comparator detection module, the situation that the computer cannot normally identify the GNSS receiver device and the user copy data fails is avoided, when the GNSS receiver is connected with the computer, the charging function is automatically opened, the maximum charging current threshold is set to be 500mA, the charging function of the computer to the GNSS receiver is realized, the USB port of the computer is protected, the normal and practical use of the USB communication function is ensured, and the user experience is improved.
In order to solve the technical problem of high development workload due to the adoption of a highly integrated battery power management I C device and the automatic identification of whether a computer device or a charging adapter is connected to a USB interface, software configuration is complex, and referring to FIGS. 1-2, the embodiment provides the following technical scheme:
for the charge output in S4, comprising:
when the GNSS receiver is in a starting state, the USB bus switching module switches the USB interface to a USB bus interface of a main processor of the receiver;
when the USB interface of the receiver is connected with the USB port of the computer, the D+ signal voltage sampling value of the USB interface is 0 V+/-0.1V, which is lower than the reference voltage value of each of the two voltage comparator circuits, the voltage comparators output low level, and the MCU control module closes the charging function of the battery charging module;
when the USB interface of the receiver is connected with the charging adapter, the D+ signal voltage sampling value of the USB interface is 2.7 V+/-0.1V, which is higher than the reference voltage value of the voltage comparator VM1 and lower than the reference voltage value of the voltage comparator VM2, the voltage comparator VM1 outputs a high level, the MCU control module opens the charging function of the battery charging module and sets the maximum charging current to be 3A;
when the GNSS receiver is in a shutdown state, the USB bus switching module switches the USB interface of the GNSS receiver to an open circuit state, and the D+ signal of the USB interface is pulled up to 3.3V plus or minus 0.1V by using a resistor;
when the USB interface of the receiver is connected with the USB port of the computer, the sampling value of the USB D+ signal voltage is 3.0V plus or minus 0.1V, which is higher than the reference voltage value of the voltage comparator VM1 and lower than the reference voltage value of the voltage comparator VM2, the voltage comparator VM1 outputs a high level, the MCU control module opens the charging function of the battery charging module and sets the maximum charging current to 500mA;
when the USB interface of the receiver is connected with the charging adapter, the D+ signal voltage sampling value of the USB interface is 3.3 V+/-0.1V, which is higher than the reference voltage values of the voltage comparators VM1 and VM2, the voltage comparators VM1 and VM2 both output high level, the MCU control module opens the charging function of the battery charging module, and the maximum charging current is set to be 3A.
Specifically, when the GNSS receiver is connected to the computer through the USB cable in the power-on state, the GNSS receiver charging control device closes the battery charging function, the USB interface is used for data communication function, when the GNSS receiver is connected to the computer through the USB cable in the power-off state, the GNSS receiver charging control device opens the charging function and limits the maximum charging current to 500mA so as to protect the USB port of the computer, when the GNSS receiver is connected to the charging adapter through the USB cable, no matter whether the receiver is in the power-on state or the power-off state, no matter whether the charging adapter supports quick charging, the GNSS receiver charging control device opens the charging function and limits the maximum charging current to 3A so as to shorten the charging time as much as possible.
In order to better reveal a charging control method of a GNSS receiver, please refer to FIGS. 1-2, the invention provides a charging control device of a GNSS receiver, which comprises an MCU control module, a USB bus switching module, a comparator detection module and a battery charging management module, wherein the MCU control module is respectively and electrically connected with the output of a voltage comparator VM1 and a voltage comparator VM2 of the comparator detection module through two paths of GPIO inputs, and samples the output result of the comparator detection module; the MCU control module is electrically connected with the switching selection switch of the USB bus switching module through one path of GPIO output, and switches the connection selection of the USB bus according to the current on-off state; the MCU control module is respectively and electrically connected with a charging function and a charging current threshold value selection end of the battery charging management module through two paths of GPIO outputs, and correspondingly controls the switching of the charging function and the selection of the charging current threshold value;
the MCU control module outputs a switching control signal and is electrically connected with the USB bus switching module, the USB bus switching module outputs a sampling signal and is electrically connected with the comparator detection module, and the MCU control module outputs a charging control signal and is electrically connected with the battery charging management module;
the MCU control module controls the USB bus switching module according to the current on-off state, judges whether to open the charging function of the battery charging module and set the maximum charging current according to the output signal of the comparator detection module, and switches the communication path selection of the USB bus according to the control signal of the MCU control module, wherein one path is communicated with the USB interface of the GNSS receiver main processor and is used for data communication in the starting state; switching a USB interface of the GNSS receiver to a suspended open state, and pulling up the voltage of the USB interface to 3.3V on a D+ signal of the USB interface based on a resistor, wherein the D-signal is in the open suspended state and is used for selecting and judging the charging state in the shutdown state;
the comparator detection module comprises two paths of voltage comparator circuits, reference voltages of the two paths of voltage comparator circuits are different, the voltage value of a D+ signal of the USB interface is sampled in a switching-on and switching-off state respectively, a comparison result signal is output according to the respective reference voltage values of the two paths of voltage comparator circuits, the MCU control module is used for judging, the battery charging management module comprises a battery management chip and a charging current threshold value selection switch, and the battery management chip is used for switching on or switching off a charging function of a built-in battery of the receiver according to a charging control signal input of the MCU control module; the charging current threshold selection switch switches the charging current threshold configuration resistance of the battery management chip, and selects the configuration resistance of the maximum charging current of 500mA or 3A according to the charging current threshold selection control signal input of the MCU control module.
Specifically, through the equipment of automatic judgement GNSS receiver USB interface connection, carry out on-off control to the function of charging of built-in battery, and can set up the biggest charge current threshold value, when the GNSS receiver is connected the computer and is carried out data communication, the function of charging is closed automatically, in order to avoid damaging or influencing USB communication function because of the too big USB interface that leads to the user computer of charge current, more selectivity and bigger convenience have been brought for the charge and the use of GNSS receiver, when lacking USB adapter or field use GNSS receiver operation around, portable notebook computer can be used to carry out emergent charging to the receiver, when the user uses USB adapter, the biggest charge current threshold value improves to 3A, can show the improvement charge rate, save the charge time.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should be covered by the protection scope of the present invention by making equivalents and modifications to the technical solution and the inventive concept thereof.

Claims (10)

1. A GNSS receiver charging control method is characterized in that: the method comprises the following steps:
s1: judging the on-off state of the GNSS receiver: based on the MCU control module, acquiring the operation data of the GNSS receiver, judging whether the GNSS receiver is in a power-on state or a power-off state currently, and outputting a USB control signal based on a judging result;
s2: USB bus switching: the USB bus switching module responds to the USB control signal, correspondingly switches the USB interface and determines the switching state of the USB interface;
the switching state comprises a GNSS receiver main processor connection state and an open circuit state;
s3: judging the output level of the comparator: the comparator detection module samples the voltage of the D+ signal line of the USB interface, wherein the comparator detection module comprises two paths of voltage comparator circuits, namely a voltage comparator VM1 and a voltage comparator VM2;
the reference voltages of the two voltage comparator circuits are different, the voltage value of the D+ signal line of the USB interface is sampled through the IN+ input end of the two operational amplifiers, and the IN-end is the reference voltage input end of the two voltage comparator circuits;
the two voltage comparators compare the voltage value of the D+ signal of the USB interface with the reference voltage value of the two voltage comparator circuits in the on-off state, and output comparison result signals;
the MCU control module acquires the comparison result signal to judge and process, and outputs a control signal matched with the processing result to the battery charging management module;
s4: charging output: and the battery charging management module is used for switching on or switching off the charging function of the battery according to the control signal, and setting the maximum charging current limit value based on the switching-on and switching-off state of the GNSS receiver and the output level of the two voltage comparators.
2. The GNSS receiver charge control method of claim 1 wherein: aiming at the MCU control module in the S1, the method specifically comprises the following steps:
the MCU control module comprises an MCU controller, the MCU controller is respectively connected with the outputs of the two voltage comparators through two paths of GPIO inputs, and the output results of the comparator detection module are sampled;
the MCU controller is connected with a switching selection switch of the USB bus switching module through one path of GPIO output, and switches the communication selection of the USB bus according to the current on-off state;
the MCU controller is respectively connected with a charging function and a charging current threshold value selection end of the battery charging management module through two paths of GPIO outputs, and correspondingly controls the switching of the charging function and the selection of the charging current threshold value.
3. The GNSS receiver charge control method of claim 2 wherein: the corresponding switching of the USB interface is carried out in the S2, specifically:
when the USB bus switching module receives a USB control signal output when the GNSS receiver is in a starting state, the USB bus switching module switches a USB interface to a USB bus interface of a main processor of the receiver;
when the USB bus switching module receives a USB control signal output when the GNSS receiver is in a shutdown state, the USB bus switching module switches the USB interface to an open circuit state.
4. The GNSS receiver charge control method of claim 3 wherein: for the charge output in S4, comprising:
when the GNSS receiver is in a starting state, the USB bus switching module switches the USB interface to a USB bus interface of a main processor of the receiver;
when the USB interface of the receiver is connected with the USB port of the computer, the D+ signal voltage sampling value of the USB interface is 0 V+/-0.1V, which is lower than the reference voltage value of each of the two voltage comparator circuits, the voltage comparators output low level, and the MCU control module closes the charging function of the battery charging module;
when the USB interface of the receiver is connected with the charging adapter, the D+ signal voltage sampling value of the USB interface is 2.7 V+/-0.1V, which is higher than the reference voltage value of the voltage comparator VM1 and lower than the reference voltage value of the voltage comparator VM2, the voltage comparator VM1 outputs a high level, the MCU control module opens the charging function of the battery charging module, and the maximum charging current is set to be 3A.
5. The GNSS receiver charge control method of claim 4 wherein: for the charging output in S4, further comprising:
when the GNSS receiver is in a shutdown state, the USB bus switching module switches the USB interface of the GNSS receiver to an open circuit state, and the D+ signal of the USB interface is pulled up to 3.3V plus or minus 0.1V by using a resistor;
when the USB interface of the receiver is connected with the USB port of the computer, the sampling value of the USB D+ signal voltage is 3.0V plus or minus 0.1V, which is higher than the reference voltage value of the voltage comparator VM1 and lower than the reference voltage value of the voltage comparator VM2, the voltage comparator VM1 outputs a high level, the MCU control module opens the charging function of the battery charging module and sets the maximum charging current to 500mA;
when the USB interface of the receiver is connected with the charging adapter, the D+ signal voltage sampling value of the USB interface is 3.3 V+/-0.1V, which is higher than the reference voltage values of the voltage comparators VM1 and VM2, the voltage comparators VM1 and VM2 both output high level, the MCU control module opens the charging function of the battery charging module, and the maximum charging current is set to be 3A.
6. The GNSS receiver charging control apparatus applied to the GNSS receiver charging control method according to any of claims 1 to 5, wherein: the battery charging control device comprises an MCU control module, a USB bus switching module, a comparator detection module and a battery charging management module, wherein the MCU control module is respectively and electrically connected with the output of a voltage comparator VM1 and the output of a voltage comparator VM2 of the comparator detection module through two paths of GPIO inputs, the MCU control module is electrically connected with a switching selection switch of the USB bus switching module through one path of GPIO output, and the MCU control module is respectively and electrically connected with a charging function and a charging current threshold selection end of the battery charging management module through two paths of GPIO outputs.
7. The GNSS receiver charge control apparatus of claim 6 wherein: the MCU control module controls the USB bus switching module according to the current on-off state, and judges whether to open the charging function of the battery charging module and set the maximum charging current according to the output signal of the comparator detection module.
8. The GNSS receiver charge control apparatus of claim 7, wherein: the USB bus switching module selectively switches the communication passage of the USB bus according to the control signal of the MCU control module, one path of the USB bus is communicated with the USB interface of the GNSS receiver main processor, the other path of the USB bus switches the USB interface of the GNSS receiver to a suspended open circuit state, the voltage of the USB interface is pulled up to 3.3V on the D+ signal of the USB interface based on the resistor, and the D-signal is in the open circuit suspended state.
9. The GNSS receiver charge control apparatus of claim 8 wherein: the comparator detection module comprises two paths of voltage comparator circuits, reference voltages of the two paths of voltage comparator circuits are different, voltage values of D+ signals of the USB interface are sampled respectively in a switching-on and switching-off state, and comparison result signals are output according to the respective reference voltage values of the two paths of voltage comparator circuits and are used for judging by the MCU control module.
10. The GNSS receiver charge control apparatus of claim 9, wherein: the battery charging management module comprises a battery management chip and a charging current threshold value selection change-over switch, and the battery management chip opens or closes the charging function of the built-in battery of the receiver according to the charging control signal input of the MCU control module;
the charging current threshold selection switch switches the charging current threshold configuration resistance of the battery management chip, and selects the configuration resistance of the maximum charging current of 500mA or 3A according to the charging current threshold selection control signal input of the MCU control module.
CN202310753345.3A 2023-06-26 2023-06-26 GNSS receiver charging control method and device Active CN116780710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310753345.3A CN116780710B (en) 2023-06-26 2023-06-26 GNSS receiver charging control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310753345.3A CN116780710B (en) 2023-06-26 2023-06-26 GNSS receiver charging control method and device

Publications (2)

Publication Number Publication Date
CN116780710A CN116780710A (en) 2023-09-19
CN116780710B true CN116780710B (en) 2023-12-08

Family

ID=88005988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310753345.3A Active CN116780710B (en) 2023-06-26 2023-06-26 GNSS receiver charging control method and device

Country Status (1)

Country Link
CN (1) CN116780710B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104124735A (en) * 2014-07-24 2014-10-29 Tcl通讯(宁波)有限公司 Charging voltage stabilizing circuit
CN104614744A (en) * 2015-03-09 2015-05-13 上海华测导航技术股份有限公司 System and method for realizing automatic start-up of GNSS receiver
WO2015109718A1 (en) * 2014-01-21 2015-07-30 中兴通讯股份有限公司 Charging method, alternating current adaptor, charging management device and terminal
CN209329727U (en) * 2018-12-07 2019-08-30 安徽继远软件有限公司 A kind of GNSS receiver power supply circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9166429B2 (en) * 2008-06-03 2015-10-20 Intersil Americas LLC USB charger using current limit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015109718A1 (en) * 2014-01-21 2015-07-30 中兴通讯股份有限公司 Charging method, alternating current adaptor, charging management device and terminal
CN104124735A (en) * 2014-07-24 2014-10-29 Tcl通讯(宁波)有限公司 Charging voltage stabilizing circuit
CN104614744A (en) * 2015-03-09 2015-05-13 上海华测导航技术股份有限公司 System and method for realizing automatic start-up of GNSS receiver
CN209329727U (en) * 2018-12-07 2019-08-30 安徽继远软件有限公司 A kind of GNSS receiver power supply circuit

Also Published As

Publication number Publication date
CN116780710A (en) 2023-09-19

Similar Documents

Publication Publication Date Title
EP3086433A1 (en) Charging method, alternating current adaptor, charging management device and terminal
CN103777730B (en) Power management circuit and method thereof
US10283976B2 (en) Multifunctional data mobile power supply and charging method
US8188706B2 (en) Power management unit with battery detection controller and switchable regulator block
US20150074438A1 (en) Adaptive usb charging method and system
US20090100258A1 (en) Mobile terminal aware of external device and control method for the same
CN104081368A (en) Mobile device automatic detection apparatus and method
US20150357836A1 (en) Fast charging terminal
CN106230070B (en) Charging method and device
CN102013705A (en) Power supply system with power saving function and power supply method
CN110797950A (en) Automatic switching method based on Type-C and AC charging and mobile terminal thereof
WO2014187415A1 (en) Charging cable and charging system
CN111404232A (en) A fast charging switching circuit and method based on dual-interface plugging detection
JP4075513B2 (en) Serial bus connection device and driver software
CN106329625B (en) charging method and device
CN104182020A (en) Single-port-based device and method for realizing bi-directional power supply
CN116780710B (en) GNSS receiver charging control method and device
CN113162131A (en) Reverse charging system, reverse charging method and terminal equipment
CN104953631A (en) Current control method and terminal device
CN204304476U (en) A kind of multi-functional data portable power source
CN211509272U (en) Charging box
EP3258567B1 (en) Self-loop detection method and apparatus for charging device
CN105896662A (en) Single-port mobile power control circuit and control method thereof
WO2023123759A1 (en) Outdoor device power supply control method and system, and outdoor device
CN113347011A (en) Communication device, system and communication method

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
GR01 Patent grant
GR01 Patent grant