CN112687112A - Geomagnetic detector and control method thereof - Google Patents

Geomagnetic detector and control method thereof Download PDF

Info

Publication number
CN112687112A
CN112687112A CN201910991863.2A CN201910991863A CN112687112A CN 112687112 A CN112687112 A CN 112687112A CN 201910991863 A CN201910991863 A CN 201910991863A CN 112687112 A CN112687112 A CN 112687112A
Authority
CN
China
Prior art keywords
mcu
state
detector
geomagnetic
geomagnetic detector
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
Application number
CN201910991863.2A
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.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201910991863.2A priority Critical patent/CN112687112A/en
Publication of CN112687112A publication Critical patent/CN112687112A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application discloses a geomagnetic detector and a control method thereof, wherein the geomagnetic detector comprises a micro-control unit, a Hall switch module and a power supply management module, wherein the Hall switch module is used for generating Hall potential when an external magnetic field of the geomagnetic detector exceeds a working threshold; the MCU is used for controlling the geomagnetic detector to switch working states according to the Hall potential; the MCU is also used for controlling the power supply management module to output working voltage corresponding to the working state to the MCU. MCU passes through the outside field intensity of hall switch module detection earth magnetism detector to according to the output voltage of the external field intensity switching earth magnetism detector's that detects operating condition and adjustment lithium cell, under the different operating condition, earth magnetism detector's consumption is different, and operating condition's division has reduced earth magnetism detector's consumption, and then the length of time of the use of extension lithium cell, has also guaranteed earth magnetism detector's working property simultaneously.

Description

Geomagnetic detector and control method thereof
Technical Field
The present application relates to the field of communications technologies, and in particular, to a geomagnetic detector and a control method thereof.
Background
The wireless geomagnetic vehicle detection system is one of typical applications of a wireless sensor network technology, realizes the judgment of the existence of vehicles by monitoring the change condition of the geomagnetism, overcomes the problem that the traditional geomagnetic coil vehicle detector needs to cut a road surface to cause great deployment and maintenance difficulty, is not influenced by factors such as light, weather and the like, and has stable performance.
The geomagnetic detector is powered by a disposable lithium battery, and the service life of the battery restricts the function of the geomagnetic detector. In order to prolong the service life of electromagnetism, the current common means is to increase the capacity of a lithium battery or reduce the wireless transmission power of a geomagnetic detector, however, increasing the capacity of the lithium battery causes the size of the detector to be large, and the detector is inconvenient to install and maintain, and reducing the wireless transmission power can sacrifice the quality of wireless communication and reduce the performance of the detector.
Disclosure of Invention
The embodiment of the application provides a geomagnetic detector and a control method thereof, which can switch the working state of the geomagnetic detector and adjust the output voltage of a lithium battery according to the external field intensity of the geomagnetic detector, thereby reducing the power consumption of the geomagnetic detector, prolonging the service life of the lithium battery, and simultaneously ensuring the working performance of the geomagnetic detector.
In a first aspect, an embodiment of the present application provides a geomagnetic detector, including: the device comprises a Hall switch module, a power management module and a Micro Control Unit (MCU); the MCU is coupled with the power management module and the Hall switch module; the Hall switch module is used for generating Hall potential when the external magnetic field of the geomagnetic detector exceeds a working threshold; the MCU is used for controlling the geomagnetic detector to switch working states according to the Hall potential; the MCU is also used for controlling the power supply management module to output working voltage corresponding to the working state to the MCU.
In an optional implementation manner, the working state includes an awake state and a sleep state; the MCU is specifically used for controlling the working state of the geomagnetic detector to be the sleep state under the condition that the Hall switch module is determined not to generate Hall electric potential; and after detecting that the Hall switch module generates Hall potential, controlling the geomagnetic detector to enter the awakening state.
In an optional implementation, the geomagnetic detector further includes a geomagnetic sensor; the geomagnetic sensor is coupled with the MCU; the awakening state comprises a low-speed acquisition state and a high-speed acquisition state; the MCU is further used for switching the low-speed acquisition state or the high-speed acquisition state according to the magnetic field information induced by the geomagnetic sensor under the condition that the geomagnetic detector is in the wake-up state.
In an optional implementation, the geomagnetic detector further includes a wireless communication module; the wireless communication module is coupled with the MCU; the MCU is further used for controlling the wireless communication module to receive and/or send parking information under the condition that the parking event is determined to exist according to the magnetic field information collected by the MCU.
In a second aspect, an embodiment of the present application provides a control method for a geomagnetic detector, which is applied to a geomagnetic detector, and is characterized in that the geomagnetic detector includes a hall switch module, a micro control unit MCU, and a power management module; the method comprises the following steps: the MCU controls the geomagnetic detector to switch the working state according to the Hall potential generated by the Hall switch module; and the MCU controls the power management module to output working voltage corresponding to the working state to the MCU.
In an optional implementation manner, the geomagnetic detector includes a hall switch module, a micro control unit MCU, and a power management module; the method comprises the following steps: the MCU controls the geomagnetic detector to switch the working state according to the Hall potential generated by the Hall switch module; and the MCU controls the power management module to output working voltage corresponding to the working state to the MCU.
In an optional implementation manner, the working state includes an awake state and a sleep state; the MCU controls the geomagnetic detector to switch the working state according to the Hall potential generated by the Hall switch module, and the method comprises the following steps: the MCU controls the working state of the geomagnetic detector to be the sleep state under the condition that the Hall switch module is determined not to generate Hall electric potential; and the MCU controls the geomagnetic detector to enter the awakening state after detecting that the Hall switch module generates Hall potential.
In an optional implementation manner, the controlling, by the MCU, the power management module to output the working voltage corresponding to the working state to the MCU includes: the MCU controls the power supply management module to output a first working voltage under the condition that the working state of the geomagnetic detector is controlled to be an awakening state; and the MCU controls the voltage management module to output a second working voltage under the condition that the working state of the geomagnetic detector is controlled to be a sleep state, wherein the second working voltage is smaller than the first working voltage.
In an optional implementation manner, the wake-up state includes a low-speed acquisition state and a high-speed acquisition state; the method further comprises the following steps: and the MCU switches the low-speed acquisition state or the high-speed acquisition state according to the magnetic field information induced by the geomagnetic sensor under the condition that the geomagnetic detector is in the awakening state.
In an optional implementation, the method further includes: and the MCU controls the wireless communication module of the geomagnetic detector to receive and/or send parking information under the condition that the parking event is determined to exist according to the acquired magnetic field information.
In an optional implementation, the wake-up state further includes a dead halt state; the method further comprises the following steps: and under the condition that the MCU determines that the Hall switch module generates the Hall electric potential and determines that the working state of the geomagnetic detector is a dead halt state, controlling the geomagnetic detector to restart.
In a third aspect, an embodiment of the present application provides another geomagnetic detection apparatus, where the apparatus includes a receiver and a transmitter, and further includes: a processor adapted to implement one or more instructions; and a computer storage medium storing one or more instructions adapted to be loaded by the processor and to perform the method of the second aspect as described above and the optional implementation in the second aspect described above.
In a fourth aspect, embodiments of the present application provide a computer storage medium storing one or more instructions adapted to be loaded by a processor and to perform a method according to the second aspect and the optional implementation manner of the second aspect.
The embodiment of the application provides a geomagnetic detector and a control method thereof, the geomagnetic detector comprises a micro control unit, a Hall switch module and a power management module, the MCU can detect the external field intensity of the geomagnetic detector through the Hall switch module and a geomagnetic sensor of the geomagnetic detector, and switches the working state of the geomagnetic detector and adjusts the output voltage of a lithium battery according to the detected external field intensity, under different working states, the power consumption of the geomagnetic detector is different, the power consumption of the geomagnetic detector is reduced by the division of the working states, the service life of the lithium battery is further prolonged, and meanwhile, the working performance of the geomagnetic detector is also ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a geomagnetic detector provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of another geomagnetic detector provided in an embodiment of the present application;
FIG. 3 is a flowchart of a control method of a geomagnetic detector provided in an embodiment of the present application;
fig. 4 is a flowchart illustrating another geomagnetic detector control method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a geomagnetic detection apparatus provided in an embodiment of the present application.
Detailed Description
In order to make the embodiments of the present application better understood, the technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments.
The terms "comprises" and "comprising," and any variations thereof, in the description examples and claims of this application, are intended to cover a non-exclusive inclusion, such as, for example, a list of steps or elements. A method, system, article, or apparatus is not necessarily limited to those steps or elements explicitly listed, but may include other steps or elements not explicitly listed or inherent to such process, system, article, or apparatus.
The embodiment of the application provides a geomagnetic detector, and the scheme of the application is described more clearly. Some knowledge about the geomagnetic detector is described below.
A wireless geomagnetic detector is one of typical applications of wireless sensor network technology, and may be used to detect the presence of a vehicle and vehicle type identification. Wireless earth magnetism detector compares with traditional earth magnetism coil detector, has that the mounting dimension is little, sensitivity is high, the construction volume is little, long service life and to the little advantage of waiting of destruction on road surface, the earth magnetism detector that this application provided is a wireless earth magnetism detector. The wireless geomagnetic detector comprises a Micro Control Unit (MCU), a lithium battery, a wireless communication module and a geomagnetic sensor. In wireless earth magnetism detector, wireless communication module is used for earth magnetism detector and the parking system in parking area to carry out the receiving and dispatching of parking data, and the parking data includes parking information, and wireless earth magnetism detector adopts disposable lithium cell to MCU, wireless communication module and, the life of lithium cell becomes one of the restriction factor of wireless detector function.
The geomagnetic sensor is used for determining parking information through monitoring the change of the magnetic field of the parking space, when a parking event occurs to the parking space monitored by the geomagnetic sensor, the parking event comprises that a vehicle enters the parking space, the vehicle is parked on the parking space and the vehicle leaves the parking space, the magnetic field information sensed by the geomagnetic sensor can be changed, and the magnetic field information comprises the magnetic field intensity of three dimensions of three-dimensional coordinates x, y and z.
In order to prolong the service life of the wireless detector, the industry generally increases the capacity of the lithium battery or reduces the transmission power of the wireless communication module to achieve the purpose. However, the mode of increasing the capacity of the lithium battery is adopted, the volume of the lithium battery is increased, the volume of the wireless detector is increased, the wireless detector is inconvenient to install and maintain, the damage degree of the road surface is increased, and the large-area popularization and use are not facilitated. The mode of reducing the transmitting power of the wireless communication module is adopted, the wireless communication distance and the quality of the wireless geomagnetic detector are sacrificed, when the wireless geomagnetic detector is installed, the requirements on the installation direction and the angle are high, a signal repeater is required to be installed to guarantee the quality of wireless communication, and the installation and maintenance costs of the wireless geomagnetic detector are improved. Because, how to guarantee that wireless earth magnetism detector is convenient for install and is maintained with guaranteeing under the functional prerequisite of wireless communication module, prolong the life of lithium cell, become the problem that wireless earth magnetism detector needs a lot of solution.
The hall effect is a phenomenon in which when a metal or semiconductor sheet, to which a current is applied, is vertically placed in a magnetic field, a potential difference is generated between both ends of the sheet. The Hall switch is manufactured by packaging and assembling processes on the basis of the Hall effect principle, and is an active magnetoelectric conversion device for converting a magnetic input signal into a level signal. And under the condition that the magnetic flux density of the external magnetic field borne by the Hall switch is greater than the working threshold, the output transistor of the Hall switch is turned on, and the Hall switch generates corresponding Hall potential according to the magnetic induction intensity of the external magnetic field.
Embodiments of the present application are described below with reference to the drawings. Referring to fig. 1, fig. 1 is a schematic structural diagram of a geomagnetic detector provided in an embodiment of the present application.
As shown in fig. 1, the geomagnetic detector 100 includes: a Micro Control Unit (MCU) 101, a power management module 102, and a hall switch module 103.
Wherein the MCU is coupled to the power management module 102 and the hall switch module 103.
The hall switch module 103 is configured to generate hall potential when the external field intensity of the geomagnetic detector exceeds a working threshold, and when a parking event occurs in a parking space monitored by the geomagnetic detector, the working threshold of the hall switch module 103 is determined according to the field intensity of the external magnetic field detected by the geomagnetic detector, for example, when a parking event occurs in a parking space monitored by the geomagnetic detector, the field intensity of the x dimension becomes large, the value of the field intensity is increased from 300 to 500, and the MCU sets the working threshold of the hall switch to 480. When a parking event occurs in the parking space monitored by the geomagnetic detector, the field intensity of an external magnetic field of the geomagnetic detector is increased, and the Hall potential generated by the Hall switch module 103 is beneficial to the MCU to preliminarily judge whether the parking event occurs in the parking space monitored by the geomagnetic detector. The hall switch module 103 is connected with the power management module 102, and the power management module 102 provides working voltage for the hall switch module.
The MCU is configured to control the geomagnetic detector to switch between operating states according to the hall potentials generated by the hall switch module 103, where the operating states include an awake state and a sleep state, and in an embodiment, the MCU is specifically configured to: after determining that the hall switch module 103 generates hall potential, the MCU preliminarily determines that a parking event occurs, and controls the operating state of the geomagnetic detector to an awake state; in the case where it is determined that the hall switch module 103 does not generate the hall potential, the MCU determines that the parking event does not occur, and controls the operating state of the geomagnetic detector to the sleep state.
And the MCU is further used for controlling the power management module 102 to output the working voltage corresponding to the working state to the MCU. In an embodiment, after the MCU determines to control the geomagnetic detector to be in the awake state, the MCU controls the power management module 102 to output a first working voltage to the MCU, and after the MCU determines to control the geomagnetic detector to be in the sleep state, the MCU controls the power management module 102 to output a second working voltage to the MCU, where the second working voltage has a magnitude smaller than that of the first working voltage, the first working voltage is used to maintain the awake state of the geomagnetic detector, and the second working voltage is used to maintain the sleep state of the geomagnetic detector.
The embodiment of the application provides a geomagnetic detector, the geomagnetic detector includes little the control unit, hall switch module 103 and power management module 102, MCU accessible hall switch module 103 detects the outside field intensity of geomagnetic detector, and according to the operating condition that detects the outside field intensity switch geomagnetic detector and the output voltage of adjustment power management module 102, under different operating conditions, the consumption of geomagnetic detector is different, operating condition's division has reduced the consumption of geomagnetic detector, and then the length of time of use of extension lithium cell, the working property of geomagnetic detector has also been guaranteed simultaneously.
Fig. 2 is a schematic structural diagram of a geomagnetic detector provided in an embodiment of the present application, and as shown in fig. 2, the geomagnetic detector further includes a geomagnetic sensor 202, the geomagnetic sensor 202 is coupled to the MCU, the MCU provides a working voltage to the geomagnetic sensor 202, and the wake-up state of the geomagnetic detector includes a high-speed acquisition state and a low-speed acquisition state.
The MCU is further configured to adjust the operating state to a high-speed acquisition state and a low-speed acquisition state according to the magnetic field information sensed by the geomagnetic sensor 202 when the geomagnetic detector is in the awake state. In the high-speed acquisition state, the MCU acquires the magnetic field information sensed by the geomagnetic sensor 202 at a high speed. In the low-speed acquisition state, the MCU acquires the magnetic field information sensed by the geomagnetic sensor 202 at a low speed. It should be noted that the low-speed acquisition state is defined relative to the high-speed acquisition state, and the acquisition speed of the MCU in the low-speed acquisition state is lower than the acquisition speed of the MCU in the high-speed acquisition state. The MCU further determines whether there is a parking event according to the magnetic field information sensed by the geomagnetic sensor 202, wherein the MCU finally determines whether there is a parking event through the magnetic field information collected at a high speed.
In the embodiment, the power consumption in the high-speed acquisition state is greater than the power consumption in the low-speed acquisition state, and the division of the high-speed acquisition state and the low-speed acquisition state is beneficial to reducing the useless power consumption of the geomagnetic detector under the condition of electromagnetic interference and prolonging the service life of the electromagnetism of the geomagnetic detector.
In one embodiment, as shown in fig. 2, the geomagnetic detector 200 further includes a wireless communication module 201, and the wireless communication module 201 is coupled to an MCU, which provides an operating voltage to the wireless communication module 201.
The MCU is further configured to control the wireless communication module 201 to receive and/or transmit parking information when it is determined that there is a parking event according to the magnetic field information collected by the MCU. Optionally, after determining that the parking event exists, the MCU supplies power to the wireless communication module 201 and controls the wireless communication module 201 to receive and transmit parking information.
In this implementation manner, after determining that there is a parking event, the MCU controls the wireless communication module 201 to transmit and receive data, which is beneficial to reducing invalid data transmission and reception, and since the wireless communication module 201 of the geomagnetic detector consumes more power during data transmission and reception, reducing invalid data transmission and reception is beneficial to reducing power consumption of the geomagnetic detector and prolonging the service life of geomagnetism.
Fig. 3 is a flowchart of a control method of a geomagnetic detector according to an embodiment of the present application, and as shown in fig. 2, the method may include:
301. and the MCU controls the geomagnetic detector to switch the working state according to the Hall potential generated by the Hall switch module.
The working state of the geomagnetic detector comprises an awakening state and a sleeping state, the geomagnetic detector needs the power management module to output high-level voltage to the MCU when in the awakening state, so as to maintain the receiving and sending of data, in one embodiment, in the geomagnetic detector, the MCU is coupled with the wireless communication module and the geomagnetic sensor, the wireless communication module and the geomagnetic sensor are powered by the MCU, when the geomagnetic detector is in the sleeping state, the MCU stops powering off the wireless communication module and the geomagnetic sensor, or the MCU outputs low-level voltage, the voltage of the MCU is provided by the power management module, therefore, when the working state of the geomagnetic detector is in the sleeping state, compared with the case that the geomagnetic detector is in the awakening state, the power management module only needs to output one low-level voltage to the MCU.
In the embodiment of the present application, the high level voltage output by the power management module in the wake-up state is defined relative to the low level voltage output by the power management module in the sleep state. High level voltage in this application is the operating voltage that can maintain earth magnetism detector awaken-up state, and low level voltage is the operating voltage that can maintain earth magnetism detector sleep state, and low level voltage is the voltage that the amplitude is less than high level voltage amplitude.
In one embodiment, after the MCU detects that the hall switch module generates the hall potential, the geomagnetic detector is controlled to enter the wake-up state, and in a case where the MCU determines that the hall switch module does not generate the hall potential, the MCU controls the state of the geomagnetic detector to be the sleep state.
302. And the MCU controls the power management module to output working voltage corresponding to the working state to the MCU.
And the MCU controls the power supply management module to output working voltage corresponding to the working state to the MCU according to the working state of the geomagnetic detector. In an embodiment, after the MCU determines that the geomagnetic detector is in the wake-up state, the MCU controls the power management module to output a first working voltage to the MCU, and after the MCU determines that the geomagnetic detector is in the sleep state, the MCU controls the power management module to output a second working voltage to the MCU, where the second working voltage has a magnitude smaller than that of the first working voltage, the first working voltage is used to maintain the wake-up state of the geomagnetic detector, and the second working voltage is used to maintain the sleep state of the geomagnetic detector.
Optionally, after determining to control the geomagnetic detector to switch the working state, the MCU sends a working voltage adjustment instruction to the power management module, where the working voltage adjustment instruction is determined according to the working state switched by the geomagnetic detector, for example, when the geomagnetic detector is switched from the awake state to the sleep state, the working voltage adjustment instruction is to adjust the working voltage to a working voltage corresponding to the sleep state. In one embodiment, after receiving the adjustment instruction of the operating voltage and successfully adjusting the operating voltage, the power management module sends adjustment information of the operating voltage to the MCU to ensure that the operating voltage is adjusted to the corresponding amplitude.
Optionally, the geomagnetic sensor and the wireless communication module are powered by the MCU, the MCU controls the output voltage to the geomagnetic sensor and/or the wireless communication module according to the working state of the geomagnetic detector, in an embodiment, when the geomagnetic detector is in a sleep state, the MCU stops powering the geomagnetic sensor and/or the wireless communication module, or the MCU outputs a low level voltage to the geomagnetic sensor and/or the wireless communication module, and when the geomagnetic detector is in an awake state, the MCU outputs a high level voltage to the geomagnetic sensor and/or the wireless communication module.
In the embodiment of the application, the earth magnetism sensor of MCU accessible hall switch module and earth magnetism detector detects earth magnetism detector's outside field intensity to according to the external field intensity that detects switching earth magnetism detector's operating condition and the output voltage of adjustment lithium cell, under the different operating condition, earth magnetism detector's consumption is different, operating condition's division has reduced earth magnetism detector's consumption, and then the length of time of the use of extension lithium cell, the working property of earth magnetism detector has also been guaranteed simultaneously.
In order to improve the utilization rate of the lithium battery, the working states of the geomagnetic detector are further divided, and in different working states, the power consumption of the geomagnetic detector is different, so as to further prolong the service life of the lithium battery, fig. 4 is a flowchart of another control method of the geomagnetic detector provided in this embodiment of the present application, and the MCU of the geomagnetic detector may further execute the flow of the control method in fig. 4 in the process of executing the above 301 and 302. As shown in fig. 4, the method may include:
401. and the MCU switches the low-speed acquisition state or the high-speed acquisition state according to the magnetic field information sensed by the geomagnetic sensor under the condition that the geomagnetic detector is in the awakening state.
The awakening state of the geomagnetic detector comprises a low-speed acquisition state and a high-speed acquisition device, the geomagnetic detector is in the awakening state, the MCU acquires magnetic field information sensed by the geomagnetic sensor, and the geomagnetic detector is controlled to switch the high-speed acquisition state or the low-speed acquisition state according to the acquired magnetic field information. And in a high-speed acquisition state, the MCU acquires magnetic field information induced by the geomagnetic sensor at a high speed. And in a low-speed acquisition state, the MCU acquires magnetic field information induced by the geomagnetic sensor at a low speed. It should be noted that the low-speed acquisition state is defined relative to the high-speed acquisition state, and the acquisition speed of the MCU in the low-speed acquisition state is lower than that of the MCU in the high-speed acquisition state, and in one embodiment, the acquisition frequency of the MCU in the low-speed acquisition state is lower than or equal to 10 seconds/time, and the acquisition frequency of the MCU in the high-speed acquisition state is higher than or equal to 1 second/time. The power consumption of the geomagnetic sensor in the low-speed acquisition state is different from that in the high-speed acquisition state, the power consumption in the high-speed acquisition state is greater than that in the low-speed acquisition state, and the high-speed acquisition state and the low-speed acquisition state are divided, so that the useless power consumption of the geomagnetic detector is reduced, and the service life of the electromagnetism of the geomagnetic detector is prolonged.
In one embodiment, after the MCU determines to control the geomagnetic detector to enter the wake-up state from the sleep state, the MCU controls the geomagnetic detector to enter the low-speed acquisition state. When the geomagnetic detector is in a low-speed acquisition state, the MCU determines whether to switch the working state of the geomagnetic detector to a high-speed acquisition state according to the magnetic field information acquired at the low speed; when the geomagnetic detector is in a high-speed acquisition state, the MCU determines whether to switch the working state of the geomagnetic detector to a low-speed acquisition state according to the high-speed acquired magnetic field information. Under the high-speed acquisition state or the low-speed acquisition state, when the MCU determines that the magnetic field strengths of the three dimensions of x, y and z in the magnetic field information are within a preset field strength range, the working state of the wireless detector is controlled to be the high-speed acquisition state, and under the condition that the MCU determines that the magnetic field strengths of the three dimensions of x, y and z in the magnetic field information are not within the preset field strength range, the MCU controls the working state of the wireless detector to be the low-speed acquisition state.
In another embodiment, after the MCU determines to control the geomagnetic detector to enter the awake state from the sleep state, the MCU controls the geomagnetic detector to enter the high-speed acquisition state. When the geomagnetic detector is in a low-speed acquisition state, the MCU determines whether to switch the working state of the geomagnetic detector to a high-speed acquisition state according to the magnetic field information acquired at the low speed; when the geomagnetic detector is in a high-speed acquisition state, the MCU determines whether to switch the working state of the geomagnetic detector to a low-speed acquisition state according to the high-speed acquired magnetic field information.
402. And the MCU controls the wireless communication module of the geomagnetic detector to receive and/or transmit parking information under the condition that the parking event is determined to exist according to the acquired magnetic field information.
And the MCU controls the wireless communication module of the geomagnetic detector to receive and/or send parking information under the condition that the parking event exists in the parking space monitored by the wireless detector according to the acquired magnetic field information. In one embodiment, the MCU controls the wireless communication module of the geomagnetic detector to receive and/or transmit parking information after determining that there is a parking event in the parking space monitored by the wireless detector according to the high-speed collected magnetic field information. Under the high-speed collection state, the magnetic field information collected by the MCU at high speed is beneficial to the MCU to further determine whether the parking event exists in the parking space monitored by the wireless detector. Under the condition that the parking event is determined to exist, the MCU controls the wireless communication module to receive and transmit parking information, so that the power consumption of the wireless communication module is reduced, and the service life of a battery is prolonged.
Wherein, MCU confirms that there is the parking incident in the parking stall of wireless detector control according to the magnetic field information of gathering, specifically is: the MCU judges whether the magnetic field intensity of x, y and z dimensions in the magnetic field information is within a preset field intensity range, and the preset field intensity range is determined by the historical field intensity information of the parking event at the parking space.
Optionally, after determining that the parking event exists in the parking space monitored by the wireless detector, the MCU starts the wireless communication module and supplies power to the wireless communication module, and after determining that the wireless communication module is started, the MCU controls the wireless communication module to receive and/or transmit information, for example, transmit the parking time of the vehicle on the parking space to the parking lot system.
403. And under the condition that the MCU determines that the Hall switch module generates Hall potential and determines that the working state of the geomagnetic detector is a dead halt state, the MCU controls the geomagnetic detector to restart.
And under the condition that the MCU determines that the Hall switch module generates Hall potential and determines that the working state of the geomagnetic detector is a dead halt state, the MCU controls the geomagnetic detector to restart. The crash state of the geomagnetic detector is one of the wake-up states, and any module of the geomagnetic detector does not work according to the instruction of the MCU under the control of the MCU to the geomagnetic detector in the wake-up state. For example, when the MCU collects the magnetic field information induced by the geomagnetic sensor, the magnetic field information cannot be collected, or when the MCU controls the wireless communication module to receive and transmit data, the data sent by the wireless communication module is not received within a preset time period. Confirm through hall switch module whether the earth magnetism detector is in the crash state to control earth magnetism detector and restart, be favorable to shortening earth magnetism detector's the crash is long, improves earth magnetism detector's work efficiency, reduces the invalid power that earth magnetism detector consumed, further prolongs the life of earth magnetism detector battery.
Under the condition that the Hall switch generates Hall potential, the MCU determines that an external magnetic field changes, if the geomagnetic sensor, the wireless communication module, the power management module or the MCU does not work according to an instruction sent by the MCU when the external magnetic field changes, the MCU determines that the geomagnetic detector is in a halt state, and after the MCU determines that the geomagnetic detector is in the halt state, the MCU controls the geomagnetic detector to restart. In one embodiment, after the MCU controls the geomagnetic detector to restart, each module of the geomagnetic detector is controlled to perform initial calibration.
In the embodiment of the application, the earth magnetism sensor of MCU accessible hall switch module and earth magnetism detector detects earth magnetism detector's outside field intensity to according to the external field intensity that detects switching earth magnetism detector's operating condition and the output voltage of adjustment lithium cell, under the different operating condition, earth magnetism detector's consumption is different, operating condition's division has reduced earth magnetism detector's consumption, and then the length of time of the use of extension lithium cell, the working property of earth magnetism detector has also been guaranteed simultaneously.
Fig. 5 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: a memory 501 and a processor 502; the memory 501 is used for storing codes; the processor 502 reads the code stored in the memory for performing the following operations: controlling the geomagnetic detector to switch the working state according to the Hall potential generated by the Hall switch module; and controlling the power management module to output a working voltage corresponding to the working state to the MCU.
A processor 502 for performing the steps included in fig. 3 or fig. 4. The processor 502 may implement the functionality of the MCU of fig. 1 and 2.
In an embodiment of the present application, there is provided a computer-readable storage medium storing a computer program which, when executed by a processor, implements: controlling the geomagnetic detector to switch the working state according to the Hall potential generated by the Hall switch module; and controlling the power management module to output a working voltage corresponding to the working state to the MCU.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A geomagnetic detector applied to vehicle detection, the geomagnetic detector comprising: the device comprises a Hall switch module, a power management module and a Micro Control Unit (MCU); the MCU is coupled with the power management module and the Hall switch module;
the Hall switch module is used for generating Hall potential when the external magnetic field of the geomagnetic detector exceeds a working threshold;
the MCU is used for controlling the geomagnetic detector to switch working states according to the Hall potential;
the MCU is also used for controlling the power supply management module to output working voltage corresponding to the working state to the MCU.
2. A geomagnetic detector as defined in claim 1, wherein the operation state comprises an awake state and a sleep state;
the MCU is specifically used for controlling the working state of the geomagnetic detector to be the sleep state under the condition that the Hall switch module is determined not to generate Hall electric potential;
and after detecting that the Hall switch module generates Hall potential, controlling the geomagnetic detector to enter the awakening state.
3. A geomagnetism detector according to claim 2, wherein the geomagnetism detector further includes a geomagnetism sensor; the geomagnetic sensor is coupled with the MCU;
the awakening state comprises a low-speed acquisition state and a high-speed acquisition state;
the MCU is further used for switching the low-speed acquisition state or the high-speed acquisition state according to the magnetic field information induced by the geomagnetic sensor under the condition that the geomagnetic detector is in the wake-up state.
4. A geomagnetism detector according to claim 3, wherein the geomagnetism detector further includes a wireless communication module; the wireless communication module is coupled with the MCU;
the MCU is further used for controlling the wireless communication module to receive and/or send parking information under the condition that the parking event is determined to exist according to the magnetic field information collected by the MCU.
5. A control method of a geomagnetic detector is applied to the geomagnetic detector and is characterized in that the geomagnetic detector comprises a Hall switch module, a Micro Control Unit (MCU) and a power management module; the method comprises the following steps:
the MCU controls the geomagnetic detector to switch the working state according to the Hall potential generated by the Hall switch module;
and the MCU controls the power management module to output working voltage corresponding to the working state to the MCU.
6. The method of claim 5, wherein the operating states include an awake state and a sleep state;
the MCU controls the geomagnetic detector to switch the working state according to the Hall potential generated by the Hall switch module, and the method comprises the following steps:
the MCU controls the working state of the geomagnetic detector to be the sleep state under the condition that the Hall switch module is determined not to generate Hall electric potential;
and the MCU controls the geomagnetic detector to enter the awakening state after detecting that the Hall switch module generates Hall potential.
7. The method according to claim 6, wherein the MCU controls the power management module to output an operating voltage corresponding to the operating state to the MCU, and comprises:
the MCU controls the power supply management module to output a first working voltage under the condition that the working state of the geomagnetic detector is controlled to be an awakening state;
and the MCU controls the voltage management module to output a second working voltage under the condition that the working state of the geomagnetic detector is controlled to be a sleep state, wherein the second working voltage is smaller than the first working voltage.
8. The method of claim 6, wherein the awake state comprises a low acquisition state and a high acquisition state; the method further comprises the following steps:
and the MCU switches the low-speed acquisition state or the high-speed acquisition state according to the magnetic field information induced by the geomagnetic sensor under the condition that the geomagnetic detector is in the awakening state.
9. The method of claim 8, further comprising:
and the MCU controls the wireless communication module of the geomagnetic detector to receive and/or send parking information under the condition that the parking event is determined to exist according to the acquired magnetic field information.
10. The method of any of claims 6-9, wherein the wake-up state further comprises a dead halt state; the method further comprises the following steps:
and under the condition that the MCU determines that the Hall switch module generates the Hall electric potential and determines that the working state of the geomagnetic detector is a dead halt state, controlling the geomagnetic detector to restart.
CN201910991863.2A 2019-10-17 2019-10-17 Geomagnetic detector and control method thereof Pending CN112687112A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910991863.2A CN112687112A (en) 2019-10-17 2019-10-17 Geomagnetic detector and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910991863.2A CN112687112A (en) 2019-10-17 2019-10-17 Geomagnetic detector and control method thereof

Publications (1)

Publication Number Publication Date
CN112687112A true CN112687112A (en) 2021-04-20

Family

ID=75444825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910991863.2A Pending CN112687112A (en) 2019-10-17 2019-10-17 Geomagnetic detector and control method thereof

Country Status (1)

Country Link
CN (1) CN112687112A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867419A (en) * 2012-08-13 2013-01-09 朝为物联网技术(上海)有限公司 Radio frequency (RF) device and system for detecting geomagnetic variation
CN105118297A (en) * 2015-08-19 2015-12-02 中国科学院上海微系统与信息技术研究所 System and method for detecting and identifying type of vehicle
CN106373407A (en) * 2016-11-22 2017-02-01 广西大学 Vehicle detector based on geomagnetic sensing
CN106408954A (en) * 2016-01-27 2017-02-15 深圳骁腾科技有限公司 Vehicle parking detection system and method
CN107749172A (en) * 2017-09-27 2018-03-02 青岛海信网络科技股份有限公司 A kind of geomagnetism detecting device control method and geomagnetism detecting device
CN207216865U (en) * 2017-09-12 2018-04-10 深圳市唯传科技有限公司 The Intelligent shutting-down device and intelligent parking system of Multi-sensor Fusion
CN109686111A (en) * 2019-02-12 2019-04-26 艾伯资讯(深圳)有限公司 A kind of vehicle detection apparatus and method based on bimodulus non-contact inductive

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867419A (en) * 2012-08-13 2013-01-09 朝为物联网技术(上海)有限公司 Radio frequency (RF) device and system for detecting geomagnetic variation
CN105118297A (en) * 2015-08-19 2015-12-02 中国科学院上海微系统与信息技术研究所 System and method for detecting and identifying type of vehicle
CN106408954A (en) * 2016-01-27 2017-02-15 深圳骁腾科技有限公司 Vehicle parking detection system and method
CN106373407A (en) * 2016-11-22 2017-02-01 广西大学 Vehicle detector based on geomagnetic sensing
CN207216865U (en) * 2017-09-12 2018-04-10 深圳市唯传科技有限公司 The Intelligent shutting-down device and intelligent parking system of Multi-sensor Fusion
CN107749172A (en) * 2017-09-27 2018-03-02 青岛海信网络科技股份有限公司 A kind of geomagnetism detecting device control method and geomagnetism detecting device
CN109686111A (en) * 2019-02-12 2019-04-26 艾伯资讯(深圳)有限公司 A kind of vehicle detection apparatus and method based on bimodulus non-contact inductive

Similar Documents

Publication Publication Date Title
JP2021536647A (en) Asset tracker
KR20150004635A (en) Wireless power transmitter and method of wireless power transmittion
CN106300700B (en) A kind of onboard wireless charging equipment
CN102612122A (en) Low-power-consumption wireless sensor network system and controlling and awaking method thereof
WO1997042614A1 (en) Method and apparatus for remotely accessing meter status information in a meter reading system
CN103293975B (en) Method and device for reducing power consumption of remote control
CN204631965U (en) Vehicle lock controller and bicycle theft-prevention control system
WO2014034523A1 (en) Contactless charging system
CN102637370B (en) Stall detection system based on wireless sensor network
CN103235566B (en) Automobile remote monitoring system
CN103684535B (en) Mode switch module and mode switching method
CN102572119A (en) Mobile terminal and power-saving method thereof
JP2004064328A (en) Contactless data carrier incorporating power battery and mobile identification system using the same
KR102216487B1 (en) Energy harvesting system, apparatus and method for performing wakeup
CN110223523A (en) The detector of magnetic vehicle with low power and its dormancy awakening method based on lora technology
CN105743167A (en) Energy-saving control system and method for smart garbage bin
CN101572936A (en) Node energy consumption management method for wireless sensor network
CN101604399A (en) Active RFID tag
WO2013082786A1 (en) Dual-mode vehicle detection sensor
CN102081745A (en) Active electronic tags as well as system and method applying active electronic tags
CN112687112A (en) Geomagnetic detector and control method thereof
WO2012153975A2 (en) Contactless charging system having a standby-power cutoff function, and method for controlling same
CN104124767A (en) Wireless power transmission system transmitting end standby state automatic wake-up method and device
US10998769B2 (en) Power transmission circuitry, power reception circuitry, wireless power transmission system, and wireless power transmission method
KR101094474B1 (en) Method for Control Automatic Wake-up/Sleep of Tag Type Wireless Short Device and Wireless Short Communication System therefor

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210420