CN109116835A - A kind of feature card test method peculiar to vessel and device - Google Patents

A kind of feature card test method peculiar to vessel and device Download PDF

Info

Publication number
CN109116835A
CN109116835A CN201811033417.2A CN201811033417A CN109116835A CN 109116835 A CN109116835 A CN 109116835A CN 201811033417 A CN201811033417 A CN 201811033417A CN 109116835 A CN109116835 A CN 109116835A
Authority
CN
China
Prior art keywords
vessel
information
peculiar
test
feedback
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.)
Pending
Application number
CN201811033417.2A
Other languages
Chinese (zh)
Inventor
柳建楠
万华庆
陶李
吴培
李良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
719th Research Institute of CSIC
Original Assignee
719th Research Institute of CSIC
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 719th Research Institute of CSIC filed Critical 719th Research Institute of CSIC
Priority to CN201811033417.2A priority Critical patent/CN109116835A/en
Publication of CN109116835A publication Critical patent/CN109116835A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The embodiment of the present invention provides a kind of feature card test method peculiar to vessel and device, this method comprises: sending communication test information to feature card peculiar to vessel, delays when test is default, obtains the communication test feedback information of all communication channels in the feature card peculiar to vessel;Preset test command information is sent to the feature card peculiar to vessel, the test feedback information of the feature card peculiar to vessel is obtained after default delay;Test result information is obtained according to the test command information and the test feedback information.The embodiment of the present invention obtains test feedback information by sending preset test command information to feature card peculiar to vessel, to judge whether the feature card peculiar to vessel is qualified according to the test command information of test feedback information.

Description

A kind of feature card test method peculiar to vessel and device
Technical field
The present embodiments relate to ship control technical fields, more particularly to a kind of feature card test side peculiar to vessel Method and device.
Background technique
Feature card peculiar to vessel is a kind of hardware carrier, and different programs, which is written, may be implemented different functions, in the modern times It is widely used, such as is used in the secondary circuit control of steam power ship, or realize condenser vacuum control in ship Or condenser water level control etc..
In the prior art, the test of feature card peculiar to vessel tends to rely on crewman and applies pumping signal manually, then relies on Artificially judge test result, entire test process is time-consuming and laborious, also very high simultaneously for the skill requirement of crewman.
Therefore, how preferably feature card peculiar to vessel to be tested, has become a urgent problem to be solved.
Summary of the invention
The embodiment of the present invention provides a kind of feature card test method peculiar to vessel and device, for solving the above problems or at least Part solves the above problems.
In a first aspect, the embodiment of the present invention provides a kind of feature card test method peculiar to vessel, comprising:
Communication test information is sent to feature card peculiar to vessel, is delayed when test is default, the feature card peculiar to vessel is obtained In all communication channels communication test feedback information;
Preset test command information is sent to the feature card peculiar to vessel, obtains the function peculiar to vessel after default delay The test feedback information of plug-in unit;
Test result information is obtained according to the test command information and the test feedback information.
Second aspect, the embodiment of the present invention provide a kind of feature card test device peculiar to vessel, comprising:
First test module is delayed when test is default, is obtained for sending communication test information to feature card peculiar to vessel The communication test feedback information of all communication channels in the feature card peculiar to vessel;
Second test module, for sending preset test command information to the feature card peculiar to vessel, in default delay The test feedback information of the feature card peculiar to vessel is obtained afterwards;
Analysis module, for obtaining test result information according to the test command information and the test feedback information.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, including memory, processor and is stored in memory Computer program that is upper and can running on a processor, the processor realize ship as described in relation to the first aspect when executing described program With feature card test method.
Fourth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with calculating Machine program realizes the step of feature card test method peculiar to vessel as described in relation to the first aspect when the computer program is executed by processor Suddenly.
The embodiment of the present invention provides a kind of feature card test method peculiar to vessel and device, by sending to feature card peculiar to vessel Preset test command information, and test feedback information is obtained, to be sentenced according to the test command information of test feedback information Whether the feature card peculiar to vessel that breaks is qualified.
Detailed description of the invention
Fig. 1 is the feature card test method flow chart peculiar to vessel that one embodiment of the invention provides;
Fig. 2 is feature card schematic structural diagram of testing device peculiar to vessel provided by one embodiment of the invention;
Fig. 3 is feature card schematic structural diagram of testing device peculiar to vessel provided by another embodiment of the present invention;
Fig. 4 is electronic devices structure schematic diagram provided by one embodiment of the invention.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below Example is not intended to limit the scope of the invention for illustrating the present invention.
Fig. 1 is the feature card test method flow chart peculiar to vessel that one embodiment of the invention provides, as shown in Figure 1, comprising:
S1 sends communication test information to feature card peculiar to vessel, delays when test is default, obtains the function peculiar to vessel and inserts The communication test feedback information of all communication channels in part;
S2 sends preset test command information to the feature card peculiar to vessel, obtains after default delay described peculiar to vessel The test feedback information of feature card;
S3 obtains test result information according to the test command information and the test feedback information.
Specifically, feature card peculiar to vessel refers to a kind of hardware carrier in S1, different contents is written and may be implemented Different control functions, for example, can be applicable to neat powered ship secondary circuit control in use.
S1 specifically, it sends communication test information to feature card peculiar to vessel can be through CAN communication module and realize, Wherein, testing default time delay can set manually, such as it can be 100ms that time delay is preset in test herein;Wherein, it obtains The communication test feedback information of all communication channels in the feature card peculiar to vessel is taken, but obtains in feature card peculiar to vessel and owns The channel CAN is replied by order of shaking hands.
S1 sends life of shaking hands specifically, sending communication test information to feature card peculiar to vessel and being directed to feature card peculiar to vessel Enable, delayed when test is default, check all communication channels in acquired feature card peculiar to vessel communications feedback information whether It collects, if not collecting the communications feedback information of all communication channels in feature card peculiar to vessel, and the communication test time is not yet Default time delay is tested more than first, then sends communication test information to feature card peculiar to vessel again, is inserted until collecting function peculiar to vessel The communications feedback information of all communication channels in part, if the communication test time is more than the default time delay of the first test, and to collect ship With the communications feedback information of all communication channels of feature card, then determine that the communication function of feature card peculiar to vessel is unqualified, at this time Terminate test.
If collecting the communications feedback information of all communication channels in feature card peculiar to vessel, the logical of feature card peculiar to vessel is determined Telecommunication function is normal, continues step S2 at this time.
Specifically, preset test command information can be to be sent by test message output module, herein in S2 Test command information includes testing current command information, switching value test command information and temperature test command information;Wherein obtain It takes the test feedback information of feature card peculiar to vessel can be to be obtained by testing information feedback module, test feedback herein Information can be testing current feedback information, switching value test feedback information and temperature test feedback information;Wherein, delay is preset It can according to need and set manually.
Specifically, test result information is obtained according to the test command information and the test feedback information in S3, Obtaining test result information herein can be by controller module processing, in particular to according to the default verification of feature card peculiar to vessel Test command information and test feedback information are carried out correctness matching by logic, and correctness matching herein, which can be, takes test The difference of command information and test feedback information, then by the difference, threshold value is compared compared with default, to obtain the ship Illustrate that the feature card peculiar to vessel closes if all correctness matching results are qualified with the correctness matching result of feature card Lattice.
The embodiment of the present invention will be tested by sending preset test command information and receiving the test feedback information fed back Command information is compared with test feedback information, to realize the test for feature card peculiar to vessel.
On the basis of the above embodiments, the feature card peculiar to vessel includes at least: controller card peculiar to vessel, electric current peculiar to vessel One of pick-up plug-in unit and temperature pick-up plug-in unit peculiar to vessel are a variety of.
Wherein it is logical to have current acquisition, electric current output, switch acquisition, output switch parameter and CAN for controller card peculiar to vessel The functions such as news can be used for the calculating of evaporator water level, the calculating of condenser water level control, condenser degree of supercooling etc..
Wherein marine electric rheology send plug-in unit include it is multiple be galvanically isolated channel, being each galvanically isolated channel can will be electric all the way Stream signal isolation is two-way current signal, while realizing and current information is acquired and is exported.
Wherein PT100 platinum resistance signal is converted to current signal output by analog circuit by temperature pick-up plug-in unit peculiar to vessel, Temperature value acquired in current information is acquired and is exported simultaneously.
Feature card peculiar to vessel described in the embodiment of the present invention includes at least: controller card peculiar to vessel, marine electric rheology One of plug-in unit and temperature pick-up plug-in unit peculiar to vessel or a variety of are sent, the subsequent test for feature card peculiar to vessel is facilitated.
On the basis of the above embodiments, the feature card peculiar to vessel includes: controller card peculiar to vessel, correspondingly, to institute It states controller card peculiar to vessel and sends preset test command information, the test of the feature card peculiar to vessel is obtained after default delay The step of feedback information, specifically includes:
The first current information is sent to the controller card peculiar to vessel;
After the first default delay, the first current feedback information of the controller card feedback peculiar to vessel is obtained;
If the difference of first current information and first current feedback information is less than the first preset threshold, described The current acquisition function of controller card peculiar to vessel is qualified;
The first electric current output information is sent to the controller card peculiar to vessel;
After the first default delay, the first electric current for obtaining the control plug-in unit feedback peculiar to vessel exports feedback information;
If the first electric current output information and the difference of first electric current output feedback information are less than the second default threshold Value, then the electric current output function of the controller card peculiar to vessel is qualified;
Switching value information is sent to the controller card peculiar to vessel;
After the second default delay, the switching value feedback information of the controller card feedback peculiar to vessel is obtained;
The switching value information and the switching value feedback information are subjected to logic verify;
If the logic verify passes through, the switch acquisition function of the controller card peculiar to vessel is qualified;
Switch acquisition information is sent to the controller card peculiar to vessel;
After the second default delay, the switch acquisition feedback information of the controller card feedback peculiar to vessel is obtained;
The switch acquisition information and the switch acquisition feedback information are subjected to logic verify;
If the logic verify passes through, the output switch parameter function of the controller card peculiar to vessel is qualified;
If the current acquisition function of the controller card peculiar to vessel, electric current output function, switch acquisition function and switch It is qualified to measure output function, then the test result information of the controller card peculiar to vessel is qualification.
It wherein, may include multiple testing current values in first current information, such as can be respectively by the first electric current Information setting is 4mA, 8mA, 12mA, 16mA or 20mA.
The first current information is sent to controller card peculiar to vessel, and controller card offer N channel standard electric peculiar to vessel is provided Stream, normalized current herein is testing current value, and N channel described herein refers to that the realization of controller card peculiar to vessel is specific Number of active lanes when function, such as controller card peculiar to vessel, when realizing current acquisition function, N channel herein is 12 road 4mA ~20mA current acquisition channel;Controller card peculiar to vessel when realizing electric current output function, N channel herein be 4 road 4mA~ 20mA current output channels.
Wherein, after the first default delay, the first current feedback information tool of the controller card feedback peculiar to vessel is obtained Body is wherein the first default delay can be manually set, such as to be set as 1s, then after the first default delay, obtains the ship The first current feedback information fed back with controller card, the first current feedback information here can refer to that controller peculiar to vessel is inserted The current acquisition value of part feedback;After the current acquisition value for obtaining controller card feedback peculiar to vessel, judge in the first current information Multiple circuit test values whether completed above-mentioned test, if multiple circuit test values are not yet fully completed test, after It is continuous to be tested, until completing the test to all circuit test values, test result is finally recorded, which is first Current feedback information.
Wherein, if the difference of first current information and first current feedback information is less than the first preset threshold, The difference for specifically taking each current acquisition value and its corresponding test result in the first current information, then judges these differences Whether the first preset threshold, if respectively less than the first preset threshold, the current acquisition function of the controller card peculiar to vessel are respectively less than Qualification, if there are any differences to be greater than the first preset threshold in the difference, the current acquisition function of the controller card does not conform to Lattice.
Wherein, the first electric current output information may include multiple electric current output test values, such as can be respectively by the first electricity Stream information is set as 4mA, 8mA, 12mA, 16mA or 20mA;The first electric current output information is inserted for setting controller peculiar to vessel The setting value of part current output channels.
After the first default delay, the first electric current for obtaining the control plug-in unit feedback peculiar to vessel exports feedback information, specifically Wherein the first default delay can be manually set, such as to be set as 1s, then after the first default delay, it is peculiar to vessel obtaining this First electric current of controller card feedback exports feedback information, and the first electric current output feedback information here refers to controller peculiar to vessel The electric current output information of plug-in unit checks more in the first electric current output information after the electric current output information for obtaining plug-in unit peculiar to vessel Whether a electric current output test value has completed the test, if multiple electric currents output test value is not yet fully completed test, Continue to test, until completing the test to more there is circuit output test value, finally records test result, which is Feedback information is exported for the first electric current.
Wherein, if the first electric current output information and the difference of first electric current output feedback information are pre- less than second If threshold value, the difference of each current acquisition value and its corresponding test result in the first electric current output information is specifically taken, then Judge whether these differences are respectively less than the second preset threshold, if the difference is respectively less than the second preset threshold, the controller peculiar to vessel The function of the electric current output of plug-in unit is qualified, if there are any differences to be greater than the second preset threshold in the difference, this uses controller The function of the electric current output of plug-in unit is unqualified.
Wherein, described switching value information includes first for detecting controller card switching value feedback function peculiar to vessel Switching value information and second switch amount information for detecting controller card switch acquisition function peculiar to vessel.
Wherein, described switching value feedback information includes the first switch amount letter of each channel feedback of controller card peculiar to vessel The second switch amount feedback information of breath and controller card peculiar to vessel feedback;Second default delay can be manually set, such as 250ms。
Wherein, logic verify refers to whether compare switch acquisition information consistent with switch acquisition feedback information, specifically , more whether receive the first switch amount information of all channel feedbacks;Compare second switch amount information and second switch amount is anti- Whether feedforward information is consistent, if receiving the first switch amount information of all channels feedback and second switch amount information and second switch amount Unanimously then decision logic verification passes through feedback information.
Wherein, output switch parameter information include detect controller card switching value feedback function peculiar to vessel second switch amount it is defeated The second switch amount of information and controller card peculiar to vessel feedback exports feedback information out.
If the current acquisition function of the controller card peculiar to vessel, electric current output function, switch acquisition function and switch It is qualified to measure output function, then the test result information of the controller card peculiar to vessel is qualification, if controller card peculiar to vessel Any one of current acquisition function, electric current output function, switch acquisition function and output switch parameter function are unqualified, then judge The controller card peculiar to vessel is unqualified.
The embodiment of the present invention passes through current acquisition function, the electric current output function, switching value for judging controller card peculiar to vessel It acquires function and whether output switch parameter function is qualified, to realize the effect for testing controller card peculiar to vessel.
On the basis of the above embodiments, described to send switching value information to the controller card peculiar to vessel, it is pre- second If after delay, obtaining the switching value feedback information of the controller card feedback peculiar to vessel;The switching value information is opened with described The step of feedback information carries out logic verify, is measured in pass, specifically includes:
First switch amount information is sent to the controller card peculiar to vessel;
After the second default delay, the first switch amount information of all channel feedbacks of the controller card peculiar to vessel is obtained;
Second switch amount information is sent to the controller card peculiar to vessel;
After the second default delay, the second switch amount feedback information of the controller card feedback peculiar to vessel is obtained;
The second switch amount information and the second switch amount feedback information are subjected to logic verify;
If the logic verify passes through, the switch acquisition function of the controller card peculiar to vessel is qualified.
Lead to specifically, sending first switch amount information to controller card peculiar to vessel and being directed to controller card transmission N peculiar to vessel The first switch information in road, first switch amount information given value at this time can be set as logical zero;In the second default delay Afterwards, the switching value feedback information for obtaining the controller card feedback peculiar to vessel refers to after the second default delay, checks whether acquisition The first switch amount information fed back to each channel, if not receiving the first switch amount of each channel feedback yet after the default waiting time Information then reports an error at this time, issues test Stop message.
If having got the first switch amount information of each channel feedback, records and judge that each channel is fed back first opens Pass measures whether signal is logical zero, enters if being logical zero and tests in next step, if having any channel fed back first to open It is not logical zero that signal is measured in pass, then the channel is unqualified.
Second switch amount information is sent to the controller card peculiar to vessel, specifically, transmitted second switch amount information By the switching value given value in any channel k is set as logic 1, the logic given value of rest channels in N channel in controller peculiar to vessel It is set as logical zero, after the second default delay, obtains the channel k second switch amount feedback information, carry out logic verify at this time, If not getting the channel k second switch amount feedback information yet after the second default waiting time, report an error at this time, issues test and stop Only information.
If the switching value given value in the channel k is logic 1, the logic of rest channels in the second switch amount feedback information of the channel k Given value is set as logical zero, then logic verify passes through, and continues to carry out logic school to channels other in N channel according to this step It tests, until completing the verification to all channels.Prove that the channel is unqualified if wherein any channel logic verification does not pass through;If All channel logic verifications pass through, then prove that the switch acquisition function of controller card peculiar to vessel is qualified.
The embodiment of the present invention carries out logic verify to the switch acquisition function of the N channel of controller card peculiar to vessel respectively, To realize the test for switching acquisition function for controller card peculiar to vessel.
On the basis of the above embodiments, described to send output switch parameter information to the controller card peculiar to vessel, the After two default delays, the output switch parameter feedback information of the controller card feedback peculiar to vessel is obtained, by the output switch parameter The step of information and the output switch parameter feedback information carry out logic verify, specifically includes:
First switch amount output information is sent to the controller card peculiar to vessel;
After the second default delay, the first switch amount output for obtaining all channel feedbacks of the controller card peculiar to vessel is anti- Feedforward information;
Second switch amount output information is sent to the controller card peculiar to vessel;
After the second default delay, the second switch amount for obtaining the controller card feedback peculiar to vessel exports feedback information;
The second switch amount output information and second switch amount output feedback information are subjected to logic verify;
If the logic verify passes through, the output switch parameter function of the controller card peculiar to vessel is qualified.
It is sent specifically, sending first switch amount output information to controller card peculiar to vessel and being directed to controller card peculiar to vessel The output switch parameter setting value in all channels is set as to the information of logical zero;After the second delay, the controller peculiar to vessel is obtained The first switch amount of each channel feedback of plug-in unit exports feedback information, then takes the first of each channel of the controller card feedback peculiar to vessel Whether output switch parameter feedback information is logical zero, enters if being logical zero and tests in next step, if there is any channel institute anti- The first switch amount signal of feedback is not logical zero, then the channel is unqualified.
Second switch amount output information is sent to the controller card peculiar to vessel, specifically, transmitted second switch amount Output information by the output switch parameter setting value in any channel k is logic 1 in N channel in controller peculiar to vessel, open by rest channels Pass amount output setting value is set as logical zero, after the second default delay, obtains the channel k second switch amount and exports feedback information, Logic verify is carried out at this time, if not getting the channel k second switch amount output feedback information yet after third presets the waiting time, It then reports an error at this time, issues test Stop message.
If the output switch parameter setting value that the channel k second switch amount exports the channel k in feedback information is logic 1, remaining is logical The output switch parameter setting value in road is set as logical zero, then logic verify passes through, and continues according to this step to other in N channel Channel carries out logic verify, until completing the verification to all channels.It is proved if wherein any channel logic verification does not pass through The channel is unqualified;If all channel logic verifications pass through, prove that the output switch parameter function of controller card peculiar to vessel is closed Lattice.
The embodiment of the present invention carries out logic verify to the output switch parameter function of controller card N channel peculiar to vessel respectively, from And realize the test for controller card peculiar to vessel switch output function.
On the basis of the above embodiments, the feature card peculiar to vessel includes: that marine electric rheology send plug-in unit, correspondingly, to The marine electric rheology send plug-in unit to send preset test command information, obtains the feature card peculiar to vessel after default delay The step of testing feedback information, specifically includes:
Plug-in unit is sent to send the first normalized current information to the marine electric rheology;
After the default delay of third, the first normalized current acquisition information that the marine electric rheology send plug-in unit to feed back is obtained;
Obtain the first normalized current output information that the marine electric rheology send plug-in unit to feed back;
If the difference of the first normalized current information and first normalized current acquisition information is less than third and presets threshold Value, then the marine electric rheology send the current acquisition function of plug-in unit qualified;
If the difference of the first normalized current information and the first normalized current output information is less than the 4th default threshold Value, then the marine electric rheology send the electric current pick-up function of plug-in unit qualified;
If the marine electric rheology send the current acquisition function of plug-in unit and electric current pick-up function qualified, the marine electric Rheology send the test result information of plug-in unit for qualification.
Specifically, the first normalized current information may include multiple testing current values;First normalized current information refers to ship The current information that electricity consumption rheology send plug-in unit pick-up to export;Such as can be respectively 4mA, 8mA by the first normalized current information setting, 12mA, 16mA or 20mA.
Refer to specifically, sending plug-in unit to send the first normalized current information to marine electric rheology, send plug-in unit to marine electric rheology N channel normalized current information is sent, then after the default delay of third, trial acquisition marine electric rheology send first that plug-in unit is fed back Normalized current acquires information, if first normalized current acquisition information has not been obtained, reports an error, issues test Stop message, if First normalized current acquisition information is successfully got, then carries out subsequent step.
The first normalized current output information that marine electric rheology send plug-in unit pick-up to export is obtained, then judges the first standard electric Whether multiple testing current values of stream information are completed above-mentioned test, if do not complete, continue to test, until complete with The test of all testing current values, subsequently into subsequent step.
If the difference of the first normalized current information and the first normalized current acquisition information is less than third predetermined threshold value, peculiar to vessel The current acquisition function of electric current pick-up plug-in unit is qualified;
If the difference of the first normalized current information and the first normalized current output information is less than the 4th preset threshold, peculiar to vessel The electric current pick-up function of electric current pick-up plug-in unit is qualified;
If marine electric rheology send the current acquisition function of plug-in unit and electric current pick-up function qualified, marine electric rheology is sent slotting The test result information of part is qualification, if marine electric rheology send the current acquisition function of plug-in unit and any function of electric current pick-up function Can be unqualified, then it is unqualified that the marine electric rheology, which send the test result of plug-in unit,.
The embodiment of the present invention send plug-in unit the first normalized current information and the first standard electric by being respectively compared marine electric rheology The difference and marine electric rheology of stream acquisition information send the difference of plug-in unit the first normalized current information Yu the first normalized current output information Value is to send plug-in unit to test marine electric rheology.
On the basis of the above embodiments, the feature card peculiar to vessel includes: temperature pick-up plug-in unit peculiar to vessel, correspondingly, to The temperature pick-up plug-in unit peculiar to vessel sends preset test command information, obtains the feature card peculiar to vessel after default delay The step of testing feedback information, specifically includes:
The first normal temperature information is sent to the temperature pick-up plug-in unit peculiar to vessel;
After the 4th default delay, the first temperature acquisition information of the temperature pick-up plug-in unit feedback peculiar to vessel is obtained;
Obtain the first temperature output information of the temperature pick-up plug-in unit feedback peculiar to vessel;
If the difference of the first normal temperature information and the first temperature acquisition information less than the 5th preset threshold, The temperature acquisition function of the temperature pick-up plug-in unit peculiar to vessel is qualified;
If the difference of the first normal temperature information and the first temperature output information less than the 6th preset threshold, The temperature pick-up function of the temperature pick-up plug-in unit peculiar to vessel is qualified;
If the temperature acquisition function and temperature pick-up function of the temperature pick-up plug-in unit peculiar to vessel are qualified, the temperature peculiar to vessel The test result information for spending pick-up plug-in unit is qualification.
Specifically, the first normal temperature information may include multiple temperature test values;First normal temperature information refers to ship The temperature test point information sent with temperature pick-up plug-in unit;It such as can be respectively 0 DEG C, 25 by the first normal temperature information setting DEG C, 50 DEG C, 75 DEG C or 100 DEG C.
Refer to first specifically, sending the first normal temperature information to the temperature pick-up plug-in unit peculiar to vessel by utilizing platinum electricity The characteristic of resistance obtains the resistance value of its corresponding platinum resistance signal according to its temperature test point, then to according to the first standard temperature Information is spent, corresponding first measuring resistance information is obtained, sends the first normal temperature to the N channel of the temperature pick-up plug-in unit peculiar to vessel Information is sent again after the first normal temperature information is substantially converted to the first measuring resistance information.
The first temperature acquisition information of the temperature pick-up plug-in unit feedback peculiar to vessel is obtained, specifically, attempting to obtain temperature change The first temperature acquisition information of each channel feedback of plug-in unit is sent, if not getting first temperature yet after the default waiting time and adopting Collect information, then report an error at this time, issues test Stop message;If successfully getting the first temperature acquisition information of each channel feedback, Then continue subsequent step.
The the first temperature output information for obtaining the temperature pick-up plug-in unit feedback peculiar to vessel specifically refers to, and obtains the temperature peculiar to vessel Second electric current output information of pick-up plug-in unit feedback, then utilizes the characteristic of platinum resistance, which is converted Judge that multiple temperature of the first normal temperature information are surveyed after obtaining the first temperature output signal for the first temperature output signal Whether pilot is completed above-mentioned test, if not completing, continues to test, until completing the survey with all temperature test points Examination, subsequently into subsequent step.
If the difference of the first normal temperature information and the first temperature acquisition information less than the 5th preset threshold, The temperature acquisition function of the temperature pick-up plug-in unit peculiar to vessel is qualified;
If the difference of the first normal temperature information and the first temperature output information less than the 6th preset threshold, The temperature pick-up function of the temperature pick-up plug-in unit peculiar to vessel is qualified;
If the temperature acquisition function and temperature pick-up function of the temperature pick-up plug-in unit peculiar to vessel are qualified, the temperature peculiar to vessel The test result information for spending pick-up plug-in unit is qualification, if the temperature acquisition function of temperature pick-up plug-in unit peculiar to vessel or temperature pick-up function Any function it is unqualified, then the test result of the temperature pick-up plug-in unit peculiar to vessel be it is unqualified.
The embodiment of the present invention is by the characteristic of platinum resistance, by for the first normal temperature information, the first temperature acquisition letter The difference of breath and the first temperature output information, to test temperature pick-up plug-in unit peculiar to vessel.
Fig. 2 is feature card schematic structural diagram of testing device peculiar to vessel provided by one embodiment of the invention, as shown in Fig. 2, Wherein, the first test module 201 is used to send communication test information to feature card peculiar to vessel, delays when test is default, obtains The communication test feedback information of all communication channels in the feature card peculiar to vessel;Wherein, the second test module 202 is used for institute It states feature card peculiar to vessel and sends preset test command information, the test that the feature card peculiar to vessel is obtained after default delay is anti- Feedforward information;Wherein, analysis module 203 is used to obtain test result according to the test command information and the test feedback information Information.
A kind of feature card test device peculiar to vessel provided in an embodiment of the present invention is for executing the above-mentioned each method of the present invention Embodiment, specific process and is discussed in detail and please refers to above-mentioned each method embodiment, and details are not described herein again.
The embodiment of the present invention obtains test feedback letter by sending preset test command information to feature card peculiar to vessel Breath, to judge whether the feature card peculiar to vessel is qualified according to the test command information of test feedback information.
On the basis of the above embodiments, Fig. 3 is feature card test dress peculiar to vessel provided by another embodiment of the present invention Structural schematic diagram is set, as shown in figure 3, the apparatus may include:
Interactive module 310, controller module 320, test information acquisition module 330, test message output module 340, CAN Communication module 350, signal adjusting module 360 and probe card module 370;Wherein, controller module 320 can be used for CAN Communication module 350 send communication test information, CAN communication module 350 by the communication test information through signal adjusting module 360 at Probe card module 370 is sent to after reason, then controller module 320 can be delayed when test is default, pass through CAN communication mould Block 350 obtains the communication test feedback information from probe card module feedback 370.
In addition, controller module 320 can also send test command information, the survey to test message output module 340 Examination command information is used to indicate test message output module 340 and sends test command information, the test to probe card module 370 Command information is before having test message output module 340 to be sent to probe card module 370, it is also necessary to pass through signal adjusting module 360 electrically to be matched;After default delay, controller module 320 test instead by testing information acquisition module 330 The acquisition of feedforward information, before the test feedback information of test 330 collecting test card module 370 of information acquisition module, it is also necessary to By signal adjusting module 360 electrically to be matched, controller module 320 gets control peculiar to vessel from test information acquisition module The test feedback information of device plug-in unit processed.
In addition, controller module 320 is by communication test feedback information, test command information and tests at feedback information Reason, to obtain test result information, then sends interactive module 310 for test result information, interactive module 310 can wrap Containing a ruggedized monitor for showing test result information, in addition, interactive mode 310 can also include an operation keyboard, The operation keyboard can be used for setting test command information or communication test information.
Wherein, test message output module may include electric current output sub-module, output switch parameter submodule and platinum resistance Output sub-module;Testing information acquisition module may include that current acquisition submodule, switch acquisition submodule and platinum resistance are adopted Collect submodule.
Wherein, signal adjusting module is for realizing test message output module and test information acquisition module and probe card The electrical matching of intermodule.
Wherein, probe card module is used for installation ship feature card, and probe card module can install one simultaneously Or multiple feature cards peculiar to vessel, such as controller card module peculiar to vessel is installed simultaneously, marine electric rheology send card module and temperature Spend pick-up card module.
The embodiment of the present invention obtains test feedback letter by sending preset test command information to feature card peculiar to vessel Breath, to judge whether the feature card peculiar to vessel is qualified according to the test command information of test feedback information.
Fig. 4 is electronic devices structure schematic diagram provided by one embodiment of the invention, as shown in figure 4, the equipment can wrap It includes:
Processor (processor) 410,420, memory communication interface (Communications Interface) (memory) 430 and communication bus 440, wherein processor 410, communication interface 420, memory 430 are completed by bus 440 Mutual communication.Communication interface 420 can be used for the transmission of the information between automated test device and automatization test system. Processor 410 can call the logical order in memory 430, to execute following method: sending and communicate to feature card peculiar to vessel Information is tested, is delayed when test is default, the communication test feedback letter of all communication channels in the feature card peculiar to vessel is obtained Breath;Preset test command information is sent to the feature card peculiar to vessel, obtains the feature card peculiar to vessel after default delay Test feedback information;Test result information is obtained according to the test command information and the test feedback information.
In addition, the logical order in above-mentioned memory 430 can be realized by way of SFU software functional unit and conduct Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally Substantially the part of the part that contributes to existing technology or the technical solution can be in other words for the technical solution of invention The form of software product embodies, which is stored in a storage medium, including some instructions to So that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation of the present invention The all or part of the steps of example the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, sends out to feature card peculiar to vessel Communication test information is sent, is delayed when test is default, the communication test of all communication channels in the feature card peculiar to vessel is obtained Feedback information;Preset test command information is sent to the feature card peculiar to vessel, obtains the function peculiar to vessel after default delay The test feedback information of energy plug-in unit;Test result information is obtained according to the test command information and the test feedback information.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Matter stores computer instruction, which makes computer execute feature card test side peculiar to vessel provided by above-described embodiment Method, for example, send communication test information to feature card peculiar to vessel, delayed when test is default, obtain the function peculiar to vessel The communication test feedback information of all communication channels in plug-in unit;Preset test instruction letter is sent to the feature card peculiar to vessel Breath obtains the test feedback information of the feature card peculiar to vessel after default delay;According to the test command information and described It tests feedback information and obtains test result information.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of feature card test method peculiar to vessel characterized by comprising
Communication test information is sent to feature card peculiar to vessel, is delayed when test is default, institute in the feature card peculiar to vessel is obtained There is the communication test feedback information of communication channel;
Preset test command information is sent to the feature card peculiar to vessel, obtains the feature card peculiar to vessel after default delay Test feedback information;
Test result information is obtained according to the test command information and the test feedback information.
2. the method according to claim 1, wherein the feature card peculiar to vessel includes at least: controller peculiar to vessel Plug-in unit, marine electric rheology send one of plug-in unit and temperature pick-up plug-in unit peculiar to vessel or a variety of.
3. according to the method described in claim 2, it is characterized in that, the feature card peculiar to vessel includes: controller card peculiar to vessel, Correspondingly, sending preset test command information to the controller card peculiar to vessel, the function peculiar to vessel is obtained after default delay It the step of test feedback information of energy plug-in unit, specifically includes:
The first current information is sent to the controller card peculiar to vessel;
After the first default delay, the first current feedback information of the control plug-in unit feedback peculiar to vessel is obtained;
If the difference of first current information and first current feedback information is less than the first preset threshold, described peculiar to vessel The current acquisition function of controller card is qualified;
The first electric current output information is sent to the controller card peculiar to vessel;
After the first default delay, the first electric current for obtaining the control plug-in unit feedback peculiar to vessel exports feedback information;
If the first electric current output information and the difference of first electric current output feedback information less than the second preset threshold, The electric current output function of the controller card peculiar to vessel is qualified;
Switching value information is sent to the controller card peculiar to vessel;
After the second default delay, the switching value feedback information of the controller card feedback peculiar to vessel is obtained;
The switching value information and the switching value feedback information are subjected to logic verify;
If the logic verify passes through, the switch acquisition function of the controller card peculiar to vessel is qualified;
Output switch parameter information is sent to the controller card peculiar to vessel;
After the second default delay, the output switch parameter feedback information of the controller card feedback peculiar to vessel is obtained;
The output switch parameter information and the output switch parameter feedback information are subjected to logic verify;
If the logic verify passes through, the output switch parameter function of the controller card peculiar to vessel is qualified;
If the current acquisition function of the controller card peculiar to vessel, electric current output function, switch acquisition function and switching value are defeated Function is qualified out, then the test result information of the controller card peculiar to vessel is qualification.
4. according to the method described in claim 3, it is characterized in that, described send switching value letter to the controller card peculiar to vessel Breath obtains the switching value feedback information of the controller card feedback peculiar to vessel after the second default delay;The switching value is believed The step of breath carries out logic verify with the switching value feedback information, specifically includes:
First switch amount information is sent to the controller card peculiar to vessel;
After the second default delay, the first switch amount information of all channel feedbacks of the controller card peculiar to vessel is obtained;
Second switch amount information is sent to the controller card peculiar to vessel;
After the second default delay, the second switch amount feedback information of the controller card feedback peculiar to vessel is obtained;
The second switch amount information and the second switch amount feedback information are subjected to logic verify;
If the logic verify passes through, the switch acquisition function of the controller card peculiar to vessel is qualified.
5. according to the method described in claim 3, it is characterized in that, described defeated to the controller card transmission switching value peculiar to vessel Information out obtains the output switch parameter feedback information of the controller card feedback peculiar to vessel after the second default delay, will be described The step of output switch parameter information and the output switch parameter feedback information carry out logic verify, specifically includes:
First switch amount output information is sent to the controller card peculiar to vessel;
After the second default delay, the first switch amount for obtaining all channel feedbacks of the controller card peculiar to vessel exports feedback letter Breath;
Second switch amount output information is sent to the controller card peculiar to vessel;
After the second default delay, the second switch amount for obtaining the controller card feedback peculiar to vessel exports feedback information;
The second switch amount output information and second switch amount output feedback information are subjected to logic verify;
If the logic verify passes through, the output switch parameter function of the controller card peculiar to vessel is qualified.
6. according to the method described in claim 2, it is characterized in that, the feature card peculiar to vessel include: marine electric rheology send it is slotting Part obtains the ship after default delay correspondingly, sending plug-in unit to send preset test command information to the marine electric rheology It the step of with the test feedback information of feature card, specifically includes:
Plug-in unit is sent to send the first normalized current information to the marine electric rheology;
After the default delay of third, the first normalized current acquisition information that the marine electric rheology send plug-in unit to feed back is obtained;
Obtain the first normalized current output information that the marine electric rheology send plug-in unit to feed back;
If the difference of the first normalized current information and first normalized current acquisition information is less than third predetermined threshold value, The marine electric rheology send the current acquisition function of plug-in unit qualified;
If the difference of the first normalized current information and the first normalized current output information less than the 4th preset threshold, The marine electric rheology send the electric current pick-up function of plug-in unit qualified;
If the marine electric rheology send the current acquisition function of plug-in unit and electric current pick-up function qualified, the marine electric rheology Send the test result information of plug-in unit for qualification.
7. according to the method described in claim 2, it is characterized in that, the feature card peculiar to vessel includes: that temperature pick-up peculiar to vessel is inserted Part obtains the ship after default delay correspondingly, sending preset test command information to the temperature pick-up plug-in unit peculiar to vessel It the step of with the test feedback information of feature card, specifically includes:
The first normal temperature information is sent to the temperature pick-up plug-in unit peculiar to vessel;
After the 4th default delay, the first temperature acquisition information of the temperature pick-up plug-in unit feedback peculiar to vessel is obtained;
Obtain the first temperature output information of the temperature pick-up plug-in unit feedback peculiar to vessel;
If the difference of the first normal temperature information and the first temperature acquisition information is less than the 5th preset threshold, described The temperature acquisition function of temperature pick-up plug-in unit peculiar to vessel is qualified;
If the difference of the first normal temperature information and the first temperature output information is less than the 6th preset threshold, described The temperature pick-up function of temperature pick-up plug-in unit peculiar to vessel is qualified;
If the temperature acquisition function and temperature pick-up function of the temperature pick-up plug-in unit peculiar to vessel are qualified, the temperature peculiar to vessel becomes Send the test result information of plug-in unit for qualification.
8. a kind of feature card test device peculiar to vessel characterized by comprising
First test module is delayed, described in acquisition for sending communication test information to feature card peculiar to vessel when test is default The communication test feedback information of all communication channels in feature card peculiar to vessel;
Second test module obtains after default delay for sending preset test command information to the feature card peculiar to vessel Take the test feedback information of the feature card peculiar to vessel;
Analysis module, for obtaining test result information according to the test command information and the test feedback information.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes the function peculiar to vessel as described in any one of claim 1 to 7 when executing described program It can plug-in unit test method.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer It is realized when program is executed by processor as described in any one of claim 1 to 7 the step of feature card test method peculiar to vessel.
CN201811033417.2A 2018-09-05 2018-09-05 A kind of feature card test method peculiar to vessel and device Pending CN109116835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811033417.2A CN109116835A (en) 2018-09-05 2018-09-05 A kind of feature card test method peculiar to vessel and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811033417.2A CN109116835A (en) 2018-09-05 2018-09-05 A kind of feature card test method peculiar to vessel and device

Publications (1)

Publication Number Publication Date
CN109116835A true CN109116835A (en) 2019-01-01

Family

ID=64858610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811033417.2A Pending CN109116835A (en) 2018-09-05 2018-09-05 A kind of feature card test method peculiar to vessel and device

Country Status (1)

Country Link
CN (1) CN109116835A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112179405A (en) * 2020-09-01 2021-01-05 河北汉光重工有限责任公司 Detection system for testing ship air intake and exhaust system
CN113779778A (en) * 2021-08-24 2021-12-10 中国舰船研究设计中心 Method for optimizing task channel test points of ship system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003093913A1 (en) * 2002-04-29 2003-11-13 Nti- Norwegian Technology Of Instruments As Wireless operated signal tester
CN201266321Y (en) * 2008-08-29 2009-07-01 郭春勇 Detection device for electric control system
CN101515176A (en) * 2008-08-29 2009-08-26 郭春勇 Detection device and detection method for electric control system
CN202748667U (en) * 2012-12-12 2013-02-20 中船重工(武汉)凌久电气有限公司 Testing device based on programmable logic controller
CN103092188A (en) * 2012-12-28 2013-05-08 上海派芬自动控制技术有限公司 Test method and test system
CN105335261A (en) * 2015-12-08 2016-02-17 山东超越数控电子有限公司 Design method for testing BIT in server equipment
CN105892447A (en) * 2016-05-11 2016-08-24 中国船舶重工集团公司第七〇九研究所 Automatic test system and method for marine controller
CN106291397A (en) * 2016-08-25 2017-01-04 中国船舶重工集团公司第七〇九研究所 Ship'ssupply automatic testing equipment and method of testing thereof
CN107390109A (en) * 2017-06-09 2017-11-24 苏州迅芯微电子有限公司 The automatically testing platform and its Software Architecture Design method of high-speed ADC chip
CN108489527A (en) * 2017-12-25 2018-09-04 渤海造船厂集团有限公司 Procedure parameter peculiar to vessel measures cabinet feature card intelligent checking device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003093913A1 (en) * 2002-04-29 2003-11-13 Nti- Norwegian Technology Of Instruments As Wireless operated signal tester
CN201266321Y (en) * 2008-08-29 2009-07-01 郭春勇 Detection device for electric control system
CN101515176A (en) * 2008-08-29 2009-08-26 郭春勇 Detection device and detection method for electric control system
CN202748667U (en) * 2012-12-12 2013-02-20 中船重工(武汉)凌久电气有限公司 Testing device based on programmable logic controller
CN103092188A (en) * 2012-12-28 2013-05-08 上海派芬自动控制技术有限公司 Test method and test system
CN105335261A (en) * 2015-12-08 2016-02-17 山东超越数控电子有限公司 Design method for testing BIT in server equipment
CN105892447A (en) * 2016-05-11 2016-08-24 中国船舶重工集团公司第七〇九研究所 Automatic test system and method for marine controller
CN106291397A (en) * 2016-08-25 2017-01-04 中国船舶重工集团公司第七〇九研究所 Ship'ssupply automatic testing equipment and method of testing thereof
CN107390109A (en) * 2017-06-09 2017-11-24 苏州迅芯微电子有限公司 The automatically testing platform and its Software Architecture Design method of high-speed ADC chip
CN108489527A (en) * 2017-12-25 2018-09-04 渤海造船厂集团有限公司 Procedure parameter peculiar to vessel measures cabinet feature card intelligent checking device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112179405A (en) * 2020-09-01 2021-01-05 河北汉光重工有限责任公司 Detection system for testing ship air intake and exhaust system
CN113779778A (en) * 2021-08-24 2021-12-10 中国舰船研究设计中心 Method for optimizing task channel test points of ship system
CN113779778B (en) * 2021-08-24 2024-04-05 中国舰船研究设计中心 Ship system task channel test point optimization method

Similar Documents

Publication Publication Date Title
CN105353249B (en) Relay protection automatic checkout system and method for calibration
CN101821642B (en) Emulating behavior of legacy test system
CN113561853B (en) On-line fault diagnosis method and device for fuel cell system
CN105974273A (en) Power distribution network fault positioning system
CN108268023B (en) Remote fault diagnosis method and system for rail transit platform door
CN113037589B (en) Pressure testing method and device of gateway equipment, testing platform and storage medium
CN109633458B (en) Vehicle hardware-in-loop test system and method
CN107678899A (en) A kind of multiple boards merge the diagnostic method of test
CN109116835A (en) A kind of feature card test method peculiar to vessel and device
CN108304567A (en) High-tension transformer regime mode identifies and data classification method and system
CN108111367A (en) Performance test methods and device
CN105738720B (en) A kind of electronic product test method, equipment and system
CN108093118A (en) The test method of device, test device and computer readable storage medium on mainboard
RU2430406C2 (en) Automated system for diagnosing digital devices
CN116008787A (en) DUT anomaly identification method, device and equipment for device under test
CN109324145A (en) On-line monitoring equipment automatic calibration method and terminal device
CN115616372A (en) Fault injection test method and system
CN115184822A (en) HI-POT testing device with multi-channel switching and contact self-checking method thereof
CN109697143A (en) A kind of electronic product off-line detection system and its detection method based on UDSZ diagnosis
CN115080342A (en) Method and system for automatically processing test data of power board card
CN116203292A (en) Test method, test equipment and test machine
CN114363145A (en) BIT fault injection and detection time sequence control method for airborne electronic system
CN105868063A (en) Method, system and apparatus for writing functional detection result and mobile terminal
CN113257329A (en) Memory fault diagnosis method based on machine learning
CN112255367A (en) Chemical instrument detection system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190101

RJ01 Rejection of invention patent application after publication