CN112731815A - Method for improving analog quantity acquisition precision - Google Patents

Method for improving analog quantity acquisition precision Download PDF

Info

Publication number
CN112731815A
CN112731815A CN202011490713.2A CN202011490713A CN112731815A CN 112731815 A CN112731815 A CN 112731815A CN 202011490713 A CN202011490713 A CN 202011490713A CN 112731815 A CN112731815 A CN 112731815A
Authority
CN
China
Prior art keywords
analog quantity
acquisition
equipment
temperature
value
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.)
Granted
Application number
CN202011490713.2A
Other languages
Chinese (zh)
Other versions
CN112731815B (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.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVIC filed Critical Xian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN202011490713.2A priority Critical patent/CN112731815B/en
Publication of CN112731815A publication Critical patent/CN112731815A/en
Application granted granted Critical
Publication of CN112731815B publication Critical patent/CN112731815B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D3/00Indicating or recording apparatus with provision for the special purposes referred to in the subgroups
    • G01D3/02Indicating or recording apparatus with provision for the special purposes referred to in the subgroups with provision for altering or correcting the law of variation
    • G01D3/021Indicating or recording apparatus with provision for the special purposes referred to in the subgroups with provision for altering or correcting the law of variation using purely analogue techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/15Correlation function computation including computation of convolution operations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method for improving analog quantity acquisition precision, which aims to solve the technical problem that the existing embedded computer equipment cannot meet the requirement of analog quantity acquisition precision in a working temperature range due to component parameter drift. And then calculating the functional relation, the functional relation coefficient and the check value between the analog quantity excitation value and the acquisition value in different temperature intervals, and storing the functional relation, the functional relation coefficient and the check value in a product storage unit. When the embedded computer equipment collects analog quantity, firstly reading the stored function relation coefficient and the check value thereof, and checking, if the check is passed, acquiring the environmental temperature of the equipment through a temperature collecting unit in the equipment, and outputting the analog quantity collecting result after calibrating; if the verification fails, calibration is not carried out, and the analog quantity acquisition result is directly output.

Description

Method for improving analog quantity acquisition precision
Technical Field
The invention relates to a method for improving analog quantity acquisition precision.
Background
In the fields of aviation and industrial control, the analog quantity acquisition precision of embedded computer equipment in a working temperature range has higher requirements. The general solution is as follows: in the signal conditioning circuit, hardware methods such as a high-precision device and a high-bit-number AD converter are used. However, when the ambient temperature changes greatly, the analog quantity acquisition precision is reduced due to the drift of the component parameters, and the equipment cannot meet the system requirements.
Disclosure of Invention
The invention provides a method for improving analog quantity acquisition precision, which aims to solve the technical problem that the conventional embedded computer equipment cannot meet the requirement of analog quantity acquisition precision within a working temperature range due to component parameter drift.
The technical solution of the invention is as follows:
the method for improving the analog quantity acquisition precision is characterized by comprising the following steps of:
step 1: calibrating analog quantity to be collected under different temperature conditions
Dividing the working temperature range of the equipment into a plurality of temperature intervals according to system requirements, selecting at least one temperature point in each temperature interval, respectively providing calibrated analog quantity excitation for the equipment at each selected temperature point, and acquiring an analog quantity acquisition value after conditioning, acquisition and processing of the equipment;
step 2: calculation of functional relation coefficient and its check value
According to the analog quantity excitation value provided in the step 1 and the acquired corresponding analog quantity acquisition value, determining the functional relation between the analog quantity excitation value and the acquisition value in different temperature intervals according to a calibration algorithm, calculating a functional relation coefficient, and calculating a check value of the functional relation coefficient by using a check method;
and step 3: storage of functional relation coefficients and check values thereof
Designing a storage unit in the embedded computer equipment, and storing the functional relation coefficient and the check value thereof in the storage unit;
and 4, step 4: acquisition of ambient temperature of a device
The temperature acquisition unit is arranged in the embedded computer equipment to acquire the working environment temperature of the equipment. The temperature acquisition unit can be flexibly selected and used, and comprises and is not limited to an independent temperature sensor or an on-chip temperature acquisition unit carried by a processor.
And 5: analog acquisition calibration operation
When the embedded computer equipment carries out analog quantity acquisition, firstly reading a functional relation coefficient and a check value thereof in a storage unit of the equipment, calculating the check value of the read functional relation coefficient by adopting the same check method as the step 2, comparing the calculated check value with the read check value, if the calculated check value is consistent with the read check value, indicating that the check is passed, acquiring the working environment temperature of the equipment by a temperature acquisition unit in the equipment, and outputting an analog quantity acquisition result of the equipment after calibration; if the two are not consistent, the verification is not passed, calibration is not carried out, and the analog quantity acquisition result of the equipment is directly output.
Further, the calibration algorithm adopted in step 2 is a difference method or a least square method.
Further, the check method adopted in step 2 is sum check or parity check.
Further, in step 3, the data packet header, the function relation coefficient, the check value and the data packet tail are stored in the storage unit.
Further, the method for calibrating the device analog acquisition result in step 5 specifically includes:
and substituting the equipment analog quantity acquisition value and the equipment working environment temperature acquired by the temperature acquisition unit in the equipment into the functional relation determined in the step 2, and calculating to obtain the calibrated analog quantity acquisition value by using the functional relation determined in the step 2 and the functional relation coefficient read in the step 5.
The invention has the beneficial effects that:
1. the invention firstly calibrates the analog quantity acquisition of the equipment under different temperature conditions by a software and hardware combined analog quantity acquisition processing method, calculates the functional relation between the analog quantity excitation value and the acquisition value in different temperature intervals, and stores the functional relation coefficient and the check value thereof in the internal memory of the equipment according to a certain rule. In the using process of the equipment, the environmental temperature of the equipment is obtained through the temperature sensor arranged in the equipment, and the analog quantity acquisition result is calibrated according to the calibration algorithm and the calibration value and the function relation coefficient in the memory, so that the analog quantity acquisition precision is improved.
2. The invention designs a calibration mechanism for the functional relation coefficient, is used for preventing the calibration error caused by the reading error of the functional relation coefficient, and improves the reliability of analog quantity acquisition.
3. The invention can meet the requirements of high-precision, high-stability and high-reliability acquisition and processing of analog quantity signals by embedded computer equipment in the range of a full temperature zone.
Drawings
FIG. 1 is a block diagram of a hardware implementation of the method for improving the accuracy of analog acquisition according to the present invention.
FIG. 2 is a software flowchart of the method for improving the accuracy of analog acquisition according to the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
Before analog quantity acquisition calibration is carried out, the working temperature range of the equipment is divided into a plurality of temperature intervals, and the acquisition value of the equipment (without calibration) is obtained by giving an analog quantity excitation value. And then calculating the functional relation, the functional relation coefficient and the check value between the analog quantity excitation value and the acquisition value in different temperature intervals according to a given algorithm, and storing the functional relation, the functional relation coefficient and the check value in a product storage unit. When the embedded computer equipment carries out analog quantity acquisition, firstly reading a functional relation coefficient and a check value thereof in a storage unit in the equipment, checking according to a preset checking method, if the check is passed, acquiring the environmental temperature of the equipment through a temperature acquisition unit in the equipment, and carrying out calibration according to a preset calibration algorithm and then outputting; if the verification fails, calibration is not carried out, and the analog quantity acquisition result is directly output.
Referring to fig. 1 and fig. 2, the method for improving the analog quantity acquisition accuracy of the present invention is implemented as follows:
step 1: calibrating analog quantity to be collected under different temperature conditions
According to system requirements, dividing the working temperature range of the equipment into a plurality of temperature intervals, selecting at least one temperature point in each temperature interval, respectively providing calibrated analog quantity excitation for the equipment at each selected temperature point, and acquiring an analog quantity acquisition value after conditioning, acquisition and processing of the equipment.
Step 2: calculation of functional relation coefficient and its check value
According to the analog quantity excitation value provided in the step 1 and the acquired corresponding analog quantity acquisition value, determining a functional relation between the analog quantity excitation value and the acquisition value in different temperature intervals according to a given calibration algorithm (such as an interpolation method, a least square method and the like), calculating a functional relation coefficient, and calculating a check value of the functional relation coefficient by using a check method (such as calculating a check value of calibration data by using a sum check, a parity check and the like).
And step 3: storage of functional relation coefficients and check values thereof
A storage unit is designed in the embedded computer equipment, and the functional relation coefficient is stored in the storage unit according to the forms of a data packet head, the functional relation coefficient, a check value and a data packet tail, so that the reliability of the storage of the functional relation coefficient is improved. The storage unit can be flexibly selected and includes but is not limited to an independent memory and a storage unit in the processor.
And 4, step 4: acquisition of ambient temperature of a device
The temperature acquisition unit is arranged in the embedded computer equipment to acquire the working environment temperature of the equipment. The temperature acquisition unit can be flexibly selected and used, and comprises and is not limited to an independent temperature sensor or an on-chip temperature acquisition unit carried by a processor.
And 5: analog acquisition calibration operation
When the embedded computer equipment collects the analog quantity, firstly reading the functional relation coefficient and the check value in the storage unit of the equipment, calculating the check value of the read functional relation coefficient according to the same checking method as the step 2, comparing the calculated check value with the read check value,
if the two are consistent, the verification is passed, the temperature of the working environment of the equipment is acquired through the temperature acquisition unit in the equipment, and the acquired value of the analog quantity of the equipment is output after being calibrated according to the same calibration algorithm as the step 2;
if the two are not consistent, the verification is not passed, the equipment analog acquisition value is not calibrated, and the equipment analog acquisition result is directly output.
The specific method for calibrating comprises the following steps: and substituting the equipment analog quantity acquisition value and the equipment working environment temperature acquired by the temperature acquisition unit in the equipment into the functional relation determined in the step 2, and calculating to obtain a calibrated analog quantity acquisition result by using the functional relation determined in the step 2 and the functional relation coefficient read in the step 5.

Claims (5)

1. A method for improving analog quantity acquisition precision is characterized by comprising the following steps:
step 1: calibrating analog quantity to be collected under different temperature conditions
Dividing the working temperature range of the equipment into a plurality of temperature intervals according to system requirements, selecting at least one temperature point in each temperature interval, respectively providing calibrated analog quantity excitation for the equipment at each selected temperature point, and acquiring an analog quantity acquisition value after conditioning, acquisition and processing of the equipment;
step 2: calculation of functional relation coefficient and its check value
According to the analog quantity excitation value provided in the step 1 and the acquired corresponding analog quantity acquisition value, determining the functional relation between the analog quantity excitation value and the acquisition value in different temperature intervals according to a calibration algorithm, calculating a functional relation coefficient, and calculating a check value of the functional relation coefficient by using a check method;
and step 3: storage of functional relation coefficients and check values thereof
Designing a storage unit in the embedded computer equipment, and storing the functional relation coefficient and the check value thereof in the storage unit;
and 4, step 4: acquisition of ambient temperature of a device
The temperature acquisition unit is arranged in the embedded computer equipment to acquire the working environment temperature of the equipment; the temperature acquisition unit can be flexibly selected and used, and comprises an independent temperature sensor or an on-chip temperature acquisition unit carried by a processor;
and 5: analog acquisition calibration operation
When the embedded computer equipment carries out analog quantity acquisition, firstly reading a functional relation coefficient and a check value thereof in a storage unit of the equipment, calculating the check value of the read functional relation coefficient by adopting the same check method as the step 2, comparing the calculated check value with the read check value, if the calculated check value is consistent with the read check value, indicating that the check is passed, acquiring the working environment temperature of the equipment by a temperature acquisition unit in the equipment, and outputting an analog quantity acquisition result of the equipment after calibration; if the two are not consistent, the verification is not passed, calibration is not carried out, and the analog quantity acquisition result of the equipment is directly output.
2. The method for improving the acquisition accuracy of the analog quantity according to claim 1, wherein: the calibration algorithm adopted in the step 2 is a difference value method or a least square method.
3. The method for improving the acquisition accuracy of the analog quantity according to claim 1, wherein: the check method adopted in step 2 is sum check or parity check.
4. A method for improving the accuracy of analog acquisition as claimed in any one of claims 1 to 3, wherein: and 3, storing the data packet in a storage unit according to the forms of the data packet head, the functional relation coefficient, the check value and the data packet tail.
5. The method for improving the acquisition accuracy of the analog quantity according to claim 4, wherein: the method for calibrating the analog quantity acquisition result of the equipment in the step 5 specifically comprises the following steps:
and substituting the equipment analog quantity acquisition value and the equipment working environment temperature acquired by the temperature acquisition unit in the equipment into the functional relation determined in the step 2, and calculating to obtain the calibrated analog quantity acquisition value by using the functional relation determined in the step 2 and the functional relation coefficient read in the step 5.
CN202011490713.2A 2020-12-16 2020-12-16 Method for improving analog quantity acquisition precision Active CN112731815B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011490713.2A CN112731815B (en) 2020-12-16 2020-12-16 Method for improving analog quantity acquisition precision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011490713.2A CN112731815B (en) 2020-12-16 2020-12-16 Method for improving analog quantity acquisition precision

Publications (2)

Publication Number Publication Date
CN112731815A true CN112731815A (en) 2021-04-30
CN112731815B CN112731815B (en) 2023-06-13

Family

ID=75602641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011490713.2A Active CN112731815B (en) 2020-12-16 2020-12-16 Method for improving analog quantity acquisition precision

Country Status (1)

Country Link
CN (1) CN112731815B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115060306A (en) * 2022-08-16 2022-09-16 北京万维盈创科技发展有限公司 Analog quantity calibration method and device and analog quantity acquisition equipment
CN116127332A (en) * 2022-12-01 2023-05-16 深圳市华众自动化工程有限公司 Analog data processing device and method

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7053806B1 (en) * 2005-03-31 2006-05-30 General Electric Company System and method for calibration of autoranging architectures
CN102384812A (en) * 2010-08-30 2012-03-21 胡章荣 Temperature compensation method and pressure transmitter digital display instrument adopting method
CN103196462A (en) * 2013-02-28 2013-07-10 南京航空航天大学 Compensation method for error calibration of MEMS gyroscope in MIMU
CN104614076A (en) * 2015-01-27 2015-05-13 天津大学 Precision calibrating method of infrared thermometer with wide temperature range
CN104965186A (en) * 2015-05-21 2015-10-07 杭州西力电能表制造有限公司 Calibration method for automatically compensating electric energy metering error of electric energy meter according to temperature
CN105527056A (en) * 2014-09-28 2016-04-27 沈阳中科奥维科技股份有限公司 Temperature reference-based pressure compensation calibration method
CN106253587A (en) * 2016-08-08 2016-12-21 合肥泰好乐电子科技有限公司 A kind of new forms of energy passenger car magneto temperature high-precision measurement circuit
CN107329746A (en) * 2017-06-19 2017-11-07 珠海格力电器股份有限公司 A kind of chip configuring information processing method and device
CN107483111A (en) * 2017-06-27 2017-12-15 青岛海信宽带多媒体技术有限公司 A kind of calibration method and device of the optical module transmitting luminous power based on temperature
CN109323796A (en) * 2018-10-27 2019-02-12 哈尔滨工业大学 A kind of full warm area range pressure sensor scaling method
CN109697351A (en) * 2018-12-18 2019-04-30 山东超越数控电子股份有限公司 A kind of credible measurement system and method
CN110530915A (en) * 2019-10-14 2019-12-03 中钢集团马鞍山矿山研究院有限公司 A kind of mine slurry grade measurement and analytical equipment for mineral processing production
US10594301B1 (en) * 2017-06-09 2020-03-17 Sitime Corporation Clock generator with dual-path temperature compensation
CN110968833A (en) * 2019-12-10 2020-04-07 上海艾临科智能科技有限公司 Calibration function relation obtaining method and device for analog quantity calibration
CN111397755A (en) * 2020-04-08 2020-07-10 上海电机系统节能工程技术研究中心有限公司 Correction method for absolute error of temperature measuring instrument

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7053806B1 (en) * 2005-03-31 2006-05-30 General Electric Company System and method for calibration of autoranging architectures
CN102384812A (en) * 2010-08-30 2012-03-21 胡章荣 Temperature compensation method and pressure transmitter digital display instrument adopting method
CN103196462A (en) * 2013-02-28 2013-07-10 南京航空航天大学 Compensation method for error calibration of MEMS gyroscope in MIMU
CN105527056A (en) * 2014-09-28 2016-04-27 沈阳中科奥维科技股份有限公司 Temperature reference-based pressure compensation calibration method
CN104614076A (en) * 2015-01-27 2015-05-13 天津大学 Precision calibrating method of infrared thermometer with wide temperature range
CN104965186A (en) * 2015-05-21 2015-10-07 杭州西力电能表制造有限公司 Calibration method for automatically compensating electric energy metering error of electric energy meter according to temperature
CN106253587A (en) * 2016-08-08 2016-12-21 合肥泰好乐电子科技有限公司 A kind of new forms of energy passenger car magneto temperature high-precision measurement circuit
US10594301B1 (en) * 2017-06-09 2020-03-17 Sitime Corporation Clock generator with dual-path temperature compensation
CN107329746A (en) * 2017-06-19 2017-11-07 珠海格力电器股份有限公司 A kind of chip configuring information processing method and device
CN107483111A (en) * 2017-06-27 2017-12-15 青岛海信宽带多媒体技术有限公司 A kind of calibration method and device of the optical module transmitting luminous power based on temperature
CN109323796A (en) * 2018-10-27 2019-02-12 哈尔滨工业大学 A kind of full warm area range pressure sensor scaling method
CN109697351A (en) * 2018-12-18 2019-04-30 山东超越数控电子股份有限公司 A kind of credible measurement system and method
CN110530915A (en) * 2019-10-14 2019-12-03 中钢集团马鞍山矿山研究院有限公司 A kind of mine slurry grade measurement and analytical equipment for mineral processing production
CN110968833A (en) * 2019-12-10 2020-04-07 上海艾临科智能科技有限公司 Calibration function relation obtaining method and device for analog quantity calibration
CN111397755A (en) * 2020-04-08 2020-07-10 上海电机系统节能工程技术研究中心有限公司 Correction method for absolute error of temperature measuring instrument

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郝艳阳等: "一种数据采集系统的精度实现方法", 《电视技术》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115060306A (en) * 2022-08-16 2022-09-16 北京万维盈创科技发展有限公司 Analog quantity calibration method and device and analog quantity acquisition equipment
CN115060306B (en) * 2022-08-16 2022-11-08 北京万维盈创科技发展有限公司 Analog quantity calibration method and device and analog quantity acquisition equipment
CN116127332A (en) * 2022-12-01 2023-05-16 深圳市华众自动化工程有限公司 Analog data processing device and method
CN116127332B (en) * 2022-12-01 2023-08-15 深圳市华众自动化工程有限公司 Analog data processing device and method

Also Published As

Publication number Publication date
CN112731815B (en) 2023-06-13

Similar Documents

Publication Publication Date Title
US8718963B2 (en) System and method for calibrating a three-axis accelerometer
CN110018275A (en) A kind of gas detector with compensation function and compensation method
CN112731815B (en) Method for improving analog quantity acquisition precision
US20130218502A1 (en) Temperature compensated pressure transducer
KR101106048B1 (en) Method for calibrating sensor errors automatically during operation, and inertial navigation using the same
CN103823084A (en) Method for calibrating three-axis acceleration sensor
CN106053724A (en) Cloud computing-based gas sensor precision compensating method and device
CN103675022A (en) TDS (total dissolved solids) detection method, device and system
EP2988095B1 (en) Altitude detecting unit and altitude detecting method
CN114199451A (en) Pressure detection method and system based on temperature compensation and storage medium
KR102575917B1 (en) IoT sensor abnormality diagnosing method and system using cloud-based virtual sensor
US6446019B1 (en) Method and apparatus for calibrating analog sensor measurement
CN112326882B (en) Air quality sensor processing method and device
US8079012B2 (en) Method for acquiring basic characteristic of simultaneous switching noise in method for estimating simultaneous switching noise on semiconductor device
CN116660965B (en) Beidou inertial navigation positioning method, device and storage medium
CN111476206A (en) Universal analog quantity processing method and system
CN109758703A (en) A kind of error correction systems and method for fire-fighting scene of a fire pressure-altitude sensor
CN111238667A (en) Temperature compensation method, printed circuit board, compressor and vehicle
CN116202656A (en) Method and system for batch calibration of semiconductor temperature sensors
CN111982357B (en) Algorithm and system for stabilizing temperature test value of temperature sensor
CN107389176A (en) It is a kind of based on the intelligent weighing method repeatedly calibrated
CN115956208A (en) Method and system for universal calibration of a device under test
CN107560706A (en) A kind of intelligent weighing method based on environmental factor calibration
CN116007824B (en) Error correction method and module of silicon piezoresistance type air pressure sensing module
KR20150034791A (en) Measurement variable sensor having internal data memory

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