Summary of the invention
the problem that invention will solve
Fountain is controlled more intelligently according to viewing and admiring the field condition such as number or audience's identity although take into account in the water spray control method of above-mentioned improvement, but its position distribution all reckoning without audience is on the impact of viewing and admiring fountain, then may occur that, although the on-the-spot visitor having some of performance, but the major part in them is positioned at and cannot best viewing be even difficult to watch on the position of fountain performance, now, a lot of visitor is not also in the mood for viewing and admiring fountain performance, opens fountain blindly and still causes the wasting of resources.In addition, the impact considering on-the-spot weather conditions in existing fountain control system, is rarely had, the impact that unexpected weather conditions are performed fountain.
In view of the above problems, the object of the invention is to the invention provides a kind of scenic spot fountain intelligent control method, it judges whether to be suitable for opening fountain by weather parameters, in a suitable manner, obtained the real-time position information of visitor by smart travel terminal, carry out the calculating of efficiently individual quantity based on this real-time position information thus judge whether to open fountain and which kind of pattern of viewing and admiring to open fountain with.
for the scheme of dealing with problems
A kind of scenic spot fountain intelligent control method based on smart travel terminal, it comprises the following steps: weather steps in decision-making, judge whether to be suitable for opening fountain according to the weather parameters at scenic spot, fountain is opened if be not suitable for, then prompting should not be opened, and after time delay one long period, again repeat this weather steps in decision-making, open fountain if be suitable for, then enter next step; Calculation procedure, the described smart travel terminal being integrated with GPS module is utilized to locate in real time visitor and obtain real-time position information, the number of viewing and admiring the efficiently individual quantity under pattern in the difference of described fountain is calculated respectively based on described real-time position information, pattern of viewing and admiring described in each has the different modes of viewing and admiring Region dividing respectively, described region of viewing and admiring divides the difference of the appreciation effect of described fountain according to visitor, and described efficiently individual quantity calculates according to each visitor's number of viewing and admiring in region; Open determining step, result of calculation based on above-mentioned calculation procedure is chosen maximum efficiently individual quantity and itself and the unlatching threshold value set is compared, if it not yet reaches unlatching threshold value, then do not open fountain performance, if it reaches unlatching threshold value, then the pattern of viewing and admiring obtaining described maximum efficiently individual quantity is set to choose the pattern of viewing and admiring, and judges the pattern of viewing and admiring to be chosen to start fountain performance with this.
the effect of invention
According to the present invention, a kind of scenic spot fountain intelligent control method is provided, it can control the fountain in scenic spot according to the weather conditions at scenic spot, visitor's number and distribution situation, thus more reasonably control fountain performance, reach while economizing on resources and the better fountain that watches of visitor as much as possible is performed.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention is further elaborated.Following examples only for illustration of the present invention, but are not used for limiting the scope of the invention.
Control system for implementing scenic spot of the present invention fountain intelligent control method comprises water spray control unit and fountain implementation unit.Water spray control unit is for controlling fountain implementation unit to produce the effect of fountain of different mode intelligently, and it comprises one-chip computer module, key-press module, weather monitoring module.Fountain implementation unit is for building light music fountain effect, and it comprises fountain module and auxiliary light music module.
As shown in Figure 1, one-chip computer module is connected with auxiliary light music module with fountain module respectively, fountain module is used for producing different fountain patterns according to the control of one-chip computer module, it comprises again relay or frequency converter, water pump, fountain jet pipe etc., and auxiliary light music module is used for according to the control of one-chip computer module for fountain provides the mate-assist of light and music.Also hand-held with key-press module, weather monitoring module and the visitor respectively smart travel terminal of one-chip computer module is connected.Key-press module is used for the model selection and the keying that are controlled fountain where necessary by remote manual, and it is connected with one-chip computer module by wireless network.Weather monitoring module is used for monitoring the real-time weather situation in scenic spot, and monitoring information is fed back to one-chip computer module, and it is connected with one-chip computer module by wired or wireless mode.Smart travel terminal is the portable set of the hand-held use that visitor provides when entering scenic spot, it can have scenic spot inner position and navigation, run trace record, play sight spot introduces, pushes notice, monitors the function such as visitor's state, scenic spot feedback, GPS module is integrated with to locate in real time visitor in this terminal, each terminal is connected with one-chip computer module by cloud platform or other modes, sends to one-chip computer module with the real-time position information of the visitor obtained.One-chip computer module is the control centre of whole control system, and the visitor location information that its weather parameters provided by weather monitoring module and each terminal are provided automatically controls fountain and carries out the performance that difference views and admires pattern.
The difference pattern of viewing and admiring of fountain is artificial definition, and defines suitable Viewing Area, edge Viewing Area and dangerous Viewing Area respectively for each pattern of viewing and admiring, as shown in Figure 2.Suitable Viewing Area is the geographic area can viewing and admiring fountain panorama preferably, edge Viewing Area be angle poorly but the geographic area also can viewed and admired fountain, dangerous Viewing Area is that water may be splashed to visitor geographic area with it when fountain starts to spray water.Above-mentioned each viewing and admiring views and admires data storing that Region dividing presets as the geographical environment at the position configured according to fountain nozzle and/or scenic spot, fountain place in one-chip computer module under pattern, simultaneously each view and admire pattern under different fountain driving data be also preset and be stored in one-chip computer module.
The position of fountain jet pipe can coordinate the pattern of viewing and admiring to arrange, and as adopted Central Symmetry or axisymmetric mode, is illustrated in figure 3 the fountain jet pipe distribution that a kind of axial symmetry is arranged and the schematic diagram viewing and admiring Region dividing accordingly.Stain wherein represents the setting position of fountain jet pipe, R be visitor be suitable for view and admire distance, be suitable for viewing and admiring in the circular scope that distance R covers at this, be applicable to the performance of visitor to fountain and view and admire; Rdfor the risk distance of fountain, at this risk distance Rdin the circular scope covered, when fountain starts to spray water, water may be splashed to it visitor.Specifically, define north and south and view and admire pattern and thing views and admires pattern two kinds of patterns: under pattern is viewed and admired in north and south, region A and A ' shown in Fig. 3 is defined as suitable Viewing Area, and region B and B ' is defined as edge Viewing Area, and region C is defined as dangerous Viewing Area; Under thing views and admires pattern, region B and B shown in Fig. 3 " be defined as suitable Viewing Area, region A and A ' is defined as edge Viewing Area, and region C is defined as dangerous Viewing Area equally.Certainly, more than viewing and admiring the dividing mode in region just in order to more clearly describe the present invention, in practical operation, more intricately division can be carried out further combined with the geographic basis of scenic spot reality to the region of viewing and admiring that difference is viewed and admired under pattern.
Below in conjunction with Fig. 4 in detail scenic spot of the present invention fountain intelligent control method is described in detail.
Step S1, one-chip computer module is by the weather parameters at weather monitoring module collection scenic spot, whether this weather parameters comprises wind direction wind-force, rains, according to above weather parameters, one-chip computer module judges whether weather is suitable for opening fountain, if wind-force is comparatively large or be rainy day, then enter step S11, prompting should not be opened, after time delay one long period (as 2 hours), again repeat this step S1; If weather parameters meets the requirements, be suitable for opening fountain, then enter next step S2.
Step S2, one-chip computer module collects the real-time position information of each terminal in scenic spot, and calculates the efficiently individual quantity N under difference views and admires pattern respectivelymode (n)number, calculate terminate after enter next step S3, this efficiently individual quantity Nmode (n)computational methods be:
Nmode(n)=α*Ncenter(n)+β*Nedge(n)-χ*Ndanger(n),
Wherein, Ncenter (n)for being in visitor's number that n-th kind is viewed and admired the suitable Viewing Area in pattern, Nedge (n)be in visitor's number that n-th kind is viewed and admired the edge Viewing Area in pattern, Ndanger (n)be be in visitor's number that n-th kind is viewed and admired the dangerous Viewing Area in pattern, α, β, γ are respectively the weighted value of artificial setting, such as, can arrange α=1, β=0.5, γ=0.3.
Step S3, chooses maximum efficiently individual quantity N according to the result of calculation of above-mentioned steps S2maxand by itself and the unlatching threshold value N setthresholdcompare, if it not yet reaches unlatching threshold value, then enter step S31, after the time delay of a set time, repeat above-mentioned steps S1; If it reaches unlatching threshold value, and enter next step S4.
Step S4, one-chip computer module judges that fountain will to obtain above-mentioned maximum efficiently individual quantity Nmaxthe pattern of viewing and admiring start performance, and judge maximum efficiently individual quantity N furthermaxwhether reach the threshold value N opening large-scale performance patternbigif reach this threshold value Nbig, then judge the current large-scale performance of viewing and admiring under pattern of unlatching, if do not reach this threshold value Nbig, then judge, by the current common performance of viewing and admiring under pattern of unlatching, to enter next step S5.
Illustrate above-mentioned steps S3 and S4, calculate north and south respectively and view and admire efficiently individual quantity N under patternmode (1)the efficiently individual quantity N under pattern is viewed and admired with thingmode (2)if: Nmode(1)>=Nmode (2)then Nmax=Nmode (1)if, Nmax< Nthreshold, then, after the time delay of a set time, above-mentioned steps S1 is repeated, if Nbig> Nmax>=Nthreshold, then one-chip computer module judges that fountain views and admires common performance under pattern, if N by carrying out north and southmax>=Nbig, then one-chip computer module judges that fountain views and admires large-scale performance under pattern by carrying out north and south; If Nmode (2)> Nmode (1)then Nmax=Nmode (2)if, Nmax< Nthreshold, then, after the time delay of a set time, above-mentioned steps S1 is repeated, if Nbig> Nmax>=Nthreshold, then one-chip computer module judges that fountain views and admires common performance under pattern, if N by carrying out thingmax>=Nbig, then one-chip computer module judges that fountain views and admires large-scale performance under pattern by carrying out thing.
Step S5, in above-mentioned steps S4, one-chip computer module has judged that certain pattern of viewing and admiring is about to open, then issued the fountain performance opening which kind of pattern to visitor by terminal, and the notice visitor that cannot view and admire in region nearby moves to suitable Viewing Area views and admires, warning the dangerous visitor viewed and admired in region withdraw, in order to avoid splashed by the water that fountain sprays, and provide the time delay of a setting-up time, so that visitor adjusts position, enter step S6 afterwards.
Step S6, one-chip computer module obtains the light conditions at scenic spot by weather monitoring module, if light is bright and beautiful, opens day inter mode, namely only opens fountain and music, if dark, open Night, open fountain, light and music simultaneously; Then, one-chip computer module, according to the fountain driving data of viewing and admiring corresponding to pattern being about to open, controls relay module, thus drives fountain to start performance with the selected pattern of viewing and admiring, and enters step S7 after having performed.
Step S7, repeats above-mentioned steps S1 after the time delay of certain hour.