The control method and system of a kind of computer fan
Technical field
The present invention relates to computer fan technical field of heat dissipation, more particularly to a kind of computer fan control method and be
System.
Background technology
Heat can be produced in the CPU of computer and other parts at high speeds operation process, radiating is exactly in fact a heat transfer
Process, it is therefore an objective to the heat that CPU and miscellaneous part are produced is taken on other media, by cpu temperature control in a stabilization
Within the scope of.According to the environment that we live, the heat of CPU will be finally diffused in the middle of air, and this process is exactly that computer dissipates
Heat.
In current computer realm, there is presently no with software (including the application program of the APP of smart mobile phone, computer
Deng software) self-defined regulation is carried out to the radiator fan of computer method.Inventor realize it is of the invention during, find
There is following technical problem in prior art:
Only have by the physical button on computer host box come the maximum of simple adjustment (limitation) fan in the prior art
The method of rotating speed, so as to realize that (Pulse Width Modulation, pulse width modulation is using micro- to the PWM of different mode
The numeral output of processor is widely used in from measurement, leads to come a kind of very effective technology being controlled to analog circuit
In believing Power Control and many fields of conversion) function, but prior art can not carry out the fixed of each rotating speed to fan to be turned
Regulation and the function of the interval PWM of switching different rotating speeds.
The information for being disclosed in the background section is merely intended to increase the understanding to general background of the invention, without answering
In being considered as recognizing or imply in any form that the information structure has been the prior art well known to persons skilled in the art.
The content of the invention
Technical problem
In view of this, the technical problem to be solved in the present invention is how to provide a kind of control method of computer fan, energy
Enough functions of realizing to fan determine modulation section and the interval PWM of switching different rotating speeds.
Solution
To solve above technical problem, the present invention provides a kind of control method of computer fan in first aspect, including:
First operation information of user is detected, corresponding fan control pattern is determined according to first operation information;Detection user's
Second operation information, instructs according to second operation information and corresponding fan control schema creation fan control;Will
The fan control instruction is sent to the controller of computer fan, and indicates the controller to be instructed according to the fan control
The computer fan is controlled.
In a kind of possible implementation, the fan control pattern is fixed turning and/or the interval self-defined mould of rotating speed
Formula.
In a kind of possible implementation, when the self-defined pattern that the fan control pattern is fixed turn, the inspection
Second operation information of user is surveyed, according to second operation information and corresponding fan control schema creation fan control
Instruction includes:Second operation information of user is detected, second operation information turns parameter surely comprising parameter is turned surely according to described
Self-defined pattern with described fixed turn generates the first fan control instruction, and the first fan control instruction includes described fixed turn ginseng
Number.
In a kind of possible implementation, when the fan control pattern is the interval self-defined pattern of rotating speed, institute
Second operation information of detection user is stated, according to second operation information and corresponding fan control schema creation fan
Control instruction includes:Second operation information of user is detected, second operation information includes rotating speed interval parameter, according to described
Rotating speed interval parameter and the interval self-defined pattern of the rotating speed generate the second fan control instruction, and second fan control refers to
Order includes the rotating speed interval parameter.
In a kind of possible implementation, the fan control pattern is preset mode, and the preset mode includes:Property
Can pattern, normal mode and/or silent mode;Second operation information of the detection user, according to second operation information
Include with corresponding fan control schema creation fan control instruction:Second operation information of user is detected, according to described
Second operation information is selected first, and according to the described second operation letter from the performance mode, normal mode or silent mode
Performance mode, normal mode or the silent mode generation three fan control instruction for ceasing and selecting.
To solve above technical problem, the present invention provides a kind of control system of computer fan in second aspect, including:
Mode selection module, the first operation information for detecting user, corresponding fan control is determined according to first operation information
Molding formula;Instruction triggers module, the second operation information for detecting user, according to second operation information and described corresponding
The fan control of fan control schema creation instruction;Instruction sending module, for fan control instruction to be sent into calculating
The controller of machine fan, and indicate the controller to be controlled to the computer fan according to fan control instruction.
In a kind of possible implementation, the fan control pattern is fixed turning and/or the interval self-defined mould of rotating speed
Formula.
In a kind of possible implementation, when the self-defined pattern that the fan control pattern is fixed turn, the finger
Make trigger module specifically for:Second operation information of user is detected, second operation information is included and turns parameter surely, according to institute
State and turn parameter and generation the first fan control instruction of described fixed turn of self-defined pattern surely, the first fan control instruction is included
It is described to turn parameter surely.
In a kind of possible implementation, when the fan control pattern is the interval self-defined pattern of rotating speed, institute
State instruction triggers module specifically for:Second operation information of user is detected, second operation information includes the interval ginseng of rotating speed
Number, the second fan control instruction is generated according to the interval self-defined pattern of the rotating speed interval parameter and the rotating speed, and described the
Two fan control instruction includes the rotating speed interval parameter.
In a kind of possible implementation, the fan control pattern is preset mode, and the preset mode includes:Property
Can pattern, normal mode and/or silent mode;The instruction triggers module specifically for:Second operation information of user is detected,
Selected first, and according to described from the performance mode, normal mode or silent mode according to second operation information
Two operation informations and the performance mode selected, normal mode or silent mode generation three fan control instruction.
Beneficial effect
The control method and system of a kind of computer fan of the embodiment of the present invention, are followed the trail of by intelligence and are input into pwm pulse
To regulate and control rotation speed of the fan index, realize carries out determining modulation section and switching different rotating speeds area to computer fan for the change of dutycycle
Between regulatory function, allow users to carry out computer fan long-range self-defined control in a creative way, improve computer
The control effect of fan, has reached close friend's interaction of mobile terminal and equipment end, improves Consumer's Experience.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, further feature of the invention and aspect will become
It is clear.
Brief description of the drawings
Comprising in the description and the part that constitutes specification accompanying drawing together illustrated with specification it is of the invention
Exemplary embodiment, feature and aspect, and for explaining principle of the invention.
Fig. 1 shows a kind of flow chart of the control method of computer fan of the embodiment of the present invention 1;
Fig. 2 shows a kind of display schematic diagram of operation interface of the embodiment of the present invention 1;
Fig. 3 shows the display schematic diagram of another operation interface of the embodiment of the present invention 1;
Fig. 4 shows the display schematic diagram of another operation interface of the embodiment of the present invention 1;
Fig. 5 shows the display schematic diagram of another operation interface of the embodiment of the present invention 1;
Fig. 6 shows the display schematic diagram of another operation interface of the embodiment of the present invention 1;
Fig. 7 shows a kind of display schematic diagram of operation interface of the embodiment of the present invention 2;
Fig. 8 shows the display schematic diagram of another operation interface of the embodiment of the present invention 2;
Fig. 9 shows the display schematic diagram of another operation interface of the embodiment of the present invention 2;
Figure 10 shows a kind of structural representation of the control system of computer fan of the embodiment of the present invention 3.
Specific embodiment
Below in conjunction with the accompanying drawings, specific embodiment of the invention is described in detail, it is to be understood that guarantor of the invention
Shield scope is not limited by specific embodiment.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.Unless
Separately there are other to explicitly indicate that, otherwise in entire disclosure and claims, term " including " or its conversion such as "comprising" or
" including " etc. will be understood to comprise stated element or part, and not exclude other elements or other compositions
Part.
Special word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details are given in specific embodiment below.
It will be appreciated by those skilled in the art that without some details, the present invention can equally be implemented.In some instances, for
Method well known to those skilled in the art, means, element are not described in detail, in order to highlight purport of the invention.
The control method and system of a kind of computer fan that the embodiment of the present invention is proposed, can be by wireless terminal (such as
Smart mobile phone or panel computer etc.) application program the radiator fan of computer is adjusted, be conducive to people to computer
The selection of hardware temperatures and noise and control.
The hardware of the embodiment of the present invention is realised in that:By one or more IC being arranged on computer fan controller
(integrated circuit, integrated circuit) processor, reads the fluctuation letter of the pulse that computer terminal (mainboard) is provided
Number, fan is controlled by the regulation of voltage then, the dutycycle of the fluctuation signal for reading is matched, by changing not
With dutycycle rotating speed control is carried out to fan adjusting output voltage, so as to realize PWM functions (or determining rotating function).
Pulsewidth modulation (PWM) general principle:Control mode is exactly that the break-make of inverter circuit switching device is controlled, and is made
Output end obtains a series of equal pulse of amplitudes, with these pulses come instead of sine wave or required waveform.Namely exist
Multiple pulses are produced in the half period of output waveform, the threshold voltage that waits for making each pulse is sinusoidal waveform, and the output for being obtained is put down
Slide and low-order harmonic is few.The width of each pulse is modulated by certain rule, you can change inverter circuit output voltage
Size, can also change output frequency.This partial content belongs to prior art, will not be repeated here!
Embodiment 1
Fig. 1 shows the flow chart of the control method of computer fan provided in an embodiment of the present invention, as shown in figure 1, the party
Method includes:
Step S101:First operation information of user is detected, corresponding fan control is determined according to first operation information
Molding formula.
The method of the embodiment of the present invention can be useful on the APP of smart mobile phone/panel computer, it is also possible to be useful in PC ends
Application Software Program on.The embodiment of the present invention is illustrated with the APP of touch screen smart mobile phone, and those skilled in the art should
Solution, the control method on panel computer/PC ends is similar.
, it is necessary to the communication set up between APP and computer before being controlled to computer fan by smart mobile phone APP
Connection, communications connection procedure simple declaration book is as follows:1st, the connection setup of APP ends and computer, computer is not getting road
In the case of device key parameter (SSID and password), computer is introduced into a key distribution pattern, then is connect by distribution by APP ends
Mouth broadcasts out Router Parameters, and computer, and can be automatic once after the correct parameter for receiving correct route device, being stored in memory block
Networking, is connected into Cloud Server, and send notification to APP using udp broadcast mode in LAN after success;If computer is
Through obtaining Router Parameters, a key will be skipped with network process, directly automatic networking, and notify APP;2nd, APP ends and meter
The two-way communication of calculation machine, after APP and computer establish communication link, it is possible to carried out according to the communication protocol formulated double
The data interaction of side.Operated accordingly after computer analyzing data command, in embodiments of the present invention, with computer fan
Controller parsing data command illustrate.
Smart mobile phone is controlled operation, controller by APP and Wireless/wired network to the controller of computer fan
Power supply is provided fan by cable network (such as data wire) and be controlled.The operation information of the embodiment of the present invention for example can be with
It is a series of touch/clicking operations of the user on smart mobile phone APP.
User opens APP operation interfaces, i.e., as shown in Figure 2." control individual equipment " is then clicked in operation interface (also may be used
To be " control all devices ", the embodiment of the present invention is only controlling individual equipment to be illustrated), it is switched to as shown in Figure 3
Operation interface.User clicks on wherein any one equipment, and " fan " option is shown above operation interface, and selection should
" fan " option, that is, enter the operation interface being controlled to fan, shows operation interface as shown in Figure 4.
In such as operation interface of Fig. 4, there are two major class control models to select, that is, preset (intelligence) pattern and self-defined
Pattern, user touch/click on " intelligence " button or the Custom button can into the operation interface of corresponding preset mode or
The operation interface of self-defined pattern.
Step S102:Second operation information of user is detected, according to second operation information and corresponding fan
Control model generation fan control instruction.
User is after selection wherein preset mode or self-defined pattern, it is necessary in the operation interface or self-defined of preset mode
The operation interface of pattern carries out next step operation, touched such as in preset mode operation interface/click on performance mode, normal mode
One of and/or silent mode, you can triggering generation fan control instruction.It is described as follows:
When the fan control pattern of user's selection is self-defined pattern, operation interface as shown in Figure 5 is shown, it is self-defined
Pattern is included determines rotary-die type or rotating speed inter-area modes (i.e. self-defined 1 and self-defined 2).
When the self-defined pattern that the fan control pattern is fixed turn, second operation information of the detection user, root
Include according to second operation information and corresponding fan control schema creation fan control instruction:The second of detection user
Operation information, second operation information turns parameter and described fixed turn of self-defined pattern surely comprising parameter is turned surely according to described
The first fan control instruction is generated, the first fan control instruction turns parameter surely comprising described.As shown in figure 5, such as user
Rotary-die type is determined in selection, and parameter for example, 1500RPM (Revolution (s) Per Minute, rpm) is turned surely, then generate
First fan control instruction is the rotary-die type of determining that the rotation of computer fan is set to rotating speed 1500RPM, i.e., with 1500RPM
Surely turned.
When the fan control pattern is the interval self-defined pattern of rotating speed, the second operation letter of the detection user
Breath, includes according to second operation information and corresponding fan control schema creation fan control instruction:Detection user
The second operation information, second operation information include rotating speed interval parameter, according to the rotating speed interval parameter and described turn
Fast interval self-defined pattern generates the second fan control instruction, and the second fan control instruction includes the interval ginseng of the rotating speed
Number.As shown in fig. 6, such as user selects rotating speed inter-area modes, and (self-defined 1), it is 1000RPM-1100RPM that rotating speed is interval, then give birth to
Into the second control instruction be rotating speed inter-area modes that the rotation of computer fan is set to 1000RPM-1100RPM, i.e.,
Rotated in 1000RPM-1100RPM intervals.
When the fan control pattern of user's selection is default (intelligence) pattern, the preset mode includes:Performance mode,
Normal mode and/or silent mode;Second operation information of the detection user, according to second operation information and the phase
The fan control schema creation fan control instruction answered includes:Second operation information of user is detected, according to the described second operation
Information is selected first, and according to second operation information and selection from the performance mode, normal mode or silent mode
Performance mode, normal mode or the silent mode generation three fan control instruction for going out.
Step S103:Fan control instruction is sent to the controller of computer fan, and indicates the controller
The computer fan is controlled according to fan control instruction.
Controller is controlled according to the fan control instruction for receiving to fan, and controller is by exporting to fan
Voltage-regulation controls the rotating speed of fan, output voltage by performing the method for the embodiment of the present invention always in different conversion,
So as to the fan mode that fan can also be selected according to user is responded accordingly.
Controller under preset mode and self-defined pattern is carried out simply to the control process of computer fan individually below
Explanation:
1st, preset mode
A, performance mode:The pwm pulse signal that the computer that controller reads is provided, changes into a dutycycle;Control
Device processed is also translated into a dutycycle to the output voltage of fan, and the maximum of this dutycycle reaches the rotating speed of fan 100%.So
Both dutycycles are matched afterwards, is operated, reached more preferable radiating effect.
B, normal mode:The pwm pulse signal that the computer that controller reads is provided, changes into a dutycycle;Control
Device processed is also translated into a dutycycle to the output voltage of fan, and the maximum of this dutycycle reaches 80% of fan or so and turns
Speed.Then both dutycycles are matched, is operated, relative equilibrium can be so carried out in terms of Jing Yin and radiating
Selection.
C, silent mode:The pwm pulse signal that the computer that controller reads is provided, changes into a dutycycle;Control
Device processed is also translated into a dutycycle to the output voltage of fan, and the maximum of secondary dutycycle reaches 60% of fan or so and turns
Speed.Then both dutycycles are matched, is operated, such fan can preferably be maintained quiet rotating speed, to happiness
It is one for good quiet people to select well.
2nd, self-defined pattern
A, determine rotary-die type:The signal that this computer is provided is unrelated.Controller is also translated into one to the output voltage of fan
Individual dutycycle, the dutycycle numerical value according to different proportion, fan is carried out one it is long-term determine to turn output voltage values, so as to ensure
The rotating speed position of fan is very useful in a numerical value, the user to there is demand in this respect.
B, rotating speed inter-area modes:The pwm pulse signal that the computer side read by controller is provided, changes into one
Dutycycle;By the selected range of speeds of customer, (this numerical value has various possibilities, customer to output voltage of the controller to fan
By initial rotating speed, and terminate the setting of rotating speed, the starting voltage of fan and end voltage can be carried out a control, thus
The possibility of multiple voltage proportioning can be formed) change into a dutycycle.Then both dutycycles are matched.Carry out work
Make.Rotating speed interval range required for so preferably allowing user to select him, better controls over fan.
A kind of control method of computer fan of the embodiment of the present invention, is followed the trail of by intelligence and is input into pwm pulse dutycycle
Change regulate and control rotation speed of the fan index, realize carries out determining modulation section and the interval tune of switching different rotating speeds to computer fan
Section function, allows users to carry out computer fan long-range self-defined control in a creative way, improves computer fan
Control effect, has reached close friend's interaction of mobile terminal and equipment end, improves Consumer's Experience.
Embodiment 2
A kind of control method of computer fan that the embodiment of the present invention is proposed, can also be carried out to the external light of fan
Control, the external light can merge with fan and set or be separately provided, to lift visual effect.Still with smart mobile phone
As a example by APP, as shown in fig. 7, the side of " fan " button can set " light " button in operation interface, at " light "
Light is controlled in operation interface.
As shown in fig. 7, can be controlled to the colour circle of light in " colour circle " operation interface;As shown in figure 8, in " mould
Lamp light mode can be controlled in formula " operation interface;As figure 9, can also be set and lamp in " music " operation interface
The music background that light is used in combination.
Controller is controlled to light, and (rgb color pattern is a kind of face of industrial quarters for RGB to send the equipment of light
Colour standard, be by red (RED), green (GREEN), the change of blue (BLUE) three Color Channels and they each other
It is superimposed to obtain color miscellaneous) polychrome lamp bead.Output is matched using different voltage, multiple color can be shown.
Controller can control the color colour of light, can also control the display pattern of light, lamp light mode can have static schema,
Breathing pattern, different flash patterns, three color breathing patterns, the breathing of seven colors, three color stroboscopics, seven color stroboscopics, three color saltus steps, seven color saltus step moulds
Formula:
1), static schema realization principle:The rgb value for directly being selected according to user is realized;
2), breathing pattern realization principle:The brightness value and speed selected according to user, calculate breathing change exponent number,
Time interval, then realizes the PWM value that interval setting changes according to certain rules using timer.
3), different flash patterns realization principle:The time interval that is set according to user controls the opening/closing time of light;
4), Hopping Pattern realization principle:The time interval that is set according to user controls the exhibition one by one of different colours light
It is existing.
Controller can also control the brightness of lamp light mode and corresponding conversion rate.
The method of the embodiment of the present invention has used mobile terminal (android system or IOS systems) APP to be set up with computer terminal
Communication connection, is managed to signal light control, and signal light control part realizes the effect of multi-mode (static state, breathing, saltus step, stroboscopic)
Fruit represents, and improves visual display effect.
Embodiment 3
Figure 10 shows the structural representation of the control system of computer fan provided in an embodiment of the present invention, such as Figure 10 institutes
Show, the system includes:
Mode selection module 101, the first operation information for detecting user, phase is determined according to first operation information
The fan control pattern answered;
Instruction triggers module 102, the second operation information for detecting user, according to second operation information and described
Corresponding fan control schema creation fan control instruction;
Instruction sending module 103, for fan control instruction to be sent into the controller of computer fan, and indicates
The controller is controlled according to fan control instruction to the computer fan.
In a kind of possible implementation, the fan control pattern is fixed turning and/or the interval self-defined mould of rotating speed
Formula.
In a kind of possible implementation, when the self-defined pattern that the fan control pattern is fixed turn, the finger
Make trigger module 101 specifically for:Second operation information of user is detected, second operation information is included and turns parameter, root surely
Turn parameter and generation the first fan control instruction of described fixed turn of self-defined pattern, the first fan control instruction surely according to described
Turn parameter surely comprising described.
In a kind of possible implementation, when the fan control pattern is the interval self-defined pattern of rotating speed, institute
State instruction triggers module 101 specifically for:Second operation information of user is detected, second operation information is interval comprising rotating speed
Parameter, the second fan control instruction is generated according to the rotating speed interval parameter and the interval self-defined pattern of the rotating speed, described
Second fan control instruction includes the rotating speed interval parameter.
In a kind of possible implementation, the fan control pattern is preset mode, and the preset mode includes:Property
Can pattern, normal mode and/or silent mode;The instruction triggers module 101 specifically for:The second operation letter of detection user
Breath, selects first, simultaneously according to according to second operation information from the performance mode, normal mode or silent mode
Second operation information and the performance mode selected, normal mode or silent mode generation three fan control instruction.
A kind of control system of computer fan of the embodiment of the present invention, is followed the trail of by intelligence and is input into pwm pulse dutycycle
Change regulate and control rotation speed of the fan index, realize carries out determining modulation section and the interval tune of switching different rotating speeds to computer fan
Section function, allows users to carry out computer fan long-range self-defined control in a creative way, improves computer fan
Control effect, has reached close friend's interaction of mobile terminal and equipment end, improves Consumer's Experience.
The foregoing description to specific illustrative embodiment of the invention be in order to illustrate and illustration purpose.These descriptions
It is not wishing to limit the invention to disclosed precise forms, and it will be apparent that according to above-mentioned teaching, can be much changed
And change.The purpose of selecting and describing the exemplary embodiment is that explaining that certain principles of the invention and its reality should
With so that those skilled in the art can realize and using a variety of exemplaries of the invention and
A variety of selections and change.The scope of the present invention is intended to be limited by claims and its equivalents.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, the part shown as unit can be or may not be physics list
Unit, you can with positioned at a place, or can also be distributed on multiple NEs.It can according to the actual needs be selected
In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and implement.