Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention
One purpose is to propose that a kind of conversion method of the parameter codes of gas heater, this method become in the gas source of gas heater
The conversion of parameter codes is carried out when change, according to parameter codes difference so as to effectively make up the components between gas heater
Between error, and then the working performance of gas heater can be effectively ensured.
Second object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
Third object of the present invention is to propose a kind of conversion equipment of the parameter codes of gas heater.
Fourth object of the present invention is to propose a kind of gas heater.
In order to achieve the above objectives, one aspect of the present invention embodiment proposes a kind of conversion of the parameter codes of gas heater
Method, the gas heater include gas source toggle switch, be the described method comprises the following steps: obtaining the gas source toggle switch
Dial-up status information, and judge according to the dial-up status information gas source of the gas heater, wherein the combustion gas heat
The gas source of hydrophone includes natural gas and liquefied gas;When the gas source is natural gas, by the parameter codes of the gas heater
Be converted to the first parameter codes;When the gas source is liquefied gas, get parms code difference, and according to the first parameter generation
The parameter codes of the gas heater are converted to the second parameter codes by code and the parameter codes difference.
The conversion method of the parameter codes of gas heater according to an embodiment of the present invention, first acquisition gas source toggle switch
Dial-up status information, and the gas source of gas heater is judged according to dial-up status information, when gas source is natural gas, by combustion gas
The parameter codes of water heater are converted to the first parameter codes, and when gas source is liquefied gas, get parms code difference, and according to the
The parameter codes of gas heater are converted to the second parameter codes by one parameter codes and parameter codes difference.As a result, in combustion gas
The conversion of parameter codes is carried out when the gas source variation of water heater, according to parameter codes difference so as to effectively make up gas and hot water
Error between device components, and then the working performance of gas heater can be effectively ensured.
In addition, the conversion method of the parameter codes of the gas heater proposed according to that above embodiment of the present invention can also have
There is following additional technical characteristic:
According to one embodiment of present invention, the parameter codes difference is obtained according to following steps: obtaining more combustion gas
Optimized parameter code when optimized parameter code and gas source when water heater gas source is the natural gas are the liquefied gas;It calculates
Optimal ginseng when optimized parameter code and gas source when the gas source of every gas heater is the natural gas are the liquefied gas
Difference between number code;The average value of the difference is calculated, and using the average value as the parameter codes difference.
According to one embodiment of present invention, the parameter codes include: proportioning valve maximum secondary pressure code, maximum wind velocity
The minimum secondary pressure code of code, proportioning valve, minimum windspeed code, the secondary pressure code of proportioning valve igniting and igniting wind speed code.
According to one embodiment of present invention, the default parameters code of the gas heater is the first parameter generation
Code.
In order to achieve the above objectives, the second aspect of the present invention embodiment proposes a kind of computer-readable storage of non-transitory
Medium is stored thereon with computer program, realizes described in first aspect present invention embodiment when which is executed by processor
The parameter codes conversion method of gas heater.
Non-transitorycomputer readable storage medium according to an embodiment of the present invention, first group of acquisition gas source toggle switch
Code status information, and judge according to dial-up status information the gas source of gas heater, when gas source is natural gas, by gas and hot water
The parameter codes of device are converted to the first parameter codes, and when gas source is liquefied gas, get parms code difference, and according to the first ginseng
It counts code and parameter codes difference and the parameter codes of gas heater is converted into the second parameter codes, so as to effectively make up
Error between gas heater components, and then the working performance of gas heater can be effectively ensured.
In order to achieve the above objectives, the third aspect of the present invention embodiment proposes a kind of parameter codes of gas heater
Conversion equipment, the gas heater include gas source toggle switch, and described device includes: acquisition module, the acquisition module with
The gas source toggle switch is connected, the dial-up status information for obtaining module to obtain the gas source toggle switch;Judgement
Module, the judgment module are connected with the acquisition module, and the judgment module according to the dial-up status information to judge
The gas source of the gas heater, wherein the gas source of the gas heater includes natural gas and liquefied gas;Parameter Switch mould
Block, the Parameter Switch module are connected with the judgment module, and the Parameter Switch mould is when the gas source is natural gas, by institute
The parameter codes for stating gas heater are converted to the first parameter codes, and when the gas source is liquefied gas, get parms code
Difference, and be converted to the parameter codes of the gas heater according to first parameter codes and the parameter codes difference
Second parameter codes.
The conversion equipment of the parameter codes of gas heater according to an embodiment of the present invention obtains gas source by obtaining module
The dial-up status information of toggle switch, judgment module judge the gas source of gas heater, Parameter Switch according to dial-up status information
Mould is converted to the first parameter codes when gas source is natural gas, by the parameter codes of gas heater, and is liquefied gas in gas source
When, get parms code difference, and is turned the parameter codes of gas heater according to the first parameter codes and parameter codes difference
It is changed to the second parameter codes.The device carries out parameter according to parameter codes difference in the gas source variation of gas heater as a result,
So as to effectively make up the error between gas heater components, and then combustion gas heat can be effectively ensured in the conversion of code
The working performance of hydrophone.
In addition, the conversion equipment of the parameter codes of the gas heater proposed according to that above embodiment of the present invention can also have
There is following additional technical characteristic:
According to one embodiment of present invention, the Parameter Switch module is poor according to the following steps acquisition parameter codes
Value: when optimized parameter code and gas source when more gas heater gas sources of acquisition are the natural gas are the liquefied gas most
Excellent parameter codes;Optimized parameter code and gas source when the gas source for calculating every gas heater is the natural gas are the liquid
The difference between optimized parameter code when changing gas;The average value of the difference is calculated, and using the average value as the ginseng
Number code difference.
According to one embodiment of present invention, the parameter codes include: proportioning valve maximum secondary pressure code, maximum wind velocity
The minimum secondary pressure code of code, proportioning valve, minimum windspeed code, the secondary pressure code of proportioning valve igniting and igniting wind speed code.
According to one embodiment of present invention, the default parameters code of the gas heater is the first parameter generation
Code.
In order to achieve the above objectives, the fourth aspect of the present invention embodiment proposes a kind of gas heater comprising this hair
The conversion equipment of the parameter codes of gas heater described in bright third fermentation embodiment.
The gas heater of the embodiment of the present invention is carried out in the gas source variation of gas heater according to parameter codes difference
So as to effectively make up the error between components, and then working performance can be effectively ensured in the conversion of parameter codes.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
With reference to the accompanying drawings come describe the gas heater proposed according to embodiments of the present invention parameter codes conversion side
Method, non-transitorycomputer readable storage medium, gas heater parameter codes conversion equipment and gas heater.
Fig. 1 is the flow chart of the conversion method of the parameter codes of gas heater according to an embodiment of the invention.Its
In, gas heater includes gas source toggle switch, as shown in Figure 1, the conversion method of parameter codes the following steps are included:
S1, obtains the dial-up status information of gas source toggle switch, and judges gas heater according to dial-up status information
Gas source.Wherein, the gas source of gas heater includes natural gas and liquefied gas.
The parameter codes of gas heater are converted to the first parameter codes when gas source is natural gas by S2.
S3, when gas source is liquefied gas, get parms code difference, and according to the first parameter codes and parameter codes difference
The parameter codes of gas heater are converted into the second parameter codes.
In an embodiment of the present invention, the default parameters code of gas heater is the first parameter codes.
Specifically, gas source toggle switch generally comprises first position and the second position, the corresponding dial-up (1 in each position
With 2), have a silk-screen on gas source toggle switch, silk-screen is pushed corresponding position i.e. by user may be selected the gas source of gas heater.Example
Such as, if the gas source of gas heater is natural gas, gas source toggle switch is pushed into first position, if the gas of gas heater
Source is liquefied gas, and source toggle switch is pushed the second position.The gas source of gas heater is generally natural gas, therefore can when factory
Gas source toggle switch is pushed into the corresponding position of natural gas with default.
After judging the gas source of gas heater according to dial-up status information, if the gas source of gas heater is natural
Gas, then the parameter codes of gas heater are converted to the corresponding parameter codes of natural gas, i.e. the first parameter codes.And if
The gas source of gas heater is liquefied gas, then the code difference that gets parms, and it is poor according to the first parameter codes and parameter codes
The parameter codes of gas heater were converted to for the second parameter generation by value, wherein the second parameter codes are equal to the first parameter codes and subtract
Go parameter codes difference.This method is when the gas source variation of gas heater is liquefied gas as a result, according to the first parameter codes and
Parameter codes difference carries out the conversion of parameter codes, can effectively make up the error between gas heater components, Jin Erke
The working performance of gas heater is effectively ensured.
It is appreciated that the first parameter codes and parameter codes difference can be preset in combustion before gas heater factory
In gas water heater.
In an embodiment of the present invention, parameter codes may include: proportioning valve maximum secondary pressure code, maximum wind velocity generation
The minimum secondary pressure code of code, proportioning valve, minimum windspeed code, the secondary pressure code of proportioning valve igniting and igniting wind speed code.
For example, as shown in table 1 below, the parameter codes (the by taking certain gas heater as an example, when gas source is liquefied gas
Two parameter codes) it is equal to corresponding parameter codes (the first parameter codes) when gas source is natural gas and subtracts parameter codes difference.
Table 1
Wherein, in an embodiment of the present invention, parameter codes are 16 system numbers, the corresponding job ginseng of each parameter codes
Number.
As shown in Table 1, the corresponding parameter codes of liquefied gas parameter codes corresponding with natural gas and parameter codes difference
It is related.As shown in Table 1, the corresponding PH=99 of natural gas of gas heater default, then becoming liquefied gas in its gas source
When, corresponding PH=99-10=89.For the gas heater of same model, due to the difference of components, every gas and hot water
First parameter codes of device have a little difference, the gas heater with the same model of upper table 1, if the natural gas pair of its default
The PH=98 answered, then when its gas source becomes liquefied gas, corresponding PH=98-10=88.
Through the foregoing embodiment it is found that being joined when the gas source of gas heater becomes liquefied gas from natural gas
Need to get parms code difference when counting the conversion of code, and carrying out parameter codes conversion, describe below with reference to specifically embodiment
How get parms code difference.
According to one embodiment of present invention, as shown in Fig. 2, being got parms code difference according to following steps:
S31, when optimized parameter code and gas source when more gas heater gas sources of acquisition are natural gas are liquefied gas
Optimized parameter code.Wherein, more generally 10 or 10 or more.
S32, when optimized parameter code and gas source when the gas source for calculating every gas heater is natural gas are liquefied gas
Optimized parameter code between difference.
S33, the average value of calculating difference, and using average value as parameter codes difference.
Specifically, when at least 10 gas heater gas sources are natural gas to the same model of test before gas heater dispatches from the factory
Optimized parameter code and gas source be liquefied gas when optimized parameter code, then calculate every gas heater gas source be day
The difference between optimized parameter code when optimized parameter code when right gas and gas source are liquefied gas.Then all differences are taken
Average value, as parameter codes difference.For example, optimal PH (natural gas)=A3 of certain gas heater, optimal PH (liquefaction
Gas)=98, the difference of the two is 11, can similarly obtain the corresponding difference of other gas heater PH, all differences are averaged
Value, the corresponding parameter codes difference of the PH of the as signal gas heater.Similarly, available other parameters code such as FH,
The corresponding parameter codes difference of PL, FL, DH, DF.Finally, all parameter codes differences are preset in gas heater, so that
The gas source of gas heater carries out parameter codes conversion when being converted to liquefied gas by natural gas, so as to make up gas heater
Error between components.
In conclusion the conversion method of the parameter codes of gas heater according to an embodiment of the present invention, first acquisition gas
The dial-up status information of source toggle switch, and judge according to dial-up status information the gas source of gas heater, when gas source is natural
When gas, the parameter codes of gas heater are converted into the first parameter codes, when gas source is liquefied gas, the code that gets parms is poor
Value, and the parameter codes of gas heater are converted into the second parameter codes according to the first parameter codes and parameter codes difference.
The conversion of parameter codes is carried out, according to parameter codes difference in the gas source variation of gas heater as a result, so as to effective
The error between gas heater components is made up, and then the working performance of gas heater can be effectively ensured.
The embodiment of the present invention also proposed a kind of non-transitorycomputer readable storage medium, be stored thereon with computer
Program, the program realize the parameter codes conversion method of above-mentioned gas heater when being executed by processor.
Non-transitorycomputer readable storage medium according to an embodiment of the present invention, first group of acquisition gas source toggle switch
Code status information, and judge according to dial-up status information the gas source of gas heater, when gas source is natural gas, by gas and hot water
The parameter codes of device are converted to the first parameter codes, and when gas source is liquefied gas, get parms code difference, and according to the first ginseng
It counts code and parameter codes difference and the parameter codes of gas heater is converted into the second parameter codes, so as to effectively make up
Error between gas heater components, and then the working performance of gas heater can be effectively ensured.
The box signal of the conversion equipment of the parameter codes of gas heater according to an embodiment of the invention when Fig. 3
Figure.As shown in figure 3, gas heater includes gas source toggle switch 100, the conversion equipment of parameter codes include: obtain module 10,
Judgment module 20 and Parameter Switch module 30.
Wherein, it obtains module 10 to be connected with gas source toggle switch 100, obtains module 10 to obtain gas source toggle switch
100 dial-up status information.Judgment module 20 is connected with module 10 is obtained, and judgment module 20 according to dial-up status information to sentence
The gas source of disconnected gas heater, wherein the gas source of gas heater includes natural gas and liquefied gas.Parameter Switch module 30 with sentence
Disconnected module 20 is connected, and the parameter codes of gas heater are converted to the first ginseng when gas source is natural gas by Parameter Switch mould 30
Number code, and when gas source is liquefied gas, get parms code difference, and will according to the first parameter codes and parameter codes difference
The parameter codes of gas heater are converted to the second parameter codes.
In an embodiment of the present invention, the default parameters code of gas heater is the first parameter codes.
Specifically, gas source toggle switch 100 generally comprises first position and the second position, the corresponding dial-up in each position
(1 and 2) have a silk-screen on gas source toggle switch 100, and silk-screen is pushed corresponding position i.e. by user may be selected the gas of gas heater
Source.For example, gas source toggle switch 100 is pushed first position, if combustion gas is hot if the gas source of gas heater is natural gas
The gas source of hydrophone is liquefied gas, and source toggle switch 100 is pushed the second position.The gas source of gas heater is generally natural gas,
It can default when therefore dispatching from the factory and gas source toggle switch 100 is pushed into the corresponding position of natural gas.
After judgment module 20 judges the gas source of gas heater according to dial-up status information, if gas heater
Gas source is natural gas, then the parameter codes of gas heater are converted to natural gas corresponding parameter generation by Parameter Switch module 30
Code, i.e. the first parameter codes.And if the gas source of gas heater is liquefied gas, Parameter Switch module 30 gets parms generation
Code difference, and the parameter codes of gas heater are converted into the second parameter according to the first parameter codes and parameter codes difference
Generation, wherein the second parameter codes are equal to the first parameter codes and subtract parameter codes difference.The device is in gas heater as a result,
Gas source variation when being liquefied gas, the conversion of parameter codes, Ke Yiyou are carried out according to the first parameter codes and parameter codes difference
Effect makes up the error between gas heater components, and then the working performance of gas heater can be effectively ensured.
It is appreciated that the first parameter codes and parameter codes difference can be preset in combustion before gas heater factory
In gas water heater.
In an embodiment of the present invention, parameter codes may include: proportioning valve maximum secondary pressure code, maximum wind velocity generation
The minimum secondary pressure code of code, proportioning valve, minimum windspeed code, the secondary pressure code of proportioning valve igniting and igniting wind speed code.
For example, as shown in table 1 below, the parameter codes (the by taking certain gas heater as an example, when gas source is liquefied gas
Two parameter codes) it is equal to corresponding parameter codes (the first parameter codes) when gas source is natural gas and subtracts parameter codes difference.
Table 1
Wherein, in an embodiment of the present invention, parameter codes are 16 system numbers, the corresponding job ginseng of each parameter codes
Number.
As shown in Table 1, the corresponding parameter codes of liquefied gas parameter codes corresponding with natural gas and parameter codes difference
It is related.As shown in Table 1, the corresponding PH=99 of natural gas of gas heater default, then becoming liquefied gas in its gas source
When, corresponding PH=99-10=89.For the gas heater of same model, due to the difference of components, every gas and hot water
First parameter codes of device have a little difference.With the gas heater of the same model of upper table 1, if its default natural gas pair
The PH=98 answered, then when its gas source becomes liquefied gas, corresponding PH=98-10=88.
Through the foregoing embodiment it is found that being joined when the gas source of gas heater becomes liquefied gas from natural gas
Need to get parms code difference when counting the conversion of code, and carrying out parameter codes conversion, describe below with reference to specifically embodiment
How Parameter Switch module 30 gets parms code difference.
According to one embodiment of present invention, as shown in Fig. 2, Parameter Switch module 30 gets parms generation according to following steps
Code difference:
S31, when optimized parameter code and gas source when more gas heater gas sources of acquisition are natural gas are liquefied gas
Optimized parameter code.Wherein, more generally 10 or 10 or more.
S32, when optimized parameter code and gas source when the gas source for calculating every gas heater is natural gas are liquefied gas
Optimized parameter code between difference.
S33, the average value of calculating difference, and using average value as parameter codes difference.
Specifically, when at least 10 gas heater gas sources are natural gas to the same model of test before gas heater dispatches from the factory
Optimized parameter code when being liquefied gas of optimized parameter code and gas source, Parameter Switch module 30 calculates every gas heater
Optimized parameter code of optimized parameter code and gas source of the gas source when being natural gas when being liquefied gas between difference.Then join
All differences are averaged by number conversion module 30, as parameter codes difference.For example, optimal (the day PH of certain gas heater
Right gas)=A3, optimal PH (liquefied gas)=98, the difference of the two is 11, and it is corresponding can similarly to obtain other gas heater PH
All differences are averaged by difference, the corresponding parameter codes difference of the PH of the as signal gas heater.Similarly, parameter
The corresponding parameter codes difference of conversion module 30 available other parameters code such as FH, PL, FL, DH, DF.Parameter Switch module
30 can be when the gas source of gas heater be converted to liquefied gas by natural gas according to the first parameter codes and parameter codes difference
Parameter codes conversion is carried out, so as to make up the error between gas heater components.
The conversion equipment of the parameter codes of gas heater according to an embodiment of the present invention obtains gas source by obtaining module
The dial-up status information of toggle switch, judgment module judge the gas source of gas heater, Parameter Switch according to dial-up status information
Mould is converted to the first parameter codes when gas source is natural gas, by the parameter codes of gas heater, and is liquefied gas in gas source
When, get parms code difference, and is turned the parameter codes of gas heater according to the first parameter codes and parameter codes difference
It is changed to the second parameter codes.The device carries out parameter according to parameter codes difference in the gas source variation of gas heater as a result,
So as to effectively make up the error between gas heater components, and then combustion gas heat can be effectively ensured in the conversion of code
The working performance of hydrophone.
In addition, the embodiment of the present invention also proposes a kind of gas heater comprising the above-mentioned gas heater of the present invention
Parameter codes conversion equipment.
The gas heater of the embodiment of the present invention is carried out in the gas source variation of gas heater according to parameter codes difference
So as to effectively make up the error between components, and then working performance can be effectively ensured in the conversion of parameter codes.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", " length ", " width ",
" thickness ", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom" "inner", "outside", " up time
The orientation or positional relationship of the instructions such as needle ", " counterclockwise ", " axial direction ", " radial direction ", " circumferential direction " be orientation based on the figure or
Positional relationship is merely for convenience of description of the present invention and simplification of the description, rather than the device or element of indication or suggestion meaning must
There must be specific orientation, be constructed and operated in a specific orientation, therefore be not considered as limiting the invention.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc.
Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect
It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary
The interaction relationship of the connection in portion or two elements, unless otherwise restricted clearly.For those of ordinary skill in the art
For, the specific meanings of the above terms in the present invention can be understood according to specific conditions.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with
It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists
Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of
First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below "
One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.