A kind of washing machine controller checkout gear and method
Technical field
The present invention relates to washing machine control technology field, specifically one can be simulated washing machine machine running status completely, and can automatically record, show test results, there is the automatic rough set theory of model how wide in variety, automatically detect energy-and time-economizing, test result intuitive display, homogeneity of product waits by force washing machine controller checkout gear and the method for remarkable advantage.
Background technology
Well-known modern washing machine has a lot of functions, and function is also in continuous increase, the running status of the related all parts of these functions is all controlled by washing machine controller, thereby producing in the process of washing machine controller, carry out validity test to various functions.
At present the test of washing machine controller is mostly carried out to complete machine actual load manual test by the washing machine controller of different model being assembled on the washing machine of respective model, in this process, need to manually set respectively the parameter such as power supply, water pump by tester according to the specific requirement of test event, cause testing efficiency low, and have the problem of waste water power.
Summary of the invention
The present invention is directed to the deficiency that prior art exists, propose a kind of automatic rough set theory that can realize type product how wide in variety, effectively simplify testing process, intelligent memory, test result intuitive display, homogeneity of product waits by force a kind of washing machine controller checkout gear and the method for remarkable advantage.
The present invention reaches by following measures:
A kind of washing machine controller testing arrangement, comprise the power supply unit that is used to device that electric power is provided, be connected with described power supply unit for showing the display unit of output test event and relevant parameter, the microprocessing unit for the work of conditioning unit all parts being connected with described power supply unit, be connected with described microprocessing unit for storing the data storage of detected parameters, and the performance element for finished item test being connected with described power supply unit, the demonstration output of wherein said microprocessing unit is connected with display unit, the control signal output of described microprocessing unit is connected with performance element, it is characterized in that being provided with in described performance element the binding post for connecting device to be measured and performance element, the Executive Module being connected with binding post, wherein Executive Module comprises turn to/rotating speed detection module and signal imitation module, described turning to/rotating speed detection module is by the motor drive circuit being connected with binding post, the motor being connected with motor drive circuit, the rotating speed detection dish being connected with motor output shaft, the composition of the turn to/speed detect circuit for detection of rotating speed detection dish movable information that output is connected with microprocessing unit, the relay that described signal imitation module is connected with binding post by input is realized, the signal output part of its repeat circuit is connected with microprocessing unit.
Described in the present invention, in Executive Module, can be provided with more than two signal imitation module, it is more than two that the signal output part of signal imitation module is connected with microprocessing unit respectively, signal input part is connected with binding post respectively, in described display unit, be provided with more than two indicator lamp, indicator lamp is corresponding one by one with the relay in performance element respectively, in display unit, be also provided with the liquid crystal display for showing test parameter, indicator lamp is all connected with microprocessing unit with liquid crystal display, and described microprocessing unit is by chip microcontroller.
Power supply unit described in the present invention is made up of the transforming circuit being connected successively, rectification circuit, filter circuit, mu balanced circuit, transforming circuit is converted to outside 220v alternating current after low tension, pass through respectively two-way treatment circuit, the first via is after over commutation, filtering, voltage stabilizing are processed, obtain checkout gear work 12v power supply used, the second tunnel obtains checkout gear 5v power supply used through rectification, filtering after processing.
In the present invention, microprocessing unit can be realized by ATMEGA165 chip in specific implementation process, for controlling the duty of whole checkout gear.
The present invention is also provided with communication interface, and communication interface is connected with microprocessing unit, and for realizing and the information interchange of host computer, host computer can be controlled multiple washing machine controller testing arrangements by communication interface simultaneously, effectively improves and detects control efficiency.
Turn to/the speed detect circuit being connected with microprocessing unit described in the present invention can adopt infrared electro formula circuit structure, also can adopt Hall-type circuit structure, wherein turn to/speed detect circuit of infrared electro formula comprises two-way infrared electro testing circuit, the triode common-base amplification circuit that every road infrared electro testing circuit comprises optical coupling module and is connected with the signal output part of optical coupling module, wherein the signal output part of triode common-base amplification circuit is connected with microprocessing unit, the rotating speed detection dish being connected with motor output shaft in use can trigger optical coupling module and outwards export the signal of telecommunication with certain frequency, and send into microprocessing unit through triode common-base amplification circuit, the parallel infrared electro testing circuit of two-way is simultaneously to microprocessing unit output electrical signals, microprocessing unit receives time and the frequency information of the signal of telecommunication by judgement, obtain turning to of motor, rotary speed information, if adopt Hall-type circuit structure, comprise that the electromagnetism Hall testing circuit that two-way is connected with microprocessing unit respectively realizes.
The present invention also proposes a kind of easy and simple to handle, can automatically realize the washing machine controller detection method of the indices detection of washing machine controller to be measured.
A kind of washing machine controller detection method, is characterized in that comprising the following steps:
Step 1: washing machine controller to be measured is connected with the performance element in checkout gear through binding post, and checkout gear is connected with host computer through communication interface, to realize the detection set information and the order that receive host computer,
Step 2: power-up initializing, host computer sends and detects set information to microprocessing unit through communication interface, comprise the corresponding relevant criterion parameter information of test item type, number of inspection items and projects type, microprocessing unit carries out the setting of test item and deposits relevant criterion parameter information in data storage by it after receiving this information
Step 3: host computer sends and detects initiation command to microprocessing unit, opens washing machine controller to be detected, makes its operation, carry out the detection of project to be detected, and drive performance element through binding post, the action of performance element contact, checkout gear detects and receives the Output rusults of performance element
Step 4: the microprocessing unit in checkout gear receives after device feedack to be detected, itself and the relevant criterion parameter information of depositing in data storage are compared, comparison result is consistent, through the qualified signal of display unit output detections, comparison result is inconsistent, through the defective signal of display unit output detections.
In the present invention, the type of test item described in step 2 comprises that the detection of water level of washing machine control, the detection of door lock of washing machine open and close controlling, the detection of water intake valve of washing machine control, detection and the washing machine drum of drainage pump of washing machine control rotate the detection of controlling;
Wherein in the time carrying out the detection of water level of washing machine control, comprise the following steps: washing machine controller to be detected carries out water level detecting, and Output rusults is sent into the relay input of performance element Zhong Yi road signal imitation module through binding post, relay is realized opening/closing operation under the driving of Output rusults, and operating result is sent into the microprocessing unit that Yu Gai road signal imitation module output is connected, microprocessing unit receives this information, and the relevant criterion parameter information of storing in itself and data storage is compared, if consistent, export fault-free signal, comparison result is inconsistent, output water level control detection failure signal,
In the time carrying out the detection of the opening/closing control of door lock of washing machine, comprise the following steps: washing machine controller to be detected carries out the opening/closing control of door lock of washing machine, and send controlling result into the relay input of performance element Zhong mono-tunnel signal imitation module through binding post, relay is realized opening/closing operation under the driving of this Output rusults, and operating result is sent into the microprocessing unit that Yu Gai road signal imitation module output is connected, microprocessing unit is accepted this information, and the relevant criterion parameter information of storing in itself and data storage is compared, if consistent, export fault-free signal, comparison result is inconsistent, the opening/closing control fault-signal of output door lock of washing machine,
In the time carrying out water intake valve of washing machine control detection, comprise the following steps: washing machine controller to be detected carries out the opening/closing control of water intake valve of washing machine, and send controlling result into the relay input of performance element Zhong mono-tunnel signal imitation module through binding post, relay is realized opening/closing operation under the driving of this Output rusults, and operating result is sent into the microprocessing unit that Yu Gai road signal imitation module output is connected, microprocessing unit is accepted this information, and the relevant criterion parameter information of storing in itself and data storage is compared, if consistent, export fault-free signal, comparison result is inconsistent, the opening/closing control fault-signal of output water intake valve of washing machine,
In the time carrying out the detection of drainage pump of washing machine control, comprise the following steps: washing machine controller to be detected carries out the opening/closing control of drainage pump of washing machine, and send controlling result into the relay input of performance element Zhong mono-tunnel signal imitation module through binding post, relay is realized opening/closing operation under the driving of this Output rusults, and operating result is sent into the microprocessing unit that Yu Gai road signal imitation module output is connected, microprocessing unit is accepted this information, and the relevant criterion parameter information of storing in itself and data storage is compared, if consistent, export fault-free signal, comparison result is inconsistent, the opening/closing control fault-signal of output drainage pump of washing machine,
In the time carrying out the detection of washing machine drum rotation control, comprise the following steps: washing machine controller to be detected carries out washing machine drum and rotates control, and the motor drive circuit of result in binding post is sent into performance element will be controlled, rotate through motor drive circuit drive motor, now entrained the turning to of rotating speed detection dish on motor output shaft, what rotary speed information was connected with microprocessing unit through output turn to/speed detect circuit collection, and sent into microprocessing unit, microprocessing unit receives this information, and the relevant criterion parameter information of storing in itself and data storage is compared, if consistent, export fault-free signal, if inconsistent, export washing machine drum and rotate control fault-signal.
The present invention can realize whole detections of above-mentioned each project simultaneously, also can be according to the concrete condition of equipment to be detected, select wherein one or multinomially detect simultaneously, in the present invention, the output of fault-signal or fault-free signal is realized by display unit, be specially the indicator lamp making in display unit corresponding one by one with turning in performance element/rotating speed detection module and signal imitation module more than two-way, in the time breaking down, indicator lamp is lighted or is closed, outwards to send visual alarm.
The present invention is by adopting the detection mode of question and answer, gather the real time data of equipment feedback to be detected, and the normal data in the real time data and the data storage that receive is compared to computing, with judge washing machine electronic controller whether correct completed the instruction of being accepted, and result is made to corresponding demonstration at display unit, if correctly, checkout gear continues to read next test program and goes to carry out by washing machine electronic controller; If execution result is incorrect, now can manually select to stop test or skip this test program and continue to carry out next command, so circulation is until all test end, demonstration OK buzzing are offered testing staff and are unloaded equipment under test, the present invention, compared with traditional detection method, can realize multimachine PC management; The automatic rough set theory of many models wide in variety: can be transformed into automatically corresponding trace routine as long as selected a model device; Automatically detect energy-conservation, save time, reduce labour intensity; PC database can be directly imported without test leakage, intelligent memory, test data, and multi-host parallel test can be realized; Result intuitive display, the significant advantage such as errorless survey.
Brief description of the drawings:
Accompanying drawing 1 is structural representation of the present invention.
Accompanying drawing 2 is the circuit diagrams that turn to a kind of embodiment of speed detect circuit in the present invention.
Accompanying drawing 3 is the circuit diagrams that turn to the another kind of embodiment of speed detect circuit in the present invention.
Accompanying drawing 4 is a kind of embodiment structural representations of power supply unit in the present invention.
Accompanying drawing 5 is a kind of embodiment structural representations of communication interface in the present invention.
Accompanying drawing 6 is a kind of embodiment structural representations of display unit in the present invention.
Accompanying drawing 7 is a kind of embodiment structural representations of performance element in the present invention.
Reference numeral: power supply unit 1, display unit 2, microprocessing unit 3, data storage 4, performance element 5, turn to/speed detect circuit 6, host computer 7, turn to rotating speed detection module 8, signal imitation module 9, motor drive circuit 10, motor 11.
Detailed description of the invention:
Below in conjunction with drawings and Examples, the present invention is further described.
As shown in Figure 1, the present invention proposes a kind of washing machine controller testing arrangement, comprise the power supply unit 1 that is used to device that electric power is provided, be connected with described power supply unit 1 for showing the display unit 2 of output test event and relevant parameter, the microprocessing unit 3 for the work of conditioning unit all parts being connected with described power supply unit 1, be connected with described microprocessing unit 3 for storing the data storage 4 of detected parameters, and the performance element 5 for finished item test being connected with described power supply unit 1, the demonstration output of wherein said microprocessing unit 3 is connected with display unit 2, the control signal output of described microprocessing unit 3 is connected with performance element 5, it is characterized in that being provided with in described performance element 5 binding post for connecting device to be measured and performance element 5, the Executive Module being connected with binding post, wherein Executive Module comprises turn to/rotating speed detection module 8 and signal imitation module 9, described turning to/rotating speed detection module 8 is by the motor drive circuit 10 being connected with binding post, the motor 11 being connected with motor drive circuit 10, the rotating speed detection dish being connected with motor 11 output shafts, turn to/the speed detect circuit 6 for detection of rotating speed detection dish movable information that output is connected with microprocessing unit 3 forms, the relay that described signal imitation module 9 is connected with binding post by input is realized, the signal output part of its repeat circuit is connected with microprocessing unit 3, described performance element 5 is interior can be provided with more than two signal imitation module 9, more than two signal output part of signal imitation module 9 is connected with microprocessing unit 3 respectively, signal input part is connected with binding post respectively, in described display unit 2, be provided with more than two indicator lamp, indicator lamp is corresponding one by one with the relay in performance element 5 respectively, in display unit 2, be also provided with the liquid crystal display for showing test parameter, indicator lamp is all connected with microprocessing unit with liquid crystal display, described microprocessing unit 3 is by chip microcontroller.
As shown in Figure 4, power supply unit 1 described in the present invention is made up of the transforming circuit being connected successively, rectification circuit, filter circuit, mu balanced circuit, transforming circuit is converted to outside 220v alternating current after low tension, pass through respectively two-way treatment circuit, the first via is after over commutation, filtering, voltage stabilizing are processed, obtain checkout gear work 12v power supply used, the second tunnel obtains checkout gear 5v power supply used through rectification, filtering after processing.
In the present invention, microprocessing unit 3 can be realized by ATMEGA165 chip in specific implementation process, for controlling the duty of whole checkout gear.
The present invention is also provided with communication interface, communication interface is connected with microprocessing unit 3, communication interface can adopt circuit structure as shown in Figure 5, for realizing and the information interchange of host computer 7, host computer 7 can be controlled multiple washing machine controller testing arrangements by communication interface simultaneously, effectively improves and detects control efficiency.
The present invention is also provided with the turn to/speed detect circuit 6 being connected with microprocessing unit 3, turn to/speed detect circuit 6 can adopt infrared electro formula circuit structure, also can adopt Hall-type circuit structure, wherein turn to/speed detect circuit of infrared electro formula comprises two-way infrared electro testing circuit as shown in Figure 2, the triode common-base amplification circuit that every road infrared electro testing circuit comprises optical coupling module and is connected with the signal output part of optical coupling module, wherein the signal output part of triode common-base amplification circuit is connected with microprocessing unit 3, the rotating speed detection dish being connected with motor output shaft in use can trigger optical coupling module and outwards export the signal of telecommunication with certain frequency, and send into microprocessing unit 3 through triode common-base amplification circuit, the parallel infrared electro testing circuit of two-way is simultaneously to microprocessing unit output electrical signals, microprocessing unit receives time and the frequency information of the signal of telecommunication by judgement, obtain turning to of motor, rotary speed information, if adopt Hall-type circuit structure, as shown in Figure 3, comprise that the electromagnetism Hall testing circuit that two-way is connected with microprocessing unit respectively realizes.
The present invention also proposes a kind of easy and simple to handle, can automatically realize the washing machine controller detection method of the indices detection of washing machine controller to be measured.
A kind of washing machine controller detection method, is characterized in that comprising the following steps:
Step 1: washing machine controller to be measured is connected with the performance element in checkout gear through binding post, and checkout gear is connected with host computer through communication interface, to realize the detection set information and the order that receive host computer,
Step 2: power-up initializing, host computer 7 sends and detects set information to microprocessing unit 3 through communication interface, comprise the corresponding relevant criterion parameter information of test item type, number of inspection items and projects type, after microprocessing unit 3 receives this information, carry out the setting of test item and deposit relevant criterion parameter information in data storage 4 by it
Step 3: host computer 7 sends and detects initiation command to microprocessing unit 3, opens washing machine controller to be detected, makes its operation, carry out the detection of project to be detected, and drive performance element 5 through binding post, the action of performance element contact, checkout gear detects and receives the Output rusults of performance element
Step 4: the microprocessing unit 3 in checkout gear receives after device feedack to be detected, itself and the relevant criterion parameter information of depositing in data storage 4 are compared, comparison result is consistent, through the qualified signal of display unit output detections, comparison result is inconsistent, through the defective signal of display unit 2 output detections.
In the present invention, the type of test item described in step 2 comprises that the detection of water level of washing machine control, the detection of door lock of washing machine open and close controlling, the detection of water intake valve of washing machine control, detection and the washing machine drum of drainage pump of washing machine control rotate the detection of controlling;
Wherein in the time carrying out the detection of water level of washing machine control, comprise the following steps: washing machine controller to be detected carries out water level detecting, and Output rusults is sent into the relay input of performance element 5 Zhong Yi road signal imitation modules 9 through binding post, relay is realized opening/closing operation under the driving of Output rusults, and operating result is sent into the microprocessing unit 3 that Yu Gai road signal imitation module 9 outputs are connected, microprocessing unit 3 receives this information, and the relevant criterion parameter information of itself and data storage 4 interior storages is compared, if consistent, export fault-free signal, comparison result is inconsistent, output water level control detection failure signal,
In the time carrying out the detection of the opening/closing control of door lock of washing machine, comprise the following steps: washing machine controller to be detected carries out the opening/closing control of door lock of washing machine, and send controlling result into the relay input of performance element 5 Zhong mono-tunnel signal imitation modules 9 through binding post, relay is realized opening/closing operation under the driving of this Output rusults, and operating result is sent into the microprocessing unit 3 that Yu Gai road signal imitation module 9 outputs are connected, microprocessing unit is accepted this information, and the relevant criterion parameter information of itself and data storage 4 interior storages is compared, if consistent, export fault-free signal, comparison result is inconsistent, the opening/closing control fault-signal of output door lock of washing machine,
In the time carrying out water intake valve of washing machine control detection, comprise the following steps: washing machine controller to be detected carries out the opening/closing control of water intake valve of washing machine, and send controlling result into the relay input of performance element 5 Zhong mono-tunnel signal imitation modules 9 through binding post, relay is realized opening/closing operation under the driving of this Output rusults, and operating result is sent into the microprocessing unit 3 that Yu Gai road signal imitation module 9 outputs are connected, microprocessing unit 3 receives this information, and the relevant criterion parameter information of itself and data storage 4 interior storages is compared, if consistent, export fault-free signal, comparison result is inconsistent, the opening/closing control fault-signal of output water intake valve of washing machine,
In the time carrying out the detection of drainage pump of washing machine control, comprise the following steps: washing machine controller to be detected carries out the opening/closing control of drainage pump of washing machine, and send controlling result into the relay input of performance element Zhong mono-tunnel signal imitation module 9 through binding post, relay is realized opening/closing operation under the driving of this Output rusults, and operating result is sent into the microprocessing unit 3 that Yu Gai road signal imitation module 9 outputs are connected, microprocessing unit 3 receives this information, and the relevant criterion parameter information of itself and data storage 4 interior storages is compared, if consistent, export fault-free signal, comparison result is inconsistent, the opening/closing control fault-signal of output drainage pump of washing machine,
In the time carrying out the detection of washing machine drum rotation control, comprise the following steps: washing machine controller to be detected carries out washing machine drum and rotates control, and the motor drive circuit of result in binding post is sent into performance element 5 will be controlled, rotate through motor drive circuit drive motor, now entrained the turning to of rotating speed detection dish on motor output shaft, what rotary speed information was connected with microprocessing unit through output turn to/speed detect circuit collection, and sent into microprocessing unit, microprocessing unit receives this information, and the relevant criterion parameter information of storing in itself and data storage is compared, if consistent, export fault-free signal, if inconsistent, export washing machine drum and rotate control fault-signal.
The present invention can realize whole detections of above-mentioned each project simultaneously, also can be according to the concrete condition of equipment to be detected, select wherein one or multinomially detect simultaneously, in the present invention, the output of fault-signal or fault-free signal is realized by display unit, be specially the indicator lamp making in display unit corresponding one by one with turning in performance element/rotating speed detection module and signal imitation module more than two-way, in the time breaking down, indicator lamp is lighted or is closed, outwards to send visual alarm.
The present invention is by adopting the detection mode of question and answer, gather the real time data of equipment feedback to be detected, and the normal data in the real time data and the data storage that receive is compared to computing, with judge washing machine electronic controller whether correct completed the instruction of being accepted, and result is made to corresponding demonstration at display unit, if correctly, checkout gear continues to read next test program and goes to carry out by washing machine electronic controller; If execution result is incorrect, now can manually select to stop test or skip this test program and continue to carry out next command, so circulation is until all test end, demonstration OK buzzing are offered testing staff and are unloaded equipment under test, the present invention, compared with traditional detection method, can realize multimachine PC management; The automatic rough set theory of many models wide in variety: can be transformed into automatically corresponding trace routine as long as selected a model device; Automatically detect energy-conservation, water-saving, save time, reduce labour intensity; PC database can be directly imported without test leakage, intelligent memory, test data, and multi-host parallel test can be realized; Result intuitive display, the significant advantage such as errorless survey.