Rotation speed measuring circuit for direct current motor module of virtual simulation equipment
By designing a motor speed measurement circuit composed of Hall sensor and operational amplifier LM393 in a virtual simulation device, the technical difficulties of motor speed measurement in virtual equipment are solved, and accurate and economical speed measurement is achieved. The circuit structure is simple and can effectively deal with noise. .
Patent Information
- Application Number
- CN202323528227.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2033-12-22
AI Technical Summary
In the prior art, the motor speed measurement is required during operation of virtual equipment, but there is a lack of a motor speed measurement circuit with simple structure and low cost.
A virtual simulation equipment DC motor module speed measurement circuit is designed, using Hall sensor and signal processing circuit, and the analog signal of Hall sensor is shaped into digital square wave signals by using the operational amplifier LM393, and the motor is measured by counting the number of square waves. The circuit includes Hall sensor AH3144, operational amplifier LM393, potentiometer, current limiting resistor and high-frequency filter capacitor.
It realizes accurate measurement of motor speed, and the circuit structure is simple and low-cost, which can effectively filter out medium and high-frequency noise.
Smart Images

Figure CN221976902U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of virtual simulation equipment, and more specifically to a speed measurement circuit for a DC motor module of virtual simulation equipment. Background Art
[0002] A virtual simulation device refers to a device that uses a virtual system to imitate another real system. During the operation of the virtual device, a motor will be used to implement some functions. In some scenarios, the motor speed needs to be measured. Therefore, it is necessary to design a motor speed measurement circuit with simple structure and low cost. Utility Model Content
[0003] The technical problem to be solved by the utility model is that, in view of the technical problem that in the prior art a motor is used to realize some functions during the operation of a virtual device and that the rotation speed of the motor needs to be measured in some scenarios, the utility model provides a motor rotation speed measurement circuit with simple structure and low cost.
[0004] The utility model discloses a virtual simulation device DC motor module speed measurement circuit, comprising a Hall sensor and a signal processing circuit, wherein the signal processing circuit comprises an operational amplifier LM393, wherein the in-phase input terminal of the operational amplifier LM393 is connected to the output terminal of the Hall sensor, the inverting input terminal of the operational amplifier LM393 is connected to the moving terminal of a potentiometer, the two fixed terminals of the potentiometer are respectively connected to a positive power supply 5V and a ground, a current limiting resistor and a light emitting diode are connected in series between the output terminal of the operational amplifier LM393 and the positive power supply 5V, and the output terminal of the operational amplifier LM393 serves as the output terminal of the virtual simulation device DC motor module speed measurement circuit.
[0005] Preferably, in the virtual simulation device DC motor module speed measurement circuit of the utility model, the Hall sensor model is AH3144.
[0006] Preferably, in the virtual simulation device DC motor module speed measurement circuit of the utility model, the current limiting resistor has a value of 10KΩ.
[0007] Preferably, in the virtual simulation device DC motor module speed measurement circuit of the utility model, the size of the potentiometer is 10KΩ.
[0008] Preferably, in the virtual simulation device DC motor module speed measurement circuit of the utility model, a high-frequency filter capacitor is also connected in series between the output end of the operational amplifier LM393 and the ground.
[0009] Preferably, in the virtual simulation device DC motor module speed measurement circuit of the utility model, the high-frequency filter capacitor has a size of 0.1 μF.
[0010] The utility model discloses a virtual simulation device DC motor module speed measurement circuit, a Hall sensor senses and generates an analog signal, the circuit part where the operational amplifier is located reshapes the analog signal into a digital square wave signal for output, and the back-end processing circuit measures the motor speed according to the number of square waves in a unit time. The utility model has accurate measurement results, simple structure and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0012] Figure 1 It is a schematic diagram of an embodiment of a speed measurement circuit of a DC motor module of a virtual simulation device of the utility model;
[0013] Figure 2 It is a schematic diagram of an embodiment of the motor drive part of the utility model. DETAILED DESCRIPTION
[0014] In order to have a clearer understanding of the technical features, purposes and effects of the present utility model, the specific implementation methods of the present utility model are now described in detail with reference to the accompanying drawings.
[0015] refer to Figure 1-Figure 2 The utility model discloses a virtual simulation device DC motor module speed measurement circuit, comprising a Hall sensor U1 and a signal processing circuit, wherein the Hall sensor model is AH3144, and the signal processing circuit comprises an operational amplifier LM393, wherein the in-phase input terminal of the operational amplifier LM393 is connected to the output terminal of the Hall sensor, the inverting input terminal of the operational amplifier LM393 is connected to the moving terminal of a potentiometer R1, and the two fixed terminals of the potentiometer R1 are respectively connected to a positive power supply 5V and a ground, and a current limiting resistor R2 and a light emitting diode D1 are connected in series between the output terminal of the operational amplifier LM393 and the positive power supply 5V, and the output terminal of the operational amplifier LM393 serves as the output terminal of the virtual simulation device DC motor module speed measurement circuit.
[0016] As a preferred implementation of this embodiment, the current limiting resistor R2 has a value of 10KΩ, and the potentiometer R1 has a value of 10KΩ.
[0017] In this embodiment, a high-frequency filter capacitor is connected in series between the output terminal of the operational amplifier LM393 and the ground. The high-frequency filter capacitor has a size of 0.1 μF and can filter out medium and high frequency noise of the output signal.
[0018] Working principle of the utility model: the circuit needs to be used in conjunction with a magnet, the magnet is attached to the output shaft of the DC motor or a component that rotates synchronously with the output shaft, such as a disc fixed on the output shaft, the Hall sensor is a sine wave analog signal that is generated only when the induction magnet passes through the Hall sensor, and then input into the in-phase input end of the operational amplifier, the operational amplifier acts as a comparator to compare the signal voltage at the in-phase input end with the reference voltage at the inverting input end, the potentiometer R1 is used to adjust the reference voltage, when the Hall sensor generates the above analog signal, the signal voltage is greater than the reference voltage, the operational amplifier outputs a high level, when the Hall sensor does not sense the magnet and thus does not generate the above analog signal, the signal voltage is less than the reference voltage, the operational amplifier outputs a low level, due to the rotation of the output shaft of the motor, the Hall sensor will continuously switch between generating the above analog signal and not generating the above analog signal, the operational amplifier will continuously cycle and output high and low levels, in a continuous time period, these high and low levels form a square wave signal, the back-end processing circuit receives the output of the operational amplifier, measures the frequency of the square wave, the frequency is consistent with the rotation frequency of the motor, and thus the motor speed is measured. The diode D1 will light up when the operational amplifier outputs a low level and will turn off when the operational amplifier outputs a high level. The aforementioned back-end processing circuit can use an FPGA of model DE10_Standard or other MCUs, and the output of the operational amplifier is connected to the GPIO_D30 pin of DE10_Standar.
[0019] The utility model generates an analog signal through Hall sensor induction, and the circuit part where the operational amplifier is located reshapes it into a digital square wave signal for output. The back-end processing circuit measures the motor speed according to the number of square waves in unit time. The utility model has accurate measurement results, simple structure and low cost.
[0020] The embodiments of the utility model are described above in conjunction with the accompanying drawings, but the utility model is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the utility model, ordinary technicians in this field can also make many forms without departing from the scope of protection of the utility model and the claims, which all fall within the protection of the utility model.
Claims
1. A virtual simulation device DC motor module speed measurement circuit, characterized in that: It includes a Hall sensor and a signal processing circuit, wherein the signal processing circuit includes an operational amplifier LM393, wherein the in-phase input terminal of the operational amplifier LM393 is connected to the output terminal of the Hall sensor, the inverting input terminal of the operational amplifier LM393 is connected to the moving terminal of a potentiometer, the two fixed terminals of the potentiometer are respectively connected to a positive power supply 5V and a ground, a current limiting resistor and a light-emitting diode are connected in series between the output terminal of the operational amplifier LM393 and the positive power supply 5V, and the output terminal of the operational amplifier LM393 serves as the output terminal of the speed measurement circuit of the DC motor module of the virtual simulation device.
2. The virtual simulation device DC motor module speed measurement circuit according to claim 1, characterized in that: The Hall sensor model is AH3144.
3. The virtual simulation device DC motor module speed measurement circuit according to claim 1, characterized in that: The current limiting resistor has a value of 10KΩ.
4. The virtual simulation device DC motor module speed measurement circuit according to claim 1, characterized in that: The size of the potentiometer is 10KΩ.
5. The virtual simulation device DC motor module speed measurement circuit according to claim 1, characterized in that: A high-frequency filtering capacitor is also connected in series between the output end of the operational amplifier LM393 and the ground.
6. The virtual simulation device DC motor module speed measurement circuit according to claim 5, characterized in that: The high frequency filter capacitor has a size of 0.1 μF.
