CN205405227U - Programmable logic controler centralized control device and system - Google Patents

Programmable logic controler centralized control device and system Download PDF

Info

Publication number
CN205405227U
CN205405227U CN201620148821.4U CN201620148821U CN205405227U CN 205405227 U CN205405227 U CN 205405227U CN 201620148821 U CN201620148821 U CN 201620148821U CN 205405227 U CN205405227 U CN 205405227U
Authority
CN
China
Prior art keywords
plc
processing unit
instruction
output circuit
control
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
CN201620148821.4U
Other languages
Chinese (zh)
Inventor
席亚飞
章珂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Guard Intelligent Electric Appliance (beijing) Co Ltd
Original Assignee
Electric Guard Intelligent Electric Appliance (beijing) Co Ltd
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 Electric Guard Intelligent Electric Appliance (beijing) Co Ltd filed Critical Electric Guard Intelligent Electric Appliance (beijing) Co Ltd
Priority to CN201620148821.4U priority Critical patent/CN205405227U/en
Application granted granted Critical
Publication of CN205405227U publication Critical patent/CN205405227U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model provides a programmable logic controler centralized control device and system, wherein the device is including radio communication circuit, instruction processing unit and output circuit, radio communication circuit's output with the input of instruction processing unit is connected, the output of instruction processing unit with output circuit's input is connected, output circuit's output and programmable logic controler PLC are connected, radio communication circuit receives PLC's control command will control command transmits and gives the instruction processing unit, the instruction processing unit is right control command handles, through output circuit will handle control command send to PLC. The utility model provides a programmable logic controler centralized control device and system adopts wireless control's mode to control programmable logic controler, and control mode is nimble, can alleviate complicated, the big problem of the implementation degree of difficulty of line arrangement when having the line traffic control.

Description

Programmable logic controller (PLC) central control device and system
Technical field
This utility model relates to industrial control field, particularly relates to a kind of programmable logic controller (PLC) central control device and system.
Background technology
PLC (ProgrammableLogicController, programmable logic controller (PLC)) is as a kind of electronic device being specifically designed to industrial control field, owing to its programming is simple, powerful, strong adaptability, high reliability are used widely.
At present, in order to PLC is controlled, generally by wired connections such as PLC and control equipment such as industrial control computer, higher level PLC, thus utilizing control equipment control PLC.
Utilize the mode control PLC of wired connection, there is line arrangement complexity, implement the defect that difficulty is big.
Utility model content
This utility model provides a kind of programmable logic controller (PLC) central control device and system, programmable logic controller (PLC) is controlled by the mode adopting controlled in wireless, control mode is flexible, it is possible to alleviate when having line traffic control the problem that line arrangement is complicated, enforcement difficulty is big.
First aspect, this utility model embodiment provides a kind of programmable logic controller (PLC) central control device, and described device includes radio communication circuit, instruction processing unit and output circuit;
The outfan of described radio communication circuit is connected with the input of described instruction processing unit, and the outfan of described instruction processing unit is connected with the input of described output circuit, and the outfan of described output circuit is connected with programmable logic controller (PLC) PLC;
Described radio communication circuit receives the control instruction of described PLC, and described control instruction is transferred to described instruction processing unit;Described control instruction is processed by described instruction processing unit, is sent the described control instruction processed to described PLC by described output circuit.
In conjunction with first aspect, this utility model embodiment provides the first possible embodiment of first aspect, and wherein, described output circuit is multiple, connects with corresponding PLC respectively.
In conjunction with the first possible embodiment of first aspect, this utility model embodiment provides the embodiment that first aspect the second is possible, and wherein, described instruction processing unit includes:
Resolving elements, is used for receiving described control instruction, resolves the address information of purpose PLC corresponding to described control instruction, and exports described address information;
With the matching element that described resolving elements is connected, be used for receiving described address information, OPADD matching result information;
The control element being connected with described matching element, is used for receiving described address matching result information, output resume processing instruction;
With the treatment element that described control element is connected, continue with instruction described in being used for receiving, described control instruction processed, the described control instruction that will process sends to output circuit corresponding to described address information.
In conjunction with first aspect, this utility model embodiment provides the third possible embodiment of first aspect, and wherein, described output circuit includes level conversion element, for the described control instruction processed being converted to level signal corresponding to PLC, and described level signal is sent to PLC.
In conjunction with first aspect, this utility model embodiment provides the 4th kind of possible embodiment of first aspect, and wherein, described radio communication circuit includes Beidou communication circuit;
Described Beidou communication circuit receives the time service information of PLC, and described time service information is transferred to described instruction processing unit, and described time service information is processed by described instruction processing unit, is sent the described time service information processed to PLC by described output circuit.
In conjunction with first aspect, this utility model embodiment provides the 5th kind of possible embodiment of first aspect, and wherein, described radio communication circuit includes mobile data communication circuit.
In conjunction with first aspect, this utility model embodiment provides the 6th kind of possible embodiment of first aspect, and wherein, described output circuit includes RS232 interface and/or RS422 interface.
In conjunction with first aspect, this utility model embodiment provides the 7th kind of possible embodiment of first aspect, and wherein, described device also includes the memorizer being connected with described instruction processing unit.
In conjunction with first aspect, this utility model embodiment provides the 8th kind of possible embodiment of first aspect, and wherein, described device also includes the configuration interface being connected with described instruction processing unit.
Second aspect, this utility model embodiment provides a kind of programmable logic controller (PLC) centralized control system, including above-mentioned first aspect, first aspect the first to the device in the 8th kind of possible embodiment, also include the programmable logic controller (PLC) PLC being connected with described output circuit.
Programmable logic controller (PLC) central control device in this utility model embodiment and system, radio communication circuit can the control instruction of wireless receiving PLC, control instruction can be processed by instruction processing unit, control instruction after processing can be sent to PLC by output circuit, thus adopting the mode of controlled in wireless that PLC is controlled.Compared with the mode having line traffic control, controlled in wireless mode is more flexible, it is possible to alleviate when having line traffic control the problem that line arrangement is complicated, enforcement difficulty is big.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of this utility model embodiment, the accompanying drawing used required in embodiment will be briefly described below, it is to be understood that, the following drawings illustrate only some embodiment of the present utility model, therefore the restriction to scope it is not construed as, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other relevant accompanying drawings according to these accompanying drawings.
Fig. 1 illustrates the first structural representation of the programmable logic controller (PLC) central control device that this utility model embodiment provides;
Fig. 2 illustrates the second structural representation of the programmable logic controller (PLC) central control device that this utility model embodiment provides;
Fig. 3 illustrates the structural representation of the programmable logic controller (PLC) centralized control system that this utility model embodiment provides.
Detailed description of the invention
For making the purpose of this utility model embodiment, technical scheme and advantage clearly, below in conjunction with accompanying drawing in this utility model embodiment, technical scheme in this utility model embodiment is clearly and completely described, obviously, described embodiment is only a part of embodiment of this utility model, rather than whole embodiments.Generally can with various different configurations arrange and design with the assembly of this utility model embodiment that illustrate described in accompanying drawing herein.Therefore, below the detailed description of the embodiment of the present utility model provided in the accompanying drawings is not intended to limit claimed scope of the present utility model, but is merely representative of selected embodiment of the present utility model.Based on embodiment of the present utility model, the every other embodiment that those skilled in the art obtain under the premise not making creative work, broadly fall into the scope of this utility model protection.
In description of the present utility model, it should be noted that, orientation or the position relationship of the instruction such as term " " center ", " on ", D score, "left", "right", " vertically ", " level ", " interior ", " outward " be based on orientation shown in the drawings or position relationship; be for only for ease of description this utility model and simplifying and describe; rather than instruction or imply indication device or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that to restriction of the present utility model.Additionally, term " first ", " second ", " the 3rd " are only for descriptive purposes, and it is not intended that indicate or hint relative importance.
In description of the present utility model, it is necessary to explanation, unless otherwise clearly defined and limited, term " installation ", " being connected ", " connection " should be interpreted broadly, for instance, it is possible to it is fixing connection, it is also possible to be removably connect, or connect integratedly;Can be mechanically connected, it is also possible to be electrical connection;Can be joined directly together, it is also possible to be indirectly connected to by intermediary, it is possible to be the connection of two element internals.For the ordinary skill in the art, it is possible to concrete condition understands above-mentioned term concrete meaning in this utility model.
Consider prior art utilizes the mode control PLC of wired connection, there is line arrangement complexity, implement the defect that difficulty is big, this utility model provides a kind of programmable logic controller (PLC) central control device and system, programmable logic controller (PLC) is controlled by the mode adopting controlled in wireless, control mode is flexible, it is possible to alleviate when having line traffic control the problem that line arrangement is complicated, enforcement difficulty is big.It is specifically described below in conjunction with accompanying drawing.
With reference to programmable logic controller (PLC) central control device as shown in Figure 1, this device includes radio communication circuit 11, instruction processing unit 12 and output circuit 13;
The outfan of radio communication circuit 11 is connected with the input of instruction processing unit 12, and the outfan of instruction processing unit 12 is connected with the input of output circuit 13, and the outfan of output circuit 13 is connected with programmable logic controller (PLC) PLC;
Radio communication circuit 11 receives the control instruction of this PLC, and control instruction is transferred to instruction processing unit 12;Control instruction is processed by instruction processing unit 12, is sent the control instruction processed to above-mentioned PLC by output circuit 13.
In this utility model embodiment, radio communication circuit 11 can the control instruction of wireless receiving PLC, control instruction can be processed by instruction processing unit 12, and the control instruction after processing can be sent to PLC by output circuit 13, thus adopting the mode of controlled in wireless that PLC is controlled.Compared with the mode having line traffic control, controlled in wireless mode is more flexible, it is possible to alleviate when having line traffic control the problem that line arrangement is complicated, enforcement difficulty is big.
In the region of some bad environments, adopt the mode of controlled in wireless can also reduce the cost that when having line traffic control, cable wiring manufacture brings.
In the present embodiment, radio communication circuit 11 includes mobile data communication circuit and Beidou communication circuit, it is able to receive that, by mobile data communication circuit, the control instruction that control centre is sent by mobile communications network, is able to receive that, by Beidou communication circuit, the control instruction that control centre is sent by Beidou communication network.One preferred embodiment in, mobile data communication circuit and Beidou communication circuit receive data simultaneously, thus ensure receive complete control instruction, it is ensured that data transmission safe and reliable.Control instruction is also transferred to instruction processing unit 12 after receiving the control instruction that control centre sends by radio communication circuit 11.
Instruction processing unit 12 includes the device such as single-chip microcomputer, memorizer.Instruction processing unit 12 receives the control instruction that radio communication circuit 11 sends, and control instruction is amplified, filters, signal extraction etc. processes, and sends the control instruction after processing to output circuit 13.
Output circuit 13 includes RS232 interface or RS422 interface or includes RS232 interface and RS422 interface simultaneously.Output circuit 13 is connected with one or more PLC device by each class interface.After output circuit 13 receives the control instruction processed that instruction processing unit 12 sends, also the control instruction processed is sent to connected PLC device, thus reaching the control action to PLC device.
In this utility model embodiment, adopting the mode of controlled in wireless that programmable logic controller (PLC) is controlled, control mode is flexible, it is possible to alleviate when having line traffic control the problem that line arrangement is complicated, enforcement difficulty is big.
Considering in Industry Control, it usually needs multiple PLC device are controlled, with reference to programmable logic controller (PLC) central control device as shown in Figure 2, in this device, output circuit 13 is multiple, is connected with corresponding PLC respectively.Instruction processing unit 12 includes: resolving elements 121, is used for receiving control instruction, resolves the address information of purpose PLC corresponding to control instruction, and exports this address information;The matching element 122 being connected with resolving elements 121, is used for receiving address above mentioned information, OPADD matching result information;The control element 123 being connected with matching element 122, is used for receiving address above mentioned matching result information, output resume processing instruction;With control the treatment element 124 that is connected of element 123, be used for receiving and above-mentioned continue with instruction, control instruction is processed, the control instruction that will process sends the output circuit 13 that extremely above-mentioned address information is corresponding.
Specifically, when controlling multiple PLC device, each PLC device is correspondingly arranged on an output circuit 13, and each PLC device has unique address information.When instruction processing unit 12 in Fig. 2 works, first received, by resolving elements 121, the control instruction that radio communication circuit 11 sends.Resolving elements 121 parses the address information of purpose PLC corresponding to control instruction, and sends this address information to matching element 122.Matching element 122 includes single-chip microcomputer and memorizer etc..After matching element 122 receives address above mentioned information, the address information of address above mentioned information with all PLC device prestored is mated, and generate address matching result information according to matching result.Address matching result information can be represented by 1 and 0,1 expression finds address above mentioned information in the address information of all PLC device prestored, the match is successful, and 0 represents not find address above mentioned information in the address information of all PLC device prestored, and it fails to match.Address matching result information is sent to controlling element 123 by matching element 122.After control element 123 receives address above mentioned matching result information, if address matching result information is 1, represent that the match is successful, then output resume processing instruction, if address matching result information is 0, represent that it fails to match, then output termination work order.In a kind of situation, treatment element 124 receives and above-mentioned continues with instruction, control instruction is amplified, filters, signal extraction etc. processes, and the control instruction processed is sent the output circuit 13 that extremely above-mentioned address information is corresponding, so that output circuit 13 sends the PLC device that extremely above-mentioned address information is corresponding, reach the control action to PLC device.In another kind of situation, treatment element 124 can also receive above-mentioned termination work order, stops this instruction process work.
In the present embodiment, arrange multiple output circuit 13 to connect one to one with multiple PLC device, and resolving elements, matching element, control element and treatment element are set the address information in control instruction is resolved and processes, make can accurately control multiple PLC device by the device in the present embodiment, reach the purpose of centralized Control PLC device.
In the present embodiment, output circuit 13 includes level conversion element, for the control instruction processed converts to level signal corresponding to PLC, and sends this level signal to PLC.Specifically, after output circuit 13 receives the control instruction processed, utilize level conversion element that the control instruction processed converts to level signal corresponding to PLC, and this level signal is sent to PLC, so that PLC runs under the control of control instruction.In the present embodiment, by arranging level conversion element, it is possible to the control instruction processed to be converted to level signal corresponding to PLC, so that PLC can run under the control of control instruction.
Consider the situation needing to send time service information to PLC under some working condition, in the present embodiment, as shown in Figure 2, radio communication circuit 11 includes Beidou communication circuit 111, Beidou communication circuit 111 receives the time service information of PLC, time service information is transferred to instruction processing unit 12, and time service information is processed by instruction processing unit 12, is sent the time service information processed to PLC by output circuit 13.Specifically, Beidou communication circuit 111 receives the time service information of PLC, time service information is transferred to instruction processing unit 12, time service information is amplified by instruction processing unit 12, signal extraction etc. processes, the time service information processed is sent to output circuit 13, time service information is converted to level signal corresponding to PLC by output circuit 13, and level signal is sent to PLC device by this, thus being reached for the purpose of PLC device time service.In the present embodiment, utilize Beidou communication circuit can not only receive the control instruction of PLC, additionally it is possible to receive the time service information of PLC, thus being reached for the purpose of PLC time service.
Consider that mobile communications network is extensively popularized, in the present embodiment, as in figure 2 it is shown, radio communication circuit 11 also includes mobile data communication circuit 112.In the present embodiment, it is able to receive that, by mobile data communication circuit 112, the control instruction that control centre is sent by mobile communications network, thus control PLC work.
In the present embodiment, output circuit 13 includes RS232 interface, or includes RS422 interface, or includes RS232 interface and RS422 interface simultaneously.The present embodiment can configure the quantity of output circuit as required, and in upper range, reserve output circuit, when needing to increase the PLC device controlled, it is only necessary to PLC device be connected on reserved output circuit, therefore the device in the present embodiment also has the convenient advantage of extension.
As in figure 2 it is shown, the device in the present embodiment also includes the memorizer 14 being connected with instruction processing unit 12.Memorizer 14 includes FLASH memory and buffer memory two parts.Buffer memory is used for the temporary time service information received and control instruction, and FLASH memory is used for storing address information and other device configuration informations of multiple PLC device.
As in figure 2 it is shown, the device in the present embodiment also includes the configuration interface 15 being connected with instruction processing unit 12.User can pass through to configure interface 15 and the address information of multiple PLC device is edited in unified address file, and by this address file programming to above-mentioned FLASH memory.
As in figure 2 it is shown, the device in the present embodiment also includes power module 16, for powering for whole device.
The work process of the programmable logic controller (PLC) central control device in Fig. 2 is as follows:
(1) Big Dipper satellite signal or mobile data network are monitored by Beidou communication circuit 111 and mobile data communication circuit 112.Without listening to Big Dipper signal or mobile data are maintained for standby listening state.
(2) if listening to Big Dipper signal or mobile data, then by the data buffer storage that receives to memorizer 14, instruction processing unit 12 resolves and data cached obtains purpose PLC address.
(3) instruction processing unit 12 reads the PLC address list being pre-configured with from memorizer 14, and the purpose PLC address parsed is mated with the PLC address list being pre-configured with, if mating unsuccessful, by termination, reenter satellite-signal listening state.Next step operation is entered if the match is successful.
(4) address is after the match is successful, and output circuit 13 sends appointment PLC device to after converting data (instruction or time service information) to PLC device discernible fiduciary level.
(5) it is again introduced into listening state, prepares catching and processing of signal next time.
Further, this utility model additionally provides a kind of programmable logic controller (PLC) centralized control system, as it is shown on figure 3, this system includes above-mentioned programmable logic controller (PLC) central control device, also include the programmable logic controller (PLC) PLC31 being connected with output circuit 13.Multiple PLC connect one to one with output circuit 13 respectively.
By programmable logic controller (PLC) centralized control system as shown in Figure 3, adopting the mode of controlled in wireless that programmable logic controller (PLC) is controlled, control mode is flexible, it is possible to alleviate when having line traffic control the problem that line arrangement is complicated, enforcement difficulty is big.
To sum up, programmable logic controller (PLC) central control device mentioned above and system have the advantages that
(1) adopting the mode of controlled in wireless that programmable logic controller (PLC) is controlled, control mode is flexible, it is possible to alleviate when having line traffic control the problem that line arrangement is complicated, enforcement difficulty is big.
(2) utilize Beidou satellite system RDSS (RadioDeterminationSatelliteService, radiodetermination-satellite service) function and mobile data to be uniformly controlled multiple PLC device, make scattered PLC device be easy to centralized Control.Compared to traditional wired control mode, based on the PLC central control device of dipper system and mobile data network so that multiple PLC device easily facilitate and are remotely operated, and the precision time service business of dipper system can carry out unifying time service for multiple PLC device.
Last it is noted that embodiment described above, it is only detailed description of the invention of the present utility model, in order to the technical solution of the utility model to be described, it is not intended to limit, protection domain of the present utility model is not limited thereto, although this utility model being described in detail with reference to previous embodiment, it will be understood by those within the art that: any those familiar with the art is in the technical scope that this utility model discloses, technical scheme described in previous embodiment still can be modified by it maybe can readily occur in change, or wherein portion of techniques feature is carried out equivalent replacement;And these amendments, change or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of this utility model embodiment technical scheme.All should be encompassed within protection domain of the present utility model.Therefore, protection domain of the present utility model should described be as the criterion with scope of the claims.

Claims (10)

1. a programmable logic controller (PLC) central control device, it is characterised in that described device includes radio communication circuit, instruction processing unit and output circuit;
The outfan of described radio communication circuit is connected with the input of described instruction processing unit, and the outfan of described instruction processing unit is connected with the input of described output circuit, and the outfan of described output circuit is connected with programmable logic controller (PLC) PLC;
Described radio communication circuit receives the control instruction of described PLC, and described control instruction is transferred to described instruction processing unit;Described control instruction is processed by described instruction processing unit, is sent the described control instruction processed to described PLC by described output circuit.
2. device according to claim 1, it is characterised in that described output circuit is multiple, connects with corresponding PLC respectively.
3. device according to claim 2, it is characterised in that described instruction processing unit includes:
Resolving elements, is used for receiving described control instruction, resolves the address information of purpose PLC corresponding to described control instruction, and exports described address information;
With the matching element that described resolving elements is connected, be used for receiving described address information, OPADD matching result information;
The control element being connected with described matching element, is used for receiving described address matching result information, output resume processing instruction;
With the treatment element that described control element is connected, continue with instruction described in being used for receiving, described control instruction processed, the described control instruction that will process sends to output circuit corresponding to described address information.
4. device according to claim 1, it is characterised in that described output circuit includes level conversion element, for the described control instruction processed converts to level signal corresponding to PLC, and sends described level signal to PLC.
5. device according to claim 1, it is characterised in that described radio communication circuit includes Beidou communication circuit;
Described Beidou communication circuit receives the time service information of PLC, and described time service information is transferred to described instruction processing unit, and described time service information is processed by described instruction processing unit, is sent the described time service information processed to PLC by described output circuit.
6. device according to claim 1, it is characterised in that described radio communication circuit includes mobile data communication circuit.
7. device according to claim 1, it is characterised in that described output circuit includes RS232 interface and/or RS422 interface.
8. device according to claim 1, it is characterised in that described device also includes the memorizer being connected with described instruction processing unit.
9. device according to claim 1, it is characterised in that described device also includes the configuration interface being connected with described instruction processing unit.
10. a programmable logic controller (PLC) centralized control system, it is characterised in that include the device as described in any one of claim 1 to 9, also includes the programmable logic controller (PLC) PLC being connected with described output circuit.
CN201620148821.4U 2016-02-26 2016-02-26 Programmable logic controler centralized control device and system Active CN205405227U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620148821.4U CN205405227U (en) 2016-02-26 2016-02-26 Programmable logic controler centralized control device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620148821.4U CN205405227U (en) 2016-02-26 2016-02-26 Programmable logic controler centralized control device and system

Publications (1)

Publication Number Publication Date
CN205405227U true CN205405227U (en) 2016-07-27

Family

ID=56425185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620148821.4U Active CN205405227U (en) 2016-02-26 2016-02-26 Programmable logic controler centralized control device and system

Country Status (1)

Country Link
CN (1) CN205405227U (en)

Similar Documents

Publication Publication Date Title
CN103809587B (en) A kind of electric automobile auto-check system based on wireless network and method
CN103914972A (en) Household electrical appliance control device and infrared learning method thereof
CN103595717A (en) Household appliance control protocol conversion method and control terminal
CN103051734A (en) Remote voice control method and system for household electrical appliance and communication terminal
CN105516078A (en) Protocol converter
CN103634169A (en) A household electrical appliance control system realized based on intelligent terminals
CN111246546A (en) Networking working method of off-line electric embedded equipment
EP3439235B1 (en) Configuring and operating a system with building automation devices
CN103296540B (en) A kind of socket, terminal and the method controlling socket switch
Niranjana et al. Effectual home automation using ESP32 NodeMCU
CN205405227U (en) Programmable logic controler centralized control device and system
CN108023897B (en) Communication port and electronic equipment with same
JP4940764B2 (en) Communication control device
KR101349939B1 (en) Protocol converter
CN105024236A (en) Automatic code matching intelligent socket and automatic code matching method thereof
CN110941195A (en) Smart home Modbus master control system controlled by portable terminal
CN204389926U (en) A kind of kitchen appliance that can receive mobile phone flashlight signal
CN205028063U (en) Smart home system
CN204496242U (en) A kind of PLC radio communication device
CN103873648A (en) Universal remote control system
CN205375063U (en) Programmable logic controler and control system thereof
CN105448069A (en) Bluetooth controller and operation method
JP2022527419A (en) Underground tools, signal transmission systems and signal transmission methods
KR20170086334A (en) Iot actuator terminal smart frame work
CN217037221U (en) Equipment monitoring system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant