CN108882351B - Gain adjustment method for wireless communication - Google Patents

Gain adjustment method for wireless communication Download PDF

Info

Publication number
CN108882351B
CN108882351B CN201710340638.3A CN201710340638A CN108882351B CN 108882351 B CN108882351 B CN 108882351B CN 201710340638 A CN201710340638 A CN 201710340638A CN 108882351 B CN108882351 B CN 108882351B
Authority
CN
China
Prior art keywords
power gain
packet
gain
wireless
state parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710340638.3A
Other languages
Chinese (zh)
Other versions
CN108882351A (en
Inventor
张维轩
李慎中
张继方
林郁男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201710340638.3A priority Critical patent/CN108882351B/en
Publication of CN108882351A publication Critical patent/CN108882351A/en
Application granted granted Critical
Publication of CN108882351B publication Critical patent/CN108882351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/24TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
    • H04W52/243TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account interferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/30TPC using constraints in the total amount of available transmission power
    • H04W52/36TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
    • H04W52/367Power values between minimum and maximum limits, e.g. dynamic range
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/52TPC using AGC [Automatic Gain Control] circuits or amplifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Transmitters (AREA)
  • Transceivers (AREA)

Abstract

The invention discloses a gain adjustment method of wireless communication, which is executed by a wireless transceiver, and one embodiment of the method comprises the following steps: obtaining at least one transmission state parameter of a wireless connection object; determining an appropriate power gain according to the at least one transmission state parameter; setting a standby power gain of a radio frequency circuit to the proper power gain for a period of time, or setting the standby power gain of the radio frequency circuit to the proper power gain within the period of time until a packet is transmitted or received; and setting the standby power gain of the radio frequency circuit as an initial power gain when the period of time is reached if no packet transmission and no packet reception exist in the period of time.

Description

Gain adjustment method for wireless communication
Technical Field
The present invention relates to a gain adjustment method, and more particularly, to a gain adjustment method for wireless communication.
Background
In the packet format design of a wireless communication system, a preamble is added to the front end of a packet for the purposes of packet detection, signal synchronization, channel detection …, etc. In the process of demodulating a packet by a receiving end, once the receiving end finds that a field in the packet is illegal or has Cyclic Redundancy Check error (CRC error), parity Check error (parity Check error) or the like, the receiving end considers that the packet is not a packet that the receiving end wants, and regards the packet as a false alarm (false alarm), at this time, the receiving end stops demodulating the packet and waits for the next packet to come in.
In a wireless local-area network (WLAN) system, a frequency band used by the WLAN system is easily interfered, and the interference may cause poor receiving condition. Some interference features are obvious and easy to detect and eliminate, so that the detection of normal packets is not affected. Some interference is similar to preamble of packet of WLAN, which may cause false alarm caused by false detection of a wireless receiver, so the current technology can make the wireless receiver adjust the initial power gain of a rf circuit to avoid false alarm, however, the current technology is to adjust the initial power gain of the rf circuit down, so that the wireless receiver will not react or be overly sensitive to most interference, but this may also make the wireless receiver unable to detect normal packet or make the wireless receiver unable to successfully receive normal packet.
Disclosure of Invention
An objective of the present invention is to provide a method for adjusting gain in wireless communication, so as to avoid the problems of the prior art.
The invention discloses a gain adjustment method of wireless communication, which is executed by a wireless transceiver, and one embodiment of the method comprises the following steps: obtaining at least one transmission state parameter of a wireless connection object; determining an appropriate power gain according to the at least one transmission state parameter; setting a standby power gain of a radio frequency circuit to the proper power gain for a period of time, or setting the standby power gain of the radio frequency circuit to the proper power gain within the period of time until a packet is transmitted or received; and setting the standby power gain of the radio frequency circuit as an initial power gain when the period of time is reached if no packet transmission and no packet reception exist in the period of time.
Another embodiment of the foregoing method comprises the steps of: obtaining at least one transmission state parameter of a wireless connection object; determining an appropriate power gain according to the at least one transmission state parameter; setting a standby power gain of a radio frequency circuit to the proper power gain until a period of time is reached or until a packet is transmitted or received; if there is packet transmission or reception in the period, applying automatic gain control to the RF circuit; and setting the standby power gain of the radio frequency circuit as an initial power gain when the period of time is reached if no packet transmission and no packet reception exist in the period of time.
The features, implementations, and technical advantages of the present invention are described in detail below with reference to the accompanying drawings.
Drawings
Fig. 1 shows an embodiment of a gain adjustment method for wireless communication according to the present invention;
FIG. 2 shows an embodiment of step S120 of FIG. 1;
FIG. 3 shows another embodiment of step S120 of FIG. 1; and
fig. 4 shows another embodiment of step S120 of fig. 1.
Description of reference numerals:
s110 to S140
S210-S220
S310 to S330
S410 to S420
Detailed Description
The invention expects that the packet transmitted by the same connection object can be received after the packet is transmitted or received, therefore, the invention adaptively adjusts the power gain of a radio frequency circuit after the packet is transmitted or received so as to successfully receive the signal from the same connection object.
Fig. 1 shows an embodiment of a method for adjusting gain in wireless communication according to the present invention. The embodiment of fig. 1 is performed by a transceiver that is an 802.11 compliant device, such as a wireless access point or equivalent; of course, the wireless transceiver may be a device conforming to other wireless communication standards, provided that the implementation is possible. The embodiment of fig. 1 comprises the following steps:
step S110: at least one transmission status parameter of a wireless connection object (such as a mobile phone, a computer, etc.) is obtained.
For example, the wtru may obtain at least one of the following parameters as the transmission status parameter based on a previous transceiving operation before or while "transmitting" a packet to the wtru: a Received Signal Strength Indicator (RSSI) or equal; a Signal-to-Noise Ratio (SNR) or equivalent thereof; a transmission distance or the equivalent thereof; a transmission rate or an equivalent thereof; a data error rate or an equivalent thereof; a retransmission number or the equal thereof; and a Modulation and Coding Scheme (MCS) type or equivalent. Each of the above parameters is associated with a received power gain (e.g., an appropriate power gain described later) based on theoretical or practical results, and generally, the stronger the signal of the wireless connection object, the higher the SNR, the shorter the transmission distance, the higher the transmission rate, the lower the data error rate, the fewer the retransmission times, or the higher the receiving sensitivity of the wireless transceiver to a signal of a certain MCS, the smaller the received power gain associated with the parameter.
For another example, the wtru generates the at least one transmission state parameter according to an automatic gain control result for receiving a packet after "receiving" the packet from the wtru.
Step S120: determining an appropriate power gain according to the at least one transmission state parameter.
For example, when the wireless transceiver determines a minimum power gain, a maximum power gain, or a power gain interval suitable for receiving the packet of the wireless connection object according to the at least one transmission state parameter, the wireless transceiver makes the appropriate power gain not smaller than the minimum power gain, not larger than the maximum power gain, or within the power gain interval.
Step S130: setting a standby power gain of a radio frequency circuit to the proper power gain for a period of time; or during the period of time, setting the standby power gain of the RF circuit to the proper power gain until there is a packet to transmit or receive.
For example, after the wireless transceiver "transmits" a packet to the wireless connection object, the standby power gain is then/immediately set as the proper power gain for a first period of time, and if there is a packet transmitted or received within the first period of time, the automatic gain control function of the wireless transceiver immediately takes over the setting of the power gain of the radio frequency circuit.
For another example, after the wireless transceiver "receives" a packet from the wireless connection object, the standby power gain is then/immediately set as the proper power gain for a second period of time, and if there is a packet to transmit or receive within the second period of time, the automatic gain control function of the wireless transceiver is to take over the setting of the power gain of the rf circuit. The second period of time may be the same as or different from the first period of time.
Step S140: if there is no packet transmission and no packet reception within the period of time, when the period of time is reached (or at the end of the period of time), subsequently/immediately setting the standby power gain of the RF circuit to an initial power gain; if there is a packet transmission or reception within the period of time, the RF circuit is subjected to automatic gain control to process the packet transmission or reception.
Generally, the initial power gain is suitable for receiving packets of a plurality of wireless devices including the wireless link object, and the appropriate power gain is suitable/dedicated for receiving packets of the wireless link object, and the setting is usually different due to the different purposes of the two gains.
In one embodiment, in order to ensure that the packet of the wireless connection object can be received, the step S120 of fig. 1 optionally includes the following steps as shown in fig. 2:
step S210: determining a lower limit of the proper power gain according to the at least one transmission state parameter and at least one of a signal processing setting and a packet detection capability of a baseband circuit of the wireless transceiver.
For example, if the at least one transmission status parameter indicates that the signal strength of the wireless connection object received by the wireless transceiver is-60 dBmW, the signal processing of the baseband circuit is configured to process a signal of 0dBmW, the packet detection capability of the baseband circuit is 10dB, and the lower limit of the proper power gain for receiving a packet subsequently transmitted by the wireless connection object is: the signal processing setting is the signal strength of the wireless connection object + the packet detection capability + the lower limit of the appropriate power gain (0-60 +10+ the lower limit of the appropriate power gain). Therefore, the lower limit of the proper power gain should be 50 dB.
Step S220: the proper power gain is not less than the lower limit.
For example, the wtru selects a predetermined power gain not less than the lower limit as the proper power gain from a plurality of predetermined power gains to ensure that the wtru can receive the packet of the wireless connection object.
In one embodiment, to eliminate the serious interference in the environment, the step S120 of fig. 1 may optionally further include the following steps as shown in fig. 3:
step S310: the interference energy of a noise is detected, and a noise received power is determined accordingly.
For example, the wireless transceiver determines the noise receiving power by determining the interference energy of a noise according to the information of the noise which causes a false alarm.
Step S320: determining an upper limit of the appropriate power gain according to at least one of the signal processing setting and the packet detection capability and according to the noise received power.
For example, if the signal processing of the baseband circuit is set to process a signal of 0dBmW, the packet detection capability of the baseband circuit is 10dB, the noise received power is-75 dBmW, and the upper limit of the proper power gain should be: "the signal processing setting is the noise received power + the packet detection capability + the appropriate power gain (0-75 +10+ the upper limit of the appropriate power gain)". Therefore, the upper limit of the proper power gain should be 65 dB.
Step S330: the proper power gain is not greater than the upper limit.
For example, when the lower limit and the upper limit of the proper power gain are determined to be 50dB and 65dB, respectively, the wireless transceiver selects a predetermined power gain between the upper limit and the lower limit as the proper power gain from a plurality of predetermined power gains, so as to prevent the noise from being received in the case where the packet of the wireless connection object can be received. It is noted that if the lower limit is larger than the upper limit, the present example is to make the proper power gain not smaller than the lower limit.
For another example, when the lower limit is not determined but the upper limit is determined to be 65dB, the wtru selects a predetermined power gain not greater than the upper limit from a plurality of predetermined power gains as the appropriate power gain to avoid receiving the noise.
In one embodiment, to combat channel fading caused by channel delay, step S120 of fig. 1 may optionally further include the following steps as shown in fig. 4:
step S410: detecting an environmental channel delay, and judging whether the environmental channel delay is greater than a threshold value.
Step S420: when the environmental channel delay is judged to be larger than the threshold value, a lower limit of the proper power gain is increased according to a compensation quantity, wherein the proper power gain is not smaller than the lower limit.
For example, the lower limit of the proper power gain is originally the lower limit determined in the step S210, and through the step S420, the lower limit is increased as follows: the lower limit of the original decision (e.g., 50dB) + the offset (e.g., 5 dB).
The foregoing description mentions the type of MCS as the transmission status parameter. Specifically, if the wireless transceiver receives a MCS-9 packet with a sensitivity (sensitivity) of-60 dBmW, receives an MCS-8 packet with a sensitivity of-65 dBmW, and is only able to successfully receive the MCS-8 packet from the wireless connection target at that time, but is not able to successfully receive the MCS-9 packet from the wireless connection target, the wireless transceiver can estimate, based on the information, that the signal strength of the MCS-8 packet received by the wireless transceiver is (-63 ± 2) dBmW, so that in a situation where the signal processing of the baseband circuit is set to process a signal of 0dBmW and the packet detection capability of the baseband circuit is 10dB, the lower limit of the appropriate power gain should be: the signal processing sets the signal strength of the MCS-8 packet + the packet detection capability + the lower limit of the proper power gain (0-63 +10+ the lower limit of the proper power gain). Therefore, the lower limit of the proper power gain should be 53dB, and the upper limit of the proper power gain can be the lower limit plus a preset value, or as described above, the upper limit of the proper power gain is determined according to the strength of the interference. The above MCS-8 and MCS-9 are all modulation methods well known in the art, and the details thereof are omitted here.
It should be noted that, when the implementation is possible, a person skilled in the art may selectively implement some or all of the technical features of any one of the foregoing embodiments, or selectively implement a combination of some or all of the technical features of the foregoing embodiments, thereby increasing the flexibility in implementing the invention. Please note that, the method of the present invention is implemented by firmware and/or software of a transceiver without changing hardware of the transceiver; in other words, the method of the present invention can be performed by the hardware of the existing wireless transceiver.
In summary, after transmitting or receiving a packet to a link, the present invention anticipates that there is a high possibility to receive the packet of the same link, so that the standby power gain of the radio frequency circuit of a wireless transceiver is adjusted to a proper power gain, which allows the wireless transceiver to correctly receive the packet of the link to reduce the probability of false alarm, and after a period of time without receiving the packet or transmitting the packet, the present invention returns the standby power gain of the radio frequency circuit to an initial power gain.
Although the embodiments of the present invention have been described above, the embodiments are not intended to limit the present invention, and those skilled in the art can make variations on the technical features of the present invention according to the explicit or implicit contents of the present invention, and all such variations may fall within the scope of the patent protection sought by the present invention, in other words, the scope of the patent protection sought by the present invention should be determined by the claims of the present specification.

Claims (8)

1. A method for gain adjustment in wireless communications, performed by a transceiver, the method comprising:
obtaining at least one transmission state parameter of a wireless link object, wherein the at least one transmission state parameter comprises the signal intensity of the wireless link object received by the wireless transceiver;
determining an appropriate power gain according to the at least one transmission state parameter;
setting a standby power gain of a radio frequency circuit to the proper power gain for a period of time; and
setting the standby power gain of the radio frequency circuit as an initial power gain when the period of time is reached;
wherein the step of determining the appropriate power gain comprises:
determining a lower limit of the proper power gain as a sum of a signal strength of the wireless connection object received by the wireless transceiver and a packet detection capability of a baseband circuit subtracted from a strength of a processing signal set by the baseband circuit of the wireless transceiver; and
the proper power gain is not less than the lower limit.
2. The method of claim 1, wherein the step of setting the standby power gain to the proper power gain comprises:
transmitting a packet to the wireless connection object;
and setting the standby power gain to the proper power gain after transmitting the packet,
wherein the at least one transmission state parameter is at least one of the following parameters of the wireless connection object: the signal intensity of the wireless connection object received by the wireless transceiver or the equal intensity of the signal intensity; a signal to noise ratio or an equivalent thereof; a transmission distance or the equivalent thereof; a transmission rate or an equivalent thereof; a data error rate or an equivalent thereof; a retransmission number or the equal thereof; and a type of modulation and coding scheme or equivalent.
3. The method of claim 1, wherein the step of determining the proper power gain comprises:
detecting an environment channel delay, and judging whether the environment channel delay is greater than a threshold value; and
when the environmental channel delay is judged to be larger than the threshold value, a lower limit of the proper power gain is increased according to a compensation quantity, wherein the proper power gain is not smaller than the lower limit.
4. The method of claim 1, wherein the step of obtaining the at least one transmission state parameter comprises:
receiving a packet of the wireless connection object; and
the at least one transmission state parameter is generated based on an automatic gain control result for receiving the packet.
5. The method of claim 2 or 4, wherein the step of determining the appropriate power gain further comprises:
detecting interference energy of a noise and determining a noise receiving power according to the interference energy;
determining an upper limit of the proper power gain according to at least one of the strength of the processing signal set by the baseband circuit and the packet detection capability and according to the noise received power; and
the proper power gain is not greater than the upper limit.
6. A method for gain adjustment in wireless communications, performed by a transceiver, the method comprising:
obtaining at least one transmission state parameter of a wireless link object, wherein the at least one transmission state parameter comprises the signal intensity of the wireless link object received by the wireless transceiver;
determining an appropriate power gain according to the at least one transmission state parameter;
setting a standby power gain of a radio frequency circuit to the proper power gain until a period of time is reached or until a packet is transmitted or received;
if there is packet transmission or reception in the period, using the proper power as the standby power gain to perform automatic gain control on the RF circuit; and
if there is no packet transmission and packet reception in the period of time, setting the standby power gain of the RF circuit as an initial power gain when the period of time is reached;
wherein the step of determining the appropriate power gain comprises:
determining a lower limit of the proper power gain as a sum of a signal strength of the wireless connection object received by the wireless transceiver and a packet detection capability of a baseband circuit subtracted from a strength of a processing signal set by the baseband circuit of the wireless transceiver; and
the proper power gain is not less than the lower limit.
7. The method of claim 6, wherein the step of setting the standby power gain to the proper power gain comprises: transmitting a packet to the wireless connection object; and setting the standby power gain to the proper power gain after transmitting the packet,
wherein the at least one transmission state parameter is at least one of the following parameters of the wireless connection object:
the signal intensity of the wireless connection object received by the wireless transceiver or the equal intensity of the signal intensity;
a signal to noise ratio or an equivalent thereof;
a transmission distance or the equivalent thereof;
a transmission rate or an equivalent thereof;
a data error rate or an equivalent thereof;
a retransmission number or the equal thereof; and
a type of modulation and coding scheme, or an equivalent thereof.
8. The method of claim 6, wherein the step of obtaining the at least one transmission state parameter comprises:
receiving a packet of the wireless connection object; and
the at least one transmission state parameter is generated based on an automatic gain control result for receiving the packet.
CN201710340638.3A 2017-05-15 2017-05-15 Gain adjustment method for wireless communication Active CN108882351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710340638.3A CN108882351B (en) 2017-05-15 2017-05-15 Gain adjustment method for wireless communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710340638.3A CN108882351B (en) 2017-05-15 2017-05-15 Gain adjustment method for wireless communication

Publications (2)

Publication Number Publication Date
CN108882351A CN108882351A (en) 2018-11-23
CN108882351B true CN108882351B (en) 2021-09-14

Family

ID=64320316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710340638.3A Active CN108882351B (en) 2017-05-15 2017-05-15 Gain adjustment method for wireless communication

Country Status (1)

Country Link
CN (1) CN108882351B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585285A (en) * 2003-08-20 2005-02-23 智邦科技股份有限公司 Gain control method and system for wireless communication system
CN101714883A (en) * 2008-10-07 2010-05-26 北京六合万通微电子技术股份有限公司 Method and system for transmitting and receiving data signal of site/access point in wireless local area network
CN101784109A (en) * 2009-01-20 2010-07-21 瑞昱半导体股份有限公司 Device and method for connecting wireless network
CN104124986A (en) * 2013-04-24 2014-10-29 晨星半导体股份有限公司 Wireless signal receiver and signal processing method thereof
CN104467910A (en) * 2013-09-16 2015-03-25 瑞昱半导体股份有限公司 Wireless communication device and control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI397275B (en) * 2009-05-18 2013-05-21 Inst Information Industry Gain adjustment apparatus, method, and computer program product thereof for a multiple input multiple output wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585285A (en) * 2003-08-20 2005-02-23 智邦科技股份有限公司 Gain control method and system for wireless communication system
CN101714883A (en) * 2008-10-07 2010-05-26 北京六合万通微电子技术股份有限公司 Method and system for transmitting and receiving data signal of site/access point in wireless local area network
CN101784109A (en) * 2009-01-20 2010-07-21 瑞昱半导体股份有限公司 Device and method for connecting wireless network
CN104124986A (en) * 2013-04-24 2014-10-29 晨星半导体股份有限公司 Wireless signal receiver and signal processing method thereof
CN104467910A (en) * 2013-09-16 2015-03-25 瑞昱半导体股份有限公司 Wireless communication device and control method thereof

Also Published As

Publication number Publication date
CN108882351A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
KR102489755B1 (en) Method and apparatus for retransmitting data in wireless communication system
CN108200780B (en) System and method for backoff procedure for licensed assisted access
EP1730894B1 (en) Adaptive packet detection for detecting packets in a wireless medium
US20210345314A1 (en) Method and apparatus for channel detection on unlicensed frequency spectrum, and storage medium
US20090296864A1 (en) Synchronization Detection Using Bandwidth and Antenna Configuration
JPWO2006085365A1 (en) Radio apparatus and interference avoidance method by transmission power control
CN108617001B (en) Uplink data transmission method and device
US8559938B2 (en) Base station, mobile station, and link establishing method
US7590386B2 (en) Method for control of contention-based wireless access
US20040165575A1 (en) Method for adjusting transmission rate of wireless communication system
WO2017138870A1 (en) Controlling the channel occupancy measurement quality
US7852824B2 (en) Performance in mobile communications systems
CN116017757A (en) First wireless station and communication method
US11330631B2 (en) Remote apparatus in base station, base station, and random access method
EP2633731B1 (en) Method and arrangement in a communications network
US8958758B2 (en) Communication apparatus performing automatic gain control and field length selection for a communication frame
CN108882351B (en) Gain adjustment method for wireless communication
TWI660643B (en) Gain adjustment method for wireless communication
US11240840B2 (en) Media access control
US10757001B2 (en) Methods for dynamic sensitivity control in wireless networks
US20040247053A1 (en) Method for detecting a signal and receiver system for the implementation of the method
TWI835593B (en) Wireless communication device and method for detecting interference
US20150334586A1 (en) Wireless receiving apparatus and method
US11489744B2 (en) Communication device and method for dynamically adjusting packet detection threshold
US11589391B2 (en) Communication device and collision detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant