A Wiegand signal circle counting device
By using a triangular array of two magnetic sensors and a Wiegand line motion sensor in a multi-turn absolute encoder, the signal processing is simplified, and the problems of complex structure and limited battery life of the existing multi-turn counting device are solved. High reliability and low cost multi-turn counting.
Patent Information
- Application Number
- CN202110914785.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-10
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-08-10
AI Technical Summary
The multi-turn counting device of the existing multi-turn absolute encoder has a complex structure and high cost, and requires multiple Wiegand wire motion sensors, which makes the device unable to be miniaturized. The battery life is limited when powered by batteries, making it unsuitable for maintenance-free occasions.
Two magnetic sensors and one Wiegand line motion sensor are used to form a triangular array. Signal processing and counting are performed through a signal processing circuit to simplify the structure and reduce the data processing workload. A single Wiegand line motion sensor is used to complete signal collection.
It realizes multi-turn counting with simple structure and high reliability, reduces cost, reduces data processing workload, extends battery life, and is suitable for maintenance-free occasions.
Smart Images

Figure CN113505872B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of realizing multi-turn counting of a multi-turn absolute value encoder, in particular to a Wiegand signal turn counting device. Background Art
[0002] The multi-turn counting method of multi-turn absolute encoder is usually divided into two categories according to cumulative counting and absolute counting. Absolute counting refers to the use of mechanical structures such as gears to record the mechanical position. The full-scale mechanical position is absolute. The characteristic of absolute counting is that the counting is independent of power supply, and there is no need to record the multi-turn cumulative value. It is only related to the current absolute position, and the multi-turn cumulative value does not need to participate in the counting. The absolute counting device has a complex structure, is difficult to manufacture, and has a high cost.
[0003] Cumulative counting requires recording the accumulated values of multiple turns, and usually uses electronic devices for multi-turn accumulation. When the multi-turn absolute encoder loses power, a backup power supply is required to maintain and accumulate multi-turn counts. The multi-turn counting device using this counting method has a simple and compact structure, the number of multi-turn digits is not affected by the structure, and the cost is also low. The disadvantage is that when it is powered by a battery, the battery life is limited and the battery needs to be replaced regularly, which is not suitable for maintenance-free occasions.
[0004] The multi-turn counting device based on the Wiegand effect disclosed in U.S. Patent No. 6,084,400 has the disadvantage that it requires more than two Wiegand wire motion sensors. The Wiegand wire has a large volume. When the Wiegand wire is arranged on both sides of the magnet, the outer diameter of the counting device will be greatly increased, resulting in the multi-turn counting device being unable to be miniaturized and having a high cost.
[0005] Another US7598733B2 discloses another multi-turn counting scheme using a single Wiegand line motion sensor and a single Hall, in which, for counting the operations, additional information about the position and polarity of the last determined excitation magnet is used, which is stored in a non-volatile memory of the associated evaluation circuit. In which the HS is mounted concentrically or eccentrically at a certain distance from the EM.
[0006] The disadvantages of the prior art are:
[0007] 1. It is necessary to calculate and save pulse information, direction information, and number of turns information;
[0008] 2. It is necessary to count at four positions, namely, M, J, L, and K. When rotating in a certain direction, it is necessary to count twice per circle;
[0009] 3. It is necessary to determine and apply a pulse generating device to correct the Wiegand count during power-on initialization. Summary of the invention
[0010] The purpose of the present invention is to provide a Wiegand signal circle counting device with simple structure and high reliability.
[0011] To solve the above technical problems, an embodiment of the present invention provides a Wiegand signal lap counter device, comprising a first magnetic sensor, a second magnetic sensor, a Wiegand line motion sensor arranged on a first surface of a circuit board, and a magnet arranged at a predetermined distance from the second surface of the circuit board and with a magnetic field direction parallel to the Wiegand line sensor. The circuit board is provided with a signal processing circuit, a memory and a reader for the first magnetic sensor, the second magnetic sensor and the Wiegand line motion sensor. The signal processing circuit receives the signals generated by the first magnetic sensor, the second magnetic sensor and the Wiegand line motion sensor after the magnet rotates, and outputs counting information after processing. The memory stores the processing information of the signal processing circuit during operation, and the reader displays the counting information. The interconnected lines of the first magnetic sensor, the second magnetic sensor and the Wiegand line motion sensor form a triangle.
[0012] Wherein, the signal processing circuit includes a rectifier circuit, a first shaping circuit, a second shaping circuit, a power switching circuit and a counting control logic circuit. The two ends of the Wiegand line motion sensor are rectified by the first diode and the second diode respectively and then input into the first shaping circuit. The second shaping circuit performs shaping operation and then outputs to the counting control logic circuit and is input into the rectifier circuit for rectification operation. The first output end of the rectifier circuit is connected to the power switching circuit, and the second output end is grounded, and a preset capacitor is connected in parallel. The first shaping circuit, the second shaping circuit, the first magnetic sensor, the second magnetic sensor, and the reader are connected to the power switching circuit. The first magnetic sensor and the second magnetic sensor are connected to the corresponding input ends of the counting control logic circuit. The counting control logic circuit is connected to the reader through an external interface and to the memory through a storage interface.
[0013] The bottoms of the Wiegand line motion sensor, the first magnetic sensor, and the second magnetic sensor are located in the same plane.
[0014] The included angle between the axes of the first magnetic sensor and the second magnetic sensor is 60-120°.
[0015] The distance between the first magnetic sensor, the second magnetic sensor and the Wiegand line motion sensor is 1.5 mm to 2.5 mm.
[0016] The first magnetic sensor and the second magnetic sensor are located on an arc with the same radius at the center of the bottom surface of the Wiegand line motion sensor.
[0017] The first magnetic sensor or the second magnetic sensor is coaxial and oriented with the Wiegand line motion sensor.
[0018] The first magnetic sensor and the second magnetic sensor are linear Hall sensors or TMR sensors.
[0019] The magnet is a magnet pair consisting of independent N poles and S poles or a single magnet magnetized in the radial direction.
[0020] Wherein, the distance between the center of the Wiegand line motion sensor and the magnet is 7 mm to 9 mm.
[0021] The Wiegand signal lap counter provided in the embodiment of the present invention has the following advantages compared with the prior art:
[0022] The Wiegand signal lap counting device provided in the embodiment of the present invention sets two magnetic sensors to sectors to perform lap counting addition and subtraction and counting operations. Only one Wiegand line motion sensor is needed to complete signal acquisition. The corresponding signal processing circuit has a simple structure, and the structure of the entire device is simple and has high reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 A schematic structural diagram of a specific implementation of a Wiegand signal circle counting device provided in an embodiment of the present invention;
[0025] Figure 2 A schematic diagram of the circuit structure of a specific implementation of a Wiegand signal lap counter device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] Please refer to Figures 1-2 , Figure 1 A schematic structural diagram of a specific implementation of a Wiegand signal circle counting device provided in an embodiment of the present invention; Figure 2A schematic diagram of the circuit structure of a specific implementation of a Wiegand signal lap counter device provided in an embodiment of the present invention.
[0028] In a specific embodiment, the Wiegand signal lap counter device includes a first magnetic sensor 30, a second magnetic sensor 40, a Wiegand line motion sensor 20 arranged on a first surface of a circuit board 10, and a magnet 50 arranged at a predetermined distance from the second surface of the circuit board 10 and with a magnetic field direction parallel to the Wiegand line sensor. The circuit board 10 is provided with a signal processing circuit, a memory 60 and a reader 70 for the first magnetic sensor 30, the second magnetic sensor 40, and the Wiegand line motion sensor 20. The signal processing circuit receives the signals generated by the first magnetic sensor 30, the second magnetic sensor 40, and the Wiegand line motion sensor 20 after the magnet 50 rotates, and outputs counting information after processing. The memory 60 stores the processing information of the signal processing circuit during operation, and the reader 70 displays the counting information. The interconnected lines of the first magnetic sensor 30, the second magnetic sensor 40, and the Wiegand line motion sensor 20 form a triangle.
[0029] By setting two magnetic sensors to sectors to perform circle addition and subtraction and counting operations, only one Wiegand line motion sensor 20 is needed to complete signal acquisition. The corresponding signal processing circuit has a simple structure, the entire device has a simple structure, and has high reliability.
[0030] The present application does not limit the structure of the signal processing circuit. In one embodiment, the signal processing circuit includes a rectifier circuit 1001, a first shaping circuit 1005, a second shaping circuit 1007, a power switching circuit 1002 and a counting control logic circuit 1003. The two ends of the Wiegand line motion sensor 20 are rectified by the first diode 1004 and the second diode 1006 respectively, and then input to the first shaping circuit 1005 and the second shaping circuit 1007 for shaping operation and then output to the counting control logic circuit 1003 and input to the rectifier circuit 1001 for rectification operation. The first output end of 1001 is connected to the power switching circuit 1002, the second output end is grounded, and a preset capacitor 1008 is connected in parallel. The first shaping circuit 1005, the second shaping circuit 1007, the first magnetic sensor 30, the second magnetic sensor 40, and the reader 70 are connected to the power switching circuit. The first magnetic sensor 30 and the second magnetic sensor 40 are connected to the corresponding input ends of the counting control logic circuit 1003. The counting control logic circuit 1003 is connected to the reader 70 via an external interface 71 and is connected to the memory 60 via a storage interface 61.
[0031] During the counting process, the specific processing flow is as follows:
[0032] When the Wiegand pulse is generated, the rectifier circuit rectifies the current into pulsating direct current and stores it through the capacitor;
[0033] When the Wiegand pulse is generated, the amount of electricity stored in the capacitor gradually increases, supplying power to the power switching circuit. The power switching circuit simultaneously receives power from the reading device and automatically switches the power supply according to the power supply conditions of the two.
[0034] When a Wiegand pulse is generated, the Wiegand pulse is rectified by a diode and forms a Wiegand pulse level signal or a Wiegand level signal through a shaping circuit (voltage detection circuit);
[0035] When the Wiegand pulse is generated, the sector coding signal is obtained through the first and second magnetic sensors 40;
[0036] The counting control logic circuit 1003 performs plus-1 counting, minus-1 counting or no counting according to the Wiegand level signal and the sector encoder signal, and writes the counting information and pulse information into the memory 60 after completing the counting;
[0037] When the reader 70 supplies power to the power switching circuit 1002 , the counting control logic circuit 1003 operates in a continuous operation mode. At this time, the reader 70 can read and write the counting information and pulse information of the memory 60 .
[0038] The reader 70 is synchronized based on the count information and the pulse information.
[0039] In this application, the operating voltage of each circuit such as the multi-turn counting circuit, magnetic sensor, memory 60, etc. where the counting control logic circuit is located is not limited. In one embodiment, it is 1.8V and is powered by a power switching circuit. The power switching circuit 1002 has two input power supplies, including a Wiegand pulse energy power supply and a long-term power supply for the reading device. The voltage output of the power switching circuit is equal to the larger of the output after voltage stabilization of the power supply branch of the reader 70 and the output after voltage stabilization of the pulse energy power supply.
[0040] Among the two shaping circuits, the first shaping circuit 1005 detects the positive pulse of the Wiegand line, the second shaping circuit 1007 detects the negative pulse of the Wiegand line, and the magnetic sensor detects the direction of the magnetic field. When the Wiegand pulse is generated, if the first shaping circuit outputs a logic high and the magnetic sensor outputs a logic 11, the count is increased by 1; if the shaping circuit 5 outputs a logic high and the magnetic sensor outputs a logic 10, the count is decreased by 1; if the magnetic sensor outputs a logic 00 or 01, no count is performed.
[0041] If the single-turn zero position is carried at the single-turn carry point 1 and the rotation is clockwise, when the multi-turn carries and the single-turn does not carry, the multi-turn minus 1 operation is performed. Other carry forms are treated in the same way.
[0042] The present application includes but is not limited to the above-mentioned signal processing circuit.
[0043] In order to further improve the production efficiency and working stability of the device, in one embodiment, the bottoms of the Wiegand line motion sensor 20, the first magnetic sensor 30, and the second magnetic sensor 40 are in the same plane.
[0044] This arrangement makes integration easy, and during operation, the functions of each component can be guaranteed to be consistent with the original design.
[0045] In the present application, there is no limitation on the specific positions and relative positions of the first magnetic sensor 30 and the second magnetic sensor 40. Generally, the axis angle between the first magnetic sensor 30 and the second magnetic sensor 40 is 60-120°.
[0046] In one embodiment, the angle is 90°.
[0047] In the present application, since the Wiegand line motion sensor 20 is magnetic, the first magnetic sensor 30 and the second magnetic sensor 40 cannot be in direct contact with it. However, the smaller the distance between them, the better the effect. The present application does not limit the distance between them.
[0048] Generally, the distance between the first magnetic sensor 30 , the second magnetic sensor 40 and the Wiegand line motion sensor 20 is 1.5 mm to 2.5 mm, and preferably, the distance is 2 mm.
[0049] Furthermore, the first magnetic sensor 30 and the second magnetic sensor 40 are located on an arc with the same radius at the center of the bottom surface of the Wiegand line motion sensor 20 .
[0050] In order to further improve the detection efficiency and detection accuracy, in one embodiment, the first magnetic sensor 30 or the second magnetic sensor 40 is coaxial and oriented with the Wiegand line motion sensor 20 .
[0051] In the present application, there is no limitation on the types of the first magnetic sensor 30 and the second magnetic sensor 40. The first magnetic sensor 30 and the second magnetic sensor 40 can be linear Hall sensors or TMR sensors, or other types of magnetic sensors. In order to extract and process signals conveniently, the two generally use the same type of sensors, such as TMR sensors and linear Hall sensors.
[0052] The magnet 50 in the present application is arranged in a required circle. The magnet 50 is a pair of magnets 50 composed of independent N poles and S poles or a single magnet 50 magnetized in the radial direction. The present application does not limit this, and does not limit its volume and magnetic field strength.
[0053] In the present application, the magnet 50 and the circuit board 10 maintain a certain distance, and the two move relative to each other, but the actual distance between the two is not limited. Generally, the distance between the center of the Wiegand line motion sensor 20 and the magnet 50 is 7mm to 9mm.
[0054] The Wiegand signal lap counting device in the present application does not need to record the counting direction, thus reducing the workload of data processing, simplifying the processing circuit, and accelerating the processing speed; among the four positions M, J, L, and K where the Wiegand pulse is generated, only two positions, M, J, or L, K, need to be counted, thus reducing the number of times the external erasable memory 60 is read and written by half, doubling the lifespan and doubling the reliability; no additional pulse generating circuit is required, nor is correction by pulse generation, so that a general-purpose processor such as an MCU, FPGA, or CPLD can process Wiegand data; reliable counting of Wiegand signals can be completed using a general-purpose processor and a small number of peripheral components, thus reducing costs, and improving reliability and versatility; if the sensor uses a linear Hall or TMR sensor, subdivision counting of an absolute value lap can be achieved.
[0055] To sum up, the Wiegand signal lap counting device provided in the embodiment of the present invention sets two magnetic sensors to sectors to perform lap addition and subtraction and counting operations. Only one Wiegand line motion sensor is needed to complete signal acquisition. The corresponding signal processing circuit has a simple structure, and the structure of the entire device is simple and has high reliability.
[0056] The Wiegand signal lap counter device provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation method of the present invention. The description of the above embodiments is only used to help understand the method and core idea of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. A Wiegand signal lap counting device, characterized in that: It includes a first magnetic sensor, a second magnetic sensor, a Wiegand line motion sensor arranged on a first surface of a circuit board, and a magnet arranged at a predetermined distance from the second surface of the circuit board and with a magnetic field direction parallel to the Wiegand line motion sensor. The circuit board is provided with a signal processing circuit, a memory and a reader for the first magnetic sensor, the second magnetic sensor and the Wiegand line motion sensor. The signal processing circuit receives the signals generated by the first magnetic sensor, the second magnetic sensor and the Wiegand line motion sensor after the magnet rotates, and outputs counting information after processing. The memory stores the counting information during the operation of the signal processing circuit, and the reader displays the counting information. The interconnected lines of the first magnetic sensor, the second magnetic sensor and the Wiegand line motion sensor form a triangle.
2. The Wiegand signal lap counter device according to claim 1, characterized in that: The signal processing circuit includes a rectifier circuit, a first shaping circuit, a second shaping circuit, a power switching circuit and a counting control logic circuit. The two ends of the Wiegand line motion sensor are rectified by a first diode and a second diode respectively and then input into the first shaping circuit. The second shaping circuit performs a shaping operation and then outputs to the counting control logic circuit and is input into the rectifier circuit for rectification. The first output end of the rectifier circuit is connected to the power switching circuit, and the second output end is grounded. A preset capacitor is connected in parallel. The first shaping circuit, the second shaping circuit, the first magnetic sensor, the second magnetic sensor and the reader are connected to the power switching circuit. The first magnetic sensor and the second magnetic sensor are connected to the corresponding input ends of the counting control logic circuit. The counting control logic circuit is connected to the reader through an external interface and to the memory through a storage interface.
3. The Wiegand signal lap counter device according to claim 1 or 2, characterized in that: The bottoms of the Wiegand line motion sensor, the first magnetic sensor, and the second magnetic sensor are in the same plane.
4. The Wiegand signal lap counter device according to claim 3, characterized in that: The axis angle between the first magnetic sensor and the second magnetic sensor is 60-120°.
5. The Wiegand signal lap counter device according to claim 4, characterized in that: The distance between the first magnetic sensor, the second magnetic sensor and the Wiegand line motion sensor is 1.5 mm to 2.5 mm.
6. The Wiegand signal lap counter device according to claim 5, characterized in that: The first magnetic sensor and the second magnetic sensor are located on an arc with the same radius at the center of the bottom surface of the Wiegand line motion sensor.
7. The Wiegand signal lap counter device according to claim 6, characterized in that: The first magnetic sensor or the second magnetic sensor is coaxial and oriented with the Wiegand line motion sensor.
8. The Wiegand signal lap counter device according to claim 7, characterized in that: The first magnetic sensor and the second magnetic sensor are linear Hall sensors or TMR sensors.
9. The Wiegand signal lap counter device according to claim 8, characterized in that: The magnet is a magnet pair consisting of independent N poles and S poles or a single magnet magnetized in the radial direction.
10. The Wiegand signal lap counter device according to claim 9, characterized in that: The distance between the center of the Wiegand line motion sensor and the magnet is 7 mm to 9 mm.
