CN112202505A - Tester and method based on embedded equipment monitoring device - Google Patents
Tester and method based on embedded equipment monitoring device Download PDFInfo
- Publication number
- CN112202505A CN112202505A CN202011252843.2A CN202011252843A CN112202505A CN 112202505 A CN112202505 A CN 112202505A CN 202011252843 A CN202011252843 A CN 202011252843A CN 112202505 A CN112202505 A CN 112202505A
- Authority
- CN
- China
- Prior art keywords
- module
- signal
- monitoring device
- core controller
- information
- 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
Links
- 238000012806 monitoring device Methods 0.000 title claims abstract description 128
- 238000000034 method Methods 0.000 title claims description 21
- 238000004891 communication Methods 0.000 claims abstract description 48
- 238000001514 detection method Methods 0.000 claims abstract description 29
- 230000006870 function Effects 0.000 claims description 39
- 238000012360 testing method Methods 0.000 claims description 35
- 230000002093 peripheral effect Effects 0.000 claims description 22
- 230000004048 modification Effects 0.000 claims description 19
- 238000012986 modification Methods 0.000 claims description 18
- 238000006243 chemical reaction Methods 0.000 claims description 17
- 230000003321 amplification Effects 0.000 claims description 16
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 16
- 238000002955 isolation Methods 0.000 claims description 9
- 238000012790 confirmation Methods 0.000 claims description 7
- 238000010998 test method Methods 0.000 claims description 5
- 239000000284 extract Substances 0.000 claims description 3
- 238000002715 modification method Methods 0.000 claims description 2
- 239000003990 capacitor Substances 0.000 description 9
- 238000012544 monitoring process Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/0082—Monitoring; Testing using service channels; using auxiliary channels
- H04B17/0085—Monitoring; Testing using service channels; using auxiliary channels using test signal generators
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L2012/40208—Bus networks characterized by the use of a particular bus standard
- H04L2012/40215—Controller Area Network CAN
Abstract
The invention discloses a tester based on an embedded equipment monitoring device, which comprises a core controller and a power supply unit, wherein the core controller is communicated with a signal generator through a serial port communication module and is communicated with a device interface module through a CAN communication module; the signal output end of the signal generator is respectively and electrically connected with the operational amplifier module and the signal addition module, the operational amplifier module is electrically connected with the device interface module, and the signal addition module is electrically connected with the device interface module through the signal power amplifier module. The invention can generate analog signals according to different requirements on site, so that a special equipment monitoring device can carry out signal detection, the function detection of the monitoring device is rapidly realized, and whether the monitoring device is intact or not is judged; when the monitoring device breaks down and needs to be replaced, the new monitoring device can be subjected to quick information setting, the replacement of the monitoring device is realized, and the operation of special equipment is guaranteed; the portable air conditioner is small in size, portable and low in cost, and meets the requirements of technicians on operation sites.
Description
Technical Field
The invention belongs to the field of testing devices of monitoring devices, and particularly relates to a tester and a method based on an embedded equipment monitoring device.
Background
The monitoring device of the special embedded equipment is used for detecting parameters such as rotating speed, amplitude and the like of a plurality of special embedded equipment on line, is vital in stable operation, and once the special embedded equipment fails, the special embedded equipment must be replaced in time, and meanwhile, the new monitoring device needs to be subjected to function detection and parameter modification, and then the failed monitoring device is replaced, so that the operation of the special equipment is guaranteed.
At present, a test platform is required to be built for testing a monitoring device by means of an industrial personal computer, a signal generator, a special signal acquisition board card, a voltage-stabilized power supply, CAN communication transceiver and special upper software, application conditions suitable for the running site of special equipment are not met, functional testing and parameter modification of the monitoring device cannot be completed in time, and application limitation is large.
Disclosure of Invention
The invention is provided for overcoming the application limitation defect of the test system of the existing monitoring device, and aims to provide a tester and a method based on an embedded equipment monitoring device.
The invention is realized by the following technical scheme:
a tester based on an embedded equipment monitoring device comprises a core controller and a power supply unit, wherein the core controller is communicated with a signal generator module through a serial port communication module and is communicated with a device interface module through a CAN communication module; the signal output end of the signal generator module is respectively and electrically connected with the operational amplifier module and the signal addition module, the operational amplifier module is electrically connected with the device interface module, and the signal addition module is electrically connected with the device interface module through the signal power amplifier module.
In the above technical solution, the mobile terminal further includes a peripheral module connected to the core controller.
In the above technical solution, the power supply unit supplies power to each module of the tester and the monitoring device to be tested.
In the above technical scheme, the serial communication module adopts SPI communication.
In the above technical solution, the operational amplifier module includes a plurality of operational amplifiers, and performs operational amplification on the signal output by the signal generator module, and the amplified signal is sent to the device interface module.
In the above technical solution, the signal addition module includes an adder chip, and is configured to realize in-phase or anti-phase superposition of signals output by the signal generator module, where the superposed signals are used for testing frequency detection and amplitude detection functions of the monitoring device.
In the above technical solution, the signal power amplifier module includes a power amplifier chip, and performs power amplification on the signal synthesized by the signal adder module, and the signal after power amplification is sent to the device interface module for testing the frequency and amplitude detection function of the monitoring device.
In the above technical solution, the CAN communication module 4 includes a CAN bus driver, and a number i isolation chip and a number ii isolation chip connected thereto respectively.
In the above technical solution, the device interface module includes a plurality of device interfaces, the device interfaces include twenty paths of signals, and correspond to twenty detection channels of the monitoring device, and the CAN communication module, the operational amplifier and the signal power amplifier module are respectively connected to different paths of signals of the device interfaces.
In the above technical scheme, the power supply unit includes switching power supply, No. I voltage conversion chip and No. II voltage conversion chip, and the voltage conversion that No. I voltage conversion chip and No. II voltage conversion chip switching power supply provided is the required voltage of each module.
A test method of a tester based on an embedded equipment monitoring device comprises the following steps:
(I) initialization of each module of the tester
(II) inputting instructions through a peripheral module, wherein the instructions comprise monitoring device parameter modification instructions, waveform signal operation instructions and monitoring device function test instructions;
(III) inputting the setting of information needing to be written into the monitoring device by an external module aiming at a parameter modification instruction of the monitoring device, and transmitting the information to the monitoring device by a core controller module through a CAN bus to complete modification;
(IV) judging whether to execute a signal calling instruction or a signal storage instruction according to the waveform signal operation instruction; when the signal calling instruction is executed, the core controller module extracts waveform signal parameters according to the selected parameter file and displays the waveform signal parameters through the peripheral module; when the signal storage instruction is executed, inputting waveform signal information to be stored through the peripheral module for storage;
and (V) aiming at the function test instruction of the monitoring device, firstly acquiring the ID of the device to be tested, and then sequentially communicating with the device according to the ID size sequence to judge the function of the device.
In the above technical solution: the specific modification method of the parameter modification instruction of the monitoring device in the step (III) comprises the following steps:
inputting address information and a detection threshold value of a monitoring device to be set by an external module, and writing the address information and the detection threshold value into the detection device;
(ii) the core controller module sends the information in step (i) to the monitoring device via the CAN bus;
(iii) the monitoring device completes information writing and feeds back to the core controller module;
(iv) the core controller module performs approval confirmation on the feedback information.
In the above technical solution, the method for operating the waveform signal in step (iv) specifically includes the following steps: judging the operation type of the waveform signal, if the operation type is a signal calling instruction, performing the operation of the step (ii), and if the operation type is a signal storing instruction, performing the operation of the step (iii);
(ii) selecting the parameter file according to the core controller module, extracting the waveform signal parameter information, and displaying the waveform signal parameter information through the peripheral module;
(iii) inputting waveform signal information to be stored through a peripheral module, wherein the waveform signal information comprises signal types, output signal modes, signal frequencies and amplitude information, and adjusting the setting of the frequency of each path of signal according to the frequency or amplitude of the detected parameter;
(iv) the core controller module stores the set waveform signal parameters into a memory, and performs reading and checking to confirm successful storage.
In the above technical solution, the method for testing the function of the monitoring device in step (v) includes the following steps:
acquiring the ID of a device to be tested;
(ii) the core controller module controls the signal generator to output the signal according to the selected or set waveform signal parameter, and the signal is supplied to the device to be tested after power amplification;
(iii) the device to be tested acquires parameters according to the instruction of the core controller module and sends return data;
(iv) the core controller module analyzes the received return data, compares the received return data with the set waveform signal information, and judges the correctness of the return data of the device to be tested so as to judge whether the function of the device is normal or not.
The invention has the beneficial effects that:
the invention provides a tester based on an embedded equipment monitoring device, which can generate analog signals according to different requirements on site and is used for a special equipment monitoring device to detect the signals; the tester is communicated with the monitoring device through the CAN bus, so that the function detection of the monitoring device is quickly realized, and whether the monitoring device is intact or not is judged; when the monitoring device breaks down and needs to be replaced, the new monitoring device can be subjected to rapid information setting so as to realize replacement of the monitoring device and guarantee operation of special equipment; the tester has the advantages of small volume, portability, low cost and the like, and can meet the requirements of technicians on the operation site of special equipment.
Drawings
FIG. 1 is a schematic structural diagram of a tester based on an embedded device monitoring device according to the present invention;
FIG. 2 is a schematic circuit diagram of a signal operational amplifier module in a tester based on an embedded device monitoring apparatus according to the present invention
FIG. 3 is a schematic circuit diagram of a signal adder module in the tester based on the embedded device monitoring apparatus according to the present invention;
FIG. 4 is a schematic circuit diagram of a signal power amplifying module in a tester based on an embedded device monitoring apparatus according to the present invention;
FIG. 5 is a schematic circuit diagram of a CAN communication module in the tester based on the embedded device monitoring apparatus according to the present invention;
FIG. 6 is a schematic circuit diagram of an interface module of the embedded device monitoring device-based tester according to the present invention;
FIG. 7 is a schematic circuit diagram of a power supply module in the tester based on the embedded device monitoring apparatus according to the present invention;
FIG. 8 is a flowchart of the operation of the tester based on the embedded device monitoring apparatus according to the present invention;
FIG. 9 is a flow chart of a method for modifying parameters of a monitoring device in a tester based on an embedded device monitoring device according to the present invention;
FIG. 10 is a flow chart of the waveform signal operation method in the embedded device monitoring apparatus based tester according to the present invention;
FIG. 11 is a flow chart of the method for testing the device function in the tester based on the embedded device monitoring device according to the present invention.
Wherein:
1 peripheral module 2 core controller
3 serial port communication module 4 CAN communication module
5 Signal Generator Module 6 operational Amplifier
7 signal adder module 8 signal power amplifier module
9 power supply unit 10 device interface module
11 operational amplifier chip 12 adder chip
No. 14I voltage conversion chip of 13 power amplification chip
No. 15 No. II voltage conversion chip No. 16I isolation chip
17 # ii isolated chip 18 CAN bus driver.
For a person skilled in the art, other relevant figures can be obtained from the above figures without inventive effort.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following description, with reference to the accompanying drawings, further describes the technical solution of the tester and method based on the embedded device monitoring apparatus according to the present invention by means of specific embodiments.
As shown in fig. 1, a tester based on an embedded device monitoring device comprises a core controller 2 and a power supply unit 9, wherein the core controller 2 communicates with a signal generator module 5 through a serial port communication module 3, and communicates with a device interface module 10 through a CAN communication module 4; the signal output end of the signal generator module 5 is respectively and electrically connected with the operational amplifier module and the signal addition module 7, the operational amplifier module is electrically connected with the device interface module 10, and the signal addition module 7 is electrically connected with the device interface module 10 through the signal power amplifier module; the power supply unit 9 supplies power for each module of the tester and the monitoring device to be tested, and the core controller 2 is connected with the peripheral module 1 for executing operation.
The peripheral module 1 is a touch screen, the touch screen adopts a 7-inch 800 × 480 touch capacitive screen, operations to be executed, including signal waveform operations, can be selected through the touch screen, parameters such as signal frequency, amplitude, signal type and output signal mode to be generated are input into the touch screen, and signal waveform parameters are stored or stored signal waveform parameters are called; the operation of modifying device parameters, inputting parameters such as ID, threshold value and the like of the device, and displaying whether the device parameters are modified successfully or not; and the operation of the device function test, the detection data returned by the touch screen display device and whether the device function test is normal or not are carried out.
The core controller module comprises a core control chip, wherein the core control chip selects STM32F429 and is mainly responsible for communication with the touch screen, CAN communication with a monitoring device, serial port communication with the signal generator module, signal waveform information storage and data calculation.
The serial port communication module 3 adopts SPI communication, and the transmission of instruction and data between the core controller module 2 and the signal generator 5 is realized, and the core controller 2 sends the type, the frequency and the amplitude of each path of signals of the setting parameters of the waveform signals to the signal generator module through serial SPI communication.
The signal generator module 5 adopts an AD9959 chip, and outputs four signal waveforms, including a first signal CH1, a second signal CH2, a third signal CH3 and a fourth signal CH4, where the first signal CH1 and the second signal CH2 are both connected to the signal addition module 7; the third channel signal CH3 and the fourth channel signal CH4 are connected to two operational amplifiers 6 constituting the operational amplifier module, respectively. The four paths of signals output by the signal generator module 5 can be independently set in frequency, phase and amplitude, can be set in a fixed frequency mode for signal waveform output, and can also be set in a frequency sweeping mode for signal waveform output to support serial SPI communication.
The operational amplifier module includes a plurality of operational amplifiers 6, two in this embodiment. The operational amplifier 6 comprises an operational amplifier chip 11 with a model number of THS3091, the operational amplifier chip 11 performs operational amplification on a third signal CH3 or a fourth signal CH4 output by the signal generator module 5, and the amplified signals are sent to the device interface module 10 for testing the frequency detection function of the monitoring device.
As shown in fig. 2, the specific circuit connections of the operational amplifier 6 are: the third signal CH3 or the fourth signal CH4 enters the pin 3 of the operational amplifier chip 11 through the inductor L1 and the capacitor C2, and the resistor R2 is connected to the pin 3 of the operational amplifier chip 11. The pins 2 and 6 of the operational amplifier chip 11 are connected with the capacitor C3 through the resistor R4, and the pin 2 of the operational amplifier chip 11 is connected with the pin 2 of the operational amplifier chip 11 through the resistor R1 and the capacitor C1. The No. 6 pin of the operational amplifier chip 11 is connected to ground through a resistor R3, and outputs an operational amplified signal OUT3 or OUT4 through a capacitor C4. The No. 7 pin of the operational amplifier chip 11 is connected with +15V, and the No. 4 pin of the operational amplifier chip 11 is connected with-15V.
The signal adder module 7 comprises an adder chip 12 with the model of OPA 445, and realizes the in-phase or anti-phase superposition of the first path signal CH1 and the second path signal CH2 output by the signal generator module 5, and the superposed signals can be used for testing the frequency detection and amplitude detection functions of the monitoring device.
As shown in fig. 3, the specific circuit connections of the signal adder module 7 are as follows: the first path signal CH1 output by the signal generator module 5 is connected to the switch SB2 through the capacitor C5 and the resistor R5, the switch SB2 is connected to the ground through the switch SB3, and the switch SB2 is connected to the pin No. 2 of the adder chip 12 through the resistor R7. The second path of signal CH2 output by the signal generator module 5 is connected to a switch SB1 through a capacitor C6 and a resistor R6, the switch SB1 is connected to the pin No. 3 of the adder chip 12, and the pin No. 3 of the adder chip 12 is connected to ground through a resistor R8. Pin No. 6 of the adder chip 12 outputs the signal CH1+2 via the capacitor C7. Pin 7 of the adder chip 12 is connected to +15V, and pin 4 of the adder chip 12 is connected to-15V.
The switch SB1 and the switch SB3 are connected, the switch SB2 is disconnected, and the in-phase signal is superimposed and amplified by the adder chip 12. The switch SB1 and the switch SB3 are disconnected, the switch SB2 is connected, and the adder chip 12 performs the addition amplification of the inverted signal.
The signal power amplifier module 8 includes a power amplifier chip 13 of the type OPA541, performs power amplification on the signal synthesized by the signal adder module 7, and sends the signal after power amplification to the device interface module 10 for testing the frequency and amplitude detection function of the monitoring device.
As shown in fig. 4, the specific circuit connections of the signal power amplifier module 8 are as follows: the signal CH1+2 output by the signal adder module 7 is connected to pin 1 of the power amplifier chip 13 through a capacitor C9, and pin 1 of the power amplifier chip 13 is grounded through a resistor R12. The pin 2 of the power amplifier chip 13 is connected with the ground through a resistor R10, the pin 2 and the pin 5 of the power amplifier chip 13 are connected through a resistor R11 and a capacitor C8 which are connected in parallel, the pin 5 and the pin 7 of the power amplifier chip 13 are connected, the pin 7 and the pin 8 of the power amplifier chip 13 are connected through a resistor R13, and the pin 8 of the power amplifier chip 13 outputs a power-amplified output signal OUT1+ 2. Pin 3 and pin 4 of the power amplifier chip 13 are connected to-15V, and pin 10 and pin 11 of the power amplifier chip 13 are connected to + 15V.
The CAN communication module 4 comprises a CAN bus driver 18 with the model of PCA82C250, and a No. I isolation chip 16 and a No. II isolation chip 17 which are respectively connected with the CAN bus driver, so that the transmission of instructions and data between the core controller 2 and the monitoring device to be tested is realized. The CAN bus driver 18 provides an interface between the CAN controller and a physical bus, is physically connected with the core controller 2 through pins TXD and RXD, and is hung on the CAN communication bus through transceiving terminals CANH and CANL.
As shown in fig. 5, the specific circuit connection of the CAN communication module 4 is as follows: no. 1 pin of No. I isolation chip 16 connects 3.3V to through electric capacity C13 ground connection, No. 6 pin connects +5V, and through electric capacity C14 ground connection, connect through resistance R15 between No. 5 pin and No. 6 pin, No. 4 pin is through electric capacity C15 ground connection, No. 5 pin links to each other with No. 1 pin of CAN bus driver 18, No. 3 pin passes through resistance R14 and links to each other with CANTX. No. 4 pin of No. II isolation chip 17 is grounded, No. 1 pin is connected with +5V, No. 6 pin is connected with 3.3V, and is connected with ground through electric capacity C16, is connected through resistance R16 between No. 5 pin and No. 6 pin, and No. 3 pin is connected with No. 4 pin of CAN bus driver 18 through resistance R17. Pin 2 of the CAN bus driver 18 is grounded, pin 3 is connected to +5V, pin 8 is grounded through a resistor R18, and pins 6 and 7 are respectively connected to CANL and CANH of the CAN communication network.
The device interface module 10 includes a plurality of device interfaces, and in this embodiment, includes four device interfaces, where the device interfaces include 20 channels of signals, and correspond to 20 detection channels of the monitoring device.
In order to more accurately test the functions of the monitoring device, different signals are sent to a detection channel of the monitoring device. The signals of the 1, 2, 3, 6, 9, 10, 11, 12, 13, 16, 19 and 20 paths of the device interface receive the signals output from the power amplifier module 8. The 4, 5, 14 and 15 paths of signals of the device interface receive signals output by one operational amplifier 6, and the 7, 8, 17 and 18 paths of signals of the device interface receive signals output by the other operational amplifier 6.
As shown in fig. 6, the specific circuit connections of the device interface are: the device interface comprises 1, 2, 3, 6, 9, 10, 11, 12, 13, 16, 19 and 20 paths of signals connected with an output signal OUT1+2 of the signal power amplifier module 8, 4, 5, 14 and 15 paths of signals connected with an output signal OUT3 after being operated and amplified by one operational amplifier 6, and 7, 8, 17 and 18 paths of signals connected with another operational amplifier 6 to output a signal OUT4 after being operated and amplified.
The power supply unit 9 comprises a switching power supply D-75B for bright weft, a voltage conversion chip I (14) and a voltage conversion chip II (15).
The power supply used by the tester mainly comprises +24V, +15V, +5V, +3.3V and + 1.9V. The +5V and the +24V are provided by a switching power supply D-75B of the bright weft, the + -15V is obtained by converting the +24V provided by the switching power supply D-75B of the bright weft through a No. I voltage conversion chip 14 with the model number WRA2415S, and the +3.3V and the +1.9V are obtained by converting the +5V provided by the switching power supply D-75B of the bright weft through a No. II voltage conversion chip 15 with the model number TPS767D 301.
As shown in fig. 7, the specific circuit connections of the power supply unit are as follows: no. 1 pin ground connection, No. 2 pin connect +24V of I voltage conversion chip 14, and No. 1, No. 2 pin pass through electric capacity C10 and link to each other, and No. 6 pin output +15V, No. 8 pin output-15V, No. 7 pin ground connection, and No. 6, No. 7 pin pass through electric capacity C11 and link to each other, and No. 7, No. 8 pin pass through electric capacity C12 and link to each other. Pins 5, 6, 11 and 12 of the voltage conversion chip II 15 are connected with +5V, pins 3 and 9 are grounded, and pins 17 and 18 output 3.3V and pins 23 and 24 output 1.9V.
Example 2
Based on embodiment 1, a method for testing a tester based on an embedded device monitoring apparatus includes the following steps:
(I) initialization of each module of the tester
(II) inputting instructions through a peripheral module, wherein the instructions comprise monitoring device parameter modification instructions, waveform signal operation instructions and monitoring device function test instructions;
(III) inputting the setting of information needing to be written into the monitoring device by an external module aiming at a parameter modification instruction of the monitoring device, and transmitting the information to the monitoring device by a core controller module through a CAN bus to complete modification;
(IV) judging whether to execute a signal calling instruction or a signal storage instruction according to the waveform signal operation instruction; when the signal calling instruction is executed, the core controller module extracts waveform signal parameters according to the selected parameter file and displays the waveform signal parameters through the peripheral module; when the signal storage instruction is executed, inputting waveform signal information to be stored through the peripheral module for storage;
and (V) aiming at the function test instruction of the monitoring device, firstly acquiring the ID of the device to be tested, and then sequentially communicating with the device according to the ID size sequence to judge the function of the device.
The specific program flow is shown in fig. 8, and includes the following steps:
(I) initiating S1;
(II) core controller initialization S2
After the tester is powered on and started, the core controller firstly initializes an operating system, a touch screen drive and functional peripherals of the core controller;
(III) Power supply Unit initialization S3
The method comprises the steps that power supply voltage is collected through an AD (analog-digital) peripheral of a core controller, and whether power supply of a communication module, power supply of a signal generator module and power supply of a monitoring device are normal or not is mainly judged;
(IV) Signal Generator initialization S4
The initialization of the signal generator is mainly completed, and the initialization completion condition is reported to the core controller module through serial port communication;
(V) judging whether there is a touch screen operation S5
If the touch screen is operated, namely yes, entering the step (VI), if the touch screen is not operated, namely no, entering the step (V);
(VI) judging the instruction type of the touch screen operation S6
If the command is a parameter modification command of the monitoring device, entering a step (VII); if the operation command is the operation command of the waveform signal, entering the step (VIII); if the command is a function test command of the monitoring device, entering the step (IX);
(VII) monitoring device parameter modification S7
After the operation is selected, entering a corresponding monitoring device parameter modification program to execute, and mainly finishing the setting of information such as the address and the threshold value of the monitoring device;
(VIII) waveform Signal operation S8
After the operation is selected, the corresponding waveform signal operation program is executed, and two operations are mainly completed: setting and storing common signal waveform parameters; calling out the stored waveform signal parameters, so as to facilitate the function test of the monitoring device;
(IX) functional test of monitoring device S9
After the operation is selected, a corresponding monitoring device function test program is entered for execution, and mainly the address reading of the monitoring device, the signal frequency acquisition, the CAN communication, the function test result judgment and the like are completed;
(X) ends S10.
Example 3
Based on embodiment 2, the method for modifying parameters of a monitoring device comprises the following steps:
inputting address information and a detection threshold value of a monitoring device to be set by an external module, and writing the address information and the detection threshold value into the detection device;
(ii) the core controller module sends the information in step (i) to the monitoring device via the CAN bus;
(iii) the monitoring device completes information writing and feeds back to the core controller module;
(iv) the core controller module performs approval confirmation on the feedback information.
The specific process flow of parameter modification of the monitoring device is shown in fig. 9, and includes the following steps:
starting S11;
(ii) setting information of ID, threshold value, etc. S12
Inputting information to be written into the monitoring device, such as monitoring device address information to be set, a detection threshold value and the like, into the touch screen;
(iii) write instruction S13
The core controller sends the information in the step (ii) to the monitoring device through the CAN bus;
(iv) whether or not to return confirmation S14
Waiting for the monitoring device to receive the command, returning a confirmation command after completing the information writing, entering step (v) if no return confirmation is received, and entering step (vii) if a return confirmation is received;
(v) whether to confirm the timeout S15;
judging whether the communication between the core controller and the monitoring device is overtime or not, entering the step (vi) if the communication is overtime, and entering the step (iv) if the communication is not overtime;
(vi) communication alarm S16
If the communication response time is exceeded, alarming and displaying CAN communication abnormity;
(vii) the read instruction S17
After the writing instruction is completed, the core controller sends a reading instruction to the monitoring device again, and relevant information stored by the monitoring device at the moment is read;
(viii) success of information check S18
And (3) the core controller checks the information set in the step (ii) and the information read out in the step (vii) and judges whether the parameter modification of the monitoring device is accurately finished. If yes, entering step (ix), and if not, returning to step (iii);
(ix) end S19.
The method for operating the waveform signal specifically comprises the following steps:
example 4
Based on the embodiment 2, the method for operating the waveform signal in step (iv) specifically includes the following steps:
judging the operation type of the waveform signal, if the operation type is a signal calling instruction, performing the operation of the step (ii), and if the operation type is a signal storing instruction, performing the operation of the step (iii);
(ii) selecting the parameter file according to the core controller module, extracting the waveform signal parameter information, and displaying the waveform signal parameter information through the peripheral module;
(iii) inputting waveform signal information to be stored through a peripheral module, wherein the waveform signal information comprises signal types, output signal modes, signal frequencies and amplitude information, and adjusting the setting of the frequency of each path of signal according to the frequency or amplitude of the detected parameter;
(iv) the core controller module stores the set waveform signal parameters into a memory, and performs reading and checking to confirm successful storage.
The specific program flow of the waveform signal operation is shown in fig. 10, and includes the following steps:
starting S20;
(ii) operation type judgment S21
If the signal is a signal calling instruction, entering the step (iii); if the command is a signal storage command, entering a step (v);
(iii) Signal Call instruction S22
The operation is to select the stored waveform signal parameter file;
(iv) waveform Signal extraction S23
Extracting waveform signal parameters mainly comprising information such as frequency, amplitude and the like by the core controller according to the selected parameter file, and displaying the waveform signal parameters through a touch screen;
(v) Signal store instruction S24
The operation is to set the basic information of the parameters of the commonly used waveform signals through the touch screen and store the waveform signals into files, so that the waveform signals can be called out for use later;
(vi) setting parameters such as Signal frequency, amplitude, etc. S25
Inputting waveform signal information to be stored through a touch screen interface, wherein the parameter information of 4 paths of signals in total comprises information such as signal types, output signal modes, signal frequencies and amplitudes; when the frequency detection function of the monitoring device is tested, the information parameters of the first path and the second path are completely consistent, and the signal frequencies of the third path and the fourth path are different and cannot be the same as the signal frequency of the first path; when the amplitude detection function of the monitoring device is tested, the frequency of the first path of signal is different from that of the second path of signal, the frequency of the first path of signal is 6 times that of the second path of signal, and the frequency of the third path of signal is the same as that of the first path of signal;
(vii) waveform Signal storage S26
The core controller stores the set waveform signal parameters into a memory, and parameter information of 4 paths of signals is stored at one time;
(viii) information verification S27
And (4) reading the data stored in the step (vii) by the core controller, checking the data with the information set in the step (vi), and judging whether the storage is successful. If successful, entering step (ix), and if unsuccessful, entering step (vii);
(ix) end S28.
Example 5
Based on embodiment 2, the core controller module and the device to be tested use CAN communication, and first obtain the ID of the device to be tested, and then sequentially communicate with the device according to the ID order to determine the function of the device.
The method for testing the function of the monitoring device in the step (V) comprises the following steps:
acquiring the ID of a device to be tested;
(ii) the core controller module controls the signal generator to output the signal according to the selected or set waveform signal parameter, and the signal is supplied to the device to be tested after power amplification;
(iii) the device to be tested acquires parameters according to the instruction of the core controller module and sends return data;
(iv) the core controller module analyzes the received return data, compares the received return data with the set waveform signal information, and judges the correctness of the return data of the device to be tested so as to judge whether the function of the device is normal or not.
Fig. 11 shows a specific program flow of the method for testing the function of the monitoring device, which includes the following steps:
starting S29;
(ii) reading device address S30
The device under test may be one or more, and therefore needs to obtain the device ID to be tested;
(iii) controlling the Signal Generator output Signal S31
The core controller module controls the signal generator to output the signal according to the selected or set waveform signal parameter, and the signal is supplied to a device to be tested after power amplification;
(iv) sending parameter acquisition instruction to device S32
The core controller module sends a parameter acquisition instruction to a first device to be tested and waits for the device to return data;
(v) communication timeout judging S33
Starting timing after the parameter acquisition instruction is sent in the step (iv), judging that the time is overtime if the core controller module does not receive the returned data after the time exceeds, entering the step (vi), and entering the step (vii) if the returned data is received within the overtime time range;
(vi) communication Exception S34
After communication abnormity occurs, displaying the communication abnormity of the device to be tested on the touch screen, judging the fault of the device when the communication abnormity occurs for 3 times continuously, and then entering the step (iv) to send an instruction to the next device;
(vii) receiving the data and determining S35
The core controller analyzes the received data, compares the data with the set waveform signal information, and judges the correctness of the data returned by the device so as to judge whether the function of the device is normal or not;
(viii) determining whether the acquisition of the device data is completed S36
Returning the detected data of the device to be detected for a plurality of times, if the core controller has received all the data of the device, entering step (ix), and if not, entering step (v);
(ix) determining completion of testing of all devices S37
If testing of all devices under test has been completed, proceeding to step (x), if testing of all devices has not been completed, proceeding to step (iv);
(x) ends S38.
The working principle of the invention is as follows:
the invention selects the operation to be carried out through the touch screen module, and mainly comprises three types of operations:
operation class instruction of signal waveform: the core controller sends the signal waveform parameters to the signal generator module through the serial port communication module, the signal generator module generates corresponding signals, the signal generator module can output four paths of signals, the first path (CH 1) and the second path (CH 2) of signals are sent to the monitoring device interface through the signal adder module and the power amplifier module, and the third path (CH 3) and the fourth path (CH 4) of signals are respectively sent to the monitoring device interface through the operational amplifier module;
operation class instruction for device parameter modification: the special equipment monitoring device sets and stores identification information such as different addresses according to the field installation position, sets information to be stored by the monitoring device through the touch screen module, and writes parameters into the monitoring device through the CAN communication module by the core controller module, so that the field monitoring device is rapidly replaced;
operation class instructions for device functional testing: the tester CAN simultaneously detect 4 monitoring devices at one time, signal waveforms passing through the power amplifier module and the operational amplifier module are sent to the monitoring device to be detected, the monitoring device measures the signals, results are sent to the core controller through the CAN communication module, the core controller judges whether the monitoring device is normal in function or not, and then the touch screen displays the judgment results.
The tester is portable and convenient, and can modify parameters of the monitoring device of the special equipment on the running site of the special equipment and quickly replace the monitoring device; the communication function, the rotating speed and the amplitude detection function of the special equipment monitoring device are tested, and whether the monitoring device fails or not is judged quickly; the tester supports four paths of signal output, and can output standard signal waveforms and non-standard signal waveforms through signal superposition; the tester realizes the amplification of the waveform signal through the operational amplification and power amplification module, so that the signal can simultaneously support the function test of four monitoring devices.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention. Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.
The applicant declares that the above description is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and it should be understood by those skilled in the art that any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are within the scope and disclosure of the present invention.
Claims (10)
1. The utility model provides a tester based on embedded equipment monitoring devices which characterized in that: the device comprises a core controller (2) and a power supply unit (9), wherein the core controller (2) is communicated with a signal generator module (5) through a serial port communication module (3) and is communicated with a device interface module (10) through a CAN communication module (4); the signal output end of the signal generator module (5) is respectively and electrically connected with the operational amplifier module and the signal addition module (7), the operational amplifier module is electrically connected with the device interface module (10), and the signal addition module (7) is electrically connected with the device interface module (10) through the signal power amplifier module (8).
2. The embedded equipment monitoring device-based tester according to claim 1, wherein: the system also comprises a peripheral module (1) connected with the core controller (2).
3. The embedded equipment monitoring device-based tester according to claim 1, wherein: the operational amplifier module comprises a plurality of operational amplifiers (6) which are used for carrying out operational amplification on the signals output by the signal generator module (5), and the amplified signals are sent to the device interface module (10).
4. The embedded equipment monitoring device-based tester according to claim 1, wherein: the CAN communication module 4 comprises a CAN bus driver (18) and a No. I isolation chip (16) and a No. II isolation chip (17) which are respectively connected with the CAN bus driver.
5. The embedded equipment monitoring device-based tester according to claim 1, wherein: the device interface module (10) comprises a plurality of device interfaces, the device interfaces comprise twenty paths of signals and correspond to twenty detection channels of the monitoring device, and the CAN communication module (4), the operational amplifier (6) and the signal power amplifier module (8) are respectively connected to different paths of signals of the device interfaces.
6. The embedded equipment monitoring device-based tester according to claim 1, wherein: the power supply unit (9) comprises a switching power supply, a voltage conversion chip I (14) and a voltage conversion chip II (15), and the voltage provided by the switching power supply of the voltage conversion chip I (14) and the voltage conversion chip II (15) is converted into the voltage required by each module.
7. The test method of the tester based on the embedded equipment monitoring device according to any one of claims 1 to 7 is characterized in that: the method comprises the following steps:
(I) initialization of each module of the tester
(II) inputting instructions through a peripheral module, wherein the instructions comprise monitoring device parameter modification instructions, waveform signal operation instructions and monitoring device function test instructions;
(III) inputting the setting of information needing to be written into the monitoring device by an external module aiming at a parameter modification instruction of the monitoring device, and transmitting the information to the monitoring device by a core controller module through a CAN bus to complete modification;
(IV) judging whether to execute a signal calling instruction or a signal storage instruction according to the waveform signal operation instruction; when the signal calling instruction is executed, the core controller module extracts waveform signal parameters according to the selected parameter file and displays the waveform signal parameters through the peripheral module; when the signal storage instruction is executed, inputting waveform signal information to be stored through the peripheral module for storage;
and (V) aiming at the function test instruction of the monitoring device, firstly acquiring the ID of the device to be tested, and then sequentially communicating with the device according to the ID size sequence to judge the function of the device.
8. The test method of the tester based on the embedded equipment monitoring device according to claim 7, characterized in that: the specific modification method of the parameter modification instruction of the monitoring device in the step (III) comprises the following steps:
inputting address information and a detection threshold value of a monitoring device to be set by an external module, and writing the address information and the detection threshold value into the detection device;
(ii) the core controller module sends the information in step (i) to the monitoring device via the CAN bus;
(iii) the monitoring device completes information writing and feeds back to the core controller module;
(iv) the core controller module performs approval confirmation on the feedback information.
9. The test method of the tester based on the embedded equipment monitoring device according to claim 7, characterized in that: the method for operating the waveform signal in the step (IV) specifically comprises the following steps: judging the operation type of the waveform signal, if the operation type is a signal calling instruction, performing the operation of the step (ii), and if the operation type is a signal storing instruction, performing the operation of the step (iii);
(ii) selecting the parameter file according to the core controller module, extracting the waveform signal parameter information, and displaying the waveform signal parameter information through the peripheral module;
(iii) inputting waveform signal information to be stored through a peripheral module, wherein the waveform signal information comprises signal types, output signal modes, signal frequencies and amplitude information, and adjusting the setting of the frequency of each path of signal according to the frequency or amplitude of the detected parameter;
(iv) the core controller module stores the set waveform signal parameters into a memory, and performs reading and checking to confirm successful storage.
10. The test method of the tester based on the embedded equipment monitoring device according to claim 7, characterized in that: the method for testing the function of the monitoring device in the step (V) comprises the following steps:
acquiring the ID of a device to be tested;
(ii) the core controller module controls the signal generator to output the signal according to the selected or set waveform signal parameter, and the signal is supplied to the device to be tested after power amplification;
(iii) the device to be tested acquires parameters according to the instruction of the core controller module and sends return data;
(iv) the core controller module analyzes the received return data, compares the received return data with the set waveform signal information, and judges the correctness of the return data of the device to be tested so as to judge whether the function of the device is normal or not.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011252843.2A CN112202505A (en) | 2020-11-11 | 2020-11-11 | Tester and method based on embedded equipment monitoring device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011252843.2A CN112202505A (en) | 2020-11-11 | 2020-11-11 | Tester and method based on embedded equipment monitoring device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112202505A true CN112202505A (en) | 2021-01-08 |
Family
ID=74033433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011252843.2A Pending CN112202505A (en) | 2020-11-11 | 2020-11-11 | Tester and method based on embedded equipment monitoring device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112202505A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114860124A (en) * | 2022-04-13 | 2022-08-05 | 高恒 | Storage battery monitoring module overhauling device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB893354A (en) * | 1957-04-30 | 1962-04-11 | Emi Ltd | Improvements relating to data handling apparatus |
CN101312576A (en) * | 2007-05-23 | 2008-11-26 | 上海国欣科技发展有限公司 | Centralized monitoring device with antenna feedback lines and control method thereof |
US20110276189A1 (en) * | 2009-12-23 | 2011-11-10 | China Electric Power Research Institute | Control and Protection System of Converter Valve Operation Test Equipment |
CN104575342A (en) * | 2014-12-30 | 2015-04-29 | 武汉精测电子技术股份有限公司 | Integral liquid crystal module testing device |
CN105045692A (en) * | 2015-07-22 | 2015-11-11 | 京东方科技集团股份有限公司 | Touch screen test apparatus and system and touch screen test control apparatus |
CN105577297A (en) * | 2015-12-16 | 2016-05-11 | 京信通信技术(广州)有限公司 | Radio frequency active product test apparatus, and test method and test system thereof |
WO2016090908A1 (en) * | 2014-12-12 | 2016-06-16 | 国家电网公司 | Memory simulation testing board system and testing method for embedded application of intelligent electric meter |
CN106941531A (en) * | 2017-03-29 | 2017-07-11 | 核工业理化工程研究院 | A kind of multi-channel detection device and its detection method based on DSP |
CN110989465A (en) * | 2019-12-25 | 2020-04-10 | 核工业理化工程研究院 | Distributed intelligent signal acquisition device |
US20200225296A1 (en) * | 2018-09-19 | 2020-07-16 | Kunshan Go-Visionox Opto-Electronics Co., Ltd. | Display module test platform |
CN211429330U (en) * | 2020-02-29 | 2020-09-04 | 云南电网有限责任公司西双版纳供电局 | Voltage monitoring device with fault self-diagnosis function based on NB-lot technology |
CN213244009U (en) * | 2020-11-11 | 2021-05-18 | 核工业理化工程研究院 | Tester based on embedded equipment monitoring devices |
-
2020
- 2020-11-11 CN CN202011252843.2A patent/CN112202505A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB893354A (en) * | 1957-04-30 | 1962-04-11 | Emi Ltd | Improvements relating to data handling apparatus |
CN101312576A (en) * | 2007-05-23 | 2008-11-26 | 上海国欣科技发展有限公司 | Centralized monitoring device with antenna feedback lines and control method thereof |
US20110276189A1 (en) * | 2009-12-23 | 2011-11-10 | China Electric Power Research Institute | Control and Protection System of Converter Valve Operation Test Equipment |
WO2016090908A1 (en) * | 2014-12-12 | 2016-06-16 | 国家电网公司 | Memory simulation testing board system and testing method for embedded application of intelligent electric meter |
CN104575342A (en) * | 2014-12-30 | 2015-04-29 | 武汉精测电子技术股份有限公司 | Integral liquid crystal module testing device |
CN105045692A (en) * | 2015-07-22 | 2015-11-11 | 京东方科技集团股份有限公司 | Touch screen test apparatus and system and touch screen test control apparatus |
CN105577297A (en) * | 2015-12-16 | 2016-05-11 | 京信通信技术(广州)有限公司 | Radio frequency active product test apparatus, and test method and test system thereof |
CN106941531A (en) * | 2017-03-29 | 2017-07-11 | 核工业理化工程研究院 | A kind of multi-channel detection device and its detection method based on DSP |
US20200225296A1 (en) * | 2018-09-19 | 2020-07-16 | Kunshan Go-Visionox Opto-Electronics Co., Ltd. | Display module test platform |
CN110989465A (en) * | 2019-12-25 | 2020-04-10 | 核工业理化工程研究院 | Distributed intelligent signal acquisition device |
CN211429330U (en) * | 2020-02-29 | 2020-09-04 | 云南电网有限责任公司西双版纳供电局 | Voltage monitoring device with fault self-diagnosis function based on NB-lot technology |
CN213244009U (en) * | 2020-11-11 | 2021-05-18 | 核工业理化工程研究院 | Tester based on embedded equipment monitoring devices |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114860124A (en) * | 2022-04-13 | 2022-08-05 | 高恒 | Storage battery monitoring module overhauling device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100589587C (en) | Automatic test system for handset single-plate and its method | |
CN213244009U (en) | Tester based on embedded equipment monitoring devices | |
CN107451077B (en) | Test head, chip processing device and method for displaying chip type | |
CN108762243A (en) | A kind of ECU functional tests platform and ECU function test methods | |
CN107491061A (en) | The network automatically test system and its method of a kind of commercial car OBD diagnostic devices | |
CN112202505A (en) | Tester and method based on embedded equipment monitoring device | |
CN101651502A (en) | Calibration test method, device and system | |
CN111063386A (en) | DDR chip testing method and device | |
CN107561379A (en) | The method of testing and system of a kind of electronic product | |
CN101841732A (en) | Testing method and testing device for multimedia electronic equipment | |
CN101883204A (en) | TV EDID self-checking and updating method and TV core plate | |
CN106872822A (en) | A kind of Auto-Test System of relay protection repair based on condition of component | |
CN102539984A (en) | Mass production tester and mass production aging test system | |
CN101344563A (en) | Automatic test equipment and method for touch device | |
US20060259286A1 (en) | Fault simulation system and a method for fault simulation | |
CN105940384A (en) | Universal serial bus emulation of peripheral devices | |
CN102928732A (en) | Line diagnostic apparatus and line diagnostic method | |
CN114721917A (en) | Data acquisition method, device, system, equipment and storage medium | |
CN1945256A (en) | Simulating test device for radio automobile sensor | |
CN102096046B (en) | Testing system for vehicle-mounted charging equipment | |
CN108363375B (en) | Method and system for realizing automatic test of motor controller | |
CN101833063B (en) | Method and device for testing SPI (Serial Peripheral Interface) control chip | |
CN211669545U (en) | Test device and system for TBOX | |
CN214504212U (en) | K-line fault diagnosis testing device of air suspension electronic control module | |
CN201813545U (en) | Card interface test system of mobile terminal and automatic control device |
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 |