<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.3 20210610//EN" "https://jats.nlm.nih.gov/publishing/1.3/JATS-journalpublishing1-3.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.3" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="publisher-id">jcse</journal-id><journal-title-group><journal-title>Journal of Computational Science and Engineering</journal-title></journal-title-group><issn>1710-4068</issn><publisher><publisher-name>Advancersin</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">jcse-v6-a02</article-id><article-categories><subj-group subj-group-type="heading"><subject>Research Article</subject></subj-group></article-categories><title-group><article-title>Design of Test System of Engineering Vehicle Electronic Equipments Based on PC104 Bus</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Xu</surname><given-names>Xinlin</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Fu</surname><given-names>Chengqun</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><name name-style="western"><surname>Jiang</surname><given-names>Yuying</given-names></name><xref ref-type="aff" rid="aff-1"/></contrib><contrib contrib-type="author"><string-name>Youcheng Wang</string-name><xref ref-type="aff" rid="aff-1"/></contrib></contrib-group><aff id="aff-1">Engineering Institute of Field Operations, PLA Univ. of Sci. &amp; Tech., Nanjing 210007, China</aff><pub-date publication-format="electronic" date-type="pub" iso-8601-date="2013-05-10"><day>10</day><month>05</month><year>2013</year></pub-date><volume>6</volume><fpage>238</fpage><lpage>243</lpage><permissions><copyright-statement>2013 © The American Computational Science Society.</copyright-statement><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><ali:license_ref xmlns:ali="http://www.niso.org/schemas/ali/1.0/" start_date="2021-11-26">https://creativecommons.org/licenses/by/4.0/</ali:license_ref><license-p>This article is licensed under the Creative Commons Attribution 4.0 International license (CC BY 4.0), which permits sharing and adaptation, including commercial reuse, subject to attribution, a link to the license and an indication of changes. Third-party material separately credited with different terms is governed by the license or rights notice stated for that material.</license-p></license></permissions><self-uri content-type="fulltext" xlink:href="https://www.advancersin.org/jcse/articles/jcse-v6-a02/index.html"/><self-uri content-type="pdf" xlink:href="https://www.advancersin.org/jcse/articles/jcse-v6-a02/jcse-v6-a02.pdf"/><abstract><p>In order to quickly solve the problem of performance test and fault diagnosis of the engineering vehicle electronic equipments, this paper designed a test system of engineering vehicle electronic equipments based on PC104 bus, and emphatically discussed the achievement method of hardware and software. Experiments showed that test system was fast, accurate and easy to use.</p></abstract><kwd-group><kwd>PC104 bus</kwd><kwd>Electronic equipments</kwd><kwd>Database</kwd><kwd>Test system</kwd></kwd-group></article-meta></front><body>
    <sec>
      <title>Introduction</title>
      <p>Along with rapid development of technology, engineering vehicle electronic equipment s</p>
      <p>develop toward the direction of digitalization ,</p>
      <p>integration ,</p>
      <p>automation and int elligent</p>
      <p>[1] . PC104 is the industrial control bus which is designed specifically</p>
      <p>for embedded control .</p>
      <p>I t inherits the advantage of open bus structure of IBM - PC, so it is fully compat ible with IBM - PC .</p>
      <p>Meanwhile,</p>
      <p>it can meet the special requirements of embe dded control such as small size, low power consumption, high reliability, convenient programming and so on. It adopts a modular structure that is easy to be expanded and installed in the fastening stack manner</p>
      <p>[2]. Because</p>
      <p>engineering vehicle electronic eq uipment s</p>
      <p>become more and more integrated , the difficulty of test continue to increase.</p>
      <p>T herefore, we adopt PC104 bus to design test system.</p>
      <p>(2013) 238 -</p>
      <p>© The American Computational Science Society. All rights reserved.</p>
      <p>2.</p>
      <p>S ystem components</p>
      <p>T est system is mainly used to test and locate</p>
      <p>rapid ly problems of Engineering vehicle electroni c equipment s</p>
      <p>such as main box, GPS positioning and orientation system, PLC control box and power distribution box and so on.</p>
      <p>Problems can be located</p>
      <p>to replaceable unit, so</p>
      <p>it can help equipment maintenance person repair them rapid ly . Figure shows</p>
      <p>test sy stem structure which is composed of PC104 module, a djustment module, test interface, test cable.</p>
      <p>Fig. 1 Test system structure</p>
      <p>3.</p>
      <p>D esign of h ardware</p>
      <p>3.1 Overall plan</p>
      <p>The hardware circuit of</p>
      <p>test system is controlled and managed by PC104 computer integrated circuit ,</p>
      <p>which is composed of a AC/ DC power supply circuit, keyboard display circuit, simulation switch quantity instruction I/O circuit, simulation</p>
      <p>quantity</p>
      <p>instruction I/O circuit, simulat ion engineering vehicle high/low di rection angle circuit , simulation engineering vehicle tilt angle circuit and communication circuit .</p>
      <p>A s</p>
      <p>show n in Figure .</p>
      <p>Fig . Test system circuit</p>
      <p>1) PC104 computer integrated circuit</p>
      <p>PC104 computer integrated circuit us ing embedded low power consumption CPU module is</p>
      <p>in charge of coordinat ion of the test system and analysis and processing of signal, at the same time</p>
      <p>there are many peripherals such as serial port , I/O</p>
      <p>port , A/D port, D/A port and so on .</p>
      <p>2)</p>
      <p>Keybo a rd displ ay circuit</p>
      <p>Keyboard display circuit is used to input</p>
      <p>user test command and display data, of which the design adopt s a wide temperature screen and a thin film switch.</p>
      <p>3)</p>
      <p>AC/ DC power supply circuit</p>
      <p>In order to ensure the test system being used convenien tly in the open , the power supply system</p>
      <p>of test system uses AC/ DC power supply circuit [3], which can s uppl y either 220V AC power, or 28V DC power, it provide s 28V, 15V or 5V DC voltage</p>
      <p>t hrough the internal conversion module in AC/ DC power supply circuit ,</p>
      <p>therefore ensure the test system work normal ly .</p>
      <p>As shown in Figure</p>
      <p>below .</p>
      <p>(2013) 238 -</p>
      <p>© The American Computational Science Society. All rights reserved.</p>
      <p>Fig .</p>
    </sec>
    <sec>
      <title>3 AC/DC conversion</title>
      <p>4) S witch quantity instruction output circuit</p>
      <p>Because there are so many</p>
      <p>kinds of switch</p>
      <p>quantity input instruction to</p>
      <p>measur ed box , we use mult technique and there is a total of 38 simulation s</p>
      <p>switch quantity output instruction. Because the high est voltage of them</p>
      <p>is 28V but</p>
      <p>the maximum output voltage of I/O port of PC104</p>
      <p>computer is 5V ,</p>
      <p>h ere we use MC1413 integrated circuit [4 ] as voltage conversion circuit to ensure that it can match with the highest one . About</p>
      <p>the process of the measured box switch quantity input instruction, we solve it through the computer software programming .</p>
      <p>5) S witch quantity instruction input circuit</p>
      <p>F acing the simulation switch quantity output instruction of t he measured body,</p>
      <p>we also used mult technique and there is a total of 24 switch quantity input instruction. Because the high est</p>
      <p>voltage of them</p>
      <p>is 28V but maximum in put voltage of PC104 compute r I/O port</p>
      <p>is 5V , here we use the resistor divider form as voltage conversion circuit</p>
      <p>to ensure that it can match with the high voltage of</p>
      <p>measured body. For the process of measured box switch quantity</p>
      <p>out put instruction, we also solve it through the compu ter software programming .</p>
      <p>6) Simulation quantity output circuit</p>
      <p>The simulation quantity output circuit is designed to test engineering vehicle distribution box servo drive circuit .It simulate the measured servo drive circuit work through using 5V simulati on signal which is supplied by computer D/A as the simulation quantity input instrument of servo drive circuit .</p>
      <p>7) Simulation quantity input circuit</p>
      <p>Simulation quantity input circuit is also designed for engineering vehicle servo drive circuit, it send</p>
      <p>simulation quantity instrument coming from the simulation quantity output circuit to the detected servo drive circuit, in order to generate servo drive circuit high/low direction output signals .</p>
      <p>T hese signals access simulation</p>
      <p>quantity input circuit</p>
      <p>and is</p>
      <p>sent to the computer A/D channel through the resistor divider to judge whether the high/low</p>
      <p>direction servo drive circuit is normal .</p>
      <p>8) S imulation engineering vehicle high/low</p>
      <p>direction angle circuit</p>
      <p>S imulation engineering vehicle height direction angle circuit</p>
      <p>is used to test the change of high/low</p>
      <p>direction angle of vehicle when it is working.</p>
      <p>It adopts 4 DRDC module which convert the data into analog signals of resolver ,</p>
      <p>in order to simulate the vehicle high/low direction angle.</p>
      <p>9) S imulation engineer ing vehicle tilt circuit</p>
      <p>S imulation engineering vehicle tilt circuit also adopts DRDC module, which convert the data into the analog signal of inclinometer which measure engineering vehicle longitudinal and transverse slope angle for simulat ion the analog signal of</p>
      <p>inclinometer,</p>
      <p>in order to ensure that main box can be operated in the allowed range of tilt angles when it is working . In addition, it also can detect the main</p>
      <p>box angle conversion circuit.</p>
      <p>(2013) 238 -</p>
      <p>© The American Computational Science Society. All rights reserved.</p>
      <p>10) C ommunication circuit</p>
      <p>Communication circuit [5] comm unicate s with the GPS through the computer 's RS232 port. During the working time , test system may be seen as the one which test communication between the GPS and the main box.</p>
      <p>.</p>
      <p>S election of h ardware equipment</p>
      <p>According to hardware</p>
      <p>and the actual demand of</p>
      <p>A/D, D/A, serial port module and DIO module, we select the CDM1261 computer and peripheral circuit plug board which contains all resources</p>
      <p>needed . In addition, the CDM1261 computer also supports EL640.400 - C3 wide temperature screen .</p>
      <p>3.3</p>
      <p>D esign of test sys tem interface</p>
      <p>I n order to protect system security and prevent cable from inserting wrong , test system interface panel adopts different interface design . T here are kind of interface s in test system which are designed respectively for the main box, distri bution bo x, PLC box, GPS ,</p>
      <p>power supply input and printer output.</p>
      <p>3.4 D esign of test system connection</p>
      <p>B ecause there are many interface s in t est system</p>
      <p>and</p>
      <p>it can only be connected with only one interface when working , therefore, the cable bifurcation meth od achieve the connection between</p>
      <p>the detection system and the measured box. Among them,No.1 and No .2 cable connect the host machine box; No. and No. cable connect</p>
      <p>PLC box ; No.5 cable connect an electrical distribution box; No. and No. cable connec t</p>
      <p>GPS box ; No.</p>
      <p>cable is 220V AC input</p>
      <p>cable; No. cable is 28V DC input</p>
      <p>cable; No. cable is connected with the printer.</p>
      <p>4.</p>
      <p>D esign of software</p>
      <p>T he software programming</p>
      <p>of t h is system bas ed</p>
      <p>on BC++ 3.1 integrated development environment use hierarchi cal and modular system which combine the functional modules of test , board hardware driving modules and maintenance database . T he software is clear ,</p>
      <p>portable and open and it is easy to upgrade. At the same time t he software has many function s,</p>
      <p>such as the man machine interaction, equipment testing, fault analysis and record keeping and print. The Software</p>
      <p>structure is as shown in Figure</p>
      <p>below.</p>
      <p>Fig .</p>
    </sec>
    <sec>
      <title>4 Software structure</title>
      <p>.1</p>
      <p>B asic database</p>
      <p>Basic database is mainly used to save bas ic standard data coming from test .they are designed to notepads in order to save switch quantity instruction conveniently which is need in logical test and the simulation instruction of input and output signal .</p>
      <p>Each module call s a corresponding data f ile during testing time</p>
      <p>in order to judge whether the results are right.</p>
      <p>(2013) 238 -</p>
      <p>© The American Computational Science Society. All rights reserved.</p>
      <p>4.2</p>
      <p>Main box function test module</p>
      <p>The test module works through</p>
      <p>simulation quantity</p>
      <p>I/O interface circuit and communication circuit .</p>
      <p>It tests to find whether the working conditions are n ormal a ccord ing to the logic process of</p>
      <p>main box .</p>
      <p>4.3</p>
      <p>D istribution box function test modul e</p>
      <p>The test module works through analog I/O</p>
      <p>interface circuit . It tests to find whether the working conditions are normal a ccord ing to the logic process of the distribut ion box .</p>
      <p>4.4</p>
      <p>PLC function test module</p>
      <p>The test module works through</p>
      <p>simulation</p>
      <p>I/O</p>
      <p>interface circuit . It tests to find whether the working conditions are normal a ccord ing to the logic process of the PLC .</p>
      <p>4.5</p>
      <p>GPS function test module</p>
      <p>The test module works t hrough the influence of</p>
      <p>the communication circuit on GPS</p>
      <p>[6].</p>
      <p>It tests to find whether the working conditions are normal</p>
      <p>a ccord ing to analy sis of the testing data .</p>
      <p>4.6</p>
      <p>D ata query module</p>
      <p>System save the test result of each batch of data in order to it can b e visited and printed .</p>
      <p>4.7</p>
      <p>D ata acquisition card control module</p>
      <p>The test module is used to achieve input and</p>
      <p>output of switch quantity and simulation quantity and communication interface code, which can be called by other test module s .</p>
      <p>5.</p>
      <p>E xperiment and resul t s</p>
      <p>In order to verify the system performance and</p>
      <p>maneuverability,</p>
      <p>we take experiment on a particular engineering vehicle .Test procedure</p>
      <p>as follows in Figure</p>
      <p>.</p>
      <p>Fig .</p>
    </sec>
    <sec>
      <title>5 Test</title>
      <p>procedure</p>
      <p>The experimental results are as shown in Tab le</p>
      <p>.</p>
      <p>T ab le</p>
      <p>The experimental results</p>
      <p>Program</p>
      <p>Technical parameters and requirements</p>
    </sec>
    <sec>
      <title>results</title>
      <p>Function</p>
      <p>W hether it c an be used to test electronic equipment and problem can be located to independent unit.</p>
      <p>Y es</p>
      <p>P reparation time ： ≤ 5 min</p>
      <p>3’22”</p>
      <p>F unction conversion time ： ≤ 10 min</p>
      <p>8’16”</p>
      <p>T est time ： ≤ 3 min</p>
      <p>2’48”</p>
      <p>Withdraw time ： ≤10 min</p>
      <p>5’01”</p>
      <p>Continuous working time ： ≥ 3h 6h</p>
      <p>Performance</p>
      <p>W hether it is stable, complete, friendly, simple</p>
      <p>Y es</p>
      <p>(2013) 238 -</p>
      <p>© The American Computational Science Society. All rights reserved.</p>
      <p>6.</p>
    </sec>
    <sec>
      <title>Conclusion</title>
      <p>This paper introduce d</p>
      <p>the</p>
      <p>test system design of electronic equipment o f engineering vehicle based on PC104 bus. Hardware design ma de full use of PC104 bus technology, digital simulation technology and signal processing technology,</p>
      <p>and</p>
      <p>software design use d hierarchical and modular</p>
      <p>s ystem which combined the functional modules of test , board hardware driving modules and maintenance database . Proved by experiments, the system was stable, complete, friendly, simpl y and</p>
      <p>the main technical indicators and performance reached the application requirements .</p>
      <p>It could successfully help the engineering vehicle repair units and individuals solve</p>
      <p>test problem.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref-001">
        <mixed-citation>[1] C. Yang, Command Control and Simulation, 3 (2008) 106-119.</mixed-citation>
      </ref>
      <ref id="ref-002">
        <mixed-citation>[2] X.L. Fu, Enterprise information management introduction, Beijing: Tsinghua University press, 2006.</mixed-citation>
      </ref>
      <ref id="ref-003">
        <mixed-citation>[3] S.M. Wang, The study of operating performance of hybrid AC / DC power generator system, 2000.</mixed-citation>
      </ref>
      <ref id="ref-004">
        <mixed-citation>[4] Q.Q. Zhao, China Water and Wastewater, 2 (1999) 36-37.</mixed-citation>
      </ref>
      <ref id="ref-005">
        <mixed-citation>[5] F.X. Hou, Microcontroller and Embedded System, 12 (2007) 27-29.</mixed-citation>
      </ref>
      <ref id="ref-006">
        <mixed-citation>[6] Y. Hu, Pioneering With Science &amp;Technology Monthly, 7 (2010) 133-134.</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>
