CN105988389B - Method for function design, function configuration and parameter setting of microcomputer controller - Google Patents

Method for function design, function configuration and parameter setting of microcomputer controller Download PDF

Info

Publication number
CN105988389B
CN105988389B CN201510117373.1A CN201510117373A CN105988389B CN 105988389 B CN105988389 B CN 105988389B CN 201510117373 A CN201510117373 A CN 201510117373A CN 105988389 B CN105988389 B CN 105988389B
Authority
CN
China
Prior art keywords
microcomputer controller
configuration
configuration file
parameter
function
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510117373.1A
Other languages
Chinese (zh)
Other versions
CN105988389A (en
Inventor
郑天成
张春林
郑志伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongshan Juchuang Electronic Technology Co ltd
Original Assignee
Zhongshan Juchuang Electronic Technology Co ltd
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 Zhongshan Juchuang Electronic Technology Co ltd filed Critical Zhongshan Juchuang Electronic Technology Co ltd
Priority to CN201510117373.1A priority Critical patent/CN105988389B/en
Publication of CN105988389A publication Critical patent/CN105988389A/en
Application granted granted Critical
Publication of CN105988389B publication Critical patent/CN105988389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Stored Programmes (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a method for function design, function configuration and parameter setting of a microcomputer controller, which is characterized by comprising the following steps: the method comprises the steps of generating a configuration file containing function configuration information and/or parameter configuration information and reading the configuration file to complete the function and parameter configuration of the microcomputer controller. The invention provides a more flexible, simple, convenient, fast and effective user self-programming method, which is applied to industries such as commercial refrigerators, baking and the like, and enables users to implement development and upgrade of product functions or change existing parameters only by using special computer software as a development tool, then the computer software generates one or more configuration files and stores the configuration files to a microcomputer controller in a mobile storage medium and wired or wireless transmission mode; after successful loading, the system of the microcomputer controller automatically operates according to the new configuration parameters or functions.

Description

The method of the Functional Design of microcomputer controller, functional configuration and parameter setting
Technical field
Present invention can apply to the controllers of business refrigerator, baking industry, industrial instrument and automation equipment, and in particular to one Kind implements the method to the Functional Design of microcomputer controller, functional configuration and parameter setting with computer software.
Background technique
In the Temperature and Humidity Control field of application business refrigerator, due to the diversification of application demand, cause respectively to set Standby function and parameter configuration is also not quite similar.Central processing unit-micro computer Temperature and Humidity Control as apparatus control system Device, needs to design a variety of different schemes to adapt to the demand of different application, and a kind of scheme is just carried out before equipment factory Corresponding parameter is arranged by the burning to chip for relevant design;Another scheme be for function keyboard is arranged in equipment, Voluntarily pass through keyboard by user and functional parameter is set.
Existing design scheme be clearly it is inflexible, both inconvenient producer was customized production, also after inconvenience Upgrade maintenance;For a user, it is voluntarily set up by keyboard also quite cumbersome, needs to spend many times, and batch It is more troubling that parameter is set.
Summary of the invention
The problem of based on mentioned in background technique, the present invention propose a kind of Functional Design of microcomputer controller, function The method of configuration and parameter setting, it is therefore intended that the difficulty of exploitation and bulk management is reduced by flexible, easy configuration mode Degree, and facilitate the function upgrading of product in use.
Technical scheme is as follows:
A kind of method of the Functional Design of microcomputer controller, functional configuration and parameter setting, including generating includes function Configuration information and or parameter configuration configuration file the step of, and read the configuration file complete microcomputer controller The step of function and parameter configuration;
The step of generation includes the configuration file of functional configuration information and or parameter configuration, there is following behaviour Make:
1) log in special technology platform, the logic function of editor or setting microcomputer controller and or system when running Control parameter, compiling generate the configuration file comprising above- mentioned information;The special technology platform is meant to be grasped according to the setting of user Make the computer software of generation fixed format configuration file;
2) 1 configuration file generated of operation is stored on proximal end or far-end computer, is provided with mobile memory medium, wired Or the mode of wireless transmission is transferred on the microcomputer controller;
Described reading configuration file completes the step of microcomputer controller function and parameter configuration, there is following operation:
A) the configuration file of microcomputer controller search specific file title or file suffixes name, and read all corresponding Configuration file;
B) configuration file acquired in microcomputer controller parsing operation A, extracts the logic function for including in configuration file Control parameter when He or system are run, and be saved in the respective memory inside microcomputer controller, it is organized in pairs with complete Operation, the system of microcomputer controller press new configuration parameter or function operation automatically.
In one or more embodiments of the invention, described reading configuration file completes microcomputer controller function In the step of parameter configuration, before executing the operation A, further include
Microcomputer controller in the process of running, automatic cycle starts to the scan task of data-interface, is with identification The no operation for having mounting mobile memory or hardware data line or wireless telecommunications question and answer;When scanning is to having mobile memory or hardware Data line communication or wireless telecommunications question and answer, and confirm it is after download configuration file instructs, to execute the operation A;
What the download configuration file instruction system was assigned by user's operation microcomputer controller.
In one or more embodiments of the invention, the special technology platform runs on the server of distal end, uses Family logs in use by account licensed by server, and the configuration file for compiling generation is downloaded to user terminal, and in remote service There are backups in device.
In one or more embodiments of the invention, the special technology platform runs on computer or the shifting of proximal end Dynamic terminal, operation depend on limited period or indefinite software sequences code.
In one or more embodiments of the invention, the configuration file can also be generated by microcomputer controller, Performed operation includes
I) start collection task, to obtain possessed logic function in microcomputer controller and/or when system is run Control parameter;
Ii start the scan task to data-interface) to identify whether to have mounting mobile memory or hardware data line logical News or wireless telecommunications question and answer;
Iii it) when scanning to when having mobile memory or the communication of hardware data line or wireless telecommunications question and answer, is stored to the movement Device is run to the device transmission communicated by hardware data line or wireless telecommunications connect comprising above-mentioned logic function and/or system When control parameter configuration file;
In one or more embodiments of the invention, the behaviour that configuration file is generated by microcomputer controller Make, is that user's operation microcomputer controller is triggered.
In one or more embodiments of the invention, when microcomputer controller generates configuration file, packet is also generated The history file of history data containing microcomputer controller.
In one or more embodiments of the invention, the mobile memory include USB flash disk, SD card, mobile hard disk and Other storage equipment being recognized by the system as disk;The hardware data line communication includes, RS232 direct-connected with USB connecting line The direct-connected communication connection mode of interface, RS485, CAN interface;The wireless telecommunications include infrared communication, bluetooth communication, Wifi communication or other civilian wireless communication modes;Accordingly, the microcomputer controller is provided with and above-mentioned each data exchange The corresponding data-interface of mode.
Compared with prior art, the present invention its superiority is embodied in: using the microcomputer controller of aforementioned present invention scheme Equipment need to be only stored using USB flash disk etc. or by connection cloud server, so that it may simply and quickly carry out the configuration ginseng of system Number backup and recovery, facilitate the configuration parameter for saving and optimizing, carry out recovery reduction if necessary, keep away in addition to complicated setting behaviour Make;Meanwhile the mass management of manufacturer or user even more being facilitated to operate, it is effectively reduced the difficulty of exploitation and bulk management Degree.In addition, the variation of parameter to product function and the setting of what's new program are also able to achieve by dedicated program, convenient for producing The function upgrading of product in use.
Detailed description of the invention
Fig. 1 is the operating process schematic diagram that configuration file is generated by microcomputer controller.
Fig. 2 is this acquisition configuration file and the operating process schematic diagram for completing microcomputer controller configuration.
Specific embodiment
Application scheme is further described as follows:
A kind of method of the Functional Design of microcomputer controller, functional configuration and parameter setting, including generating includes function Configuration information and or parameter configuration configuration file the step of, and read the configuration file complete microcomputer controller The step of function and parameter configuration;
The step of generation includes the configuration file of functional configuration information and or parameter configuration, there is following behaviour Make:
1) log in special technology platform, the logic function of editor or setting microcomputer controller and or system when running Control parameter, compiling generate the configuration file comprising above- mentioned information;The special technology platform is meant to be grasped according to the setting of user Make the computer software of generation fixed format configuration file;
2) 1 configuration file generated of operation is stored on proximal end or far-end computer, is provided with mobile memory medium, wired Or the mode of wireless transmission is transferred on the microcomputer controller;
Described reading configuration file completes the step of microcomputer controller function and parameter configuration, there is following operation:
A) the configuration file of microcomputer controller search specific file title or file suffixes name, and read all corresponding Configuration file;
B) configuration file acquired in microcomputer controller parsing operation A, extracts the logic function for including in configuration file Control parameter when He or system are run, and be saved in the respective memory inside microcomputer controller, it is organized in pairs with complete Operation, the system of microcomputer controller press new configuration parameter or function operation automatically.
Described reading configuration file was completed in the step of microcomputer controller function and parameter configuration, and the behaviour is being executed Before making A, further include
Microcomputer controller in the process of running, automatic cycle starts to the scan task of data-interface, is with identification The no operation for having mounting mobile memory or hardware data line or wireless telecommunications question and answer;When scanning is to having mobile memory or hardware Data line communication or wireless telecommunications question and answer, and confirm it is after download configuration file instructs, to execute the operation A;
What the download configuration file instruction system was assigned by user's operation microcomputer controller.
The special technology platform runs on the server of distal end, and user is logged in by account licensed by server to be made With the configuration file for compiling generation is downloaded to user terminal, and there are backups in remote server.
The special technology platform runs on the computer or mobile terminal of proximal end, and operation is dependent on limited period or infinitely The software sequences code of phase.
The configuration file can also be generated by microcomputer controller, performed by operation include
I) start collection task, to obtain possessed logic function in microcomputer controller and/or when system is run Control parameter;
Ii start the scan task to data-interface) to identify whether to have mounting mobile memory or hardware data line logical News or wireless telecommunications question and answer;
Iii it) when scanning to when having mobile memory or the communication of hardware data line or wireless telecommunications question and answer, is stored to the movement Device is run to the device transmission communicated by hardware data line or wireless telecommunications connect comprising above-mentioned logic function and/or system When control parameter configuration file;
The operation that configuration file is generated by microcomputer controller, is that user's operation microcomputer controller is triggered 's.
When microcomputer controller generates configuration file, going through for the history data comprising microcomputer controller is also generated The Records of the Historian records file.
The mobile memory includes that USB flash disk, SD card, mobile hard disk and other be recognized by the system set for the storage of disk It is standby;Hardware data line communication includes, RS232 interface, RS485, CAN interface direct-connected logical direct-connected with USB connecting line Interrogate connection type;The wireless telecommunications include infrared communication, bluetooth communication, wifi communication or other civilian wireless communication modes; Accordingly, the microcomputer controller is provided with data-interface corresponding with above-mentioned each data exchange ways.
In above-mentioned steps, the download configuration file from mobile memory or the communication of hardware data line or wireless telecommunications It operates, be to be executed by user to the operation activation of microcomputer controller by the operation that microcomputer controller generates configuration file, institute Stating microcomputer controller has several knobs for being used for parameter configuration, specifically: user passes through a backup knob or other knobs Activation executes the operation that configuration file is generated by microcomputer controller;User uploads knob by one or the activation of other knobs executes The operation of download configuration file from mobile memory or the communication of hardware data line or wireless telecommunications.
The logic function is that the system of microcomputer controller is identifiable, realizes the program instruction of a certain function action, It includes several program instructions being pre-stored in the memory of microcomputer controller, or the program obtained is parsed from configuration file Instruction.
Below by taking application of the present invention in the controller of business refrigerator as an example, the utilization of the method for the present invention is further described:
A kind of business refrigerator has by the Functional Design of above-mentioned microcomputer controller, functional configuration and parameter setting The microcomputer controller that is configured of method, the microcomputer controller at least has the logic function of refrigeration or heating, Control parameter includes temperature parameter, humidity parameter.
As shown in Figure 1, the controller of the business refrigerator generates the step of configuration file, there is following operation:
Operate S11: starting collection task, the logic function and system parameter in controller to obtain business refrigerator;
It operates S12: starting the scan task to data-interface, to identify whether to have mounting external memory;When identification has When the external memory of mounting, operation S13 is executed;When it is unidentified to mounting external memory when, execute operation S14;
Operate S13: write-in includes the configuration file of above-mentioned configuration parameter in the external memory, when being written successfully, Execute operation S15;When failure is written, operation S16 is executed;
S14: abort operation is operated, mistake is prompted;
Operation S15: the backup operation of configuration parameter is completed;
S16: abort operation is operated, failure is prompted.
As shown in Fig. 2, the configuration file in the controller parsing external memory of business refrigerator, and the step configured Suddenly, there is following operation:
It operates S01: starting the scan task to data-interface, to identify whether to have mounting external memory;When identification has When the external memory of mounting, operation S02 is executed;When it is unidentified to mounting external memory when, execute operation S03;
Operation S02: external memory has connected for prompt, and detects the movement for uploading knob;When detecting on described When passing button action, operation S04 is executed;
Operate S03: abort operation continues to scan on;
Operate S04: the configuration file of search specific file title or file suffixes name;When searching for the configuration file, hold Row operation S05;When not searching for the configuration file, operation S06 is executed;
Operation S05: acquired configuration file, the configuration parameter for including in extraction document are parsed;When successfully resolved, hold Row operation S07;When parsing failure, operation S08 is executed;
S06: abort operation is operated, failure is prompted;
Operation S07: the recovery operation of configuration parameter is completed;
S08: abort operation is operated, failure is prompted.
According to the control and customized demand of business refrigerator, the system parameter further includes defrost parameter, fan operating parameter, And it can be by system identifies and is configured other parameters.
Generation is written into external memory from the controller of the business refrigerator for the configuration file, or is used in The dedicated program run in computer is generated according to the content format of configuration file, recycles external memory or other transmission means It is copied in the controller of business refrigerator.
In addition, the dedicated program identifies and opens the configuration file or history file, for user in computer Its content is browsed on interface, be can be used for recording parameters and logic function, is judged whether history parameters setting is wrong, system has Which exception or failure etc..
It is that above-mentioned preferred embodiment should be regarded as application scheme embodiment for example, all with application scheme thunder Same, approximate or technology deduction, replacement, improvement for making based on this etc., are regarded as the protection scope of this patent.

Claims (7)

1. a kind of method of Functional Design of microcomputer controller, functional configuration and parameter setting, it is characterised in that including generating Include functional configuration information and or parameter configuration configuration file the step of, and read the configuration file and complete micro- electricity The step of brain controller function and parameter configuration;
The step of generation includes the configuration file of functional configuration information and or parameter configuration, there is following operation:
Log in special technology platform, the logic function of editor or setting microcomputer controller and or control ginseng of system when running Number, compiling generate the configuration file comprising above- mentioned information;The special technology platform means to be operated according to the setting of user and generate The computer software of fixed format configuration file;Configuration file generated is stored on proximal end or far-end computer, is provided with Mobile memory medium, wired or wireless transmission mode be transferred on the microcomputer controller;
The configuration file can also be generated by microcomputer controller, performed by operation include
I) start collection task, to obtain control when possessed logic function and/or system are run in microcomputer controller Parameter;
Ii) start to the scan task of data-interface, with identify whether to have mounting mobile memory or the communication of hardware data line or Wireless telecommunications question and answer;
Iii) when scanning is to having mobile memory or hardware data line to communicate or when wireless telecommunications question and answer, to the mobile memory, Or when being run to the device transmission communicated by hardware data line or wireless telecommunications connect comprising above-mentioned logic function and/or system The configuration file of control parameter;
Described reading configuration file completes the step of microcomputer controller function and parameter configuration, there is following operation:
A) the configuration file of microcomputer controller search specific file title or file suffixes name, and read all corresponding configurations File;
B) microcomputer controller parsing operation A acquired in configuration file, extract configuration file in include logic function and or Control parameter when system is run, and be saved in the respective memory inside microcomputer controller, it is organized in pairs operation with complete, The system of microcomputer controller presses new configuration parameter or function operation automatically.
2. the method for the Functional Design of microcomputer controller according to claim 1, functional configuration and parameter setting, special Sign is: described reading configuration file was completed in the step of microcomputer controller function and parameter configuration, was executing the behaviour Before making A, further include
Microcomputer controller in the process of running, automatic cycle starts to the scan task of data-interface, to identify whether to have Mount the operation of mobile memory or hardware data line or wireless telecommunications question and answer;When scanning is to having mobile memory or hardware data Line communication or wireless telecommunications question and answer, and confirm it is after download configuration file instructs, to execute the operation A;
What the download configuration file instruction system was assigned by user's operation microcomputer controller.
3. the method for the Functional Design of microcomputer controller according to claim 1, functional configuration and parameter setting, special Sign is: the special technology platform runs on the server of distal end, and user logs in use by account licensed by server, The configuration file that compiling generates is downloaded to user terminal, and there are backups in remote server.
4. the method for the Functional Design of microcomputer controller according to claim 1, functional configuration and parameter setting, special Sign is: the special technology platform runs on the computer or mobile terminal of proximal end, and operation is dependent on limited period or infinitely The software sequences code of phase.
5. the method for the Functional Design of microcomputer controller according to claim 1, functional configuration and parameter setting, special Sign is: the operation that configuration file is generated by microcomputer controller, is that user's operation microcomputer controller is triggered.
6. the method for the Functional Design of microcomputer controller according to claim 1, functional configuration and parameter setting, special Sign is: when microcomputer controller generates configuration file, also generating going through for the history data comprising microcomputer controller The Records of the Historian records file.
7. the method for the Functional Design of microcomputer controller according to claim 1 or 2, functional configuration and parameter setting, It is characterized by: the mobile memory includes USB flash disk, SD card, mobile hard disk;The hardware data line communication includes being connected with USB Wiring is direct-connected, the direct-connected communication connection mode of RS232 interface, RS485, CAN interface;The wireless telecommunications include infrared logical News, bluetooth communication, wifi communication;Accordingly, the microcomputer controller is provided with corresponding with above-mentioned each data exchange ways Data-interface.
CN201510117373.1A 2015-03-18 2015-03-18 Method for function design, function configuration and parameter setting of microcomputer controller Active CN105988389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510117373.1A CN105988389B (en) 2015-03-18 2015-03-18 Method for function design, function configuration and parameter setting of microcomputer controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510117373.1A CN105988389B (en) 2015-03-18 2015-03-18 Method for function design, function configuration and parameter setting of microcomputer controller

Publications (2)

Publication Number Publication Date
CN105988389A CN105988389A (en) 2016-10-05
CN105988389B true CN105988389B (en) 2019-05-17

Family

ID=57040210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510117373.1A Active CN105988389B (en) 2015-03-18 2015-03-18 Method for function design, function configuration and parameter setting of microcomputer controller

Country Status (1)

Country Link
CN (1) CN105988389B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317236A (en) * 2014-09-29 2015-01-28 上海电机学院 Soft PLC technology-based wireless sensor network control terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090043408A1 (en) * 2007-08-08 2009-02-12 Rockwell Automation Technologies, Inc. Integrated drive management and configuration using instantiated objects
US8046444B2 (en) * 2009-03-30 2011-10-25 Rockwell Automation Technologies, Inc. Universal network adapter for industrial control networks
CN102087606B (en) * 2011-02-16 2014-02-05 电子科技大学 FPGA configuration file update device
CN102779056B (en) * 2012-06-28 2016-02-24 深圳市芯海科技有限公司 Remote hardware method for updating program and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317236A (en) * 2014-09-29 2015-01-28 上海电机学院 Soft PLC technology-based wireless sensor network control terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
制冷机嵌入式智能控制器的开发;张轶;《中国优秀硕士学位论文全文数据库 信息科技辑》;20090215(第2期);I140-283 *

Also Published As

Publication number Publication date
CN105988389A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US10893094B2 (en) System and method for appliance detection and app configuration
US20210263724A1 (en) Online upgrade control method for home appliance system, and home appliance system
CN104199706B (en) A kind of eMMC firmware upgrade method and its equipment
CN104252342B (en) Embedded application implementation method and device capable of configuring parameters
AU2012246918B2 (en) Method for transferring and installing an application across portable terminals
CN108845930B (en) Interface operation test method and device, storage medium and electronic device
US20190281118A1 (en) Adaptive internet-of-things service system using detachable/attachable hardware module
CN107643932B (en) Data acquisition method, acquisition device and storage device
CN106662848B (en) Universal control element for networked household appliances
CN103176824A (en) System upgrade method and system upgrade device
CN109361579B (en) Intelligent equipment control method, system and storage medium
CN106648793B (en) Configuration file loading method and device
CN101216773A (en) Embedded Linux system firmware downloading method and device
TWI665553B (en) Adapter with instrument control function, instrument control system and instrument control method applied thereto
CN106469078A (en) A kind of upgrade method of intelligent appliance and device
CN111413884A (en) Control method and control device for household electrical appliance and computer storage medium
CN103324551A (en) Application data migration method and system
CN105988389B (en) Method for function design, function configuration and parameter setting of microcomputer controller
CN105938337B (en) Secondary development cloud platform of microcomputer controller and use method
CN104516743A (en) Upgrading method and system of embedded device firmware based on ActiveX
CN108107740B (en) Household appliance control method and device
CN113932422B (en) Test method, test device and control device for air conditioner
CN105117343A (en) Method and device for performing automatic testing based on text
KR20230103777A (en) System for upgrading of home appliances and method thereof
KR101590888B1 (en) Method and system for recognizing a mobile terminal by using its vid and pid information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 528400 Floor 3, No. 8 Hongye Street, Hongji Road, Shiqi District, Zhongshan City, Guangdong Province

Patentee after: ZHONGSHAN JUCHUANG ELECTRONIC TECHNOLOGY CO.,LTD.

Address before: Floor 2-4, No. 166, Qingxi Road, Shiqi District, Zhongshan, Guangdong 528400

Patentee before: ZHONGSHAN JUCHUANG ELECTRONIC TECHNOLOGY CO.,LTD.

CP02 Change in the address of a patent holder