当前位置:网站首页>FPGA based: moving target detection (supplementary simulation results, available)
FPGA based: moving target detection (supplementary simulation results, available)
2022-07-29 06:15:00 【A thousand songs sigh and hold the summer】
One 、 Connected to a
See this article directly for development and design : be based on FPGA: Moving target detection ( Schematic diagram + Source code + Hardware options , Available design ) Here is the simulation result , Many friends reacted , It's not easy to do the paper without simulation results .
The complete source code project is downloaded here : be based on FPGA Moving target detection ( Hardware + Schematic diagram + Source code + Simulation + Design document ) Again , I can pay half price for private messages , Because you can get rid of the platform fees .
Two 、 To enter the body ( Frame difference method Modelsim Simulation )
Build a video stream Modelsim Simulation , Need to simulate a video sequence , Used to verify the algorithm , And make effective use of Matlab Tools put static pictures “ Break up ” Save to txt In the text , for Modesim Read , And then through Matalb“ Reappear ” Processed text .
Test0.bmp The test image ,matlab Produced rgb txt Data text ,
image_r_data.txt image_g_data.txt image_b_data.txt
Test1.bmp The test image
image_r_data_o.txt image_g_data_o.txt image_b_data_o.txt
Verilog Realize the investigation law , after modelsim The simulation results show that , function smy_image_show.m
data_r_out.txt data_g_out.txt data_b_out.txt
Rgb2yuv Simulation waveform , Don't talk much , Look at the formula

Diff_frame Module simulation waveform :data_next - data_cur The results obtained are as follows post_img_Bit When 8’d130-8’D16
Greater than Set threshold 15 The target area , Set to 255

Corrosion and expansion simulation waveform , The following is *p11,p12 9 Pixel data is 3x3 Image template , Through row cache design ( Cached 2 Row image data ), The second after the yellow line 3 That's ok , Get complete 3x3 Image template 
Find_box Module simulation waveform , Gray frame difference method to get binary image , Then design the bounding box to get up, down, left and right 4 Point pixel coordinates , Frame the target area .
Data acquisition module :

In order to visually see the line field signal , Simulate camera timing , One frame of data is reduced to 4 Row data , As shown in the figure below :
As shown in the figure below , Achieve output RGB565 When the format , Two pixel clocks in succession 8bit The splicing of data into 16bit The data of 
I2C Control timing module :


I2C Timing simulation diagram
The use of I2C The system clock is 100MHz, By dividing the frequency of the system clock, we can get i2c_sclk The clock is 100KHz, But it cannot be directly used Verilog Designed drive clock , So here we use enable clock to realize .i2c_capture_en Sample at the middle point of high level ,i2c_transfer_en Transmit data at the low-level intermediate point ,I2C The configured data is written in the first byte 8’H42 Camera for writing timing ID Address , The register address data will be written in the second byte , Then the register data is written in the third byte . Due to the response bit ACK The existence of , It takes 9 Clock cycles .
Two 、VGA modular :


chart 2.17 I2C Timing simulation diagram
Pictured 2.17 Shown ,I2C sequential Modelsim Simulation results . This article is designed to use I2C The system clock is 100MHz, By dividing the frequency of the system clock, we can get i2c_sclk The clock is 100KHz, But it cannot be directly used Verilog Designed drive clock , So here we use enable clock to realize .i2c_capture_en Sample at the middle point of high level ,i2c_transfer_en Transmit data at the low-level intermediate point ,I2C The configured data is written in the first byte 8’H42 Camera for writing timing ID Address , The register address data will be written in the second byte , Then the register data is written in the third byte . Due to the response bit ACK The existence of , It takes 9 Clock cycles .
notes : You can confide in me if you need a watermark free picture .
边栏推荐
- 【软件工程之美 - 专栏笔记】25 | 有哪些方法可以提高开发效率?
- HR面必问问题——如何与HR斗志斗勇(收集于FPGA探索者)
- ML15 neural network (1)
- 低功耗蓝牙5.0芯片nrf52832-QFAA
- HR must ask questions - how to fight with HR (collected from FPGA Explorer)
- 基于AD9850的多功能信号发生器
- Torch. NN. Parameter() function understanding
- 基于51单片机ADC0808的proteus仿真
- NRF52832-QFAA 蓝牙无线芯片
- 6、 Pointer meter recognition based on deep learning key points
猜你喜欢

6、 Pointer meter recognition based on deep learning key points

SimpleFOC调参2-速度、位置控制

【RoboMaster】从零开始控制RM电机(2)-CAN通信原理及电调通信协议

基于51单片机的四路抢答器仿真

【软件工程之美 - 专栏笔记】24 | 技术债务:是继续修修补补凑合着用,还是推翻重来?

HAL学习笔记 - 7 定时器之高级定时器

ABSA1: Attentional Encoder Network for Targeted Sentiment Classification

逻辑回归-项目实战-信用卡检测任务(下)

ML9自学笔记

Huawei cloud 14 day Hongmeng device development -day5 drive subsystem development
随机推荐
2022 spring recruit - Shanghai an road FPGA post Manager (and Lexin SOC interview)
【软件工程之美 - 专栏笔记】“一问一答”第2期 | 30个软件开发常见问题解决策略
5、 Image pixel statistics
Hal library learning notes-11 I2C
基于51单片机的四路抢答器仿真
CV520国产替代Ci521 13.56MHz 非接触式读写器芯片
华为云14天鸿蒙设备开发-Day3内核开发
【软件工程之美 - 专栏笔记】25 | 有哪些方法可以提高开发效率?
Power electronics: single inverter design (matlab program +ad schematic diagram)
Migration learning robot visual domain adaptation with low rank reconstruction
Torch. NN. Parameter() function understanding
基于F407ZGT6的WS2812B彩灯驱动
兼容cc1101/cmt2300-DP4301 SUB-1G 无线收发芯片
1、 Multiprocessing.pool.remotetraceback
华为云14天鸿蒙设备开发-Day1源码获取
AttributeError: module ‘tensorflow‘ has no attribute ‘placeholder‘
Dust and noise monitoring system
Reading papers on false news detection (I): fake news detection using semi supervised graph revolutionary network
Transfer joint matching for unsupervised domain adaptation
HAL库学习笔记- 9 DMA