A method for measuring the number and speed of moving objects based on Hall bars
Through the measurement method of the number and speed of moving objects based on Hall strips, the abnormal Hall resistance characteristics of Hall strips and the STDP composite algorithm are used to solve the problem of performance degradation and high cost of laser sensors under the influence of environmental factors, and achieve low-cost , High reliability measurement of moving objects.
Patent Information
- Application Number
- CN202210315340.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-03-28
AI Technical Summary
Existing laser sensors suffer from performance degradation and high cost under the influence of environmental factors, making it difficult to achieve high-precision, low-cost speed measurement of moving objects.
Design a method for measuring the number and speed of moving objects based on Hall strips. It uses the abnormal Hall resistance characteristics of Hall strips to record the changing rules of the Hall resistance value by applying pulse current adjustment signals. Combined with the STDP composite algorithm module and calculation module, Count the number, speed and direction of moving objects.
It achieves low-cost, low-power consumption and high-reliability measurement of the number and speed of moving objects, extending the service life of the system and improving stability.
Smart Images

Figure CN114609406B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of speed measurement and metering, and relates to a measurement method using a novel electronic device, and specifically to a counting and object movement speed measurement method based on a Hall bar. Background Art
[0002] The existing technology uses high-precision laser sensors to measure the speed of moving objects, which has the advantage of accurate measurement. In practical applications, due to the influence of environmental factors, the performance of the sensor will decline and the life span will also be reduced, so the system cost is relatively high.
[0003] The Hall bar is a spin electronic device that achieves non-volatile changes in anomalous Hall resistance by flipping the magnetic domain inside the device through spin-orbit torque. Specifically, the anomalous Hall resistance of the Hall bar can change continuously under pulse current drive and remain unchanged in other states. Therefore, the Hall bar has the characteristics of non-volatile programming, long life, and simple preparation. It is usually used in the storage field, using Hall resistance to perform information storage functions. In addition, the Hall bar can also realize computing functions to achieve the goal of storage and computing integration.
[0004] Based on the above characteristics, using Hall bars to design a measurement system can improve the stability and reliability of the system and reduce costs. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present invention proposes a method for measuring the number and speed of moving objects based on Hall bars, which specifically includes the following steps:
[0006] Step 1: Prepare a moving object quantity and speed measurement device based on a Hall bar, which includes a sensor module, an STDP (Spike Timing Dependent Plasticity) composite algorithm module, a Hall bar, a state reading module and a calculation module.
[0007] Step 2: Apply a pulse modulation signal with a fixed period and an amplitude greater than the critical current of the Hall bar to the input end of the Hall bar to change the Hall resistance value of the Hall bar, and record the law of the change of the Hall resistance value with the number of pulses and store it in the calculation module.
[0008] Step 3: According to the variation rule obtained in step 2, the variation rule of the Hall resistance value along with the pulse duty cycle is statistically analyzed and stored in the calculation module.
[0009] Step 4: Fix the sensor module at two points with known distances. When a moving object is detected passing by, the sensor module outputs a sensor signal to the STDP composite algorithm module.
[0010] Step 5: The STDP composite algorithm module applies a pulse signal with a corresponding duty cycle to the input end of the Hall bar according to the time difference of the sensor signals from different positions.
[0011] Step 6: The state reading module reads the Hall resistance value of the Hall bar at different times and inputs it into the calculation module. The calculation module calculates the number, speed and direction of the moving objects according to the change of the Hall resistance value and the change rules of the statistics in steps 2 and 3.
[0012] Preferably, it also includes a display module and a storage module, which are respectively used to display and store the calculation results of the calculation module.
[0013] Preferably, the sensor is a photoelectric sensor or a Hall sensor.
[0014] The present invention has the following beneficial effects:
[0015] The Hall bar has the advantages of long service life and simple preparation. This method uses a moving object number and speed measurement device based on the Hall bar to give full play to the high stability of the Hall bar, realize the measurement of the number and speed of moving objects, and provide a low-cost, low-power, and high-reliability measurement method. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flow chart of a method for measuring the number and speed of moving objects based on Hall bars;
[0017] Figure 2 A device for measuring the number and speed of moving objects based on Hall bars used in the embodiments;
[0018] Figure 3 : is a graph showing the relationship between the Hall resistance value of the Hall bar and the pulse current in the embodiment;
[0019] Figure 4 The curve of the Hall resistance value fitting in the embodiment as a function of the number of forward pulses;
[0020] Figure 5 The curve of the Hall resistance value fitted in the embodiment changes with the number of negative pulses;
[0021] Figure 6 The curve of the Hall resistance value fitted in the embodiment changes with the effective time of the forward pulse;
[0022] Figure 7 The curve of the Hall resistance value fitted in the embodiment changes with the effective time of the negative pulse;
[0023] Figure 8 1 is a curve showing the variation of the object movement speed with the Hall resistance value measured in the embodiment. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention is further described in detail below in conjunction with the drawings in the examples of the present invention. Naturally, the specific embodiments described here are part of the invention, not all embodiments. The detailed description of the drawings of the following embodiments is only used to illustrate the specific embodiments of the present invention, and does not limit the scope of protection claimed by the present invention. Based on the embodiments of the present invention, ordinary technicians in this field make non-creative modifications to the technical solutions recorded in the embodiments, or make equivalent replacements for some of the technical features therein, which all fall within the protection scope of the present invention.
[0025] This embodiment applies a method for measuring the number and speed of moving objects based on Hall bars to the measurement of 50-meter sprint results in a physical fitness test, and can automatically calculate the number of students taking the test and the scores of each student. Figure 1 As shown, the specific steps include:
[0026] Step 1: Prepare a device for measuring the number and speed of moving objects based on Hall bars, such as Figure 2 As shown, the device includes sensor 1, sensor 2, STDP (Spike Timing Dependent Plasticity) composite algorithm module, Hall bar, state reading module, calculation module, display module and storage module.
[0027] Step 2, place the Hall bar on the electrical measurement platform, and apply an in-plane auxiliary magnetic field parallel to the input end of the Hall bar. Use a program-controlled 6221 current source to provide a pulse modulation signal with a duty cycle of 30us, a period of 1ms, and an amplitude greater than the critical current to the two ends of the Hall bar input to change the Hall resistance value. Then the input end of the Hall bar is connected in series with a 10kΩ power resistor, and a sinusoidal voltage signal with an amplitude of 5V and a frequency of 317Hz is provided to the Hall bar and the resistor through the SR830 digital phase-locked amplifier, which is equivalent to inputting a sinusoidal current signal with an amplitude of 0.5mA and a frequency of 317Hz to the input end of the Hall bar. The Hall resistance value of the Hall bar can be obtained by comparing the output voltage of the Hall bar with Ohm's law.
[0028] like Figure 3 As shown, a positive pulse signal with a continuous period of 1ms, an amplitude of ﹢10mA, and a duty cycle of 30us is applied to the input end of the Hall bar, and the Hall resistance value at the corresponding moment is calculated. The law of the Hall resistance value decreasing with the number of positive pulses x is statistically analyzed, as shown in Figure 4 As shown, and obtained by Matlab fitting:
[0029] R_H down(x)=0.1385*exp(-0.246x)+0.3876*exp(-0.0006048x)
[0030] A negative pulse current signal with a continuous period of 1ms, an amplitude of -10mA, and a duty cycle of 30us is applied to the input end of the Hall bar, and the Hall resistance value at the corresponding moment is calculated. The law that the Hall resistance value increases with the number of negative pulses y is statistically analyzed, such as Figure 5 As shown, and obtained by Matlab fitting:
[0031] R_H up (y)=0.622*exp(0.001568y)-0.09067*exp(-0.2667y)
[0032] The above curve equation is stored in the calculation module.
[0033] Step 3: Figure 6 As shown, the duty cycle of the positive pulse signal is taken as the effective duration t of the signal. Figure 4 The curve in the figure is fitted by Matlab to show that the Hall resistance decreases as the effective time of the positive pulse signal increases:
[0034] R_H down_t (t)=0.1385*exp(-0.0082t)+0.3876*exp(-0.00002016t)
[0035] like Figure 7 As shown, the duty cycle of the negative pulse signal is taken as the effective duration k of the signal. Figure 5 The curve in the figure is fitted by Matlab to show that the Hall resistance value increases with the effective time of the negative pulse signal:
[0036] R_H up_t (k)=0.622*exp(0.00005226k)-0.09067*exp(-0.008889k)
[0037] The above curve equation is also stored in the calculation module.
[0038] Step 4: Fix sensor 1 and sensor 2 at the starting point and the end point of the 50-meter sprint measurement route respectively. When a student is detected passing by, sensors 1 and 2 respectively output pulse signals to the STDP composite algorithm module.
[0039] Step 5: The STDP composite algorithm module applies a pulse signal of a corresponding duty cycle to the input end of the Hall bar according to the time difference between the signals received from sensors 1 and 2.
[0040] Step 6: The status reading module reads the Hall resistance values R_H0, R_H1, ..R_H of the Hall bar at different times. N , and input it into the calculation module. The calculation module substitutes the change of the Hall resistance value into the curve equation fitted in steps 2 and 3 to calculate the number, speed and direction of the moving objects.
[0041] (1) When R_H0>R_H N , the Hall resistance value decreases with the increase of pulse number and effective time. Substituting into the curve and R_H down_t (t):
[0042]
[0043]
[0044] Where n = 1, 2, 3, ... N, x0, x N Respectively represent the Hall resistance values of R_H0 and R_H N The number of positive pulse currents corresponding to the time, t(n-1) and tn represent the Hall resistance value R_H n-1 , R_H n The corresponding positive pulse current effective action time, the number of testers is xN-x0, and the speed of the n-1th tester is 50 / (tn-t(n-1)), such as Figure 8 shown.
[0045] (2) When R_H0<R_H N , the Hall resistance value increases with the number of pulses and the effective time. Substituting into the curve R_H up (y) and R_H up_t (k):
[0046]
[0047]
[0048] Among them, y0 and yN represent the Hall resistance values R_H0 and R_H N The number of negative pulse currents corresponding to the time, k(n-1) and kn represent the Hall resistance value R_H n-1 , R_H n The corresponding negative pulse current effective action time is yN-y0, the number of testers is yN-y0, and the speed of the n-1th tester is 50 / (kn-k(n-1)).
[0049] Step 7: The display module and the storage module receive, display and store the calculation results of the calculation module.
Claims
1. A method for measuring the number and speed of moving objects based on Hall bars, characterized in that: The specific steps include: Step 1, prepare a moving object quantity and speed measurement device based on Hall bar, the device includes a sensor module, an STDP composite algorithm module, a Hall bar, a state reading module and a calculation module; Step 2, by applying a pulse modulation signal with a duty cycle of 30us, a period of 1ms, and an amplitude greater than the critical current to the input end of the Hall bar to change the Hall resistance value of the Hall bar, input a sinusoidal current signal with an amplitude of 0.5mA and a frequency of 317Hz to the input end of the Hall bar, read the Hall voltage at the output end of the Hall bar, calculate the Hall resistance value according to Ohm's law, and record the law of the change of the Hall resistance value with the number of pulses, and store it in the calculation module; Step 3, according to the change rule obtained in step 2, the change rule of the Hall resistance value with the pulse duty cycle is statistically calculated and stored in the calculation module; Step 4: Fix the sensor module at two points with known distances. When a moving object is detected passing by, the sensor module outputs a sensor signal to the STDP composite algorithm module. Step 5, the STDP composite algorithm module applies a pulse signal corresponding to the duty cycle to the input end of the Hall bar according to the time difference of the sensor signals from different positions; Step 6: The state reading module reads the Hall resistance value of the Hall bar at different times and inputs it into the calculation module; The calculation module calculates the number, speed and direction of the moving objects according to the change of the Hall resistance value and the change rules statistically calculated in step 2 and step 3.
2. A method for measuring the number and speed of moving objects based on Hall bars as claimed in claim 1, characterized in that: It also includes a display module and a storage module, which are respectively used to display and store the calculation results of the calculation module.
3. A method for measuring the number and speed of moving objects based on Hall bars as claimed in claim 1, characterized in that: The sensor is a photoelectric sensor or a Hall sensor.
