CN202189386U - Opening and closing state monitoring circuit and electronic label adopting same - Google Patents

Opening and closing state monitoring circuit and electronic label adopting same Download PDF

Info

Publication number
CN202189386U
CN202189386U CN2011202855754U CN201120285575U CN202189386U CN 202189386 U CN202189386 U CN 202189386U CN 2011202855754 U CN2011202855754 U CN 2011202855754U CN 201120285575 U CN201120285575 U CN 201120285575U CN 202189386 U CN202189386 U CN 202189386U
Authority
CN
China
Prior art keywords
module
monitoring circuit
state monitoring
inverter
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN2011202855754U
Other languages
Chinese (zh)
Inventor
文光俊
王耀
刘佳欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN2011202855754U priority Critical patent/CN202189386U/en
Application granted granted Critical
Publication of CN202189386U publication Critical patent/CN202189386U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The utility model discloses an opening and closing state monitoring circuit and an electronic label adopting the same. The opening and closing state monitoring circuit comprises a PMOS (p-channel metal oxide semiconductor) pipe, a nand gate, a first phase inverter, a level conversion unit and a latch. The level conversion unit comprises a second phase inverter and a third phase inverter. Compared with the prior opening and closing state acquiring circuit, the opening and closing state monitoring circuit disclosed by the utility model can be implemented by adopting an integrated circuit component having the same process as the electronic label, has a simple structure, consumes less power and can be hereby integrated in an electronic label chip. As the monitoring node of the internet of things for the flow of a container and a safety case, the electronic label with which the opening and closing state monitoring circuit is integrated can be used to monitor the opening and closing state of the container and the safety case timely so as to ensure the safety of the flow of the container and the safety case.

Description

一种离合状态监控电路及采用该电路的电子标签A clutch state monitoring circuit and an electronic label using the circuit

技术领域 technical field

本实用新型属于电子电路技术领域,特别涉及一种离合状态监控电路及采用该电路的电子标签。The utility model belongs to the technical field of electronic circuits, in particular to a clutch state monitoring circuit and an electronic label using the circuit.

背景技术 Background technique

射频识别(RFID,Radio Frequency Identification)技术是利用射频方式远距离的通信以达到物品的识别、追踪、定位和管理等目的。射频识别技术在工业自动化,商业自动化,交通运输控制管理,防伪等众多领域,甚至军事用途具有广泛的应用前景,目前已引起了广泛的关注。Radio Frequency Identification (RFID, Radio Frequency Identification) technology is the use of radio frequency long-distance communication to achieve the identification, tracking, positioning and management of items. Radio frequency identification technology has broad application prospects in many fields such as industrial automation, commercial automation, traffic control management, anti-counterfeiting, and even military use, and has attracted widespread attention.

利用射频识别技术制作的电子标签和阅读器被广泛的使用,特别是作为物联网的节点的电子标签,可以有效的存储所附着物品的各种信息并通过与阅读器的通信传输这些信息。在集装箱运输管理、保险箱等物流行业中,人们希望能通过在集装箱上附着电子标签的方式有效的监控离合(开启和关闭)状态信息,监控开启集装箱或保险箱的行为。Electronic tags and readers made using radio frequency identification technology are widely used, especially electronic tags as nodes of the Internet of Things, which can effectively store various information of attached items and transmit these information through communication with readers. In logistics industries such as container transportation management and safes, people hope to effectively monitor clutch (opening and closing) status information by attaching electronic tags to containers, and monitor the behavior of opening containers or safes.

本申请人在公开号CN101915025A和CN101916353A提出了两种锁离合状态采集电路,用于电子标签中,可以达到监控离合状态的功能,但是这两种采集电路使用了较多的分立元件,并且采集电路中有双极性晶体管以及DC-DC电压转换芯片,而电子标签芯片全部是采用CMOS器件实现的,二者制造工艺不同,使得采集电路不利于与电子标签进行集成,而且功耗过大,因此不适合与电子标签结合作为物联网的节点使用。The applicant has proposed two lock clutch state acquisition circuits in publication numbers CN101915025A and CN101916353A, which are used in electronic tags and can achieve the function of monitoring the clutch state, but these two acquisition circuits use more discrete components, and the acquisition circuit There are bipolar transistors and DC-DC voltage conversion chips, while the electronic label chips are all realized by CMOS devices. The manufacturing process of the two is different, which makes the acquisition circuit unfavorable for integration with the electronic label, and the power consumption is too large. Therefore, It is not suitable to be used as a node of the Internet of Things in combination with electronic tags.

实用新型内容 Utility model content

本实用新型的目的是为了解决现有的锁离合状态采集电路的集成度低以及功耗过大的缺点,提出了一种离合状态监控电路。The purpose of the utility model is to solve the shortcomings of low integration and excessive power consumption of the existing lock and clutch state acquisition circuit, and propose a clutch state monitoring circuit.

本实用新型的技术方案是:一种用于电子标签的离合状态监控电路,包括:PMOS管,与非门,第一反相器,电平转换单元和锁存器,其中,所述与非门的第一输入端、所述PMOS管的源极和所述锁存器的输入端连接在一起,作为离合状态监控电路的离合状态信号的输入端;所述PMOS管的体端连接到外部的电源电池;所述与非门的第二输入端与第一反相器的输出端连接;所述与非门的输出端与锁存器的使能端连接;所述锁存器的正相输出端与PMOS管的栅极连接;所述PMOS管的漏极向所述电子标签输出供电电压;所述电平转换单元用于将所述PMOS管的漏极电压转换为用于输入到所述电子标签的数字基带处理器的状态信号;所述第一反相器的输入端输入所述电子标签的数字基带处理器的电压控制信号。The technical scheme of the utility model is: a clutch state monitoring circuit for electronic tags, including: PMOS tube, NAND gate, first inverter, level conversion unit and latch, wherein, the NAND The first input end of the gate, the source of the PMOS transistor and the input end of the latch are connected together as the input end of the clutch state signal of the clutch state monitoring circuit; the body end of the PMOS transistor is connected to the external The power supply battery of the NAND gate; the second input terminal of the NAND gate is connected with the output terminal of the first inverter; the output terminal of the NAND gate is connected with the enable terminal of the latch; the positive The phase output terminal is connected to the gate of the PMOS transistor; the drain of the PMOS transistor outputs a power supply voltage to the electronic label; the level conversion unit is used to convert the drain voltage of the PMOS transistor to be input to The state signal of the digital baseband processor of the electronic tag; the input terminal of the first inverter inputs the voltage control signal of the digital baseband processor of the electronic tag.

作为一个较佳的方案,所述电平转换单元包括第二反相器和第三反相器,所述第二反相器的输入端作为所述电平转换单元的输入端与所述PMOS管的漏极相连,所述第二反相器的输出端与所述第三反相器的输入端相连;所述第三反相器的输出端作为所述电平转换单元的输出端向电子标签的数字基带处理器输出状态信号。As a preferred solution, the level conversion unit includes a second inverter and a third inverter, and the input terminal of the second inverter serves as the input terminal of the level conversion unit and the PMOS The drain of the tube is connected, the output terminal of the second inverter is connected with the input terminal of the third inverter; the output terminal of the third inverter is used as the output terminal of the level conversion unit to The digital baseband processor of the electronic tag outputs status signals.

本实用新型的另一目的是为了解决电子标签对离合状态监控的困难,提出了一种采用离合状态监控电路的电子标签。Another purpose of the utility model is to solve the difficulty of monitoring the clutch state by the electronic tag, and propose an electronic tag using a clutch state monitoring circuit.

为了实现上述目的,提供了一种采用离合状态监控电路的电子标签,所述电子标签包括天线、射频模拟前端和数字基带处理器,所述射频模拟前端包括基准稳压电路,所述数字基带处理器包括状态控制机模块,其特征在于,所述电子标签还包括离合状态监控电路,所述离合状态监控电路与数字基带处理器的状态控制机模块连接并向状态控制机模块输出状态信号,同时接收状态控制机模块输入的电压控制信号,所述离合状态监控电路与射频模拟前端的基准稳压电路连接并向基准稳压电路提供供电电压。In order to achieve the above purpose, an electronic tag using a clutch state monitoring circuit is provided, the electronic tag includes an antenna, a radio frequency analog front end and a digital baseband processor, the radio frequency analog front end includes a reference voltage stabilizing circuit, and the digital baseband processing The device includes a state control machine module, and it is characterized in that the electronic tag also includes a clutch state monitoring circuit, and the clutch state monitoring circuit is connected with the state control machine module of the digital baseband processor and outputs a state signal to the state control machine module, and at the same time Receiving the voltage control signal input by the state control machine module, the clutch state monitoring circuit is connected with the reference voltage stabilizing circuit of the RF analog front end and provides a power supply voltage to the reference stabilizing circuit.

本实用新型的有益效果:本实用新型的离合状态监控电路相对现有的锁离合状态采集电路,可采用与电子标签芯片相同工艺的集成电路器件实现,电路结构简单,并且功耗较低,因而可以集成在电子标签芯片内部。集成了离合状态监控电路的电子标签作为物流行业中集装箱、保险箱流转的物联网监控节点,能及时的监控集装箱、保险箱的离合状态,保证了集装箱、保险箱流转的安全性。采用了离合状态监控电路的电子标签兼顾了射频场中普通无源超高频电子标签的功能,而且无论外界有无射频场均能完成对于离合状态的记录,还可以有效的减小功耗的消耗和实物的体积,降低了对于外部电源的依赖,增强了对于各种特殊应用场合的实用性。Beneficial effects of the present utility model: Compared with the existing lock and clutch state acquisition circuit, the clutch state monitoring circuit of the present utility model can be realized by using an integrated circuit device with the same technology as the electronic label chip, the circuit structure is simple, and the power consumption is low, so It can be integrated inside the electronic tag chip. The electronic tag integrated with the clutch state monitoring circuit is used as the IoT monitoring node for the circulation of containers and safes in the logistics industry, which can monitor the clutch state of containers and safes in time, ensuring the safety of the circulation of containers and safes. The electronic tag using the clutch state monitoring circuit takes into account the functions of ordinary passive UHF electronic tags in the radio frequency field, and can complete the record of the clutch state regardless of whether there is an external radio frequency field, and can also effectively reduce power consumption. The consumption and physical volume reduce the dependence on external power supply and enhance the practicability for various special applications.

附图说明 Description of drawings

图1是本实用新型离合状态监控电路结构示意图。Fig. 1 is a schematic structural diagram of the clutch state monitoring circuit of the present invention.

图2是采用本实用新型的离合状态监控电路的电子标签结构示意图。Fig. 2 is a schematic structural diagram of an electronic tag adopting the clutch state monitoring circuit of the present invention.

附图标记说明:离合信号开关S1、第一反相器G1、第二反相器G2、第三反相器G3,PMOS管T1,电源电池B1,锁存器D1、与非门C1、解码器模块101、循环校验模块102、输入预处理模块103、状态控制机模块104、输出预处理模块105、编码器模块106、存储器访问控制模块107、伪随机数发生器模块108、碰撞计数器模块109、定时计数器模块110、时钟产生模块111、复位产生模块112、MTP存储器113、整流电路201、基准稳压电路202、调制电路203、解调电路204、复位电路205、时钟电路206。Explanation of reference numerals: clutch signal switch S1, first inverter G1, second inverter G2, third inverter G3, PMOS transistor T1, power battery B1, latch D1, NAND gate C1, decoding Module 101, cycle check module 102, input preprocessing module 103, state control machine module 104, output preprocessing module 105, encoder module 106, memory access control module 107, pseudorandom number generator module 108, collision counter module 109. Timing counter module 110, clock generation module 111, reset generation module 112, MTP memory 113, rectification circuit 201, reference voltage stabilization circuit 202, modulation circuit 203, demodulation circuit 204, reset circuit 205, clock circuit 206.

具体实施方式 Detailed ways

下面结合附图和具体实施例对本实用新型做进一步的说明。Below in conjunction with accompanying drawing and specific embodiment the utility model is described further.

如图1所示,离合状态监控电路的电路结构如下:包括第一反相器G1、第二反相器G2、第三反相器G3,PMOS管T1,锁存器D1、与非门C1。这里离合信号开关S1和电源电池B1作为离合状态监控电路外部的附属部分。As shown in Figure 1, the circuit structure of the clutch state monitoring circuit is as follows: including the first inverter G1, the second inverter G2, the third inverter G3, the PMOS transistor T1, the latch D1, and the NAND gate C1 . Here, the clutch signal switch S1 and the power supply battery B1 are used as external accessory parts of the clutch state monitoring circuit.

结合图1,各器件和端口的连接方式如下:Combined with Figure 1, the connection methods of each device and port are as follows:

所述与非门C1的第一输入端c、所述PMOS管T1的源极和所述锁存器D1的输入端D连接在一起,作为离合状态监控电路的离合状态信号的输入端;所述PMOS管T1的体端连接到外部的电源电池B1,即与外部的电源电池B1的正极相连;所述与非门C1的第二输入端d与第一反相器G1的输出端连接;所述与非门C1的输出端与锁存器的使能端EN连接;所述锁存器的正相输出端Q与PMOS管T1的栅极连接;所述PMOS管T1的漏极向所述电子标签输出供电电压;所述电平转换单元用于将所述PMOS管T1的漏极电压转换为用于输入到所述电子标签的数字基带处理器的状态信号switch_on;第一反相器G1的输入端输入所述电子标签的数字基带处理器的电压控制信号power_control。The first input terminal c of the NAND gate C1, the source of the PMOS transistor T1 and the input terminal D of the latch D1 are connected together as the input terminal of the clutch state signal of the clutch state monitoring circuit; The body end of the PMOS transistor T1 is connected to the external power battery B1, that is, connected to the positive pole of the external power battery B1; the second input terminal d of the NAND gate C1 is connected to the output terminal of the first inverter G1; The output terminal of the NAND gate C1 is connected to the enable terminal EN of the latch; the non-inverting output terminal Q of the latch is connected to the gate of the PMOS transistor T1; the drain of the PMOS transistor T1 is connected to the The electronic label outputs a power supply voltage; the level conversion unit is used to convert the drain voltage of the PMOS transistor T1 into a state signal switch_on for inputting to the digital baseband processor of the electronic label; the first inverter The input terminal of G1 inputs the voltage control signal power_control of the digital baseband processor of the electronic tag.

在本实施例中,离合状态信号通过离合信号开关S1表征,外部的电源电池B1的正极与离合信号开关S1的第一端a相连接,负极接地,离合信号开关S1的第二端b与离合状态监控电路的离合状态信号的输入端相连。In this embodiment, the clutch state signal is characterized by the clutch signal switch S1, the positive pole of the external power battery B1 is connected to the first terminal a of the clutch signal switch S1, the negative pole is grounded, and the second terminal b of the clutch signal switch S1 is connected to the clutch signal switch S1. The input end of the clutch state signal of the state monitoring circuit is connected.

作为本实施例的一个较佳的方案,电平转换单元包括第二反相器G2和第三反相器G3,所述第二反相器G2的输入端作为所述电平转换单元的输入端与所述PMOS管T1的漏极相连,所述第二反相器G2的输出端与所述第三反相器G3的输入端相连;所述第三反相器G3的输出端作为所述电平转换单元的输出端向电子标签的数字基带处理器输出状态信号switch_on。As a preferred solution of this embodiment, the level conversion unit includes a second inverter G2 and a third inverter G3, and the input terminal of the second inverter G2 is used as the input of the level conversion unit terminal is connected to the drain of the PMOS transistor T1, and the output terminal of the second inverter G2 is connected to the input terminal of the third inverter G3; the output terminal of the third inverter G3 is used as the The output terminal of the level conversion unit outputs the state signal switch_on to the digital baseband processor of the electronic tag.

这里,电源电池B1可以采用3V的纽扣电池。Here, the power battery B1 can be a 3V button battery.

结合图1,离合状态监控电路工作过程如下,为了便于说明,以电子锁的离合状态为例。Combined with Figure 1, the working process of the clutch state monitoring circuit is as follows. For the sake of illustration, the clutch state of the electronic lock is taken as an example.

锁关闭时,开关S1断开,电源电池B1不对标签芯片供电,状态信号switch_on和电压控制信号power_control均为低电平。When the lock is closed, the switch S1 is turned off, the power battery B1 does not supply power to the tag chip, and the status signal switch_on and the voltage control signal power_control are both low.

锁打开时,离合信号开关S1闭合,与非门C1的c端、锁存器D1的D端、PMOS管T1的源极接通高电压,此时电压控制信号power_control为低电平,经过第一反相器G1后,对与非门C1的d端输入高电平,从而锁存器D1的使能端EN为低电平,锁存器D1输出端Q为低电平,PMOS管T1导通,电源电池B1开启对电子标签供电,第三反相器G3输出高电平的状态信号switch_on,数字基带处理器对开锁行为计数。When the lock is opened, the clutch signal switch S1 is closed, and the c terminal of the NAND gate C1, the D terminal of the latch D1, and the source of the PMOS transistor T1 are connected to a high voltage. At this time, the voltage control signal power_control is at a low level. After an inverter G1, a high level is input to the d terminal of the NAND gate C1, so that the enable terminal EN of the latch D1 is low level, the output terminal Q of the latch D1 is low level, and the PMOS transistor T1 is turned on, the power battery B1 is turned on to supply power to the electronic tag, the third inverter G3 outputs a high-level status signal switch_on, and the digital baseband processor counts the unlocking behavior.

当锁具继续处于开启状态时,电子标签的数字基带处理器将电压控制信号power_control拉高为高电平,此时,与非门C1输出高电平,锁存器D1的Q端输出高电平,PMOS管T1截止,电源电池B1停止对电子标签供电,状态信号switch_on和电压控制信号power_control均转变为低电平,锁存器D1的使能端EN端为0,锁存器D1的正相输出端Q保持高电平,PMOS管T1保持截止状态,电源电池B1不对电子标签供电。When the lock continues to be in the open state, the digital baseband processor of the electronic tag pulls the voltage control signal power_control to a high level, at this time, the NAND gate C1 outputs a high level, and the Q terminal of the latch D1 outputs a high level , the PMOS tube T1 is cut off, the power supply battery B1 stops supplying power to the electronic tag, the status signal switch_on and the voltage control signal power_control both change to low level, the EN terminal of the latch D1 is 0, and the positive phase of the latch D1 The output terminal Q maintains a high level, the PMOS transistor T1 remains in a cut-off state, and the power battery B1 does not supply power to the electronic tag.

当锁再次关闭时,离合信号开关S1断开,电源电池B1不对电子标签供电。When the lock is closed again, the clutch signal switch S1 is disconnected, and the power supply battery B1 does not supply power to the electronic tag.

采用离合状态监控电路的电子标签的结构如图2所示,包括天线、射频模拟前端和数字基带处理器,所述射频模拟前端包括基准稳压电路,所述数字基带处理器包括状态控制机模块,所述电子标签还包括离合状态监控电路,所述离合状态监控电路与数字基带处理器的状态控制机模块连接并向状态控制机模块104输出状态信号switch_on,同时接收状态控制机模块104输入的电压控制信号power_control,所述离合状态监控电路与射频模拟前端的基准稳压电路202连接并向基准稳压电路202提供供电电压。The structure of the electronic tag adopting the clutch state monitoring circuit is shown in Figure 2, including an antenna, a radio frequency analog front end and a digital baseband processor, the radio frequency analog front end includes a reference voltage stabilizing circuit, and the digital baseband processor includes a state control machine module , the electronic tag also includes a clutch state monitoring circuit, the clutch state monitoring circuit is connected to the state control machine module of the digital baseband processor and outputs the state signal switch_on to the state control machine module 104, and receives the state control machine module 104 input simultaneously The voltage control signal power_control, the clutch state monitoring circuit is connected to the reference voltage stabilizing circuit 202 of the RF analog front end and provides a power supply voltage to the reference stabilizing circuit 202 .

上述电子标签的射频模拟前端具体结构包括整流电路201、基准稳压电路202、调制电路203、解调电路204、复位电路205、时钟电路206,所述天线通过ESD(防静电保护电路)的接口PAD和整流电路201、调制电路203和解调电路204直接连接,整流电路201将天线接收下来的射频信号转化为直流电源分为整流低电压和整流高电压提供给基准稳压电路202,基准稳压电路202对电源进行稳压,为电子标签数字基带部分提供低电源电压1V和高电源电压1.8V,为调制电路203提供1.8V工作电压,为解调电路204、时钟电路206和复位电路205提供1V工作电压,基准稳压电路202同时也与离合状态监控电路输出的对电子标签的供电电压相连接,当锁具打开时,若整流电路201未向基准稳压电路202供电时则由离合状态监控电路向基准稳压电路202供电;解调电路204从射频信号恢复出射频识别的数字基带处理器所需解调数据;调制电路203采用反向散射调制的方法对电子标签数字基带处理器输出的调制数据进行调制,实现电子标签到阅读器的数据传输;时钟电路206为数字基带处理器提供稳定的系统时钟信号,复位电路205为数字基带处理器提供所需的复位信号。The specific structure of the RF analog front end of the above-mentioned electronic tag includes a rectification circuit 201, a reference voltage stabilizing circuit 202, a modulation circuit 203, a demodulation circuit 204, a reset circuit 205, and a clock circuit 206. The antenna passes through the interface of an ESD (anti-static protection circuit) The PAD is directly connected to the rectification circuit 201, the modulation circuit 203 and the demodulation circuit 204. The rectification circuit 201 converts the radio frequency signal received by the antenna into a DC power supply and divides the rectification low voltage and the rectification high voltage into the reference voltage stabilizing circuit 202. Voltage circuit 202 stabilizes the power supply, provides low power supply voltage 1V and high power supply voltage 1.8V for the digital baseband part of the electronic tag, provides 1.8V working voltage for modulation circuit 203, and provides 1.8V working voltage for demodulation circuit 204, clock circuit 206 and reset circuit 205 1V working voltage is provided, and the reference voltage stabilizing circuit 202 is also connected with the power supply voltage of the electronic tag output by the clutch state monitoring circuit. The monitoring circuit supplies power to the reference voltage stabilizing circuit 202; the demodulation circuit 204 recovers the demodulated data required by the digital baseband processor of the radio frequency identification from the radio frequency signal; the modulation circuit 203 uses the method of backscatter modulation to output the electronic tag digital baseband processor The modulated data is modulated to realize the data transmission from the electronic tag to the reader; the clock circuit 206 provides a stable system clock signal for the digital baseband processor, and the reset circuit 205 provides the required reset signal for the digital baseband processor.

上述电子标签的基带处理器具体结构包括数字基带部分包括状态控制机模块104、解码器模块101、编码器模块106、循环校验模块102、存储器访问控制模块107,输入预处理模块103、输出预处理模块105、伪随机数发生器模块108、碰撞计数器模块109、定时计数器模块110、时钟产生模块111、复位产生模块112和MTP存储器113。所述解码器模块101分别输入预处理模块103和循环校验模块102连接;所述循环校验模块103和输出预处理模块105、编码器模块106连接;所述存储器访问控制模块107与输出预处理模块105连接;所述解码器模块101接收射频模拟前端的解调电路204提供的解调数据后,经解码器模块101解码,输出已解码数据,已解码数据分两路,一路到输入预处理模块103,一路到循环校验模块102;所述输入预处理模块103完成对已解码数据的输入预处理,生成待处理数据和待处理命令输出到状态控制机模块104;同时循环校验模块103完成对已解码数据的循环校验后,生成循环校验结果输出到状态控制机模块104;状态控制机模块104检测离合信号switch_on和循环校验模块102输入的结果,并根据检查的情况执行离合记录或接收待处理数据和待处理命令,若离合信号switch_on为高电平(此处高电平取值为1V,低电平取值为0V),表示离合状态为开启,则执行开锁记录,经状态控制机模块104分析处后,生成地址信号到存储器访问控制模块107,对存储开锁记录的相关存储单元进行读写操作,并在执行完毕后将输入到离合状态监控电路的电压控制信号power_control拉高为高电平,若执行数据和命令处理,则经状态控制机模块104分析和处理后,生成五路控制信号分别到伪随机数发生器模块108、碰撞计数器模块109、定时计数器模块110、时钟产生模块111和复位产生模块112,生成地址信号到存储器访问控制模块107,并输出待发送伪随机数到输出预处理模块105;存储器访问控制模块107根据地址信号通过MTP存储器输入输出接口访问MTP存储器113并输出待发送存储器数据到输出预处理模块;所述的输出预处理模块105接收待发送伪随机数和待发送存储器数据,经输出预处理模块生成待发送数据到循环校验模块102;循环校验模块102完成对待发送数据的循环码编码,生成待编码数据并输出到编码器模块106;所述编码器模块106完成待编码数据的编码,生成待调制数据输出到射频模拟前端的调制电路203;所述时钟产生模块111对射频模拟前端的时钟电路206输入的系统时钟信号进行分频产生各个模块所需的时钟信号,复位产生模块112对射频模拟前端的复位电路205输入的复位信号进行同步处理产生数字基带处理器内各个模块所需的复位信号。数字基带处理器由射频模拟前端的基准稳压电路202提供1.8V高电平和1V低电平的工作电源电压。The specific structure of the baseband processor of the above-mentioned electronic tag includes a digital baseband part including a state control machine module 104, a decoder module 101, an encoder module 106, a cyclic check module 102, a memory access control module 107, an input preprocessing module 103, an output preprocessing module Processing module 105 , pseudo-random number generator module 108 , collision counter module 109 , timer counter module 110 , clock generation module 111 , reset generation module 112 and MTP memory 113 . The decoder module 101 is connected to the input preprocessing module 103 and the cycle check module 102 respectively; the cycle check module 103 is connected to the output preprocessing module 105 and the encoder module 106; the memory access control module 107 is connected to the output preprocessing module 107. The processing module 105 is connected; after the demodulation data provided by the demodulation circuit 204 of the demodulation circuit 204 provided by the demodulator module 101 of the radio frequency analog front end, the decoder module 101 decodes and outputs the decoded data, and the decoded data is divided into two paths, all the way to the input preset Processing module 103, all the way to the cycle check module 102; the input preprocessing module 103 completes the input preprocessing of the decoded data, generates data to be processed and commands to be processed and outputs to the state control machine module 104; while the cycle check module After 103 completes the cyclic check of the decoded data, generate the cyclic check result and output it to the state control machine module 104; the state control machine module 104 detects the result of the clutch signal switch_on and the cyclic check module 102 input, and executes according to the checked situation Clutch records or receives pending data and commands to be processed. If the clutch signal switch_on is high level (here, the high level value is 1V, and the low level value is 0V), it means that the clutch state is on, and the unlock record is executed. , after being analyzed by the state control machine module 104, an address signal is generated to the memory access control module 107, and the relevant storage unit for storing the unlocking record is read and written, and after the execution is completed, the voltage control signal input to the clutch state monitoring circuit power_control is pulled high to a high level, if data and command processing are performed, after the analysis and processing by the state control machine module 104, five control signals are generated and sent to the pseudo-random number generator module 108, the collision counter module 109, and the timing counter module respectively 110, the clock generation module 111 and the reset generation module 112 generate address signals to the memory access control module 107, and output the pseudo-random number to be sent to the output preprocessing module 105; the memory access control module 107 passes the MTP memory input and output interface according to the address signal Access the MTP memory 113 and output the memory data to be sent to the output preprocessing module; the output preprocessing module 105 receives the pseudo-random number to be sent and the memory data to be sent, and generates the data to be sent to the cycle check module through the output preprocessing module 102; the cyclic check module 102 completes the cyclic code encoding of the data to be sent, generates the data to be encoded and outputs it to the encoder module 106; the encoder module 106 completes the encoding of the data to be encoded, generates the data to be modulated and outputs it to the RF analog front end The modulation circuit 203; the clock generation module 111 divides the system clock signal input by the clock circuit 206 of the RF analog front end to generate the clock signal required by each module, and the reset generation module 112 inputs the reset circuit 205 of the RF analog front end. The reset signal is processed synchronously to generate the reset signal required by each module in the digital baseband processor. The digital baseband processor is provided with 1.8V high level and 1V low level operating power supply voltage by the reference voltage stabilizing circuit 202 of the RF analog front end.

下面对采用离合状态监控电路的电子标签的工作过程做详细介绍,为了便于说明,这里,以电子锁的离合状态为例。The following is a detailed introduction to the working process of the electronic tag using the clutch state monitoring circuit. For the convenience of explanation, here, the clutch state of the electronic lock is taken as an example.

结合图2,当采用离合状态监控电路的电子标签(以下简称电子标签)处于射频识别场内时,其工作过程如下:Combined with Figure 2, when the electronic tag using the clutch state monitoring circuit (hereinafter referred to as the electronic tag) is in the radio frequency identification field, its working process is as follows:

步骤(a):电子标签进入射频识别场,电子标签的射频模拟前端上电工作,基准稳压模块202为数字基带处理器提供低电平工作电压和高电平工作电压(本实施例低电平和高电平分别取值1V、1.8V),复位产生模块112对状态控制机模块104进行复位,解调电路204开始解调天线接收下来的射频信号,离合状态监控电路采集锁具的离合状态;Step (a): the electronic tag enters the radio frequency identification field, the radio frequency analog front end of the electronic tag is powered on, and the reference voltage stabilizing module 202 provides a low-level operating voltage and a high-level operating voltage for the digital baseband processor (low power in this embodiment Peaceful and high levels take values 1V, 1.8V respectively), the reset generation module 112 resets the state control machine module 104, the demodulation circuit 204 starts to demodulate the radio frequency signal received by the antenna, and the clutch state monitoring circuit collects the clutch state of the lockset;

步骤(b):状态控制机模块104检测离合状态监控电路,当状态信号swith_on为高电平时(此处高电平取值为1V,低电平取值为0V),即表示锁具的离合状态为开启,转入步骤(c);否则离合状态为关闭,转入步骤(d);Step (b): The state control machine module 104 detects the clutch state monitoring circuit. When the state signal switch_on is at a high level (here, the high level value is 1V, and the low level value is 0V), it means the clutch state of the lock is open, go to step (c); otherwise, the clutch state is off, go to step (d);

步骤(c):状态控制机控制模块104生成地址信号到存储器访问控制模块107,对存储开锁记录的相关存储单元进行读写操作,更新记录数据,并将输入到离合状态监控电路的电压控制信号power_control拉高为高电平,若电源供电结束转入步骤(m)否则转入步骤(d);Step (c): The state control machine control module 104 generates an address signal to the memory access control module 107, reads and writes the relevant storage unit storing the unlocking record, updates the record data, and inputs the voltage control signal to the clutch state monitoring circuit power_control is pulled high to high level, if the power supply ends, go to step (m), otherwise go to step (d);

步骤(d)状态控制机模块104对解码器模块101,循环校验模块102,编码器模块106,输入预处理模块103,输出预处理模块105,存储器访问控制模块107,伪随机数发生器模块108,碰撞计数器模块109,定时计数器模块110,时钟产生模块111进行复位,读取MTP存储器113中的数据,计算数据的循环校验CRC结果;Step (d) state control machine module 104 is to decoder module 101, cycle check module 102, encoder module 106, input preprocessing module 103, output preprocessing module 105, memory access control module 107, pseudo-random number generator module 108, the collision counter module 109, the timing counter module 110, and the clock generation module 111 reset, read the data in the MTP memory 113, and calculate the cyclical check CRC result of the data;

步骤(e)状态控制机模块104检测离合状态监控电路,当状态信号swith on为高电平时,即表示锁具的离合状态为开启,转入步骤(c),否则转入步骤(f);Step (e) state control machine module 104 detects clutch state monitoring circuit, when state signal switch on is high level, promptly represents that the clutch state of lockset is to open, and changes over to step (c), otherwise changes over to step (f);

步骤(f):状态控制机模块104开启解码器模块101,然后关断状态控制机模块104自身时钟,状态控制机模块104处于休眠状态;Step (f): the state control machine module 104 opens the decoder module 101, then turns off the clock of the state control machine module 104 itself, and the state control machine module 104 is in a dormant state;

步骤(g):解码器模块101开始检测从射频模拟前端的解调电路204输入的解调数据,当检测到有效帧数据时,解码器模块101唤醒状态控制机模块104;Step (g): the decoder module 101 starts to detect the demodulated data input from the demodulation circuit 204 of the radio frequency analog front end, and when valid frame data is detected, the decoder module 101 wakes up the state control machine module 104;

步骤(h):状态控制机模块104开启输入预处理模块103和循环校验模块102,解码器模块101接收已解调数据,经解码器模块解码,输出已解码数据,已解码数据分两路,一路到输入预处理模块103,一路到循环校验模块102;输入预处理模块103完成对已解码数据的输入预处理,生成待处理数据和待处理命令输出到状态控制机模块104;同时循环校验模块102完成对已解码数据的循环校验,生成循环校验结果输出到状态控制机模块104;Step (h): The state control machine module 104 turns on the input preprocessing module 103 and the cyclic check module 102, the decoder module 101 receives the demodulated data, decodes it through the decoder module, and outputs the decoded data, and the decoded data is divided into two paths , all the way to the input preprocessing module 103, all the way to the cycle check module 102; the input preprocessing module 103 completes the input preprocessing to the decoded data, generates the data to be processed and the command to be processed and outputs it to the state control machine module 104; while looping The verification module 102 completes the cyclic verification of the decoded data, generates a cyclic verification result and outputs it to the state control machine module 104;

步骤(i):当状态控制机模块104检测到循环校验模块102对已解码数据的循环校验完成时,状态控制机模块104关断解码器模块101、输入预处理模块103和循环校验模块102,同时状态控制机模块104接收待处理数据和待处理命令,经状态控制机模块分析和处理后生成控制信号,根据控制信号开启并对伪随机数发生器模块108、碰撞计数器模块109和定时计数器模块进行操作110,并在操作完成后关闭伪随机数发生器模块108、碰撞计数器模块109和定时计数器模块110;Step (i): When the state control machine module 104 detects that the cyclic check of the decoded data by the cyclic check module 102 is completed, the state control machine module 104 turns off the decoder module 101, the input preprocessing module 103 and the cyclic check Module 102, while the state control machine module 104 receives the data to be processed and the command to be processed, generates a control signal after analyzing and processing the state control machine module, opens and performs a pseudo-random number generator module 108, a collision counter module 109 and The timing counter module performs operation 110, and closes the pseudo-random number generator module 108, the collision counter module 109 and the timing counter module 110 after the operation is completed;

步骤(j):状态控制机模块104开启输出预处理模块105和存储器访问控制模块107,状态控制机模块104输出地址信号到存储器访问控制模块107,并输出待发送伪随机数到输出预处理模块105;存储器访问控制模块根据地址信号通过MTP存储器113输入输出端口访问MTP存储器,输出待发送存储器数据到输出预处理模块105;Step (j): the state control machine module 104 opens the output preprocessing module 105 and the memory access control module 107, the state control machine module 104 outputs the address signal to the memory access control module 107, and outputs the pseudo-random number to be sent to the output preprocessing module 105; the memory access control module accesses the MTP memory through the MTP memory 113 input and output ports according to the address signal, and outputs the memory data to be sent to the output preprocessing module 105;

步骤(k):状态控制机模块104开启循环校验码模块102和编码器模块106,输出预处理模块105接收待发送伪随机数和待发送存储器数据,经输出预处理模块105生成待发送数据到循环校验模块102;循环校验模块102完成对待发送数据的循环码编码,并将循环码编码后的待编码数据输出到编码器模块106;编码器模块106完成对循环码编码后的待编码数据的编码,输出待调制数据到射频模拟前端的调制电路;射频模拟前端调制电路对数据进行调制后,通过天线实现和读写器之间的通信。Step (k): the state control machine module 104 opens the cyclic check code module 102 and the encoder module 106, the output preprocessing module 105 receives the pseudo-random number to be sent and the memory data to be sent, and generates the data to be sent through the output preprocessing module 105 to the cyclic check module 102; the cyclic check module 102 completes the cyclic code encoding of the data to be sent, and outputs the data to be encoded after the cyclic code encoding to the encoder module 106; the encoder module 106 completes the cyclic code encoding after the cyclic code encoding Coding of encoded data, outputting the data to be modulated to the modulation circuit of the RF analog front end; after the RF analog front end modulation circuit modulates the data, the communication with the reader is realized through the antenna.

步骤(l):当编码器模块106编码完成后,状态控制机模块104关闭输出预处理模块105、循环校验模块102、存储器访问控制模块107和编码器模块106,状态控制机模块104检查电源是否掉电,掉电转入步骤(m),否则转入步骤(e);Step (1): after encoder module 106 encoding is finished, state control machine module 104 closes output preprocessing module 105, cycle check module 102, memory access control module 107 and encoder module 106, and state control machine module 104 checks power supply Whether the power is off, turn to step (m) after power off, otherwise go to step (e);

步骤(m):电源掉电,所有模块停止工作。Step (m): Power down, all modules stop working.

当采用离合状态监控电路的电子标签处于射频识别场外时,其工作过程如下:When the electronic tag using the clutch state monitoring circuit is outside the radio frequency identification field, its working process is as follows:

步骤(A):锁具打开时,离合状态监控电路对电子标签射频模拟前端的基准稳压电路202输出直流供电电压,射频模拟前端上电工作,基带处理器的复位产生模块112对状态控制机模块104进行复位,离合状态监控电路监控锁具的离合状态;Step (A): When the lock is opened, the clutch state monitoring circuit outputs a DC power supply voltage to the reference voltage stabilizing circuit 202 of the radio frequency analog front end of the electronic tag, and the radio frequency analog front end is powered on to work, and the reset generation module 112 of the baseband processor is to the state control machine module 104 resets, and the clutch state monitoring circuit monitors the clutch state of the lockset;

步骤(B):状态控制机模块104检测离合状态监控电路,当状态信号swith on为高电平时(此处高电平取值为1V,低电平取值为0V),即表示锁具的离合状态为开启,转入步骤(C);否则离合状态为关闭,转入步骤(D);Step (B): The state control machine module 104 detects the clutch state monitoring circuit. When the state signal switch on is at a high level (here, the value of the high level is 1V, and the value of the low level is 0V), it means the clutch of the lock If the state is open, go to step (C); otherwise, the clutch state is off, go to step (D);

步骤(C):状态控制机控制模块104生成地址信号到存储器访问控制模块107,对存储开锁记录的相关存储单元进行读写操作,更新记录数据,并将输入到离合状态监控电路的电压控制信号power_control拉高为高电平;Step (C): The state control machine control module 104 generates an address signal to the memory access control module 107, reads and writes the relevant storage unit that stores the unlock record, updates the record data, and inputs the voltage control signal to the clutch state monitoring circuit power_control is pulled high to high level;

步骤(D):离合状态监控电路的电源掉电,离合状态监控电路停止向射频模拟前端的基准稳压电路202供电,电子标签停止工作。Step (D): The power supply of the clutch state monitoring circuit is powered off, the clutch state monitoring circuit stops supplying power to the reference voltage stabilizing circuit 202 of the RF analog front end, and the electronic tag stops working.

综上,由于本实用新型的离合状态监控电路相对现有的锁离合状态采集电路,可采用与电子标签芯片相同工艺的集成电路器件实现,电路结构简单,并且功耗较低,因而可以集成在电子标签芯片内部。集成了离合状态监控电路的电子标签作为物流行业中集装箱、保险箱流转的物联网监控节点,能及时的监控集装箱、保险箱的离合状态,保证了集装箱、保险箱流转的安全性;同时采用离合状态监控电路的电子标签兼顾了射频场中普通无源超高频电子标签的功能,同时无论外界有无射频场均能完成对于离合状态次数的记录。由于本实用新型采用的是无源超高频电子标签,还可以有效的减小功耗的消耗和实物的体积,降低了对于外部电源的依赖,增强了对于各种特殊应用场合的实用性。In summary, compared with the existing lock and clutch state acquisition circuit, the clutch state monitoring circuit of the present invention can be realized by using an integrated circuit device with the same technology as the electronic tag chip, the circuit structure is simple, and the power consumption is low, so it can be integrated in Inside the electronic tag chip. The electronic tag integrated with the clutch state monitoring circuit is used as the IoT monitoring node for the circulation of containers and safes in the logistics industry, which can monitor the clutch state of containers and safes in a timely manner, ensuring the safety of the circulation of containers and safes; The electronic tag takes into account the functions of ordinary passive UHF electronic tags in the radio frequency field, and can complete the record of the number of clutch states regardless of whether there is an external radio frequency field or not. Since the utility model adopts the passive ultra-high frequency electronic tag, it can also effectively reduce the consumption of power consumption and the volume of the object, reduce the dependence on external power supply, and enhance the practicability for various special application occasions.

本领域的普通技术人员将会意识到,这里所述的实施例是为了帮助读者理解本实用新型的原理,应被理解为本实用新型的保护范围并不局限于这样的特别陈述和实施例。本领域的普通技术人员可以根据本实用新型公开的这些技术启示做出各种不脱离本实用新型实质的其它各种具体变形和组合,这些变形和组合仍然在本实用新型的保护范围内。Those skilled in the art will appreciate that the embodiments described here are to help readers understand the principle of the utility model, and it should be understood that the protection scope of the utility model is not limited to such specific statements and examples. Those skilled in the art can make various other specific modifications and combinations based on the technical revelations disclosed in the utility model without departing from the essence of the utility model, and these variations and combinations are still within the protection scope of the utility model.

Claims (3)

1.一种用于电子标签的离合状态监控电路,其特征在于,包括:PMOS管,与非门,第一反相器,电平转换单元和锁存器,其中,所述与非门的第一输入端、所述PMOS管的源极和所述锁存器的输入端连接在一起,作为离合状态监控电路的离合状态信号的输入端;所述PMOS管的体端连接到外部的电源电池;所述与非门的第二输入端与第一反相器的输出端连接;所述与非门的输出端与锁存器的使能端连接;所述锁存器的正相输出端与PMOS管的栅极连接;所述PMOS管的漏极向所述电子标签输出供电电压;所述电平转换单元用于将所述PMOS管的漏极电压转换为用于输入到所述电子标签的数字基带处理器的状态信号;所述第一反相器的输入端输入所述电子标签的数字基带处理器的电压控制信号。1. A clutch state monitoring circuit for an electronic tag, characterized in that it includes: a PMOS transistor, a NAND gate, a first inverter, a level conversion unit and a latch, wherein the NAND gate The first input end, the source of the PMOS transistor and the input end of the latch are connected together as the input end of the clutch state signal of the clutch state monitoring circuit; the bulk end of the PMOS transistor is connected to an external power supply battery; the second input end of the NAND gate is connected with the output end of the first inverter; the output end of the NAND gate is connected with the enable end of the latch; the non-phase output of the latch The terminal is connected to the gate of the PMOS transistor; the drain of the PMOS transistor outputs a power supply voltage to the electronic label; the level conversion unit is used to convert the drain voltage of the PMOS transistor to be input to the The state signal of the digital baseband processor of the electronic tag; the input terminal of the first inverter inputs the voltage control signal of the digital baseband processor of the electronic tag. 2.根据权利要求1所述的离合状态监控电路,其特征在于,所述的电平转换单元包括第二反相器和第三反相器,所述第二反相器的输入端作为所述电平转换单元的输入端与所述PMOS管的漏极相连,所述第二反相器的输出端与所述第三反相器的输入端相连;所述第三反相器的输出端作为所述电平转换单元的输出端向电子标签的数字基带处理器输出状态信号。2. The clutch state monitoring circuit according to claim 1, wherein the level conversion unit comprises a second inverter and a third inverter, and the input terminal of the second inverter serves as the The input end of the level conversion unit is connected to the drain of the PMOS transistor, the output end of the second inverter is connected to the input end of the third inverter; the output of the third inverter The terminal is used as the output terminal of the level conversion unit to output the state signal to the digital baseband processor of the electronic label. 3.一种采用权利要求1或2所述的离合状态监控电路的电子标签,所述电子标签包括天线、射频模拟前端和数字基带处理器,所述射频模拟前端包括基准稳压电路,所述数字基带处理器包括状态控制机模块,其特征在于,所述电子标签还包括离合状态监控电路,所述离合状态监控电路与数字基带处理器的状态控制机模块连接并向状态控制机模块输出状态信号,同时接收状态控制机模块输入的电压控制信号,所述离合状态监控电路与射频模拟前端的基准稳压电路连接并向基准稳压电路提供供电电压。3. An electronic tag adopting the clutch state monitoring circuit according to claim 1 or 2, the electronic tag includes an antenna, a radio frequency analog front end and a digital baseband processor, the radio frequency analog front end includes a reference voltage stabilizing circuit, the The digital baseband processor includes a state control machine module, wherein the electronic tag also includes a clutch state monitoring circuit, and the clutch state monitoring circuit is connected with the state control machine module of the digital baseband processor and outputs the state to the state control machine module signal, while receiving the voltage control signal input by the state control machine module, the clutch state monitoring circuit is connected with the reference voltage stabilizing circuit of the RF analog front end and provides a power supply voltage to the reference stabilizing circuit.
CN2011202855754U 2011-08-08 2011-08-08 Opening and closing state monitoring circuit and electronic label adopting same Expired - Lifetime CN202189386U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011202855754U CN202189386U (en) 2011-08-08 2011-08-08 Opening and closing state monitoring circuit and electronic label adopting same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011202855754U CN202189386U (en) 2011-08-08 2011-08-08 Opening and closing state monitoring circuit and electronic label adopting same

Publications (1)

Publication Number Publication Date
CN202189386U true CN202189386U (en) 2012-04-11

Family

ID=45920823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011202855754U Expired - Lifetime CN202189386U (en) 2011-08-08 2011-08-08 Opening and closing state monitoring circuit and electronic label adopting same

Country Status (1)

Country Link
CN (1) CN202189386U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289708A (en) * 2011-08-08 2011-12-21 电子科技大学 Clutch state monitoring circuit and electronic tag adopting same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289708A (en) * 2011-08-08 2011-12-21 电子科技大学 Clutch state monitoring circuit and electronic tag adopting same

Similar Documents

Publication Publication Date Title
CN109766980B (en) Circuit and method for improving energy collection of passive radio frequency identification tag of temperature sensor
CN101942936B (en) Control method of lockup clutch state collecting circuit
CN101833638A (en) Passive ultra-high frequency electronic tag chip digital baseband processor and its control method
CN111061358B (en) Clock-free chip wake-up circuit, wake-up method and chip
CN207558004U (en) GB/T29768-2013 national standard ultra-high frequency RFID labels
CN114386539B (en) Zero-power-consumption node equipment, working method and zero-power-consumption system
CN103810521A (en) Digital baseband processor for passive RFID (radio frequency identification) electronic tag
CN101833686A (en) a semi-active tag
CN102289708B (en) Clutch state monitoring circuit and electronic tag adopting same
CN100517908C (en) Power supply control circuit controlled by zero static power consumption sensing mode
CN101662289B (en) Passive ultrahigh-frequency radio-frequency identification chip decoder and decoding method
CN102063638B (en) Rectification circuit for radio frequency electronic tags
CN202189386U (en) Opening and closing state monitoring circuit and electronic label adopting same
CN102346869A (en) Ultrahigh-frequency sensor tag chip
CN101915025B (en) Lock clutch state acquisition circuit and radio frequency identification electronic tag integrating same
CN101916353B (en) Lock clutch state acquisition circuit and radio frequency identification device using same
CN101566488A (en) Wireless intelligent gas meter with extremely low power dissipation
CN203882332U (en) Passive ultrahigh-frequency RFID tag device for temperature and humidity sensing type
CN103761561B (en) The hyperfrequency Internet of Things chip of compatible ISO18000-6C standard
CN208298223U (en) UHF RFID label chip circuit
CN103177285A (en) Passive low power consumption ultrahigh frequency electronic tag chip and low power consumption control method
Wang et al. A low-cost configurable ISO/IEC/IEEE 21451-7-compatible sensor tag
CN203465772U (en) IC (integrated chip) card door control management system
CN206097203U (en) School is with student's attendance device
TWI438697B (en) Power - saving electronic tags

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
AV01 Patent right actively abandoned

Granted publication date: 20120411

Effective date of abandoning: 20130403

AV01 Patent right actively abandoned

Granted publication date: 20120411

Effective date of abandoning: 20130403

RGAV Abandon patent right to avoid regrant