CN104808543A - Three-dimensional digital water curtain control method - Google Patents

Three-dimensional digital water curtain control method Download PDF

Info

Publication number
CN104808543A
CN104808543A CN 201510075458 CN201510075458A CN104808543A CN 104808543 A CN104808543 A CN 104808543A CN 201510075458 CN201510075458 CN 201510075458 CN 201510075458 A CN201510075458 A CN 201510075458A CN 104808543 A CN104808543 A CN 104808543A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
tank
water
dimensional
electromagnetic valve
digital
Prior art date
Application number
CN 201510075458
Other languages
Chinese (zh)
Inventor
郭鹏程
甄志龙
李宁远
Original Assignee
西安理工大学
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

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0421Multiprocessor system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2664Audio light, animation, stage, theatre light

Abstract

The invention discloses a three-dimensional digital water curtain control method, which comprises the steps of firstly determining characters or patterns to be displayed on water columns ejected by electromagnetic water valves, the electromagnetic water valves in a row are sequentially defined as y1, y2, y3, etc. and yi, columns of the electromagnetic water valves are sequentially defined as x1, x2, x3, etc. and xi, then defining digital I/O ports {6, 8, 10, etc., 2i, etc. and 2i+4} of a singlechip microcomputer as a one-dimensional array pinx[i], connecting a signal output port of a driver to i lines of the electromagnetic water valves x1, x2, x3, etc. and xi, defining digital I/O ports {5, 7, 9, etc., 2i+1, etc., and 2i+3} of the singlechip microcomputer as another one-dimensional array piny[i], connecting the signal output port of the driver to i lines of the electromagnetic water valves y1, y2, y3, etc. and yi, assigning a module to one-dimensional arrays HLxi[i] and HLyi[i], and executing the one-dimensional arrays HLxi[i] and HLyi[i] in a repeated circulation mode, that is, all of the one-dimensional array HLxi[i] is executed once at every time when the one-dimensional array HLyi[i] is executed.

Description

一种三维数字水幕控制方法 A three-dimensional digital water curtain control method

技术领域 FIELD

[0001] 本发明属于新型水显示系统技术领域,具体涉及一种三维数字水幕控制方法。 [0001] The present invention belongs to the field of display technology novel aqueous systems, more particularly to a control method of a three-dimensional digital water curtain.

背景技术 Background technique

[0002] 数字水幕(或称数字水帘、数字水墙、瀑布打印机、数字瀑布等)起源于美国麻省理工学院在2008年西班牙萨拉戈萨世界博览会展示的一种交互式建筑一一“数字水亭”,“水亭”的墙体和屋顶均为数字控制的水幕,水幕可按预设程序显示图像和文字。 [0002] digital water curtain (also known as digital curtain, digital water wall, waterfall printer, digital waterfalls, etc.) originated in the Massachusetts Institute of Technology in 2008 World Expo in Zaragoza, Spain show an interactive building eleven "digital Shuiting", "Shuiting" of the walls and roof are digitally controlled water curtain, water curtain may be preprogrammed display images and text. 经过几年的发展,国外数字水幕,可实现显示精细的文字、图案等,并有阴阳两种表现手法,可人机互动,触摸手写输入,可实现水幕、灯光、音乐的完美结合。 After several years of development, foreign digital water curtain, enabling fine display of text, graphics, etc., and there are two forms of yin and yang technique can be human-computer interaction, touch handwriting input, enabling water curtain, perfect lighting, music combination. 其在欧美、日本,已经在很多行业得到认可。 In its Europe, Japan, has been recognized in many industries.

[0003]国产数字水幕技术方面主要依靠国外引进,技术有待提高,国内有关数字水幕研宄的文献很少,其中技术方面也多不明确,多为概念性文献。 [0003] screen technology digital domestic water mainly rely on imported technology needs to be improved, the relevant domestic digital water curtain study based on few papers, including technical aspects also more ambiguous, mostly conceptual literature. 现有产品中数字水幕仍以二维平面数字水幕为主,没有出现显示三维立体文字、图案的数字水幕产品。 Existing products digital water curtain is still two-dimensional plane based digital water curtain, no three-dimensional display text, graphics digital product water curtain.

发明内容 SUMMARY

[0004] 本发明的目的是提供一种三维数字水幕控制方法,解决了现有技术中存在的数字水幕产品只能以二维平面数字水幕为主的问题。 [0004] The object of the present invention is to provide a control method of a three-dimensional digital water curtain, in the prior art to solve the water curtain digital two-dimensional plane of the product, the main problem of digital water curtain.

[0005] 本发明所采用的技术方案是,一种三维数字水幕控制方法,基于三维数字水幕控制系统,三维数字水幕控制系统结构为:包括通过水管连接的下水箱和上水箱,上水箱内设置有电磁水阀,电磁水阀按水平矩阵形式排列,上水箱一侧沿竖直方向设置有两个传感器,两个传感器获取上水箱水位信息,两个传感器均与下水箱内设置的水泵通过信号线连接,上水箱还连接控制系统,控制系统包括单片机,单片机控制驱动器驱动每个电磁水阀的开关电源; [0005] The technical proposal of the present invention, a three-dimensional digital water curtain control method, three-dimensional digital control system based on water curtain, water curtain three-dimensional digital control system structure: a lower tank through pipes connected to the tank and, on the the tank is provided with an electromagnetic valve, electromagnetic valve horizontally arranged in a matrix, on the side of the tank is provided with two sensors in the vertical direction, two sensors obtaining information on the tank water level, and the two sensors are disposed in the water tank via a signal line connected to the water pump, the water tank is also connected to the control system, the control system comprises a microcontroller, the microcontroller controls each electromagnetic valve driver for driving switching power supply;

[0006] 具体按照以下步骤实施: [0006] Specific embodiments according to the following steps:

[0007] 步骤1、首先确定电磁水阀喷出水柱上要显示的文字或图案,将电磁水阀横排依次定义为yl,y2,y3......yi,将电磁水阀每列依次定义为xl,x2,x3......xi,从电磁水阀上要显示的文字或图案的底部开始取模,需要点亮的部分用I表示,I表示高电平,不需要点亮的部分用O表示,O表示低电平,如果上下相邻两行或多行的显示相同,则合并为一组取模; [0007] Step 1 is first determined on the text or images to be displayed of water discharge electromagnetic valve of the electromagnetic valve in turn defined as the horizontal yl, y2, y3 ...... yi, the electromagnetic valve of each column in turn defined as xl, x2, x3 ...... xi, from the bottom of the text or graphics to be displayed on the start of the solenoid valve modulo need lit up by I, I denotes a high level, does not require lights are denoted by O, O indicates a low level, the same if two or more lines vertically adjacent display may be aggregated into a modulo set;

[0008] 步骤2、根据步骤I所要取模的文字或图案信息,定义单片机数字I/O 口{6,8,10,……2i,……2i+4}为一维数组pinx[i],其控制驱动器信号输入口,驱动器的信号输出口接电磁水阀的xl,x2,x3……xi的i根线,定义单片机数字I/O 口{5,7,9,……2i+l,……2i+3}为另一个一维数组piny[i],其控制驱动器的信号输入口,驱动器的信号输出口接电磁水阀的yl,y2, y3......yi的i根线; [0008] Step 2, according to step I to be modulo text or pattern information, the definition digital microcontroller I / O port {6,8,10, ...... 2i, ...... 2i + 4} is a one-dimensional array pinx [i] , which controls the driving input signal, the drive signal output port connected to the solenoid valve of xl, x2, x3 ...... xi is the i-th line, the definition digital microcontroller i / O port {5,7,9, ...... 2i + l , ...... 2i + 3} PINy another one-dimensional array [i], which controls the drive signal input, a signal output port connected to the electromagnetic valve drive of yl, y2, y3 ...... yi of the i wires;

[0009] 步骤3、将步骤2取得的模赋予一维数组HLxi [i]和HLyi [i]; [0009] Step 3, Step 2 to obtain the mold imparting one-dimensional array HLxi [i] and HLyi [i];

[0010] 步骤4、使用多次循环执行步骤3中得到的一维数组HLyi [i]和HLxi[i],每执行一维数组HLyi [i] 一次,执行所有的HLxi [i] 一次。 [0010] Step 4, using multiple cycles obtained in step one-dimensional array HLyi [i] and HLxi [i] 3, each performing one-dimensional array HLyi [i] once, performs all HLxi [i] once.

[0011] 本发明的特点还在于, [0011] The features of the present invention is,

[0012] 水泵入水口和上水箱上方安装过滤网,防止杂质混入水中。 [0012] Pump inlet and the tank is mounted above the upper filter to prevent contamination of the water.

[0013] 下水箱上方安装有防溅网,防止从上水箱落下的水柱向四周散溅。 [0013] with a splash tank mounted above the net, to prevent dropping of water from the tank to the surrounding scatters.

[0014]单片机型号为 Arduino Mega 2560。 [0014] SCM model for the Arduino Mega 2560.

[0015] 驱动器为L298N模块。 [0015] L298N drive module is.

[0016] 电磁水阀的竖直高度为3〜12m。 [0016] The vertical height of the electromagnetic valve 3~12m.

[0017] 本发明的有益效果是,三维数字水幕控制方法,通过采用矩阵取模赋值的方法,将传统二维水幕变为可实现的三维水幕效果,整个控制方法简单,易于操作,可复制性强。 [0017] Advantageous effects of the present invention is a control method of a three-dimensional digital water curtain, using the method modulo assignment matrix, becomes the conventional two-dimensional three-dimensional water curtain water curtain effect can be achieved, the overall control method is simple, easy to operate, replicability strong.

附图说明 BRIEF DESCRIPTION

[0018] 图1是本发明一种三维数字水幕控制方法的整体模型图。 [0018] FIG. 1 is an overall three-dimensional digital model of FIG water curtain control method of the present invention.

[0019] 图中,1.下水箱,2.水泵,3.水管,4.上水箱,5.电磁水阀,6.传感器,7.控制系统,8.单片机,9.驱动器,10.开关电源。 [0019] FIG, 1. In the water tank, 2 water pump 3. Water, 4. the header tank, 5 solenoid valve, 6 sensor, 7. The control system 8. Microcontroller 9. Drives, 10 switch power supply.

具体实施方式 Detailed ways

[0020] 下面结合附图和具体实施方式对本发明进行详细说明。 [0020] The present invention will be described in detail in conjunction with accompanying drawings and specific embodiments.

[0021] 本发明三维数字水幕控制方法,基于三维数字水幕控制系统,如图1所示,三维数字水幕控制系统结构为:包括通过水管3连接的下水箱I和上水箱4,下水箱I上方安装有防溅网,防止从上水箱4落下的水柱向四周散溅,下水箱I内设置有水泵2,水泵2入水口和上水箱4上方安装过滤网,防止杂质混入水中,上水箱4内设置有电磁水阀5,电磁水阀5的竖直高度为3〜12m,上水箱4 一侧沿竖直方向设置有两个传感器6,两个传感器6获取上水箱4水位信息,两个传感器6均与水泵2连接,当上水箱4水位低于下面传感器6时水泵2开始工作,而高于上面传感器6时水泵2停止工作,电磁水阀5按水平矩阵形式排列,上水箱4还连接控制系统7,控制系统7包括单片机8,单片机8型号为Arduino Mega 2560,单片机8控制驱动器9驱动每个电磁水阀5的开关电源10,驱动器9为L298N模块,单片机8控 [0021] The three-dimensional digital water curtain control method of the present invention, three-dimensional digital control system based on water curtain, shown in Figure 1, a three-dimensional digital water curtain control system structure: I comprises the tank connected by pipe 3 and the tank 4, the I attached to the tank above the splash network, to prevent the tank 4 scatters from falling to the surrounding water column, the lower tank is provided with a I 2, the pump 2 and the pump inlet above the water tank 4 by mounting the filter to prevent contamination of the water, the water tank 4 is provided with an electromagnetic valve 5, the vertical height of the electromagnetic valve 5 is 3~12m, on the side of the tank 4 in the vertical direction is provided with two sensors 6, two sensors 6 acquires information on the tank 4 level, two sensors 6 are connected to the pump 2, when the upper tank 4 is below a level sensor 6 when the pump 2 starts to work, but higher than the upper sensor 6 when the pump 2 is stopped, the electromagnetic valve 5 arranged in a matrix form level, the tank 4 is also connected to the control system 7, the control system 7 comprises a microcontroller 8, 8 microcontroller model Arduino Mega 2560, 9 microcontroller 8 controls the drive of each electromagnetic valve actuator 10 of the switching power supply 5, L298N drive module 9, control microcontroller 8 电磁水阀5的开关频率; The switching frequency of the electromagnetic valve 5;

[0022] 具体按照以下步骤实施: [0022] Specific embodiments according to the following steps:

[0023] 步骤1、首先确定电磁水阀5喷出水柱上要显示的文字或图案,将电磁水阀5横排依次定义为yl,y2,y3......yi,将电磁水阀5纵排依次定义为xl,x2,x3......xi,从电磁水阀 [0023] Step 1, an electromagnetic valve 5 is determined first discharge of water on the text or images to be displayed, the electromagnetic valve 5 in turn defined as the horizontal yl, y2, y3 ...... yi, the electromagnetic valve 5 tandem in turn defined as xl, x2, x3 ...... xi, from the electromagnetic valve

5上要显示的文字或图案的底部开始取模,需要点亮的部分用I表示,I表示高电平,不需要点亮的部分用O表示,O表示低电平,如果上下相邻两行或多行的显示相同,可以合并为一组取模; 5 on the bottom of text or images to be displayed starts modulo need lit up by I, I denotes a high level, no lights are denoted by O, O indicates low, if two vertically adjacent show the same or more lines, it may be incorporated into a modulo set;

[0024] 步骤2、根据步骤I所要取模的文字或图案信息,定义单片机8数字I/O 口{6,8,10,……2i,……2i+4}为一维数组pinx [i],其控制驱动器9信号输入口,驱动器9的信号输出口接电磁水阀的xl,x2,x3……xi的i根线,定义单片机8数字I/O 口{5,7,9,……2i+l,……2i+3}为另一个一维数组piny[i],其控制驱动器9的信号输入口,驱动器9的信号输出口接电磁水阀的yl,12,y3……yi的i根线; [0024] Step 2, according to step I to be modulo text or pattern information, the definition of the microcontroller 8 digital I / O port {6,8,10, ...... 2i, ...... 2i + 4} is a one-dimensional array pinx [i ], which controls the drive signal input port 9, the drive signal output port 9 connected to the electromagnetic valve of xl, x2, x3 ...... xi is the i-th line, defined MCU 8 digital i / O port {5,7,9, ... ... 2i + l, ...... 2i + 3} another one-dimensional array piny [i], which controls the drive signal input port 9, the drive signal output port 9 of the electromagnetic valve is connected yl, 12, y3 ...... yi i-lines;

[0025] 步骤3、将步骤2取得的模赋予一维数组HLxi [i]和HLyi [i]; [0025] Step 3, Step 2 to obtain the mold imparting one-dimensional array HLxi [i] and HLyi [i];

[0026] 步骤4、使用多次循环执行步骤3中得到的一维数组HLyi [i]和HLxi[i],每执行一维数组HLyi [i],执行所有的HLxi [i] 一次。 [0026] Step 4, using multiple cycles obtained in step one-dimensional array HLyi [i] and HLxi [i] 3, each performing one-dimensional array HLyi [i], perform all HLxi [i] once.

[0027] 数字水幕中的电磁水阀选用超高频率、低压、寿命长的电磁水阀,电磁水阀的横向间距与纵向间距应相等,支架可由各种材料搭建,其底层放下水箱,上层支撑上水箱和电磁水阀,支架上方和四周布有灯光。 [0027] The solenoid valve in digital water curtain selection ultrahigh frequency, low-voltage, long life electromagnetic valve, electromagnetic valve and the lateral spacing should be equal longitudinal spacing, the stent may be formed of various building materials, which lay down the tank bottom, the upper layer and an electromagnetic valve on the tank support, above the holder in and around cloth with light.

[0028] 水泵的选取要注意:水泵的扬程要大于该装置的整体净高,选择时要考虑管路的流动损失,其单位时间的流量要略大于所有电磁水阀的单位流量之和,上水箱的水位应保持一定的高度,以保证电磁水阀出水口的压力基本为定值。 Select the [0028] pump to be noted that: the pump head is greater than the clear height of the entire apparatus, flow losses are to be considered when selecting a line, which is slightly larger than the flow rate per unit time to all of the electromagnetic valve unit and the flow rate of the upper tank the water should maintain a certain height, to ensure that the electromagnetic valve of the outlet pressure is substantially constant.

[0029] 控制系统中,单片机为Arduino Mega 2560,单片机为5V-9V供电,AVR单片机的一个种类,其拥有54个数字I/O 口,片内FLASH容量256KB,工作时钟16MHz,SRAM为8K,EEPROM为4K,后期单片机将更换为ARMSTM32fl03zet6,驱动器为L298N模块,一块L298N可输出4路高低电平,且L298N之间输出的高低电平也可以驱动电磁水阀。 [0029] The control system, microcontroller Arduino Mega 2560, the microcontroller is a type 5V-9V power supply, AVR microcontroller, which has 54 digital I / O port, chip FLASH capacity of 256KB, the operation clock 16MHz, SRAM is 8K, EEPROM is 4K, the microcontroller will replace the late ARMSTM32fl03zet6, the drive module is L298N, L298N a 4-way high and low output, and the output between the high and low levels may be L298N driving the electromagnetic valve.

[0030] 三维数字水幕中的音乐灯光系统有音响设备和灯光设备组成,音乐可增加数字水幕的律动感,灯光可增加数字水幕的画面感,灯光应布置在流水下落显示最理想的位置,以突出显示的最好效果,水泵、灯光均为12V供电,都用继电器控制其开关,也设置手动开关,音乐部分由播放器、音响负责。 [0030] The three-dimensional digital music water curtains with a lighting system composed of audio equipment and lighting equipment, increase the rhythm of music digital water curtain, the light curtain may increase the sense of the digital picture water, light falling on the water to be disposed optimal display position, to highlight the best results, pumps, lights are 12V power supply, which are controlled by a relay switch, the manual switch is also provided, partly responsible for the music player, stereo.

[0031] 制作大型三维数字水幕(共有成千上万个电磁水阀)时,按照上述方法,其扫描所用时间变长,影响三维数字水幕的精度,比如三维数字水幕共4096个电磁水阀,其按照六十四行六十四列排列时,其接线方法不以上述的六十四行六十四列的接线方法,而改成五百一^h二行八列的接线方式(电磁水阀仍以六十四行六十四列排列,只是其接线方式改变了),其原理没有改变,若单片机没有足够的数字I/o 口,则需要增加锁存器以扩展其I/O When the [0031] production of large three-dimensional digital water curtain (total thousands electromagnetic valve), as described above, which is used for the scanning time becomes long, affecting the accuracy of three-dimensional digital curtain of water, such as a three-dimensional digital water curtain total electromagnetic 4096 valve, when it is arranged in a sixty four rows sixty-four, the wiring method is not a method in the above-described wiring sixty-four sixty four rows of five hundred and ten and wiring into two ^ h rows eight columns (sixty four rows electromagnetic valve sixty-four still arranged, but it changed the wiring), the principle has not changed, the microcontroller if there is not enough digital I / o port, the latch needs to be increased to extend its I / O

□ O □ O

[0032] 数字水幕横向分布的多个电磁水阀之间的距离构成文字或图案的水平像数,电磁水阀通断的时间构成文字或图案的垂直像数,为了显示一个合适大小的文字或图案,其中,电磁水阀的竖直高度和电磁水阀总长度是正相关的关系,电磁水阀竖直高度越高,电磁水阀总长度应越长,竖直高度应在3〜12米,由此,程序中循环之间的延时时间经过简单计算后,在实验中验证最佳延时时间,延时时间不是一个定值,前面的延时时间短,后面的延时时间逐渐增加。 The distance between the plurality of electromagnetic valves [0032] The digital water curtain transverse distribution of the number of horizontal configuration as text or logo, the electromagnetic on-off valve of vertical image constituting time characters or patterns, in order to display an appropriate text size or pattern, wherein the vertical height of the electromagnetic valve and a solenoid valve is the total length of the positive correlation, the higher the vertical height of the electromagnetic valve, the electromagnetic valve should be longer the total length of the vertical height should be 3~12 m , whereby the time between the program cycles through a simple calculation, the optimal delay time in the verification experiment, the delay time is not a fixed value, a short delay time in front of, behind the delay time is gradually increased .

[0033] 所发明三维数字水幕控制方法,使得数字水幕更加拥有广阔的市场应用前景,更强的显示效果和震撼力,可应用于娱乐、广告、展示等多种用途,可应用于科技馆、展览馆、商场等场所,也可与建筑完美结合,形成一种新的建筑设计,还可以净化环境,产生大量负离子,调节湿度,净化空气。 [0033] The three-dimensional digital water curtain control method of the invention so that the digital water curtain more have broad market prospects, stronger and shocking display can be used in entertainment, advertising, exhibition and other purposes, can be used in science and technology Hall, exhibition halls, shopping malls and other places, can also be combined with the perfect construction, the formation of a new architectural design, may further purify the environment, generating a lot of anion, humidity control, air purification.

[0034] 实施例 [0034] Example

[0035] 步骤1、首先确定电磁水阀5喷出水柱上要显示的文字为“西”,将电磁水阀5横排依次定义为yl,y2,y3......yl6,电磁水阀5纵排依次定义为xl,x2,x3......xl6,从电磁水阀 [0035] Step 1, first electromagnetic valve 5 determines the text to display for the discharge of water, "West", the electromagnetic valve 5 in turn defined as the horizontal yl, y2, y3 ...... yl6, electromagnetic water tandem valve 5 is in turn defined as xl, x2, x3 ...... xl6, the solenoid valve

5上要显示的“西”底部开始取模,需要点亮的部分用I表示,I表示高电平,不需要点亮的部分用O表示,O表示低电平,如果上下相邻两行或多行的显示相同,可以合并为一组取模,最后取模结果为: 5 on the bottom of the "West" to show the start modulo need lit up by I, I denotes a high level, no lights are denoted by O, O indicates low, if two vertically adjacent rows show the same or more rows may be combined into a modulo set, the final result is modulo:

[0036] {0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0}; [0036] {0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0};

[0037] {0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0}; [0037] {0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0};

[0038] {0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0}; [0038] {0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0};

[0039] {0,0,1,0,1,0,0,0,0,0,1,1,1,0,0,0}; [0039] {0,0,1,0,1,0,0,0,0,0,1,1,1,0,0,0};

[0040] {0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0}; [0040] {0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0};

[0041] {0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0}; [0041] {0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0};

[0042] {0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0}; [0042] {0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0};

[0043] {0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}; [0043] {0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0};

[0044] {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; [0044] {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

[0045]和 [0045] and

[0046] {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; [0046] {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

[0047] {0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; [0047] {0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

[0048] {0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0}; [0048] {0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0};

[0049] {0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0}; [0049] {0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0};

[0050] {0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0}; [0050] {0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0};

[0051] {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}; [0051] {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0};

[0052] {0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0}; [0052] {0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0};

[0053] {0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0}; [0053] {0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0};

[0054] {0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0}; [0054] {0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0};

[0055] {0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0}; [0055] {0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0};

[0056] {0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0}; [0056] {0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0};

[0057] {0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0}; [0057] {0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0};

[0058] {0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0}; [0058] {0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0};

[0059] {0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0}; [0059] {0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0};

[0060] {0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0}; [0060] {0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0};

[0061] {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}; [0061] {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1};

[0062]步骤 2、定义单片机8 数字I/OP {22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52}为一维数组pinx [16],控制驱动器9信号输入口,驱动器9的信号输出口接电磁水阀的xl,x2,x3……xl6的16根线,定义单片机8数字I/OP {23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53}为另一个一维数组piny [16],其控制驱动器9的信号输入口,驱动器9的信号输出口接电磁水阀的yl,y2,y3……yl6的16根线; [0062] Step 2, define the MCU 8 digital I / OP {22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52}-dimensional arrays pinx [16], the driver control signal input port 9, the drive signal output port 9 connected to the electromagnetic valve of xl, x2, x3 ...... xl6 lines 16, define the digital MCU 8 I / OP {23,25,27, } 29,31,33,35,37,39,41,43,45,47,49,51,53 signal to another one-dimensional array piny [16], which controls the drive signal input port 9, the driver 9 an electromagnetic valve connected to the output port of yl, y2, y3 ...... yl6 the line 16;

[0063] 步骤3、将步骤2取得的模赋予一维数组HLxi [16]和HLyi [16],最终得到一维数组为: [0063] Step 3, Step 2 to obtain the mold imparting one-dimensional array HLxi [16] and HLyi [16], to finally obtain a one-dimensional array:

[0064] HLxl [16] = {0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0}; [0064] HLxl [16] = {0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0};

[0065] HLx2[16] = {0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0}; [0065] HLx2 [16] = {0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0};

[0066] HLx3[16] = {0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0}; [0066] HLx3 [16] = {0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0};

[0067] HLx4[16] = {0,0,1,0,1,0,0,0,0,0,1,1,1,0,0,0}; [0067] HLx4 [16] = {0,0,1,0,1,0,0,0,0,0,1,1,1,0,0,0};

[0068] HLx5[16] = {0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0}; [0068] HLx5 [16] = {0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,0};

[0069] HLx6[16] = {0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0}; [0069] HLx6 [16] = {0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0};

[0070] HLx7[16] = {0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0}; [0070] HLx7 [16] = {0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0};

[0071] HLx8[16] = {0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0}; [0071] HLx8 [16] = {0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0};

[0072] HLx9[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; [0072] HLx9 [16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

[0073]和 [0073] and

[0074] HLyl [16] = {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; [0074] HLyl [16] = {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

[0075] HLx2[16] = {0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; [0075] HLx2 [16] = {0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

[0076] HLx3[16] = {0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0}; [0076] HLx3 [16] = {0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0};

[0077] HLx4[16] = {0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0}; [0077] HLx4 [16] = {0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0};

[0078] HLx5[16] = {0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0}; [0078] HLx5 [16] = {0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0};

[0079] HLx6[16] = {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0}; [0079] HLx6 [16] = {0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0};

[0080] HLx7[16] = {0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0}; [0080] HLx7 [16] = {0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0};

[0081] HLx8[16] = {0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0}; [0081] HLx8 [16] = {0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0};

[0082] HLx9[16] = {0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0}; [0082] HLx9 [16] = {0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0};

[0083] HLxlO[16] = {0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0}; [0083] HLxlO [16] = {0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0};

[0084] HLxll [16] = {0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0}; [0084] HLxll [16] = {0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0};

[0085] HLxl2[16] = {0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0}; [0085] HLxl2 [16] = {0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0};

[0086] HLxl3[16] = {0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0}; [0086] HLxl3 [16] = {0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0};

[0087] HLxl4[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0}; [0087] HLxl4 [16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0};

[0088] HLxl5[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0}; [0088] HLxl5 [16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0};

[0089] HLxl6[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}; [0089] HLxl6 [16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1};

[0090] 步骤4、使用多次循环执行步骤3中得到的一维数组HLxi [16]和HLyi[16],每执行一维数组HLyi [16],执行所有的HLxi [16] 一次。 [0090] Step 4, using multiple cycles obtained in step 3 one-dimensional array HLxi [16] and HLyi [16], each performing one-dimensional array HLyi [16], perform all HLxi [16] once.

Claims (6)

  1. 1.一种三维数字水幕控制方法,其特征在于,基于三维数字水幕控制系统,所述三维数字水幕控制系统结构为:包括通过水管(3)连接的下水箱(I)和上水箱(4),上水箱(4)内设置有电磁水阀(5),电磁水阀(5)按水平矩阵形式排列,上水箱(4) 一侧沿竖直方向设置有两个传感器¢),两个传感器(6)获取上水箱(4)水位信息,两个传感器(6)均与下水箱(I)内设置的水泵(2)通过信号线连接,上水箱(4)还连接控制系统(7),所述控制系统包括单片机(8),单片机⑶控制驱动器(9)驱动每个电磁水阀(5)的开关电源(10); 具体按照以下步骤实施: 步骤1、首先确定电磁水阀(5)喷出水柱上要显示的文字或图案,将电磁水阀(5)横排依次定义为yl,y2,y3......yi,将电磁水阀(5)纵排依次定义为xl,x2,x3......xi,从电磁水阀(5)上要显示的文字或图案的底部开始取模,需要点亮的部分用I表示,I表示高电 A control method of a three-dimensional digital water curtain, characterized in that the water curtain three-dimensional digital control system based on the three-dimensional digital control system water curtain structure: comprising a through pipes (3) the tank (I) and connected to the tank (4), the tank (4) provided with an electromagnetic valve (5), an electromagnetic valve (5) horizontally arranged in a matrix, on the tank (4) provided on the side in the vertical direction with two sensors ¢), two sensors (6) obtaining the water tank (4) water level information, sensor two pumps (6) are disposed within the tank (I) (2) is connected via a signal line, on the tank (4) is also connected to the control system ( 7), said control system comprises a microcontroller (8), the microcontroller ⑶ control driver (9) driving each solenoid valve (5) switching power supply (10); in particular embodiments as follows: step 1, first electromagnetic valve is determined (5) the discharge of water on the text or images to be displayed, the electromagnetic valve (5) in turn defined as the horizontal yl, y2, y3 ...... yi, the electromagnetic valve (5) successively defined tandem of xl, x2, x3 ...... xi, from the bottom of the text or graphics on the electromagnetic valve (5) starts to be displayed modulo lighting needs are denoted by I, I denotes a high electric 平,不需要点亮的部分用O表示,O表示低电平,如果上下相邻两行或多行的显示相同,则合并为一组取模; 步骤2、根据步骤I所要取模的文字或图案信息,定义单片机(8)数字I/O 口{6,8,10,……2i,……2i+4}为一维数组pinx[i],其控制驱动器(9)信号输入口,驱动器(9)的信号输出口接电磁水阀(5)的xl,x2,x3……xi的i根线,定义单片机⑶数字I/O 口{5,7,9,……2i+l,……2i+3}为另一个一维数组piny [i],其控制驱动器(9)的信号输入口,驱动器(9)的信号输出口接电磁水阀的yl,y2,y3……yi的i根线; 步骤3、将步骤2取得的模赋予一维数组HLxi [i]和HLyi [i]; 步骤4、使用多次循环执行步骤3中得到的一维数组HLyi [i]和HLxi[i],每执行一维数组HLyi [i] —次,执行所有的HLxi [i] —次。 Flat, no lights are denoted by O, O indicates a low level, the same display if two or more rows of vertically adjacent, then merged into a modulo set; Step 2, Step I according to the character modulo or pattern information, the definition of the microcontroller (8) digital I / O port {6,8,10, ...... 2i, ...... 2i + 4} is a one-dimensional array pinx [i], which controls the driver (9) the signal input port, drive (9) a signal output port connected to the solenoid valve (5) of xl, x2, x3 ...... xi is the i-th line, the microcontroller defined ⑶ digital i / O port {5,7,9, ...... 2i + l, ...... 2i + 3} another one-dimensional array piny [i], which controls the driver (9) a signal input port, a signal output driver (9) is connected to the electromagnetic valve port of yl, y2, y3 ...... yi of i lines; step 3, step 2 to obtain the mold imparting one-dimensional array HLxi [i] and HLyi [i]; step 4, using the one-dimensional array multiple cycles HLyi [i] obtained in the step 3 and HLxi [ I], each performing one-dimensional array HLyi [i] - Ci, performs all HLxi [i] - times.
  2. 2.根据权利要求1所述的一种三维数字水幕控制方法,其特征在于,所述水泵(2)入水口和上水箱(4)上方安装过滤网,防止杂质混入水中。 A three-dimensional digital water curtain control method according to claim 1, wherein the (4) above the pump (2) and the inlet filter is mounted over the tank, to prevent contamination of the water.
  3. 3.根据权利要求1所述的一种三维数字水幕控制方法,其特征在于,所述下水箱(I)上方安装有防溅网,防止从上水箱(4)落下的水柱向四周散溅。 3. A three-dimensional digital water curtain control method according to claim 1, wherein said lower tank installation (I) with a splash over the network, to prevent (4) of water falling from the water tank to the surrounding scatters .
  4. 4.根据权利要求1所述的一种三维数字水幕控制方法,其特征在于,所述单片机(8)型号为Arduino Mega 2560。 4. A three-dimensional digital water curtain control method according to claim 1, characterized in that the microcontroller (8) Model Arduino Mega 2560.
  5. 5.根据权利要求1所述的一种三维数字水幕控制方法,其特征在于,所述驱动器(9)为L298N模块。 5. A three-dimensional digital water curtain control method according to claim 1, characterized in that the driver (9) is L298N module.
  6. 6.根据权利要求1所述的一种三维数字水幕控制方法,其特征在于,所述电磁水阀(5)的竖直高度为3〜12m。 6. A three-dimensional digital water curtain control method according to claim 1, wherein the electromagnetic valve (5) vertical height 3~12m.
CN 201510075458 2015-02-12 2015-02-12 Three-dimensional digital water curtain control method CN104808543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510075458 CN104808543A (en) 2015-02-12 2015-02-12 Three-dimensional digital water curtain control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510075458 CN104808543A (en) 2015-02-12 2015-02-12 Three-dimensional digital water curtain control method

Publications (1)

Publication Number Publication Date
CN104808543A true true CN104808543A (en) 2015-07-29

Family

ID=53693473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510075458 CN104808543A (en) 2015-02-12 2015-02-12 Three-dimensional digital water curtain control method

Country Status (1)

Country Link
CN (1) CN104808543A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1872396A (en) * 2006-05-18 2006-12-06 李长良 Water curtain type device for sanitizing and purifying air
CN2847436Y (en) * 2005-06-24 2006-12-13 北京玛斯特曼电子科技有限公司 Letter water curtain device
CN101430846A (en) * 2008-09-19 2009-05-13 江苏大学 High-density digital water curtain display system
CN201259767Y (en) * 2008-09-23 2009-06-17 扬州恒源自来水喷泉设备有限公司 Digital control waterwall
CN201673646U (en) * 2009-12-29 2010-12-15 福州福大兴电脑技术开发有限公司 Digital water wall device
CN203076137U (en) * 2013-01-23 2013-07-24 寇敏 Three-dimensional water curtain system
CN203520100U (en) * 2013-10-24 2014-04-02 石家庄学院 PLC-based 3D digital water curtain system
CN204270629U (en) * 2014-04-18 2015-04-15 王东颖 Man-machine interactive digital water wall apparatus
US9199264B2 (en) * 2007-03-12 2015-12-01 Pyrotek Special Effects, Inc. Apparatus for creating a water formed image

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2847436Y (en) * 2005-06-24 2006-12-13 北京玛斯特曼电子科技有限公司 Letter water curtain device
CN1872396A (en) * 2006-05-18 2006-12-06 李长良 Water curtain type device for sanitizing and purifying air
US9199264B2 (en) * 2007-03-12 2015-12-01 Pyrotek Special Effects, Inc. Apparatus for creating a water formed image
CN101430846A (en) * 2008-09-19 2009-05-13 江苏大学 High-density digital water curtain display system
CN201259767Y (en) * 2008-09-23 2009-06-17 扬州恒源自来水喷泉设备有限公司 Digital control waterwall
CN201673646U (en) * 2009-12-29 2010-12-15 福州福大兴电脑技术开发有限公司 Digital water wall device
CN203076137U (en) * 2013-01-23 2013-07-24 寇敏 Three-dimensional water curtain system
CN203520100U (en) * 2013-10-24 2014-04-02 石家庄学院 PLC-based 3D digital water curtain system
CN204270629U (en) * 2014-04-18 2015-04-15 王东颖 Man-machine interactive digital water wall apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
靳炜,冯涛: "基于ARM架构的图形水幕系统", 《计算机测量与控制》 *

Similar Documents

Publication Publication Date Title
Liebchen et al. Clustering and pattern formation in chemorepulsive active colloids
US6971586B2 (en) Water wall assembly for generating dynamically changing water patterns
CN103147421A (en) Water temperature stratification dynamic experimental device
CN101630459A (en) Coupled normal distribution probability demonstration instrument
CN101606794A (en) Dynamic cinema seat equipment
CN202581640U (en) Water distribution system
Guo et al. Aeration and mass transfer optimization in a rectangular airlift loop photobioreactor for the production of microalgae
CN202155034U (en) Hydraulically-driven 4D (four-dimensional) dynamic seat
CN201492022U (en) Dynamic movie theatre chair device
CN202008995U (en) Upright-array type water-cooled radiator
CN103473981A (en) Electronic sand table system and method
CN203830197U (en) Novel music fountain
CN204164939U (en) Simulated dynamic flame generator
CN203980115U (en) Solar street lamp having cleaning function
CN201211476Y (en) Multifunctional high efficiency ion exchanging apparatus
CN201017164Y (en) Fog screen projecting system
JP2009042395A (en) Water display apparatus
CN201751935U (en) Liquid medium curtain device
CN202232556U (en) Indoor stereo breeding device for crabs
Armstrong How protocells can make ‘Stuff’much more interesting
CN201802031U (en) Natural travertine stone-imitated tile
CN203520100U (en) PLC-based 3D digital water curtain system
CN203629357U (en) Environmental-friendly water-saving finned-tube dry and wet cooling tower
CN204669975U (en) Single face removes air purification plant wall
CN203346151U (en) Double-layer aeration curtain membrane module

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination
RJ01