CN106407062B - industrial control chip debugging system and debugging method - Google Patents
industrial control chip debugging system and debugging method Download PDFInfo
- Publication number
- CN106407062B CN106407062B CN201610752465.1A CN201610752465A CN106407062B CN 106407062 B CN106407062 B CN 106407062B CN 201610752465 A CN201610752465 A CN 201610752465A CN 106407062 B CN106407062 B CN 106407062B
- Authority
- CN
- China
- Prior art keywords
- control chip
- industry control
- parameters
- parameter value
- tested
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides an industrial control chip debugging system and a debugging method, wherein the system comprises: the tested industrial control chip is provided with a communication interface and allows a plurality of parameters to be read and written simultaneously; and the intelligent terminal is connected with the communication interface of the tested industrial control chip and is used for simultaneously reading and writing a plurality of parameters of the tested industrial control chip. The embodiment of the invention solves the technical problem that only one parameter value of the chip can be read or modified each time and a plurality of parameter values of the chip cannot be read or written in the prior art, achieves the purpose of simultaneously writing a plurality of parameter values and simultaneously can monitor the linkage relation among the plurality of parameters in real time.
Description
Technical field
The present invention relates to equipment control technology fields, in particular to a kind of industry control chip adjustment method and device.
Background technique
Because online change or the adjustment method initial stage for reading industry control chip parameter, less input, it is easily understood, operation letter
It is single, and can accomplish therefore real time modifying, the purpose for reading a certain address parameter in industrial chip have obtained widely answering
With.Currently, in frequency converter industry, the on-line debugging method generallyd use be the hyperterminal software that is carried using WINDOWS into
The point-to-point reading and writing data of row.
However, the mode of this single-point operation, can only read or modify every time a parameter value of chip, it can not be to chip
Multiple parameter values be written and read, meanwhile, do not have a continuity, entirely manual operation, second of read-write after single read-write
Up to the several seconds, the interaction relation between multiple parameters can not be also watched in real time.
In view of the above-mentioned problems, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of industry control chip debugging systems, write while to realize to multiple parameter values more,
The interaction relation between multiple parameters can be monitored in real time simultaneously, which includes:
Tested industry control chip is provided with communication interface, and multiple parameters are read and write simultaneously for permission;
Intelligent terminal is connected with the communication interface of the tested industry control chip, for reading while write the tested industry control core
The multiple parameters of piece.
In one embodiment, the communication interface includes at least one of: 485 interfaces, UART interface, CAN connect
Mouthful, alternatively, HBS interface.
In one embodiment, RS232 interface circuit or usb circuit are provided on the intelligent terminal.
In one embodiment, after the communication interface in the tested industry control chip is converted to RS232 serial communication, with
The RS232 interface circuit being arranged on the intelligent terminal is connected.
In one embodiment, after the communication interface in the tested industry control chip is converted to USB substitute mode, with institute
The usb circuit being arranged on intelligent terminal is stated to be connected.
In one embodiment, the intelligent terminal is provided with display screen, and the display screen is used for described in reading
The multiple parameters of tested industry control chip are shown.
In one embodiment, the intelligent terminal is additionally provided with processor, for receiving user to one or more
The adjustment request of parameter, and the tested industry control chip is adjusted in response to the adjustment request, it is simultaneously displayed on described
After one or more parameters are adjusted, the parameter value of the tested industry control chip parameters.
In one embodiment, the intelligent terminal is additionally provided with memory, for storing the tested industry control chip
Multiple groups parameter value.
The embodiment of the invention also provides a kind of sides that the debugging of industry control chip is carried out based on above-mentioned industry control chip debugging system
Method is write more while to realize to multiple parameter values, while the interaction relation between multiple parameters, this method can be monitored in real time
Include:
The parameter value of multiple parameters is read from tested industry control chip simultaneously;
The parameter value of the multiple parameters of reading is shown.
In one embodiment, the parameter value of the multiple parameters of reading is shown, comprising:
Determine user to the selection operation of interface presentation mode;
In response to the selection operation, the parameter for the multiple parameters that the interface presentation mode display selected by user is read
Value.
In one embodiment, the interface presentation mode includes: intuitive schema, and/or, sheet format.
In one embodiment, after the parameter value to the multiple parameters of reading is shown, the method is also wrapped
It includes:
User is received to instruct the modification that one or more parameters are modified;
Instructed in response to the modification, to the parameter values of one or more of parameters in the tested industry control chip into
Row adjustment, and after showing that the parameter value of one or more of parameters is adjusted, the ginseng of the tested industry control chip parameters
Numerical value.
In one embodiment, the above method further include: draw the parameters of the tested industry control chip with described
The parameter value of one or more parameters be adjusted after variation tendency.
In the above-described embodiments, by multiple spot read-write capability, it can be achieved that the read-write to parameter arranged side by side simultaneously, so as to full
The demand that the certain parameters of foot must be changed together or be monitored together, efficiently solves in the prior art, can only read or repair every time
A parameter value for changing chip has reached the technical issues of can not being written and read to the multiple parameter values of chip to multiple parameters
It is write while value more, while the interaction relation between multiple parameters can be monitored in real time.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the architecture diagram of industry control chip debugging system according to an embodiment of the present invention;
Fig. 2 is the flow chart of industry control chip adjustment method according to an embodiment of the present invention;
Fig. 3 is the schematic diagram that multi-parameter according to an embodiment of the present invention reads while write mode;
Fig. 4 is intuitive schema interface schematic diagram according to an embodiment of the present invention;
Fig. 5 is sheet format display interface schematic diagram according to an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right below with reference to embodiment and attached drawing
The present invention is described in further details.Here, exemplary embodiment and its explanation of the invention is used to explain the present invention, but simultaneously
It is not as a limitation of the invention.
A kind of industry control chip debugging system and adjustment method are provided, in embodiments of the present invention to reach easy to operate
On the basis of, the drawbacks of single-point is read and write is solved, and can be written and read simultaneously to multiple parameters, can connected within the time of Millisecond
Resume studies write chip parameter and can described point draw, the interaction relation between multiple parameters can be watched in real time, as shown in Figure 1, the industry control
Chip debugging system may include:
1) it is tested industry control chip 101, is provided with communication interface, and multiple parameters are read and write simultaneously for permission;
Wherein, communication interface can include but is not limited at least one of: 485 interfaces, UART interface, CAN interface, or
Person, HBS interface.
2) intelligent terminal 102 are connected with the communication interface of tested industry control chip 101, for reading while write the tested work
Control the multiple parameters of chip.
It can be set but be not limited to the circuit of at least one of: RS232 interface circuit or USB interface electricity on intelligent terminal
Road.That is, the isolated communication interface of tested industry control chip can be connected in intelligent terminal by user, connection type be can be
RS232 serial communication, is also possible to USB substitute mode, centre by the 485/UART/CAN/HBS of standard convert RS232 or
USB circuit.
That is, industry control chip, which has one of multiple interfaces, to be connect with intelligent terminal, if intelligent terminal have RS23 or
Effective instant messaging can be achieved in USB after converting by communication data.
Such as: after the communication interface in tested industry control chip is converted to RS232 serial communication, and it is arranged on intelligent terminal
RS232 interface circuit is connected;After communication interface in tested industry control chip is converted to USB substitute mode, with the intelligent terminal
The usb circuit of upper setting is connected.
Real-time display is carried out to parameter in order to realize, display screen can be set in an intelligent terminal, display screen is used for reading
The multiple parameters of the tested industry control chip taken are shown.Such as: can using list either by the way of circuit audio-visual picture into
Row display, lists each parameter if can be by the way of list, and each parameter has a defined position, and display should thereafter
The corresponding parameter value of parameter, if by the way of circuit audio-visual picture, can directly on circuit diagram each device or branch
The position display parameter value on road.
When being debugged to tested industry control chip, it is sometimes desirable to be adjusted to its parameter, so that detection is entire
The Parameters variation of circuit chip all parts, for example, voltage value is adjusted, the variation of electric current or electromotive force in detection circuit
Deng variation etc., in order to realize this detection, intelligent terminal is also provided with processor, and the processor is for receiving user
Tested industry control chip is adjusted to the adjustment request of one or more parameters, and in response to the adjustment request, is shown simultaneously
After one or more parameters are adjusted, it is tested the parameter value of industry control chip parameters.
Because can generate multiple groups parameter value during adjustment, i.e., each parameter has parameter in varied situations
Value, therefore, can be arranged memory in an intelligent terminal, store tested industry control chip multiple groups parameter value by memory, thus
Statistics is either analyzed convenient for subsequent calls.
Above-mentioned tested industry control chip can be the chip in frequency converter either industrial equipment.
Above-mentioned intelligent terminal can be PC machine, tablet computer, smart phone or other have processing and communication function
Equipment.
Based on industry control chip debugging system shown in FIG. 1, a kind of industry control chip adjustment method is additionally provided in this example, such as
Shown in Fig. 2, it may comprise steps of:
Step 201: while the parameter value of multiple parameters is read from tested industry control chip;
Step 202: the parameter value of the multiple parameters of reading is shown.
In order to enable user can according to need and be accustomed to display parameter value, to improve user experience, can be set more
Kind presentation mode, user can select as required, that is, determine user to the selection operation of interface presentation mode;Response
In the selection operation, the parameter value for the multiple parameters that the interface presentation mode display selected by user is read.
Above-mentioned interface presentation mode can include but is not limited to: intuitive schema, and/or, sheet format.
When being debugged to tested industry control chip, it is sometimes desirable to be adjusted to its parameter, so that detection is entire
The Parameters variation of circuit chip all parts, for example, voltage value is adjusted, the variation of electric current or electromotive force in detection circuit
Deng variation etc., in order to realize this detection, after the parameter value to the multiple parameters of reading is shown, can also wrap
It includes: receiving user and the modification that one or more parameters are modified is instructed;It is instructed in response to the modification, to the tested work
The parameter value of one or more of parameters in control chip is adjusted, and shows the parameter value of one or more of parameters
After being adjusted, the parameter value of the tested industry control chip parameters.
In order to enable the observation to parameter value variation is more intuitive, the parameters of the tested industry control chip can be drawn
Variation tendency after being adjusted with the parameter value of one or more of parameters.That is, being changed by Trendline observed parameter.
In upper example, by multiple spot read-write capability, it can be achieved that the read-write to parameter arranged side by side simultaneously, it is necessary to meet certain parameters
The case where changing or watch together, while the communication time of Millisecond, greatly reduce data latency time, can join chip
Number real-time depiction comes out, so that observation is more simple and clear, also improves adjustment accuracy, makes the debugging behavior of online change parameter
It is more accurate, effectively reduce measurement error.
Above-mentioned industry control chip debugging system and adjustment method are illustrated below with reference to a specific embodiment, however, value
It is noted that the specific embodiment merely to the present invention is better described, does not constitute improper limitations of the present invention.
In this example, the software for reading and writing multiple chip address parameters can be synchronized by having write one kind, quick using CAN or other
Communication modes, realize fast reading and writing, and can according to the numerical value of read-write carry out described point picture.Wherein, CAN is controller LAN
Network (Controller Area Network), CAN bus is a kind of widely used fieldbus, in industrial measurement and control and industry
There is very big application prospect in the fields such as automation.
Since frequency converter or industrial equipment are usually to connect forceful electric power, the mode of in-circuit emulation can not be taken to be adjusted
Examination, is illustrated in figure 3 the schematic diagram that multi-parameter in this example reads while write mode, can effectively solve the list of former hyper terminal formula
The problems of point debugging.
Program is write using programming software, is allowed to meet requirement shown in Fig. 3, user can like according to oneself, select Fig. 4
Shown in intuitive schema interface, which shows the parameter of each section in control algolithm all simple and clearly,
It can choose sheet format display interface shown in fig. 5, all parameters are listed in table.
The isolated communication interface of industry control chip is connected to intelligent terminal by user, and connection type can be RS232 serial ports
Communication, is also possible to USB substitute mode, and RS232 or USB circuit are converted by the 485/UART/CAN/HBS of standard in centre.
The communication interface with intelligent terminal is reserved in the program of industry control chip, increase reads and writes behaviour to specified address
The instruction of work etc., and allow to read while write multiple parameters.The implementation at the two kinds of interfaces Fig. 4 and Fig. 5 is described as follows below:
1) intuitive schema interface
As shown in figure 4, can the parameter in real time to algorithm corresponding position be written and read, such as: the electricity of any intermediate link
Stream, voltage, pid parameter etc..Meanwhile user may be selected specific value whether is shown behind relevant parameter, and such as: the display of Id
Position can be shown as Id:3215, and user clicks the parameter name of corresponding position or numerical value and can be carried out modifying, and click ginseng every time
It may be selected directly to be modified to industry control chip after the change of numerical value or be modified to industry control core after waiting multiple numerical value to change together
Piece.Whether all numerical value real-time displays, user have an impact to other positions parameter after can synchronizing viewing parameter modification, can also be by one
A or multiple parameters carry out described point drawing, watch the change curve of parameter tracking time, the intuitive variation trend for understanding parameter.
2) sheet format display interface
As shown in figure 5, all parameters are all listed in the table, each parameter is followed by real time value, and user can be to every
A parameter is modified, and may be selected directly to be modified to industry control chip after each parameter change or multiple numerical value is waited to change together
After be modified to industry control chip.All numerical value real-time displays, user can synchronize after viewing parameter is modified to other positions parameter
Whether have an impact, one or more parameters can also be subjected to described point drawing, watch the change curve of parameter tracking time, it is intuitive
Solve the variation trend of parameter.
In debugging process, the used parameter group of multiple groups can be saved, can once be led parameters all in parameter group
Enter industry control chip, compares the influence of two groups of parameters.Carrying out or repeat above step may be implemented the on-line debugging to industry control chip.
It can be seen from the above description that the embodiment of the present invention realizes following technical effect: reading and writing function by multiple spot
It can be, it can be achieved that the read-write to parameter arranged side by side simultaneously, so as to meet the need that certain parameters must be changed together or be monitored together
It asks, efficiently solves in the prior art, can only read or modify every time a parameter value of chip, it can not be to multiple ginsengs of chip
The technical issues of numerical value is written and read is write more while having reached to multiple parameter values, while multiple parameters can be monitored in real time
Between interaction relation.
Obviously, those skilled in the art should be understood that each module of the above-mentioned embodiment of the present invention or each step can be with
It is realized with general computing device, they can be concentrated on a single computing device, or be distributed in multiple computing devices
On composed network, optionally, they can be realized with the program code that computing device can perform, it is thus possible to by it
Store and be performed by computing device in the storage device, and in some cases, can be held with the sequence for being different from herein
The shown or described step of row, perhaps they are fabricated to each integrated circuit modules or will be multiple in them
Module or step are fabricated to single integrated circuit module to realize.In this way, the embodiment of the present invention be not limited to it is any specific hard
Part and software combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the embodiment of the present invention can have various modifications and variations.All within the spirits and principles of the present invention, made
Any modification, equivalent substitution, improvement and etc. should all be included in the protection scope of the present invention.
Claims (7)
1. a kind of industry control chip debugging system characterized by comprising
Tested industry control chip is provided with communication interface, and multiple parameters are read and write simultaneously for permission;
Intelligent terminal is connected with the communication interface of the tested industry control chip, for reading while write the tested industry control chip
Multiple parameters;
The intelligent terminal is provided with display screen, and the display screen is used for the multiple parameters to the tested industry control chip of reading
It is shown;
The display screen, for by the way of list or circuit audio-visual picture to the multiple of the tested industry control chip of reading
Parameter is shown, wherein by the way of circuit audio-visual picture can directly on circuit diagram each device or branch position
Set display parameter value;
The intelligent terminal is additionally provided with processor, for receiving user to the adjustment request of one or more parameters, and responds
The tested industry control chip is adjusted in the adjustment request, one or more of parameters is simultaneously displayed on and is adjusted
Afterwards, the parameter value of the tested industry control chip parameters;
It is also used to show the change after the parameters of the tested industry control chip are adjusted with the parameter value of one or more parameters
Change trend.
2. industry control chip debugging system according to claim 1, which is characterized in that the communication interface include it is following at least
One of: 485 interfaces, UART interface, CAN interface, HBS interface.
3. industry control chip debugging system according to claim 2, which is characterized in that be provided on the intelligent terminal
RS232 interface circuit or usb circuit.
4. industry control chip debugging system according to claim 3, which is characterized in that the communication in the tested industry control chip
Interface conversion be RS232 serial communication after, be connected with the RS232 interface circuit being arranged on the intelligent terminal.
5. industry control chip debugging system according to claim 3, which is characterized in that the communication in the tested industry control chip
Interface conversion be USB substitute mode after, be connected with the usb circuit being arranged on the intelligent terminal.
6. industry control chip debugging system according to claim 1, which is characterized in that the intelligent terminal is additionally provided with storage
Device, for storing the tested industry control chip multiple groups parameter value.
7. a kind of method that the debugging of industry control chip is carried out based on industry control chip debugging system described in any one of claims 1 to 6,
It is characterised by comprising:
The parameter value of multiple parameters is read from tested industry control chip simultaneously;
The parameter value of the multiple parameters of reading is shown;
The parameter value of the multiple parameters of reading is shown, comprising:
Determine user to the selection operation of interface presentation mode;
In response to the selection operation, the parameter value for the multiple parameters that the interface presentation mode display selected by user is read;
The interface presentation mode includes: the intuitive schema of circuit, and/or, sheet format;
After the parameter value to the multiple parameters of reading is shown, the method also includes:
User is received to instruct the modification that one or more parameters are modified;
It is instructed in response to the modification, the parameter value of one or more of parameters in the tested industry control chip is adjusted
It is whole, and after showing that the parameter value of one or more of parameters is adjusted, the parameter value of the tested industry control chip parameters;
Draw the tested industry control chip parameters be adjusted with the parameter value of one or more of parameters after variation
Trend.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610752465.1A CN106407062B (en) | 2016-08-29 | 2016-08-29 | industrial control chip debugging system and debugging method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610752465.1A CN106407062B (en) | 2016-08-29 | 2016-08-29 | industrial control chip debugging system and debugging method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106407062A CN106407062A (en) | 2017-02-15 |
| CN106407062B true CN106407062B (en) | 2019-08-06 |
Family
ID=58003728
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610752465.1A Active CN106407062B (en) | 2016-08-29 | 2016-08-29 | industrial control chip debugging system and debugging method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106407062B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109059198A (en) * | 2018-07-23 | 2018-12-21 | 珠海格力电器股份有限公司 | Automatic engineering debugging method, device and system for equipment and computer equipment |
| CN112213582B (en) * | 2020-09-29 | 2024-05-10 | 北京智芯微电子科技有限公司 | Detection system, detection method, detection device and storage medium for electronic module |
| CN115701564A (en) * | 2021-08-02 | 2023-02-10 | 西门子工厂自动化工程有限公司 | Frequency converter debugging method, device and system, electronic equipment and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1089182A2 (en) * | 1999-10-01 | 2001-04-04 | STMicroelectronics, Inc. | System and method for communicating with an integrated circuit |
| CN202748417U (en) * | 2012-07-11 | 2013-02-20 | 华锐风电科技(集团)股份有限公司 | Parameter monitoring system of frequency converter in wind generating set |
| CN103631248A (en) * | 2012-08-21 | 2014-03-12 | 珠海格力电器股份有限公司 | Testing device, testing method and testing system for air conditioner unit |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN204028243U (en) * | 2014-06-25 | 2014-12-17 | 苏州汇川技术有限公司 | A kind of frequency converter debug system |
-
2016
- 2016-08-29 CN CN201610752465.1A patent/CN106407062B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1089182A2 (en) * | 1999-10-01 | 2001-04-04 | STMicroelectronics, Inc. | System and method for communicating with an integrated circuit |
| CN202748417U (en) * | 2012-07-11 | 2013-02-20 | 华锐风电科技(集团)股份有限公司 | Parameter monitoring system of frequency converter in wind generating set |
| CN103631248A (en) * | 2012-08-21 | 2014-03-12 | 珠海格力电器股份有限公司 | Testing device, testing method and testing system for air conditioner unit |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106407062A (en) | 2017-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108804302B (en) | Remote testing method, system and related equipment | |
| CN107632219B (en) | Automatic startup and shutdown test system and test method thereof | |
| CN104331373A (en) | Monkey test system and method | |
| CN109408102A (en) | Version comparison method and device, household electrical appliance and network equipment | |
| US20210056010A1 (en) | Splicing Screen Debugging Method, Splicing Screen And Splicing Wall | |
| US20110287750A1 (en) | Link server and program thereof, website browsing system, website browsing method, and website browsing program | |
| CN104008041B (en) | Terminal applies test method and device | |
| CN112541203B (en) | Electrical design method and electrical design system | |
| US20160328149A1 (en) | Display screen-based physical button simulation method and electronic device | |
| CN111901155B (en) | Internet of things debugging method, device and system and storage medium | |
| CN106407062B (en) | industrial control chip debugging system and debugging method | |
| CN106326678A (en) | Sample room experiencing method, equipment and system based on virtual reality | |
| CN111934908A (en) | Internet of things simulation method, device and system and storage medium | |
| CN203260298U (en) | LCD testing device | |
| CN108717285A (en) | The programmable logic controller (PLC) programmed by built-in web | |
| CN112988308A (en) | Teaching display method and device, teaching all-in-one machine and storage medium | |
| CN102915272B (en) | Method for testing software, test macro and television terminal | |
| CN112148241B (en) | Light processing method, device, computing equipment and storage medium | |
| CN106815150B (en) | Server-side interface test system and method | |
| CN105741046A (en) | Information management model generation and system as well as information processing method and system | |
| CN104978171B (en) | It can recognize the output method and device of mark | |
| CN110457219A (en) | The method and apparatus of selection of time when a kind of test script is recorded | |
| CN116126671B (en) | Testing method, device, equipment and readable storage medium for electronic equipment | |
| CN107911388B (en) | Method and system for supervising mobile terminal applications | |
| US11223961B2 (en) | Configuration method of wireless network system, configuration terminal and configuration system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |