WO2018053910A1 - 一种提高冰箱控制器通用性的方法及系统、冰箱 - Google Patents

一种提高冰箱控制器通用性的方法及系统、冰箱 Download PDF

Info

Publication number
WO2018053910A1
WO2018053910A1 PCT/CN2016/104105 CN2016104105W WO2018053910A1 WO 2018053910 A1 WO2018053910 A1 WO 2018053910A1 CN 2016104105 W CN2016104105 W CN 2016104105W WO 2018053910 A1 WO2018053910 A1 WO 2018053910A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
refrigerator
versatility
parameter information
improving
Prior art date
Application number
PCT/CN2016/104105
Other languages
English (en)
French (fr)
Inventor
武继荣
符秀亮
刘富明
张志�
祝云飞
董超
王君
刘海燕
Original Assignee
合肥美的电冰箱有限公司
合肥华凌股份有限公司
美的集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 合肥美的电冰箱有限公司, 合肥华凌股份有限公司, 美的集团股份有限公司 filed Critical 合肥美的电冰箱有限公司
Publication of WO2018053910A1 publication Critical patent/WO2018053910A1/zh

Links

Images

Classifications

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

Definitions

  • the invention relates to the technical field of smart refrigerators, and more particularly to a method and system for improving the versatility of a refrigerator controller and a refrigerator.
  • the refrigerator controller can only be used to control the same type or type of refrigerator, and it is impossible to control the refrigerator of different models.
  • all control procedures must be changed. For example, when the original controller is higher than the preset temperature value A, the compressor is turned on when the model is replaced. When it is necessary to turn on the compressor when the temperature is higher than B, B is different from A.
  • the purpose can only be achieved by changing all the control programs or replacing the controller, and it is difficult to make targeted after changing all the control programs. Regression testing, testing and verification process requires a lot of manpower and material resources.
  • the existing refrigerator controller must be repeatedly adjusted for the corresponding parameters during the design, the testing and verification process consumes a lot of energy, which invisibly increases the research and development costs.
  • the present invention provides a method and system for improving the versatility of a refrigerator controller, and a refrigerator, which is provided for providing control rules.
  • the logic information and the parameter information used to provide the relevant data are separated and designed to achieve the technical purpose that a refrigerator controller can be applied to various types of refrigerators and improve the versatility and uniformity of the refrigerator controller.
  • the present invention discloses a method for improving the versatility of a refrigerator controller, comprising the following steps:
  • Step 1 Obtaining information of the refrigerator device
  • Step 2 Calling parameter information corresponding thereto according to the information of the refrigerator device: the parameter information and the pre-stored logic information are stored in different locations;
  • Step 3 The control command is issued according to the pre-stored logic information and the parameter information corresponding to the refrigerator device information.
  • the logic information is solidified and the parameter information is optional, and the versatility of the refrigerator control system is greatly enhanced; since the parameters of a plurality of models can be stored in one single-chip microcomputer, the selection is made during use, thereby greatly reducing production and after-sales Sluggish materials to increase controller utilization.
  • the parameter information is adjusted to the main program logic. Some of the changes do not need to be made, the changes in the parameters are easier to locate and arrange regression testing, and the generation of the parameters can be directly converted into parameters by means of automated design, greatly improving development efficiency and reducing R&D investment costs.
  • step 2 after the parameter information corresponding to the refrigerator device information is invoked, the parameter information corresponding to the refrigerator device information is written into the running storage unit; in step 3, the parameter information is read from the running storage unit according to the logical information. After that, issue a control command.
  • the running storage unit of the present invention is used for storing parameter information to be called, which can be understood as a legal storage space, which can be read, and the storage space is written only when the model is first powered or replaced.
  • logic information and the parameter information are segmentally stored inside the microcontroller.
  • the logic information for providing the control rule and the parameter information for providing the data of the present invention can be stored in the available storage space of the single chip microcomputer, but the two are stored separately, and the logic information is used after calling the parameter information.
  • the logic information is stored inside the single chip, and the parameter information is stored in an external memory connected to the single chip microcomputer.
  • the invention separates the logic information and the parameter information in the control system of the refrigerator controller, and the parameter information is stored in the designated position, and the parameter information can be stored in the internal storage space of the single chip or the external memory as needed, and if the external memory is used, more storage can be realized.
  • Parameter information the controller is suitable for more models, improve the versatility of the refrigerator controller; and in a control system of a controller, using the general logic part and the parameter list of multiple models, through display, buttons, etc. Confirm the model and store it.
  • step 2 the parameter information corresponding to the refrigerator device information is called by reading the storage address.
  • the present invention obtains the storage address of the parameter information by means of addressing, and then reads the corresponding parameter information according to the corresponding address.
  • the parameter information includes parameter information of at least two models.
  • the refrigerator device is a compressor, and the refrigerator device information includes current model information.
  • step 2 the current model information is determined by automatic identification or manual control.
  • the invention can not only intelligently identify the current model, but also can make the identification model more accurate by manual means.
  • step 2 during manual control, the current model information is determined by manual entry and/or button selection.
  • the present invention can inform the controller of accurate current model information by manually entering legal model information and confirming or directly selecting model information and confirming.
  • Another object of the present invention is to provide a system for improving the versatility of a refrigerator controller, the system comprising:
  • the parameter information and the pre-stored logic information are stored in different locations;
  • the storage module stores parameter information and logic information in different locations thereof;
  • the running module issues a control command according to the pre-stored logic information and the parameter information corresponding to the refrigerator device information.
  • the system of the invention can be developed and obtained on a single-chip computer, and the logic information and the parameter information are segmentally stored in the single-chip microcomputer, and the parameter information can include a plurality of model information. Therefore, the invention can be applied to various types of refrigerators and meets the machine. Type replacement requirements.
  • system further includes an operation storage unit, and after the calling module calls the parameter information corresponding to the refrigerator device information, the parameter information corresponding to the refrigerator device information is written into the operation storage unit; the operation module is based on the logic information. After the parameter information is read in the running storage unit, a control command is issued.
  • the logic information and the parameter information are segmentally stored in the internal processing of the single chip, and the storage module is a memory inside the single chip microcomputer.
  • the logic information is stored in the internal memory of the single chip, and the parameter information is stored in an external memory connected to the single chip microcomputer.
  • the memory module includes both a memory inside the single chip microcomputer and an external memory connected to the single chip microcomputer.
  • the memory module of the present invention can be understood as the above two memory structures.
  • the calling module invokes parameter information corresponding to the refrigerator device information by reading the storage address.
  • the parameter information includes parameter information of at least two models.
  • the refrigerator device is a compressor, and the refrigerator device information includes current model information.
  • the calling module determines the current model information by means of automatic identification or manual control.
  • the calling module determines the current model information by means of manual entry and/or button selection.
  • Still another object of the present invention is to provide a refrigerator including the above-described system for improving the versatility of the refrigerator controller.
  • the invention has the beneficial effects that the logic information and the parameter information are separately designed and stored in different storage spaces, so that one refrigerator controller is applicable to various types of refrigerators, and the versatility of the refrigerator controller is improved; After the logic information of the control rules is solidified on the single-chip microcomputer, there is no need to change the logic information, which is convenient for the designer to protect the logic information and improve the stability and security of the internal control system of the refrigerator controller.
  • FIG. 1 is a schematic flow chart of a method for improving the versatility of a refrigerator controller.
  • FIG. 2 is a schematic diagram of a running process of the controller control system after the first power-on in the first embodiment.
  • FIG. 3 is a schematic diagram of the operation flow after the controller control system is powered on after the replacement model in the second embodiment.
  • Figure 4 is a diagram showing the system operation state for improving the versatility of the refrigerator controller.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the present invention provides a method for improving the versatility of a refrigerator controller, comprising the following steps:
  • Step 1 is to obtain the information of the refrigerator device.
  • the information of the refrigerator device can be understood as the model information of the current refrigerator, the working state information of the refrigerator, the model information of the compressor, the working state information of the compressor, and the like.
  • the compression is mainly referred to as compression.
  • Machine model information ie, compressor model.
  • Step 2 The parameter information corresponding to the information of the refrigerator device is called according to the information of the refrigerator device, and the parameter information corresponding to the information of the refrigerator device is called, and the parameter information corresponding to the information of the refrigerator device is written into the running storage unit;
  • the parameter information and the logic information for providing the control rule are stored in different locations, the parameter information includes parameter information of at least two models, and the refrigerator device information includes current model information.
  • the current model information can be understood as Compressor model.
  • the logic information and the parameter information are separated, and the parameter preset range is given.
  • the main program since the main program stores a main program and multiple parameters, the main program can call the parameters corresponding to the current model information according to the current model information, which satisfies the single controller for multiple machines.
  • the demanding requirements of the type at the same time facilitate the verification and adjustment of the control system, easy to change the contents of the running storage unit, and facilitate targeted regression testing.
  • the innovation of the invention lies in that the logic information and the parameter information are separately stored.
  • the controller of the invention can be connected by the single-chip microcomputer, and the logic information and the parameter information are stored in the internal part of the single-chip microcomputer.
  • the parameter information can also be stored in the connection with the single-chip microcomputer.
  • the external memory or part of the parameter information is stored inside the microcontroller, and another part of the parameter information is stored in an external memory connected to the microcontroller.
  • the parameter information corresponding to the refrigerator device information is called by reading the storage address.
  • the present invention can determine the current model information by means of automatic identification or manual control.
  • the current model information is judged by manual input and/or button selection.
  • "Manual entry and/or button selection" should be understood as three cases of manual entry, button selection, manual entry and case selection. The invention can judge the current model information by manual entry situation, key selection after manual entry, and button selection.
  • Step 3 When the logic information is run in the single chip microcomputer, after the parameter information is read from the running storage unit according to the logic information, the control command is issued according to the logic information and the parameter information corresponding to the refrigerator device information.
  • the logic of the present invention Information "can be understood as a control program that runs in a microcontroller.
  • the present invention also discloses a system for improving the versatility of a refrigerator controller.
  • the system includes an acquisition module, a calling module, a storage module and an operation module.
  • the modules are disposed in the single chip microcomputer and are connected to the single chip microcomputer. On each circuit.
  • the acquiring module is used for collecting and inputting the state of the refrigerator, and then acquiring the information of the refrigerator device.
  • the acquiring module can obtain the current model information and can read the temperature and the like; the calling module is called according to the information of the refrigerator device.
  • the parameter information corresponding to the refrigerator device information is written into the running storage unit;
  • the storage module includes an internal storage unit and an external storage unit for storing parameter information and logic information; and the running module is stored from the running according to the logical information.
  • the parameter information corresponding to the information issues a control command, and the control command is sent to the corresponding load.
  • the calling module determines the current model information by means of automatic identification or manual control, and the calling module determines the current model information by manual entry and/or button selection, and manually enters and/or selects a button.
  • the manual operation and/or button selection can be performed through the display operation unit connected to the single chip microcomputer.
  • the present invention can determine the current model information by three ways: manual entry, manual selection, and button selection.
  • the logic information and the parameter information are segmentally stored in the MCU, or the logic information is stored in the MCU, and the parameter information is stored in an external memory connected to the MCU. That is to say, the parameter information can be stored in an external memory unit connected to the internal memory unit of the microcontroller or to the microcontroller.
  • the invention further comprises a display operation unit, the display operation unit is connected with the calling module, the calling module belongs to a part of the control system, and the display operation unit and the control system are controlled by a single-chip microcomputer, and the model parameters are still performed by the method, but the display unit and the display unit
  • the interaction of the control system does not require communication, but is part of the main program logic, or part of the logic.
  • the present invention also includes a refrigerator including the above-described system for improving the versatility of the refrigerator controller, and applying the system for improving the versatility of the refrigerator controller of the present invention to the refrigerator can improve the utility and versatility of the refrigerator controller.
  • the refrigerator controller controls the compressor operation as an example, and the following two models are used for reference.
  • Model 1 When the sensor temperature is higher than 5 degrees Celsius, the compressor is turned on, and when the sensor temperature is lower than 0 degrees Celsius, the compressor is turned off;
  • Model 2 When the sensor temperature is higher than 6 degrees Celsius, the compressor is turned on, and when the sensor temperature is lower than 1 degree Celsius, the compressor is turned off.
  • the logic information of the control system of the controller is completely the same, the logic information related program is solidified on the single chip microcomputer, and the parameter information is stored in other storage spaces of the single chip microcomputer, such as the Renesas R5F100FE single chip microcomputer, the available space of the single chip ROM is 64 KB. 46 KB of them can be used to store the main program logic (00000H ⁇ 0B7FFH), and the remaining part is used to store the parameters of one model every 4KB. It can store 4 different model information, and the format of each model parameter.
  • the above-mentioned models can be stored separately for the temperatures 5 and 6. For different models, only the starting address of the runtime parameter pointer needs to be distinguished.
  • the present invention can also store the detection step and the communication signature in the parameter information as needed.
  • This embodiment describes the first power-on of the system.
  • the display operation unit prompts the operator to input and confirm the model selection; generally, this operation is performed during production; after the model is confirmed, the control system will select The fixed model is written to the running storage unit.
  • the microcontroller is initialized after power-on, the control system reads all the model information in the ROM of the single-chip microcomputer, and judges whether the illegal characters and check codes of each model information data are qualified. If it is qualified, according to the model Information is transferred to normal control.
  • the illegal content of the data content refers to the erroneous data entered, and the check code check is to determine whether the judgment can be made according to the model information.
  • the check code check is ineligible, the display operation unit displays the information that the operator needs to select and confirm, and starts the time.
  • the controller After the operator selects and confirms the information and the time reaches 30 seconds, Write the model information to the running storage unit, and switch to the normal control according to the model information.
  • the timing is 30 seconds to give the operator a confirmation time for the change.
  • the controller makes a rule judgment according to the collected state input quantity, such as greater than, less than or equal to the rule judgment, the rule judgment is completed by the controller executing the logic information, and the data required in the process of executing the logic information is confirmed from the above.
  • the parameter information is called, and the controller controls the refrigerator to cool.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • this embodiment describes the power-on condition of the system after replacing the model.
  • the system is powered on again, and the button interface is provided through the display operation unit within 5 minutes, the model is reselected, and then determined and transmitted to the control system in the single chip microcomputer, and the control system selects The model is written to the storage unit and then controlled according to the changed model parameters.
  • the display operation unit prompts to receive the model correction data, then performs data verification, and checks the validity of the cached data, including the check code of the cached data. Check the data range; prompt the user to input or select, and further confirm, and then read the local write command generated by the user confirmation.
  • the local write command corresponds to the current model information selected by the user, and the control system in the controller will The parameter information of the previous model information is written into the running storage unit to realize data writing to the main storage area, and the written data reading and content inspection are performed. When the data is verified, the model information is transferred to the normal control mechanism.
  • the refrigerator controller works.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Devices That Are Associated With Refrigeration Equipment (AREA)

Abstract

提供一种提高冰箱控制器通用性的方法及系统、冰箱。该方法包括步骤:获取冰箱设备信息,根据冰箱设备信息调用与其对应的参数信息,根据预存的逻辑信息、与冰箱设备信息对应的参数信息发出控制命令。该系统包括获取模块、调用模块、存储模块和运行模块。

Description

一种提高冰箱控制器通用性的方法及系统、冰箱 技术领域
本发明涉及智能冰箱技术领域,更为具体来说,本发明涉及一种提高冰箱控制器通用性的方法及系统、冰箱。
背景技术
对于传统的冰箱来说,冰箱控制器仅能用于控制同一种或一类冰箱,无法控制不同机型的冰箱。比如,当某个设计好的冰箱控制器需控制另一类型的冰箱时,必须将所有的控制程序更改,比如,原有控制器高于预设温度值A时开启压缩机,当更换机型时,需要高于温度B时开启压缩机,B与A不同,此时,只能通过更改所有的控制程序或更换控制器才能达到目的,而且,更改所有的控制程序后,难以做针对性的回归测试,测试、验证过程需要耗费大量的人力、物力。
不仅如此,现有冰箱控制器在设计时,必须对相应的参数进行反复的调整,测试和验证过程耗费了大量的精力,无形中增加了研发成本。
因此,获得一种通用性好、统一性强、成本较低的冰箱控制器成为了本领域技术人员亟待解决的技术问题和研究的重点。
发明内容
为解决现有冰箱控制器通用性差、统一性差、更换冰箱机型时测试或验证成本高等问题,本发明一种提高冰箱控制器通用性的方法及系统、冰箱,通过对用于提供控制规则的逻辑信息和用于提供相关数据的参数信息分离设计,达到一部冰箱控制器可适用于多种类型的冰箱、提高冰箱控制器通用性和统一性的技术目的。
为实现上述的技术目的,本发明公开了一种提高冰箱控制器通用性的方法,包括如下步骤:
步骤1,获取冰箱设备信息;
步骤2,根据所述冰箱设备信息调用与其对应的参数信息:所述参数信息和预存的逻辑信息存储于不同的位置;
步骤3,根据预存的逻辑信息、与冰箱设备信息对应的参数信息发出控制命令。
采用本发明的方法后,逻辑信息固化而参数信息可选,冰箱控制系统的通用性大大增强;由于在一个单片机中可以存储多个机型的参数,使用时进行选择,大大减少生产、售后的呆滞物料,提高控制器利用率。使用本方法后,参数信息的调整,对主程序逻辑 部分不需要作变化,参数部分的更改更容易定位及安排回归测试,另外参数部分的生成可以借助自动化设计直接将需要转化为参数,大大提高开发效率,降低研发投入成本。
进一步地,步骤2中,调用与冰箱设备信息对应的参数信息后,将与冰箱设备信息对应的参数信息写入运行存储单元中;步骤3中,根据逻辑信息从运行存储单元中读取参数信息后,发出控制命令。
本发明的运行存储单元用于存储待调用的参数信息,可理解为合法的存储空间,可被读取,只有在首次供电或更换机型时,才对该存储空间进行写入。
进一步地,逻辑信息和所述参数信息分段存储于单片机内部。
本发明用于提供控制规则的逻辑信息和用于提供数据的参数信息均可存储于单片机的可用存储空间内,但是二者分开存储,逻辑信息运行时对参数信息进行调用后使用。
进一步地,所述逻辑信息存储于单片机内部,所述参数信息存储于与单片机连接的外部存储器内。
本发明分离冰箱控制器控制系统中的逻辑信息和参数信息,参数信息在指定位置存储,参数信息可根据需要存储于单片机内部存储空间或者外部存储器上,如果使用外部存储器,可实现存储更多的参数信息,控制器适用于更多的机型,提高冰箱控制器通用性;进而实现在一款控制器的控制系统中,使用通用逻辑部分和多个机型的参数表,通过显示、按键等操作确认机型并存储。
进一步地,步骤2中,通过读取存储地址的方式调用与冰箱设备信息对应的参数信息。
由于需要调用参数信息,本发明通过寻址的方式获得参数信息的存储地址,然后根据相应地址读取相应的参数信息。
进一步地,参数信息包括至少两种机型的参数信息。
进一步地,冰箱设备为压缩机,所述冰箱设备信息包含当前机型信息。
进一步地,步骤2中,通过自动识别或人工控制的方式判断出当前机型信息。
更换机型时,本发明既可以智能化识别当前机型,也可以通过人工的方式使识别机型准确度更高。
进一步地,步骤2中,人工控制时,通过人工录入和/或按键选择的方式判断出当前机型信息。
通过人工控制时,本发明可通过人工录入合法的机型信息并确认或者直接选择机型信息并确认等方式告知控制器准确的当前机型信息。
本发明的另一个发明目的在于提供一种提高冰箱控制器通用性的系统,该系统包括:
获取模块,获取冰箱设备信息;
调用模块,根据所述冰箱设备信息调用与其对应的参数信息:所述参数信息和预存的逻辑信息存储于不同的位置;
存储模块,在其不同位置存储有参数信息和逻辑信息;
运行模块,根据预存的逻辑信息、与冰箱设备信息对应的参数信息发出控制命令。
本发明的系统可在单片机上开发获得,在单片机内分段存储逻辑信息和参数信息,参数信息可包括多种机型信息,因此,本发明可应用于多种类型的冰箱上,并满足机型更换的需求。
进一步地,该系统还包括运行存储单元,所述调用模块调用与冰箱设备信息对应的参数信息后,将与冰箱设备信息对应的参数信息写入运行存储单元中;所述运行模块根据逻辑信息从运行存储单元中读取参数信息后,发出控制命令。
进一步地,所述逻辑信息和所述参数信息分段存储于单片机内部,此时存储模块为单片机内部的存储器。
进一步地,所述逻辑信息存储于单片机内部,所述参数信息存储于与单片机连接的外部存储器内,此时存储模块既包括单片机内部的存储器,又包括与单片机连接的外部存储器。
因此,本发明的存储模块可理解为上述的两种存储结构。
进一步地,调用模块通过读取存储地址的方式调用与冰箱设备信息对应的参数信息。
进一步地,所述参数信息包括至少两种机型的参数信息。
进一步地,所述冰箱设备为压缩机,所述冰箱设备信息包含当前机型信息。
进一步地,调用模块通过自动识别或人工控制的方式判断出当前机型信息。
进一步地,调用模块通过人工录入和/或按键选择的方式判断出当前机型信息。
本发明还有一个发明目的在于提供一种冰箱,包括上述的提高冰箱控制器通用性的系统。
本发明的有益效果为:本发明将逻辑信息和参数信息分开设计、存储于不同的存储空间内,使一个冰箱控制器适用于多种类型的冰箱,提高了冰箱控制器的通用性;用于提供控制规则的逻辑信息固化于单片机上后,无需对逻辑信息更改,便于对设计者对逻辑信息的保护,提高冰箱控制器内部控制系统的稳定性和安全性。
附图说明
图1为提高冰箱控制器通用性的方法流程示意图。
图2为实施例一中的控制器控制系统首次上电后运行流程示意图。
图3为实施例二中的更换机型后控制器控制系统上电后运行流程示意图。
图4为提高冰箱控制器通用性的系统工作状态图。
具体实施方式
下面结合说明书附图对本发明进行详细的解释和说明。
实施例一:
如图1、4所示,本发明提供了一种提高冰箱控制器通用性的方法,包括如下步骤:
步骤1,获取冰箱设备信息,冰箱设备信息可理解为当前冰箱的机型信息、冰箱的工作状态信息、压缩机型号信息、压缩机工作状态信息等等,本实施例中,主要是指压缩机型号信息,即,压缩机机型。
步骤2,根据冰箱设备信息调用与冰箱设备信息对应的参数信息,调用与冰箱设备信息对应的参数信息后,将与冰箱设备信息对应的参数信息写入运行存储单元中;用于提供相应数据的参数信息和用于提供控制规则的逻辑信息存储于不同的位置,参数信息包括至少两种机型的参数信息,冰箱设备信息包含当前机型信息,本实施例中,当前机型信息可理解为压缩机机型。本发明在设计时,将逻辑信息和参数信息分离,并给予参数预设范围,在冰箱控制器内部控制系统进行程序编译配置时,将主逻辑部分程序和参数部分分离存储,也就是说将逻辑信息和参数信息分离存储。这样对于不同的机型,由于单片机内存储有一份主程序和多份参数,主程序可根据当前机型信息调用与当前机型信息对应的参数,这样做既满足了单个控制器用于多种机型的苛刻要求,同时方便对控制系统进行验证和调整,方便更改运行存储单元中的内容、方便作针对性的回归测试。
本发明的创新点在于将逻辑信息和参数信息分开存储,本发明的控制器可通过单片机搭接,逻辑信息和参数信息分段存储于单片机内部,当然,参数信息也可存储于与单片机连接的外部存储器内,或者,一部分参数信息存储于单片机内部,另一部分参数信息存储于与单片机连接的外部存储器内。而且,为提高调用效率、减小调用资源消耗,本发明调用参数信息时,通过读取存储地址的方式调用与冰箱设备信息对应的参数信息。
对于当前机型信息的判断,本发明可通过自动识别或人工控制的方式判断出当前机型信息。在人工控制时,通过人工录入和/或按键选择的方式判断出当前机型信息,“人工录入和/或按键选择”应理解为人工录入、按键选择、人工录入同时案件选择三种情况,因此,本发明可以通过人工录入情况、人工录入后按键选择情况、按键选择三种方式来判断当前机型信息。
步骤3,逻辑信息在单片机中运行时,根据逻辑信息从运行存储单元中读取参数信息后,根据逻辑信息、与冰箱设备信息对应的参数信息发出控制命令。本发明的“逻辑 信息”可理解为在单片机中运行的控制程序。
如图4所示,本发明还公开了一种提高冰箱控制器通用性的系统,该系统包括获取模块、调用模块、存储模块及运行模块,这些模块设于单片机内及搭接于单片机上的各个电路上。
获取模块,用于冰箱状态采集和输入,进而获取冰箱设备信息,本实施例中,获取模块既能获得当前机型信息、又能对温度等信息进行读取;调用模块,根据冰箱设备信息调用与冰箱设备信息对应的参数信息:参数信息和用于提供控制规则的逻辑信息存储于不同的位置,参数信息包括至少两种机型的参数信息,参数信息可包括机型1参数、机型2参数、机型3参数……机型N参数等等,逻辑信息为主程序逻辑信息;冰箱设备信息包含当前机型信息;该系统还包括运行存储单元,调用模块调用与冰箱设备信息对应的参数信息后,将与冰箱设备信息对应的参数信息写入运行存储单元中;存储模块,该模块包括内部存储单元和外部存储单元,用于存储参数信息和逻辑信息;运行模块根据逻辑信息从运行存储单元中读取参数信息后,根据逻辑信息、与冰箱设备信息对应的参数信息发出控制命令,将控制命令发送至相应负载。
更为具体地,调用模块通过自动识别或者人工控制的方式判断出当前机型信息,调用模块通过人工录入和/或按键选择的方式判断出当前机型信息,人工录入和/或按键选择的方式下,可通过与单片机连接的显示操作单元进行人工录入和/或按键选择,本发明可以通过人工录入情况、人工录入后按键选择情况、按键选择三种方式来判断当前机型信息。另外,本实施例中,逻辑信息和参数信息分段存储于单片机内部,或者,逻辑信息存储于单片机内部、参数信息存储于与单片机连接的外部存储器内。也就是说,参数信息可存储与单片机内部存储单元或者与单片机连接的外部存储单元内。本发明还包括显示操作单元,显示操作单元与调用模块连接,调用模块属于控制系统的一部分,显示操作单元与控制系统由一个单片机完成控制,其机型参数仍然使用本方法进行,但是显示单元与控制系统的交互不需要经过通讯,而是主程序逻辑的一部分,或者说是逻辑信息的一部分。
本发明还包括一种冰箱,包括上述的提高冰箱控制器通用性的系统,将本发明的提高冰箱控制器通用性的系统应用于冰箱上,能够提高冰箱控制器实用的通用性和广泛性。
如图2、4所示,本实施例以冰箱控制器控制压缩机工作为例说明,选用以下两种机型参考说明。
机型1:传感器温度高于5摄氏度,则开启压缩机,传感器温度低于0摄氏度,则关闭压缩机;
机型2:传感器温度高于6摄氏度,则开启压缩机,传感器温度低于1摄氏度,则关闭压缩机。
对于上述两种机型,通过一个控制器来实现。本实施例中,对于控制器的控制系统,其逻辑信息完全相同,逻辑信息相关程序固化于单片机上,参数信息存储于单片机其他存储空间,如采用瑞萨R5F100FE单片机,该单片机ROM可用空间为64KB,可将其中的46KB用于存放主程序逻辑(00000H~0B7FFH),其余的部分每4KB用于存储一种机型的参数,可用存储4种不同的机型信息,每个机型参数的格式相同,本实施例中,可将上述机型表示温度的5和6分别存储,对于不同的机型,只需要运行时参数指针的起始地址作以区别即可。当然,本发明也可根据需要将检测步骤、通讯特征码存放于参数信息中。
本实施例对系统首次上电情况进行说明。首次上电时,因为运行存储单元内无有效信息,系统暂不运行,显示操作单元提示操作者输入并确认机型选择;一般在企业生产时执行此操作;机型确认后,控制系统将选定的机型写入运行存储单元。
更为具体地,单片机上电后进行初始化,控制系统读取单片机ROM中的所有机型信息,并判断各个机型信息数据内容非法字符及校验码检查是否合格,如果合格,则按照机型信息转入正常控制。数据内容非法字符是指录入的错误数据,校验码检查是为了判断是否可进行按照该机型信息进行判断。初始化上电时,没有进行过正常控制,校验码检查必然不合格,显示操作单元显示需操作者选择和确认的信息,并启动计时,操作者选择并确认信息后且计时达到30秒时,将机型信息写入运行存储单元,按照机型信息转入正常控制,计时30秒是为了给操作者一个更改的确认时间。当用户使用时,控制器根据采集到的状态输入量进行规则判断,如大于、小于或等于等规则判断,规则判断由控制器执行逻辑信息完成,而执行逻辑信息过程中需要的数据从上述确认的参数信息调用,控制器进行运算后控制冰箱制冷。
实施例二:
如图3、4所示,本实施例对更换机型后系统上电情况进行说明。本实施例中,更换新机型后,系统重新上电,并在5分钟内通过显示操作单元提供按键接口,重新选择机型,确定后传递给单片机内的控制系统,控制系统中将选定的机型写入存储单元,之后按更换后的机型参数进行控制。
具体来说,更换机型后在首次通电5分钟内,显示操作单元提示收到机型更正数据,然后进行数据校验,并对缓存数据的合法性进行检查,包括对缓存数据的校验码和数据范围进行检查;提示用户输入或者选择,并进一步确认,然后读取用户确认产生的本地写入指令,本地写入指令对应用户选择的当前机型信息,控制器内的控制系统将对应当 前机型信息的参数信息写入运行存储单元,实现对主存储区的数据写入,并对写入的数据读取和内容检验,当数据检验合格时,按照机型信息转入正常控制机制,冰箱控制器发挥作用。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明实质内容上所作的任何修改、等同替换和简单改进等,均应包含在本发明的保护范围之内。

Claims (19)

  1. 一种提高冰箱控制器通用性的方法,其特征在于,该方法包括如下步骤:
    步骤1,获取冰箱设备信息;
    步骤2,根据所述冰箱设备信息调用与其对应的参数信息:所述参数信息和预存的逻辑信息存储于不同的位置;
    步骤3,根据预存的逻辑信息、与冰箱设备信息对应的参数信息发出控制命令。
  2. 根据权利要求1所述的提高冰箱控制器通用性的方法,其特征在于,步骤2中,调用与冰箱设备信息对应的参数信息后,将与冰箱设备信息对应的参数信息写入运行存储单元中;步骤3中,根据逻辑信息从运行存储单元中读取参数信息后,发出控制命令。
  3. 根据权利要求1或2所述的提高冰箱控制器通用性的方法,其特征在于,所述逻辑信息和所述参数信息分段存储于单片机内部。
  4. 根据权利要求1或2所述的提高冰箱控制器通用性的方法,其特征在于,所述逻辑信息存储于单片机内部,所述参数信息存储于与单片机连接的外部存储器内。
  5. 根据权利要求1所述的提高冰箱控制器通用性的方法,其特征在于,步骤2中,通过读取存储地址的方式调用与冰箱设备信息对应的参数信息。
  6. 根据权利要求1或2所述的提高冰箱控制器通用性的方法,其特征在于,所述参数信息包括至少两种机型的参数信息。
  7. 根据权利要求1或2所述的提高冰箱控制器通用性的方法,其特征在于,所述冰箱设备为压缩机,所述冰箱设备信息包含当前机型信息。
  8. 根据权利要求7所述的提高冰箱控制器通用性的方法,其特征在于,步骤2中,通过自动识别或人工控制的方式判断出当前机型信息。
  9. 根据权利要求8所述的提高冰箱控制器通用性的方法,其特征在于,步骤2中,人工控制时,通过人工录入和/或按键选择的方式判断出当前机型信息。
  10. 一种提高冰箱控制器通用性的系统,其特征在于,该系统包括:
    获取模块,获取冰箱设备信息;
    调用模块,根据所述冰箱设备信息调用与其对应的参数信息;
    存储模块,在其不同位置存储有参数信息和逻辑信息;
    运行模块,根据预存的逻辑信息、与冰箱设备信息对应的参数信息发出控制命令。
  11. 根据权利要求10所述的提高冰箱控制器通用性的系统,其特征在于,该系统还包括运行存储单元,所述调用模块调用与冰箱设备信息对应的参数信息后,将与冰箱设备信息对应的参数信息写入运行存储单元中;所述运行模块根据逻辑信息从运行存储单元中读取参数信息后,发出控制命令。
  12. 根据权利要求10或11所述的提高冰箱控制器通用性的系统,其特征在于,所述逻辑信息和所述参数信息分段存储于单片机内部。
  13. 根据权利要求10或11所述的提高冰箱控制器通用性的系统,其特征在于,所述逻辑信息存储于单片机内部,所述参数信息存储于与单片机连接的外部存储器内。
  14. 根据权利要求10所述的提高冰箱控制器通用性的系统,其特征在于,调用模块通过读取存储地址的方式调用与冰箱设备信息对应的参数信息。
  15. 根据权利要求10或11所述的提高冰箱控制器通用性的系统,其特征在于,所述参数信息包括至少两种机型的参数信息。
  16. 根据权利要求10或11所述的提高冰箱控制器通用性的系统,其特征在于,所述冰箱设备为压缩机,所述冰箱设备信息包含当前机型信息。
  17. 根据权利要求16所述的提高冰箱控制器通用性的系统,其特征在于,调用模块通过自动识别或人工控制的方式判断出当前机型信息。
  18. 根据权利要求17所述的提高冰箱控制器通用性的系统,其特征在于,调用模块通过人工录入和/或按键选择的方式判断出当前机型信息。
  19. 一种冰箱,其特征在于,包括权利要求10至18中任一权利要求所述的提高冰箱控制器通用性的系统。
PCT/CN2016/104105 2016-09-21 2016-10-31 一种提高冰箱控制器通用性的方法及系统、冰箱 WO2018053910A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610839598.2A CN106292452A (zh) 2016-09-21 2016-09-21 一种提高冰箱控制器通用性的方法及系统、冰箱
CN201610839598.2 2016-09-21

Publications (1)

Publication Number Publication Date
WO2018053910A1 true WO2018053910A1 (zh) 2018-03-29

Family

ID=57712831

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/104105 WO2018053910A1 (zh) 2016-09-21 2016-10-31 一种提高冰箱控制器通用性的方法及系统、冰箱

Country Status (2)

Country Link
CN (1) CN106292452A (zh)
WO (1) WO2018053910A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT201800011169A1 (it) * 2018-12-17 2020-06-17 Carel Ind Spa Procedimento di verifica della stabilità funzionale di un controllore di una macchina frigorifera

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273149A (zh) * 2017-05-08 2017-10-20 无锡飞翎电子有限公司 嵌入式应用的操作方法、装置及机器可读存储介质
CN106979660A (zh) * 2017-05-10 2017-07-25 江苏新安电器有限公司 一种冰箱程序料号缩减系统
CN106979662A (zh) * 2017-06-06 2017-07-25 四川长虹精密电子科技有限公司 变频电控一体板的通用化参数写入工装
CN108227629A (zh) * 2017-12-29 2018-06-29 浙江众邦机电科技有限公司 电子设备的控制方法/系统、可读存储介质及电子设备
CN109407534B (zh) * 2018-12-04 2022-05-13 深圳绿米联创科技有限公司 设备控制方法、装置、配置设备及控制装置
CN110427221B (zh) * 2019-06-20 2023-04-28 北京全路通信信号研究设计院集团有限公司 一种将ato软件与控车参数分离配置的方法及系统
CN110609484A (zh) * 2019-09-20 2019-12-24 珠海格力电器股份有限公司 一种控制器及其设置方法、装置、存储介质及电器
CN113986326A (zh) * 2021-09-30 2022-01-28 三一汽车起重机械有限公司 参数化配置编程方法、控制器、起重机、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633281B2 (en) * 1999-12-10 2003-10-14 Sun Wave Technology Corp. Intelligent touch-type universal remote control
CN103366546A (zh) * 2012-12-14 2013-10-23 张蕾 智能家电多功能遥控器
CN204632093U (zh) * 2015-03-09 2015-09-09 周睿恺 一种多功能智能电器遥控装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102010040432A1 (de) * 2010-09-08 2012-03-08 BSH Bosch und Siemens Hausgeräte GmbH Verfahren zum Betreiben eines Hausgeräts und Hausgerätesystem
CN103778190B (zh) * 2014-01-06 2017-07-28 广州达意隆包装机械股份有限公司 一种利用外部储存单元快速配置可编程控制器的系统和方法
CN103995191B (zh) * 2014-04-18 2017-01-04 美的集团股份有限公司 空调器机型的识别方法及装置
CN105671852B (zh) * 2014-11-17 2018-09-18 无锡飞翎电子有限公司 兼容多种型号洗衣机的控制方法和洗衣机
CN105465913B (zh) * 2016-01-18 2019-02-22 美的集团武汉制冷设备有限公司 空调系统及其参数更新方法
CN105808390A (zh) * 2016-04-29 2016-07-27 合肥美的电冰箱有限公司 一种家电信息自检验自恢复的方法、系统和家电

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633281B2 (en) * 1999-12-10 2003-10-14 Sun Wave Technology Corp. Intelligent touch-type universal remote control
CN103366546A (zh) * 2012-12-14 2013-10-23 张蕾 智能家电多功能遥控器
CN204632093U (zh) * 2015-03-09 2015-09-09 周睿恺 一种多功能智能电器遥控装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT201800011169A1 (it) * 2018-12-17 2020-06-17 Carel Ind Spa Procedimento di verifica della stabilità funzionale di un controllore di una macchina frigorifera
WO2020128789A1 (en) * 2018-12-17 2020-06-25 Carel Industries S.p.A. Method for testing the functional stability of a refrigerating machine
US11906222B2 (en) 2018-12-17 2024-02-20 Carel Industries S.p.A. Method for testing the functional stability of a refrigerating machine

Also Published As

Publication number Publication date
CN106292452A (zh) 2017-01-04

Similar Documents

Publication Publication Date Title
WO2018053910A1 (zh) 一种提高冰箱控制器通用性的方法及系统、冰箱
CN106017727B (zh) 一种多芯片温度测试及标定系统及方法
CN105593868B (zh) 一种指纹识别方法、装置及移动终端
TWI502507B (zh) 電池韌體更新方法、可攜式電子裝置及充電電池模組
CN103870293B (zh) 信息获取方法、信息显示方法和装置以及电子设备
CN113832663B (zh) 控制芯片故障记录方法、装置以及控制芯片故障读取方法
CN105120259A (zh) 数字电视机检测方法及装置
CN103593281A (zh) 测试系统及测试方法
CN104915297A (zh) 一种android设备的APP耗电量的自动化测试方法
TWI476587B (zh) 測試電子裝置之功能的測試方法以及測試裝置
TW201335762A (zh) 可自動切換記憶模組之掛載模式的電子裝置及其方法
CN115344441A (zh) 一种芯片的自适应测试的方法、系统、装置及存储介质
CN104615392A (zh) 一种基于安卓终端的3d打印系统及方法
TW201407353A (zh) 基於智慧型終端對感應裝置進行感應的方法和智慧型終端
CN104597983A (zh) 一种计算机风扇转速调节方法及主板系统
US10592644B2 (en) Information protection method and device based on a plurality of sub-areas for MCU chip
CN101312546A (zh) 一种跟踪记录电视机操作步骤的方法及电视机
KR102557678B1 (ko) 서버, 가전 기기 및 이의 정보 제공 방법
CN115016329A (zh) 一种控制方法、控制装置及电子设备
CN104572450B (zh) 一种检测资源配置的方法及装置
CN103576019A (zh) 电器设备的测试工装、测试系统和测试方法
CN113312018A (zh) 智慧屏的控制方法、装置、电子设备及存储介质
CN106201630A (zh) 一种用于led驱动电源的手持式编程器及其编程方法
WO2019169615A1 (zh) 访问指令sram的方法和电子设备
CN110275807A (zh) 智能设备的检测方法、系统、设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16916649

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16916649

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16916649

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12/12/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16916649

Country of ref document: EP

Kind code of ref document: A1