CN108230992A - Luminous tube matrix drive method, device and storage medium - Google Patents
Luminous tube matrix drive method, device and storage medium Download PDFInfo
- Publication number
- CN108230992A CN108230992A CN201711432080.8A CN201711432080A CN108230992A CN 108230992 A CN108230992 A CN 108230992A CN 201711432080 A CN201711432080 A CN 201711432080A CN 108230992 A CN108230992 A CN 108230992A
- Authority
- CN
- China
- Prior art keywords
- luminous tube
- matrix
- tube matrix
- luminance
- luminous
- 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
Links
- 239000011159 matrix material Substances 0.000 title claims abstract description 126
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000003760 hair shine Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 235000006508 Nelumbo nucifera Nutrition 0.000 description 1
- 240000002853 Nelumbo nucifera Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Control Of El Displays (AREA)
Abstract
The invention discloses a kind of luminous tube matrix drive method, device and storage medium, the method includes:Determine the target gray rank of luminous tube matrix luminescent;According to the target gray rank, the luminance of each luminous tube in the luminous tube matrix is determined;According to the luminance of each luminous tube, each luminous tube in the luminous tube matrix is driven to light or extinguish.Present invention efficiently solves the high cost problems that luminous tube matrix gray scale is shown.
Description
Technical field
The present invention relates to electronic technology fields, are situated between more particularly to a kind of luminous tube matrix drive method, device and storage
Matter.
Background technology
The appearance of LED (Light Emitting Diode, light emitting diode) luminous tube matrix is designed to the display of product
Bring the development of great-leap-forward.Existing LED drive controls method will realize that the gray scale of LED light tube matrix is shown, be controlled
The limitation of MCU (Microcontroller Unit, micro-control unit) resource, causes high expensive, and show list in circuit
One.
Invention content
In order to overcome drawbacks described above, the technical problem to be solved in the present invention is to provide a kind of luminous tube matrix drive method,
Device and storage medium, to solve to realize the high cost problem that luminous tube matrix gray scale is shown.
In order to solve the above technical problems, a kind of luminous tube matrix drive method in the present invention, including:
Determine the target gray rank of luminous tube matrix luminescent;
According to the target gray rank, the luminance of each luminous tube in the luminous tube matrix is determined;
According to the luminance of each luminous tube, each luminous tube in the luminous tube matrix is driven to light or extinguish.
In order to solve the above technical problems, a kind of luminous tube matrix drive device in the present invention, including memory module and place
Module is managed, the memory module is stored with luminous tube matrix driving computer program, and the processing module performs the computer
Program, the step of to realize method as described above.
In order to solve the above technical problems, a kind of computer readable storage medium in the present invention, is stored with luminous tube matrix
Computer program is driven, when the computer program is performed by least one processing module, to realize the step of method as described above
Suddenly.
The present invention has the beneficial effect that:
The present invention by determining the target gray rank of luminous tube matrix luminescent and according to the target gray rank,
The luminance of each luminous tube in the luminous tube matrix is determined, and according to the luminance of each luminous tube, described in driving
Each luminous tube is lighted or is extinguished in luminous tube matrix, so as to effectively solve the high cost problem that luminous tube matrix gray scale is shown.
Description of the drawings
Fig. 1 is a kind of flow chart of luminous tube matrix drive method in the embodiment of the present invention;
Fig. 2 is the frame diagram of luminous tube matrix drive system in the embodiment of the present invention;
Fig. 3 is a kind of structure diagram of luminous tube matrix drive device in the embodiment of the present invention.
Specific embodiment
In order to solve problem of the prior art, the present invention provides a kind of luminous tube matrix drive method, device and storages
Medium, below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should be appreciated that described herein
Specific embodiment does not limit the present invention only to explain the present invention.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Embodiment one
The embodiment of the present invention provides a kind of luminous tube matrix drive method, as shown in Figure 1, the method includes:
S101 determines the target gray rank of luminous tube matrix luminescent;
S102 according to the target gray rank, determines the luminance of each luminous tube in the luminous tube matrix;
S103 according to the luminance of each luminous tube, drives each luminous tube in the luminous tube matrix to light or put out
It goes out.
The embodiment of the present invention is by determining the target gray rank of luminous tube matrix luminescent and according to the target gray
Rank determines the luminance of each luminous tube in the luminous tube matrix, and according to the luminance of each luminous tube, driving
Each luminous tube is lighted or is extinguished in the luminous tube matrix, and the high cost shown so as to effectively solve luminous tube matrix gray scale is asked
Topic.
Can each luminous tube point in the luminous tube matrix be driven by preset driving circuit in the embodiment of the present invention
Bright or extinguishing.
Luminous tube can be LED light tube in the embodiment of the present invention, and driving circuit can be that LED drives in the embodiment of the present invention
Circuit is moved, method can perform in the MCU of LED control circuit in the embodiment of the present invention.
For example, as shown in Fig. 2, by the LED control circuit containing MCU, LED drive circuit and three, LED light tube matrix
Luminous tube matrix drive system is grouped as, method in the embodiment of the present invention is performed in wherein MCU, so as to make LED light tube matrix
It shines under LED control circuit and the collective effect of LED drive circuit, and different LED light tube has different brightness;
The special resource of MCU is not take up, and then can reduce cost with the limitation of MCU resources in uncontrolled circuit, make product simultaneously
Display design it is more succinct convenient.
On the basis of above-described embodiment, it is further proposed that the modification of above-described embodiment.
In embodiments of the present invention, optionally, the target gray rank of the determining luminous tube matrix luminescent, including:
The luminous tube matrix is set to carry out the number of greyscale levels that gray scale is shown;
In the number of greyscale levels, the target gray rank of the luminous tube matrix luminescent is determined.
In embodiments of the present invention, optionally, the luminance according to each luminous tube drives the luminous tube square
In battle array after each luminous tube, including:
According to the number of greyscale levels, the luminous tube matrix is driven to carry out gray scale by preset driving circuit and shown.
The gray scale that the embodiment of the present invention not only realizes luminous tube matrix is shown, display is made to have more stereovision, makes product
Design is more succinctly, conveniently;And during the gray scale for realizing luminous tube matrix is shown, MCU resources in uncontrolled circuit
Limitation, the design for making drive control circuit is more convenient, and at low cost.
In embodiments of the present invention, optionally, it is described in the number of greyscale levels, determine the luminous tube matrix luminescent
Target gray rank, including:
According to the number of greyscale levels, the number to the luminous tube matrix-scanning is determined;
When being scanned every time to the luminous tube matrix, the number of Current Scan is set as the luminous tube matrix
Luminous target gray rank.
In embodiments of the present invention, optionally, it is described according to the target gray rank, it determines in the luminous tube matrix
After the luminance of each luminous tube, including:
According to the gray scale of each luminous tube in the luminous tube matrix, the gray matrix of the luminous tube matrix is generated;
According to the luminance of each luminous tube and the gray matrix, the luminous shape of the luminous tube matrix is generated
State matrix.
Wherein, the target gray rank is not less than 0, and no more than the number of greyscale levels;The luminance includes hair
Light pipe is bright and luminous tube goes out.
Such as, it is first determined the number of greyscale levels of LED light tube matrix is 8 grades, and corresponding grey scale rank is from 0 to 7, wherein 0 most
Secretly, 7 is most bright, and numerical value is bigger, and it is higher to represent brightness;Secondly before scanning is started every time, each LED in LED light tube matrix
The gray scale (or brightness) of luminous tube can all uniquely determine, and form gray matrix A;Then before each scanning, according to gray matrix A
The bright or state of going out of LED light tube during present scan is determined, so as to form luminance matrix B.
Wherein gray matrix A and luminance matrix B difference are as follows:
Element a in gray matrix AijRepresent the gray scale of corresponding LED light tube, value range is 0≤aij≤7;Luminance
Element b in matrix BijValue for 0 or 1,0 expression luminous tube go out, 1 represent luminous tube it is bright.
In embodiments of the present invention, optionally, the luminance according to each luminous tube drives the luminous tube square
Each luminous tube is lighted or is extinguished in battle array, including:
According to the luminance matrix, each luminous tube in the luminous tube matrix is driven to light or extinguish.
Embodiment two
The embodiment of the present invention provides a kind of luminous tube matrix drive method, and specifically, the embodiment of the present invention shines according to LED
The difference of the gray scale of luminous tube in pipe matrix, control driving circuit touches the light that LED light tube is made to send out different brightness, so as to control
The gray scale of luminous tube is shown in LED light tube matrix, the method includes:
The luminous tube matrix is set to carry out the number of greyscale levels that gray scale is shown;
According to the number of greyscale levels, the number to the luminous tube matrix-scanning is determined;
Determine luminance matrix according to according to gray matrix, that is to say, that determine the bright of luminous tube in present scan or
It goes out situation.
Judge whether to reach preset sweep time.
When reaching the present scan time, LED light tube matrix is driven.
Judge whether the number of Current Scan reaches preset scanning times;
If not reaching scanning times, scanned next time;
If reaching scanning times, terminate.
Embodiment three
The embodiment of the present invention provides a kind of luminous tube matrix drive device, as shown in figure 3, the driving device includes storage
Module 20 and processing module 22, the memory module 20 are stored with luminous tube matrix driving computer program, the processing module
22 perform the computer programs, the step of to realize any one the method in as above each embodiment.
In embodiments of the present invention, optionally, driving device micro-control unit in circuit in order to control.
Specifically, the processing module performs the computer program, to realize following steps:
Determine the target gray rank of luminous tube matrix luminescent;
According to the target gray rank, the luminance of each luminous tube in the luminous tube matrix is determined;
According to the luminance of each luminous tube, each luminous tube in the luminous tube matrix is driven.
In embodiments of the present invention, optionally, the target gray rank of the determining luminous tube matrix luminescent, including:
The luminous tube matrix is set to carry out the number of greyscale levels that gray scale is shown;
In the number of greyscale levels, the target gray rank of the luminous tube matrix luminescent is determined.
In embodiments of the present invention, optionally, the luminance according to each luminous tube drives the luminous tube square
In battle array after each luminous tube, including:
According to the number of greyscale levels, the luminous tube matrix is driven to carry out gray scale by preset driving circuit and shown.
In embodiments of the present invention, optionally, it is described in the number of greyscale levels, determine the luminous tube matrix luminescent
Target gray rank, including:
According to the number of greyscale levels, the number to the luminous tube matrix-scanning is determined;
When being scanned every time to the luminous tube matrix, the number of Current Scan is set as the luminous tube matrix
Luminous target gray rank.
In embodiments of the present invention, optionally, it is described according to the target gray rank, it determines in the luminous tube matrix
After the luminance of each luminous tube, including:
According to the gray scale of each luminous tube in the luminous tube matrix, the gray matrix of the luminous tube matrix is generated;
According to the luminance of each luminous tube and the gray matrix, the luminous shape of the luminous tube matrix is generated
State matrix.
In embodiments of the present invention, optionally, the luminance according to each luminous tube drives the luminous tube square
Each luminous tube is lighted or is extinguished in battle array, including:
According to the luminance matrix, each luminous tube in the luminous tube matrix is driven to light or extinguish.
In embodiments of the present invention, optionally, the gray scale is not less than 0, and no more than the number of greyscale levels;It is described to shine
State includes that luminous tube is bright and luminous tube goes out.
The embodiment of the present invention can also refer to embodiment one and embodiment two, have corresponding technology in specific implementation
Effect.
Example IV
The embodiment of the present invention provides a kind of computer readable storage medium, and the storage medium is stored with the drive of luminous tube matrix
Dynamic computer program, when the computer program is performed by least one processing module, to realize such as embodiment one and embodiment
In two the step of any one the method.
The embodiment of the present invention can refer to above-mentioned each embodiment, have corresponding technique effect in specific implementation.
Computer of embodiment of the present invention readable storage medium storing program for executing can be RAM memory, flash memory, ROM memory, EPROM
Memory, eeprom memory, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art
Storage medium.A kind of storage medium lotus root can be connected to processor, so as to enable a processor to from the read information,
And information can be written to the storage medium;Or the storage medium can be the component part of processor.Processor and storage are situated between
Matter can be located in application-specific integrated circuit.
Above-described specific embodiment has carried out the purpose of the present invention, technical solution and advantageous effect further
It is described in detail, it should be understood that the foregoing is merely the specific embodiment of the present invention, is not intended to limit the present invention
Protection domain, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (10)
1. a kind of luminous tube matrix drive method, which is characterized in that the method includes:
Determine the target gray rank of luminous tube matrix luminescent;
According to the target gray rank, the luminance of each luminous tube in the luminous tube matrix is determined;
According to the luminance of each luminous tube, each luminous tube in the luminous tube matrix is driven to light or extinguish.
2. luminous tube matrix drive method as described in claim 1, which is characterized in that the determining luminous tube matrix luminescent
Target gray rank, including:
The luminous tube matrix is set to carry out the number of greyscale levels that gray scale is shown;
In the number of greyscale levels, the target gray rank of the luminous tube matrix luminescent is determined.
3. luminous tube matrix drive method as claimed in claim 2, which is characterized in that the shining according to each luminous tube
State is driven after each luminous tube is lighted or extinguished in the luminous tube matrix, including:
According to the number of greyscale levels, the luminous tube matrix is driven to carry out gray scale by preset driving circuit and shown.
4. luminous tube matrix drive method as claimed in claim 2, which is characterized in that it is described in the number of greyscale levels, really
The target gray rank of the fixed luminous tube matrix luminescent, including:
According to the number of greyscale levels, the number to the luminous tube matrix-scanning is determined;
When being scanned every time to the luminous tube matrix, the number of Current Scan is set as the luminous tube matrix luminescent
Target gray rank.
5. luminous tube matrix drive method as claimed in claim 2, which is characterized in that described according to the target gray level
Not, it determines in the luminous tube matrix after the luminance of each luminous tube, including:
According to the gray scale of each luminous tube in the luminous tube matrix, the gray matrix of the luminous tube matrix is generated;
According to the luminance of each luminous tube and the gray matrix, the luminance square of the luminous tube matrix is generated
Battle array.
6. luminous tube matrix drive method as claimed in claim 4, which is characterized in that the shining according to each luminous tube
State drives each luminous tube in the luminous tube matrix to light or extinguish, specifically includes:
According to the luminance matrix, each luminous tube in the luminous tube matrix is driven to light or extinguish.
7. luminous tube matrix drive method as claimed in claim 4, which is characterized in that the target gray rank is not less than 0,
And no more than the number of greyscale levels.
8. a kind of luminous tube matrix drive device, the driving device includes memory module and processing module, the memory module
Luminous tube matrix driving computer program is stored with, the processing module performs the computer program, to realize that right such as will
The step of seeking any one the method in 1-7.
9. luminous tube matrix drive device as claimed in claim 8, which is characterized in that the driving device is in order to control in circuit
Micro-control unit.
10. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with the calculating of luminous tube matrix driving
Machine program, when the computer program is performed by least one processing module, to realize such as any one institute in claim 1-7
The step of stating method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711432080.8A CN108230992B (en) | 2017-12-26 | 2017-12-26 | Method and device for driving light emitting tube matrix and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711432080.8A CN108230992B (en) | 2017-12-26 | 2017-12-26 | Method and device for driving light emitting tube matrix and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108230992A true CN108230992A (en) | 2018-06-29 |
CN108230992B CN108230992B (en) | 2020-03-06 |
Family
ID=62648986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711432080.8A Active CN108230992B (en) | 2017-12-26 | 2017-12-26 | Method and device for driving light emitting tube matrix and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108230992B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413801A (en) * | 2018-11-12 | 2019-03-01 | 北京车和家信息技术有限公司 | Control method, control device, storage medium and the vehicle of matrix LED |
CN113189113A (en) * | 2021-04-30 | 2021-07-30 | 聚时科技(上海)有限公司 | Intelligent digital light source and method based on visual detection |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1282065A (en) * | 1999-07-08 | 2001-01-31 | 日亚化学工业株式会社 | Image display eguipment and operating method |
CN1667675A (en) * | 2004-03-12 | 2005-09-14 | 三星电子株式会社 | Display apparatus |
CN1703731A (en) * | 2001-12-28 | 2005-11-30 | 先锋株式会社 | Panel display driving device and driving method |
CN1726528A (en) * | 2002-12-26 | 2006-01-25 | 卡西欧计算机株式会社 | Display drive device and drive controlling method |
CN103428519A (en) * | 2012-05-25 | 2013-12-04 | 三菱电机株式会社 | Stereoscopic image display device |
-
2017
- 2017-12-26 CN CN201711432080.8A patent/CN108230992B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1282065A (en) * | 1999-07-08 | 2001-01-31 | 日亚化学工业株式会社 | Image display eguipment and operating method |
CN1703731A (en) * | 2001-12-28 | 2005-11-30 | 先锋株式会社 | Panel display driving device and driving method |
CN1726528A (en) * | 2002-12-26 | 2006-01-25 | 卡西欧计算机株式会社 | Display drive device and drive controlling method |
CN1667675A (en) * | 2004-03-12 | 2005-09-14 | 三星电子株式会社 | Display apparatus |
CN103428519A (en) * | 2012-05-25 | 2013-12-04 | 三菱电机株式会社 | Stereoscopic image display device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413801A (en) * | 2018-11-12 | 2019-03-01 | 北京车和家信息技术有限公司 | Control method, control device, storage medium and the vehicle of matrix LED |
CN113189113A (en) * | 2021-04-30 | 2021-07-30 | 聚时科技(上海)有限公司 | Intelligent digital light source and method based on visual detection |
Also Published As
Publication number | Publication date |
---|---|
CN108230992B (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102750927B (en) | Display device and method for adjusting picture gray scale according to brightness of ambient light | |
US8816968B2 (en) | Selective monitor control | |
KR102251686B1 (en) | Method of driving display panel and display apparatus performing the same | |
JP7466709B2 (en) | Backlight driving method, device and computer equipment | |
CN103238169B (en) | Pixel on display is reproduced | |
US9483981B2 (en) | Dynamic display adjustment | |
CN110471608B (en) | Handwriting display method, handwriting reading equipment and computer storage medium | |
EP4283601A1 (en) | Method and apparatus for determining ambient light intensity and storage medium | |
CN108230992A (en) | Luminous tube matrix drive method, device and storage medium | |
CN104825127A (en) | Dynamic visual acuity detecting method | |
CN201994040U (en) | Lattice LED (light-emitting diode) display system | |
CN111145138B (en) | Detection method, device and equipment for LED lamp panel and storage medium | |
CN104637449B (en) | The method for driving active matrix organic LED panel | |
CN108109580B (en) | parameter adaptation method, device, equipment and storage medium of LED display screen | |
US9823122B2 (en) | Computing device and method for detecting lightness of lighting device | |
CN1433219A (en) | Video image processing method and device | |
CN113851090B (en) | Display device, control method thereof and related equipment | |
CN105818165A (en) | Facial expression modular system of robot | |
EP2947645A1 (en) | Electronic device and method of controlling output characteristic thereof | |
CN109493825B (en) | Picture parameter calculation method, device and storage medium | |
CN1313992C (en) | Method for power level control of display device and apparatus for carrying out method | |
CN107092416A (en) | A kind of icon display method and electronic equipment | |
CN104050925B (en) | Displaying method and device for LED display screen and LED display screen | |
CN107591141B (en) | Liquid crystal display driving method, system and computer-readable medium | |
CN203179474U (en) | PC-controlled LED display system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210309 Address after: 266101 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao Patentee after: Qingdao Haier Technology Co., Ltd. Patentee after: Haier Smart Home Co., Ltd. Address before: 266101 Haier Industrial Park, 1 Haier Road, Laoshan District, Shandong, Qingdao Patentee before: Qingdao Haier Technology Co., Ltd. |
|
TR01 | Transfer of patent right |