With the continuous development of social economy and technology,the scale of fishing industry in China is expanding,and the demand for fishing equipment is increasing.Traditional fishermen mainly rely on their own experience to carry out fishing operations,which not only requires the fishermen to have a higher level of experience,but also has a great chance in the operation process,which seriously affects the improvement of fishing production.Therefore,the development of reliable and portable fishing equipment has important economic value.With the continuous development of civil sonar detection technology and the maturity of relevant theoretical methods,this paper designs a portable fishing detector based on the basic principles of sonar detection,combined with the relevant knowledge of electronic circuit software and hardware,which is based on the logarithmic amplifier of AA32416.Firstly,combined with the development trend of fish detector at home and abroad,this paper clarifies the general idea and direction of design and research,puts forward the basic requirements of product design,completes the overall framework structure design of fish detector according to the requirements of product design,and explains in detail the relevant theoretical basis of ultrasound as a means of detection.In the aspect of hardware design,this paper introduces the main components selection and circuit design of the hardware circuit in the fish detector system,and expounds the basic working principle and parameter requirements of each circuit.The hardware circuit is mainly composed of STM32 main control circuit,sonar probe driving circuit,signal processing circuit,power supply circuit,storage circuit,display circuit and sonar probe.The whole circuit is controlled by STM32.The sonar probe driving circuit drives the sonar probe to emit ultrasound.The signal processing circuit takes AA32416 logarithmic amplification circuit as the core and is responsible for processing and analyzing the probe echo signal generated by sonar probe.In terms of software design,the fish detector system takes FreeRTOS real-time operating system as its framework,compiles core applications such as PWM transmitting program,ADC data acquisition program,signal validity determination program and anti-interference program,and finally presents the results to users through TFT LCD screen.Finally,this paper completes the testing of the software and hardware of the fish detector system.In the hardware aspect,it mainly tests the quality of the driving signal of the sonar probe and the effect of the signal processing circuit.In the software aspect,it mainly tests the detection effect of the system.The test results show that the designed research basically achieves the expected functional requirements,and the software and hardware work of the system is basically stable and reliable. |