Disclosure of Invention
In order to solve the problems, the invention provides an acceleration direction judging circuit and method which are small in size, low in cost and low in power consumption and can judge the acceleration direction by changing the magnetic induction intensity direction and intensity on an electrode plate.
In order to achieve the above purpose, the acceleration direction judging circuit designed by the invention is used for judging the motion acceleration direction of electronic equipment, and comprises a first magnet, a second magnet, an electrode plate, a power supply, a resistor and an ADC voltage detecting module, wherein the first magnet and the second magnet are magnets with consistent physical properties, the N pole of the first magnet is opposite to the N pole of the second magnet, the electrode plate is arranged between the first magnet and the second magnet, the distance between the electrode plate and the first magnet is equal to the distance between the electrode plate and the second magnet, the positive output end of the power supply, the resistor, the electrode plate and the negative input end of the power supply are connected in series to form a loop, the electrode plate is arranged to move along the stress direction under the action of external force, and when the electrode plate moves along the stress direction under the action of external force, the ADC voltage detecting module obtains the potential difference at two ends of the electrode plate to judge the acceleration direction.
The further scheme is that the electrode plate is provided with at least a first edge, a second edge, a third edge and a fourth edge, the first edge and the second edge are oppositely arranged, the third edge and the fourth edge are oppositely arranged, the power supply positive electrode output end, the resistor, the first edge of the electrode plate, the second edge of the electrode plate and the power supply negative electrode input end are connected in series to form a loop, and the ADC voltage detection module is used for obtaining the potential difference between the third edge of the electrode plate and the fourth edge of the electrode plate.
Further, the electrode plate is made of semiconductor materials.
The plate surface of the electrode plate is perpendicular to the magnetic field direction of the first magnet and the magnetic field direction of the second magnet.
Further, the resistor is a current limiting resistor.
The further scheme is that three groups of same acceleration direction judging circuits are arranged, and the acceleration direction judging circuits are mutually perpendicular to each other so as to acquire acceleration directions in X, Y and Z three-axis directions.
The method for judging the acceleration direction comprises the steps that the position of an electrode plate can move along the stress direction under the action of external force by kinetic energy generated by external motion, so that the relative position of the electrode plate between a first magnet and a second magnet is changed, the direction of magnetic induction intensity on the electrode plate is correspondingly changed with the intensity, and the direction of the acceleration is judged.
The acceleration direction judging circuit and the acceleration direction judging method designed by the invention judge the acceleration direction by changing the magnetic induction intensity direction and the intensity on the electrode plate, and have the characteristics of small volume, low cost, low power consumption and the like.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
Example 1.
As shown in fig. 1-4, the acceleration direction determining circuit described in this embodiment is configured to determine a moving acceleration direction of an electronic device, and includes a first magnet 1, a second magnet 2, an electrode plate 3, a power supply 4, a resistor 5, and an ADC voltage detecting module 6, where the first magnet 1 and the second magnet 2 are magnets with consistent physical properties, an N pole of the first magnet 1 is opposite to an N pole of the second magnet 2, the electrode plate 3 is disposed between the first magnet 1 and the second magnet 2, and a distance between the electrode plate 3 and the first magnet 1 is equal to a distance between the electrode plate 3 and the second magnet 2, an anode output end of the power supply 4, the resistor 5, the electrode plate 3, and a cathode input end of the power supply 4 are connected in series to form a loop, and the electrode plate 3 is configured to move along a stress direction under an external force, and when the electrode plate 3 moves along the stress direction under the external force, the ADC voltage detecting module 6 obtains a potential difference between two ends of the electrode plate 3 to determine the acceleration direction.
In some embodiments of the present invention, as shown in fig. 1, the electrode plate 3 has at least a first edge 31, a second edge 32, a third edge 33, and a fourth edge 34, where the first edge 31 and the second edge 32 are disposed opposite to each other, the third edge 33 and the fourth edge 34 are disposed opposite to each other, the output terminal of the power supply 4, the resistor 5, the first edge 31 of the electrode plate 3, the second edge 32 of the electrode plate 3, and the input terminal of the power supply 4 are connected in series to form a loop, and the ADC voltage detection module 6 is configured to obtain a potential difference between the third edge 33 of the electrode plate 3 and the fourth edge 34 of the electrode plate 3.
In some embodiments of the present invention, the plate surface of the electrode plate 3 is perpendicular to the magnetic field direction of the first magnet 1 and the magnetic field direction of the second magnet 2. By means of the structural design, the electrode plate 3 can move along the magnetic field direction more easily under the action of external force, so that the magnetic induction intensity direction and intensity on the electrode plate 3 can be changed more easily, and the direction of acceleration can be accurately judged. In addition, the influence of the vertical displacement on the electrode plate 3 on the magnetic induction intensity direction and intensity can be reduced, and the measurement accuracy is improved.
In some embodiments of the invention, the resistor 5 is a current limiting resistor. Thus, the current is controlled by changing the current limiting resistor, and the acceleration direction detection sensitivity is adjusted.
In some embodiments of the present invention, three sets of identical acceleration direction determining circuits are provided, and the acceleration direction determining circuits are disposed perpendicular to each other to obtain acceleration directions in the X, Y, and Z three-axis directions. The multi-axis motion acceleration judgment circuit is used for judging the motion acceleration direction of multi-axis directions, and further improves the applicability of the judgment circuit.
For easy understanding, the following describes the working principle of the judging circuit according to the state that the electrode plate 3 moves to different positions along the stress direction under the action of external force:
when the electrode plate 3 is not acted by external force, i.e. the judging circuit is in an initial state, current flows from the positive electrode output end of the power supply 4 to the resistor 5 and then to the electrode plate 3, passes through the electrode plate 3 and then to the negative electrode input end of the power supply 4 to form a loop, wherein the positive charge direction and the current direction in the electrode plate 3 made of semiconductor materials are consistent clockwise, the negative charge direction and the current direction are opposite anticlockwise, as shown in fig. 1, the distance between the electrode plate 3 and the first magnet 1 is equal to the distance between the electrode plate 3 and the second magnet 2, i.e. the electrode plate 3 is positioned on a central line between the distances between the first magnet 1 and the second magnet 2, since the magnetic lines of force of the first magnet 1 and the magnetic lines of force of the second magnet 2 repel each other due to the like poles and repel each other at the center line position, and since the magnetic field intensities are the same, the resultant magnetic flux is algebraic sum of magnetic fluxes in opposite directions, so that the magnetic induction intensity at the center line position is 0, the magnetic flux of the electrode plate 3 is 0, so that when the electrode plate 3 is located at the distance from the center line between the first magnet 1 and the second magnet 2 without external force, positive charges and negative charges on the electrode plate 3 are freely arranged and have the same number, the potential difference between the third side 33 and the fourth side 34 is 0, the adc detection module 6 displays a voltage value v=0v, and no acceleration is judged to be generated, and the acceleration value is zero.
As shown in fig. 2, when the electrode plate 3 is moved upwards by an external force, the net magnetic flux received by the electrode plate 3 mainly comes from the first magnet 1, the N-pole magnetic force line of the first magnet 1 vertically passes through the electrode plate 3 from top to bottom, that is, the magnetic field direction is vertical to the current direction, and according to the left hand rule, the lorentz force direction received by positive charges on the electrode plate 3 is towards the third side 33 of the electrode plate 3, so that the positive charges are gathered towards the third side 33 under the action of the lorentz force; the lorentz force direction of the negative charges is towards the fourth side 34 of the electrode plate 3, so that the negative charges gather towards the fourth side 34 under the action of the lorentz force, an electric field is generated between the gathered positive charges and the negative charges, the electric field direction is positive charges towards the negative charges, namely the electric field lines are led to the fourth side 34 from the third side 33, the electric field force direction of the positive charges is towards the fourth side 34 of the electrode plate 3 under the action of the electric field force, the electric field force direction of the negative charges is towards the third side 33 of the electrode plate 3, after the forces of positive charges and negative charges are balanced, the lorentz force and the electric field force of the positive charges reach dynamic balance, meanwhile, the positive charges and the negative charges can pass through the electrode plate 3 smoothly through the first side 31 and the second side 32 to reach the negative input end of the power supply 4, the positive charges on the third side 33 and the negative charges on the fourth side 34 have a potential difference, the potential of the third side 33 is higher than that of the fourth side 34, and the ADC detection module 6 shows that the voltage difference V between the third side 33 and the fourth side 34 is larger than zero volts. Further, the larger the upward external force applied to the electrode plate 3, the closer to the first magnet 1, the larger the magnetic induction intensity applied to the electrode plate 3, and the larger the absolute value |v| of the detected voltage value.
As shown in fig. 3, when the electrode plate 3 is moved downward by an external force, the net magnetic flux received by the electrode plate 3 mainly comes from the second magnet 2, and the N-pole magnetic force lines of the second magnet 2 pass through the electrode plate 3 vertically from bottom to top, that is, the magnetic field direction is perpendicular to the current direction, and according to the left-hand rule, the lorentz force direction received by the positive charge on the electrode plate 3 is toward the fourth side 34 of the electrode plate 3, so that the positive charge is collected toward the fourth side 34 under the action of the lorentz force; the lorentz force direction of the negative charges is towards the third side 33 of the electrode plate 3, so that the negative charges gather towards the third side 33 under the action of the lorentz force, an electric field is generated between the gathered positive charges and the negative charges, the electric field direction is positive charges towards the negative charges, namely the electric field lines are led to the third side 33 from the fourth side 34, the electric field force direction of the positive charges is towards the third side 33 of the electrode plate 3 under the action of the electric field force, the electric field force direction of the negative charges is towards the fourth side 34 of the electrode plate 3, after the forces respectively received by positive charges and negative charges are balanced, the lorentz force and the electric field force received by the positive charges reach dynamic balance, meanwhile, the positive charges and the negative charges can pass through the electrode plate 3 smoothly through the first side 31 and the second side 32 to reach the negative input end of the power supply 4, the positive charges on the fourth side 34 and the negative charges on the third side 33 have a potential difference, the potential on the fourth side 34 is higher than that of the third side 33, and the ADC detection module 6 shows that the voltage difference V between the third side 33 and the fourth side 34 is smaller than zero volt. Further, the larger the downward external force applied to the electrode plate 3, the closer to the second magnet 2, the larger the magnetic induction intensity applied to the electrode plate 3, and the larger the absolute value |v| of the detected voltage value.
The embodiment also provides an acceleration direction judging method, wherein kinetic energy generated by external motion enables the position of the electrode plate 3 to move along the stress direction under the action of external force, so that the relative position of the electrode plate 3 between the first magnet 1 and the second magnet 2 is changed, the direction of magnetic induction intensity on the electrode plate 3 is correspondingly changed with the intensity, and the direction of acceleration is judged. As shown in fig. 4, in this embodiment, the distances from the electrode plate 3 to the first magnet 1 and the second magnet 2 are equal, the elastic member 100 is used for connecting the electrode plate 3 so that the electrode plate 3 can move along with the stress direction under the action of external force, the voltage test pin A1 and the voltage test pin A2 are used for connecting the external ADC detection module 6 to test and judge the acceleration direction, the power supply wire B1 and the power supply wire B2 are used for connecting the power supply 4 and providing positive and negative charges for the electrode plate 3, when the electrode plate 3 moves along with the stress direction under the action of external force, the position of the electrode plate 3 relative to the first magnet 1 and the second magnet 2 is changed, so that the direction and strength of the magnetic induction intensity on the electrode plate 3 are correspondingly changed, and the direction of the acceleration is judged through the external ADC detection module 6.
The acceleration direction judging circuit and the acceleration direction judging method designed by the invention judge the acceleration direction by changing the magnetic induction intensity direction and the intensity on the electrode plate, and have the characteristics of small volume, low cost, low power consumption and the like.
In the description of the present invention, it should be noted that the azimuth or positional relationship indicated by the terms "vertical", "upper", "lower", "horizontal", etc. are based on the azimuth or positional relationship shown in the drawings, and are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the apparatus or element referred to must have a specific azimuth, be constructed and operated in a specific azimuth, and thus should not be construed as limiting the present invention.
In the description of the present invention, it should also be noted that, unless explicitly specified and limited otherwise, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
Finally, it should be noted that: the foregoing description is only a preferred embodiment of the present invention, and the present invention is not limited thereto, but it is to be understood that modifications and equivalents of some of the technical features described in the foregoing embodiments may be made by those skilled in the art, although the present invention has been described in detail with reference to the foregoing embodiments. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.