EE parameter modification method of air conditioner

文档序号:406831 发布日期:2021-12-17 浏览:25次 中文

阅读说明:本技术 一种空调器的ee参数修改方法 (EE parameter modification method of air conditioner ) 是由 葛文凯 王若峰 于 2020-06-11 设计创作,主要内容包括:本发明提供了一种空调器的EE参数修改方法,将空调器中存储的EE参数表进行格式转换形成EE定义表,在EE定义表中包括地址、与地址对应的说明和数据,与EE参数表相比,EE定义表中的地址与EE参数表中的地址位对应,EE定义表中的数据与EE参数表的数据对应,EE定义表中还具有与地址和数据对应的说明,说明用于说明地址存储的数据名称,因而,EE定义表中显示的地址、说明和数据非常清楚,研发人员修改EE参数时,仅需找到参数名称对应的数据,修改即可,非常方便快捷,出错率大大降低。(The invention provides an EE parameter modifying method of an air conditioner, which converts the format of an EE parameter table stored in the air conditioner to form an EE definition table, wherein the EE definition table comprises addresses, explanations and data corresponding to the addresses, compared with the EE parameter table, the addresses in the EE definition table correspond to address bits in the EE parameter table, the data in the EE definition table corresponds to the data in the EE parameter table, and the EE definition table also comprises the explanations corresponding to the addresses and the data, which are used for explaining the data names stored in the addresses.)

1. An EE parameter modification method of an air conditioner is characterized in that:

reading an EE parameter table stored in the air conditioner;

carrying out format conversion on the EE parameter table to form an EE definition table;

carrying out format conversion on the modified EE definition table to form an EE parameter table;

writing the EE parameter table into an air conditioner;

the EE parameter table comprises address bits and data corresponding to the address bits; the EE definition table comprises addresses, descriptions corresponding to the addresses and data; the address of the EE definition table corresponds to the address bit of the EE file, the description is used for describing the name of the data stored in the address, and the data of the EE definition table corresponds to the data of the EE parameter table.

2. The EE parameter modification method of an air conditioner according to claim 1, wherein the data can be modified in the EE definition table.

3. The EE parameter modification method of an air conditioner according to claim 1, wherein the EE definition table includes a meaning corresponding to the data, the meaning being a decimal value corresponding to the data.

4. The EE parameter modification method for an air conditioner according to claim 3, wherein after the data is modified, the meaning corresponding to the data is automatically modified.

5. The EE parameter modification method for an air conditioner according to claim 3, wherein after the meaning is modified, the data corresponding to the meaning is automatically modified.

6. The EE parameter modification method of an air conditioner according to claim 1, wherein the EE parameter table comprises a first address bit and a second address bit corresponding to data, and the address of the EE definition table corresponds to the first address bit and the second address bit.

7. The EE parameter modification method of claim 6, wherein the address of the EE definition table = first address bit + second address bit.

8. The EE parameter modification method for air conditioners as claimed in claims 2, 4 and 5, wherein the modification is recorded and saved.

9. The EE parameter modification method of an air conditioner according to claim 1, wherein the global checksum is calculated after the modified EE definition table is converted into the formed EE parameter table.

10. The EE parameter modification method of air conditioner according to claim 1, characterized in that the start address and the end address are set in the EE parameter table formed by converting the modified EE definition table, and the segment checksum is calculated.

Technical Field

The invention belongs to the technical field of air conditioner debugging, and particularly relates to an EE parameter modification method of an air conditioner.

Background

In the research and development process of the air conditioner, research and development personnel debug the machine and need to frequently change the EE parameters of the air conditioner, need to read out the EE parameter table stored in the air conditioner, then find the address bit corresponding to the parameters in the EE parameter table, then calculate the changed parameters, and manually modify in the EE parameter table.

However, since the EE parameter table is a file in binary, hexadecimal or other format, unlike the decimal system that we use at ordinary times, conversion is required, as shown in fig. 1. The EE parameter table is only composed of numbers and only comprises address bits and data corresponding to the address bits, and the data names corresponding to the address bits cannot be directly embodied. Reading and changing the EE parameters in the existing air conditioner research and development process requires research personnel to manually correct the data and address bits in the EE parameter table, so that the parameters can be completely read and changed, the time of the research personnel is wasted, and errors are easy to occur. Specifically, when a research and development staff modifies a certain parameter, the research and development staff needs to look up the address where the name to be modified is located by referring to the data name table corresponding to the preset address bit, find corresponding data according to the address, and then modify the data, which is very troublesome, not only wastes time, but also is very easy to make mistakes. Similarly, if the meanings of all the parameters in the EE parameter table are to be known, the data must be manually corrected, so that the problems of time waste and high error probability exist.

The above information disclosed in this background section is only for enhancement of understanding of the background of the application and therefore it may comprise prior art that does not constitute known to a person of ordinary skill in the art.

Disclosure of Invention

Aiming at the problems in the prior art, the invention provides an EE parameter modification method of an air conditioner, which aims to solve the technical problems of time waste and high error rate of modifying EE parameters in the prior art.

In order to achieve the technical purpose, the invention adopts the following technical scheme:

an EE parameter modification method of an air conditioner comprises the following steps:

reading an EE parameter table stored in the air conditioner;

carrying out format conversion on the EE parameter table to form an EE definition table;

carrying out format conversion on the modified EE definition table to form an EE parameter table;

writing the EE parameter table into an air conditioner;

the EE parameter table comprises address bits and data corresponding to the address bits; the EE definition table comprises addresses, descriptions corresponding to the addresses and data; the address of the EE definition table corresponds to the address bit of the EE file, the description is used for describing the name of the data stored in the address, and the data of the EE definition table corresponds to the data of the EE file.

In the EE parameter modification method of the air conditioner as described above, the data may be performed a modification operation in the EE definition table.

The EE parameter modification method of the air conditioner comprises the meanings corresponding to the data in the EE definition table, wherein the meanings are decimal values corresponding to the data.

According to the EE parameter modification method of the air conditioner, after the data are modified, the corresponding meanings of the data are automatically modified.

According to the EE parameter modification method of the air conditioner, after the meaning is modified, the data corresponding to the meaning is automatically modified.

The EE parameter table comprises a first address bit and a second address bit corresponding to data, and the address of the EE definition table corresponds to the first address bit and the second address bit.

In the EE parameter modification method of the air conditioner, the address of the EE definition table = the first address bit + the second address bit.

The EE parameter modification method of the air conditioner is characterized in that the modification is recorded and saved.

According to the EE parameter modification method of the air conditioner, the modified EE definition table is converted into the formed EE parameter table, and then the global checksum is calculated.

According to the EE parameter modification method of the air conditioner, the initial address and the end address are set in the EE parameter table formed by converting the modified EE definition table, and the segmented checksum is calculated.

Compared with the prior art, the invention has the advantages and positive effects that: the EE parameter modifying method of the air conditioner converts the format of the EE parameter table stored in the air conditioner to form the EE definition table, the EE definition table comprises addresses, explanations and data corresponding to the addresses, compared with the EE parameter table, the addresses in the EE definition table correspond to address bits in the EE parameter table, the data in the EE definition table corresponds to the data in the EE parameter table, and the EE definition table also comprises the explanations corresponding to the addresses and the data, which are used for explaining the data names stored in the addresses.

Other features and advantages of the present invention will become more apparent from the following detailed description of the invention when taken in conjunction with the accompanying drawings.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 shows a storage format of the EE parameter table according to an embodiment of the invention.

Fig. 2 is a storage form of EE definition table according to the embodiment of the present invention.

FIG. 3 is a schematic diagram of an operation interface according to an embodiment of the present invention.

Fig. 4 is a schematic interface diagram after EE is clicked and read/saved in the embodiment of the present invention.

Fig. 5 is a schematic interface diagram after EE checksum is clicked in the embodiment of the present invention.

FIG. 6 is a flow chart of an embodiment of the present invention.

Detailed Description

Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention.

It should be noted that in the description of the present invention, the terms of direction or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

Furthermore, it should be noted that, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.

At present, the proportion of the inverter air conditioner in the air conditioner product is getting bigger and bigger. For different inverter air conditioner products, the control programs are basically the same, and the difference is that the EE parameters stored in the memory are different so as to adapt to different air conditioners.

The EE parameter is a professional term in the air conditioner industry, represents a parameter for controlling the air conditioner written in a single chip microcomputer or a control chip and is used for controlling the normal operation of the air conditioner. These different EE parameters need to be repeatedly modified and debugged during the production process to obtain the best EE parameters, and then written into the EE memory.

Because the EE parameters written in the EE memory are machine languages, when modifying the EE parameters, research and development personnel need to manually translate the machine languages into normal languages, modify the machine languages according to the normal languages, translate the modified data into the machine languages and find corresponding positions to modify the machine languages, which is very troublesome and easy to make mistakes.

In view of the above problems, the present embodiment provides an EE parameter modification method for an air conditioner, which can rapidly modify an EE parameter and greatly reduce an error rate.

First, an EE parameter form-EE parameter table written in the EE memory will be explained:

the EE memory is generally a storage area in a single chip microcomputer or a control chip.

The EE parameter table written in the single chip or the control chip is shown in fig. 1, and is composed of machine language, and is generally a 16-system number, and of course, other-system numbers are also possible.

For example, in the EE parameter table composed of 16-ary numbers, if the controlled compressor frequency is 64Hz at maximum, the corresponding EE parameter is 40 (16-ary), which is converted to 64 decimal.

As shown in fig. 1, the EE parameter table includes address bits and data corresponding to the address bits, both of which are composed of numbers.

Specifically, the EE parameter table includes first address bits and second address bits corresponding to data.

The first address bit is a longitudinal address, the second address bit is a transverse address, and the first address bit and the second address bit are combined to form a determined storage position corresponding to data.

For example, the data stored in the determined memory location where the first address bits 000010 and the second address bits 8 correspond in combination is B0.

When modifying and debugging the EE parameters in fig. 1, it is very difficult to understand and modify only the EE parameter table: firstly, inquiring an address (including a first address bit and a second address bit) where a name to be modified is located by means of a data name table corresponding to a preset address bit, and finding a corresponding storage position according to the address to obtain data; then translating the obtained data into decimal system, and determining the modified data according to the decimal system data and the running state of the air conditioner; because the modified data is decimal, the decimal data needs to be translated into hexadecimal, then the storage position corresponding to the address is found, and the modified hexadecimal data is written into the storage position. Therefore, it is very troublesome to modify the EE parameters in the EE parameter table, which not only needs to determine the address, search the related data according to the address, and translate back and forth, which wastes time and is very easy to make mistakes.

In the embodiment, the format of the EE parameter table is converted to form the EE definition table which is easy to understand and modify, address, name and data information is directly embodied in the EE definition table, research personnel can directly modify the parameters in the EE parameter table without looking up data, and the corresponding relation of the address, the name and the data is simple and clear without errors.

Specifically, as shown in fig. 2, the EE definition table of the present embodiment includes addresses, descriptions corresponding to the addresses, and data.

The address of the EE definition table corresponds to the address bits in the EE parameter table one by one, so that the data corresponding to the address of the EE definition table is the data corresponding to the corresponding address bits in the EE parameter table.

Specifically, the address of the EE definition table corresponds to the first address bit and the second address bit of the EE parameter table.

To simplify the address form of the EE definition table, the address of the EE definition table = first address bit + second address bit in this embodiment.

For example, the EE address 18 in the EE definition table corresponds to the first address bit 000010 and the second address bit 8 in the EE parameter table, and the EE address 18 in the EE definition table is obtained from the address 000010+8 in the EE parameter table.

The description of the EE definition table is used for explaining the data names stored in the address, the names corresponding to the address and the data can be clearly shown to research and development personnel, and the research and development personnel can quickly know the corresponding meanings of the address and the data in the EE definition table.

The data name may be: the air-conditioning system comprises a refrigeration medium air-conditioning system, a heating medium air-conditioning system, a cooling medium air-conditioning system, a heating medium air-conditioning system, a heating medium air-conditioning system, a cooling medium air-cooling medium, a cooling system, a cooling medium temperature difference, and the like. The address, the name and the corresponding relation can be set according to the actual requirements of research personnel, and the corresponding relation of the EE parameter table and the EE definition table is ensured.

The data of the EE definition table corresponds to the data of the EE parameter table.

For example, the address 18 in the EE definition table corresponds to data B0, which corresponds to data B0 corresponding to the first address bits 000010 and the second address bits 8 in the EE parameter table.

Wherein, the data in the EE definition table can be executed with modification operation. The data to be modified can be directly found according to the name without searching the corresponding relation of the address name.

In order to further facilitate understanding and operation of the research and development personnel, the EE definition table of the embodiment is added with meanings corresponding to the data, wherein the meanings are decimal values corresponding to the data.

If no association formula is set between the meaning and the data, research and development personnel are required to calculate the meaning corresponding to the data, or the data corresponding to the meaning and the data are required to be manually modified.

In the above manner, the research and development personnel still need to perform the binary conversion, which is troublesome, in this embodiment, the association formula is further directly set between the meaning and the data, and after the data is modified, the meaning corresponding to the data is automatically modified; after the meaning is modified, the data corresponding to the meaning is automatically modified. The correlation formula is not limited to the binary conversion, and includes special conversion requirements of parameters, such as decimal point shift. The association formula corresponding to the meaning and the data may be different according to the parameters.

The EE definition table means decimal numbers corresponding to the data in the EE parameter table. The meanings in the EE definition table are directly displayed to research and development personnel in a decimal number mode, so that the research and development personnel can conveniently check and understand the meanings without carrying out binary conversion, the time is saved, and the error rate is reduced.

The EE parameter modification method of the air conditioner in the embodiment comprises the following steps:

and reading an EE parameter table stored in the air conditioner. The EE parameter table is shown in fig. 1, and the EE parameter table is stored in the EE.

The EE parameter table is subjected to format conversion to form an EE definition table, as shown in FIG. 2.

Wherein, the format conversion in the step mainly comprises:

and (4) converting the address format, wherein the first address bit and the second address bit in the EE parameter table form an address in an EE definition table (the column of the EE address in FIG. 2).

Adding description, adding description of data stored in storage addresses corresponding to the first address bit and the second address bit in the EE parameter table to description storage positions (in the column of description in FIG. 2) corresponding to the addresses in the EE definition table.

And data conversion, namely, corresponding the data stored in the storage addresses corresponding to the first address bit and the second address bit in the EE parameter table to the data storage position corresponding to the address in the EE definition table (the column of the data/HEX in the figure 2).

And adding meaning, namely converting data stored in storage addresses corresponding to the first address bit and the second address bit in the EE parameter table into decimal, and adding the decimal to a meaning storage position (a column of the meaning in figure 2) corresponding to the address in the EE definition table.

And carrying out format conversion on the modified EE definition table to form an EE parameter table.

Wherein, the format conversion in the step mainly comprises:

and (4) address format conversion, namely decomposing the address (the column of the EE address in the figure 2) in the EE definition table into a first address bit and a second address bit in the EE parameter table.

And data conversion, namely, corresponding data stored in a data storage position (a column where data/HEX is located in the figure 2) corresponding to the address in the EE definition table to a storage address corresponding to the first address bit and the second address bit in the EE parameter table.

And writing the EE parameter table into the air conditioner.

Wherein the developer modifies the data and/or meaning in the EE definition table shown in fig. 2.

In order to facilitate searching for the modification process, the modification process of the embodiment is recorded and saved.

Specifically, as shown in fig. 6, the read/save EE button is clicked in the operation interface (shown in fig. 3) of the development VBA module.

The window shown in fig. 4 is obtained by the EXCEL windowing program 1.

Clicking a read EE button in the window of fig. 4, calling and importing an ee.bin file, reading an EE parameter table (fig. 1) stored in the air conditioner, and performing format conversion (data format reconstruction) on the EE parameter table to form an EE definition table, and displaying the format shown in fig. 2.

The research and development personnel can very intuitively see the data corresponding to the EE parameters in the EE definition table. Data and/or meaning can be conveniently modified in the EE definition table of fig. 2, and after the modification is completed, the data can be exported to a specified position of the EE definition table.

Clicking an EE saving button in the window of FIG. 4, calling and exporting the data at the appointed position of the EE definition table, carrying out format conversion (data format reconstruction) on the modified EE definition table to form an EE parameter table, and writing the EE parameter table into the air conditioner.

In the whole parameter modification process, the EE parameter table shown in FIG. 1 does not appear on an operation interface, and a research and development worker can check and modify the EE definition table shown in FIG. 2 all the time, and the EE parameters are directly modified in the EE definition table, so that the method is convenient and fast, and errors are not easy to occur.

After the EE parameters are modified, the modified EE definition table is converted into an EE parameter table, then the global checksum is calculated, or the initial address and the end address can be set in the EE parameter table formed by converting the modified EE definition table, and the segmented checksum is calculated.

Specifically click the EE checksum button as in the operation interface of fig. 3.

A window shown in fig. 5 appears through the EXCEL window program 2, a start address and an end address can be input in the window, and the computation button is clicked to obtain the checksum of the specified segment, or the computation button is directly clicked to obtain the global checksum without inputting the start address and the end address.

In the embodiment, through a software programming mode, the EE data can be directly read, changed and stored in the EE definition table, and the calculation of the checksum can be carried out.

In the embodiment, the EE parameter table is directly read by Excel and is filled into the EE definition table, so that research personnel can directly check the EE data in the EE definition table without repeatedly checking the EE data in the EE definition table and the EE parameter table, and errors can be avoided. After the data are modified in the EE definition table, the EE parameter table file can be directly generated, the address position of the modified data in the EE parameter table does not need to be found manually, the data are imported manually, the time waste is reduced, and the error probability is reduced. The method can realize that the EE definition table directly calculates the checksum (both segmented and global) of the EE parameter table. The same window realizes the reading, modification and storage of the EE parameter table, calculates the checksum and improves the efficiency of research personnel.

The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:生成判决书的方法、装置、计算机设备和介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!