CN104678187A - Pulse signal test device and pulse signal test method based on DSP (digital signal processor) control - Google Patents

Pulse signal test device and pulse signal test method based on DSP (digital signal processor) control Download PDF

Info

Publication number
CN104678187A
CN104678187A CN201310634912.XA CN201310634912A CN104678187A CN 104678187 A CN104678187 A CN 104678187A CN 201310634912 A CN201310634912 A CN 201310634912A CN 104678187 A CN104678187 A CN 104678187A
Authority
CN
China
Prior art keywords
pulse signal
signal
numerical value
level
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310634912.XA
Other languages
Chinese (zh)
Inventor
周鹏
耿辉
王乃福
张�林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Dalian R&D Co Ltd
Original Assignee
CNR Dalian Electric Traction R& D Center Co Ltd
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 CNR Dalian Electric Traction R& D Center Co Ltd filed Critical CNR Dalian Electric Traction R& D Center Co Ltd
Priority to CN201310634912.XA priority Critical patent/CN104678187A/en
Publication of CN104678187A publication Critical patent/CN104678187A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a pulse signal test device and a pulse signal test method based on DSP (digital signal processor) control. The device comprises first and second electric level converter circuits, photoelectric and electro-optic converter circuits, a DSP controller, a communication interface circuit, a display module and a power supply, wherein input ends of the first electric level converter circuit and the photoelectric converter circuit are connected with a TCU (tape control unit) pulse output port; output ends of the first electric level converter circuit and the photoelectric converter circuit are connected with the DSP controller; the DSP controller is used for capturing and processing a pulse signal to obtain a tested result; the input ends of the second electric level converter circuit and the electro-optic converter circuit are connected with the DSP controller, the output ends of the second electric level converter circuit and the electro-optic converter circuit are connected with a TCU drive feedback port; the communication interface circuit is connected with the display module and the DSP controller; the power supply is used for supplying power to the parts. The DSP controller is used for measuring, so that the dependence on waveform test equipment of an oscilloscope and the like is eliminated; the device is integrated with the photoelectric converter circuit, so that an extra photoelectric converter circuit is not needed during the test of a light pulse signal, and thus, the test prepare work is saved and the test efficiency is improved.

Description

The pulsed test signal device controlled based on DSP and method of testing
Technical field
The present invention relates to rail vehicle traction current transformation technology, particularly relate to a kind of pulsed test signal device of controlling based on DSP (digital signal processor digital signal processor) and method of testing.
Background technology
Traction convertor is the most important building block of rail traffic vehicles, and the electric energy of electrical network being converted to the electric energy supply vehicle required for vehicle by it, is rail traffic vehicles " heart ".Traction control unit (Traction Control Unit is also known as TCU) is again the most crucial parts of traction convertor, by the related data of TCU acquisition trajectory vehicular traffic, data input controller carries out computing, operation result is applied to the IGBT(Insulated Gate Bipolar Transistor insulated gate bipolar transistor in current transformer in the mode of high-frequency pulse signal) on device, IGBT carries out HF switch action under the effect of pulse signal, thus realizes the control to rail traffic vehicles.The quality of TCU performance produces material impact to the runnability of rail traffic vehicles.
The TCU signal be applied on IGBT is the pulse signal sent after controller carries out computing, and the quality of pulse signal directly affects the control of rail traffic vehicles.The applying mode of pulse signal can be divided into two kinds again, and wherein a kind of is directly be applied on the drive plate of TCU by electric impulse signal, by drive plate, pulse signal is amplified rear drive TCU and works; Another kind converts the electrical signal to light signal, exports with the form of light signal, then convert electric signal to and be applied on the drive plate of TCU.
Prior art
Traditional method of testing needs to be measured by oscillograph, and on oscillograph window, the waveform of paired pulses is observed, the amplitude of read pulse, frequency, and the Dead Time of upper and lower bridge arm pulse.
Need the output waveform at the pulse output end ranging pulse of TCU when carrying out pulse test, also need to measure the pulse waveform be applied on IGBT drive plate.When not using optical signal transmission, the pulse signal of TCU is applied directly on the drive plate of IGBT, only measures the output terminal of TCU; Under using the feelings road conditions of optical signal transmission, then need the pulse output end measuring TCU and the pulse signal be applied on drive plate.
The shortcoming of prior art
Traditional pulse test method needs to use oscillograph, and some data also needs manually to read on display window.When measure TCU direct output electric pulse signal measure or fairly simple; When measuring TCU output optical pulse signal, also need extra photoelectric conversion device to convert light signal to electric signal and measure, the preliminary work of test increases greatly, very large to the dependence of testing apparatus.
Summary of the invention
The invention provides a kind of pulsed test signal device based on DSP control and method of testing, for overcoming defect of the prior art, break away from the dependence to waveform testing equipment such as oscillographs, do not needed extra photoelectric switching circuit, greatly save the utility appliance that test prepares.
The invention provides a kind of pulsed test signal device controlled based on DSP, comprising:
Display module, the operation according to operator sends initialization directive to dsp controller, and shows test results according to the feedback of described dsp controller;
Input modular converter, comprising:
Photoelectric switching circuit, completes the conversion of light signal to electric signal, and input end is for connecting TCU light pulse signal output port, and output terminal output electric pulse signal also connects dsp controller and catches input end;
First level shifting circuit, input end is for connecting TCU electric impulse signal output port, and output terminal connects dsp controller and catches input end;
Described dsp controller, catches the electric impulse signal of input end and processes the pulse signal of catching, and obtains test result, test result is passed to display module; Described electric signal is passed to output modular converter through DSP output terminal;
Export modular converter, comprising:
Electro-optical conversion circuit, completes the conversion of electric signal to light signal, and input end connects dsp controller output terminal, and output terminal is for connecting described TCU drive feedback input port;
Second electrical level change-over circuit, input end connects dsp controller output terminal, and output terminal is for connecting described TCU drive feedback input port;
Communication interface circuit, for connecting described display module and described dsp controller, realizes the transmission of described initialization directive and test result;
Power supply, provides power supply to described dsp controller, photoelectric switching circuit, electro-optical conversion circuit, the first level shifting circuit, second electrical level change-over circuit and communication interface circuit.
The present invention also provides a kind of pulsed test signal method controlled based on DSP, comprises the following steps:
Step 1, starts power supply, then sends initialization directive to dsp controller; Electric signal is passed to output modular converter through dsp controller output terminal;
Step 2, second electrical level change-over circuit exports described TCU drive feedback input port to through electrical signal mouth after the electrical signal levels of input being raised; Described TCU drive feedback input port is exported to through light signal output end mouth after electro-optical conversion circuit converts the electric signal of input to light signal;
Step 3, input modular converter receives the pulse signal that TCU exports, and when the pulse signal that TCU exports is electric signal, above-mentioned electric impulse signal is handed to the first level shifting circuit through electric signal input end oral instructions; When the pulse signal that TCU exports is light signal, above-mentioned light pulse signal is handed to photoelectric switching circuit through optical signal input oral instructions;
Step 4, the first level shifting circuit exports dsp controller to after the electrical signal levels of input being reduced and catches input end; Photoelectric switching circuit exports dsp controller to after converting the light signal of input to electric signal and catches input end;
Step 5, catches the electric impulse signal of input end and processes the electric impulse signal of catching, and obtains test result, test result is passed to display module through communication interface circuit.
Pulsed test signal device based on DSP control provided by the invention and method of testing, measured by dsp controller pulse signals, break away from the dependence to waveform testing equipment such as oscillographs, in addition, owing to being integrated with photoelectric switching circuit in device, when test sends the TCU of light pulse signal, do not need extra photoelectric switching circuit, greatly save the preliminary work of test, when typical products in mass production is tested, will testing efficiency be significantly improved.
Accompanying drawing explanation
The structural representation of the proving installation that Fig. 1 provides for the embodiment of the present invention;
The structural representation of dsp controller in the proving installation that Fig. 2 provides for the embodiment of the present invention;
The test flow chart of the method for testing that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 catches moment schematic diagram in Fig. 3.
Embodiment
As shown in Figure 1, the invention provides a kind of pulsed test signal device controlled based on DSP, comprise input modular converter 1, dsp controller 2, export modular converter 3, communication interface circuit 4, display module 5 and power supply 6; Display module 5 sends initialization directive according to the operation of operator to dsp controller 2, and shows test results according to the feedback of dsp controller 2; Input modular converter 1 comprises the first level shifting circuit 11 with photoelectric switching circuit 12: the first level shifting circuit 11 input end for being connected the electric impulse signal output port of TCU10, and the first level shifting circuit 11 output terminal connects dsp controller 2 and catches input end; Photoelectric switching circuit 12 completes the conversion of light signal to electric signal, and photoelectric switching circuit 12 input end is for connecting the light pulse signal output port of TCU10, and photoelectric switching circuit 12 output terminal output electric pulse signal also connects dsp controller 2 and catches input end; Dsp controller 2 is caught the electric signal of input end and is processed the described electric signal of catching, and obtains test result, test result is passed to display module; Electric signal is passed to through output terminal and exports modular converter 3; Export modular converter 3 and comprise second electrical level change-over circuit 31 and electro-optical conversion circuit 32, second electrical level change-over circuit 31 input end connects dsp controller 2 output terminal, and second electrical level change-over circuit 31 output terminal is for connecting TCU10 drive feedback input port; Electro-optical conversion circuit 32 completes the conversion of electric signal to light signal, and electro-optical conversion circuit 32 input end connects dsp controller 2 output terminal, and electro-optical conversion circuit 32 output terminal is for connecting TCU10 drive feedback input port; Communication interface circuit 4, for connecting display module 5 and dsp controller 2, realizes the transmission of test instruction and test result; Power supply 6 is for providing power supply to dsp controller 2, first level shifting circuit 11, photoelectric switching circuit 12, second electrical level change-over circuit 31, electro-optical conversion circuit 32 and communication interface circuit 4.
Dsp controller 2 input end is provided with capture-port, dsp controller 2 output terminal is provided with I/O port, first level shifting circuit 11 output terminal and photoelectric switching circuit 12 output terminal all connect this capture-port, and second electrical level change-over circuit input end and electro-optical conversion circuit input end all connect this I/O port.
The present invention also provides a kind of pulsed test signal method controlled based on DSP, comprises the following steps:
Step 1, starts power supply 6, sends initialization directive to dsp controller 2; Electric signal is passed to output modular converter through dsp controller output terminal;
Step 2, exports the drive feedback input port of TCU10 to through electrical signal mouth 3a after the electrical signal levels of input raises by second electrical level change-over circuit 31; Export the drive feedback input port of TCU10 to through light signal output end mouth 3b after electro-optical conversion circuit 32 converts the electric impulse signal of input to light pulse signal.
Step 3, input modular converter 1 receives the pulse signal that TCU10 exports, and when the pulse signal that TCU10 exports is electric signal, above-mentioned electric impulse signal is passed to the first level shifting circuit 11 through electric signal input end mouth 1a; When the pulse signal that TCU10 exports is light signal, above-mentioned light pulse signal is passed to photoelectric switching circuit 12 through optical signal input mouth 1b;
Step, the 4, first level shifting circuit 11 exports dsp controller 2 to after the electrical signal levels of input being reduced and catches input end; Photoelectric switching circuit 12 exports dsp controller 2 to after converting the light signal of input to electric signal and catches input end;
Step 5, dsp controller 2 is caught the electric impulse signal of input end and is processed the electric impulse signal of catching, and obtains test result, test result is passed to display module 5 through communication interface circuit 4.
Pulsed test signal device based on DSP control provided by the invention and method of testing, the pulse signal exported by dsp controller 2 couples of TCU10 is measured, break away from the dependence to waveform testing equipment such as oscillographs, in addition, owing to being integrated with photoelectric switching circuit and electro-optical conversion circuit in device, when test sends the TCU10 of light pulse signal, do not need extra photoelectric switching circuit, greatly save the preliminary work of test, when typical products in mass production is tested, will testing efficiency be significantly improved.
As the preferred version of above-described embodiment, as in Figure 2-4, dsp controller 2 comprises counting module 21, trapping module 23 and processing module 24; Counting module 21 is for counting according to the pulse number of self clock frequency of dsp controller 2 to input; Trapping module 23 judges rising hopping edge and the decline saltus step of level in the pulse signal of input dsp controller 2; Rising saltus step and pulse be changing into high level by low level, decline saltus step and pulse be changing into low level by high level; Catch the record numerical value that above-mentioned rising jumping moment and decline jumping moment counting module 21 occur above-mentioned pulse signal level; Processing module 24 at least comprises recurrence interval sub-processing module 241, and in the pulse signal that recurrence interval sub-processing module 241 is caught according to trapping module 23, the record numerical value of adjacent two rising jumping moments of level or the record numerical value of adjacent two decline jumping moments and self clock frequency of dsp controller 2 draw the cycle of input pulse signal.Brachium pontis pulse signal U1 and lower brachium pontis pulse signal D1 in test, step is identical.
Corresponding method of testing is as follows:
Step 5 comprises recurrence interval treatment step 5A, and the recurrence interval, treatment step 5A comprised the following steps:
Step 5A1, trapping module is caught the record numerical value of adjacent two rising jumping moments of level in input pulse signal or is caught the record numerical value of adjacent two decline jumping moments of input pulse signal;
Step 5A2, self clock period of difference and dsp controller of the record numerical value of the difference of the record numerical value of above-mentioned adjacent two rising jumping moments or above-mentioned adjacent two decline jumping moments is multiplied and obtains the cycle of input pulse signal, if the record numerical value of above-mentioned adjacent two rising jumping moments (in upper brachium pontis pulse signal U1, the adjacent two rising jumping moments of level are respectively t2 and t6) is followed successively by M in chronological order 1, M 2, the record numerical value of above-mentioned adjacent two decline jumping moments (in lower brachium pontis pulse signal D1, the adjacent two decline jumping moments of level are respectively t1 and t5) is followed successively by N in chronological order 1, N 2, dsp controller self clock frequency is F 0, the cycle of input pulse signal is T; Then:
T=(M 2-M 1) T 0, or T=(N 2-N 1) T 0, again therefore:
T = ( M 2 - M 1 ) 1 F 0 , Or T = ( N 2 - N 1 ) 1 F 0 ;
Export the result of calculation of this cycle T to display module.
As the improvement further of above-described embodiment, as shown in figs 2-4, processing module 24 also comprises the sub-processing module 242 of pulse duty factor, and the record numerical value of the decline jumping moment in the pulse signal that the sub-processing module of pulse duty factor 242 is caught according to trapping module 23 between the record numerical value of adjacent two rising jumping moments of level and two rising jumping moments and self clock frequency of dsp controller 2 draw the dutycycle of input pulse signal.Brachium pontis pulse signal U1 and lower brachium pontis pulse signal D1 in test, step is identical.
Corresponding method of testing is as follows:
Step 5 comprises pulse duty factor treatment step 5B, and pulse duty factor treatment step 5B comprises the following steps:
Step 5B1, trapping module catches the record numerical value of the record numerical value decline jumping moment t3 two rising jumping moment t2, t6s between adjacent with this of adjacent two rising jumping moments t2, t6 of level in input pulse signal;
Step 5B2, the difference of the record numerical value of previous rising jumping moment t2 in the record numerical value of above-mentioned decline jumping moment t3 and two rising jumping moments t2, t6 is multiplied by the high level time that dsp controller self clock period obtains input pulse signal, above-mentioned high level time is obtained the dutycycle of input pulse signal divided by cycle of input pulse signal, if the record numerical value of above-mentioned adjacent two rising jumping moments t2, t6 is followed successively by M in chronological order 1, M 2, the record numerical value of above-mentioned decline jumping moment t3 is followed successively by N1 ' in chronological order, and the dutycycle of input pulse signal is D; Then:
D = ( N 1 ′ - M 1 ) T 0 T , Again T 0 = 1 F 0 , Therefore:
D = N 1 ′ - M 1 F 0 T
Export the result of calculation of this dutycycle D to display module.
As the further improvement of above-described embodiment, as shown in figs 2-4, processing module 24 also comprises the sub-processing module 243 of pulse Dead Time, the record numerical value of the decline jumping moment t1 of level in the lower brachium pontis pulse signal D1 that the sub-processing module of pulse Dead Time 243 is caught according to trapping module 23, this decline jumping moment t1 back and in the upper brachium pontis pulse signal U1 adjacent with this decline jumping moment t1 the record numerical value of the rising jumping moment t2 of level and dsp controller self clock frequency draw the first Dead Time of input pulse signal; The record numerical value of the decline jumping moment t3 of the upper brachium pontis pulse signal U1 caught according to trapping module, this decline jumping moment t3 back the record numerical value of the rising jumping moment t4 of the lower brachium pontis pulse signal D1 adjacent with this decline jumping moment t3 and dsp controller self clock frequency draw the second Dead Time of input pulse signal.
Corresponding method of testing is as follows:
Step 5 comprises pulse Dead Time treatment step 5C, and pulse Dead Time treatment step 5C comprises the following steps:
Step 5C1, trapping module is caught in the record numerical value of one of them decline jumping moment t1 of level in lower brachium pontis input pulse signal D1 and upper brachium pontis pulse signal U1 and is positioned at this decline jumping moment t1 back and the record numerical value of the rising jumping moment t2 adjacent with this decline jumping moment t1; Catch in the record numerical value of one of them decline jumping moment t3 of level in brachium pontis input pulse signal U1 and lower brachium pontis pulse signal D1 and be positioned at this decline jumping moment t3 back and the record numerical value of the rising jumping moment t4 adjacent with this decline jumping moment t3;
Step 5C2, in above-mentioned lower brachium pontis input pulse signal D1, in the record numerical value of the decline jumping moment t1 of level and above-mentioned upper brachium pontis pulse signal U1, the difference of the record numerical value of the rising jumping moment t2 of level is taken advantage of and is obtained the first Dead Time of input pulse signal in dsp controller self clock period; If the record numerical value of the decline jumping moment t1 of level is N in above-mentioned lower brachium pontis input pulse signal D1 1 under, in above-mentioned upper brachium pontis pulse signal U1, the record numerical value of the rising jumping moment t2 of level is M 1 on, dsp controller self clock frequency is F 0, the first Dead Time of input pulse signal is S 1, then:
again T 0 = 1 F 0 , Therefore:
In above-mentioned upper brachium pontis input pulse signal U1, in the record numerical value of the decline jumping moment t3 of level and above-mentioned lower brachium pontis pulse signal D1, the difference of the record numerical value of the rising jumping moment t4 of level is taken advantage of and is obtained the second Dead Time of input pulse signal in dsp controller self clock period; If the record numerical value of the decline jumping moment t3 of level is N in above-mentioned upper brachium pontis input pulse signal U1 1 on, in above-mentioned lower brachium pontis pulse signal D1, the record numerical value of the rising jumping moment t4 of level is M 1 under, dsp controller self clock frequency is F 0, the second Dead Time of input pulse signal is S 2, then:
again T 0 = 1 F 0 , Therefore:
By this above-mentioned first Dead Time S 1result of calculation and the second Dead Time S 2result of calculation export display module to.
Proving installation sends the feedback signal required for tested TCU; The pulse signal that TCU sends is caught by dsp controller and is processed, and photoelectric switching circuit and electro-optical conversion circuit realize the mutual conversion of photosignal, and the first level shifting circuit and second electrical level change-over circuit realize the mutual conversion of 3.3V level and 15V level.
Computing machine is serving as the role of a host computer in test process, and computing machine is communicated with dsp controller by RS485 communication interface, realizes the exchange of data.Various parameter can be write to dsp controller by the Debugging interface of computing machine, control the frequency, dutycycle, Dead Time etc. that send pulse signal; The Debugging interface of computing machine can also read the data such as frequency, dutycycle, Dead Time of input pulse signal from dsp controller.
The most crucial part of whole device is dsp processor, and it accepts the instruction that host computer transmits, and resolves, computing to instruction, thus sends the waveform required by instruction; The capture-port of DSP is caught input pulse, will catch result and carry out computing, and obtain the data such as the frequency of input pulse, dutycycle, Dead Time, and transfer data to host computer display translation.
Here distinguish TCU with the form of TCU output input pulse signal, input and output are that light signal is defined as TCU_L, and input and output are that electric signal is defined as TCU_E.Need dsp controller to send high level when testing TCU_L, the light signal of Chang Liang is sent from the light signal output end mouth 3b of proving installation through electro-optic conversion, this signal is input to the feedback port of TCU_L, at this moment operation is carried out to TCU_L and send pulse, the pulse of TCU_L inputs from optical signal input mouth 1b, after opto-electronic conversion, enter dsp controller.Need dsp controller to send high level when testing TCU_E, high level signal is sent from the electrical signal mouth 3a of proving installation through level conversion, this signal is input to the feedback port of TCU_E, at this moment operation is carried out to TCU_E and send pulse, the pulse of TCU_E inputs from electric signal input end mouth 1a, after level conversion, enter dsp controller.
Programmed control flow process as shown in Figure 3, only illustrates how to calculate the data such as recurrence interval, dutycycle, Dead Time by the pulse signal of catching for the pulse signal of a brachium pontis here.For the calculating of recurrence interval, only only catch the record numerical value of adjacent two rising jumping moment t2, t6 counting modules of pulse signal or the record numerical value of adjacent two decline jumping moment t1, t5 counting modules, then catch value by twice and do difference, more just can obtain the recurrence interval according to DSP clock frequency.For the calculating of upper brachium pontis pulse signal U1 dutycycle, need the record numerical value of that decline jumping moment t3 counting module of catching between two rising jumping moment t2 and t6, the value of catching of catching value and first rising jumping moment t2 of decline jumping moment t3 is done difference, just high level time can be obtained again according to clock frequency, high level has been exactly dutycycle divided by the cycle, and lower brachium pontis pulse signal D1 in like manner can obtain.Calculating for Dead Time has two Dead Times, first catch the record numerical value of the decline jumping moment t1 counting module of level in lower brachium pontis pulse signal D1, catch the record numerical value of the rising jumping moment t2 counting module of level in brachium pontis pulse signal U1 on this decline jumping moment t1 back again, the two does difference, more just can obtain a Dead Time according to DSP clock frequency; First catch the record numerical value of the decline jumping moment t3 counting module of level in brachium pontis pulse signal U1, catch the record numerical value of the rising jumping moment t4 counting module of level in brachium pontis pulse signal D1 under this decline jumping moment t3 back again, the two does difference, just can obtain another Dead Time according to DSP clock frequency again, concrete catches the moment as shown in Figure 4.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (9)

1., based on the pulsed test signal device that DSP controls, it is characterized in that, comprising:
Display module, the operation according to operator sends initialization directive to dsp controller, and shows test results according to the feedback of described dsp controller;
Input modular converter, comprising:
Photoelectric switching circuit, completes the conversion of light signal to electric signal, and input end is for connecting TCU light pulse signal output port, and output terminal output electric pulse signal also connects dsp controller and catches input end;
First level shifting circuit, input end is for connecting TCU electric impulse signal output port, and output terminal connects dsp controller and catches input end;
Described dsp controller, catches the electric impulse signal of input end and processes the pulse signal of catching, and obtains test result, test result is passed to display module; Described electric signal is passed to output modular converter through DSP output terminal;
Export modular converter, comprising:
Electro-optical conversion circuit, completes the conversion of electric signal to light signal, and input end connects dsp controller output terminal, and output terminal is for connecting described TCU drive feedback input port;
Second electrical level change-over circuit, input end connects dsp controller output terminal, and output terminal is for connecting described TCU drive feedback input port;
Communication interface circuit, for connecting described display module and described dsp controller, realizes the transmission of described initialization directive and test result;
Power supply, provides power supply to described dsp controller, photoelectric switching circuit, electro-optical conversion circuit, the first level shifting circuit, second electrical level change-over circuit and communication interface circuit.
2. the pulsed test signal device controlled based on DSP according to claim 1, it is characterized in that, described dsp controller comprises:
Counting module, for counting according to dsp controller self clock frequency;
Trapping module, judges rising saltus step and the decline saltus step of level in the pulse signal of input dsp controller; And catch the record numerical value that above-mentioned rising jumping moment and decline jumping moment counting module occur above-mentioned pulse signal level;
Processing module, comprising:
Recurrence interval sub-processing module, draws the cycle of input pulse signal according to the record numerical value of adjacent two rising jumping moments of level in the pulse signal that described trapping module is caught or the record numerical value of adjacent two decline saltus steps and self clock frequency of described dsp controller.
3. the pulsed test signal device controlled based on DSP according to claim 1 and 2, it is characterized in that, described processing module also comprises:
The sub-processing module of pulse duty factor, draws the dutycycle of input pulse signal according to the record numerical value of the decline jumping moment between the record numerical value of adjacent two rising jumping moments of level in the pulse signal that described trapping module is caught and described two rising jumping moments and self clock frequency of described dsp controller.
4. the pulsed test signal device controlled based on DSP according to claim 3, it is characterized in that, described processing module also comprises:
The sub-processing module of pulse Dead Time, draws the first Dead Time of input pulse signal according to the record numerical value of the rising jumping moment of level in brachium pontis pulse signal on the record numerical value of the decline jumping moment of level in the lower brachium pontis pulse signal that described trapping module is caught, this decline jumping moment back and self clock frequency of described dsp controller; The second Dead Time of input pulse signal is drawn according to the record numerical value of the rising jumping moment of level in brachium pontis pulse signal under the record numerical value of the decline jumping moment of level in the upper brachium pontis pulse signal that described trapping module is caught, this decline jumping moment back and self clock frequency of described dsp controller.
5. the pulsed test signal device controlled based on DSP according to claim 1, it is characterized in that, it is characterized in that, described communication interface circuit is RS232 and RS485 communication interface.
6., based on the pulsed test signal method that DSP controls, it is characterized in that, comprise the following steps:
Step 1, starts power supply, then sends initialization directive to dsp controller; Electric signal is passed to output modular converter through dsp controller output terminal;
Step 2, second electrical level change-over circuit exports described TCU drive feedback input port to through electrical signal mouth after the electrical signal levels of input being raised; Described TCU drive feedback input port is exported to through light signal output end mouth after electro-optical conversion circuit converts the electric signal of input to light signal;
Step 3, input modular converter receives the pulse signal that TCU exports, and when the pulse signal that TCU exports is electric signal, above-mentioned electric impulse signal is handed to the first level shifting circuit through electric signal input end oral instructions; When the pulse signal that TCU exports is light signal, above-mentioned light pulse signal is handed to photoelectric switching circuit through optical signal input oral instructions;
Step 4, the first level shifting circuit exports dsp controller to after the electrical signal levels of input being reduced and catches input end; Photoelectric switching circuit exports dsp controller to after converting the light signal of input to electric signal and catches input end;
Step 5, catches the electric impulse signal of input end and processes the electric impulse signal of catching, and obtains test result, test result is passed to display module through communication interface circuit.
7. the pulsed test signal method controlled based on DSP according to claim 6, it is characterized in that, described step 5 comprises recurrence interval treatment step 5A, and described recurrence interval treatment step 5A comprises the following steps:
Step 5A1, described trapping module is caught the record numerical value of adjacent two rising jumping moments of level in input pulse signal or is caught the record numerical value of adjacent two decline jumping moments of level in input pulse signal;
Step 5A2, the difference of the record numerical value of the difference of the record numerical value of above-mentioned adjacent two rising jumping moments or above-mentioned adjacent two decline jumping moments was multiplied with self clock period of described dsp controller and obtains the cycle of input pulse signal, if the record numerical value of above-mentioned adjacent two rising jumping moments is followed successively by M in chronological order 1, M 2, the record numerical value of above-mentioned adjacent two decline jumping moments is followed successively by N in chronological order 1, N 2, dsp controller self clock frequency is F 0, the cycle of input pulse signal is T; Then:
T=(M 2-M 1) T 0, or T=(N 2-N 1) T 0, again therefore:
T = ( M 2 - M 1 ) 1 F 0 , Or T = ( N 2 - N 1 ) 1 F 0 ,
Export the result of calculation of this cycle T to display module.
8. the pulsed test signal method controlled based on DSP according to claim 6, it is characterized in that, described step 5 comprises pulse duty factor treatment step 5B, and described pulse duty factor treatment step 5B comprises the following steps:
Step 5B1, described trapping module catches the record numerical value of the decline jumping moment between record numerical value two rising jumping moments adjacent with this of adjacent two rising jumping moments of level in input pulse signal;
Step 5B2, the difference of the record numerical value of previous rising jumping moment in the record numerical value of above-mentioned decline jumping moment and two rising jumping moments is multiplied by the high level time that self clock period of described dsp controller obtains input pulse signal, above-mentioned high level time is obtained the dutycycle of input pulse signal divided by cycle of input pulse signal, if the record numerical value of above-mentioned adjacent two rising jumping moments is followed successively by M in chronological order 1, M 2, the record numerical value of above-mentioned decline jumping moment is followed successively by N1 ' in chronological order, and the dutycycle of input pulse signal is D; Then:
D = ( N 1 ′ - M 1 ) T 0 T , Again T 0 = 1 F 0 , Therefore:
D = N 1 ′ - M 1 F 0 T
Export the result of calculation of this dutycycle I to display module.
9. the pulsed test signal method controlled based on DSP according to claim 6, it is characterized in that, described step 5 comprises pulse Dead Time treatment step 5C, and described pulse Dead Time treatment step 5C comprises the following steps:
Step 5C1, described trapping module is caught in the record numerical value of one of them decline jumping moment of level in lower brachium pontis input pulse signal and upper brachium pontis pulse signal and is positioned at this level decline jumping moment back and the record numerical value of the rising jumping moment adjacent with this decline jumping moment; Catch in the record numerical value of one of them decline jumping moment of level in brachium pontis input pulse signal and lower brachium pontis pulse signal and be positioned at this level decline jumping moment back and the record numerical value of the rising jumping moment adjacent with this decline jumping moment;
Step 5C2, in above-mentioned lower brachium pontis input pulse signal, in the record numerical value of the decline jumping moment of level and above-mentioned upper brachium pontis pulse signal, the difference of the record numerical value of the rising jumping moment of level is taken advantage of and is obtained the first Dead Time of input pulse signal in self clock period of described dsp controller; If the record numerical value of the decline jumping moment of level is N in above-mentioned lower brachium pontis input pulse signal 1 under, in above-mentioned upper brachium pontis pulse signal, the record numerical value of the rising jumping moment of level is M 1 on, dsp controller self clock frequency is F 0, the first Dead Time of input pulse signal is S 1, then:
again T 0 = 1 F 0 , Therefore:
In above-mentioned upper brachium pontis input pulse signal, in the record numerical value of the decline jumping moment of level and above-mentioned lower brachium pontis pulse signal, the difference of the record numerical value of the rising jumping moment of level is taken advantage of and is obtained the second Dead Time of input pulse signal in self clock period of described dsp controller; If the record numerical value of the decline jumping moment of level is N in above-mentioned upper brachium pontis input pulse signal 1 on, in above-mentioned lower brachium pontis pulse signal, the record numerical value of the rising jumping moment of level is M 1 under, dsp controller self clock frequency is F 0, the second Dead Time of input pulse signal is S 2, then:
again T 0 = 1 F 0 , Therefore:
By this above-mentioned first Dead Time S 1result of calculation and the second Dead Time S 2result of calculation export display module to.
CN201310634912.XA 2013-11-28 2013-11-28 Pulse signal test device and pulse signal test method based on DSP (digital signal processor) control Pending CN104678187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310634912.XA CN104678187A (en) 2013-11-28 2013-11-28 Pulse signal test device and pulse signal test method based on DSP (digital signal processor) control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310634912.XA CN104678187A (en) 2013-11-28 2013-11-28 Pulse signal test device and pulse signal test method based on DSP (digital signal processor) control

Publications (1)

Publication Number Publication Date
CN104678187A true CN104678187A (en) 2015-06-03

Family

ID=53313529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310634912.XA Pending CN104678187A (en) 2013-11-28 2013-11-28 Pulse signal test device and pulse signal test method based on DSP (digital signal processor) control

Country Status (1)

Country Link
CN (1) CN104678187A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109188106A (en) * 2018-08-18 2019-01-11 国营芜湖机械厂 A kind of pulse width measurement circuit of aviation airborne equipment firing pulse
CN112816804A (en) * 2019-11-15 2021-05-18 中车株洲电力机车研究所有限公司 High-integration pulse testing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070056736A (en) * 2005-11-30 2007-06-04 현대자동차주식회사 Vehicle signal abstraction apparatus of vehicle and method thereof
CN202421888U (en) * 2012-01-06 2012-09-05 中国北车股份有限公司大连电力牵引研发中心 Testing apparatus and system
CN102744987A (en) * 2011-04-22 2012-10-24 深圳市大族激光科技股份有限公司 DA (Analog to Digital) conversion device and DA conversion method for marking machine
CN103138538A (en) * 2011-11-23 2013-06-05 永济新时速电机电器有限责任公司 Photovoltaic conversion unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070056736A (en) * 2005-11-30 2007-06-04 현대자동차주식회사 Vehicle signal abstraction apparatus of vehicle and method thereof
CN102744987A (en) * 2011-04-22 2012-10-24 深圳市大族激光科技股份有限公司 DA (Analog to Digital) conversion device and DA conversion method for marking machine
CN103138538A (en) * 2011-11-23 2013-06-05 永济新时速电机电器有限责任公司 Photovoltaic conversion unit
CN202421888U (en) * 2012-01-06 2012-09-05 中国北车股份有限公司大连电力牵引研发中心 Testing apparatus and system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
曾义芳: "《DSP开发应用技术》", 31 January 2008, 北京:北京航空航天大学出版社 *
王挺峰 等: "基于DSP的激光脉冲编码信号测频装置的设计", 《微计算机信息》 *
钱存元 等: "SIBAS-16牵引控制单元的静态测试", 《交通与计算机》 *
颜华敏 等: "虚拟仪器在上海地铁TCU测试系统中的应用", 《微计算机信息》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109188106A (en) * 2018-08-18 2019-01-11 国营芜湖机械厂 A kind of pulse width measurement circuit of aviation airborne equipment firing pulse
CN112816804A (en) * 2019-11-15 2021-05-18 中车株洲电力机车研究所有限公司 High-integration pulse testing device
CN112816804B (en) * 2019-11-15 2024-04-26 中车株洲电力机车研究所有限公司 Pulse testing device with high integration level

Similar Documents

Publication Publication Date Title
CN202421479U (en) Multi-parameter test device
CN101201365B (en) System and method for measuring and analyzing voltage frequency
CN204425298U (en) A kind of faint AC signal amplitude lock-in amplifier
CN106324538B (en) A kind of shelf depreciation automated calibration system
CN106774241A (en) The Auto-Test System and method of testing of high voltage transducer power unit control panel
CN105092922A (en) Portable digital storage oscilloscope based on SOPC technology
CN110542811A (en) Link delay testing method, device and system of direct current control protection system
CN104992650A (en) Method and device for automatically testing MIPI signal
CN104678187A (en) Pulse signal test device and pulse signal test method based on DSP (digital signal processor) control
CN106353592A (en) Test system based on simulated intelligent electric energy meter
CN103558433B (en) A kind of device and method measured for photodetector impulse response
CN107733466B (en) Signal source device based on broadband power line carrier communication test
CN203798915U (en) Vector network analyzer
CN106612084A (en) Current sampling processing circuit and current sampling processing method
CN206292324U (en) A kind of frequency-characteristic measuring-testing instrument
CN201060228Y (en) Electric voltage frequency measurement analysis system
CN108768532B (en) A kind of linear FM signal terminates Frequency point device for fast detecting and method
CN203838301U (en) Automatic testing device for pre-amplifier
CN105242219B (en) A kind of method of auto-measuring DC voltage transfer efficiency
CN202710695U (en) Cable detector
CN100535679C (en) Digital type alternating current-direct current partial discharge detecting method and device
CN111024389A (en) Harmonic reducer load testing device with electric energy feedback and method
CN106324338A (en) Simulation smart watt-hour meter
CN106153997A (en) A kind of pulse outputting unit for the test of rail vehicle charger
CN105071667A (en) Harmonic wave generator and method for detecting elements of power grid via the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 116045 Liaoning province Dalian City Lushun Economic Development Zone No. 1 North Street, Hao Yang

Applicant after: CRRC DALIAN ELECTRIC TRACTION R & D CENTER CO., LTD.

Address before: 116045 Liaoning province Dalian City Lushun Economic Development Zone No. 1 North Street, Hao Yang

Applicant before: Co., Ltd of Bei Che Dalian Electric Traction R & D Center

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150603