⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcd.htm

📁 关于液晶显示的一篇比较可以的文章.来自于网路.非我本人所写.
💻 HTM
📖 第 1 页 / 共 5 页
字号:
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">:随着医学研究的发展,各种监护仪相继出现,利用液晶模块来代替系统机监视器对各种参数和波形的显示逐渐流行。但同时如何实现波形的动态显示,如何防止波形抖动也是极为重要的研究课题。运用同步技术对采样数据进行归一化处理,并将数据转化为相应的存储单元,运用直线插值法绘制图形,并将绘制图形等间隔时间移动。介绍利用液晶模块实现液晶图像显示的一个方案和绘制曲线的一种算法,以及实现图形滚动显示的一种方法,减少成本,增加方便性和快捷性,为相关领域的研究提供方法参考和借鉴。</SPAN></P>
<P class=MsoNormal style="LINE-HEIGHT: 12pt; MARGIN-RIGHT: -3.65pt"><B><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">关键词</SPAN></B><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">:动态显示;多路波形;采样数据;插值;描点</SPAN></P>
<P class=MsoNormal 
style="MARGIN-RIGHT: -3.65pt; TEXT-ALIGN: center; mso-line-height-alt: 12.0pt" 
align=center><B><SPAN lang=EN-US 
style="FONT-SIZE: 18pt; mso-bidi-font-size: 12.0pt">The realization of software 
about the dynamic wave display in the application of 
LCD<o:p></o:p></SPAN></B></P>
<P class=MsoNormal 
style="LINE-HEIGHT: 12pt; MARGIN-RIGHT: -3.65pt; TEXT-ALIGN: center" 
align=center><SPAN lang=EN-US>LUO Le<SUP> </SUP><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>YANG Hao<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN>HE Wei</SPAN></P>
<P class=MsoBodyText 
style="LINE-HEIGHT: 12pt; MARGIN-RIGHT: -3.65pt; TEXT-ALIGN: center" 
align=center><SPAN lang=EN-US 
style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN>College of Electrical Engineering, 
Chongqing University, Chongqing 400044<o:p></o:p></SPAN></P>
<P class=MsoBodyText style="LINE-HEIGHT: normal; MARGIN-RIGHT: -3.65pt"><B><SPAN 
lang=EN-US 
style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt">Abstract:</SPAN></B><SPAN 
lang=EN-US style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt"> With the 
development of medicine and the appearance of custody apparatus, it becomes very 
popular to display the waves and the parameters in using a LCD module to replace 
the computer CRT. It is very important research task that how to realize the 
dynamic display of waves and how to prevent the dithering of waves at the same 
time. The paper describes the dealing with of sampling data using synchronous 
technology, the transforming of location, the drawing of waves using the way of 
pointing data, the moving of waves. The paper describes the scheme that realizes 
the waves<SUP>`</SUP> display using LCD and the mathematics that protracts 
curves and the idea that realize the waves` rolling. It reduces the cost and 
increases convenience and shortcut and offers a use for reference to the people 
of interrelated fields.<o:p></o:p></SPAN></P>
<P class=MsoBodyText style="LINE-HEIGHT: 12pt; MARGIN-RIGHT: -3.65pt"><B><SPAN 
lang=EN-US style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt">Key 
word:</SPAN></B><SPAN lang=EN-US 
style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt"> dynamic 
display</SPAN><SPAN 
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">;</SPAN><SPAN 
lang=EN-US style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt">multi-access 
wave</SPAN><SPAN 
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">;</SPAN><SPAN 
lang=EN-US style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt">sample 
data</SPAN><SPAN 
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">;</SPAN><SPAN 
lang=EN-US style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt">point 
data</SPAN><SPAN 
style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">;</SPAN><SPAN 
lang=EN-US style="FONT-SIZE: 10.5pt; mso-bidi-font-size: 12.0pt">draw 
dot<o:p></o:p></SPAN></P>
<P class=2 
style="LAYOUT-GRID-MODE: char; LINE-HEIGHT: 12pt; MARGIN-RIGHT: -3.65pt">引言</P>
<P class=MsoNormal 
style="TEXT-INDENT: 21pt; LINE-HEIGHT: 12pt; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">随着科学技术的发展,生活水平的不断提高,人们的期望值越来越高,希望许多电子产品、检测设备、各种监护仪器小型化、实用化。用微处理器代替系统机来实现同等功能的方法无疑是比较好的方法,既可以减少成本,又增加方便性和快捷性。在运用各种微处理器代替系统机实现各种运算和进行处理、显示时,运用液晶模块代替显示器也是必不可少的。在运用液晶模块的过程中,通常会遇到对图形和各种参数同时显示的情况,特别是对静态界面、动态参数和图形的同时显示,无疑具有相当的难度。作者认为可以将显示屏分区,对采样数据进行插值、描点等方法将采样数据还原为图形,然后滚动采样数据和循环扫描显示数据,运用软件来解决这一问题。本文以液晶模块</SPAN><SPAN 
lang=EN-US>SED1335</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">为例说明这一设计方法。由于静态界面制作相对简单,因此本文只介绍了动态图形的制作方法。</SPAN><SPAN 
lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal 
style="MARGIN-TOP: 0cm; MARGIN-BOTTOM: 0pt; MARGIN-LEFT: 18pt; TEXT-INDENT: -18pt; tab-stops: list 18.0pt; mso-list: l3 level1 lfo19; mso-line-height-alt: 12.0pt"><![if !supportLists]><B><SPAN 
lang=EN-US style="FONT-SIZE: 14pt; mso-bidi-font-size: 12.0pt">1.<SPAN 
style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></B><![endif]><B><SPAN 
style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">预处理</SPAN></B><B><SPAN 
lang=EN-US 
style="FONT-SIZE: 14pt; mso-bidi-font-size: 12.0pt"><o:p></o:p></SPAN></B></P>
<P class=MsoBodyTextIndent3 style="LINE-HEIGHT: 12pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">在绘制图形之前,需要将液晶和采样数据进行相应的预处理。</SPAN></P>
<P class=MsoBodyTextIndent3 style="LINE-HEIGHT: 12pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">根据液晶点阵的大小,将液晶屏分为两个显示区。一般情况下,左边显示区为图形显示区,右边显示区为文本显示区。本文采用的液晶</SPAN><SPAN 
lang=EN-US>SED1335</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">为</SPAN><SPAN 
lang=EN-US>320</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">×</SPAN><SPAN 
lang=EN-US>240</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">点阵,根据实际需要,可</SPAN></P>
<P class=MsoNormal style="LINE-HEIGHT: 20pt; mso-line-height-rule: exactly"><!--[if gte vml 1]><v:line 
id=_x0000_s1114 
style="Z-INDEX: 2; LEFT: 0px; POSITION: absolute; TEXT-ALIGN: left" from = 
"0,3.75pt" to = "225pt,3.75pt"></v:line><![endif]--><![if !vml]><span
style='mso-ignore:vglayout;position:absolute;z-index:1;left:0px;margin-left:
-1px;margin-top:4px;width:303px;height:3px'><img width=303 height=3
src="./20.files/image001.gif" v:shapes="_x0000_s1114"></span><![endif]><B><SPAN 
style="FONT-SIZE: 9pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">资助项目</SPAN></B><SPAN 
style="FONT-SIZE: 9pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">:本课题由重庆大学高电压与电工新技术教育部重点实验室资助</SPAN><SPAN 
lang=EN-US 
style="FONT-SIZE: 9pt; mso-bidi-font-size: 12.0pt"><o:p></o:p></SPAN></P>
<P class=MsoBodyTextIndent3 
style="TEXT-INDENT: 0cm; LINE-HEIGHT: 12pt; mso-char-indent-count: 0; mso-char-indent-size: 0cm"><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">以将其分为</SPAN><SPAN 
lang=EN-US>256</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">×</SPAN><SPAN 
lang=EN-US>240</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">和</SPAN><SPAN 
lang=EN-US>64</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">×</SPAN><SPAN 
lang=EN-US>240</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">两个显示区</SPAN><SUP><SPAN 
lang=EN-US>[1]</SPAN></SUP><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">。</SPAN></P>
<P class=MsoBodyTextIndent3 
style="TEXT-INDENT: 21pt; LINE-HEIGHT: 12pt; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">为液晶显示控制器的显示存储单元的地址及数据后都落在液晶模块所容许的范围之内。具体措施是根据采样数据和液晶纵坐标的大小确定出归一化值,并将采样数据都除以归一化值得到显示数据</SPAN><SUP><SPAN 
lang=EN-US style="FONT-FAMILY: 宋体">[2]</SPAN></SUP><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">。在编制程序时为了节省时间,可以将归一化值调整为</SPAN><SPAN 
lang=EN-US>2</SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">的整数倍,然后采用数据右移的措施进行处理。</SPAN></P>
<P class=MsoBodyTextIndent3 
style="TEXT-INDENT: 0cm; mso-char-indent-count: 0; mso-char-indent-size: 0cm"><B><SPAN 
lang=EN-US style="FONT-SIZE: 14pt; mso-bidi-font-size: 12.0pt">2.<SPAN 
style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></B><B><SPAN 
style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">插值描点</SPAN></B><B><SPAN 
lang=EN-US 
style="FONT-SIZE: 14pt; mso-bidi-font-size: 12.0pt"><o:p></o:p></SPAN></B></P>
<P class=MsoBodyTextIndent 
style="TEXT-INDENT: 21pt; LINE-HEIGHT: 12pt; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt"><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">经预处理后的采样数据(显示数据),不可能完全连续,反应在液晶屏上就是一些离散的点。为了保证图形的连贯,这些离散点之间的间隔点也要绘制出,即不连续的采样数据间要进行插值。只有各点之间没有间隔点时,绘制出的曲线才是完整的曲线。采样频率不同,插值方法也不同</SPAN><SUP><SPAN 
lang=EN-US>[3]</SPAN></SUP><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">。</SPAN></P>
<P class=MsoBodyTextIndent 
style="TEXT-INDENT: 0cm; LINE-HEIGHT: 20pt; mso-char-indent-count: 0; mso-char-indent-size: 0cm; mso-line-height-rule: exactly"><SPAN 
lang=EN-US style="FONT-SIZE: 12pt">2.1 </SPAN><SPAN 
style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">纵坐标插值</SPAN><SPAN 
lang=EN-US style="FONT-SIZE: 12pt"><o:p></o:p></SPAN></P>
<P class=MsoBodyTextIndent 
style="TEXT-INDENT: 21pt; LINE-HEIGHT: 20pt; mso-char-indent-count: 2.0; mso-char-indent-size: 10.5pt; mso-line-height-rule: exactly"><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">当采样频率高于扫描频率时采用纵坐标插值。采样数据经归一化后的任意两点</SPAN><SPAN 
lang=EN-US><SUB><!--[if gte vml 1]><v:shapetype id=_x0000_t75 coordsize = 
"21600,21600" o:preferrelative = "t" o:spt = "75" filled = "f" stroked = "f" 
path = " m@4@5 l@4@11@9@11@9@5 xe"> <v:stroke joinstyle = 
"miter"></v:stroke><v:formulas><v:f eqn = 
"if lineDrawn pixelLineWidth 0 "></v:f><v:f eqn = "sum @0 1 0 "></v:f><v:f eqn = 
"sum 0 0 @1 "></v:f><v:f eqn = "prod @2 1 2 "></v:f><v:f eqn = 
"prod @3 21600 pixelWidth "></v:f><v:f eqn = 
"prod @3 21600 pixelHeight "></v:f><v:f eqn = "sum @0 0 1 "></v:f><v:f eqn = 
"prod @6 1 2 "></v:f><v:f eqn = "prod @7 21600 pixelWidth "></v:f><v:f eqn = 
"sum @8 21600 0 "></v:f><v:f eqn = "prod @7 21600 pixelHeight "></v:f><v:f eqn = 
"sum @10 21600 0 "></v:f></v:formulas><v:path o:extrusionok = "f" 
gradientshapeok = "t" o:connecttype = "rect"></v:path><o:lock aspectratio="t" 
v:ext="edit"></o:lock></v:shapetype><v:shape id=_x0000_i1025 
style="WIDTH: 39.75pt; HEIGHT: 17.25pt" o:ole="" type = "#_x0000_t75" coordsize 
= "21600,21600"><v:imagedata o:title="" src = 
"./20.files/image002.wmz"></v:imagedata></v:shape><![endif]--><![if !vml]><img width=53 height=23
src="./20.files/image003.gif" v:shapes="_x0000_i1025"><![endif]></SUB><!--[if gte mso 9]><xml>
 <o:OLEObject Type="Embed" ProgID="Equation.3" ShapeID="_x0000_i1025"
  DrawAspect="Content" ObjectID="_1138539470">
 </o:OLEObject>
</xml><![endif]--></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">,</SPAN><SPAN 
lang=EN-US><SUB><!--[if gte vml 1]><v:shape id=_x0000_i1026 
style="WIDTH: 42pt; HEIGHT: 17.25pt" o:ole="" type = "#_x0000_t75" coordsize = 
"21600,21600"> <v:imagedata o:title="" src = 
"./20.files/image004.wmz"></v:imagedata></v:shape><![endif]--><![if !vml]><img width=56 height=23
src="./20.files/image005.gif" v:shapes="_x0000_i1026"><![endif]></SUB><!--[if gte mso 9]><xml>
 <o:OLEObject Type="Embed" ProgID="Equation.3" ShapeID="_x0000_i1026"
  DrawAspect="Content" ObjectID="_1138539471">
 </o:OLEObject>
</xml><![endif]--></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">,按采样时间先后确定先采样数据为起点</SPAN><SPAN 
lang=EN-US><SUB><!--[if gte vml 1]><v:shape id=_x0000_i1027 
style="WIDTH: 41.25pt; HEIGHT: 18pt" o:ole="" type = "#_x0000_t75" coordsize = 
"21600,21600"> <v:imagedata o:title="" src = 
"./20.files/image006.wmz"></v:imagedata></v:shape><![endif]--><![if !vml]><img width=55 height=24
src="./20.files/image007.gif" v:shapes="_x0000_i1027"><![endif]></SUB><!--[if gte mso 9]><xml>
 <o:OLEObject Type="Embed" ProgID="Equation.3" ShapeID="_x0000_i1027"
  DrawAspect="Content" ObjectID="_1138539472">
 </o:OLEObject>
</xml><![endif]--></SPAN><SPAN 
style="FONT-FAMILY: 宋体; mso-hansi-font-family: 'Times New Roman'; mso-ascii-font-family: 'Times New Roman'">,另外一点为终点</SPAN><SPAN 
lang=EN-US><SUB><!--[if gte vml 1]><v:shape id=_x0000_i1028 
style="WIDTH: 42pt; HEIGHT: 18pt" o:ole="" type = "#_x0000_t75" coordsize = 
"21600,21600"> <v:imagedata o:title="" src = 
"./20.files/image008.wmz"></v:imagedata></v:shape><![endif]--><![if !vml]><img width=56 height=24
src="./20.files/image009.gif" v:shapes="_x0000_i1028"><![endif]></SUB><!--[if gte mso 9]><xml>
 <o:OLEObject Type="Embed" ProgID="Equation.3" ShapeID="_x0000_i1028"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -