CN106941531B - Multipath detection device based on DSP and detection method thereof - Google Patents

Multipath detection device based on DSP and detection method thereof Download PDF

Info

Publication number
CN106941531B
CN106941531B CN201710195398.2A CN201710195398A CN106941531B CN 106941531 B CN106941531 B CN 106941531B CN 201710195398 A CN201710195398 A CN 201710195398A CN 106941531 B CN106941531 B CN 106941531B
Authority
CN
China
Prior art keywords
pin
chip
module
pins
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710195398.2A
Other languages
Chinese (zh)
Other versions
CN106941531A (en
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.)
Research Institute of Physical and Chemical Engineering of Nuclear Industry
Original Assignee
Research Institute of Physical and Chemical Engineering of Nuclear Industry
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 Research Institute of Physical and Chemical Engineering of Nuclear Industry filed Critical Research Institute of Physical and Chemical Engineering of Nuclear Industry
Priority to CN201710195398.2A priority Critical patent/CN106941531B/en
Publication of CN106941531A publication Critical patent/CN106941531A/en
Application granted granted Critical
Publication of CN106941531B publication Critical patent/CN106941531B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass
    • 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
    • H04L12/40006Architecture of a communication node
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a multipath detection device based on a DSP and a detection method thereof, wherein the detection device comprises a signal channel switching control module and a power supply module, wherein the signal channel switching control module synchronously transmits grouping signals to a signal preprocessing module connected with the signal channel switching control module, the signal preprocessing module is connected with a signal comparison module and an AD acquisition module, the signal comparison module and the AD acquisition module are connected with a main control chip, the main control chip is connected with a communication module, and the main control chip is also connected with a storage module; the detection method comprises the following steps: the method comprises the steps of starting, initializing each module, carrying out self-checking on a hardware signal path of the device, judging self-checking, judging whether quick rotation speed measurement is carried out, only carrying out rotation speed measurement, judging whether the specified rotation speed is reached, simultaneously measuring rotation speed vibration amplitude, inquiring whether a communication instruction exists, interrupting a subroutine, sending abnormal information of the device and ending. The invention has high cost performance and strong self-checking property, and improves the universality and interchangeability of the device.

Description

Multipath detection device based on DSP and detection method thereof
Technical Field
The invention belongs to an online detection device and a detection method thereof, and particularly relates to a multipath detection device based on a DSP and a detection method thereof.
Background
At present, measuring equipment capable of being used for synchronously detecting the rotation speed and the amplitude parameters of a plurality of rotary mechanical equipment is generally divided into two types, and the first type adopts sensors such as eddy current sensors, ultrasonic sensors, laser sensors and the like, and has the characteristics of large volume, high cost and the like, is suitable for measuring in a laboratory state, and does not have industrial field large-scale application conditions; the second type adopts measuring equipment with a low-cost speed measuring coil sensor, the measuring precision is low, the reliability of the measured result is low, and the application limitation is very large.
Disclosure of Invention
The invention provides a multipath detection device based on a DSP and a detection method thereof, aiming at solving the problems existing in the prior art.
The technical scheme of the invention is as follows: the utility model provides a multichannel detection device based on DSP, includes and receives 20 routes measured signal and carries out signal channel switching control module and power supply for the power supply module that group it, signal channel switching control module is with synchronous afferent signal preprocessing module rather than linking to each other of grouping signal, signal preprocessing module links to each other with signal comparison module, AD collection module, signal comparison module, AD collection module link to each other with the main control chip, the main control chip passes through communication module, inserts CAN communication network to link to upper monitoring system, the main control chip still links to each other with the memory module that stores the threshold value of rotating machinery equipment operating parameter.
The communication module is a CAN communication module, the detection device connected to the CAN communication network has a unique identification address, and the identification information of the device is stored in the storage module.
The signal channel switching control module comprises a main control chip, pins 26, 25 and 24 of the main control chip are respectively connected with pins 1, 16 and 15 of the four channel switching chips in sequence, a pin 10 of the main control chip outputs standard PWM square waves and is respectively connected with a pin 11 of the four channel switching chips, and pins 1-20 of the 20-way signal interface are respectively connected with pins 4, 5, 6, 7 and 12 of the four channel switching chips in sequence. The 8 pins of the four-channel switching chip are output signals after four-channel switching is finished respectively.
The signal preprocessing module comprises four identical preprocessing circuits, pins 8 and 4 of an I-type operational amplifier chip IN the preprocessing circuits are respectively connected with +12V and 12V, pins 2 of the I-type operational amplifier chip are sequentially connected with ground IN series with R1, C1 and L1, IN signals selected by the signal channel switching control module sequentially enter pins 3 of the operational amplifier chip through L2, C2 and R2 which are connected IN series, meanwhile, pins 3 of the I-type operational amplifier chip are grounded through R3, pins 1 of the I-type operational amplifier chip are preprocessed signal output pins, pins 1 of the I-type operational amplifier chip are connected with pins 2 through a resistor R4, signals OUT2 output by pins 1 of the I-type operational amplifier chip enter the signal comparison module, and signals OUT1 output by pins 1 of the I-type operational amplifier chip after passing through a resistor R5 enter the AD acquisition module.
The signal comparison module comprises four identical signal comparison circuits, a signal OUT2 output by the signal preprocessing module enters a pin 3 of a No. II operational amplifier chip through a resistor R6, and pins 8 and 4 of the No. II operational amplifier chip are respectively connected with 3.3V and ground. The 1, 2 pins of the II operational amplifier chip are connected to enter the 3 pin of the comparison chip through the resistor R7, the 8, 4 pins of the comparison chip are respectively connected with 3.3V and ground, 3.3V is connected with the resistors R9, R10 connected in series and is connected with ground to form resistance voltage division, the other end of R10 is connected with the 2 pin of the comparison chip, 3.3V is connected with the 1 pin of the comparison chip through the resistor R8, and the output of the 1 pin of the comparison chip is square wave signals and directly enters the main control chip to detect the rotating speed.
The AD acquisition module comprises an AD acquisition chip, wherein a 1 pin of the AD acquisition chip is connected with a 12V pin, a 48 pin of the AD acquisition chip is connected with a 12V pin, 8-13 pins and 34-41 pins of the AD acquisition chip are respectively connected with 18, 19, 20, 21, 2, 6, 175, 7, 174, 11, 12, 13, 16 and 17 pins of the main control chip, output signals of the AD acquisition chip are output in parallel, and the 16-23 pins and the 26-33 pins are respectively connected with 115, 116, 122, 123, 124 and 126-136 pins of the main control chip.
The communication module comprises a I isolation chip, a II isolation chip and a CAN bus driver, wherein a 1 pin of the I isolation chip is connected with 3.3V, a 6 pin is connected with +5V, a 5 pin is connected with a 6 pin through a resistor R12, a 4 pin is grounded, a 5 pin is connected with a 1 pin of the CAN bus driver, a 3 pin is connected with a 176 pin of a main control chip through a resistor R11, a 4 pin of the II isolation chip is grounded, a 1 pin is connected with +5V, a 6 pin is connected with 3.3V, a 5 pin is connected with a 6 pin through a resistor R14, a 3 pin is connected with a 4 pin of the CAN bus driver through a resistor R15, a 5 pin is connected with a 1 pin of the main control chip, a2 pin of the CAN bus driver is grounded, a 3 pin is connected with +5V, and a 6 pin and a 7 pin are respectively connected with CANL and CANH of a CAN communication network.
The memory module comprises a memory chip, 1, 2, 3, 4 and 7 pins of the memory chip are grounded, 8 pins are connected with 3.3V,6 pins are connected with 3.3V through a resistor R15, 5 pins are connected with 3.3V through a resistor R16, 5 pins of the memory chip are connected with 74 pins of a main control chip, and 6 pins are connected with 75 pins of the main control chip.
The detection method of any one of the DSP-based multipath detection devices comprises the following steps:
start (i)
(ii) initialization of the modules
After the device is started, initializing each peripheral function module of a main control chip, and reading the address and threshold information stored by the device;
(iii) device hardware Signal Path self-test
Detecting a hardware signal path of the device, outputting a standard PWM square wave with fixed frequency through a main control chip, gating the PWM square wave signal through a signal channel switching control module, and sending the PWM square wave signal to four paths of detection channels; detecting whether the hardware signal path of the device is normal by judging the detection result
(iv) determination of self-test passing
Judging whether the hardware signal path of the device is normal, if so, entering the step (v) to start detection, and if not, entering the step (xi);
(v) determining whether a rapid rotational speed measurement is made
Step (vi) is entered if a rapid rotational speed measurement is performed, and step (vii) is entered if a rapid rotational speed measurement is not performed;
(vi) measuring only the rotational speed
The quick rotation speed measurement is to measure rotation speed parameters only, other parameters are not detected, the rotation speed parameters of the current gating 4 paths of signals are calculated by reading the numerical values in the eCAP peripheral registers, then the channels are switched, the next group of 4 paths of signals are started, and rotation speed detection is sequentially carried out until the rotation speeds of the 5 groups of signals are completely measured;
(vii) determining whether the specified rotational speed is reached
Step (viii) if the specified rotation speed is reached, and step (v) if the specified rotation speed is not reached;
(viii) Simultaneous measurement of rotational speed vibration amplitude
Firstly, measuring the amplitude and the rotating speed of 4 paths of signals which are gated, and then measuring the rotating speed and the amplitude of the remaining 16 paths of signals;
(ix) inquiring whether there is a communication instruction
If the communication instruction exists, the step (x) is carried out, and if the communication instruction does not exist, the step (v) is carried out, and the next batch is switched to be measured;
(x) interrupt subroutine
Executing an interrupt subroutine;
(xi) transmitting device operation abnormality information
(xii) ending.
The interrupt subroutine includes the steps of:
(xiiii) start
(xiv) determining whether the communication time has expired
Step (xv) if the communication response time is exceeded, and step (xvi) if the communication response time is not exceeded;
(xv) showing communication abnormality
Alarming and displaying abnormal communication;
(xvi) inquiry CAN mailbox received instruction
Inquiring whether the CAN mailbox of the device receives an instruction of the upper monitoring system, if not, entering the step (ii), and if so, entering the step (vii);
(xvii) determining whether the address matches the device
Step (ii) if the address in the instruction does not match the device, step (xvi) if the address in the instruction matches the device;
(xvi) acquiring and analyzing communication data
(xiix) performing the corresponding operation and returning data according to the instruction
(ii) x.
The invention has high cost performance and can realize synchronous detection of the rotating speed and the amplitude of 20 rotating mechanical equipment; the self-checking of the hardware signal path can be realized, and the fault of the device itself in the using process can be found in time; the identification address of the device in the communication network can be stored, the identification address of the device can be modified and inquired on line, and the universality and interchangeability of the device are improved; the method can store the threshold value of the operation parameter of the rotary mechanical equipment, and save the field data for the operation state analysis of the follow-up rotary mechanical equipment when the operation state parameter exceeds the threshold value range.
Drawings
FIG. 1 is a schematic circuit diagram of a detecting device according to the present invention;
FIG. 2 is a schematic circuit diagram of a signal channel switching control module according to the present invention;
FIG. 3 is a schematic circuit diagram of a signal preprocessing module according to the present invention;
FIG. 4 is a schematic circuit diagram of a signal comparison module according to the present invention;
FIG. 5 is a schematic circuit diagram of an AD acquisition module according to the invention;
FIG. 6 is a schematic circuit diagram of a communication module according to the present invention;
FIG. 7 is a schematic circuit diagram of a memory module according to the present invention;
FIG. 8 is a schematic diagram of a power supply module of WRA2412S of the present invention;
FIG. 9 is a schematic diagram of a power module circuit of K7805 of the present invention;
FIG. 10 is a schematic diagram of the power supply module of TPS767D301 according to the present invention;
FIG. 11 is a flow chart of a method of detection in the present invention;
FIG. 12 is a flow chart of a method of interrupting a subroutine in the present invention;
wherein:
1 signal channel switching control module 2 signal preprocessing module
3 signal comparison module 4AD acquisition module
5 master control chip 6 communication module
7 storage module 8 power supply module
1020-path signal interface of 9-channel switching chip
No. 11I operational amplifier chip and No. 12 II operational amplifier chip
13 comparison chip 14AD acquisition chip
No. 15I isolation chip and No. 16 II isolation chip
17CAN bus driver 18 memory chip
19WRA2412S chip 20K7805 chip
21TPS767D301 chip.
Detailed Description
The present invention will be described in detail below with reference to the drawings and examples:
as shown in fig. 1, the multipath detection device based on the DSP comprises a signal channel switching control module 1 and a power supply module 8, wherein the signal channel switching control module 1 receives 20 paths of detected signals and groups the detected signals, the signal channel switching control module 1 synchronously transmits the grouped signals into a signal preprocessing module 2 connected with the signal channel switching control module, the signal preprocessing module 2 is connected with a signal comparison module 3 and an AD acquisition module 4, the signal comparison module 3 and the AD acquisition module 4 are connected with a main control chip 5, and the main control chip 5 is connected with a CAN communication network through a communication module 6 and is connected to an upper monitoring system, and the main control chip 5 is also connected with a storage module 7 for storing the threshold value of the operation parameters of the rotating mechanical equipment.
The communication module 6 is a CAN communication module, the detection device connected to the CAN communication network has a unique identification address, and the identification information of the device is stored in the storage module 7.
As shown in fig. 2, the signal channel switching control module 1 includes a main control chip 5, pins 26, 25 and 24 of the main control chip 5 are respectively connected with pins 1, 16 and 15 of the four channel switching chips 9 in sequence, pin 10 of the main control chip 5 outputs standard PWM square waves and is respectively connected with pin 11 of the four channel switching chips 9, and pins 1-20 of the 20-channel signal interface 10 are respectively connected with pins 4, 5, 6, 7 and 12 of the four channel switching chips 9 in sequence. The 8 pins of the four-channel switching chip 9 are output signals after four-channel switching is completed.
The signal channel switching control module 1 is responsible for realizing the switching between the tested signal and the standard signal and the switching of 20 paths of tested signals under the control of the main control chip.
The corresponding relationship between the gating signal of the main control chip 5 and the channel switching chip selection signal channel is shown in table 1:
table 1 channel switching chip and Signal channel correspondence table
As shown IN FIG. 3, the signal preprocessing module 2 comprises four identical preprocessing circuits, pins 8 and 4 of the No. I operational amplifier chip 11 IN the preprocessing circuits are respectively connected with +12V and 12V, pins 2 of the No. I operational amplifier chip 11 are sequentially connected with R1, C1 and L1 IN series, IN signals selected by the signal channel switching control module sequentially pass through L2, C2 and R2 which are connected IN series and enter 3 pins of the operational amplifier chip, meanwhile, pin 3 of the No. I operational amplifier chip 11 is grounded through R3, pin 1 of the No. I operational amplifier chip 11 is a preprocessed signal output pin, pin 1 of the No. I operational amplifier chip 11 is connected with pin 2 through a resistor R4, signal OUT2 output by pin 1 of the No. I operational amplifier chip 11 enters the signal comparison module 3, and signal OUT1 output by pin 1 of the No. I operational amplifier chip 11 after passing through a resistor R5 enters the AD acquisition module 4.
As shown in fig. 4, the signal comparing module 3 includes four identical signal comparing circuits, and the signal OUT2 output by the signal preprocessing module 2 enters the 3 pin of the No. ii op-amp chip 12 through the resistor R6, and the 8 pin and the 4 pin of the No. ii op-amp chip 12 are respectively connected with 3.3V and ground. The pins 1 and 2 of the operational amplifier chip 12 are connected with each other and enter the pin 3 of the comparison chip 13 through the resistor R7, the pins 8 and 4 of the comparison chip 13 are respectively connected with 3.3V and ground, 3.3V is connected with the resistors R9 and R10 which are connected in series and is connected with the ground to form resistor voltage division, the other end of the R10 is connected with the pin 2 of the comparison chip 13, 3.3V is connected with the pin 1 of the comparison chip through the resistor R8, and the output of the pin 1 of the comparison chip 13 is square wave signals and directly enters the main control chip 5 to detect the rotating speed.
The signal comparison module circuit is mainly responsible for completing conversion of sine wave signals into square wave signals with the same frequency so as to meet the detection of the signals by the main control chip 5.
As shown in FIG. 5, the AD acquisition module 4 comprises an AD acquisition chip 14, the 1 pin of the AD acquisition chip 14 is connected with-12V, the 48 pin is connected with +12V, the 8-13 pins and the 34-41 pins are respectively connected with the 18, 19, 20, 21, 2, 6, 175, 7, 174, 11, 12, 13, 16 and 17 pins of the main control chip 5, the output signals of the AD acquisition chip 14 are output in parallel, and the 16-23 pins and the 26-33 pins are respectively connected with the 115, 116, 122, 123, 124 and 126-136 pins of the main control chip.
The AD acquisition module circuit is mainly responsible for converting analog signals into digital signals.
As shown in FIG. 6, the communication module 6 includes an I-isolation chip 15, an II-isolation chip 16, and a CAN bus driver 17, wherein the 1 pin of the I-isolation chip 15 is connected with 3.3V, the 6 pin is connected with +5V, the 5 pin is connected with the 6 pin by a resistor R12, the 4 pin is grounded, the 5 pin is connected with the 1 pin of the CAN bus driver 17, the 3 pin is connected with the 176 pin of the main control chip 15 by a resistor R11, the 4 pin of the II-isolation chip 16 is grounded, the 1 pin is connected with +5V, the 6 pin is connected with 3.3V, the 5 pin is connected with the 6 pin by a resistor R14, the 3 pin is connected with the 4 pin of the CAN bus driver 17 by a resistor R15, the 5 pin is connected with the 1 pin of the main control chip 5, the 2 pin of the CAN bus driver 17 is grounded, the 3 pin is connected with +5V, the 8 pin is grounded by a resistor R13, and the 6 and 7 pins are respectively connected with CANL and CANH of the CAN communication network.
The communication module circuit is mainly responsible for completing the receiving of the instruction and the transmission of the data.
As shown in fig. 7, the memory module 7 includes a memory chip 18, pins 1, 2, 3, 4, and 7 of the memory chip 18 are grounded, pin 8 is connected to 3.3V, pin 6 is connected to 3.3V through a resistor R15, pin 5 is connected to 3.3V through a resistor R16, pin 5 of the memory chip 18 is connected to pin 74 of the main control chip 5, and pin 6 is connected to pin 75 of the main control chip 5.
The memory module circuit is mainly used for completing the storage of the device address, the threshold value and the abnormal operation state measurement parameters.
As shown in fig. 8-10, the power supply module 8 includes a WRA2412S chip 19, a K7805 chip 20, a TPS767D301 chip 21, a 1 pin of the WRA2412S chip 19 is grounded, a2 pin is connected with +24v,1 and 2 pins through a capacitor C3, a 6 pin output +12v, an 8 pin output-12 v, and a 7 pin is grounded, a 6 pin and a 7 pin are connected through a capacitor C4, and a 7 pin and an 8 pin are connected through a capacitor C5; the 1 pin of the K7805 chip 20 is connected with +24V, the 2 pin is grounded, the 3 pin outputs +5V, the 1 pin and the 2 pin are connected through a capacitor C6, and the 2 pin and the 3 pin are connected through a capacitor C7; pins 5, 6, 11 and 12 of the TPS767D301 chip 21 are connected with pins +5V, pins 3 and 9 are grounded, pins 17 and 18 output 3.3V, and pins 23 and 24 output 1.9V.
The detection method of any one of the DSP-based multipath detection devices comprises the following steps:
start S1
(ii) initialization of each Module S2
After the device is started, initializing each peripheral function module of the main control chip 5, and reading the address and threshold information stored by the device;
(iii) device hardware Signal Path self-test S3
Detecting a hardware signal path of the device, outputting a standard PWM square wave with fixed frequency through a main control chip 5, gating the PWM square wave signal through a signal channel switching control module 1, and sending the PWM square wave signal to four paths of detection channels; detecting whether the hardware signal path of the device is normal by judging the detection result
(iv) judging that the self-test passes S4
Judging whether the hardware signal path of the device is normal, if so, entering the step (v) to start detection, and if not, entering the step (xi);
(v) determining whether a fast rotation speed measurement S5
Step (vi) is entered if a rapid rotational speed measurement is performed, and step (vii) is entered if a rapid rotational speed measurement is not performed;
(vi) performing only rotational speed measurement S6
The quick rotation speed measurement is to measure rotation speed parameters only, other parameters are not detected, the rotation speed parameters of the current gating 4 paths of signals are calculated by reading the numerical values in the eCAP peripheral registers, then the channels are switched, the next group of 4 paths of signals are started, and rotation speed detection is sequentially carried out until the rotation speeds of the 5 groups of signals are completely measured;
(vii) determining whether the specified rotation speed S7 is reached
Step (viii) if the specified rotation speed is reached, and step (v) if the specified rotation speed is not reached;
(viii) Simultaneous measurement of rotational speed vibration amplitude S8
Firstly, measuring the amplitude and the rotating speed of 4 paths of signals which are gated, and then measuring the rotating speed and the amplitude of the remaining 16 paths of signals;
(ix) inquiring whether there is a communication instruction S9
If the communication instruction exists, the step (x) is carried out, and if the communication instruction does not exist, the step (v) is carried out, and the next batch is switched to be measured;
(x) interrupt subroutine S10
Executing an interrupt subroutine;
(xi) transmitting device operation abnormality information S11
(xii) ending S12.
The interrupt subroutine includes the steps of:
(xiii) start S13
(xiv) determining whether the communication time has exceeded S14
Step (xv) if the communication response time is exceeded, and step (xvi) if the communication response time is not exceeded;
(xv) showing communication abnormality S15
Alarming and displaying abnormal communication;
(xvi) query CAN mailbox receive instruction S16
Inquiring whether the CAN mailbox of the device receives an instruction of the upper monitoring system, if not, entering the step (ii), and if so, entering the step (vii);
(xvii) determining whether the address matches the device S17
Step (ii) if the address in the instruction does not match the device, step (xvi) if the address in the instruction matches the device;
(xvi) acquiring communication data and analyzing S18
(xiix) performing the corresponding operation according to the instruction and returning data S19
(ii) ending S20.
The invention has high cost performance and can realize synchronous detection of the rotating speed and the amplitude of 20 rotating mechanical equipment; the self-checking of the hardware signal path can be realized, and the fault of the device itself in the using process can be found in time; the identification address of the device in the communication network can be stored, the identification address of the device can be modified and inquired on line, and the universality and interchangeability of the device are improved; the method can store the threshold value of the operation parameter of the rotary mechanical equipment, and save the field data for the operation state analysis of the follow-up rotary mechanical equipment when the operation state parameter exceeds the threshold value range.

Claims (8)

1. The detection method of the multipath detection device based on the DSP, the multipath detection device comprises a signal channel switching control module (1) and a power supply module (8) for power supply, wherein the signal channel switching control module is used for receiving and grouping 20 paths of detected signals, and the multipath detection device is characterized in that: the signal channel switching control module (1) synchronously transmits the grouping signals to the signal preprocessing module (2) connected with the signal preprocessing module, the signal preprocessing module (2) is connected with the signal comparison module (3) and the AD acquisition module (4), the signal comparison module (3) and the AD acquisition module (4) are connected with the main control chip (5), the main control chip (5) is connected with the CAN communication network through the communication module (6) and is connected to the upper monitoring system, and the main control chip (5) is also connected with the storage module (7) for storing the threshold value of the operation parameters of the rotating mechanical equipment;
the detection method comprises the following steps:
start (i)
(ii) initialization of the modules
After the device is started, initializing each peripheral function module of a main control chip (5) and reading the address and threshold information stored by the device;
(iii) device hardware Signal Path self-test
Detecting a hardware signal path of the device, outputting a standard PWM square wave with fixed frequency through a main control chip (5), gating the PWM square wave signal through a signal channel switching control module (1), and sending the PWM square wave signal to four paths of detection channels; detecting whether the hardware signal path of the device is normal by judging the detection result
(iv) determination of self-test passing
Judging whether the hardware signal path of the device is normal, if so, entering the step (v) to start detection, and if not, entering the step (xi);
(v) determining whether a rapid rotational speed measurement is made
Step (vi) is entered if a rapid rotational speed measurement is performed, and step (vii) is entered if a rapid rotational speed measurement is not performed;
(vi) measuring only the rotational speed
The quick rotation speed measurement is to measure rotation speed parameters only, other parameters are not detected, the rotation speed parameters of the current gating 4 paths of signals are calculated by reading the numerical values in the eCAP peripheral registers, then the channels are switched, the next group of 4 paths of signals are started, and rotation speed detection is sequentially carried out until the rotation speeds of the 5 groups of signals are completely measured;
(vii) determining whether the specified rotational speed is reached
Step (viii) if the specified rotation speed is reached, and step (v) if the specified rotation speed is not reached;
(viii) Simultaneous measurement of rotational speed vibration amplitude
Firstly, measuring the amplitude and the rotating speed of 4 paths of signals which are gated, and then measuring the rotating speed and the amplitude of the remaining 16 paths of signals;
(ix) inquiring whether there is a communication instruction
If the communication instruction exists, the step (x) is carried out, and if the communication instruction does not exist, the step (v) is carried out, and the next batch is switched to be measured;
(x) interrupt subroutine
Executing an interrupt subroutine;
(xi) transmitting device operation abnormality information
(xii) ending;
the interrupt subroutine includes the steps of:
(xiiii) start
(xiv) determining whether the communication time has expired
Step (xv) if the communication response time is exceeded, and step (xvi) if the communication response time is not exceeded;
(xv) showing communication abnormality
Alarming and displaying abnormal communication;
(xvi) inquiry CAN mailbox received instruction
Inquiring whether the CAN mailbox of the device receives an instruction of the upper monitoring system, if not, entering the step (ii), and if so, entering the step (vii);
(xvii) determining whether the address matches the device
Step (ii) if the address in the instruction does not match the device, step (xvi) if the address in the instruction matches the device;
(xvi) acquiring and analyzing communication data
(xiix) performing the corresponding operation and returning data according to the instruction
(ii) x.
2. The method for detecting a DSP-based multiplexing detection apparatus according to claim 1, wherein: the communication module (6) is a CAN communication module, the detection device connected to the CAN communication network has a unique identification address, and the identification information of the device is stored in the storage module (7).
3. The method for detecting a DSP-based multiplexing detection apparatus according to claim 1, wherein: the signal channel switching control module (1) comprises a main control chip (5), pins 26, 25 and 24 of the main control chip (5) are respectively connected with pins 1, 16 and 15 of the four channel switching chips (9) in sequence, a pin 10 of the main control chip (5) outputs standard PWM square waves and is respectively connected with a pin 11 of the four channel switching chips (9), pins 1-20 of the 20-channel signal interface (10) are respectively connected with pins 4, 5, 6, 7 and 12 of the four channel switching chips (9) in sequence, and a pin 8 of the four channel switching chips (9) is respectively an output signal after four channels of switching are completed.
4. The method for detecting a DSP-based multiplexing detection apparatus according to claim 1, wherein: the signal preprocessing module (2) comprises four identical preprocessing circuits, pins 8 and 4 of the I-shaped operational amplifier chip (11) IN the preprocessing circuits are respectively connected with +12V and 12V, pins 2 of the I-shaped operational amplifier chip (11) are sequentially connected with ground IN series with R1, C1 and L1, IN signals selected by the signal channel switching control module sequentially pass through L2, C2 and R2 which are connected IN series and enter 3 pins of the operational amplifier chip, meanwhile, the 3 pins of the I-shaped operational amplifier chip (11) are grounded through R3, pin 1 of the I-shaped operational amplifier chip (11) is a preprocessed signal output pin, pin 1 of the I-shaped operational amplifier chip (11) is connected with pin 2 through a resistor R4, signal OUT2 output by pin 1 of the I-shaped operational amplifier chip (11) enters the signal comparison module (3), and signal OUT1 output by pin 1 of the I-shaped operational amplifier chip (11) after passing through a resistor R5 enters the AD acquisition module (4).
5. The method for detecting a DSP-based multiplexing detection apparatus according to claim 4, wherein: the signal comparison module (3) comprises four identical signal comparison circuits, a signal OUT2 output by the signal preprocessing module (2) enters a 3 pin of a II operational amplifier chip (12) through a resistor R6, 8 pins and 4 pins of the II operational amplifier chip (12) are respectively connected with 3.3V and ground, 1 pin and 2 pin of the II operational amplifier chip (12) are connected with each other and enter the 3 pin of the comparison chip (13) through a resistor R7, 8 pins and 4 pin of the comparison chip (13) are respectively connected with 3.3V and ground, 3.3V is connected with resistors R9 and R10 which are connected in series and connected with the ground to form resistor voltage division, the other end of the R10 is connected with the 2 pin of the comparison chip (13), 3.3V is connected with the 1 pin of the comparison chip through a resistor R8, and the output of the 1 pin of the comparison chip (13) is square wave signals which directly enter the main control chip (5) for detecting the rotating speed.
6. The method for detecting a DSP-based multiplexing detection apparatus according to claim 1, wherein: the AD acquisition module (4) comprises an AD acquisition chip (14), wherein a 1 pin of the AD acquisition chip (14) is connected with-12V, a 48 pin of the AD acquisition chip is connected with +12V, 8-13 pins and 34-41 pins of the AD acquisition chip are respectively connected with 18, 19, 20, 21, 2, 6, 175, 7, 174, 11, 12, 13, 16 and 17 pins of a main control chip (5), output signals of the AD acquisition chip (14) are output in parallel, and 16-23 pins and 26-33 pins of the AD acquisition chip are respectively connected with 115, 116, 122, 123, 124 and 126-136 pins of the main control chip.
7. The method for detecting a DSP-based multiplexing detection apparatus according to claim 1, wherein: the communication module (6) comprises a I isolation chip (15), a II isolation chip (16) and a CAN bus driver (17), wherein a 1 pin of the I isolation chip (15) is connected with 3.3V, a 6 pin is connected with +5V, a 5 pin is connected with the 6 pin through a resistor R12, a 4 pin is grounded, a 5 pin is connected with a 1 pin of the CAN bus driver (17), a 3 pin is connected with a 176 pin of the main control chip (15) through a resistor R11, a 4 pin of the II isolation chip (16) is grounded, a 1 pin is connected with +5V, a 6 pin is connected with 3.3V, a 5 pin is connected with the 6 pin through a resistor R14, a 3 pin is connected with the 4 pin of the CAN bus driver (17) through a resistor R15, a 5 pin is connected with the 1 pin of the main control chip (5), a2 pin of the CAN bus driver (17) is grounded, a 3 pin is connected with +5V, a 8 pin is grounded through a resistor R13, and 6 and 7 pins are respectively connected with CANL and CANH of a CAN communication network.
8. The method for detecting a DSP-based multiplexing detection apparatus according to claim 1, wherein: the memory module (7) comprises a memory chip (18), 1, 2, 3, 4 and 7 pins of the memory chip (18) are grounded, 8 pins are connected with 3.3V,6 pins are connected with 3.3V through a resistor R15, 5 pins are connected with 3.3V through a resistor R16, 5 pins of the memory chip (18) are connected with 74 pins of the main control chip (5), and 6 pins are connected with 75 pins of the main control chip (5).
CN201710195398.2A 2017-03-29 2017-03-29 Multipath detection device based on DSP and detection method thereof Active CN106941531B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710195398.2A CN106941531B (en) 2017-03-29 2017-03-29 Multipath detection device based on DSP and detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710195398.2A CN106941531B (en) 2017-03-29 2017-03-29 Multipath detection device based on DSP and detection method thereof

Publications (2)

Publication Number Publication Date
CN106941531A CN106941531A (en) 2017-07-11
CN106941531B true CN106941531B (en) 2023-08-01

Family

ID=59463952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710195398.2A Active CN106941531B (en) 2017-03-29 2017-03-29 Multipath detection device based on DSP and detection method thereof

Country Status (1)

Country Link
CN (1) CN106941531B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613288B (en) * 2017-09-25 2019-06-25 北京世纪东方通讯设备有限公司 A kind of group technology and system diagnosing multiple paths of video images quality
CN110989465A (en) * 2019-12-25 2020-04-10 核工业理化工程研究院 Distributed intelligent signal acquisition device
CN112202505B (en) * 2020-11-11 2024-06-18 核工业理化工程研究院 Tester and method based on embedded equipment monitoring device
CN113433846B (en) * 2021-05-24 2022-10-28 核工业理化工程研究院 Modular combined type frequency converter power module control board based on DSP

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202018346U (en) * 2011-04-18 2011-10-26 北京航天正信科技有限公司 Temperature acquisition module with automatic fault diagnosis function
CN103645730B (en) * 2013-12-09 2016-01-13 成都乐创自动化技术股份有限公司 A kind of motion control card with self-checking function and detection method
CN103914044B (en) * 2014-03-26 2016-07-06 北方信息控制集团有限公司 A kind of intelligent on-line monitoring protection device
CN104483011B (en) * 2014-11-07 2017-06-27 南京理工大学紫金学院 A kind of on-line checking of rotating machinery multi-channel Vibration Signal and analysis system and method

Also Published As

Publication number Publication date
CN106941531A (en) 2017-07-11

Similar Documents

Publication Publication Date Title
CN106941531B (en) Multipath detection device based on DSP and detection method thereof
CN103698695A (en) Multifunctional electrical characteristic testing device and testing method for high-voltage circuit breaker
CN101739022A (en) Performance test system and method for control unit of engine
CN205229440U (en) A detecting system for detecting partial discharge detector
CN101957428A (en) Automatic test method and tool of monitoring circuit board
CN107013421A (en) A kind of wind power generating set wheel speed measuring method and system
KR20080073329A (en) Control/monitor signal transmission system
CN202171595U (en) Overspeed protection module and overspeed protection system using same
CN201215564Y (en) Electronic instrument type speed sensor detection platform for automobile and motorcycle
CN110470957A (en) A kind of generator insulating fault comprehensive detection and diagnosis system
CN202002938U (en) Wireless wind speed detector
CN209841180U (en) Online acoustic signal gathers and marking device
CN113608065B (en) Multi-direct-current system looped network fault monitoring device and method
CN203788304U (en) Device for testing function of hardware interface
CN203422633U (en) Multi-signal acquisition velocity measurement and reverse rotation protection control device
CN104849086A (en) DSP-based multi-channel detection instrument
CN202693310U (en) Fault diagnosis system for multi-channel mechanical equipment
CN210426826U (en) Multi-channel high-temperature sensor resistance and temperature detection equipment based on multiple communications
CN103995143A (en) Rotation differential speed signal measuring apparatus
CN210893480U (en) Shaft temperature alarm testing device
CN110632445A (en) System and method for detecting A, B phase signal line disconnection of incremental encoder
CN112034362A (en) Power battery multichannel synchronous detection board
CN105865815B (en) EMU brake tester endpoint detection system and method
CN204129514U (en) A kind of detection device for electronic control unit based on FlexRay bus
CN108981968A (en) A kind of resistance and temperature testing equipment for multichannel pyrostat

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
GR01 Patent grant
GR01 Patent grant