CN104184924A - Displaying method for LED smart glass - Google Patents

Displaying method for LED smart glass Download PDF

Info

Publication number
CN104184924A
CN104184924A CN201410453077.4A CN201410453077A CN104184924A CN 104184924 A CN104184924 A CN 104184924A CN 201410453077 A CN201410453077 A CN 201410453077A CN 104184924 A CN104184924 A CN 104184924A
Authority
CN
China
Prior art keywords
image pixel
gray value
pixel gray
led
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
CN201410453077.4A
Other languages
Chinese (zh)
Other versions
CN104184924B (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.)
Dalian Ji Site Science And Technology Ltd
Original Assignee
Dalian Ji Site Science And Technology 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 Dalian Ji Site Science And Technology Ltd filed Critical Dalian Ji Site Science And Technology Ltd
Priority to CN201410453077.4A priority Critical patent/CN104184924B/en
Publication of CN104184924A publication Critical patent/CN104184924A/en
Application granted granted Critical
Publication of CN104184924B publication Critical patent/CN104184924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Control Of El Displays (AREA)

Abstract

The embodiment of the invention provides a displaying method for LED smart glass. The method includes the steps that a processor receives video signals which include the control signal, the clock signal and an image pixel gray value; a modified value for displaying the image pixel gray value is worked out through the processor according to threshold currents of an LED and the image pixel gray value; the image pixel gray value is adjusted through the processor according to the modified value of the image pixel gray value; the processor sends the adjusted image pixel gray value to an actuating device, and the adjusted image pixel gray value is used for displaying the video signals through the LED smart glass. The technical problems that noise is generated and distortion occurs when video images are displayed through LED smart glass in the prior art are solved according to the method.

Description

The display packing of LED intelligent glass
Technical field
The embodiment of the present invention relates to telecommunication field, relates in particular to a kind of display packing of LED intelligent glass.
Background technology
LED intelligent glass claims again electrified light emitting glass, automatically controlled fluorescent glass, is invented the earliest by Germany, and China is successfully exploitation in 2006.There is penetrating, anti-riot, waterproof, antiultraviolet, the feature such as can design.Be mainly used in the fields such as indoor and outdoor decoration, furniture design, fluorescent tube Lighting Design, outdoor cladding glass, glass sunlight house design.The form of complete clear glass and the combination of colorful photoelement have multiple safety protection performance simultaneously, make it more be conducive to various designs application.LED glass possesses structure configuration flexibly, no matter be that glass size is as size and thickness, or LED pattern can free design alternative, to meet building, to decorate or the auxiliary demand of illumination, there are powerful autgmentability and diversity, can punch or Suresh Kumar is cut out to glass, to coordinate the requirement of concrete engineering simultaneously.LED glass can coordinate intelligent whistle control system to luminous control of the built-in LED of glass, produce flicker, gradual change texts, simultaneously also can be taking single chip LED glass as dynamic cell, carry out the special lighting effects of combined interaction, to meet requirement and the design element of environment or building to light itself.
Because LED intelligent glass has the characteristic that LED shows, but LED display characteristic can not be adapted to LED intelligent glass completely, thereby while causing LED intelligent glass display video image, has the problem of noise and distortion.
Summary of the invention
The embodiment of the present invention provides a kind of display packing of LED intelligent glass, has the technical problem of noise and distortion when overcoming LED intelligent glass display video image in prior art.
The embodiment of the present invention provides a kind of display packing of LED intelligent glass, comprising:
Processor receiving video signals, described vision signal comprises control signal, clock signal and image pixel gray value;
Described processor, according to the threshold current of LED, described image pixel gray value, is obtained the correction value that shows image pixel gray value;
Described processor regulates described image pixel gray value according to the correction value of described image pixel gray value;
Described processor is sent to drive unit by the image pixel gray value after regulating and shows described vision signal for LED intelligent glass.
Further, described processor, according to the threshold current of LED, described image pixel gray value, is obtained the correction value that shows image pixel gray value, comprising:
Described processor adopting formula
N=a*TM/I in(1) obtain the correction value of image pixel gray value according to LED threshold current, wherein, described n is the correction value of image pixel gray value, and described a is LED threshold current, and described TM is the binary number that M bit is corresponding, described I infor the maximum current of LED input;
Described processor regulates described image pixel gray value according to the correction value of described image pixel gray value, comprises;
If described image pixel gray value is less than the correction value of described image pixel gray value, adopt formula
X 1=X+a*TM/I in(2) calculate second and regulate image pixel gray value, and regulate described image pixel gray value according to described the second adjusting image pixel gray value, wherein, described X 1for the image pixel gray value after regulating, described X is image pixel gray value;
Or,
If described image pixel gray value is greater than the correction value of described image pixel gray value, adopt formula
X 1=X* (TM-a*TM/I in)/(I in-2a) (3) calculating the second adjusting image pixel gray value, and regulate image pixel gray value to regulate described image pixel gray value according to described second.
Further, described processor, according to the threshold current of LED, described image pixel gray value, is obtained the correction value that shows image pixel gray value, comprising:
Described processor adopting formula
△X=P*X*3*12*f/F (4)
Calcuating correction value, wherein, described △ X is correction value, the average gray value that described P is image, the number that described X is LED, each LED divides R, G, tri-components of B, and each component is 12 bit data, and described F is system clock, and described f is frame frequency;
Described processor regulates described image pixel gray value according to the correction value of described image pixel gray value, comprising:
Described processor adopting formula
X2=X1-△X (5)
Regulate described image pixel gray value, wherein, described X1 is image pixel gray value claimed in claim 2, and described X2 is the image pixel gray value after regulating, and described △ X is correction value.
Further, described processor is sent to the image pixel gray value after regulating after drive unit shows described vision signal for LED intelligent glass, also comprises:
Described processor receives extraneous light intensity signal;
Described processor regulates LED input current according to described light intensity signal.
Further, described processor regulates LED input current according to described light intensity signal, comprising:
Described processor adopting formula
I led-I b=C (6)
Calculate LED input current value, and regulate the input current of LED according to described ambient light forceful electric power flow valuve, wherein, described C is responsive light intensity constant, described I ledfor LED input current, described I bfor current value corresponding to extraneous light intensity.
Embodiment of the present invention processor is by trying to achieve threshold value gray scale by LED threshold current, regulate the grey scale signal in received vision signal according to this threshold value gray scale, and the grey scale signal after regulating is sent to drive unit and shows this vision signal for LED intelligent glass, while having solved LED intelligent glass display video image in prior art, there is the problem of noise and distortion, improved the accuracy rate that LED intelligent glass shows.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the display packing flow chart of LED intelligent glass of the present invention;
Fig. 2 is LED gray scale of the present invention and electric current mapping relations schematic diagram;
Fig. 3 is LED gray scale of the present invention and bias light electric current mapping relations schematic diagram;
Fig. 4 is the schematic diagram that LED of the present invention regulates background noise duty ratio;
Fig. 5 is another flow chart of display packing of LED intelligent glass of the present invention;
Fig. 6 is LED threshold values of the present invention and luminous intensity relationship schematic diagram.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is the display packing flow chart of LED intelligent glass of the present invention, and as shown in Figure 1, the method for the present embodiment can comprise:
Step 101, processor receiving video signals, described vision signal comprises control signal, clock signal and image pixel gray value;
Step 102, described processor, according to the threshold current of LED, described image pixel gray value, are obtained the correction value that shows image pixel gray value;
Specifically, LED has threshold current, and in the time being greater than this threshold current by the electric current of LED, LED could show corresponding vision signal, and in the time being less than this threshold current by the electric current of LED, LED is not lit, also cannot the corresponding image of display video signal, cause the distortion of image.In addition, the display being made up of polylith LED intelligent glass is to adopt serial mode input, therefore seal in and in the process of going here and there out, have certain transit time in view data, thereby can produce background noise electric current, this noise current can cause in image display process the problem that can not polylith LED intelligent glass simultaneously shows image.
Step 103, described processor regulate described image pixel gray value according to the correction value of described image pixel gray value;
Step 104, described processor are sent to drive unit by the image pixel gray value after regulating and show described vision signal for LED intelligent glass.
Further, described processor, according to the threshold current of LED, described image pixel gray value, is obtained the correction value that shows image pixel gray value, comprising:
Described processor adopting formula
N=a*TM/I in(1) obtain the correction value of image pixel gray value according to LED threshold current, wherein, described n is the correction value of image pixel gray value, and described a is LED threshold current, and described TM is the binary number that M bit is corresponding, described I infor the maximum current of LED input;
Described processor regulates described image pixel gray value according to the correction value of described image pixel gray value, comprises;
If described image pixel gray value is less than the correction value of described image pixel gray value, adopt formula
X 1=X+a*TM/I in(2) calculate second and regulate image pixel gray value, and regulate described image pixel gray value according to described the second adjusting image pixel gray value, wherein, described X 1for the image pixel gray value after regulating, described X is image pixel gray value;
Or,
If described image pixel gray value is greater than the correction value of described image pixel gray value, adopt formula
X 1=X* (TM-a*TM/I in)/(I in-2a) (3) calculating the second adjusting image pixel gray value, and regulate image pixel gray value to regulate described image pixel gray value according to described second.
Specifically, because LED intelligent glass has the characteristic that LED shows, LED has corresponding threshold current, and in the time that the input current of LED is less than threshold current, LED cannot show the corresponding pixel points of the video image of input.Cause video image to have the problem of loss or noise.The present embodiment processor obtains according to LED threshold current the threshold value gray scale that LED is corresponding, adopt formula (2) to calculate for the image pixel gray value that is less than this threshold value gray scale in the vision signal receiving and regulate image pixel gray value, and regulate the image pixel gray value in vision signal according to this adjusting image pixel gray value; The image pixel gray value that is greater than this threshold value gray scale for the vision signal receiving adopts formula (3) to calculate adjusting image pixel gray value, and regulates the image pixel gray value in vision signal according to this adjusting image pixel gray value.Avoided with original video signal in overlap after being less than the image pixel gray value adjustment of threshold value gray scale, cause video image distortion.Fig. 2 is the mapping relations schematic diagram of LED gray scale of the present invention and electric current.
In the present embodiment, processor is according to the corresponding threshold value gray scale of the threshold current of LED, and adjust image pixel gray value in vision signal according to described threshold value gray scale, and the image pixel gray value after regulating is sent to drive unit shows described vision signal for LED intelligent glass.The problem of image fault while having solved LED intelligent glass display video image in prior art, has improved the fidelity that LED intelligent glass shows image.
Fig. 3 is LED gray scale of the present invention and bias light electric current mapping relations schematic diagram, as shown in Figure 3,
Described processor, according to the threshold current of LED, described image pixel gray value, is obtained the correction value that shows image pixel gray value, comprising:
Described processor adopting formula
△X=P*X*3*12*f/F (4)
Calcuating correction value, wherein, described △ X is correction value, the average gray value that described P is image, the number that described X is LED, each LED divides R, G, tri-components of B, and each component is 12 bit data, and described F is system clock, and described f is frame frequency;
Described processor regulates described image pixel gray value according to the correction value of described image pixel gray value, comprising:
Described processor adopting formula
X2=X1-△X (5)
Regulate described image pixel gray value, wherein, described X1 is image pixel gray value claimed in claim 2, and described X2 is the image pixel gray value after regulating, and described △ X is correction value.
Owing to adopting PWM serial data modulation grey scale signal, in transmitting procedure, a lot of data have been passed through in LED serial, the shown background noise that is, what human eye perceives arrived is exactly the phenomenon of white screen, by calculating △ X, make after transfer of data arrives LED, can and the normal desirable mapping relations of noise backlight stack formation 2.
The curve of X2, as shown in 1 in Fig. 3, is the electric current before arrival LED and the mapping relations of gray value.△ I is current value corresponding to correction value △ X, and the mapping relations that LED shows are shown in 2 curves in Fig. 3, have eliminated the white light of background, make mapping relations reach normal demonstration relation, as shown in Figure 4.
Display screen backgrounds noise=transition value-threshold values (6)
Because current value corresponding to △ I be transition value, make background noise arrive the comfort level of human eye by the value of △ I.Eliminated the white screen phenomenon of display screen.Fig. 6 is the schematic diagram that LED of the present invention regulates background noise duty ratio.
The present embodiment, processor is by computed image average gray value, try to achieve the correction value of image according to this image averaging gray value, regulate digital gray scale signal according to this correction value, avoided vision signal in the time that the serial of LED intelligent glass shows, to have the phenomenon of noise, thereby LED intelligent glass show that under serial display mode image reaches the effect of Concurrent Display.
Fig. 5 is another flow chart of display packing of LED intelligent glass of the present invention, and as shown in Figure 5, the method for the present embodiment, on the basis of Fig. 1, can also comprise:
Step 105, described processor receive extraneous light intensity signal;
Step 106, described processor regulate LED input current according to described light intensity signal.
Further, described processor regulates LED input current according to described light intensity signal, comprising:
Described processor adopting formula
I led-I b=C (7)
Calculate LED input current value, and regulate the input current of LED according to described ambient light forceful electric power flow valuve, wherein, described C is responsive light intensity constant, described I ledfor LED input current, described I bfor electric current corresponding to extraneous light intensity.
Specifically, adopt photoreceptor to receive extraneous light intensity in the present embodiment, also can adopt other modes to gather extraneous light intensity, the present embodiment does not limit this.By this photoreceptor, light intensity is converted to corresponding current value, and this current value is sent to processor, processor regulates LED input current according to formula (8), and this LED input current computing formula is
I led=K*D*I in/TM (8)
Wherein, described K is self-regulation constant, and described D is grey scale signal.In the time that extraneous light intensity increases, I bbecome large, for keeping the responsive light intensity constant of C constant, the electric current that LED is corresponding becomes large, and K is greater than 1; In the time that extraneous light intensity dies down, I bdiminish, for keeping the responsive light intensity constant of C constant, the electric current that LED is corresponding diminishes, and K is less than 1.Photoreceptor gathers the average intensity of illumination of a day in advance, and carries out current conversion, and in the time that extraneous intensity of illumination is consistent with average intensity of illumination, K equals 1.Realize according to the gray scale of extraneous light intensity regulating LED intelligent glass and having shown, thereby played energy-conservation effect.Fig. 6 is LED threshold values of the present invention and luminous intensity relationship schematic diagram.When electric current is little when the threshold values a, LED luminous intensity is 0, in the time that LED input current reaches maximum, and LED luminous intensity maximum.
The present embodiment, processor, after ensureing the complete demonstration of vision signal, receives extraneous light intensity signal, regulates in real time LED input current according to described light intensity signal, realize according to the gray scale of extraneous light intensity regulating LED intelligent glass and having shown, thereby played energy-conservation effect.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to aforementioned each embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or some or all of technical characterictic is wherein equal to replacement; And these amendments or replacement do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (5)

1. a display packing for LED intelligent glass, is characterized in that, comprising:
Processor receiving video signals, described vision signal comprises control signal, clock signal and image pixel gray value;
Described processor, according to the threshold current of LED, described image pixel gray value, is obtained the correction value that shows image pixel gray value;
Described processor regulates described image pixel gray value according to the correction value of described image pixel gray value;
Described processor is sent to drive unit by the image pixel gray value after regulating and shows described vision signal for LED intelligent glass.
2. method according to claim 1, is characterized in that, described processor, according to the threshold current of LED, described image pixel gray value, is obtained the correction value that shows image pixel gray value, comprising:
Described processor adopting formula
N=a*TM/I in(1) obtain the correction value of image pixel gray value according to LED threshold current, wherein, described n is the correction value of image pixel gray value, and described a is LED threshold current, and described TM is the binary number that M bit is corresponding, described I infor the maximum current of LED input;
Described processor regulates described image pixel gray value according to the correction value of described image pixel gray value, comprises;
If described image pixel gray value is less than the correction value of described image pixel gray value, adopt formula
X 1=X+a*TM/I in(2) calculate second and regulate image pixel gray value, and regulate described image pixel gray value according to described the second adjusting image pixel gray value, wherein, described X 1for the image pixel gray value after regulating, described X is image pixel gray value;
Or,
If described image pixel gray value is greater than the correction value of described image pixel gray value, adopt formula
X 1=X* (TM-a*TM/I in)/(I in-2a) (3) calculating the second adjusting image pixel gray value, and regulate image pixel gray value to regulate described image pixel gray value according to described second.
3. method according to claim 1, is characterized in that, described processor, according to the threshold current of LED, described image pixel gray value, is obtained the correction value that shows image pixel gray value, comprising:
Described processor adopting formula
△X=P*X*3*12*f/F (4)
Calculate LED average current, wherein, described △ X is correction value, the average gray value that described P is image, and the number that described X is LED, each LED divides R, G, tri-components of B, and each component is 12 bit data, and described F is system clock, and described f is frame frequency;
Described processor regulates described image pixel gray value according to the correction value of described image pixel gray value, comprising:
Described processor adopting formula
X2=X1-△X (5)
Regulate described image pixel gray value, wherein, described X1 is image pixel gray value claimed in claim 2, and described X2 is the image pixel gray value after regulating, and described △ X is correction value.
4. according to the method described in claims 1 to 3 any one, it is characterized in that, described processor is sent to the image pixel gray value after regulating after drive unit shows described vision signal for LED intelligent glass, also comprises:
Described processor receives extraneous light intensity signal;
Described processor regulates LED input current according to described light intensity signal.
5. method according to claim 4, is characterized in that, described processor regulates LED input current according to described light intensity signal, comprising:
Described processor adopting formula
I led-I b=C (6)
Calculate LED input current value, and regulate the input current of LED according to described ambient light forceful electric power flow valuve, wherein, described C is responsive light intensity constant, described I ledfor LED input current, described I bfor current value corresponding to extraneous light intensity.
CN201410453077.4A 2014-09-05 2014-09-05 The display methods of LED intelligent glass Active CN104184924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410453077.4A CN104184924B (en) 2014-09-05 2014-09-05 The display methods of LED intelligent glass

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410453077.4A CN104184924B (en) 2014-09-05 2014-09-05 The display methods of LED intelligent glass

Publications (2)

Publication Number Publication Date
CN104184924A true CN104184924A (en) 2014-12-03
CN104184924B CN104184924B (en) 2018-01-30

Family

ID=51965638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410453077.4A Active CN104184924B (en) 2014-09-05 2014-09-05 The display methods of LED intelligent glass

Country Status (1)

Country Link
CN (1) CN104184924B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114420008A (en) * 2022-02-10 2022-04-29 深圳市飞帆泰科技有限公司 Electronic display screen with low-radiation glass

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484213A (en) * 2002-09-17 2004-03-24 王晓峰 Method and device for controlling luminance of large LED screen
CN1703731A (en) * 2001-12-28 2005-11-30 先锋株式会社 Panel display driving device and driving method
US20070001941A1 (en) * 2005-07-04 2007-01-04 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
JP2008102305A (en) * 2006-10-19 2008-05-01 Seiko Epson Corp Image display device
CN102402942A (en) * 2011-11-02 2012-04-04 深圳创维-Rgb电子有限公司 Method for improving energy efficiency index of LED (light-emitting diode) display screen and LED display screen

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1703731A (en) * 2001-12-28 2005-11-30 先锋株式会社 Panel display driving device and driving method
CN1484213A (en) * 2002-09-17 2004-03-24 王晓峰 Method and device for controlling luminance of large LED screen
US20070001941A1 (en) * 2005-07-04 2007-01-04 Semiconductor Energy Laboratory Co., Ltd. Semiconductor device and driving method thereof
JP2008102305A (en) * 2006-10-19 2008-05-01 Seiko Epson Corp Image display device
CN102402942A (en) * 2011-11-02 2012-04-04 深圳创维-Rgb电子有限公司 Method for improving energy efficiency index of LED (light-emitting diode) display screen and LED display screen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114420008A (en) * 2022-02-10 2022-04-29 深圳市飞帆泰科技有限公司 Electronic display screen with low-radiation glass
CN114420008B (en) * 2022-02-10 2023-11-03 深圳市飞帆泰科技有限公司 Electronic display screen with low-emissivity glass

Also Published As

Publication number Publication date
CN104184924B (en) 2018-01-30

Similar Documents

Publication Publication Date Title
CN106991972B (en) A kind of booting brightness control method of organic luminous panel
KR102130667B1 (en) Electronic display with environmental adaptation of location-based display characteristics
US10832636B2 (en) Image processing apparatus, image processing method, and program
KR20130079301A (en) Flicker free color visible light communication system
CN103996392A (en) Screen brightness adjusting method and circuit and display device
JP2009008916A (en) Image display device
CN206163104U (en) Peep -proof display device and peep -proof display
CN107077830B (en) Screen brightness adjusting method suitable for unmanned aerial vehicle control end and unmanned aerial vehicle control end
CN102693698A (en) Automatic adjusting method and automatic adjusting system for brightness of outdoor LED (Light-Emitting Diode) display screen based on environmental light change
US20210082337A1 (en) Led display system and led display device
CN109979415B (en) Method and system for converting RGB (red, green and blue) into RGBW (red, green and blue)
CN103390395A (en) Method and electronic equipment for adjusting brightness of display
KR20170135394A (en) Display system of light emitting diode using near field communication
JP5326016B2 (en) Liquid crystal display
EP4138029A1 (en) Method and apparatus for processing dynamic range of image
WO2017020545A1 (en) Method for adjusting backlight brightness of television set and box for adjusting backlight brightness of television set
CN104184924A (en) Displaying method for LED smart glass
JP2013190566A (en) Multi-display system, and brightness adjustment method for use in the same
WO2015061237A1 (en) Brightness control for an led display
CN101980331A (en) Method for adjusting luminance of light-emitting diode (LED) display screen
CN107507559B (en) A method of promoting LED high color depth display effect
CN201788644U (en) LED display screen for effectively eliminating moire fringes
CN111163570A (en) NB-IOT (NB-IOT) -based indoor lamp combination regulation and control system and method
CN104795022B (en) A kind of light intensity self-adaptive type LED display
KR101385264B1 (en) Power saving control system and method for led electronic sign

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