CN104991183B - A kind of test method for JYJC monitoring unit cpu motherboards - Google Patents
A kind of test method for JYJC monitoring unit cpu motherboards Download PDFInfo
- Publication number
- CN104991183B CN104991183B CN201510382212.5A CN201510382212A CN104991183B CN 104991183 B CN104991183 B CN 104991183B CN 201510382212 A CN201510382212 A CN 201510382212A CN 104991183 B CN104991183 B CN 104991183B
- Authority
- CN
- China
- Prior art keywords
- jyjc
- unit cpu
- monitoring unit
- test method
- communication interfaces
- 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
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The invention discloses a kind of test method for JYJC monitoring unit cpu motherboards, the test method includes:1) peripheral components of the JYJC monitoring unit cpu motherboard are connected with microcontroller;2) it is whether consistent by the way that feedback data and transmission data and directly detection data whether can be received between the microcontroller and JYJC monitoring unit cpu motherboards, judge whether corresponding peripheral components quality is qualified;3) test result is shown eventually through the display device being connected with the JYJC monitoring unit cpu motherboard.Whether the present invention is consistent by that whether can receive feedback data and transmission data and directly detection data between microcontroller and JYJC monitoring unit cpu motherboards, judge whether corresponding peripheral components quality is qualified, and result is shown by LCD liquid crystal display screen, realize intelligent automation test, it efficiently avoid the shortcomings that manual operation is cumbersome, inconvenient, with simple, convenient, quick, and the advantages of automation.
Description
Technical field
The present invention relates to singlechip technology field, more particularly to a kind of test for JYJC monitoring unit cpu motherboards
Method.
Background technology
JYJC monitoring unit cpu motherboards are a kind of plates having to power supply product automatic detection function, main to include string
The functions such as row communication, relay control, LCD liquid crystal displays, history data store, can detect voltage, the electricity of power supply product in real time
The information such as the operating status of stream, frequency and significant points.At present, JYJC monitoring unit cpu motherboard has I type monitoring unit of JYJC
II type monitoring unit cpu motherboard of cpu motherboard and JYJC.Quality determining method for JYJC monitoring unit cpu motherboards is typically:
JYJC monitoring unit cpu motherboards are installed in power supply, connecing distribution by complicated system connects, and then manually simulation is disconnected
Road device disconnects closure, the input and output voltage electric current for manually adjusting power supply etc. to judge the matter of JYJC monitoring unit cpu motherboards
Amount quality.And this method is all that manual operation is completed after needing to connect electricity, then by judging JYJC monitoring unit after data analysis
Whether cpu motherboard all technical is normal, its cumbersome, data is difficult to analyze, test result more seldom goes out.
It can be seen from the above that above-mentioned existing test method is using upper, it is clear that has still suffered from inconvenience and defect, and has urgently been subject to
Further improve.How a kind of automatic, simple, the efficiently new survey that is used to detect JYJC monitoring unit cpu motherboard is founded
Method for testing, becoming current industry pole needs improved target.
The content of the invention
The object of the present invention is to provide a kind of survey for automatically, simply, being efficiently used to detect JYJC monitoring unit cpu motherboards
Method for testing, makes it overcome the shortcomings of existing test method.
To achieve the above object, the present invention adopts the following technical scheme that:
A kind of test method for JYJC monitoring unit cpu motherboards, the test method include:
1) peripheral components of the JYJC monitoring unit cpu motherboard are connected with microcontroller;
2) by the way that whether between the microcontroller and JYJC monitoring unit cpu motherboards feedback data and transmission can be received
Whether data are consistent with directly detecting data, judge whether corresponding peripheral components quality is qualified;
3) test result is shown eventually through the display device being connected with the JYJC monitoring unit cpu motherboard.
As a further improvement on the present invention, the microcontroller is two, and it is single that the peripheral components include connection first
The RS485 communication interfaces of piece machine, and the connection RS232 communication interfaces of second singlechip, output relay, output lamp plate and defeated
Enter button.
Further improve, the test method of the RS485 communication interfaces is:
The JYJC monitoring unit cpu motherboard sends communication instruction by RS485 communication interfaces to the first microcontroller, if institute
State monitoring unit cpu motherboard and can receive the feedback data of the first microcontroller and then judge that the RS485 communication interfaces are up-to-standard,
Judge that the RS485 communication interfaces are off quality if it cannot receive feedback data.
Further improve, the test method of the output relay and output lamp plate is:
The I/O interfaces of output relay, output lamp plate are arranged to 0 by JYJC monitoring unit cpu motherboard, and this state
Second singlechip is sent to by RS232 communication interfaces, second singlechip directly detects output relay, exports lamp plate at the same time
Interface status, and direct detection data and transmission data are compared, comparative result is returned to by RS232 communication interfaces
JYJC monitoring unit cpu motherboards;
The I/O interfaces of output relay, output lamp plate are arranged to 1 by JYJC monitoring unit cpu motherboard afterwards, then carry out one
It is secondary to communicate, judge, compare and return;
Comprehensive comparative result twice, judges output relay and exports connecing for lamp plate if being unanimously if comparative result twice
Mouthful performance is qualified, if comparative result twice be it is inconsistent if judge output relay and export the interface capability of lamp plate not conform to
Lattice, if only once comparative result unanimously if judge that output relay under its corresponding states and the interface capability of output lamp plate close
Lattice, and the interface capability of the output relay and output lamp plate under another state is unqualified.
Further improve, the test method of the input button is:
The I/O interfaces for inputting button are arranged to 0 by second singlechip, and this state is passed by RS232 communication interfaces
JYJC monitoring unit cpu motherboards are given, directly detection inputs key-press status to JYJC monitoring unit cpu motherboard, and will be direct at the same time
Detection data are compared with transmission data;
The I/O interfaces for inputting button are arranged to 1 by second singlechip afterwards, then are once communicated, judged and compared;
Comprehensive comparative result twice, judges that the interface capability of input button is qualified if being unanimously if comparative result twice,
If comparative result twice be it is inconsistent if judge input button interface capability it is unqualified, if only once comparative result be one
Cause, then judge that the interface capability for inputting button under this state is qualified, and the interface capability of the input button under another state is not
It is qualified.
Further improve, if the monitoring unit cpu motherboard can receive the transmission data of second singlechip, described in judgement
RS232 communication interfaces are up-to-standard;
If the transmission data cannot be received, judge that the RS232 communication interfaces are off quality.
Further improve, first microcontroller uses STC15W204S microcontrollers.
Further improve, the second singlechip uses STC12C5A60S2 microcontrollers.
Further improve, the instruction whether microcontroller is connected or is provided with for indicating that corresponding component is up-to-standard
Lamp.
Further improve, the display device is LCD liquid crystal display screen.
Compared with prior art, the invention has the advantages that:
Whether the present invention between microcontroller and JYJC monitoring unit cpu motherboards by that can receive feedback data and transmission
Whether data are consistent with directly detecting data, judge whether corresponding peripheral components quality is qualified, and pass through LCD liquid crystal display screen
Display is tested as a result, realizing intelligent automation, efficiently avoid the shortcomings that manual operation is cumbersome, inconvenient, has operation
Simply, it is convenient, fast, and the advantages of automation.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Fig. 1 is JYJC monitoring unit cpu motherboard test method functional block diagram of the present invention.
Embodiment
Whether the peripheral components quality present invention is mainly used for test JYJC monitoring unit cpu motherboards is qualified, referring to the drawings 1
Shown, the peripheral components of the monitoring unit cpu motherboard include RS485 communication interfaces, RS232 communication interfaces, output relay, defeated
Go out lamp plate and input button.It is following exemplified by testing the test method of II type monitoring unit cpu motherboards of JYJC, to the present invention it is excellent
Embodiment is selected to illustrate, it will be appreciated that preferred embodiment described herein is merely to illustrate and explain the present invention, and is not had to
It is of the invention in limiting.
The test method of II type monitoring unit cpu motherboards of JYJC of the present invention, monitors II types of JYJC using two kinds of microcontrollers
The peripheral components of unit cpu motherboard carry out quality testing, and are shown by the display device that the monitoring unit cpu motherboard drives in itself
Show test result.
First microcontroller is STC15W204S microcontrollers, the STC15W204S microcontrollers and II type monitoring unit CPU of JYJC
The RS485 communication interfaces of mainboard connect to form communication single chip circuit.Since II type monitoring unit cpu motherboards of JYJC have 6
RS485 communication interfaces, therefore 6 can be connected respectively on above-mentioned 6 RS485 communication interfaces according to actual test demand
STC15W204S microcontrollers, form six communication single chip circuits.The operating mode of the communication single chip circuit is:II types of JYJC
Monitoring unit cpu motherboard is actively sent to STC15W204S microcontroller communications by RS485 communication interfaces and instructs, STC15W204S
Whether microcontroller makes corresponding reply after receiving instruction, can be normally received according to II type monitoring unit cpu motherboards of JYJC
The reply data of STC15W204S microcontrollers judge, if the monitoring unit cpu motherboard can receive reply data, judging should
RS485 communication interfaces are up-to-standard, if reply data cannot be received, judge that the RS485 communication interfaces are off quality, so that
Realize the test to the RS485 communication interfaces of II type monitoring unit cpu motherboards of JYJC.
Second singlechip is STC12C5A60S2 microcontrollers, the STC12C5A60S2 microcontrollers and II type monitoring unit of JYJC
RS232 communication interfaces, output relay, output lamp plate, the input button of cpu motherboard are connected, and form master singlechip circuit.Should
Master singlechip circuit includes two kinds of operating modes:
The first operating mode is:Output relay, output lamp plate interface are changed by II type monitoring unit cpu motherboards of JYJC
State, that is, it is 0 to set I/O interfaces, and this state is sent in master singlechip circuit by RS232 communication interfaces
STC12C5A60S2 microcontrollers, while STC12C5A60S2 microcontrollers directly detect output relay, export the interface shape of lamp plate
State, then STC12C5A60S2 microcontrollers compare the data that direct detection data are transmitted with RS232 communication interfaces, and will compare
Relatively result returns to II type monitoring unit cpu motherboards of JYJC by RS232 communication interfaces;II type monitoring unit CPU of JYJC afterwards
Mainboard changes output relay, output lamp plate Interface status, that is, it is 1 to set I/O interfaces, ibid once communicated, judged again,
Compare and return;
II type monitoring unit cpu motherboards of JYJC make analysis to comparative result twice, draw output relay and output lamp
Whether the interface capability of plate is qualified:If twice comparative result show STC12C5A60S2 microcontrollers directly detect data with
The data of RS232 communication interfaces transmission are consistent, judge output relay and export the interface capability qualification of lamp plate;If test twice
As a result show that the data that STC12C5A60S2 microcontrollers directly detect data with RS232 communication interfaces transmit are inconsistent, judge
The interface capability of output relay and output lamp plate is unqualified;If the comparative result of only a kind of state shows STC12C5A60S2
The data that microcontroller directly detects data with RS232 communication interfaces transmit are consistent, judge under this corresponding states output relay and
It is qualified to export the interface capability of lamp plate, and the interface capability of the output relay and output lamp plate under another state is unqualified.
Second of operating mode is with the first operating mode on the contrary, changing input by bonded by STC12C5A60S2 microcontrollers
The state of mouth, that is, it is 0 to set I/O interfaces, and this state is sent to II type monitoring unit of JYJC by RS232 communication interfaces
Cpu motherboard, while II type monitoring unit cpu motherboards of JYJC directly detect the Interface status of input button, then II types of JYJC are supervised
Unit cpu motherboard is surveyed to compare direct detection data with the RS232 data transmitted;
STC12C5A60S2 microcontrollers change the Interface status of input button afterwards, that is, it is 1 to set I/O interfaces, ibid again
Once communicated, judge and compare, II type monitoring unit cpu motherboards of JYJC make analysis to comparative result twice, draw defeated
Whether the interface capability for entering button is qualified:If test result shows that II type monitoring unit cpu motherboards of JYJC directly detect twice
Data are consistent with the data that RS232 communication interfaces transmit, and judge that the interface capability of input button is qualified;If test result is equal twice
Show that the data that type monitoring unit cpu motherboard directly detects data with RS232 communication interfaces transmit of JYJC II are inconsistent, judge defeated
The interface capability for entering button is unqualified;If the test result of only a kind of state shows that II type monitoring unit cpu motherboards of JYJC are straight
Connect detection data it is consistent with the data that RS232 communication interfaces transmits, judge corresponding states under input button interface capability qualification,
And the interface capability of the input button under another state is unqualified.
While second singlechip detects output relay, output lamp plate or input keystroke interface performance, according to JYJC
Can II type monitoring unit cpu motherboard receive the transmission data of second singlechip, you can judge the matter of RS232 communication interfaces
Whether amount is qualified.If II type monitoring unit cpu motherboards of JYJC can receive the transmission data of STC12C5A60S2 microcontrollers, judge
RS232 communication interfaces are up-to-standard;If the transmission data of the STC12C5A60S2 microcontrollers cannot be received, judge that RS232 leads to
Communication interface is off quality.
All test results that II type monitoring unit cpu motherboards of JYJC obtain in the present invention can real-time display connect with it
In the LCD liquid crystal display screen connect, the state and result tested by word and auditory tone cues.In addition, two kinds of monolithics of the present invention
The corresponding indicator light for being used to indicate corresponding component quality is set or is connected with machine, in favor of more intuitively timely sending out
Existing problem.
Since manual operation is not required in above-mentioned test method, display screen or indicator light only need to be watched, so this side
Method possesses the characteristics of intelligent, automation, simple, convenient, fast.
Finally it should be noted that:The foregoing is only a preferred embodiment of the present invention, is not intended to limit the invention,
Although the present invention is described in detail with reference to the foregoing embodiments, for those skilled in the art, it still may be used
To modify to the technical solution described in previous embodiment, or equivalent substitution is carried out to which part technical characteristic.It is all
Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on, should be included in the guarantor of the present invention
Within the scope of shield.
Claims (8)
1. a kind of test method for JYJC monitoring unit cpu motherboards, it is characterised in that the test method includes:
1) peripheral components of the JYJC monitoring unit cpu motherboard are connected with microcontroller;
Wherein, the microcontroller is two, and the peripheral components include the RS485 communication interfaces of the first microcontroller of connection, with
And RS232 communication interfaces, output relay, output lamp plate and the input button of connection second singlechip;
2) by the way that feedback data and transmission data whether can be received between the microcontroller and JYJC monitoring unit cpu motherboards
It is whether consistent with directly detecting data, judge whether corresponding peripheral components quality is qualified;
Wherein, the test method of the output relay and output lamp plate is:
The I/O interfaces of output relay, output lamp plate are arranged to 0 by JYJC monitoring unit cpu motherboard, and this state is passed through
RS232 communication interfaces send second singlechip to, and second singlechip directly detects output relay, exports the interface of lamp plate at the same time
State, and direct detection data and transmission data are compared, comparative result is returned into JYJC prisons by RS232 communication interfaces
Survey unit cpu motherboard;
The I/O interfaces of output relay, output lamp plate are arranged to 1 by JYJC monitoring unit cpu motherboard afterwards, then are once led to
Interrogate, judge, compare and return;
Comprehensive comparative result twice, judges output relay if being unanimously if comparative result twice and exports the interface of lamp plate
Can be qualified, if comparative result twice be it is inconsistent if judge output relay and export lamp plate interface capability it is unqualified, if
Only once comparative result unanimously then judges that the interface capability of output relay under its corresponding states and output lamp plate is qualified, and
The interface capability of output relay and output lamp plate under another state is unqualified;
3) test result is shown eventually through the display device being connected with the JYJC monitoring unit cpu motherboard.
2. test method according to claim 1, it is characterised in that the test method of the RS485 communication interfaces is:
The JYJC monitoring unit cpu motherboard sends communication instruction by RS485 communication interfaces to the first microcontroller, if the prison
The feedback data that survey unit cpu motherboard can receive the first microcontroller then judges that the RS485 communication interfaces are up-to-standard, if not
Feedback data can be received and then judge that the RS485 communication interfaces are off quality.
3. test method according to claim 1, it is characterised in that it is described input button test method be:
The I/O interfaces for inputting button are arranged to 0 by second singlechip, and this state is sent to by RS232 communication interfaces
JYJC monitoring unit cpu motherboards, directly detection inputs key-press status to JYJC monitoring unit cpu motherboard, and will directly detect at the same time
Data are compared with transmission data;
The I/O interfaces for inputting button are arranged to 1 by second singlechip afterwards, then are once communicated, judged and compared;
Comprehensive comparative result twice, judges that the interface capability of input button is qualified if being unanimously if comparative result twice, if two
Secondary comparative result be it is inconsistent then judge input button interface capability it is unqualified, if only once comparative result be it is consistent,
Then judge that the interface capability for inputting button under this state is qualified, and the interface capability of the input button under another state does not conform to
Lattice.
4. the test method according to claim 1 or 3, it is characterised in that:
If the monitoring unit cpu motherboard can receive the transmission data of second singlechip, the RS232 communication interfaces matter is judged
Amount is qualified;
If the transmission data cannot be received, judge that the RS232 communication interfaces are off quality.
5. test method according to claim 1, it is characterised in that first microcontroller uses STC15W204S monolithics
Machine.
6. test method according to claim 1, it is characterised in that the second singlechip is mono- using STC12C5A60S2
Piece machine.
7. test method according to claim 1, it is characterised in that the microcontroller connection is provided with for instruction pair
Answer the indicator light that part quality is qualified or not.
8. test method according to claim 1, it is characterised in that the display device is LCD liquid crystal display screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510382212.5A CN104991183B (en) | 2015-07-02 | 2015-07-02 | A kind of test method for JYJC monitoring unit cpu motherboards |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510382212.5A CN104991183B (en) | 2015-07-02 | 2015-07-02 | A kind of test method for JYJC monitoring unit cpu motherboards |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104991183A CN104991183A (en) | 2015-10-21 |
CN104991183B true CN104991183B (en) | 2018-04-24 |
Family
ID=54303019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510382212.5A Active CN104991183B (en) | 2015-07-02 | 2015-07-02 | A kind of test method for JYJC monitoring unit cpu motherboards |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104991183B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115639805A (en) * | 2022-12-24 | 2023-01-24 | 中国航空工业集团公司西安飞机设计研究所 | Airborne PHM system state monitoring function test method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866309A (en) * | 2012-07-05 | 2013-01-09 | 安徽中兴继远信息技术股份有限公司 | Detection system and detection method for power terminal |
CN102967822A (en) * | 2012-12-21 | 2013-03-13 | 南京科远自动化集团股份有限公司 | Method and system for automatically detecting fault of RS-485 chip |
CN103913699A (en) * | 2014-04-14 | 2014-07-09 | 合肥宝龙达信息技术有限公司 | Circuit, system and method for testing main board keyboard interface |
CN204028249U (en) * | 2014-07-28 | 2014-12-17 | 科大智能电气技术有限公司 | A kind of automatic testing equipment of special change acquisition terminal |
CN104459514A (en) * | 2014-11-04 | 2015-03-25 | 兵器工业卫生研究所 | I/O port logical detection method and system |
CN104753613A (en) * | 2015-03-21 | 2015-07-01 | 程慧华 | Serial port communication testing device and testing method |
-
2015
- 2015-07-02 CN CN201510382212.5A patent/CN104991183B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102866309A (en) * | 2012-07-05 | 2013-01-09 | 安徽中兴继远信息技术股份有限公司 | Detection system and detection method for power terminal |
CN102967822A (en) * | 2012-12-21 | 2013-03-13 | 南京科远自动化集团股份有限公司 | Method and system for automatically detecting fault of RS-485 chip |
CN103913699A (en) * | 2014-04-14 | 2014-07-09 | 合肥宝龙达信息技术有限公司 | Circuit, system and method for testing main board keyboard interface |
CN204028249U (en) * | 2014-07-28 | 2014-12-17 | 科大智能电气技术有限公司 | A kind of automatic testing equipment of special change acquisition terminal |
CN104459514A (en) * | 2014-11-04 | 2015-03-25 | 兵器工业卫生研究所 | I/O port logical detection method and system |
CN104753613A (en) * | 2015-03-21 | 2015-07-01 | 程慧华 | Serial port communication testing device and testing method |
Also Published As
Publication number | Publication date |
---|---|
CN104991183A (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104502763B (en) | Electric-controlled plate automatic checkout equipment | |
CN104991183B (en) | A kind of test method for JYJC monitoring unit cpu motherboards | |
CN203673060U (en) | General detection tool for carrier modules | |
CN104597301B (en) | Special transformer acquisition terminal | |
CN105739484A (en) | Inverter inversion control card test system and method | |
CN105717417A (en) | Overhead line fault monitoring device | |
CN204347211U (en) | A kind of many relay functions proving installation | |
CN207473055U (en) | A kind of relay intelligent test device | |
CN204374323U (en) | Electric-controlled plate automatic checkout equipment | |
CN208188289U (en) | A kind of test macro of circuit power consumption | |
CN106776193B (en) | The virtual measuring method of apparatus for monitoring power supply slave failure | |
CN206272636U (en) | A kind of computer network router of break alarm | |
CN203116845U (en) | Vibration monitoring alarm of practice workshop machine tool | |
CN205301523U (en) | Test equipment of servo driver digital interface circuit | |
CN204479734U (en) | Fault detector test fixture | |
KR20230089895A (en) | Monitoring system of led display device based on big data using control signal | |
CN104360185A (en) | LCM (liquid crystal module) electric measurement function expansion device | |
KR20230089894A (en) | Monitoring system of led display device based on big data using test signal | |
CN212518989U (en) | Optical fiber pilot channel detection device based on ZYNQ platform | |
CN204836232U (en) | Quick detection device of server information safety base -line configuration | |
CN207232759U (en) | A kind of automatization test system | |
CN111124857A (en) | Fault rating notification system | |
CN202978992U (en) | Device for displaying receiving and transmitting data traffic of Ethernet port based on dot-matrix liquid crystal display screen | |
CN210984068U (en) | Fault query screen for equipment terminal | |
CN205281253U (en) | Detection apparatus for wind generating set controller |
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 |