CN102063070A - DSP-based laser pulse code controller - Google Patents
DSP-based laser pulse code controller Download PDFInfo
- Publication number
- CN102063070A CN102063070A CN 201010541208 CN201010541208A CN102063070A CN 102063070 A CN102063070 A CN 102063070A CN 201010541208 CN201010541208 CN 201010541208 CN 201010541208 A CN201010541208 A CN 201010541208A CN 102063070 A CN102063070 A CN 102063070A
- Authority
- CN
- China
- Prior art keywords
- digital signal
- signal processor
- pulse
- changing distance
- laser
- 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.)
- Granted
Links
Images
Landscapes
- Optical Radar Systems And Details Thereof (AREA)
Abstract
The invention relates to a digital signal processor (DSP)-based laser pulse code controller. The controller loads a fixed period value and a variable interval period value into a period register of a central processing unit (CPU) timer 0 of a digital signal processor through an analog control computer so that the CPU timer 0 generates interruption according to the period values in the period register, and the digital signal processor sends accurately coded pulse signals or variable interval coded pulse signals during interruption; and mask code signals are transmitted to the digital signal processor through the analog control computer, and meanwhile, the fixed period value is loaded into the period register of the CPU timer 0 so that the digital signal processor outputs the variable interval coded pulse signals. The controller can generate the accurately coded, variable interval coded or variable pulse coded pulse signals, modulates the laser generated by a laser device by using the pulse signals, and generates repeated frequency laser signals required by laser reconnaissance alarm experiments and laser deception inference experiments so as to meet the actual requirement of a simulation system.
Description
Technical field
The invention belongs to laser pulse coding electric control field, relate to a kind of laser pulse coding controller based on DSP.
Background technology
Along with the continuous development of electro-optical equipment of electronic warfare, progressively set up the active demand that comparatively perfect electro-optical equipment of electronic warfare internal field emulation test system becomes my army's photoelectronic warfare test area.The laser signal simulator is the important component part of internal field emulation test system, mainly finishes laser reconnaissance alarm test and laser cheating interference and tests needed laser signal.The laser signal simulator mainly comprises laser instrument, laser code controller, pulsed laser energy and angle of divergence control device etc.
The laser pulse coding controller tests for the laser reconnaissance alarm and the test of laser cheating interference provides needed Repetition Frequency Laser signal.In laser warning test, be used for laser target designator, a kind of interference protection measure of taking for the interference that prevents enemy's laser signal.The coded system control laser instrument emission laser of laser pulse coding controller simulated laser target-designator detects tested laser warning equipment to the code detection recognition capability; In the Methods of Laser Angle Deception experiment, the Methods of Laser Angle Deception Interference Detection goes out the repetition that the enemy launches the laser radiation signal, and copies the laser signal of same repetition, realizes Methods of Laser Angle Deception.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of pulse signal that can produce precision encoding, changing distance coding and become pulse code, thereby the laser to laser instrument output is modulated, and makes emulation test system can finish the laser pulse coding controller based on DSP of laser reconnaissance alarm test and the test of laser cheating interference.
In order to solve the problems of the technologies described above, the laser pulse coding controller based on DSP of the present invention comprises simulation control computer, digital signal processor; The CPU timer 0 of digital signal processor inside produces and interrupts; In interruption, the simulation control computer is carried out communication by serial line interface and digital signal processor, coding type information is transferred to digital signal processor, and it is precision encoding, changing distance coding or change pulse code that digital signal processor is differentiated according to coding type information; If precision encoding, then simulate control computer and fixing periodic quantity is loaded into the period register of digital signal processor innernal CPU timer 0, CPU timer 0 produces by fixing periodic quantity and interrupts, and exports the pulse signal of precision encoding by the IO mouth of digital signal processor; If changing distance coding, then simulate a plurality of changing distance Xiao Zhou time value CYCLIC LOADING that control computer will set period register to CPU timer 0, CPU timer 0 produces by each changing distance Xiao Zhou time value and interrupts, and exports the pulse signal of changing distance by the IO mouth of digital signal processor; The 0 every generation of CPU timer is once interrupted, and the changing distance counter adds 1; When the count value of changing distance counter during greater than changing distance Xiao Zhou issue, the changing distance counter O reset restarts counting, and circulation output is large period, is the pulse signal of the changing distance coding of minor cycle with each changing distance periodic quantity with each gap periods value sum; If change pulse code, then simulate control computer and fixing periodic quantity is loaded into the period register of CPU timer 0, and mask information is transferred to digital signal processor, utilize the pulse enable signal digital signal processor of mask information control precision encoding to become the pulse signal of pulse code by universal I/O port output.
The present invention utilizes CPU timer 0 function of digital signal processor, according to actual needs by simulating control computer with fixing periodic quantity, the period register that the changing distance periodic quantity is loaded into CPU timer 0, CPU timer 0 is produced by the periodic quantity in the period register interrupt, can make digital signal processor in interruption, send the pulse signal of precision encoding or the pulse signal of changing distance coding by universal I.In addition, the mask signal is transferred to digital signal processor, simultaneously fixing periodic quantity is loaded into the period register of CPU timer 0, can make digital signal processor output become the pulse signal of pulse code by the simulation control computer.The pulse signal that utilizes the present invention to produce is modulated the laser of laser instrument output, produces laser reconnaissance alarm test and laser cheating interference and tests needed Repetition Frequency Laser signal, has satisfied the actual needs of analogue system.
Be as a further improvement on the present invention: also comprise or the door, first with the door, d type flip flop and second and; The synchronization pulse of emulation test system be transferred to or the door an input end; Or the working state signal output of the output of door and simulation control computer be connected respectively to first with two input ends of door, the working state signal output of simulating control computer simultaneously is connected to the CLRN end of d type flip flop; First is connected to the D end of d type flip flop with the output of door; The Q of d type flip flop end be connected to simultaneously or another input end of door and second with an input end of door, the pulse signal output of digital signal processor be connected to second with another input end.
The present invention utilizes or door, first realizes the high-precise synchronization that emulation test system and digital signal processor are exported with door and d type flip flop, adopt second to carry out output logic control simultaneously, can export satisfactory pulse signal according to the actual needs of system with door.
Description of drawings
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
Fig. 1 is the structured flowchart of the laser pulse coding controller based on DSP of the present invention.
Fig. 2 is the pulse signal analogous diagram of precision encoding.
Fig. 3 is the pulse signal analogous diagram of changing distance coding.
Fig. 4 a, 4b, 4c are for becoming the pulse signal analogous diagram of pulse code.
Fig. 5 is a digital signal processor internal processes process flow diagram.
Fig. 6 is the programmable logic array internal circuit diagram.
Fig. 7 is programmable logic array input signal and output signal analogous diagram.
Embodiment
As shown in Figure 1, the laser pulse coding controller based on DSP of the present invention comprises simulation control computer 1, digital signal processor 2; The CPU timer 0 of digital signal processor 2 inside produces and interrupts; In interruption, simulation control computer 1 is carried out communication by serial line interface and digital signal processor 2, and coding type information is transferred to digital signal processor 2.
When type of coding is I, simulation control computer 1 is loaded into fixing periodic quantity T the period register of CPU timer 0, CPU timer 0 produces by fixing periodic quantity T and interrupts, and exports the pulse signal (as shown in Figure 2) of precision encoding by the IO mouth of digital signal processor 2.
As shown in Figure 3, when type of coding was II, simulation control computer 1 was with the changing distance Xiao Zhou time value T that sets
1, T
2, T
3, T
4..., T
13, T
14, T
15CYCLIC LOADING is to the period register of CPU timer 0, and CPU timer 0 produces by each changing distance Xiao Zhou time value and interrupts, by IO mouth output pulse; CPU timer 0 whenever produces once by changing distance Xiao Zhou time value and interrupts, and the changing distance counter adds 1, and greater than the changing distance periodicity, the output of the pulse signal of a large period changing distance coding is finished in counter O reset until the count value of changing distance counter.
The changing distance periodicity can get 3~15, but is not limited to this span, can set arbitrarily according to the needs of simulating experimental system.
When type of coding is III, simulation control computer 1 is loaded into fixing periodic quantity T the period register of CPU timer 0, and mask information is transferred to digital signal processor 2, utilize the pulse signal of mask information control precision encoding, make digital signal processor 2 become the pulse signal of pulse code by universal I/O port output.For example, if mask information is 8 a binary number 10111101, then digital signal processor does not have pulse signal output (shown in Fig. 4 a) at second period with in the 7th cycle; If mask information is that 8 binary number is 11001011, then digital signal processor does not have pulse signal output (shown in Fig. 4 b) in the 3rd cycle, the 5th cycle and the 6th cycle; If mask information is that 8 binary number is 11111010, then digital signal processor does not have pulse signal output (shown in Fig. 4 c) in first cycle and the 3rd cycle.
It is the chip of TMS320F2812 that digital signal processor 2 adopts model, and this chip internal comprises 32 bit CPU timers 0.The crystal oscillator of digital signal processor 2 external 30M, the cpu system frequency of operation is 150M behind the PLL frequency multiplication of phase locked loop of digital signal processor 2 inside.The laser pulse transmission frequency requires random variation between 1Hz~20Hz, and precision is 0.1 μ s.So the CPU frequency of operation of the counter of 32 bit CPU timers and 150M can guarantee the precision of laser pulse 0.1 μ s.
Digital signal processor in house software flow process comprises the steps: as shown in Figure 5
Initialization;
CPU timer 0 interrupts;
Differentiating according to coding type information is precision encoding, changing distance coding or change pulse code;
If precision encoding then is loaded into fixing periodic quantity T the period register of CPU timer 0, CPU timer 0 produces by fixing periodic quantity and interrupts, by the pulse signal of IO mouth output precision encoding; If the changing distance coding is then with the changing distance Xiao Zhou time value T that sets
1Be loaded into the period register of CPU timer 0, CPU timer 0 is pressed changing distance Xiao Zhou time value T
1Produce and interrupt, the output pulse, the changing distance counter adds 1, and then with the changing distance Xiao Zhou time value T that sets
2Be loaded into the period register of CPU timer 0, CPU timer 0 is pressed changing distance Xiao Zhou time value T
2Produce and interrupt, the output pulse, the changing distance counter adds 1 again; The rest may be inferred, and circulation is with changing distance Xiao Zhou time value T
3~T
XBe loaded into the period register of CPU timer 0, CPU timer 0 is pressed changing distance Xiao Zhou time value T successively
3~T
XProduce and interrupt, the output pulse, greater than changing distance periodicity X (3≤X≤15), counter O reset restarts counting until the count value of changing distance counter, and circulation output is large period, is the pulse signal of minor cycle with each changing distance periodic quantity with each gap periods value sum; If the change pulse code then is loaded into the period register of CPU timer 0 with fixing periodic quantity T, and utilize the pulse signal of mask information control precision encoding, become the pulse signal of pulse code by universal I/O port output.
As shown in Figure 6, synchronous for the pulse signal and the emulation test system that make output, the present invention utilizes programmable logic array 3 (CPLD) to realize synchro control and output logic control function; Described programmable logic array 3 inside comprise or door 31, first with door 32, d type flip flop 33 and second and 34; The 1Hz synchronization pulse of emulation test system is transferred to or a door input end of 31; Or door 31 output be connected to first with one of them input end of door 32, the working signal work output of simulation control computer 1 be connected to simultaneously first with another input end of door 32 and the CLRN end (clear terminal) of d type flip flop 33; First is connected to the D end of d type flip flop 33 with door 32 output; The Q of d type flip flop end be connected to simultaneously or another input end of door and second with an input end of door 34, the pulse signal pulse_out output of digital signal processor 2 be connected to second with another input end of 34.
As shown in Figure 7, when the 1Hz of emulation test system synchronization pulse rising edge arrives, or door output high level signal; This moment is if the working state signal work of simulation control computer output is a high level, then first with a door output high level signal, trigger d type flip flop, d type flip flop Q end output high level, the pulse signal of having realized digital signal processor output thus is synchronous with emulation test system; The pulse signal pulse_out of digital signal processor output this moment is transferred to laser instrument by second with door.Laser instrument is exported the laser pulse of precision encoding, the laser pulse of changing distance coding or the laser pulse of change pulse code according to actual needs.When working state signal work is low level, d type flip flop upset, the Q end is output as 0, the second and closes with the low level signal control laser instrument of door output.
The present invention has utilized 32 bit CPU timers, 0 function of digital signal processor TMS320F2812 according to the designing requirement of laser pulse precision 0.1 μ s and pulse signal and system synchronization precision 0.1 μ s.The external 30M crystal oscillator of digital signal processor, the cpu system frequency of operation is 150M behind the PLL frequency multiplication of phase locked loop.The laser pulse transmission frequency requires random variation between 1Hz~20Hz.So the CPU frequency of operation of the counter of 32 bit CPU timers and 150M can guarantee the precision of laser pulse 0.1 μ s.
The present invention utilizes digital signal processor to generate precision encoding, changing distance coding and becomes the pulse signal of pulse code, and the laser pulse of the output of laser instrument is modulated; Utilize high-speed programmable logic array (CPLD) to realize the synchro control and the output logic control of pulse signal and system signal simultaneously, transmission delay has only 7ns.
Claims (2)
1. the laser pulse coding controller based on DSP is characterized in that comprising simulation control computer (1), digital signal processor (2); The inner CPU timer 0 of described digital signal processor (2) produces and interrupts; In interruption, simulation control computer (1) is carried out communication by serial line interface and digital signal processor (2), coding type information is transferred to digital signal processor (2), and it is precision encoding, changing distance coding or change pulse code that digital signal processor (2) is differentiated according to coding type information; If precision encoding, then simulate control computer (1) and fixing periodic quantity is loaded into the period register of digital signal processor (2) innernal CPU timer 0, CPU timer 0 produces by fixing periodic quantity and interrupts, and exports the pulse signal of precision encoding by the IO mouth of digital signal processor (2); If changing distance coding, then simulate a plurality of changing distance Xiao Zhou time value CYCLIC LOADING that control computer (1) will set period register to CPU timer 0, CPU timer 0 produces by each changing distance Xiao Zhou time value and interrupts, and exports the pulse signal of changing distance by the IO mouth of digital signal processor (2); The 0 every generation of CPU timer is once interrupted, and the changing distance counter adds 1; When the count value of changing distance counter during greater than changing distance Xiao Zhou issue, the changing distance counter O reset restarts counting, and circulation output is large period, is the pulse signal of the changing distance coding of minor cycle with each changing distance periodic quantity with each gap periods value sum; If change pulse code, then simulate control computer (1) and fixing periodic quantity is loaded into the period register of CPU timer 0, and mask information is transferred to digital signal processor (2), (2 become the pulse signals of pulse code by universal I/O port output to utilize the pulse enable signal digital signal processor of mask information control precision encoding.
2. the laser pulse coding controller based on DSP according to claim 1, it is characterized in that also comprising or door (31), first with door (32), d type flip flop (33) and second and (34); The synchronization pulse of emulation test system be transferred to or the door (31) an input end; Or the working state signal output of the output of door (31) and simulation control computer (1) be connected respectively to first with two input ends of door (32), the working state signal output of simulating control computer (1) simultaneously is connected to the CLRN end of d type flip flop (33); First is connected to the D end of d type flip flop (33) with the output of door (32); The Q of d type flip flop (33) end be connected to simultaneously or another input end of door (31) and second with an input end of door (34), the pulse signal output of digital signal processor (2) be connected to second with another input end of (34).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105412086A CN102063070B (en) | 2010-11-12 | 2010-11-12 | DSP-based laser pulse code controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105412086A CN102063070B (en) | 2010-11-12 | 2010-11-12 | DSP-based laser pulse code controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102063070A true CN102063070A (en) | 2011-05-18 |
CN102063070B CN102063070B (en) | 2012-06-13 |
Family
ID=43998380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105412086A Expired - Fee Related CN102063070B (en) | 2010-11-12 | 2010-11-12 | DSP-based laser pulse code controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102063070B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102519708A (en) * | 2011-12-12 | 2012-06-27 | 长春理工大学 | Practical test method of code recognition ability of laser alarm |
CN105486527A (en) * | 2015-12-01 | 2016-04-13 | 中国科学院长春光学精密机械与物理研究所 | Programmable pulse laser guidance simulator |
CN105656617A (en) * | 2016-01-06 | 2016-06-08 | 中国洛阳电子装备试验中心 | Time control pulse interval laser encoding and decoding method |
CN105955914A (en) * | 2016-06-02 | 2016-09-21 | 江西洪都航空工业集团有限责任公司 | Pulse signal simulation method realized by adopting RS422 serial port |
CN107870313A (en) * | 2017-11-03 | 2018-04-03 | 国网四川省电力公司电力科学研究院 | A kind of electric energy meter pulse sampling method and device being applied in EMC test |
CN111158263A (en) * | 2019-12-27 | 2020-05-15 | 中国航天科工集团八五一一研究所 | Infield simulation intermediate control system and implementation method |
CN112344975A (en) * | 2020-11-26 | 2021-02-09 | 中国人民解放军国防科技大学 | Laser coding minimum period recognition device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1740813A (en) * | 2005-04-22 | 2006-03-01 | 中国科学院安徽光学精密机械研究所 | Multichannel single-photon counting method based on DSP |
CN1789946A (en) * | 2005-12-19 | 2006-06-21 | 中国人民解放军总装备部军械技术研究所 | Multi-band pulse laser simulating emitter |
-
2010
- 2010-11-12 CN CN2010105412086A patent/CN102063070B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1740813A (en) * | 2005-04-22 | 2006-03-01 | 中国科学院安徽光学精密机械研究所 | Multichannel single-photon counting method based on DSP |
CN1789946A (en) * | 2005-12-19 | 2006-06-21 | 中国人民解放军总装备部军械技术研究所 | Multi-band pulse laser simulating emitter |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102519708A (en) * | 2011-12-12 | 2012-06-27 | 长春理工大学 | Practical test method of code recognition ability of laser alarm |
CN105486527A (en) * | 2015-12-01 | 2016-04-13 | 中国科学院长春光学精密机械与物理研究所 | Programmable pulse laser guidance simulator |
CN105656617A (en) * | 2016-01-06 | 2016-06-08 | 中国洛阳电子装备试验中心 | Time control pulse interval laser encoding and decoding method |
CN105656617B (en) * | 2016-01-06 | 2019-01-18 | 中国洛阳电子装备试验中心 | Time control pulse interval laser code and knowledge code method |
CN105955914A (en) * | 2016-06-02 | 2016-09-21 | 江西洪都航空工业集团有限责任公司 | Pulse signal simulation method realized by adopting RS422 serial port |
CN107870313A (en) * | 2017-11-03 | 2018-04-03 | 国网四川省电力公司电力科学研究院 | A kind of electric energy meter pulse sampling method and device being applied in EMC test |
CN111158263A (en) * | 2019-12-27 | 2020-05-15 | 中国航天科工集团八五一一研究所 | Infield simulation intermediate control system and implementation method |
CN112344975A (en) * | 2020-11-26 | 2021-02-09 | 中国人民解放军国防科技大学 | Laser coding minimum period recognition device |
CN112344975B (en) * | 2020-11-26 | 2022-08-05 | 中国人民解放军国防科技大学 | Laser coding minimum period recognition device |
Also Published As
Publication number | Publication date |
---|---|
CN102063070B (en) | 2012-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102063070B (en) | DSP-based laser pulse code controller | |
Li et al. | Complete (anti-) synchronization of chaotic systems with fully uncertain parameters by adaptive control | |
CN103208994A (en) | Two-stage time digital convert (TDC) circuit | |
CN104504187A (en) | FPGA (Field Programmable Gate Array) online verification structure and method based on serial communication interface | |
Luo et al. | Deepstrike: Remotely-guided fault injection attacks on dnn accelerator in cloud-fpga | |
CN104660220B (en) | Signal generator and signal generation method for generating integer frequency pulses | |
CN102495552A (en) | Real-time simulation system oriented to space-borne electronic system | |
CN104182203A (en) | True random number generating method and device | |
CN203260028U (en) | Sensor network SoC prototype verification platform based on FPGA | |
CN103078729B (en) | Based on the double precision chaos signal generator of FPGA | |
Méndez-Ramírez et al. | Degradation analysis of chaotic systems and their digital implementation in embedded systems | |
CN104133409A (en) | Triangular wave combining device with adjustable symmetry | |
CN103684263A (en) | Method for realizing simple chaotic signal generator based on single-chip microcomputer | |
CN105467396B (en) | A kind of pulsed laser ranging control system and ranging operation method | |
Peters et al. | Clocks vs. instants relations: Verifying CCSL time constraints in UML/MARTE models | |
Phartchayanusit et al. | Safety property analysis of service-oriented iot based on interval timed coloured petri nets | |
Jabeen et al. | Formal verification methodology for real‐time Field Programmable Gate Array | |
Feng et al. | Model transformation for cyber physical systems | |
CN106209024B (en) | Alpha ray basic pulse generator and launching technique | |
Qi et al. | A switched hyperchaotic system and its FPGA circuitry implementation | |
Capocchi et al. | A new discrete-event simulation based approach for validating actuation conflict management in IoT systems | |
CN203588267U (en) | Functional module system of measuring data processing device | |
Chen et al. | Embedded Automation Device Based on Trusted Computing | |
Shu | Design and Implementation of Ion Implantation and Deposition Signal Generator Based on PLC and Touch Screen | |
RU131214U1 (en) | DEVICE FOR ANALYSIS OF THE STRUCTURE AND PARAMETERS OF AUTOMATED SYSTEMS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120613 Termination date: 20131112 |