CN115586500A - Module test system based on CAN communication - Google Patents

Module test system based on CAN communication Download PDF

Info

Publication number
CN115586500A
CN115586500A CN202211220680.9A CN202211220680A CN115586500A CN 115586500 A CN115586500 A CN 115586500A CN 202211220680 A CN202211220680 A CN 202211220680A CN 115586500 A CN115586500 A CN 115586500A
Authority
CN
China
Prior art keywords
module
interface
communication
switching device
tested
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
CN202211220680.9A
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.)
CETC 14 Research Institute
Original Assignee
CETC 14 Research Institute
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 CETC 14 Research Institute filed Critical CETC 14 Research Institute
Priority to CN202211220680.9A priority Critical patent/CN115586500A/en
Publication of CN115586500A publication Critical patent/CN115586500A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/40Means for monitoring or calibrating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention provides a CAN communication-based module test system, which comprises a digital I/O interface, a USBCAN conversion interface, a DC power supply, a signal switching device and a man-machine interaction module, wherein the USBCAN conversion interface is connected with the digital I/O interface; the signal switching device is connected with a module to be tested of the servo system; the DC power supply is used for supplying power to the signal switching device and the module to be tested, and the signal switching device is used for switching power signals, communication signals, state signals and differential signals. The CAN communication-based module test system provided by the invention has strong universality and expansibility, realizes intelligent and automatic test of a radar servo system module, improves the working efficiency, is convenient to operate, is safe and reliable, avoids the condition that complete machine equipment is damaged due to an accident condition when the complete machine is subjected to initial module debugging, and also avoids potential safety hazards to the complete machine due to the fact that a complete machine simulates a limit state as an input signal of a module to be tested.

Description

Module test system based on CAN communication
Technical Field
The invention belongs to the field of radar system testing, and relates to a module testing system based on CAN communication.
Background
A servo system (also called a servo system) is a feedback control system for accurately following or reproducing a process. The servo system is an automatic control system which can make the output controlled quantity of the position, the direction, the state and the like of an object follow the arbitrary change of an input target (or a given value). The main task of the device is to amplify, transform and regulate the power according to the requirement of the control command, so that the control of the torque, the speed and the position output by the driving device is very flexible and convenient. In many cases, a servo system is a feedback control system in which a controlled variable (an output quantity of the system) is a mechanical displacement or a displacement speed or an acceleration, the function of the feedback control system is to make an output mechanical displacement (or a rotation angle) accurately track an input displacement (or a rotation angle), and the structural composition of the feedback control system is not fundamentally different from that of other forms of feedback control systems. The servo system is initially used for national defense war industry, such as control of artillery, automatic driving of ships and airplanes, missile launching and the like, and is gradually popularized to a plurality of departments of national economy, such as automatic machine tools, wireless tracking control and the like.
The servo system of the existing large military products has various modules, a plurality of input and output signals, a plurality of components which need to be jointly tested, and a single module is difficult to locate faults, so that the testing equipment occupies a plurality of resources and has low use efficiency. Meanwhile, VB and CAN are used for establishing communication at present, the communication is mostly used for monitoring, interaction is not generated, a detection signal is not input to a module to be detected in a TTL level mode, the TTL signal output by the module to be detected is not received and processed and then displayed, namely, a closed loop of a test system is not formed, and the detection of a servo system module is not facilitated.
Disclosure of Invention
In order to solve the difficult problems in the prior art, the invention provides a CAN communication-based module test system, which comprises a digital I/O interface, a USBCAN conversion interface, a DC power supply, a signal switching device and a man-machine interaction module; the signal switching device is connected with a module to be tested of the servo system; the DC power supply is used for supplying power to the signal switching device and the module to be tested, and the signal switching device is used for switching power signals, communication signals, status signals and differential signals.
Further, the signal transfer device includes:
the power supply comprises a DC isolation power supply module N1, a first rectangular electric connector XS1 and a second rectangular electric connector XS2, wherein the connection points of the first rectangular electric connector XS1 and the second rectangular electric connector XS2 are pins and holes respectively, the pins and the holes are provided with a CAN communication interface and a power supply interface, and the circuit characteristics of the connection points are consistent;
the third wiring terminal type electric connector XS3 and the fourth wiring terminal type electric connector XS4 are wiring terminal type electric connectors, the third wiring terminal type electric connector XS3 and the fourth wiring terminal type electric connector XS4 are both provided with a CAN communication interface and a power supply interface, and the circuit characteristics of the connection points are consistent;
the group a and the group b are 2 groups of status indicator lamps in total, each group comprises 12 indicator lamps, wherein the group a is an indicator lamp common cathode, the group b is an indicator lamp common anode, and the group a is connected with the module to be tested through an XS5 double-layer socket to display the output status of the module to be tested;
the 12-path selection switch is used for gating a high level or a low level, is connected with the module to be detected through an XS6 wiring terminal and is used as a detection signal input of the module to be detected;
the LM2631 integrated circuit D1 is used for sending 4 paths of differential signals, is connected with the module to be tested through an XS7 wiring terminal and is used as a differential input signal of the module to be tested;
LM2632 integrated circuit D2 for receive 4 way differential signal and drive corresponding pilot lamp and light, be connected with the module that awaits measuring through XS8 connecting terminal type, detect the state of the module differential output signal that awaits measuring.
Furthermore, the module to be tested comprises a limiting detection box module, a temperature and humidity detection module, a valve control module, a relay control module, a single-stage shaft angle encoder module and a remote control module.
Further, the signal switching device inputs an analog control signal, or inputs analog detection point information through a human-computer interaction interface and a digital I/O interface; the component to be detected processes the received detection point information, uploads the detection point information to the computer through CAN communication, displays the received information on the signal switching device, compares whether the input information and the output information are logically consistent or not, and detects the state of the component to be detected.
Further, the module to be measured is a temperature and humidity detection module, and the specific detection steps are as follows:
connecting the temperature and humidity detection module into a test system, downloading a module program and restarting;
opening a temperature and humidity detection module test interface on a human-computer interaction interface, and clicking a 'connection' button and a 'CAN start' button on the interface;
if a fault lamp on the temperature and humidity detection module is turned off, establishing communication between the temperature and humidity detection module and a computer CAN (controller area network), wherein a humidity display column displays the current environment humidity, and a temperature display column displays the current environment temperature, which indicates that the temperature and humidity detection module is normal in performance; if the fault lamp on the temperature and humidity detection module is on, the current ambient temperature cannot be displayed on the interface, and the performance of the temperature and humidity detection module is abnormal.
Further, the module to be tested is a valve control module, and the specific detection steps are as follows:
connecting the valve control module into a test system, downloading a module program, opening a test interface of the valve control module, setting an address according to the interface requirement and restarting;
clicking a connection button and a CAN starting button on an interface, flashing a CAN communication indicator lamp on the valve control module, turning off a FAUL indicator lamp, and establishing communication between the valve control module and a CAN of a computer;
sequentially clicking keys of ' K1+ ', ' K1- ' \8230 ', ' K6+ ', and ' K6- ' on the human-computer interaction interface to send a control command;
the valve control module receives a corresponding control command and then drives a corresponding power amplifier to output DC voltage and light a corresponding indicator lamp on the module, the digital I/O interface receives an output signal of the valve control module and displays the output signal on the interface, and meanwhile, the corresponding indicator lamp on the signal switching device lights, which indicates that the valve control module is normal in performance;
if the FAUL lamp on the valve control module is on and the CAN communication indicator lamp is off, the valve control module cannot be controlled to output DC voltage through the human-computer interaction interface, and the performance of the valve control module is abnormal.
Furthermore, a plurality of DE-9S and DE-9P plug cables are arranged on the signal switching device, a plurality of modules are connected by depending on the signal switching device, the system connection of a servo system module on the whole machine CAN be simulated, based on a CAN communication protocol, the system connection is established by adopting 1 pair of multi-modes, the state of the servo system of the whole machine is simulated, and the performance of the module is tested.
Compared with the prior art, the invention has the following technical effects:
the invention CAN automatically test various modules with the functions of supplying power for a DC24 power supply and CAN communication, has strong universality and expansibility, realizes intelligent and automatic test of a radar servo system module, improves the working efficiency, has convenient operation of a test system, is safe and reliable, avoids the condition that the equipment of the whole machine is damaged due to the occurrence of an accident condition when the module is initially debugged on the whole machine, and also avoids the potential safety hazard to the whole machine which is possibly generated by using a limit state simulated by the whole machine as an input signal of a module to be tested.
Drawings
Fig. 1 is a functional block diagram of an automatic testing system for a servo system module according to an embodiment of the present invention.
Fig. 2 is an assembly diagram of a signal adapter according to an embodiment of the present invention.
Fig. 3 is a circuit diagram of a signal transfer device according to an embodiment of the invention.
FIG. 4 is a schematic diagram of a human-computer interface of a module testing system according to an embodiment of the present invention.
FIG. 5 is a schematic diagram of a shape of a position-limiting detection box module according to an embodiment of the invention.
Fig. 6 is a schematic diagram of an appearance of the temperature and humidity detecting module according to the embodiment of the present invention.
Fig. 7 is a schematic view of a test interface of the temperature and humidity detection module according to the embodiment of the present invention.
Fig. 8 is a schematic diagram of a test interface of a limit detection module according to an embodiment of the present invention.
Fig. 9 is a schematic external view of a valve control module according to an embodiment of the present invention.
Fig. 10 is a schematic diagram of an external shape of a relay control module according to an embodiment of the present invention.
FIG. 11 is a schematic view of a valve regulated module test interface according to an embodiment of the present invention.
Fig. 12 is a schematic diagram of a test interface of a relay control module according to an embodiment of the present invention.
FIG. 13 is a schematic view of a monopole shaft angle encoding module according to an embodiment of the invention.
Fig. 14 is a schematic external view of a remote control module according to an embodiment of the present invention.
FIG. 15 is a schematic view of a testing interface of a monopole axial angle coding module according to an embodiment of the present invention.
FIG. 16 is a schematic diagram of a remote control box test interface according to an embodiment of the invention.
FIG. 17 is a schematic diagram of a cable connection of an automatic test system for a servo system module according to an embodiment of the present invention.
FIG. 18 is a schematic diagram of a servo system module according to an embodiment of the present invention.
Detailed Description
The embodiment of the application provides a test system which is based on a CAN bus communication protocol and is developed to integrate input control and output state detection, a large military product servo system module is automatically tested through a human-computer interaction interface, and a test result is output in real time.
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The module test system based on CAN communication in the embodiment of the application is realized based on a CAN bus communication protocol, develops a hardware test system integrating input control and output state detection, automatically tests a large military product servo system module through a VB (visual basic) human-computer interaction interface, and outputs a test result in real time, so that the servo system module is automatically detected and positioned, and the debugging and troubleshooting efficiency is improved.
As shown in fig. 1, the module testing system includes a digital I/O interface, a USBCAN conversion interface, a DC power supply, a signal switching device, and a human-computer interaction module; the signal transfer device assembly and circuit diagrams are shown in fig. 2 and 3.
The DC power supply is used for supplying power to the signal switching device and the module to be tested, and the signal switching device is used for switching power signals, communication signals, state signals, differential signals and the like.
The signal switching device comprises:
the power supply comprises a DC isolation power supply module N1, a first rectangular electric connector XS1 and a second rectangular electric connector XS2, wherein the connection points of the first rectangular electric connector XS1 and the second rectangular electric connector XS2 are pins and holes respectively, the pins and the holes are provided with a CAN communication interface and a power supply interface, and the circuit characteristics of the connection points are consistent;
the third connection terminal type electric connector XS3 and the fourth connection terminal type electric connector XS4 are connection terminal type electric connectors, both the connection terminal type electric connectors are provided with a CAN communication interface and a power supply interface, and the circuit characteristics of connection points are consistent;
2 groups of state indicator lamps, wherein each group comprises 12 indicator lamps, wherein a group is an indicator lamp common cathode, and b group is an indicator lamp common anode, and the state indicator lamps can be connected with a module to be tested through an XS5 double-layer socket to display the output state of the module to be tested;
the 12-path selection switch is used for gating a high level or a low level, is connected with the module to be detected through an XS6 wiring terminal and is used as a detection signal input of the module to be detected;
the LM2631 integrated circuit D1 is used for sending 4 paths of differential signals, is connected with the module to be tested through an XS7 wiring terminal and is used as a differential input signal of the module to be tested;
LM2632 integrated circuit D2 for receive 4 way differential signal and drive corresponding pilot lamp and light, be connected with the module that awaits measuring through XS8 connecting terminal type, detect the state of the module differential output signal that awaits measuring.
The working principle block diagram of the CAN communication-based module test system is shown in figure 1, according to the signal control flow of the automatic test station, a digital I/O board is additionally arranged in a computer, a detection level signal is sent in an analog mode or a state signal output by a module to be tested is received, a USBCAN conversion interface card is configured, microsoft Visual Basic (VB) language is adopted to design automatic test software, a computer human-computer interaction interface inputs a control signal, the USBCAN conversion interface and a signal switching device are communicated and debugged with the module to be tested, and the communication, input and output conditions of components are visually detected through the human-computer interaction interface or the signal switching device. The man-machine interface of the module test system is shown in figure 4.
In order to simulate the system connection of a servo system module on the whole machine, a plurality of DE-9S and DE-9P plug cables are designed, the modules are connected by relying on a signal switching device, based on a CAN communication protocol, 1 pair of multi-mode is adopted to establish system connection, the state of the servo system of the whole machine is simulated, and the performance of the modules is tested. The servo system module is connected as shown in FIG. 18.
The following is an application process of a module testing system based on CAN communication provided in an embodiment of the present application:
firstly, downloading a program required by a module into the module from a computer, and sequentially connecting an alternating current power supply, a module test system and a module to be tested according to the graph 17;
according to different modules, a corresponding software test program is opened, after the program is initialized, communication is established with the module to be tested through a signal switching device and a USBCAN conversion interface card, a man-machine interaction interface of a module test system is opened, the interface is shown in figure 4, a simulated control signal is input through the signal switching device, or simulated detection point information is input through the man-machine interaction interface by an I/O board of a computer, the component to be tested processes the received detection point information and uploads the detection point information to the computer through CAN communication, the man-machine interaction of the test system displays the received information or displays the information on the signal switching device, and the state of the component to be tested CAN be detected by comparing whether the input information and the output information are logically consistent or not. The module to be tested comprises a limiting detection box module, a temperature and humidity detection module, a valve control module, a relay control module, a single-stage shaft angle encoder module, a remote control module and other servo system modules to be tested.
The shape of the limit detection box module is shown in figure 5, and the test interface is shown in figure 8; the appearance of the temperature and humidity detection module is shown in figure 6, and the test interface is shown in figure 7; valve control module outline figure 9, its test interface is shown in figure 11; the appearance of the relay control module is shown in figure 10, and the test interface is shown in figure 12; the appearance of the single-stage shaft angle encoder module is shown in figure 13, and the test interface is shown in figure 15; the remote control module is shown in figure 14, and the test interface is shown in figure 16.
The following is a first application example of a module testing system based on CAN communication provided in the embodiments of the present application: and testing by a temperature and humidity detection module.
The schematic appearance diagram of the temperature and humidity detection module is shown in fig. 6, the test interface is shown in fig. 8, and the initialization program of the test software program part is as follows:
Private Sub Command2 Clik()
Dim ErrInfo As ACI_ERR_INFO
Dim Index As Long
Dim Cannum As Long
Dim code,mask As Long
Dim Timing0,Timing1,filtertype,mode As Byte
Dim InitConfig As VC1_INIT_CONFIG
Dim a As Long
If m_connect=1Then
m_connect=0
comman2, caption = "initialization"
VCI_Close Device m_devetye,m_devind
Exit sub
End If
Connecting a temperature and humidity detection module into a test system according to a graph 17, downloading a module program, restarting, opening a test interface of the temperature and humidity detection module, clicking a connection button and a CAN starting button on the interface, turning off a fault lamp on the temperature and humidity detection module, establishing communication between the temperature and humidity detection module and a CAN of a computer, displaying the current environmental humidity on a humidity display column, displaying the current environmental temperature on a temperature display column, and indicating that the temperature and humidity detection module is normal; if the fault lamp on the temperature and humidity detection module is on, the current ambient temperature cannot be displayed on the interface, and the performance of the temperature and humidity detection module is abnormal at the moment.
The following is a second application example of the module testing system based on CAN communication provided by the embodiment of the present application: and (5) testing the valve control module.
The outline of the valve control module is schematically shown in FIG. 9, and the test interface is shown in FIG. 11. Connecting the valve control module into a test system according to a figure 17, downloading a module program, opening a valve control module test interface, setting an address according to an interface requirement, restarting the test interface, clicking a ' connection ' button and a ' starting CAN ' button on the interface, flashing a CAN communication indicator lamp on the valve control module, turning off a FAUL indicator lamp, establishing communication between the valve control module and a computer CAN, sequentially clicking ' K1+ ' K1- ' 8230 ', ' K6+ ' K6- ' keys, sending a control command, receiving the corresponding command by the valve control module to drive a corresponding power amplifier to output DC24V voltage and turn on a corresponding indicator lamp on the module, receiving an output signal of the valve control module by the computer through an I/O board and displaying the output signal on the interface, and simultaneously turning on the corresponding indicator lamp on a signal switching device, which indicates that the valve control module is normal in performance; if the FAUL lamp on the valve control module is on and the CAN communication indicator lamp is off, the valve control module cannot be controlled to output DC24V voltage through the human-computer interaction interface, and the performance of the valve control module is abnormal.
The CAN communication-based module test system CAN test various modules, and corresponding module test software CAN be added if different varieties of servo system modules are added in practical application.
A plurality of DE-9S and DE-9P plug cables designed by the test system are utilized, a plurality of modules are connected by a signal switching device, the system connection of a servo system module on the whole machine CAN be simulated, based on a CAN communication protocol, 1 pair of multi-mode system connection is adopted, the state of the whole machine servo system is simulated, the performance of the test module is tested, and a servo system module connection diagram is shown in figure 18.
The invention CAN automatically test various modules with the functions of supplying power for a DC24 power supply and CAN communication, has strong universality and expansibility, realizes intelligent and automatic test of a radar servo system module, improves the working efficiency, has convenient operation of a test system, is safe and reliable, avoids the condition that the equipment of the whole machine is damaged due to the occurrence of an accident condition when the module is initially debugged on the whole machine, and also avoids the potential safety hazard to the whole machine which is possibly generated by using a limit state simulated by the whole machine as an input signal of a module to be tested.
The terms "first," "second," "third," "fourth," and the like in the description of the application and the above-described figures, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the application described herein may be implemented, for example, in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in this application, "at least one" means one or more, "a plurality" means two or more. "and/or" for describing an association relationship of associated objects, indicating that there may be three relationships, e.g., "a and/or B" may indicate: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b and c may be single or plural.
In the several embodiments provided in the present application, it should be understood that the disclosed system and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present application.

Claims (7)

1. A module test system based on CAN communication is characterized by comprising a digital I/O interface, a USBCAN conversion interface, a DC power supply, a signal switching device and a man-machine interaction module; the signal switching device is connected with a module to be tested of the servo system; the DC power supply is used for supplying power to the signal switching device and the module to be tested, and the signal switching device is used for switching power signals, communication signals, status signals and differential signals.
2. The CAN communication-based module test system of claim 1, wherein the signal transfer device comprises:
the DC isolation power supply module N1 comprises a first rectangular electric connector XS1 and a second rectangular electric connector XS2, wherein the connection points of the first rectangular electric connector XS1 and the second rectangular electric connector XS2 are pins and holes respectively, the pins and the holes are provided with a CAN communication interface and a power supply interface, and the circuit characteristics of the connection points are consistent;
the third wiring terminal type electric connector XS3 and the fourth wiring terminal type electric connector XS4 are wiring terminal type electric connectors, the third wiring terminal type electric connector XS3 and the fourth wiring terminal type electric connector XS4 are both provided with a CAN communication interface and a power supply interface, and the circuit characteristics of the connection points are consistent;
the group a and the group b are 2 groups of status indicator lamps in total, each group comprises 12 indicator lamps, wherein the group a is an indicator lamp common cathode, the group b is an indicator lamp common anode, and the group a is connected with the module to be tested through an XS5 double-layer socket to display the output status of the module to be tested;
the 12-path selection switch is used for gating a high level or a low level, is connected with the module to be detected through an XS6 wiring terminal and is used as a detection signal input of the module to be detected;
the LM2631 integrated circuit D1 is used for sending 4 paths of differential signals, is connected with the module to be tested through an XS7 wiring terminal and is used as a differential input signal of the module to be tested;
LM2632 integrated circuit D2 for receive 4 way differential signals and drive corresponding pilot lamp and light, be connected with the module that awaits measuring through XS8 wiring terminal type, detect the state of the module differential output signal that awaits measuring.
3. The CAN communication-based module test system of claim 2, wherein the modules under test comprise a limit detection box module, a temperature and humidity detection module, a valve control module, a relay control module, a single-stage shaft angle encoder module, and a remote control module.
4. The CAN communication-based module test system of claim 3, wherein the signal switching device inputs an analog control signal or inputs an analog detection point information through a digital I/O interface via the man-machine interface; the component to be detected processes the received detection point information, uploads the detection point information to the computer through CAN communication, displays the received information on the signal switching device, compares whether the input information and the output information are logically consistent or not, and detects the state of the component to be detected.
5. The CAN communication-based module test system of claim 4, wherein the module to be tested is a temperature and humidity detection module, and the specific detection steps are as follows:
connecting the temperature and humidity detection module into a test system, downloading a module program and restarting;
opening a temperature and humidity detection module test interface on a human-computer interaction interface, and clicking a 'connection' button and a 'CAN start' button on the interface;
if a fault lamp on the temperature and humidity detection module is turned off, establishing communication between the temperature and humidity detection module and a computer CAN (controller area network), displaying the current environment humidity on a humidity display column, and displaying the current environment temperature on a temperature display column, wherein the temperature and humidity detection module is normal in performance; if a fault lamp on the temperature and humidity detection module is on, the current ambient temperature cannot be displayed on the interface, and the performance of the temperature and humidity detection module is abnormal.
6. The CAN communication-based module test system of claim 4, wherein the module under test is a valve control module, and the specific detection steps are as follows:
connecting the valve control module into a test system, downloading a module program, opening a test interface of the valve control module, setting an address according to the interface requirement and restarting;
clicking a connection button and a CAN starting button on an interface, flashing a CAN communication indicator lamp on the valve control module, turning off a FAUL indicator lamp, and establishing communication between the valve control module and a CAN of a computer;
sequentially clicking keys of 'K1 +', 'K1-', '8230', 'K6 +', and 'K6-', on the human-computer interaction interface, and sending a control command;
the valve control module receives a corresponding control command and then drives a corresponding power amplifier to output DC voltage and light a corresponding indicator lamp on the module, the digital I/O interface receives an output signal of the valve control module and displays the output signal on the interface, and meanwhile, the corresponding indicator lamp on the signal switching device lights, which indicates that the valve control module is normal in performance;
if the FAUL lamp on the valve control module is on and the CAN communication indicator lamp is off, the valve control module cannot be controlled to output DC voltage through the human-computer interaction interface, and the performance of the valve control module is abnormal.
7. The CAN communication-based module testing system of claim 4, wherein the signal switching device is provided with a plurality of DE-9S and DE-9P plug cables, a plurality of modules are connected by the signal switching device, system connection of the servo system module on the whole machine CAN be simulated, based on a CAN communication protocol, 1 pair of multi-mode system connection is adopted, the state of the whole machine servo system is simulated, and the performance of the module is tested.
CN202211220680.9A 2022-10-08 2022-10-08 Module test system based on CAN communication Pending CN115586500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211220680.9A CN115586500A (en) 2022-10-08 2022-10-08 Module test system based on CAN communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211220680.9A CN115586500A (en) 2022-10-08 2022-10-08 Module test system based on CAN communication

Publications (1)

Publication Number Publication Date
CN115586500A true CN115586500A (en) 2023-01-10

Family

ID=84778079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211220680.9A Pending CN115586500A (en) 2022-10-08 2022-10-08 Module test system based on CAN communication

Country Status (1)

Country Link
CN (1) CN115586500A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116184306A (en) * 2023-05-05 2023-05-30 深圳市锐深科技有限公司 CAN communication isolation device for resisting pulse group and interference elimination method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116184306A (en) * 2023-05-05 2023-05-30 深圳市锐深科技有限公司 CAN communication isolation device for resisting pulse group and interference elimination method
CN116184306B (en) * 2023-05-05 2023-06-23 深圳市锐深科技有限公司 CAN communication isolation device for resisting pulse group and interference elimination method

Similar Documents

Publication Publication Date Title
CN104297623B (en) Automatic test system for onboard cable integrity
EP0374224B1 (en) Portable identifier apparatus for communication cables
US4825151A (en) Weapon interface system evaluator
CN103217920B (en) Initiating explosive device short-circuit protection circuit for measure-control device
CN115586500A (en) Module test system based on CAN communication
CN106501714A (en) A kind of digitizing switch detection circuit and method with fault diagnosis functions
CN113514726B (en) Complete machine cable detection system and method
CN112034388A (en) Automatic wire harness detection system and detection method
CN207424670U (en) A kind of program-controlled direct fault location case of pure electric vehicle controller
US4086568A (en) Modular I/O equipment for controlling field devices directly or as an interface
CN112083309A (en) Intelligent testing system and method for memory board
CN106370962A (en) Cased bomb initiating explosive device's conduction test and its test method
CN215726739U (en) Aircraft parts electricity door mechanism test system
CN114563762A (en) Automatic testing device for receiver of airborne very high frequency navigation system
CN105093965B (en) Emulation controller and device emulation system
US7821271B2 (en) Method for testing a communication connection
WO2017171687A1 (en) Method of electrical circuits diagnosis of aviation equipment (ae) unit
CN207689589U (en) All-electronin interlocks hardware intelligent test system
CN207742256U (en) Portable type full-automatic electrical interface D.C. resistance tests system
CN208156508U (en) A kind of airplane ground test interconnection of signals case
CN114967553A (en) Detonation simulation system and method of self-adaptive aircraft system
CN220323439U (en) Detection device of fire-extinguishing explosion-suppressing control box
CN108646705A (en) A kind of airplane ground test interconnection of signals TT&C system
CN110764461B (en) Programmable control box detection device
CN217467095U (en) Automatic test equipment for helicopter relay box

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