Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Programming control method of single-chip unit mark in air conditioner

A programming control and bit marking technology, applied in program control design, instruments, memory systems, etc., can solve the problems of the indoor unit and outdoor unit of the air conditioner cannot communicate normally, and the program execution is unstable, so as to improve the program development speed and reduce the Small special requirements, the effect of solving random program failures

Active Publication Date: 2016-05-11
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem to be solved by the present invention is to propose a programming control method for single-chip bit flags in air conditioners, which solves the problem that the bit flag operations in the traditional technology cannot be completed in one instruction, resulting in unstable program execution and possible occurrence of air conditioner indoor units. The problem that the communication with the outdoor unit cannot be normal

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Programming control method of single-chip unit mark in air conditioner
  • Programming control method of single-chip unit mark in air conditioner
  • Programming control method of single-chip unit mark in air conditioner

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The idea that the technical solution of the present invention is based on is: for the low-priced single-chip microcomputer such as used in the air conditioner, its internal RAM allocation generally all is the memory of the 256 bytes of the lowest address, that is, the 0~0x0FF address space The address (Zpage, or page 0 address space) is an address space that can be directly accessed by bit operations. The variables and bit operations located in the address space of page 0 have short machine codes and high operation efficiency. "Bit" operations Instructions are generally single instructions. Therefore, using the method of locating all bit marks to page 0, that is, 0~0x0ff address space, as a "bit" variable, forces the MCU compilation system to follow the image 3 , Figure 4 In the process shown, the C language is compiled into a bit flag operation instruction of one instruction;

[0024] in, image 3 The flow process in includes: S8: judge whether the 0th bit of the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to an air conditioner control technology, discloses a bit flag programming control method for a single chip in an air conditioner, and solves the problem that the bit flag operation in the conventional technology cannot be finished in one instruction, so that a program is instable to execute and the situation that an indoor machine and an outdoor machine of the air conditioner cannot normally communicate with each other possibly occurs. According to the method, a bit flag is defined in a zero page address space of an RAM (Random Access Memory) and used as a bit flag variable, so that the problem that the bit flag cannot be reliably set to be 1 or 0 due to the bit flag operation in the non 0-0x0ff address range is solved, the caused random program fault is also removed, the program development speed is greatly accelerated, the debugging time of fault removal is shortened, the program code is shortened, the space of a read-only memory ROM is saved, the special requirements of single chip resources are lowered, the product development cost is reduced, the program execution reliability is improved, and the product quality is improved at the same time. Therefore, the method is especially suitable for the single chip of the air conditioner.

Description

technical field [0001] The invention relates to an air conditioner control technology, in particular to a programming control method for a single-chip unit mark in an air conditioner. Background technique [0002] At present, the air conditioner generally receives the remote control signal and button signal by the indoor unit, and controls the indoor horizontal wind direction, vertical wind direction, indoor electric heating, indoor fan motor operation, and sampling of the indoor temperature and the indoor coil temperature through decoding. Control the display of LED indicator light or digital tube display; at the same time, the indoor unit shakes hands with the outdoor unit through UART asynchronous communication, and transmits the remote control or button control commands and control parameters to the outdoor unit, and at the same time transmits the operating parameters of the outdoor unit To the indoor unit, the indoor unit further controls and displays the indoor and out...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/45
Inventor 陈跃
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products