Summary of the invention
Present invention is primarily targeted at automatic testing method and the device that a kind of convertible frequency air-conditioner mainboard is provided, it is intended to solve
In mainboard production process, mainboard information only causes missing inspection and erroneous judgement by artificial visualization detection, and program information cannot be carried out inspection
Test the problem causing burning mistake or batch mixing.
For achieving the above object, the present invention proposes the automatic testing method of a kind of convertible frequency air-conditioner mainboard, comprises the steps:
Convertible frequency air-conditioner mainboard reads mainboard information and program information, and carries out communication with detecting tool;
Described mainboard information and program information are sent to detecting tool;
With presupposed information, described mainboard information and program information are carried out contrast judge.
Further, in the step of " with presupposed information, described mainboard information and program information being carried out contrast judge ",
As consistent in contrasted judgement, then proceed other Function detection, terminate to detection;
Judge inconsistent as contrasted, then carry out alarm, detection of end.
Further, " described mainboard information and program information and presupposed information being carried out contrast judge " step it
Before, also include:
Judge whether detecting tool receives described mainboard information and program information,
In this way, then carry out the step of " judging that described mainboard information is the most consistent with presupposed information with program information ",
As no, then carry out alarm, detection of end.
Further, described mainboard information is mainboard coding;Described program information includes mastery routine coding, mastery routine version
Originally, EEPROM coding and EEPROM version.
Further, described mainboard coding, EEPROM coding and EEPROM version are stored in eeprom chip;Described main journey
Sequence coding and mastery routine version are stored in the FLASH of master chip.
Further, described detecting tool connects has display lamp and buzzer, described display lamp and buzzer in inspection
Alarm is carried out during survey.
The present invention also provides for the detection device of a kind of convertible frequency air-conditioner mainboard, including:
Information reading module, for reading mainboard information and the program information of convertible frequency air-conditioner;
Communication module, is sent to detecting tool for mainboard information and the program information read by information reading module;
Identification module, for judging that the mainboard information that communication module sends is the most consistent with presupposed information with program information.
Further, this detection device also includes:
Detection module, for judging whether detecting tool receives mainboard information and the program information that communication module sends;
Alarm module, carries out alarm during detecting tool detects.
Further, described mainboard information is mainboard coding;Described program information includes mastery routine coding, mastery routine version
Originally, EEPROM coding and EEPROM version.
Further, described mainboard coding, EEPROM coding and EEPROM version are stored in eeprom chip;Described main journey
Sequence coding and mastery routine version are stored in the FLASH of master chip.
The automatic testing method of the convertible frequency air-conditioner mainboard of the present invention and device, according to the spy of convertible frequency air-conditioner internal-external machine communication
Property, the communication with detecting tool of the convertible frequency air-conditioner mainboard increases mainboard information and program information, and carries out in detecting tool
Mainboard information, the collection of program information and contrast judgement, finally realize the automatic detection of mainboard information and program information, improving
While detection efficiency, solve mainboard production process occurs mainboard batch mixing, burning mistake, the problem such as missing inspection erroneous judgement, accurate
Exactness is high, easy to operate, quick.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under not paying creative work premise all its
His embodiment, broadly falls into the scope of protection of the invention.
It is to be appreciated that directional instruction in the embodiment of the present invention (such as up, down, left, right, before and after ...) is only used
In explaining relative position relation between each parts, motion conditions etc. under a certain particular pose (as shown in drawings), if should
When particular pose changes, then directionality instruction changes the most therewith.
It addition, the description relating to " first ", " second " etc. in the present invention is only used for describing purpose, and it is not intended that refer to
Show or imply its relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", "
Two " feature can express or implicitly include at least one this feature.It addition, the technical scheme between each embodiment can
To be combined with each other, but must be based on those of ordinary skill in the art are capable of, when the combination of technical scheme occurs
Conflicting will be understood that the combination of this technical scheme does not exists, the most not at the protection model of application claims when maybe cannot realize
Within enclosing.
With reference to the flow chart of automatic testing method one embodiment that Fig. 1, Fig. 1 are convertible frequency air-conditioner mainboard of the present invention, real at this
Execute in example, the automatic testing method of this convertible frequency air-conditioner mainboard, comprise the steps:
S1: convertible frequency air-conditioner mainboard reads mainboard information and program information, and carries out communication with detecting tool;
S2: increase mainboard information and program information in communication data;
S3: judge whether detecting tool receives described mainboard information and program information, the most then perform step S4, as no
Then perform step S6;
S4: with presupposed information, described mainboard information and program information are carried out contrast and judges, as contrast judges unanimously then to hold
Row step S5, as contrast judges inconsistent then execution step S6;
S5: proceed other Function detection;
S6: carry out alarm;
S7: detection of end.
The mainboard information of the convertible frequency air-conditioner of the present embodiment and the detection method of program information, to convertible frequency air-conditioner mainboard to be measured
When detecting, first convertible frequency air-conditioner mainboard to be detected is connected to detecting tool, convertible frequency air-conditioner mainboard reads himself attached
The mainboard information added and program information, convertible frequency air-conditioner mainboard carries out communication by connection or telecommunication circuit with detecting tool.?
In communication process, the mainboard information read by convertible frequency air-conditioner mainboard and program information packing increase in communication data, in order to
Detecting tool is read out identifying.During detection, in order to ensure the accuracy rate of detection, mainboard information and program are believed by segmentation
Breath is monitored, and first ensures that detecting tool can receive mainboard information data and the program information number of the transmission of convertible frequency air-conditioner mainboard
According to, otherwise can carry out alarm immediately, and then terminate the detection of this convertible frequency air-conditioner mainboard;Confirm that detecting tool receives this mainboard
After information and program information, detection can enter into the comparison stage, can first input air-conditioning variable-frequency mainboard to be measured before testing
Mainboard information and program information are as template, or set up data base in detecting tool, quote in data base when detection and deposit
The template of storage is compared, the most consistent with Template Information with program information by comparing the mainboard information received, if connect
The mainboard information received is consistent with Template Information comparison with program information, then carry out other Function detection follow-up to complete detection;
If the mainboard information received and program information are inconsistent with Template Information comparison, then carry out alarm, detection of end.
Other Function detection include but not limited to convertible frequency air-conditioner mainboard is being heated and is being operated under refrigeration mode respectively
The detection of frequency, and convertible frequency air-conditioner mainboard is connected the simulated pressure detection after compressor.
The automatic testing method of the convertible frequency air-conditioner mainboard of the present embodiment, in the communication with detecting tool of the convertible frequency air-conditioner mainboard
Increase mainboard information and program information, and in detecting tool, carry out mainboard information, the collection of program information and contrast judgement,
Realize the automatic detection of mainboard information and program information eventually, while improving detection efficiency, solve in mainboard production process
The problems such as the mainboard batch mixing of appearance, burning mistake, missing inspection erroneous judgement, accuracy is high, easy to operate, quick.
Further, described mainboard information is mainboard coding;Described program information includes mastery routine coding, mastery routine version
Originally, EEPROM coding and EEPROM version.
The automatic testing method of the convertible frequency air-conditioner mainboard of the present invention, the mainboard information that convertible frequency air-conditioner mainboard reads is this frequency conversion
The coding of air-conditioning mainboard, namely the product ID of this mainboard, to application when facilitating the later stage that this mainboard is tracked and is keeped in repair
The convertible frequency air-conditioner of this mainboard carries out parameter reading;The program information that convertible frequency air-conditioner mainboard reads includes mastery routine coding, mastery routine
Version, EEPROM coding and EEPROM version, it is simple to this mainboard is carried out the replacing of program upgrading and eeprom chip.
Further, described mainboard coding, EEPROM coding and EEPROM version are stored in eeprom chip;Described main journey
Sequence coding and mastery routine version are stored in the FLASH of master chip.
The automatic testing method of the convertible frequency air-conditioner mainboard of the present invention, led to before convertible frequency air-conditioner mainboard with detecting tool
During news, mainboard information, EEPROM coding and EEPROM version are stored in eeprom chip, to ensure the success rate of transmission, subtract
Other interference few, and the spatial content of EEPROM is relatively big, does not interferes with its speed of service;And mastery routine coding and mastery routine version
Originally it is stored in the FLASH of master chip, it is to avoid to mastery routine coding and the damage of mastery routine version information after dead electricity, and can enter
Row quick storage.
Further, described detecting tool connects has display lamp and buzzer, described display lamp and buzzer in inspection
Alarm is carried out during survey.
The automatic testing method of the convertible frequency air-conditioner mainboard of the present embodiment, detecting tool one end connects display lamp and buzzing
Device, in order to carry out alarm when detecting tool does not receives mainboard information and the program information that convertible frequency air-conditioner mainboard reads, with
And the air-conditioning master to be detected preset before the mainboard information judging convertible frequency air-conditioner mainboard communication transmission and program information and detection
When the mainboard information of plate and program information are inconsistent, carry out alarm.Detecting tool is provided with the LED for showing detection information
Display screen, it is possible to the information showing each detection-phase directly perceived, so when display lamp and buzzer carry out alarm, permissible
Directly obtain in the detection fault surveying convertible frequency air-conditioner mainboard, improve detection efficiency and accuracy.
Provide the automatic detection device of a kind of convertible frequency air-conditioner mainboard with reference to Fig. 2, Fig. 2, specifically include:
Information reading module 10, for reading mainboard information and the program information of convertible frequency air-conditioner;
Communication module 20, is sent to detect work for the mainboard information read by information reading module 10 and program information
Dress;
Detection module 30, for judging whether detecting tool receives mainboard information and the program letter that communication module 20 sends
Breath;
Identification module 40, for judging mainboard information that communication module 20 sends and program information and presupposed information whether
Cause;
Alarm module 50, carries out alarm during detecting tool detects.
The automatic detection device of the convertible frequency air-conditioner mainboard of the present embodiment, when detecting convertible frequency air-conditioner, first by believing
Breath read module 10 to connecting with wire or the convertible frequency air-conditioner mainboard of wireless connections carries out the reading of mainboard information and program information,
The mainboard coding of the convertible frequency air-conditioner mainboard then read by information reading module by the communication module 20 of detection device, mastery routine are compiled
Code, mastery routine version, EEPROM coding and the information such as EEPROM version send to detecting tool with wireless communication mode, then by
The detection module 30 of detecting tool to whether receiving mainboard information that communication module sends and program information tentatively judges,
If detection module 30 is not detected by above-mentioned information, then alarm module 50 can carry out alarm, if detection module 30 detects
Arrive above-mentioned information, then transfer to identification module 40 that above-mentioned information is preset or the convertible frequency air-conditioner mainboard to be measured of storage with detecting tool
Information be identified comparison, if comparison failure, then carried out alarm by alarm module 50, if comparison success; by detection work
Putting into other functional detections of row, the detection device of the present embodiment, while improving detection efficiency, solves mainboard and produced
The problems such as the mainboard batch mixing that occurs in journey, burning mistake, missing inspection erroneous judgement, accuracy is high, easy to operate, quick.
Further, described mainboard information is mainboard coding;Described program information includes mastery routine coding, mastery routine version
Originally, EEPROM coding and EEPROM version;Described mainboard coding, EEPROM coding and EEPROM version are stored in EEPROM core
Sheet;Described mastery routine coding and mastery routine version are stored in the FLASH of master chip.
The automatic detection device of the convertible frequency air-conditioner mainboard of the present invention, the mainboard information that convertible frequency air-conditioner mainboard reads is this frequency conversion
The coding of air-conditioning mainboard, namely the product ID of this mainboard, to application when facilitating the later stage that this mainboard is tracked and is keeped in repair
The convertible frequency air-conditioner of this mainboard carries out parameter reading;The program information that convertible frequency air-conditioner mainboard reads includes mastery routine coding, mastery routine
Version, EEPROM coding and EEPROM version, it is simple to this mainboard is carried out the replacing of program upgrading and eeprom chip.
When carrying out communication before convertible frequency air-conditioner mainboard with detecting tool, mainboard information, EEPROM coding and EEPROM version
Originally it is stored in eeprom chip, to ensure the success rate of transmission, reduces other interference, and the spatial content of EEPROM is relatively
Greatly, its speed of service is not interfered with;And mastery routine coding and mastery routine version are stored in the FLASH of master chip, it is to avoid dead electricity
Afterwards to mastery routine coding and the damage of mastery routine version information, and quick storage can be carried out.
Additionally, pass through I between the master chip of the present invention and eeprom chip2C communication connects, I2C is the one of synchronous communication
Specific form, interface line is few, and control mode is simple, and device packing forms is little, and traffic rate is high, and supports that any IC produced
Journey.The memory space of eeprom chip has 1K-2Mbit, saves as 1K-2Mbit in the present invention in eeprom chip, it is possible to
Make convertible frequency air-conditioner mainboard keep a higher speed of service, be conducive to improving detection efficiency.
When the mainboard of convertible frequency air-conditioner is detected, except by the power interface of convertible frequency air-conditioner mainboard and detecting tool
Zero line and fire wire output end or incoming end are attached realizing outside power detecting, connect a connection the most between,
To realize the data information transfer between convertible frequency air-conditioner mainboard and detecting tool, solve the mainboard occurred in mainboard production process
The problems such as batch mixing, burning mistake, missing inspection erroneous judgement, improve detection efficiency.
The foregoing is only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every at this
Under the inventive concept of invention, utilize the equivalent structure transformation that description of the invention and accompanying drawing content are made, or directly/indirectly use
The technical field relevant at other is included in the scope of patent protection of the present invention.