RFID code reading circuit and code reading distance adjustment method, device, equipment and medium thereof
By adjusting the state of the switch unit in the RFID reading circuit through the control module, the carrier voltage is generated and adjusted, which solves the problem of insufficient reading distance and achieves longer-distance reading and higher stability.
Patent Information
- Application Number
- CN202410319841.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-03-20
AI Technical Summary
The existing RFID reader circuit has insufficient antenna driving capability and insufficient carrier energy, resulting in a short reading distance and the inability of the resonant voltage sampling circuit to effectively demodulate into a digital signal.
The control module generates a control signal, adjusts the state of the switch unit in the drive module, generates a square wave and converts it into a carrier wave, uses the resonance module and the acquisition module to obtain and adjust the resonant voltage value, and uses the restoration module to restore it to a digital signal to improve the code reading distance.
The RFID reader circuit's reading distance is enhanced, and its stability and anti-interference capability are improved, ensuring reliable reception of carrier signals at long distances, reducing the bit error rate and extending the system's service life.
Smart Images

Figure CN118313389B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to an RFID code reading circuit and a code reading distance adjustment method, device, equipment and medium thereof. Background Art
[0002] Currently, low-frequency 125kHz radio frequency identification (RFID) technology is widely used in enterprise key management, various types of keys, and smart lock products. A large number of code reading circuits consisting of a microcontroller unit, an antenna drive circuit, a carrier amplifier circuit, an oscillation circuit, a resonant voltage sampling circuit, a detection circuit, a filter circuit, and an operational amplifier circuit are used. However, the code reading circuit constructed with the above scheme has insufficient driving capability and carrier energy of the antenna drive circuit, resulting in a small amplitude of the useful information signal on the modulated wave signal. The resonant voltage value of the resonant voltage sampling circuit cannot be effectively demodulated into a digital signal, resulting in a short reading distance for the RFID code reading circuit. Summary of the Invention
[0003] The present invention aims to address at least one of the technical problems existing in the prior art. To this end, the present invention provides an RFID reader circuit and a method, device, apparatus, and medium for adjusting the reading distance thereof. These circuits enhance the driving capability of an antenna drive circuit, demodulate the resonant voltage value into a digital signal, and thereby increase the reading distance of the RFID reader circuit.
[0004] In a first aspect, an embodiment of the present invention provides an RFID code reading circuit, comprising:
[0005] A control module, which generates a first control signal when the control module is turned on, wherein a first resonant voltage value is preset in the control module;
[0006] a driving module, the driving module being provided with a driving unit and a switching unit, the driving unit being connected to the control module and the switching unit, respectively; the switching unit being provided with a first switch, a second switch, a third switch, and a fourth switch; one end of the first switch being connected to the driving power supply, the other end of the first switch being connected to one end of the second switch, the other end of the second switch being grounded, one end of the third switch being connected to the driving power supply, the other end of the third switch being connected to one end of the fourth switch, the other end of the fourth switch being grounded; the driving module adjusting the closed states of the first switch, the second switch, the third switch, and the fourth switch according to the first control signal so that the driving module generates a square wave;
[0007] a resonance module, the resonance module being connected to the driving unit and converting the square wave into a carrier wave;
[0008] an acquisition module, the acquisition module being connected to the resonance module and the control module respectively, the acquisition module acquiring the carrier and sending the carrier to the control module in the form of a second resonance voltage value, the control module adjusting the switching state of the switch unit until the second resonance voltage value is equal to the first resonance voltage value;
[0009] A restoration module is connected to the resonance module, and the restoration module restores the modulated wave signal to a digital signal so that the control module can read the digital signal.
[0010] In some embodiments of the present invention, the driving module is provided with a first chip, the resonance module is provided with a coil, a first capacitor and a second capacitor, the coil is provided with a first square wave interface and a second square wave interface, the first square wave interface is connected to the first chip, one end of the first capacitor and the second capacitor are both connected to the second square wave pin of the first chip, and the other end of the first capacitor and the second capacitor are respectively connected to the second square wave interface and the restoration module.
[0011] In some embodiments of the present invention, the reduction circuit is provided with a first diode, a second diode, a third diode, a first resistor, a second resistor, a third resistor, a third capacitor, a fourth capacitor and a fifth capacitor, the anode of the first diode is connected to the resonance module, the cathode of the first diode is respectively connected to one end of the first resistor, the third capacitor, the fourth capacitor and the fifth capacitor, the other end of the first resistor is connected to one end of the second resistor, the other end of the second resistor is grounded, the other ends of the third capacitor and the fourth capacitor are both grounded, the other end of the fifth capacitor is respectively connected to one end of the third resistor, the cathode of the second diode and the anode of the third diode, the other end of the third resistor is grounded, and the anode of the second diode and the cathode of the third diode are both grounded.
[0012] In some embodiments of the present invention, the restoration module is further connected to a filtering and amplifying module, which is provided with a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a sixth capacitor, a seventh capacitor, a first operational amplifier, and a second operational amplifier. One end of the fourth resistor is connected to the restoration module, the other end of the fourth resistor and one end of the sixth capacitor are both connected to the positive input terminal of the first operational amplifier, the other end of the sixth capacitor is grounded, one end of the fifth resistor, the sixth resistor, and the seventh capacitor are all connected to the negative input terminal of the first operational amplifier, the other end of the fifth resistor is grounded, the other end of the sixth resistor, the other end of the seventh capacitor, and the output terminal of the first operational amplifier are all connected to the positive input terminal of the second operational amplifier, one end of the seventh resistor, the eighth resistor, and the ninth resistor are all connected to the negative input terminal of the second operational amplifier, the other end of the seventh resistor is connected to an external power supply, the other end of the eighth resistor is grounded, and the other end of the ninth resistor and the output terminal of the second operational amplifier are all connected to one end of the fourth resistor.
[0013] In some embodiments of the present invention, the restoration module is also connected to an acquisition module, the acquisition module is connected to an MCU, and the detection module is provided with an eleventh resistor, a twelfth resistor, a thirteenth resistor and a third operational amplifier, the eleventh resistor is connected to one end of the first resistor, the other end of the eleventh resistor is connected to the positive input terminal of the third operational amplifier, one end of the twelfth resistor and the thirteenth resistor are both connected to the negative input terminal of the third operational amplifier, the other end of the twelfth resistor is grounded, and the other end of the thirteenth resistor and the output end of the third operational amplifier are both connected to the MCU.
[0014] In a second aspect, an embodiment of the present invention provides a method for adjusting a code reading distance of an RFID code reading circuit, comprising:
[0015] The control module controls the driving module to drive, so that the control module sends a first control signal to the switch unit, and the switch unit adjusts the states of the multiple switches according to the first control signal, so that the driving unit sends a square wave to the resonance module;
[0016] The resonance module converts the square wave into a carrier wave, the acquisition module acquires the carrier wave, and sends the carrier wave to the control module in the form of a second resonance voltage value, wherein the control module is preset with a first resonance voltage value;
[0017] The control module adjusts the switching state of the switch module to adjust the second resonant voltage value to be equal to the first resonant voltage value;
[0018] Acquire the signal to be modulated from the RFID code reading circuit, and the control module modulates the signal to be modulated onto the carrier to form a modulated wave signal;
[0019] The restoration module restores the modulated wave signal to a digital signal, so that the control module can read the digital signal.
[0020] In some embodiments of the present invention, the switch unit adjusts the closed state of the plurality of switches according to the first control signal, including:
[0021] When the first switch is closed, the second switch is open, the third switch is open, and the fourth switch is closed, the switch unit is in a first state, and when the switch unit is in the first state, the switch unit is synchronized with a half cycle of the carrier;
[0022] When the first switch is open, the second switch is closed, the third switch is closed, and the fourth switch is open, the switch unit is in a second state. When the switch unit is in the second state, the switch unit is synchronized with the other half cycle of the carrier.
[0023] In a third aspect, an embodiment of the present invention provides a device for adjusting the code reading distance of an RFID code reading circuit, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to execute the compilation and download method based on the digital chip as described in the second aspect above.
[0024] In a fourth aspect, an embodiment of the present invention provides an electronic device comprising a code reading distance adjustment device of the RFID code reading circuit as described in the second aspect above.
[0025] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method for adjusting the code reading distance of the RFID code reading circuit as described in the first aspect above.
[0026] The RFID code reading circuit according to the embodiment of the present invention has at least the following beneficial effects:
[0027] The control module generates a first control signal when the control module is turned on, wherein a first resonant voltage value is preset in the control module; the driving module is provided with a driving unit and a switch unit, the driving unit is connected to the control module and the switch unit respectively, the switch unit is provided with a first switch, a second switch, a third switch and a fourth switch, one end of the first switch is connected to the driving power supply, the other end of the first switch is connected to one end of the second switch, the other end of the second switch is grounded, one end of the third switch is connected to the driving power supply, the other end of the third switch is connected to one end of the fourth switch, and the other end of the fourth switch is grounded. The driving module is connected according to the first control signal. The RFID reader circuit of the embodiment of the present invention includes a control module that sends a control signal to the driver unit, thereby controlling the opening and closing states of the multiple switches of the switch unit, oscillating the carrier wave and transferring energy through the resonant circuit, adjusting the relationship between the multiple switch states and the carrier wave period, obtaining a second resonant voltage value, adjusting the second resonant voltage value to be equal to the first resonant voltage value through the control module, and restoring the second resonant voltage value to a digital signal through the restoration module. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a schematic structural diagram of an RFID code reading circuit provided by one embodiment of the present invention;
[0029] Figure 2 This is a circuit schematic diagram of an RFID code reading circuit provided by one embodiment of the present invention;
[0030] Figure 3 This is a schematic diagram of the operation of a switch unit of an RFID code reading circuit provided by one embodiment of the present invention;
[0031] Figure 4 This is a flow chart of a code reading distance adjustment method provided by one embodiment of the present invention;
[0032] Figure 5 This is a flow chart of a switch unit adjusting the closed state of multiple switches according to a first control signal provided by an embodiment of the present invention;
[0033] Figure 6 is a structural diagram of a code reading distance adjustment device provided by another embodiment of the present invention;
[0034] Figure 7 It is a structural schematic diagram of a coil, a first square wave interface, and a second square wave structure provided by an embodiment of the present invention.
[0035] Reference numerals:
[0036] Control module 100; drive module 200; drive unit 210; switch unit 220; resonance module 300; acquisition module 400; restoration module 500; Q1 coil; Z1 first square wave interface; Z2 second square wave interface. DETAILED DESCRIPTION
[0037] The following describes embodiments of the present invention in detail. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.
[0038] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, they cannot be understood as limitations on the present invention.
[0039] In the description of the present invention, "several" means one or more, "many" means more than two, "greater than," "less than," and "exceed" are understood to exclude the number itself, while "above," "below," and "within" are understood to include the number itself. The use of "first" and "second" in the description is solely for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, implicitly specifying the number of the indicated technical features, or implicitly specifying the order of the indicated technical features.
[0040] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0041] The embodiment of the present invention provides an RFID code reading circuit, including a control module 100. When the control module 100 is turned on, the control module 100 generates a first control signal, wherein a first resonant voltage value is preset in the control module 100; a driving module 200, wherein the driving module 200 is provided with a driving unit 210 and a switching unit 220. The driving unit 210 is connected to the control module 100 and the switching unit 220 respectively. The switching unit 220 is provided with a first switch, a second switch, a third switch and a fourth switch. One end of the first switch is connected to a driving power supply, the other end of the first switch is connected to one end of the second switch, the other end of the second switch is grounded, one end of the third switch is connected to the driving power supply, the other end of the third switch is connected to one end of the fourth switch, and the other end of the fourth switch is grounded. The driving module 200 is connected to the driving power supply, the other end of the third switch is connected to one end of the fourth switch, and the other end of the fourth switch is grounded. The closed states of the first switch, the second switch, the third switch, and the fourth switch are adjusted according to the first control signal so that the driving module 200 generates a carrier wave; the resonance module 300 is connected to the switch unit 220, and the resonance module 300 converts the square wave into a carrier wave; the acquisition module 400 is connected to the resonance module 300 and the control module 100 respectively, and the acquisition module 400 collects the second resonant voltage value and sends it to the control module 100, and the control module 100 adjusts the switching state of the switch unit 220 until the second resonant voltage value is equal to the first resonant voltage value; the restoration module 500 is connected to the acquisition module 400 and the control module 100, and the restoration module 500 restores the second resonant voltage value to a digital signal so that the control module 100 can read the digital signal. According to an embodiment of the present invention, the RFID code reading circuit controls the closed states of multiple switches through a first control signal to cause the driving module 200 to generate a square wave, generates a carrier and transfers energy through the resonance module 300, adjusts the relationship between the multiple switch states and the carrier period, obtains a second resonant voltage value, adjusts the second resonant voltage value to be equal to the first resonant voltage value through the control module 100, and restores the second resonant voltage value to a digital signal through the restoration module 500, thereby improving the code reading distance of the RFID code reading circuit.
[0042] It should be noted that the first control signal is generated by the control module 100 and may be one or more. The switch unit 220 determines whether the multiple controllable switch devices are in the first state and / or the second state according to the first control signal, wherein the first state is a state in which the first switch is closed, the second switch is disconnected, the third switch is disconnected, and the fourth switch is closed; the second state is a state in which the first switch is disconnected, the fourth switch is closed, the third switch is closed, and the fourth switch is disconnected. Specifically, when the multiple switches are in the first state, the closed state of the multiple switches is synchronized with half a cycle of the carrier; when the multiple switches are in the second state, the closed state of the multiple switches is synchronized with the other half cycle of the carrier; when the first state and The holding time of the second state deviates from half of the carrier cycle, which can reduce the resonant voltage and improve the stability of the RFID code reading circuit. When the resonant voltage of the RFID code reading circuit is too high, it will cause overload or damage to various components. By reducing the resonant voltage, the working state of the circuit can be effectively controlled, and the carrier generated by the resonant circuit can be guaranteed to reliably transmit energy. Under other identical conditions, the greater the resonant voltage, the greater the carrier energy. However, excessive resonant voltage will damage components. The entire control module, drive module, resonant module, and acquisition module form a closed-loop system, ensuring that the RFID code reading circuit can receive sufficient carrier at the longest possible distance, thereby ensuring the normal operation of the code reading.
[0043] Furthermore, the control module 100 dynamically adjusts the second resonant voltage value to be equal to the first resonant voltage value, enabling the RFID reader circuit to adaptively adjust carrier parameters under varying environments and conditions, ensuring stability and reliability during carrier transmission, thereby improving the transmission distance and anti-interference capabilities of the RFID reader circuit. In this embodiment, the restoration module 500 restores the modulated wave signal to a digital signal, ensuring that the control module 100 can accurately receive the original digital information, thereby improving the decoding accuracy and success rate of long-distance transmitted signals.
[0044] The control module 100 is provided with a first chip, the resonance module 300 is provided with a coil Q1, a first capacitor and a second capacitor, the coil Q1 is provided with a first square wave interface and a second square wave interface Z1, the first square wave interface Z1 is connected to the first chip, one end of the first capacitor and the second capacitor are both connected to the third pin of the first chip, and the other ends of the first capacitor and the second capacitor are respectively connected to the second square wave interface Z2 and the restoration module 500.
[0045] Reference Figure 2 and Figure 7It should be noted that the resonance module 300 is provided with a coil Q1, a first capacitor and a second capacitor, and the first square wave interface Z1 of the first coil is connected to the first chip, and the second square wave interface Z2 is connected to the first capacitor and the second capacitor. By setting the first square wave interface Z1 and the second square wave interface Z2, the numerical parameters and frequency response characteristics of the first capacitor and the second capacitor are adjusted, and the signals within a specific frequency range are screened out, thereby further improving the stability of the resonance module 300. Specifically, the first capacitor and the second capacitor are both resonant capacitors. The first capacitor, the second capacitor and the coil together constitute a resonant circuit. When the square wave passes through the carrier circuit of the resonance module, a carrier is formed. In this embodiment, the peak-to-peak value of the carrier is between 20V and 80V. The useful information signal is modulated onto the carrier. The frequency of the useful information signal is between 1 and 3kHz, and the amplitude is between 20 and 200mV.
[0046] The restoration circuit can be subdivided into a detection module and a filtering and amplifying module. The detection module is provided with a first diode, a first protection device, a first resistor, a second resistor, a third resistor, a third capacitor, a fourth capacitor and a fifth capacitor. The anode of the first diode is connected to the resonance module 300, and the cathode of the first diode is connected to one end of the first resistor, the third capacitor, the fourth capacitor and the fifth capacitor respectively. The other end of the first resistor is connected to one end of the second resistor, the other end of the second resistor is grounded, the other ends of the third capacitor and the fourth capacitor are both grounded, and the other end of the fifth capacitor is grounded respectively to one end of the third resistor and the other end of the third resistor.
[0047] It should be noted that the detection circuit is used to perform detection operations on the modulated wave signal, and the rectification is performed by the rectifier circuit composed of the second diode D1, the first resistor R1, the second resistor R2, the third capacitor C3 and the fourth capacitor C4, so that only the modulated signal with positive amplitude is retained. Therefore, the upper amplitude of the fourth capacitor in this embodiment is between 10 and 40V.
[0048] The filtering and amplifying module is provided with a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a fifth capacitor, a sixth capacitor, a seventh capacitor, a first operational amplifier and a second operational amplifier, one end of the fourth resistor is connected to the reduction module 500, the other end of the fourth resistor and one end of the sixth capacitor are both connected to the positive input terminal of the first operational amplifier, the other end of the sixth capacitor is grounded, one end of the fifth resistor, the sixth resistor and the seventh capacitor are all connected to the negative input terminal of the first operational amplifier, the other end of the fifth resistor is grounded, the other end of the sixth resistor, the other end of the seventh capacitor and the output terminal of the first operational amplifier are all connected to the positive input terminal of the second operational amplifier, one end of the seventh resistor, the eighth resistor and the ninth resistor are all connected to the negative input terminal of the second operational amplifier, the other end of the seventh resistor is connected to an external power supply, the other end of the eighth resistor is grounded, and the other end of the ninth resistor and the output terminal of the second operational amplifier are all connected to one end of the fourth resistor.
[0049] It should be noted that the filtering and amplifying module is used to filter out useless DC and high-frequency signal components, and amplify and process the modulated signal after the restoration module 500 is restored and the high-frequency signal amplification component is filtered out through the first operational amplifier and the second operational amplifier. Among them, the first operational amplifier, the fifth resistor and the sixth resistor constitute an amplifying circuit to amplify the demodulated signal. In this example, the amplification factor is 101 times. The second operational amplifier, the seventh resistor, the eighth resistor, the ninth resistor and the fourth resistor constitute a shaping circuit. In this embodiment, by setting a threshold of 3.3V / 2=1.65V, a signal with an input less than 1.65V outputs a 0V voltage, and a signal with an input greater than 1.65V is amplified to output a 3.3V voltage, thereby achieving the shaping function of the demodulated signal. Specifically, in this embodiment, the digital signal is binary, 3.3V is the logic 1 of the digital signal, and 0V is the logic 0 of the digital signal.
[0050] The acquisition module is provided with an eleventh resistor, a twelfth resistor, a thirteenth resistor and a third operational amplifier. The eleventh resistor is connected to one end of the first resistor, the other end of the eleventh resistor is connected to the positive input terminal of the third operational amplifier, one end of the twelfth resistor and the thirteenth resistor are both connected to the negative input terminal of the third operational amplifier, the other end of the twelfth resistor is grounded, and the other end of the thirteenth resistor and the output terminal of the third operational amplifier are both connected to the MCU.
[0051] It should be noted that the eleventh resistor is connected to the first resistor and is used to receive the signal sent by the driving module 200, and input the received signal into the third operational amplifier through the other end of the eleventh resistor. The twelfth resistor and the thirteenth resistor are connected to the negative input segment of the third operational amplifier, so that the eleventh resistor, the twelfth resistor and the thirteenth resistor form an operational circuit, and finally output the resonant voltage information to the control module to complete the closed-loop control.
[0052] Reference Figure 4 The embodiment of the present application further provides a method for adjusting the code reading distance of an RFID code reading circuit, and the method for adjusting the code reading distance of the RFID code reading circuit includes but is not limited to the following steps:
[0053] Step S11: Turning on the driving module, the control module sends a first control signal to the switch unit, and the switch unit adjusts the states of the multiple switches according to the first control signal, so that the driving unit sends the carrier to the resonance module;
[0054] It should be noted that the driving module is turned on to enable the switch unit of the control module to adjust the state of multiple switches, thereby driving the driving unit to send a square wave to the resonance module. The switch unit controls the multiple switches in the switch unit on the input signal and adjusts the resonant voltage of the resonance module, thereby improving the clarity and accuracy of the carrier and ensuring the reliability of the RFID code reading circuit.
[0055] In step S12, the resonance module converts the carrier into a second resonance voltage value and sends the second resonance voltage value to the acquisition module. The acquisition module sends the second resonance voltage value to the control module, wherein the control module is preset with the first resonance voltage value.
[0056] It should be noted that by presetting the first resonant voltage value, the control module can accurately identify and judge the accuracy of the second resonant voltage value. When there is a significant difference between the second resonant voltage value and the preset first resonant voltage value, the control module can determine that the second resonant voltage value is an abnormal signal and trigger a corresponding fault detection or alarm mechanism, thereby improving the stability and reliability of the RFID code reading circuit.
[0057] Step S13: The control module adjusts the switching state of the switch module to adjust the second resonant voltage value to be equal to the first resonant voltage value;
[0058] It should be noted that signal matching is achieved by adjusting the second resonant voltage value to be equal to the first resonant voltage value. When the second resonant voltage value is adjusted to be equal to the first resonant voltage value, the bit error rate caused by signal distortion or interference can be effectively reduced, further improving the accuracy of carrier decoding by the RFID reader circuit. Furthermore, by precisely adjusting the second resonant voltage value, excessive energy consumption or signal loss during RFID reader circuit operation can be avoided, thus optimizing energy consumption, extending the system's service life, and reducing operating costs.
[0059] Step S14: obtaining a signal to be modulated from the RFID reader circuit, and the control module modulates the signal to be modulated onto a carrier wave to form a modulated wave signal;
[0060] In step S15 , the restoration module restores the modulated wave signal to a digital signal so that the control module can read the digital signal.
[0061] It should be noted that by converting the analog signal into a digital signal, the control module converts the analog signal into a digital signal, thereby reducing distortion and noise in the code reading process of the RFID code reading circuit.
[0062] In addition, in one embodiment, referring to Figure 5 ,exist Figure 4 Step S11 of the illustrated embodiment also includes but is not limited to the following steps:
[0063] S21, when the first switch is closed, the second switch is open, the third switch is open, and the fourth switch is closed, the switch unit is in a first state. When the switch unit is in the first state, the switch unit is synchronized with half a cycle of the carrier;
[0064] S22, when the first switch is open, the second switch is closed, the third switch is closed, and the fourth switch is open, the switch unit is in the second state. When the switch unit is in the second state, the switch unit is synchronized with the other half cycle of the carrier.
[0065] It should be noted that when the holding time of the first state and the second state deviates from half of the carrier period, the resonant voltage can be reduced, thereby improving the performance and stability of the RFID code reading circuit. When the resonant voltage of the RFID code reading circuit is too high, it will cause overload or damage to various components, and the code cannot be successfully read when there is metal near the RFID code reading circuit or the environment has large electromagnetic interference. By reducing the resonant voltage, the working state of the circuit can be effectively controlled, and the resonant circuit can be ensured to effectively oscillate the carrier and reliably transfer energy, ensuring that the RFID code reading circuit can receive sufficient carrier at a long distance, thereby ensuring the normal operation of the code reading.
[0066] like Figure 6 As shown, Figure 6The present invention also provides a device for adjusting the code reading distance of an RFID code reading circuit, including:
[0067] The processor 601 may be implemented as a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is configured to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.
[0068] The memory 602 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 602 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 602, and the processor 601 calls and executes the code reading distance adjustment method of the RFID code reading circuit in the embodiments of this application.
[0069] Input / output interface 603, used to implement information input and output;
[0070] Communication interface 604, used to implement communication interaction between the apparatus and other devices, which can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, Wi-Fi, Bluetooth, etc.);
[0071] Bus 605 , which transmits information between various components of the device (e.g., processor 601 , memory 602 , input / output interface 603 , and communication interface 604 );
[0072] The processor 601 , the memory 602 , the input / output interface 603 and the communication interface 604 are connected to each other in communication within the device via a bus 605 .
[0073] An embodiment of the present application further provides an electronic device, comprising the code reading distance adjustment device of the RFID code reading circuit as described above.
[0074] An embodiment of the present application further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the method for adjusting the code reading distance of the RFID code reading circuit is implemented.
[0075] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory optionally includes a memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of the above-mentioned networks include but are not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are located in one place, or may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0076] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically includes computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0077] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above implementation. Those skilled in the art can also make various equivalent modifications or substitutions under the shared conditions that do not violate the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. An RFID code reading circuit, characterized in that: include: A control module, which generates a first control signal when the control module is turned on, wherein a first resonant voltage value is preset in the control module; a driving module, the driving module being provided with a driving unit and a switching unit, the driving unit being connected to the control module and the switching unit, respectively; the switching unit being provided with a first switch, a second switch, a third switch, and a fourth switch; one end of the first switch being connected to a driving power supply, the other end of the first switch being connected to one end of the second switch, the other end of the second switch being grounded, one end of the third switch being connected to the driving power supply, the other end of the third switch being connected to one end of the fourth switch, the other end of the fourth switch being grounded; the driving module adjusting the on / off states of the first switch, the second switch, the third switch, and the fourth switch according to the first control signal so that the driving module generates a square wave; a resonance module, the resonance module being connected to the driving unit and converting the square wave into a carrier wave; an acquisition module, the acquisition module being connected to the resonance module and the control module respectively, the acquisition module acquiring the carrier and sending the carrier to the control module in the form of a second resonance voltage value, the control module adjusting the switching state of the switch unit until the second resonance voltage value is equal to the first resonance voltage value; A restoration module, connected to the resonance module, and restoring the modulated wave signal to a digital signal so that the control module can read the digital signal; The driving module is provided with a first chip, the resonance module is provided with a coil, a first capacitor and a second capacitor, the coil is provided with a first square wave interface and a second square wave interface, the first square wave interface is connected to the first chip, one end of the first capacitor and the second capacitor are both connected to the second square wave pin of the first chip, and the other ends of the first capacitor and the second capacitor are respectively connected to the second square wave interface and the restoration module.
2. The RFID code reading circuit according to claim 1, characterized in that: The reduction module is provided with a first diode, a second diode, a third diode, a first resistor, a second resistor, a third resistor, a third capacitor, a fourth capacitor and a fifth capacitor. The anode of the first diode is connected to the resonance module, and the cathode of the first diode is respectively connected to one end of the first resistor, the third capacitor, the fourth capacitor and the fifth capacitor. The other end of the first resistor is connected to one end of the second resistor, the other end of the second resistor is grounded, and the other ends of the third capacitor and the fourth capacitor are both grounded. The other end of the fifth capacitor is respectively connected to one end of the third resistor, the cathode of the second diode and the anode of the third diode. The other end of the third resistor is grounded, and the anode of the second diode and the cathode of the third diode are both grounded.
3. The RFID code reading circuit according to claim 2, characterized in that: The restoration module is further connected to a filtering and amplifying module, which is provided with a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, a sixth capacitor, a seventh capacitor, a first operational amplifier, and a second operational amplifier. One end of the fourth resistor is connected to the restoration module, the other end of the fourth resistor and one end of the sixth capacitor are both connected to the positive input terminal of the first operational amplifier, the other end of the sixth capacitor is grounded, one end of the fifth resistor, the sixth resistor, and one end of the seventh capacitor are all connected to the negative input terminal of the first operational amplifier, the other end of the fifth resistor is grounded, the other end of the sixth resistor, the other end of the seventh capacitor, and the output terminal of the first operational amplifier are all connected to the positive input terminal of the second operational amplifier, one end of the seventh resistor, the eighth resistor, and the ninth resistor are all connected to the negative input terminal of the second operational amplifier, the other end of the seventh resistor is connected to an external power supply, the other end of the eighth resistor is grounded, the other end of the ninth resistor and the output terminal of the second operational amplifier are connected to one end of the tenth resistor, and the other end of the tenth resistor is the output terminal of the filtering and amplifying module.
4. The RFID code reading circuit according to claim 2, characterized in that: The restoration module is also connected to an acquisition module, which is connected to an MCU. The acquisition module is provided with an eleventh resistor, a twelfth resistor, a thirteenth resistor and a third operational amplifier. The eleventh resistor is connected to one end of the first resistor, and the other end of the eleventh resistor is connected to the positive input terminal of the third operational amplifier. One end of the twelfth resistor and the thirteenth resistor are both connected to the negative input terminal of the third operational amplifier, the other end of the twelfth resistor is grounded, and the other end of the thirteenth resistor and the output terminal of the third operational amplifier are both connected to the MCU.
5. A method for adjusting the reading distance of an RFID reading circuit, based on the RFID reading circuit according to any one of claims 1 to 4, characterized in that: include: The control module controls the driving module to drive, so that the control module sends a first control signal to the switch unit, and the switch unit adjusts the states of the multiple switches according to the first control signal, so that the driving unit sends a square wave to the resonance module; The resonance module converts the square wave into a carrier wave, the acquisition module acquires the carrier wave, and sends the carrier wave to the control module in the form of a second resonance voltage value, wherein the control module is preset with a first resonance voltage value; The control module adjusts the switching state of the switch unit to adjust the second resonant voltage value to be equal to the first resonant voltage value; Acquire the signal to be modulated from the RFID code reading circuit, and the control module modulates the signal to be modulated onto the carrier to form a modulated wave signal; The restoration module restores the modulated wave signal to a digital signal, so that the control module can read the digital signal.
6. The method for adjusting the code reading distance of the RFID code reading circuit according to claim 5, characterized in that: The switch unit adjusts the states of the plurality of switches according to the first control signal, including: When the first switch is closed, the second switch is open, the third switch is open, and the fourth switch is closed, the switch unit is in a first state, and when the switch unit is in the first state, the switch unit is synchronized with a half cycle of the carrier; When the first switch is open, the second switch is closed, the third switch is closed, and the fourth switch is open, the switch unit is in a second state. When the switch unit is in the second state, the switch unit is synchronized with the other half cycle of the carrier.
7. A code reading distance adjustment device for an RFID code reading circuit, characterized in that: The invention comprises at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the code reading distance adjustment method of the RFID code reading circuit according to any one of claims 5 to 6.
8. An electronic device, characterized in that: A code reading distance adjustment device comprising the RFID code reading circuit according to claim 7.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method for adjusting the code reading distance of the RFID code reading circuit according to any one of claims 5 to 6.
Citation Information
Patent Citations
Multi-output circuit, control method and power supply
CN115118163A
RFID tag system, RFID tag, and tag reader
JP2006229433A