WO2011140731A1 - Device, system and method for low-frequency magnetic field signal detecting, transmission and distance estimating - Google Patents

Device, system and method for low-frequency magnetic field signal detecting, transmission and distance estimating Download PDF

Info

Publication number
WO2011140731A1
WO2011140731A1 PCT/CN2010/073764 CN2010073764W WO2011140731A1 WO 2011140731 A1 WO2011140731 A1 WO 2011140731A1 CN 2010073764 W CN2010073764 W CN 2010073764W WO 2011140731 A1 WO2011140731 A1 WO 2011140731A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
distance
low
magnetic field
frequency
Prior art date
Application number
PCT/CN2010/073764
Other languages
French (fr)
Chinese (zh)
Inventor
汪海翔
蒋宇
Original Assignee
国民技术股份有限公司
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 国民技术股份有限公司 filed Critical 国民技术股份有限公司
Publication of WO2011140731A1 publication Critical patent/WO2011140731A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/02Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness
    • G01B7/023Measuring arrangements characterised by the use of electric or magnetic techniques for measuring length, width or thickness for measuring distance between sensor and object

Definitions

  • the present invention relates to the field of communications, and in particular, to a device and method for detecting and transmitting a low-frequency magnetic field signal when a distance-controlled close-range secure data communication is performed between a terminal and a terminal, and particularly relates to a radio frequency device (such as a radio frequency card) or Distance control of radio frequency communication terminals (such as mobile phones, PDAs, etc.) with close-range radio frequency communication functions and short-range radio communication devices (such as P0S or card readers; P0S, ie Po int of sa les), low-frequency signal detection of magnetic fields Apparatus and method of transmission.
  • a radio frequency device such as a radio frequency card
  • Distance control of radio frequency communication terminals such as mobile phones, PDAs, etc.
  • short-range radio communication devices such as P0S or card readers; P0S, ie Po int of sa les
  • Such an SIM card is embedded in a mobile phone card slot by using a technology such as UHF (Ultra tra Hi gh Frequency) to complete short-range communication and transactions without modifying other structures.
  • a technology such as UHF (Ultra tra Hi gh Frequency) to complete short-range communication and transactions without modifying other structures.
  • the prior art there is a system and method for low-frequency alternating magnetic field close-range detection combined with RF high-frequency communication, which solves the above problem of distance control.
  • the system utilizes low-frequency alternating magnetic field to realize one-way communication from the card reader to the card, complete distance control and identity authentication, and then use the RF channel to realize high-speed communication between the card reader and the card.
  • the system features no need to modify the mobile terminal, just replace the SIM card / TF / SD card inside the terminal, you can achieve reliable two-way distance communication.
  • the card reader transmits the low frequency alternating magnetic field signal, and the card only needs to receive the magnetic field signal. Since the communication is one-way communication, and the card reader does not need to provide energy through the magnetic field, the receiving line or other receiving circuit can be miniaturized enough to be placed. SIM card / TF / SD card. Since the received signal is weak, the card needs to be increased. amplifying circuit.
  • the RF transceiver circuit is placed in the card at the same time, and the RF transceiver circuit in the card reader realizes two-way high-speed communication.
  • the antenna of the RF circuit is small and can be easily integrated into the SIM card/TF/SD card.
  • the distance detection and control is realized by the low frequency channel, and the card reader transmits its unique identification IDr to the card through the low frequency unidirectional channel, and the card is transmitted to the card reader through the RF channel together with the card's own unique IDc.
  • the unique binding of the card reader and the card is realized, that is, the process of the mobile terminal accessing the card reader.
  • the communication after the access process is carried out using the RF channel, and the reliability of the distance control and the reliability of the communication can still be ensured.
  • both the low frequency and the size of the RF antenna can be integrated into the card, and the two-way communication is realized by the combination of low frequency and RF, so there is no need to modify the mobile terminal, and only the SIM card/TF/SD card inside the terminal needs to be replaced. , to achieve reliable two-way distance communication.
  • the technical problem to be solved by the present invention is to provide a method and device for detecting and transmitting short-range low-frequency magnetic field signals and determining distance, for sensing low-frequency signals, pre-amplifying low-frequency weak signals, analog-to-digital conversion, and field strength detection. And means and methods of data communication.
  • a device for detecting and transmitting low frequency magnetic field signals and determining a distance comprising at least one low frequency sensing module for sensing a low frequency magnetic field signal, and at least one for amplifying a low frequency sensing signal.
  • the invention has the beneficial effects that: by using the structure of the device of the invention, it is not necessary to modify the mobile terminal, and only the SIM card/TF/SD card inside the terminal needs to be replaced, so that reliable two-way distance communication can be realized.
  • the present invention can also be improved as follows.
  • the low frequency sensing module is a sensing coil, a Hall sensor, or a giant magnetoresistance.
  • the amplifier adopts a cascade of multi-stage amplifiers.
  • the amplifier is a single-ended amplifier, and may also be a differential amplifier.
  • each of the cascaded multi-stage amplifiers is connected to a high-pass filter circuit, each stage output is connected to a low-pass filter circuit, and the amplifier is an amplifier with low offset and high gain bandwidth product.
  • the beneficial effect of using the above further solution is to introduce high-pass and low-pass filtering at each input and output to improve the signal-to-noise ratio.
  • analog to digital converter employs a parallel analog to digital converter.
  • the beneficial effects of using the above further solution are: improving the processing efficiency of the back end digital module.
  • the analog to digital converter speed is greater than 1 KSPS and the input range is 0V to the analog to digital converter reference voltage.
  • analog-to-digital converter input front end is provided with a voltage follower connected to the amplifier.
  • a digital glitch filter for puncturing the digital signal is disposed between the analog to digital converter and the digital processing module.
  • the present invention also provides a system for low-frequency alternating magnetic field close-range detection combined with radio frequency high-frequency communication, including a radio frequency communication terminal and a short-range radio frequency communication device, wherein the radio frequency communication terminal includes any one of claims 1 to 8.
  • the invention also provides a method for detecting and transmitting short-range magnetic field signals and distance determination, the method comprising:
  • Step a measuring the induced voltage of the magnetic induction module and the magnetic field reader at different distance points, the voltage amplitude value amplified by the amplifier, determining the corresponding relationship between the voltage amplitude value and the distance, and establishing a correspondence table between the amplitude value and the distance;
  • Step b according to the requirement of decoding the low-frequency signal transmission data and controlling the swipe distance, combined with the signal-to-noise ratio requirement, determining the output signal of the analog-to-digital converter by comparing the threshold to form the hysteresis decision voltage threshold, and obtaining the code stream information transmitted by the low-frequency magnetic field; By comparing the threshold to form a non-hysteresis decision voltage threshold, the output signal of the analog-to-digital converter is determined, and the distance characteristic information transmitted by the low-frequency magnetic field is obtained; Step c: sampling the non-hysteresis decision condition signal to obtain a 0, 1 code stream sequence, setting a 1 signal proportional threshold, and counting the code stream sequence within a set time window length, when the 1 signal occupies the code stream When the sequence ratio reaches the preset proportional threshold, it is considered to enter the set distance range, otherwise it is considered that the distance range is not entered; the signal sequence after the decision of the hysteresis decision condition is decoded, the
  • the comparison threshold in the digital processing module is set.
  • the magnetic field distance information and the code stream information are extracted using a single, a plurality of single, a pair, a plurality of pairs of comparison thresholds or a combination thereof.
  • the pair of comparison thresholds in the digital processing module is a non-hysteresis decision condition
  • the setting method is: setting the distance of the desired control to D1, searching the correspondence table of the amplitude value and the distance, and obtaining the signal variation range corresponding to D1 is +A1 To -A1, set the proportional threshold of the 1 signal to R1.
  • A1 and R1 set the level Ll, L2 output to the comparator to meet the time percentage of the output signal amplitude of the front-end device greater than L1 or less than L2 in one cycle.
  • R1 that is, greater than R1, enters the range of the required control distance D1, otherwise it does not enter the range of the required control distance D1.
  • the pair of comparison thresholds in the digital processing module is a hysteresis decision condition, and the setting method is: if the distance to be decoded is D2, the correspondence table between the amplitude value and the distance is searched, and the variation range of the D2 corresponding signal is +A2. To -A2, the amplitude of most noise is measured as A3, and the level of output L3, L4 is set to the comparator so that L3 should be greater than +A3 and less than +A2; L4 is less than -A3 and greater than -A2. That is, decoding is allowed when the distance is less than D2, otherwise decoding is not allowed.
  • the two output signals judged by using a pair of non-hysteresis decision conditions are logically processed, and the digital signals for extracting the distance information are obtained after the processing.
  • the two output signals judged by using a pair of hysteresis decision conditions are subjected to hysteresis processing, and after the hysteresis processing, a digital signal for extracting the magnetic field code stream information is obtained.
  • the comparison threshold when a single comparison threshold is used to extract the magnetic field code stream information, the comparison threshold is set to the amplifier input reference level; when a single comparison threshold output comparison level is used to extract the magnetic field distance information, the comparison threshold setting method is consistent with a pair of comparison threshold setting methods. .
  • the method uses a single comparison threshold to output a digital signal for single distance and code stream determination, or a pair of comparison thresholds to output a digital signal for a single distance And the determination of the code stream; the method uses a plurality of single comparison thresholds to output a digital signal for judging a plurality of distances and code streams, or using a plurality of pairs of comparison thresholds to output a digital signal for multiple distances, multiple Distance interval and code stream judgment.
  • the method performs a plurality of distances, a plurality of distance intervals, and a code stream by using a plurality of single comparison thresholds to output a digital signal and a plurality of pairs of comparison thresholds to output the digital signals.
  • step C the step of performing burr filtering on the input digital signal is performed, and then the low frequency magnetic field data stream is decoded from the signal for filtering the glitch.
  • FIG. 1 is a structural diagram of an embodiment of an apparatus for detecting and transmitting short-range magnetic field signals and distance determination according to the present invention
  • FIG. 2 is a schematic structural view of a sensing coil inductive low frequency mode and a single-ended input amplifier according to the present invention
  • FIG. 3 is a schematic structural view of a Hall sensor inductive low frequency mode and a single-ended input amplifier according to the present invention
  • FIG. 4 is a schematic structural view of a giant magnetoresistance induction low frequency mode and a single-ended input amplifier according to the present invention
  • FIG. 5 is an application example of the differential signal input amplifier of the sensing signal according to the present invention
  • FIG. 6 is a flowchart of a method for detecting a low frequency signal according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram showing the correspondence between the distance and the amplitude value of the low frequency sensing signal by the experimentally measured sensing module being placed in different mobile communication terminals according to an embodiment of the present invention.
  • FIG. 8 is a diagram showing an internal basic structure of an analog-to-digital converter according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a decoding process using a low-frequency magnetic field signal detecting method using a pair of comparison thresholds according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a distance control process using a low-frequency signal detection method using a pair of comparison thresholds in an embodiment of the present invention
  • FIG. 11 is a schematic diagram of decoding processing using a magnetic field data low-frequency signal detection method using a single comparison threshold in an embodiment of the present invention; schematic diagram of distance control processing;
  • Figure 13 is a system for low-frequency alternating magnetic field close-range detection combined with radio frequency high-frequency communication according to the present invention Structure diagram.
  • VINP differential input signal positive terminal
  • VCM Common mode voltage
  • V0UT Output analog signal at the last stage of the amplifier
  • R3, R4, R5, R6 Hall sensor internal devices
  • the invention specifically realizes the detection and information communication of the low-frequency magnetic field strength, and adopts a structure of single-stage or cascaded gain-adjustable amplifier and analog-to-digital converter to complete information collection and response.
  • the amplifier is used to amplify the weak signal at the front end, and the amplified signal is connected to the input of the analog-to-digital converter.
  • the digital module is digitally algorithmized to realize distance control and communication.
  • FIG. 1 is a structural diagram of an apparatus for detecting and transmitting low frequency magnetic field signals and distance determination according to the present invention, which includes a low frequency sensing module 01, an amplifier 02 for amplifying a low frequency sensing signal, and an analog to digital converter connected to an output of the amplifier. 03.
  • a digital processing module 04 coupled to the analog to digital converter 03 for determining the strength of the original signal and completing the signal detection output.
  • the device for detecting and transmitting low-frequency magnetic field signals and distance judging device collects and amplifies weak low-frequency signals, and performs analog-digital conversion, digital algorithm, and finally completes distance control and transaction communication.
  • Fig. 2 is a view showing an example of the configuration of a cascaded gain tunable amplifier used in a device for detecting and transmitting short-range magnetic field signals and distance determination according to the present invention.
  • the cascaded gain adjustable amplifier in this example uses a single-ended input.
  • the sense line ⁇ L is input to the negative voltage of the first amplifier by the change voltage AIN coupled by the low-frequency magnetic field strength change.
  • the inverting amplification method is used to complete the preamplification of the low frequency weak signal through a 5-stage inverting amplifier.
  • each stage input introduces high-pass filtering, and the low-pass filter circuit is placed in the feedback loop.
  • Cl /Ral, C3/Ra2, C5/Ra3, C7/Ra4, and C9/Ra5 are RC high-pass filters for each input.
  • Filtering, and C2/Rbl, C4/Rb2, C6/Ra3, C8/Rb4, C10/Rb5 are RC pass-through filtering of each stage of the feedback loop.
  • the equivalent feedback impedance decreases continuously, resulting in gain. Drops, resulting in low pass filtering.
  • the capacitor C1 input at the first stage acts as a blocking function to prevent the DC voltage difference across the sensing line from causing signal mis-amplification and false detection.
  • the low frequency cutoff frequency of each stage is determined by its RC high-pass filter circuit, and the high-frequency cutoff frequency is determined by its RC low-pass filter circuit.
  • the amplification factor of each stage is determined by the corresponding Rb/Ra, and the total amplification factor after the amplification of the 5th stage is Rbl *Rb2*Rb3*Rb4*Rb5/Ral *Ra2*Ra 3*Ra4*Ra5, which can be used in practical applications. Increase or decrease the number of stages according to the situation.
  • the common mode voltage is half of the amplifier power supply voltage.
  • the amplifier is powered by a single power supply. In applications, positive and negative power supplies can also be used depending on the situation.
  • Figure 2 shows the sensing module using the sensing coil.
  • Other low-frequency sensing methods such as Hall sensor or giant magnetoresistance can be used depending on the situation, as shown in Figure 3 and Figure 4.
  • the examples in Figures 2 to 4 describe the low-frequency sensing signal using a single-ended input.
  • a differential input can also be used.
  • the first stage uses differential input, single-ended output.
  • the first stage output introduces RC passive low-pass filtering, the latter four stages adopt single-pole filtering method, the input end introduces RC high-pass filtering, and the feedback end introduces RC low-pass filtering to determine the lower limit cutoff frequency and the upper limit cutoff frequency respectively.
  • the common terminal is VCM (VDD/2), which satisfies the sensing signal with VDD/2 as the center axis up and down to avoid distortion of the waveform.
  • the advantage of introducing this method is to increase the common mode rejection ratio and reduce common mode noise.
  • the amplifier uses a single-ended output op amp. According to the actual situation, the differential input and differential output modes can also be selected.
  • FIG. 6 is a flowchart of a method for detecting a low frequency signal according to an embodiment of the present invention.
  • the detection of low frequency signals includes the following steps:
  • Step 601 measuring amplitude values of induced voltages after amplification at different distances
  • the amplitude values of the induced voltage of the magnetic induction module and the magnetic field-transmitting card reader at different distance points are amplified by the amplifier on the different mobile phone terminals, and corresponding records are made.
  • Step 602 Establish a correspondence table between the amplitude value and the distance.
  • the measurement data of a plurality of terminals is processed to obtain a correspondence table of amplitude values and distances.
  • Step 603 entering a low frequency magnetic field data decoding process
  • Step 605 comparing threshold settings
  • the distance to be decoded is D2, and the correspondence table between the amplitude value and the distance is searched, and the variation range of the signal corresponding to D2 is +A2 to -A2, and the amplitude of most noise is measured as A3, and the level of output to the comparator is set.
  • L3, L4 such that L3 should be greater than +A3 and less than +A2; L4 is less than -A3 and greater than -A2, that is, decoding is allowed when the distance is less than D2, otherwise decoding is not allowed.
  • Step 607 comparing the delayed output signal after the decision
  • Step 609 decoding the processed signal
  • the decoder decodes the logically processed signal according to the encoding format to obtain low frequency magnetic field data stream information.
  • the decoder sets the digital glitch filter to perform glitch filtering on the input digital signal.
  • Step 611 completing one-way communication of the low frequency magnetic field signal
  • the decoded data is correlated and applied to complete the one-way communication function of the low frequency magnetic field signal. Step 604, entering a distance control process;
  • Step 606 setting a signal proportional threshold and a comparison threshold
  • the distance to be controlled is D1
  • find the correspondence table between the amplitude value and the distance, and the signal change amplitude corresponding to D1 is +A1 to - A1
  • the proportional threshold of the set 1 signal is R1.
  • the output is set to the comparator.
  • the level Ll, L2 meets the output signal of the front-end device in one cycle
  • the percentage of time that the amplitude is greater than L1 or less than L2 is equal to R1, that is, if it is greater than R1, it enters the range of the required control distance D1, otherwise it does not enter the range of the required control distance D1.
  • Step 608 comparing the output signal logic or processing after the judgment
  • the pair of digital signals are operated as follows: the output signal after passing the high comparison threshold is determined to be low.
  • the comparison threshold is performed after the decision output signal is inverted, and a digital signal for distance determination is obtained.
  • Step 61 0 The signal processed by the logic processing in step 608 is sampled to obtain a data stream of 0, 1; Step 612, the data of 0 and 1 is counted by using a preset time window;
  • the length of the time window is preset, and the 0 and 1 data in the time window are counted, and the ratio of 1 is calculated.
  • Steps 614 and 616 comparing the statistical result with the set signal threshold of the set 1 to complete the distance judgment and realizing the distance control.
  • FIG. 7 is a schematic diagram showing the correspondence between the distance and the amplitude value of the low-frequency sensing signal by the experimentally measured sensing module placed in different mobile communication terminals according to an embodiment of the present invention.
  • Table 1 is a table showing the correspondence between the amplitude value and the distance of the low frequency sensing signal in the embodiment of the present invention.
  • Figure 8 shows the basic architecture of the analog-to-digital conversion circuit of the system.
  • the A/D of this example uses a typical The successive comparison type includes a voltage follower A and an analog to digital converter core module 8.
  • the voltage follower A is mainly used to stabilize the analog amplified signal of the amplifier output, avoiding the voltage drift caused by the high resistance of the A/D front end, resulting in distortion of the analog-to-digital conversion.
  • the common mode input port uses the same common mode voltage VCM of the front end amplifier.
  • C10 is the sampling capacitor, and the capacitance is selected according to the sampling rate.
  • FIG. 9 is a schematic diagram of a decoding process using a low-frequency magnetic field signal detecting method using a pair of comparison thresholds according to an embodiment of the present invention.
  • the DO shown in Figure 9 is the output signal of the digital-to-analog converter after converting the input signal of the amplifier.
  • the high comparison threshold and the low comparison threshold are set according to the decoding distance and with reference to the correspondence table of the amplitude value and the distance.
  • D02 is the output signal of the analog-to-digital converter output signal compared with the high comparison threshold.
  • D03 is the output signal of the analog-to-digital converter output signal compared with the low comparison threshold.
  • D04 is a signal obtained by delaying the compared signals D02 and D03. This signal is input to the decoder for decoding the data.
  • the decoder can set a digital glitch filter to perform glitch filtering on the input signal, and the decoder decodes the logically processed signal according to the encoding format to obtain low frequency magnetic field data stream information.
  • FIG. 10 is a schematic diagram of a distance control process using a low-frequency signal detection method using a pair of comparison thresholds in an embodiment of the present invention
  • the DO shown in the figure is the output signal of the digital-to-analog converter after converting the input signal of the amplifier. Its amplitude varies from -A1 to +A1 and its corresponding distance is L. Assuming that the distance L needs to be controlled, first look up the correspondence table of the amplitude value and the distance to obtain the signal amplitude value at the distance. Set the proportional threshold of the 1 signal to R1. According to R1, the high comparison threshold VG+ and the low comparison threshold VG- are set such that the percentage of time that the front-end device output signal amplitude is greater than VG+ or less than VG- is equal to R1 in one cycle.
  • the output signals D02 and D03 are processed or processed to obtain a signal D04, and the signal is sampled to obtain a sampled 0, 1 data stream D5.
  • the dotted line box on the 0 and 1 data streams represents the preset time window.
  • the length of the time window is set equal to one signal period.
  • the 0 and 1 signals in the time window are counted, and the ratio of the 1 signal is obtained.
  • the proportional threshold of the signal is compared. If it is greater than the proportional threshold, the sensing module is considered to be within the distance L; otherwise, the distance is not considered to be entered.
  • FIG. 11 is a schematic diagram of decoding processing using a magnetic field data low frequency signal detecting method using a single comparison threshold in an embodiment of the present invention.
  • the DO shown in the figure is the output signal of the digital-to-analog converter after analog-to-digital conversion of the amplifier input signal.
  • the comparison threshold is set to the amplifier input reference level.
  • the compared signal is directly input to the decoder as a decoder input digital signal.
  • the decoder sets a digital glitch filter to glitch the input signal.
  • the decoder decodes the logically processed signal according to the encoding format to obtain low frequency magnetic field data stream information. Schematic diagram of distance control processing;
  • the DO shown in Figure 12 is the output signal of the digital-to-analog converter that converts the amplifier input signal. Its amplitude varies from -A1 to +A1 and its corresponding distance is L. Assuming that the distance L needs to be controlled, first look up the correspondence table of the amplitude value and the distance to obtain the signal amplitude value at the distance. Set the proportional threshold of the 1 signal to R1. According to R1, the comparison threshold VG is set to be equal to Rl in a period in which the front-end device output signal amplitude is greater than VG. The output signal D01 after the comparison judgment is sampled, and the sampled 0, 1 data stream D02 is obtained. In the figure, the dotted line box on the 0 and 1 data streams represents the preset time window.
  • the length of the time window is set equal to one signal period.
  • the 0 and 1 signals in the time window are counted, and the ratio of the 1 signal is obtained.
  • the proportional threshold of the signal is compared. If it is greater than the proportional threshold, the sensing module is considered to be within the distance L; otherwise, the distance is not considered to be entered.
  • a plurality of single comparison thresholds to output a digital signal for multiple distance and code stream determination, or to use a plurality of pairs of comparison thresholds to output a digital signal for multiple distances, multiple distance intervals, and The judgment of the code stream; the digital signal outputted after the comparison of the plurality of single comparison thresholds and the digital signals outputted by the comparison of the plurality of comparison thresholds may be used to determine the plurality of distances, the plurality of distance intervals, and the code stream.
  • the system includes a radio frequency communication terminal and a short-range radio frequency communication device, and the radio frequency communication terminal includes a low-frequency alternating magnetic field signal.
  • the short-range RF communication device transmits a low-frequency alternating magnetic field signal
  • the radio frequency communication terminal receives the magnetic field signal through the low-frequency alternating magnetic field signal receiving circuit, and transmits the magnetic field signal to the low-frequency magnetic field signal.
  • the device for detecting and transmitting and distance judging finally realizes bidirectional distance communication by using the radio frequency transceiver circuit and the short-range radio frequency communication device.
  • the present invention can perform low frequency weak signal pre-amplification, analog-to-digital conversion, and field strength detection and data communication.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Near-Field Transmission Systems (AREA)

Abstract

A device, system and method for close range low-frequency magnetic field signal detecting, transmission and distance estimating. The device includes: at least one low-frequency inducing module (01) for inducing the low-frequency signal, at least one amplifier (02) for amplifying the low-frequency induced signal, at least one analog to digital converter (03) which is connected with the output of the amplifier, and a digital processing module (04) which is connected with the analog to digital converter and arranged for estimating intensity of the original signal and detecting signal output.

Description

说 明 书 一种用于低频磁场信号检测和传输及距离判断的装置、 系统和方法 技术领域  Apparatus, system and method for low frequency magnetic field signal detection and transmission and distance determination
本发明涉及通信领域, 尤其涉及一种终端与终端之间, 进行距离可控的 近距离安全数据通信时低频磁场信号的检测和传输的装置和方法,特别涉及 含有射频装置(如射频卡)或具有近距离射频通信功能的射频通信终端(如 手机、 PDA等)与近距离射频通信设备(比如 P0S机或读卡器; P0S , 即 Po int of sa les ) 的距离控制、 磁场低频信号检测和传输的装置和方法。 背景技术  The present invention relates to the field of communications, and in particular, to a device and method for detecting and transmitting a low-frequency magnetic field signal when a distance-controlled close-range secure data communication is performed between a terminal and a terminal, and particularly relates to a radio frequency device (such as a radio frequency card) or Distance control of radio frequency communication terminals (such as mobile phones, PDAs, etc.) with close-range radio frequency communication functions and short-range radio communication devices (such as P0S or card readers; P0S, ie Po int of sa les), low-frequency signal detection of magnetic fields Apparatus and method of transmission. Background technique
科技进步快速的今天, 人们的生活也越来越便捷, 其中移动支付行业也 在这样的情景下应运而生, 如今, 只要将手机换一个 SIM卡即可实现手机近 距离通信, 这种方法的出现使得手机成为一个可以充值、 消费、 交易及身份 认证的超级智能终端, 极大地满足了市场的迫切需求。  With the rapid advancement of science and technology, people's lives are becoming more and more convenient. The mobile payment industry has emerged in this situation. Now, just change the mobile phone to a SIM card to realize close-range communication of mobile phones. The emergence of the mobile phone becomes a super smart terminal that can be recharged, consumed, traded and authenticated, which greatly meets the urgent needs of the market.
此种 S IM卡, 采用射频 UHF (Ul tra Hi gh Frequency, 超高频)等技术将 其嵌入手机卡槽中, 无需修改其他结构就可完成近距离通信和交易。  Such an SIM card is embedded in a mobile phone card slot by using a technology such as UHF (Ultra tra Hi gh Frequency) to complete short-range communication and transactions without modifying other structures.
但是, 由于 UHF在不同结构手机里的透射差异性, 导致不同屏蔽性能的 手机通信距离相差较大, 远则几米, 近则几厘米, 在如公交 P0S机或地铁闸 机的刷卡交易中,往往对可交易距离有比较严格的限制,以确保避免误操作。 因此, 对距离的有效控制成了迫在眉睫的需求。  However, due to the transmission difference of UHF in different structure mobile phones, the communication distances of mobile phones with different shielding performances are quite different, ranging from a few meters to a few centimeters, in the case of card transactions such as bus P0S machines or subway gates. There are strict limits on tradable distance to ensure that misuse is avoided. Therefore, effective control of distance becomes an urgent need.
现有技术存在了一种低频交变磁场近距离检测结合 RF 高频通讯的系统 和方法, 解决了上述距离控制的问题。 该系统利用低频交变磁场, 实现读卡 器到卡的单向通信, 完成距离控制及身份认证, 再利用 RF通道实现读卡器 和卡间的高速通讯。 该系统的特点为无需改造移动终端, 只需更换终端内部 的 SIM卡 /TF/SD卡, 即可实现可靠的双向距离通讯。  In the prior art, there is a system and method for low-frequency alternating magnetic field close-range detection combined with RF high-frequency communication, which solves the above problem of distance control. The system utilizes low-frequency alternating magnetic field to realize one-way communication from the card reader to the card, complete distance control and identity authentication, and then use the RF channel to realize high-speed communication between the card reader and the card. The system features no need to modify the mobile terminal, just replace the SIM card / TF / SD card inside the terminal, you can achieve reliable two-way distance communication.
读卡器发射低频交变磁场信号, 卡只需接收该磁场信号, 由于是单向通 讯, 并且无需读卡器通过磁场提供能量, 因此可以将接收线圏或其他接收电 路小型化, 足以放入 SIM卡 /TF/SD卡内。 由于接收信号较弱, 卡内需要增加 放大电路。 The card reader transmits the low frequency alternating magnetic field signal, and the card only needs to receive the magnetic field signal. Since the communication is one-way communication, and the card reader does not need to provide energy through the magnetic field, the receiving line or other receiving circuit can be miniaturized enough to be placed. SIM card / TF / SD card. Since the received signal is weak, the card needs to be increased. amplifying circuit.
另外卡内同时放置 RF收发电路, 与读卡器内的 RF收发电路实现双向高 速通讯, 如前面所述, RF电路的天线很小, 可以轻易的集成到 S IM卡 /TF/SD 卡内。  In addition, the RF transceiver circuit is placed in the card at the same time, and the RF transceiver circuit in the card reader realizes two-way high-speed communication. As described above, the antenna of the RF circuit is small and can be easily integrated into the SIM card/TF/SD card.
利用低频通道实现距离检测和控制,读卡器将自身的唯一标识 IDr通过 低频单向通道传送给卡,卡接收到后连同卡自身的唯一标识 IDc—起通过 RF 通道传送给读卡器, 从而实现读卡器和卡的唯一绑定, 即所谓的移动终端接 入读卡器的过程。  The distance detection and control is realized by the low frequency channel, and the card reader transmits its unique identification IDr to the card through the low frequency unidirectional channel, and the card is transmitted to the card reader through the RF channel together with the card's own unique IDc. The unique binding of the card reader and the card is realized, that is, the process of the mobile terminal accessing the card reader.
由于读卡器和卡已经唯一绑定,接入过程之后的通讯采用 RF通道进行, 仍然可以保证距离控制的可靠性及通讯的可靠性。  Since the card reader and the card are uniquely bound, the communication after the access process is carried out using the RF channel, and the reliability of the distance control and the reliability of the communication can still be ensured.
综上所述, 无论低频还是 RF天线的尺寸均可集成到卡内, 同时采用低 频和 RF结合的方式实现双向通讯, 因此无需改造移动终端, 只需更换终端 内部的 SIM卡 /TF/SD卡, 即可实现可靠的双向距离通讯。  In summary, both the low frequency and the size of the RF antenna can be integrated into the card, and the two-way communication is realized by the combination of low frequency and RF, so there is no need to modify the mobile terminal, and only the SIM card/TF/SD card inside the terminal needs to be replaced. , to achieve reliable two-way distance communication.
因此, 如何有效的减小电路噪声和环境噪声对低频信号的干扰, 准确地 从低频信号中恢复数据流, 实现读卡器和卡的单向通讯、 提取距离信息有效 控制其交易的距离成为目前亟待解决的问题。 发明内容  Therefore, how to effectively reduce the interference of circuit noise and environmental noise on low-frequency signals, accurately recover the data stream from the low-frequency signal, realize the one-way communication between the card reader and the card, and extract the distance information to effectively control the distance of the transaction. Problems to be solved. Summary of the invention
本发明所要解决的技术问题是提供一种用于近距离低频磁场信号检测 和传输及距离判断的方法和装置, 用于感应低频信号、 对低频微弱信号进行 预放大、 模数转换、 场强检测和数据通讯的装置和方法。  The technical problem to be solved by the present invention is to provide a method and device for detecting and transmitting short-range low-frequency magnetic field signals and determining distance, for sensing low-frequency signals, pre-amplifying low-frequency weak signals, analog-to-digital conversion, and field strength detection. And means and methods of data communication.
本发明解决上述技术问题的技术方案如下: 一种用于低频磁场信号检测 和传输及距离判断的装置, 包括至少一个用于感应低频磁场信号的低频感应 模块、 至少一个用于放大低频感应信号的放大器、 与放大器输出端连接的至 少一个模数转换器、及与模数转换器连接并用于判断原始信号的强度及完成 信号检测输出的数字处理模块。  The technical solution of the present invention to solve the above technical problem is as follows: A device for detecting and transmitting low frequency magnetic field signals and determining a distance, comprising at least one low frequency sensing module for sensing a low frequency magnetic field signal, and at least one for amplifying a low frequency sensing signal. An amplifier, at least one analog to digital converter coupled to the output of the amplifier, and a digital processing module coupled to the analog to digital converter for determining the strength of the original signal and completing the signal detection output.
本发明的有益效果是: 利用本发明装置的结构, 无需改造移动终端, 只 需更换终端内部的 SIM卡 /TF/SD卡, 即可实现可靠的双向距离通讯。  The invention has the beneficial effects that: by using the structure of the device of the invention, it is not necessary to modify the mobile terminal, and only the SIM card/TF/SD card inside the terminal needs to be replaced, so that reliable two-way distance communication can be realized.
在上述技术方案的基础上, 本发明还可以做如下改进。  Based on the above technical solutions, the present invention can also be improved as follows.
进一步, 所述低频感应模块为感应线圏、 霍尔传感器, 或者巨磁电阻。 进一步, 所述放大器采用多级放大器级联的方式。 Further, the low frequency sensing module is a sensing coil, a Hall sensor, or a giant magnetoresistance. Further, the amplifier adopts a cascade of multi-stage amplifiers.
进一步, 所述放大器为单端放大器, 也可以为差分放大器。  Further, the amplifier is a single-ended amplifier, and may also be a differential amplifier.
进一步, 所述级联的多级放大器中每级输入端连接高通滤波电路、 每级 输出端连接低通滤波电路, 且放大器为低失调及高增益带宽积的放大器。  Further, each of the cascaded multi-stage amplifiers is connected to a high-pass filter circuit, each stage output is connected to a low-pass filter circuit, and the amplifier is an amplifier with low offset and high gain bandwidth product.
采用上述进一步方案的有益效果是每级输入和输出端引入高通及低通 滤波, 提高信噪比。  The beneficial effect of using the above further solution is to introduce high-pass and low-pass filtering at each input and output to improve the signal-to-noise ratio.
进一步, 所述模数转换器采用并行模数转换器。  Further, the analog to digital converter employs a parallel analog to digital converter.
采用上述进一步方案的有益效果是: 提高后端数字模块处理效率。 进一步,所述模数转换器速率大于 1KSPS ,输入量程为 0V至模数转换器 参考电压。  The beneficial effects of using the above further solution are: improving the processing efficiency of the back end digital module. Further, the analog to digital converter speed is greater than 1 KSPS and the input range is 0V to the analog to digital converter reference voltage.
进一步,所述所述模数转换器输入前端设置有与放大器连接的电压跟随 器。  Further, the analog-to-digital converter input front end is provided with a voltage follower connected to the amplifier.
采用上述进一步方案的有益效果是: 稳定放大器输出的模拟放大信号, 避免 A/D前端高阻引起的电压漂移, 导致模数转换失真。  The beneficial effects of using the above further solution are as follows: Stabilizing the analog amplified signal outputted by the amplifier to avoid voltage drift caused by high resistance of the A/D front end, resulting in distortion of analog to digital conversion.
进一步,所述模数转换器与数字处理模块之间设置有用于对数字信号进 行毛刺滤除的数字毛刺滤波器。  Further, a digital glitch filter for puncturing the digital signal is disposed between the analog to digital converter and the digital processing module.
本发明还提供了一种低频交变磁场近距离检测结合射频高频通讯的系 统, 包括射频通信终端和近距离射频通信设备, 其中, 所述射频通信终端包 括如权利要求 1至 8任一所述的用于近距离低频磁场信号检测和传输及距离 判断的装置, 以及与所述用于近距离低频磁场信号检测和传输及距离判断的 装置连接用于与近距离射频通信设备双向通讯的射频收发电路。  The present invention also provides a system for low-frequency alternating magnetic field close-range detection combined with radio frequency high-frequency communication, including a radio frequency communication terminal and a short-range radio frequency communication device, wherein the radio frequency communication terminal includes any one of claims 1 to 8. The device for detecting and transmitting short-range magnetic field signals and determining the distance, and the RF device for bidirectional communication with the short-range radio communication device and the device for detecting and transmitting short-range magnetic field signals and distance Transceiver circuit.
本发明还提供了一种用于近距离低频磁场信号检测和传输及距离判断 的方法, 方法包括:  The invention also provides a method for detecting and transmitting short-range magnetic field signals and distance determination, the method comprising:
步骤 a : 测量磁感应模块与发送磁场的读卡器在不同距离点的感应电压 经放大器放大后的电压幅度值, 确定电压幅度值与距离的对应关系, 并建立 幅度值与距离的对应表;  Step a: measuring the induced voltage of the magnetic induction module and the magnetic field reader at different distance points, the voltage amplitude value amplified by the amplifier, determining the corresponding relationship between the voltage amplitude value and the distance, and establishing a correspondence table between the amplitude value and the distance;
步骤 b: 根据解码低频信号传输数据及控制刷卡距离的需要, 结合信噪 比要求,通过比较门限形成迟滞判决电压门限对模数转换器输出信号进行判 决, 得到低频磁场所传输的码流信息; 通过比较门限形成非迟滞判决电压门 限对模数转换器输出信号进行判决, 得到低频磁场所传递的距离特征信息; 步骤 c: 对非迟滞判决条件判决后信号进行采样得到 0、 1码流序列, 设 置 1信号比例门限, 在设定的时间窗长度内对该码流序列进行统计, 当 1信 号所占码流序列比例达到预设比例门限时, 则认为进入所设距离范围, 否则 认为未进入该距离范围; 对迟滞判决条件判决后的信号序列进行解码, 提取 低频磁场的码流信息, 完成低频磁场信号单向通信。 Step b: according to the requirement of decoding the low-frequency signal transmission data and controlling the swipe distance, combined with the signal-to-noise ratio requirement, determining the output signal of the analog-to-digital converter by comparing the threshold to form the hysteresis decision voltage threshold, and obtaining the code stream information transmitted by the low-frequency magnetic field; By comparing the threshold to form a non-hysteresis decision voltage threshold, the output signal of the analog-to-digital converter is determined, and the distance characteristic information transmitted by the low-frequency magnetic field is obtained; Step c: sampling the non-hysteresis decision condition signal to obtain a 0, 1 code stream sequence, setting a 1 signal proportional threshold, and counting the code stream sequence within a set time window length, when the 1 signal occupies the code stream When the sequence ratio reaches the preset proportional threshold, it is considered to enter the set distance range, otherwise it is considered that the distance range is not entered; the signal sequence after the decision of the hysteresis decision condition is decoded, the code stream information of the low frequency magnetic field is extracted, and the low frequency magnetic field signal signal is completed. To communication.
进一步, 所述步骤 b中, 根据步骤 a中所述幅度值与距离的对应表, 结 合解码距离、 距离控制的要求、 设置 1信号的比例门限设置数字处理模块内 的比较门限。  Further, in the step b, according to the correspondence table of the amplitude value and the distance in the step a, combining the decoding distance, the requirement of the distance control, and the proportional threshold of the setting 1 signal, the comparison threshold in the digital processing module is set.
进一步, 所述步骤 b中, 使用单个、 多个单个、 一对、 多对比较门限或 其组合提取磁场距离信息和码流信息。  Further, in the step b, the magnetic field distance information and the code stream information are extracted using a single, a plurality of single, a pair, a plurality of pairs of comparison thresholds or a combination thereof.
进一步, 所述数字处理模块内一对比较门限为非迟滞判决条件, 其设置 方法为: 设期望控制的距离为 D1 , 查找幅度值与距离的对应表, 得到 D1对 应的信号变化幅度为 +A1到 -A1 ,设置 1信号的比例门限为 R1 ,根据 A1及 R1 , 设置输出给比较器的电平 Ll、 L2 , 满足在一个周期内, 前端装置输出信号幅 度大于 L1或小于 L2的时间百分比等于 R1 , 即大于 R1则进入所述要求控制 的距离 D1范围内, 否则没有进入所述要求控制距离 D1的范围内。  Further, the pair of comparison thresholds in the digital processing module is a non-hysteresis decision condition, and the setting method is: setting the distance of the desired control to D1, searching the correspondence table of the amplitude value and the distance, and obtaining the signal variation range corresponding to D1 is +A1 To -A1, set the proportional threshold of the 1 signal to R1. According to A1 and R1, set the level Ll, L2 output to the comparator to meet the time percentage of the output signal amplitude of the front-end device greater than L1 or less than L2 in one cycle. R1, that is, greater than R1, enters the range of the required control distance D1, otherwise it does not enter the range of the required control distance D1.
进一步, 所述数字处理模块内一对比较门限为迟滞判决条件, 其设置方 法为: 若期望进行解码的距离为 D2 , 查找幅度值与距离的对应表, 得到 D2 对应信号的变化幅度为 +A2到 -A2 , 测得大多数噪声产生的幅度为 A3 , 设置 输出给比较器的电平 L 3、 L4 , 使得 L3应大于 +A3 , 并小于 +A2 ; L4小于 -A3 , 并大于 -A2 , 即当距离小于 D2则允许解码, 否则不允许解码。  Further, the pair of comparison thresholds in the digital processing module is a hysteresis decision condition, and the setting method is: if the distance to be decoded is D2, the correspondence table between the amplitude value and the distance is searched, and the variation range of the D2 corresponding signal is +A2. To -A2, the amplitude of most noise is measured as A3, and the level of output L3, L4 is set to the comparator so that L3 should be greater than +A3 and less than +A2; L4 is less than -A3 and greater than -A2. That is, decoding is allowed when the distance is less than D2, otherwise decoding is not allowed.
进一步, 所述步骤 b中, 对使用一对非迟滞判决条件进行判断后的两个 输出信号进行逻辑或处理, 处理后得到用于提取距离信息的数字信号。  Further, in the step b, the two output signals judged by using a pair of non-hysteresis decision conditions are logically processed, and the digital signals for extracting the distance information are obtained after the processing.
进一步, 所述步骤 b中, 对使用一对迟滞判决条件进行判断后的两个输 出信号进行迟滞处理, 迟滞处理后得到用于提取磁场码流信息的数字信号。  Further, in the step b, the two output signals judged by using a pair of hysteresis decision conditions are subjected to hysteresis processing, and after the hysteresis processing, a digital signal for extracting the magnetic field code stream information is obtained.
进一步, 使用单个比较门限提取磁场码流信息时, 比较门限设置为放大 器输入参考电平; 当使用单个比较门限输出比较电平提取磁场距离信息时, 比较门限设置方法与一对比较门限设置方法一致。  Further, when a single comparison threshold is used to extract the magnetic field code stream information, the comparison threshold is set to the amplifier input reference level; when a single comparison threshold output comparison level is used to extract the magnetic field distance information, the comparison threshold setting method is consistent with a pair of comparison threshold setting methods. .
进一步,所述方法使用单个比较门限比较后输出的数字信号进行单个距 离和码流的判断, 或使用一对比较门限比较后输出的数字信号进行单个距离 和码流的判断; 所述方法使用多个单个比较门限比较后输出的数字信号进行 多个距离和码流的判断, 或使用多对比较门限比较后输出的数字信号进行多 个距离、 多个距离区间和码流的判断。 Further, the method uses a single comparison threshold to output a digital signal for single distance and code stream determination, or a pair of comparison thresholds to output a digital signal for a single distance And the determination of the code stream; the method uses a plurality of single comparison thresholds to output a digital signal for judging a plurality of distances and code streams, or using a plurality of pairs of comparison thresholds to output a digital signal for multiple distances, multiple Distance interval and code stream judgment.
进一步,所述方法混合使用多个单个比较门限比较后输出的数字信号和 多对比较门限比较后输出的数字信号进行多个距离、 多个距离区间和码流的 判断。  Further, the method performs a plurality of distances, a plurality of distance intervals, and a code stream by using a plurality of single comparison thresholds to output a digital signal and a plurality of pairs of comparison thresholds to output the digital signals.
进一步, 所述步骤 C中, 包括对输入的数字信号进行毛刺滤除的步骤, 然后从滤除毛刺的信号中解码出低频磁场数据流。 附图说明  Further, in the step C, the step of performing burr filtering on the input digital signal is performed, and then the low frequency magnetic field data stream is decoded from the signal for filtering the glitch. DRAWINGS
图 1为本发明用于近距离低频磁场信号检测和传输及距离判断的装置的 一种实施例结构图;  1 is a structural diagram of an embodiment of an apparatus for detecting and transmitting short-range magnetic field signals and distance determination according to the present invention;
图 2为本发明感应线圏感应低频模式及单端输入放大器的结构示意图; 图 3 为本发明霍尔传感器感应低频模式及单端输入放大器的结构示意 图;  2 is a schematic structural view of a sensing coil inductive low frequency mode and a single-ended input amplifier according to the present invention; FIG. 3 is a schematic structural view of a Hall sensor inductive low frequency mode and a single-ended input amplifier according to the present invention;
图 4为本发明巨磁电阻感应低频模式及单端输入放大器的结构示意图; 图 5为本发明感应信号差分输入放大器的应用实例;  4 is a schematic structural view of a giant magnetoresistance induction low frequency mode and a single-ended input amplifier according to the present invention; FIG. 5 is an application example of the differential signal input amplifier of the sensing signal according to the present invention;
图 6为本发明实施例中低频信号检测方法的流程图。  FIG. 6 is a flowchart of a method for detecting a low frequency signal according to an embodiment of the present invention.
图 7为本发明实施例中通过实验测得的将感应模块置入不同移动通信终 端, 距离与低频感应信号幅度值的对应关系示意图。  FIG. 7 is a schematic diagram showing the correspondence between the distance and the amplitude value of the low frequency sensing signal by the experimentally measured sensing module being placed in different mobile communication terminals according to an embodiment of the present invention.
图 8为本发明实施例模数转换器的内部基本结构图;  8 is a diagram showing an internal basic structure of an analog-to-digital converter according to an embodiment of the present invention;
图 9为本发明实施例中使用一对的比较门限采用低频磁场信号检测方法 进行解码处理的示意图;  FIG. 9 is a schematic diagram of a decoding process using a low-frequency magnetic field signal detecting method using a pair of comparison thresholds according to an embodiment of the present invention; FIG.
图 10为本发明实施例中使用一对的比较门限采用低频信号检测方法进 行距离控制处理的示意图;  10 is a schematic diagram of a distance control process using a low-frequency signal detection method using a pair of comparison thresholds in an embodiment of the present invention;
图 11 为本发明实施例中使用单个比较门限采用磁场数据低频信号检测 方法进行解码处理的示意图; 距离控制处理的示意图;  11 is a schematic diagram of decoding processing using a magnetic field data low-frequency signal detection method using a single comparison threshold in an embodiment of the present invention; schematic diagram of distance control processing;
图 1 3为本发明一种低频交变磁场近距离检测结合射频高频通讯的系统 结构框图。 Figure 13 is a system for low-frequency alternating magnetic field close-range detection combined with radio frequency high-frequency communication according to the present invention Structure diagram.
附图中, 各标号所代表的部件列表如下:  In the drawings, the list of parts represented by each label is as follows:
01 氐频感应模块  01 氐 frequency sensing module
02 放大器  02 amplifier
03 模拟 /数字转换器  03 Analog/Digital Converter
04 数字逻辑模块  04 Digital Logic Module
05 比较器  05 comparator
06 模数转换器的控制模块  06 Analog to Digital Converter Control Module
07 模数转换器  07 analog to digital converter
08 数据寄存器  08 data register
AIN: 单端输入信号  AIN: Single-ended input signal
VINP:差分输入信号正端  VINP: differential input signal positive terminal
VINN:差分输入信号负端  VINN: Negative input signal negative
VCM: 共模电压  VCM: Common mode voltage
Vref: 参考电压  Vref: reference voltage
V0UT:放大器最后一级的输出模拟信号  V0UT: Output analog signal at the last stage of the amplifier
Ral, Ra2, Ra3, Ra4, Ra5, Rl, R2: 电阻  Ral, Ra2, Ra3, Ra4, Ra5, Rl, R2: Resistor
R3, R4, R5, R6:霍尔传感器内部器件  R3, R4, R5, R6: Hall sensor internal devices
CI, C2, C3, C4, C5, C6, C7, C8, C9, CIO: 电容  CI, C2, C3, C4, C5, C6, C7, C8, C9, CIO: Capacitance
L:感应线圏  L: induction line 圏
D0-Dn-1: ADC数字量输出  D0-Dn-1: ADC digital output
A: 电压跟随器  A: Voltage follower
B: 模数转换器核心模块。 具体实施方式  B: Analog to digital converter core module. detailed description
以下结合附图对本发明的原理和特征进行描述, 所举实例只用于解释本 发明, 并非用于限定本发明的范围。  The principles and features of the present invention are described in the following description in conjunction with the accompanying drawings.
本发明具体实现低频磁场场强的检测及信息通讯,采用了一种由单级或 级联增益可调放大器和模数转换器的结构完成信息的采集及响应。具体使用 放大器对前端微弱信号进行放大, 放大后的信号连接模数转换器的输入, 经 模数转换后交由数字模块进行数字算法, 从而实现距离控制和通讯。 下面结 合附图进行说明: The invention specifically realizes the detection and information communication of the low-frequency magnetic field strength, and adopts a structure of single-stage or cascaded gain-adjustable amplifier and analog-to-digital converter to complete information collection and response. Specifically, the amplifier is used to amplify the weak signal at the front end, and the amplified signal is connected to the input of the analog-to-digital converter. After the analog-to-digital conversion, the digital module is digitally algorithmized to realize distance control and communication. The following description will be made with reference to the drawings:
图 1 描述了本发明用于低频磁场信号检测和传输及距离判断的装置的 结构图, 其包括低频感应模块 01、 用于放大低频感应信号的放大器 02、 与 放大器输出端连接的模数转换器 03、 与模数转换器 03连接并用于判断原始 信号的强度及完成信号检测输出的数字处理模块 04。本发明用于低频磁场信 号检测和传输及距离判断的装置采集并放大微弱低频信号, 经过模数转换, 数字算法, 最后完成距离控制和交易通讯。  1 is a structural diagram of an apparatus for detecting and transmitting low frequency magnetic field signals and distance determination according to the present invention, which includes a low frequency sensing module 01, an amplifier 02 for amplifying a low frequency sensing signal, and an analog to digital converter connected to an output of the amplifier. 03. A digital processing module 04 coupled to the analog to digital converter 03 for determining the strength of the original signal and completing the signal detection output. The device for detecting and transmitting low-frequency magnetic field signals and distance judging device collects and amplifies weak low-frequency signals, and performs analog-digital conversion, digital algorithm, and finally completes distance control and transaction communication.
图 2 所示为本发明一种用于近距离低频磁场信号检测和传输及距离判 断的装置中使用的级联增益可调放大器的一种结构实例。 本实例中的级联 增益可调放大器, 采用单端输入, 如图 2所示感应线圏 L通过低频磁场强 度变化而耦合到的变化电压 AIN输入到第 1级放大器负端, 后面 4级均采 用反相放大的方式, 共经过 5级反相放大器完成低频微弱信号的预放大。  Fig. 2 is a view showing an example of the configuration of a cascaded gain tunable amplifier used in a device for detecting and transmitting short-range magnetic field signals and distance determination according to the present invention. The cascaded gain adjustable amplifier in this example uses a single-ended input. As shown in Figure 2, the sense line 圏L is input to the negative voltage of the first amplifier by the change voltage AIN coupled by the low-frequency magnetic field strength change. The inverting amplification method is used to complete the preamplification of the low frequency weak signal through a 5-stage inverting amplifier.
本实例中每级输入引入高通滤波, 低通滤波电路放于反馈环路。 图 2 中 Cl /Ral, C3/Ra2, C5/Ra3, C7/Ra4, C9/Ra5是每级输入的 RC高通滤波, 随 着频率的增加, 电容阻抗不断减小, 导致电路增益上升, 形成高通滤波, 而 C2/Rbl, C4/Rb2, C6/Ra3, C8/Rb4, C10/Rb5是每级反馈环路的 RC 氐通滤 波, 随着频率的增加, 等效反馈阻抗不断减小, 导致增益下降, 从而形成 低通滤波。 另外, 第 1级输入的电容 C1同时起到隔直的作用, 防止感应 线圏两端的直流压差造成信号误放大及误检测。 每一级的低频截止频率由 其 RC高通滤波电路决定, 高频截止频率由其 RC低通滤波电路决定。  In this example, each stage input introduces high-pass filtering, and the low-pass filter circuit is placed in the feedback loop. In Figure 2, Cl /Ral, C3/Ra2, C5/Ra3, C7/Ra4, and C9/Ra5 are RC high-pass filters for each input. As the frequency increases, the capacitance of the capacitor decreases, resulting in a rise in circuit gain and Qualcomm. Filtering, and C2/Rbl, C4/Rb2, C6/Ra3, C8/Rb4, C10/Rb5 are RC pass-through filtering of each stage of the feedback loop. As the frequency increases, the equivalent feedback impedance decreases continuously, resulting in gain. Drops, resulting in low pass filtering. In addition, the capacitor C1 input at the first stage acts as a blocking function to prevent the DC voltage difference across the sensing line from causing signal mis-amplification and false detection. The low frequency cutoff frequency of each stage is determined by its RC high-pass filter circuit, and the high-frequency cutoff frequency is determined by its RC low-pass filter circuit.
本实例中每一级放大倍数由相应的 Rb/Ra决定, 5级放大后的总放大倍 数为 Rbl *Rb2*Rb3*Rb4*Rb5/Ral *Ra2*Ra 3*Ra4*Ra5, 实际应用中可根据情况 对级数进行增减。 该共模电压选用放大器电源电压的一半, 放大器采用单 电源供电,应用中也可以根据情况选用正负电源供电的方式。放大器 Ra i l to Ra i l (轨到轨), 且具备低失调和较高的增益带宽积。  In this example, the amplification factor of each stage is determined by the corresponding Rb/Ra, and the total amplification factor after the amplification of the 5th stage is Rbl *Rb2*Rb3*Rb4*Rb5/Ral *Ra2*Ra 3*Ra4*Ra5, which can be used in practical applications. Increase or decrease the number of stages according to the situation. The common mode voltage is half of the amplifier power supply voltage. The amplifier is powered by a single power supply. In applications, positive and negative power supplies can also be used depending on the situation. Amplifier Ra i l to Ra i l (rail-to-rail) with low offset and high gain-bandwidth product.
图 2显示的是感应模块采用感应线圏的方式,根据情况也可采用霍尔传 感器或者巨磁电阻等其他的低频感应方式, 如图 3和图 4所示。  Figure 2 shows the sensing module using the sensing coil. Other low-frequency sensing methods such as Hall sensor or giant magnetoresistance can be used depending on the situation, as shown in Figure 3 and Figure 4.
图 2至 4实例描述了低频感应信号采用单端输入的方式,根据应用情况, 还可选用差分输入的方式, 如图 5所示, 第 1级采用差分输入, 单端输出, 第 1级输出端引入 RC无源低通滤波, 后四级采用单极点滤波的方法, 输入 端引入 RC高通滤波, 反馈端引入 RC低通滤波, 分别决定下限截止频率和 上限截止频率。 公共端为 VCM ( VDD/2 ), 满足感应信号以 VDD/2为中轴上下 对称, 以避免波形的失真。 引入此方法的优点是, 增加共模抑制比, 减少 共模噪声。 本实例中放大器选用的是单端输出的运放, 根据实际情况, 还 可选择差分输入, 差分输出的方式。 The examples in Figures 2 to 4 describe the low-frequency sensing signal using a single-ended input. Depending on the application, a differential input can also be used. As shown in Figure 5, the first stage uses differential input, single-ended output. The first stage output introduces RC passive low-pass filtering, the latter four stages adopt single-pole filtering method, the input end introduces RC high-pass filtering, and the feedback end introduces RC low-pass filtering to determine the lower limit cutoff frequency and the upper limit cutoff frequency respectively. The common terminal is VCM (VDD/2), which satisfies the sensing signal with VDD/2 as the center axis up and down to avoid distortion of the waveform. The advantage of introducing this method is to increase the common mode rejection ratio and reduce common mode noise. In this example, the amplifier uses a single-ended output op amp. According to the actual situation, the differential input and differential output modes can also be selected.
图 6为本发明实施例中低频信号检测方法的流程图。低频信号的检测包 括如下步骤:  FIG. 6 is a flowchart of a method for detecting a low frequency signal according to an embodiment of the present invention. The detection of low frequency signals includes the following steps:
步骤 601, 在不同距离测量放大后感应电压的幅度值;  Step 601, measuring amplitude values of induced voltages after amplification at different distances;
通过实验手段,在不同手机终端上测量磁感应模块与发送磁场的读卡器 在不同距离点的感应电压经放大器放大后的幅度值, 并做相应的记录。  Through experimental means, the amplitude values of the induced voltage of the magnetic induction module and the magnetic field-transmitting card reader at different distance points are amplified by the amplifier on the different mobile phone terminals, and corresponding records are made.
步骤 602, 建立幅度值与距离的对应表;  Step 602: Establish a correspondence table between the amplitude value and the distance.
将多个终端的测量数据进行处理, 得到幅度值与距离的对应表。  The measurement data of a plurality of terminals is processed to obtain a correspondence table of amplitude values and distances.
步骤 603, 进入低频磁场数据解码流程;  Step 603, entering a low frequency magnetic field data decoding process;
步骤 605, 比较门限设置;  Step 605, comparing threshold settings;
期望进行解码的距离为 D2, 查找幅度值与距离的对应表, 得到 D2对应 信号的变化幅度为 +A2到 -A2, 测得大多数噪声产生的幅度为 A3, 设置输出 给比较器的电平 L3、 L4, 使得 L3应大于 +A3, 并小于 +A2; L4小于 -A3, 并 大于 -A2, 即当距离小于 D2则允许解码, 否则不允许解码。  The distance to be decoded is D2, and the correspondence table between the amplitude value and the distance is searched, and the variation range of the signal corresponding to D2 is +A2 to -A2, and the amplitude of most noise is measured as A3, and the level of output to the comparator is set. L3, L4, such that L3 should be greater than +A3 and less than +A2; L4 is less than -A3 and greater than -A2, that is, decoding is allowed when the distance is less than D2, otherwise decoding is not allowed.
步骤 607, 比较判决后输出信号迟滞处理;  Step 607, comparing the delayed output signal after the decision;
步骤 609, 对处理后信号进行解码;  Step 609, decoding the processed signal;
解码器按照编码格式将逻辑处理后的信号进行解码,得到低频磁场数据 流信息。 解码器设置数字毛刺滤波器可对输入的数字信号进行毛刺滤除。  The decoder decodes the logically processed signal according to the encoding format to obtain low frequency magnetic field data stream information. The decoder sets the digital glitch filter to perform glitch filtering on the input digital signal.
步骤 611, 完成低频磁场信号的单向通信;  Step 611, completing one-way communication of the low frequency magnetic field signal;
将解码后数据进行相关的应用, 完成低频磁场信号的单向通信功能。 步骤 604, 进入距离控制流程;  The decoded data is correlated and applied to complete the one-way communication function of the low frequency magnetic field signal. Step 604, entering a distance control process;
步骤 606, 设置 1信号比例门限及比较门限;  Step 606, setting a signal proportional threshold and a comparison threshold;
若期望控制的距离为 D1, 查找幅度值与距离的对应表, 得到 D1对应的 信号变化幅度为 +A1到- A1, 设置 1信号的比例门限为 R1, 根据 A1及 R1, 设置输出给比较器的电平 Ll、 L2, 满足在一个周期内, 前端装置输出信号 幅度大于 L1或小于 L2的时间百分比等于 R1 ,即大于 R1则进入所述要求控 制的距离 D1范围内, 否则没有进入所述要求控制距离 D1的范围内。 If the distance to be controlled is D1, find the correspondence table between the amplitude value and the distance, and the signal change amplitude corresponding to D1 is +A1 to - A1, and the proportional threshold of the set 1 signal is R1. According to A1 and R1, the output is set to the comparator. The level Ll, L2, meets the output signal of the front-end device in one cycle The percentage of time that the amplitude is greater than L1 or less than L2 is equal to R1, that is, if it is greater than R1, it enters the range of the required control distance D1, otherwise it does not enter the range of the required control distance D1.
步骤 608 , 比较判决后输出信号逻辑或处理;  Step 608, comparing the output signal logic or processing after the judgment;
当使用一对比较门限得到用于进行读卡器和卡之间距离判断的数字信 号时, 则将该一对的数字信号进行如下操作: 将通过高比较门限进行判决 后的输出信号与通过低比较门限进行判决后的输出信号取反后进行或操 作, 得到用于距离判断的数字信号。  When a pair of comparison thresholds is used to obtain a digital signal for judging the distance between the card reader and the card, the pair of digital signals are operated as follows: the output signal after passing the high comparison threshold is determined to be low. The comparison threshold is performed after the decision output signal is inverted, and a digital signal for distance determination is obtained.
步骤 61 0 , 对步骤 608逻辑处理后信号进行采样得到 0、 1数据流; 步骤 612 , 使用预设时间窗对 0、 1数据进行统计;  Step 61 0: The signal processed by the logic processing in step 608 is sampled to obtain a data stream of 0, 1; Step 612, the data of 0 and 1 is counted by using a preset time window;
预设时间窗长度, 并对该时间窗内的 0、 1数据进行统计, 计算出 1所 占比例。  The length of the time window is preset, and the 0 and 1 data in the time window are counted, and the ratio of 1 is calculated.
步骤 614、 616 , 将统计结果与所设 1信号比例门限进行比较, 完成距 离判断, 实现距离控制。  Steps 614 and 616, comparing the statistical result with the set signal threshold of the set 1 to complete the distance judgment and realizing the distance control.
图 7 为本发明实施例中通过实验测得的将感应模块置入不同移动通信 终端, 距离与低频感应信号幅度值的对应关系示意图。  FIG. 7 is a schematic diagram showing the correspondence between the distance and the amplitude value of the low-frequency sensing signal by the experimentally measured sensing module placed in different mobile communication terminals according to an embodiment of the present invention.
表 1为本发明实施例中低频感应信号幅度值与距离的对应关系表。  Table 1 is a table showing the correspondence between the amplitude value and the distance of the low frequency sensing signal in the embodiment of the present invention.
Figure imgf000011_0001
Figure imgf000011_0001
表 1  Table 1
图 8所示为本系统的模数转换电路基本架构,本实例的 A/D采用典型的 逐次比较型的方式, 包括电压跟随器 A和模数转换器核心模块8。 其中电压 跟随器 A, 主要用来稳定放大器输出的模拟放大信号, 避免 A/D前端高阻引 起的电压漂移, 导致模数转换失真。 其中共模输入端口采用前端放大器同 样的共模电压 VCM。 C10为采样电容, 容值根据采样速率进行选择。 Figure 8 shows the basic architecture of the analog-to-digital conversion circuit of the system. The A/D of this example uses a typical The successive comparison type includes a voltage follower A and an analog to digital converter core module 8. Among them, the voltage follower A is mainly used to stabilize the analog amplified signal of the amplifier output, avoiding the voltage drift caused by the high resistance of the A/D front end, resulting in distortion of the analog-to-digital conversion. The common mode input port uses the same common mode voltage VCM of the front end amplifier. C10 is the sampling capacitor, and the capacitance is selected according to the sampling rate.
本实例中选择参考电压 Vref>=放大器模拟放大信号 V0UT, 采用并行数 字量输出, 位数选择 8位以上。  In this example, the reference voltage Vref>=amplifier analog amplified signal V0UT is selected, and the parallel digital output is used, and the number of bits is selected to be more than 8 bits.
图 9 为本发明实施例中使用一对的比较门限采用低频磁场信号检测方 法进行解码处理的示意图;  FIG. 9 is a schematic diagram of a decoding process using a low-frequency magnetic field signal detecting method using a pair of comparison thresholds according to an embodiment of the present invention; FIG.
图 9中所示 DO为数模转换器对放大器输入信号进行转换后的输出信号。 高比较门限、 低比较门限根据解码距离并参照幅度值与距离的对应表进行 设置。 D02 为模数转换器输出信号与高比较门限比较后的输出信号,。 D03 为模数转换器输出信号与低比较门限比较后的输出信号。 D04为对比较后信 号 D02、 D03进行迟滞处理后的信号。 该信号输入给解码器用于解码数据。 解码器可设置数字毛刺滤波器可对该输入信号进行毛刺滤除, 解码器按照 编码格式将逻辑处理后的信号进行解码, 得到低频磁场数据流信息。  The DO shown in Figure 9 is the output signal of the digital-to-analog converter after converting the input signal of the amplifier. The high comparison threshold and the low comparison threshold are set according to the decoding distance and with reference to the correspondence table of the amplitude value and the distance. D02 is the output signal of the analog-to-digital converter output signal compared with the high comparison threshold. D03 is the output signal of the analog-to-digital converter output signal compared with the low comparison threshold. D04 is a signal obtained by delaying the compared signals D02 and D03. This signal is input to the decoder for decoding the data. The decoder can set a digital glitch filter to perform glitch filtering on the input signal, and the decoder decodes the logically processed signal according to the encoding format to obtain low frequency magnetic field data stream information.
图 10为本发明实施例中使用一对的比较门限采用低频信号检测方法进 行距离控制处理的示意图;  10 is a schematic diagram of a distance control process using a low-frequency signal detection method using a pair of comparison thresholds in an embodiment of the present invention;
图中所示 DO为数模转换器对放大器输入信号进行转换后的输出信号。 其幅度变化范围从 -A1到 +A1 , 其对应的距离为 L。 假设需要对距离 L进行 控制, 则首先查找幅度值与距离的对应表, 得到在该距离上的信号幅度值。 再设置 1信号的比例门限为 Rl。 根据 R1 , 则高比较门限 VG+、 低比较门限 VG-的设置满足在一个周期内, 前端装置输出信号幅度大于 VG+或小于 VG- 的时间百分比等于 Rl。 对一对比较门限判决后的输出信号 D02、 D03进行或 处理后得到信号 D04 , 对该信号进行采样, 得到采样后的 0、 1数据流 D5。 图中 0、 1数据流上虚线框代表预设的时间窗, 设置时间窗长度等于一个信 号周期, 对时间窗内的 0、 1信号进行统计, 得到 1信号所占比例, 将该比 例与 1 信号的比例门限进行比较, 若大于比例门限, 则认为感应模块进入 距离 L以内; 否则认为未进入该距离。  The DO shown in the figure is the output signal of the digital-to-analog converter after converting the input signal of the amplifier. Its amplitude varies from -A1 to +A1 and its corresponding distance is L. Assuming that the distance L needs to be controlled, first look up the correspondence table of the amplitude value and the distance to obtain the signal amplitude value at the distance. Set the proportional threshold of the 1 signal to R1. According to R1, the high comparison threshold VG+ and the low comparison threshold VG- are set such that the percentage of time that the front-end device output signal amplitude is greater than VG+ or less than VG- is equal to R1 in one cycle. After a pair of comparison threshold decisions, the output signals D02 and D03 are processed or processed to obtain a signal D04, and the signal is sampled to obtain a sampled 0, 1 data stream D5. In the figure, the dotted line box on the 0 and 1 data streams represents the preset time window. The length of the time window is set equal to one signal period. The 0 and 1 signals in the time window are counted, and the ratio of the 1 signal is obtained. The proportional threshold of the signal is compared. If it is greater than the proportional threshold, the sensing module is considered to be within the distance L; otherwise, the distance is not considered to be entered.
图 11为本发明实施例中使用单个比较门限采用磁场数据低频信号检测 方法进行解码处理的示意图; 图中所示 DO为数模转换器对放大器输入信号进行模数转换后的输出信 号。 比较门限设置为放大器输入参考电平。 比较后信号直接作为解码器输 入数字信号输入给解码器。 解码器设置数字毛刺滤波器可对该输入信号进 行毛刺滤除。 解码器按照编码格式将逻辑处理后的信号进行解码, 得到低 频磁场数据流信息。 距离控制处理的示意图; 11 is a schematic diagram of decoding processing using a magnetic field data low frequency signal detecting method using a single comparison threshold in an embodiment of the present invention; The DO shown in the figure is the output signal of the digital-to-analog converter after analog-to-digital conversion of the amplifier input signal. The comparison threshold is set to the amplifier input reference level. The compared signal is directly input to the decoder as a decoder input digital signal. The decoder sets a digital glitch filter to glitch the input signal. The decoder decodes the logically processed signal according to the encoding format to obtain low frequency magnetic field data stream information. Schematic diagram of distance control processing;
图 12 中所示 DO为数模转换器对放大器输入信号进行转换后的输出信 号。 其幅度变化范围从 -A1 到 +A1 , 其对应的距离为 L。 假设需要对距离 L 进行控制, 则首先查找幅度值与距离的对应表, 得到在该距离上的信号幅 度值。 再设置 1信号的比例门限为 Rl。 根据 R1 , 则比较门限 VG的设置满 足在一个周期内, 前端装置输出信号幅度大于 VG的时间百分比等于 Rl。 对 比较判决后的输出信号 D01进行采样, 得到采样后的 0、 1数据流 D02。 图 中 0、 1数据流上虚线框代表预设的时间窗, 设置时间窗长度等于一个信号 周期, 对时间窗内的 0、 1信号进行统计, 得到 1信号所占比例, 将该比例 与 1 信号的比例门限进行比较, 若大于比例门限, 则认为感应模块进入距 离 L以内; 否则认为未进入该距离。  The DO shown in Figure 12 is the output signal of the digital-to-analog converter that converts the amplifier input signal. Its amplitude varies from -A1 to +A1 and its corresponding distance is L. Assuming that the distance L needs to be controlled, first look up the correspondence table of the amplitude value and the distance to obtain the signal amplitude value at the distance. Set the proportional threshold of the 1 signal to R1. According to R1, the comparison threshold VG is set to be equal to Rl in a period in which the front-end device output signal amplitude is greater than VG. The output signal D01 after the comparison judgment is sampled, and the sampled 0, 1 data stream D02 is obtained. In the figure, the dotted line box on the 0 and 1 data streams represents the preset time window. The length of the time window is set equal to one signal period. The 0 and 1 signals in the time window are counted, and the ratio of the 1 signal is obtained. The proportional threshold of the signal is compared. If it is greater than the proportional threshold, the sensing module is considered to be within the distance L; otherwise, the distance is not considered to be entered.
显而易见的是,也可以使用多个单个比较门限比较后输出的数字信号进 行多个距离和码流的判断, 或使用多对比较门限比较后输出的数字信号进 行多个距离、 多个距离区间和码流的判断; 也可以混合使用多个单个比较 门限比较后输出的数字信号和多对比较门限比较后输出的数字信号进行多 个距离、 多个距离区间和码流的判断。  Obviously, it is also possible to use a plurality of single comparison thresholds to output a digital signal for multiple distance and code stream determination, or to use a plurality of pairs of comparison thresholds to output a digital signal for multiple distances, multiple distance intervals, and The judgment of the code stream; the digital signal outputted after the comparison of the plurality of single comparison thresholds and the digital signals outputted by the comparison of the plurality of comparison thresholds may be used to determine the plurality of distances, the plurality of distance intervals, and the code stream.
图 13为本发明一种低频交变磁场近距离检测结合射频高频通讯的系统 结构框图, 如图所示: 系统包括射频通信终端和近距离射频通信设备, 射 频通信终端包括低频交变磁场信号接收电路, 与低频交变磁场信号接收电 路连接的用于近距离低频磁场信号检测和传输及距离判断的装置, 以及与 用于低频磁场信号检测和传输及距离判断的装置连接用于与近距离射频通 信设备双向通讯的射频收发电路。  13 is a block diagram of a system structure of a low-frequency alternating magnetic field short-distance detection combined with radio frequency high-frequency communication according to the present invention, as shown in the figure: The system includes a radio frequency communication terminal and a short-range radio frequency communication device, and the radio frequency communication terminal includes a low-frequency alternating magnetic field signal. a receiving circuit, a device for detecting and transmitting short-range low-frequency magnetic field signals and a distance determination connected to the low-frequency alternating magnetic field signal receiving circuit, and a device for detecting and transmitting low-frequency magnetic field signals and distance determination for close range Radio frequency transceiver circuit for bidirectional communication of radio frequency communication equipment.
工作时,近距离射频通信设备发射低频交变磁场信号,射频通信终端通 过低频交变磁场信号接收电路接收该磁场信号, 并传输给用于低频磁场信 号检测和传输及距离判断的装置, 最后利用射频收发电路与近距离射频通 信设备实现双向距离通讯。 During operation, the short-range RF communication device transmits a low-frequency alternating magnetic field signal, and the radio frequency communication terminal receives the magnetic field signal through the low-frequency alternating magnetic field signal receiving circuit, and transmits the magnetic field signal to the low-frequency magnetic field signal. The device for detecting and transmitting and distance judging finally realizes bidirectional distance communication by using the radio frequency transceiver circuit and the short-range radio frequency communication device.
根据以上描述, 本发明可完成低频微弱信号预放大, 模数转换, 及场强 检测和数据通讯。  According to the above description, the present invention can perform low frequency weak signal pre-amplification, analog-to-digital conversion, and field strength detection and data communication.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明 的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本 发明的保护范围之内。  The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims

权 利 要 求 书 Claim
1. 一种用于近距离低频磁场信号检测和传输及距离判断的装置, 其特 征在于, 包括至少一个用于感应低频磁场信号的低频感应模块、 至少一个用 于放大低频感应信号的放大器、 与放大器输出端连接的至少一个模数转换 器、及与模数转换器连接并用于判断原始信号的强度及完成信号检测输出的 数字处理模块。 A device for detecting and transmitting short-range magnetic field signals and determining a distance, comprising: at least one low-frequency sensing module for sensing a low-frequency magnetic field signal, at least one amplifier for amplifying a low-frequency sensing signal, and At least one analog to digital converter coupled to the output of the amplifier, and a digital processing module coupled to the analog to digital converter for determining the strength of the original signal and completing the signal detection output.
2. 根据权利要求 1所述的装置, 其特征在于, 所述低频感应模块为感 应线圏、 霍尔传感器, 或者巨磁电阻。  2. The device according to claim 1, wherein the low frequency sensing module is an induction coil, a Hall sensor, or a giant magnetoresistance.
3. 根据权利要求 1所述的装置, 其特征在于, 所述放大器采用多级放 大器级联的方式。  3. Apparatus according to claim 1 wherein said amplifier is cascaded in a multi-stage amplifier.
4. 根据权利要求 1或 3所述的装置, 其特征在于所述放大器为单端放 大器或者差分放大器。  4. Apparatus according to claim 1 or 3, characterized in that the amplifier is a single-ended amplifier or a differential amplifier.
5. 根据权利要求 3所述的装置, 其特征在于所述级联的多级放大器中 每级输入端连接高通滤波电路、 每级输出端连接低通滤波电路, 且放大器为 低失调及高增益带宽积的放大器 。  5. The apparatus according to claim 3, wherein each of the cascaded multi-stage amplifiers is connected to a high-pass filter circuit, each stage output is connected to a low-pass filter circuit, and the amplifier is low offset and high gain. Bandwidth product amplifier.
6. 根据权利要求 1所述的装置, 其特征在于, 所述模数转换器采用并 行模数转换器。  6. The apparatus according to claim 1, wherein the analog to digital converter employs a parallel analog to digital converter.
7. 根据权利要求 1、 3、 5或 6任一所述的装置, 其特征在于, 所述模 数转换器速率大于 1KSPS , 输入量程为 0伏至模数转换器参考电压。  7. Apparatus according to any of claims 1, 3, 5 or 6, wherein said analog to digital converter has a rate greater than 1 KSPS and an input range of 0 volts to an analog to digital converter reference voltage.
8. 根据权利要求 1、 3、 5或 6任一所述的装置, 其特征在于, 所述模 数转换器输入前端设置有与所述放大器连接的电压跟随器。  The apparatus according to any one of claims 1, 3, 5 or 6, wherein the input end of the analog-to-digital converter is provided with a voltage follower connected to the amplifier.
9. 根据权利要求 1所述的装置, 其特征在于, 所述模数转换器与数字 处理模块之间设置有用于对数字信号进行毛刺滤除的数字毛刺滤波器。  9. The apparatus according to claim 1, wherein a digital glitch filter for puncturing the digital signal is disposed between the analog to digital converter and the digital processing module.
10.一种低频交变磁场近距离检测结合射频高频通讯的系统, 包括射频 通信终端和近距离射频通信设备, 其特征在于, 所述射频通信终端包括如权 利要求 1至 8任一所述的用于近距离低频磁场信号检测和传输及距离判断的 装置, 以及与所述用于近距离低频磁场信号检测和传输及距离判断的装置连 接用于与近距离射频通信设备双向通讯的射频收发电路。  10. A system for low frequency alternating magnetic field proximity detection combined with radio frequency high frequency communication, comprising a radio frequency communication terminal and a short range radio frequency communication device, wherein the radio frequency communication terminal comprises the method of any one of claims 1 to 8. And a device for detecting and transmitting short-range magnetic field signals and distance, and connecting the device for detecting and transmitting short-range magnetic field signals and determining distance for transmitting and receiving radio signals for bidirectional communication with a short-range radio communication device Circuit.
11.一种用于近距离低频磁场信号检测和传输及距离判断的方法, 方法 包括: 11. A method for detecting and transmitting short-range magnetic field signals and distance determination, method Includes:
步骤 a : 测量磁感应模块与发送磁场的读卡器在不同距离点的感应电压 经放大器放大后的电压幅度值, 确定电压幅度值与距离的对应关系, 并建立 幅度值与距离的对应表;  Step a: measuring the induced voltage of the magnetic induction module and the magnetic field reader at different distance points, the voltage amplitude value amplified by the amplifier, determining the corresponding relationship between the voltage amplitude value and the distance, and establishing a correspondence table between the amplitude value and the distance;
步骤 b: 根据解码低频信号传输数据及控制刷卡距离的需要, 结合信噪 比要求,通过比较门限形成迟滞判决电压门限对模数转换器输出信号进行判 决, 得到低频磁场所传输的码流信息; 通过比较门限形成非迟滞判决电压门 限对模数转换器输出信号进行判决, 得到低频磁场所传递的距离特征信息; 步骤 c: 对非迟滞判决条件判决后信号进行采样得到 0、 1码流序列, 设 置 1信号比例门限, 在设定的时间窗长度内对该码流序列进行统计, 当 1信 号所占码流序列比例达到预设比例门限时, 则认为进入所设距离范围, 否则 认为未进入该距离范围; 对迟滞判决条件判决后的信号序列进行解码, 提取 低频磁场的码流信息, 完成低频磁场信号单向通信。  Step b: according to the requirement of decoding the low-frequency signal transmission data and controlling the swipe distance, combined with the signal-to-noise ratio requirement, determining the output signal of the analog-to-digital converter by comparing the threshold to form the hysteresis decision voltage threshold, and obtaining the code stream information transmitted by the low-frequency magnetic field; By comparing the threshold to form a non-hysteresis decision voltage threshold, the output signal of the analog-to-digital converter is determined, and the distance characteristic information transmitted by the low-frequency magnetic field is obtained; Step c: sampling the signal after the non-hysteresis decision condition is obtained to obtain a 0, 1 code stream sequence, Set the 1 signal proportional threshold, and count the code stream sequence within the set time window length. When the ratio of the code stream occupied by the 1 signal reaches the preset proportional threshold, it is considered to enter the set distance range, otherwise it is considered not to enter. The range of distances; decoding the signal sequence after the decision of the hysteresis decision condition, extracting the code stream information of the low frequency magnetic field, and completing the one-way communication of the low frequency magnetic field signal.
12.根据权利要求 11所述用于近距离低频信号检测及传输系统的方法, 其特征在于, 所述步骤 b中, 根据步骤 a中所述幅度值与距离的对应表, 结 合解码距离、 距离控制的要求、 设置 1信号的比例门限设置数字处理模块内 的比较门限。  The method for detecting a short-range low-frequency signal detecting and transmitting system according to claim 11, wherein in the step b, according to the correspondence table of the amplitude value and the distance in the step a, the decoding distance and the distance are combined. Control requirements, set the proportional threshold of the 1 signal to set the comparison threshold within the digital processing module.
13.根据权利要求 11所述用于低频信号检测及传输系统的方法,其特征 在于, 所述步骤 b中, 使用单个、 多个单个、 一对、 多对比较门限或其组合 提取磁场距离信息和码流信息。  The method for detecting and transmitting a low-frequency signal according to claim 11, wherein in the step b, the magnetic field distance information is extracted using a single, a plurality of single, a pair, a plurality of pairs of comparison thresholds, or a combination thereof. And code stream information.
14.根据权利要求 13所述用于近距离低频信号检测及传输系统的方法, 其特征在于, 所述数字处理模块内一对比较门限为非迟滞判决条件, 其设置 方法为: 设期望控制的距离为 D1 , 查找幅度值与距离的对应表, 得到 D1对 应的信号变化幅度为 +A1到 -A1 ,设置 1信号的比例门限为 R1 ,根据 A1及 R1 , 设置输出给比较器的电平 Ll、 L2 , 满足在一个周期内, 前端装置输出信号幅 度大于 L1或小于 L2的时间百分比等于 R1 , 即大于 R1则进入所述要求控制 的距离 D1范围内, 否则没有进入所述要求控制距离 D1的范围内。  The method for short-range low-frequency signal detection and transmission system according to claim 13, wherein a pair of comparison thresholds in the digital processing module is a non-hysteresis decision condition, and the setting method is: setting a desired control The distance is D1, and the correspondence table between the amplitude value and the distance is found. The signal variation amplitude corresponding to D1 is +A1 to -A1, and the proportional threshold of the setting 1 signal is R1. According to A1 and R1, the level L1 output to the comparator is set. And L2, satisfying that in a period, the percentage of time that the output signal amplitude of the front end device is greater than L1 or less than L2 is equal to R1, that is, if the value is greater than R1, the distance D1 of the required control is entered, otherwise the required control distance D1 is not entered. Within the scope.
15.根据权利要求 13所述用于近距离低频信号检测及传输系统的方法, 其特征在于, 所述数字处理模块内一对比较门限为迟滞判决条件, 其设置方 法为: 若期望进行解码的距离为 D2 , 查找幅度值与距离的对应表, 得到 D2 对应信号的变化幅度为 +A2到 -A2 , 测得大多数噪声产生的幅度为 A3 , 设置 输出给比较器的电平 L 3、 L4 , 使得 L 3应大于 +A3 , 并小于 +A2 ; L4小于 -A3 , 并大于 -A2 , 即当距离小于 D2则允许解码, 否则不允许解码。 The method for short-range low-frequency signal detection and transmission system according to claim 13, wherein a pair of comparison thresholds in the digital processing module is a hysteresis decision condition, and the setting method is: if decoding is desired The distance is D2, and the correspondence table between the amplitude value and the distance is found, and D2 is obtained. The corresponding signal varies from +A2 to -A2. The amplitude of most noise is measured as A3. Set the level of output to the comparator L 3, L4 so that L 3 should be greater than +A3 and less than +A2 ; L4 Less than -A3, and greater than -A2, that is, when the distance is less than D2, decoding is allowed, otherwise decoding is not allowed.
16.根据权利要求 14所述用于低频信号检测及传输系统的方法,其特征 在于, 所述步骤 b中, 对使用一对非迟滞判决条件进行判断后的两个输出信 号进行逻辑或处理, 处理后得到用于提取距离信息的数字信号。  The method for detecting and transmitting a low-frequency signal according to claim 14, wherein in the step b, the two output signals determined by using a pair of non-hysteresis decision conditions are logically processed, A digital signal for extracting distance information is obtained after processing.
17.根据权利要求 15所述用于低频信号检测及传输系统的方法,其特征 在于, 所述步骤 b中, 对使用一对迟滞判决条件进行判断后的两个输出信号 进行迟滞处理, 迟滞处理后得到用于提取磁场码流信息的数字信号。  The method for detecting and transmitting a low-frequency signal according to claim 15, wherein in the step b, the two output signals judged by using a pair of hysteresis decision conditions are subjected to hysteresis processing, hysteresis processing A digital signal for extracting the magnetic field code stream information is then obtained.
18.根据权利要求 1 3所述用于低频信号检测及传输系统的方法,其特征 在于, 使用单个比较门限提取磁场码流信息时, 比较门限设置为放大器输入 参考电平; 当使用单个比较门限输出比较电平提取磁场距离信息时, 比较门 限设置方法与权利要求 16所述方法一致。  18. A method for low frequency signal detection and transmission system according to claim 13 wherein when a single comparison threshold is used to extract magnetic field code information, the comparison threshold is set to an amplifier input reference level; when a single comparison threshold is used When the comparison level is extracted to extract the magnetic field distance information, the comparison threshold setting method is identical to the method of claim 16.
19.根据权利要求 1 3所述用于低频信号检测及传输系统的方法,其特征 在于,所述方法使用单个比较门限比较后输出的数字信号进行单个距离和码 流的判断, 或使用一对比较门限比较后输出的数字信号进行单个距离和码流 的判断; 所述方法使用多个单个比较门限比较后输出的数字信号进行多个距 离和码流的判断, 或使用多对比较门限比较后输出的数字信号进行多个距 离、 多个距离区间和码流的判断。  19. A method for low frequency signal detection and transmission system according to claim 13 wherein said method uses a single comparison threshold to output a digital signal for single distance and code stream determination, or a pair The digital signal outputted after the comparison threshold is compared to determine a single distance and a code stream; the method uses a plurality of single comparison thresholds to output a digital signal for judging a plurality of distances and code streams, or using a plurality of pairs of comparison thresholds after comparison The output digital signal is judged by multiple distances, multiple distance intervals, and code streams.
20.根据权利要求 1 3所述用于低频信号检测及传输系统的方法,其特征 在于,所述方法混合使用多个单个比较门限比较后输出的数字信号和多对比 较门限比较后输出的数字信号进行多个距离、 多个距离区间和码流的判断。  20. The method for low frequency signal detection and transmission system according to claim 13, wherein the method mixes a digital signal outputted after comparing a plurality of single comparison thresholds with a plurality of pairs of comparison thresholds and outputs the number after comparison. The signal is judged by multiple distances, multiple distance intervals, and code streams.
21.根据权利要求 1 1所述用于低频信号检测及传输系统的方法,其特征 在于, 所述步骤 c中, 包括对输入的数字信号进行毛刺滤除的步骤, 然后从 滤除毛刺的信号中解码出低频磁场数据流。  The method for detecting and transmitting a low-frequency signal according to claim 11, wherein the step c includes a step of performing glitch filtering on the input digital signal, and then filtering the signal from the glitch The low frequency magnetic field data stream is decoded.
PCT/CN2010/073764 2010-05-10 2010-06-10 Device, system and method for low-frequency magnetic field signal detecting, transmission and distance estimating WO2011140731A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010101664321 2010-05-10
CN201010166432.1A CN103023536B (en) 2010-05-10 2010-05-10 Device, system and method used for detecting and transmitting low-frequency magnetic field signal and judging distance

Publications (1)

Publication Number Publication Date
WO2011140731A1 true WO2011140731A1 (en) 2011-11-17

Family

ID=44913858

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/073764 WO2011140731A1 (en) 2010-05-10 2010-06-10 Device, system and method for low-frequency magnetic field signal detecting, transmission and distance estimating

Country Status (2)

Country Link
CN (1) CN103023536B (en)
WO (1) WO2011140731A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105228081A (en) * 2015-08-21 2016-01-06 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN109917335B (en) * 2019-03-29 2021-04-20 北京经纬恒润科技股份有限公司 Method and device for calibrating received signal strength
CN114124257B (en) * 2021-09-29 2024-04-19 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Signal quality evaluation device and signal quality evaluation method
CN113872709B (en) * 2021-10-14 2023-10-24 上海橙科微电子科技有限公司 System for continuously monitoring presence or absence of high-speed signal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489755A (en) * 2001-02-08 2004-04-14 ��˹��ŵ�� Smart card reader
JP2005208754A (en) * 2004-01-20 2005-08-04 Matsushita Electric Ind Co Ltd Non-contact ic card communication equipment
JP2006050406A (en) * 2004-08-06 2006-02-16 Denso Wave Inc Contactless ic card reader/writer
CN1808929A (en) * 2005-01-17 2006-07-26 索尼爱立信移动通信日本株式会社 Short-range wireless communication apparatus and cellular phone terminal
CN101266641A (en) * 2007-03-17 2008-09-17 深圳市碧沙科技有限公司 Active electronic label gain controllable card reader
CN201156257Y (en) * 2008-02-20 2008-11-26 福建师范大学 Data reading circuit for low frequency radio frequency IC card suitable for low voltage and corresponding apparatus
CN201255885Y (en) * 2008-09-25 2009-06-10 湖南威科电力仪表有限公司 Non-contact radio frequency card reader
CN201259694Y (en) * 2008-07-03 2009-06-17 高英 Electronic toll collection system based on low frequency magnetic field

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489755A (en) * 2001-02-08 2004-04-14 ��˹��ŵ�� Smart card reader
JP2005208754A (en) * 2004-01-20 2005-08-04 Matsushita Electric Ind Co Ltd Non-contact ic card communication equipment
JP2006050406A (en) * 2004-08-06 2006-02-16 Denso Wave Inc Contactless ic card reader/writer
CN1808929A (en) * 2005-01-17 2006-07-26 索尼爱立信移动通信日本株式会社 Short-range wireless communication apparatus and cellular phone terminal
CN101266641A (en) * 2007-03-17 2008-09-17 深圳市碧沙科技有限公司 Active electronic label gain controllable card reader
CN201156257Y (en) * 2008-02-20 2008-11-26 福建师范大学 Data reading circuit for low frequency radio frequency IC card suitable for low voltage and corresponding apparatus
CN201259694Y (en) * 2008-07-03 2009-06-17 高英 Electronic toll collection system based on low frequency magnetic field
CN201255885Y (en) * 2008-09-25 2009-06-10 湖南威科电力仪表有限公司 Non-contact radio frequency card reader

Also Published As

Publication number Publication date
CN103023536A (en) 2013-04-03
CN103023536B (en) 2014-12-03

Similar Documents

Publication Publication Date Title
KR101633726B1 (en) Device for low frequency signal detection and transmission
US9846796B2 (en) Systems and methods using load modulation for wireless communication
WO2011140731A1 (en) Device, system and method for low-frequency magnetic field signal detecting, transmission and distance estimating
US8472560B2 (en) Apparatus and method for detecting RFID signals
WO2011140732A1 (en) Short-range communication method and system
CN103187938A (en) Difference simulation front end device for low-frequency signal detection and transmission system
WO2011140728A1 (en) Differential analog front end apparatus for low frequency signal detection and transmission system
CN103023584B (en) A kind ofly to detect and the analog front-end device of transmission system for low frequency signal
US11914092B2 (en) Inductive magnetic sensor and electromagnetic prospecting equipment
CN203588292U (en) Demodulation circuit in radio frequency identification
CN107769807A (en) Radio frequency sampling device
CN104112111A (en) Magnetic stripe card decoding circuit and method
CN102457306B (en) Analog front end circuit of interrogator in near field communication (NFC) system
CN209659305U (en) A kind of RFID system of high channel filtering
CN204633997U (en) A kind of induction of the multiband high sensitivity brain wave based on NFC bluetooth earphone
CN206292801U (en) A kind of monitor of IC-card communication signal
CN208298191U (en) A kind of R-T unit and card reader
CN108875436B (en) Receiving and transmitting device and card reader
CN105975885B (en) A kind of monitor of IC card communication signal
CN207853884U (en) Radio frequency sampling device
CN1713515B (en) Digital medium-frequency discriminator
CN102123119A (en) Amplitude modulation demodulation circuit and method
CN104902391A (en) Brain wave sensing Bluetooth headset
CN112767703B (en) Recognition equipment of electronic license plate
CN202257617U (en) Balanced converter circuit of radio frequency identification (RFID) ultrahigh frequency reader-writer

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10851236

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHRS PURSUANT TO RULE 112(1) EPC

122 Ep: pct application non-entry in european phase

Ref document number: 10851236

Country of ref document: EP

Kind code of ref document: A1