WO2018195966A1 - Position detecting device, method, and rotating system - Google Patents
Position detecting device, method, and rotating system Download PDFInfo
- Publication number
- WO2018195966A1 WO2018195966A1 PCT/CN2017/082521 CN2017082521W WO2018195966A1 WO 2018195966 A1 WO2018195966 A1 WO 2018195966A1 CN 2017082521 W CN2017082521 W CN 2017082521W WO 2018195966 A1 WO2018195966 A1 WO 2018195966A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- rotating member
- code wheel
- duration
- pulse sequence
- signal periods
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000003287 optical effect Effects 0.000 claims abstract description 292
- 238000001208 nuclear magnetic resonance pulse sequence Methods 0.000 claims abstract description 140
- 230000000630 rising effect Effects 0.000 claims description 54
- 239000012790 adhesive layer Substances 0.000 claims description 3
- 238000001514 detection method Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005484 gravity Effects 0.000 description 4
- 239000010410 layer Substances 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 3
- 239000011521 glass Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012549 training Methods 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000001459 lithography Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/26—Measuring arrangements characterised by the use of optical techniques for measuring angles or tapers; for testing the alignment of axes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D5/00—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
- G01D5/26—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
- G01D5/32—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light
- G01D5/34—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells
- G01D5/347—Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells using displacement encoding scales
Definitions
- the invention relates to the field of motion detection, and in particular to a position detecting device, a method and a rotating system.
- a code wheel 1' is disposed on the rotating member, and a plurality of light transmitting regions 11' and a plurality of non-light transmitting regions 12' alternately arranged along the same circumference on the code wheel 1', and an optical switch 2 is disposed at the same time. 'Cooperating with the light transmitting region 11' and the non-light transmitting region 12'.
- the rotation of the rotating member drives the code wheel 1' to rotate at the same speed, and the optical switch 2' detects a pulse sequence of alternating high and low levels, wherein the high level corresponds to the light transmitting area 11' and the low level corresponds to the non-light transmitting area 12' .
- the central angle between two adjacent light-transmissive areas 11' is 10°, and the angle of each rising edge of the output pulse sequence of the optical switch 2' is opposite. By adding 10°, the relative rotational position of the rotating member is obtained.
- the plurality of light transmitting regions 11' of the above code wheel 1' are uniformly distributed, and there is no zero mark on the code wheel 1', so that the absolute rotational position of the rotating member cannot be known.
- a light transmitting portion 3' for marking the zero position is usually opened on the other circumference of the code wheel 1', and another one is used for marking the zero position.
- the light transmissive area 3' is fitted with an optical switch 4'.
- the light transmitting region 3' for marking the zero position is aligned with one of the plurality of light transmitting regions 11'.
- the rising edge of the pulse sequence of the optical switch 4' mated with the light-transmitting region 3' for marking the zero position is the zero position of the code wheel 1'.
- the optical switch 2' mated with the light transmitting portion 11' and the optical switch 4' matched with the light transmitting portion 3' for marking the zero position respectively detect the pulse sequences S3 and S4, respectively, at S4.
- the rising edge clears the angle, recounts, and adds 10° to the angle at each rising edge of S3 to obtain the absolute position of the rotating member.
- the radius of the circumference of the light-transmitting region 3' for marking the zero position and the circle of the light-transmitting region 11' The radius of the circumference is different, so it is necessary to provide two different heights of the optical switch 2', and the optical switch 4' that cooperates with the light-transmitting area 3' for marking the zero position generally needs to be re-customized, and the cost is high. Further, the above solution requires opening the light-transmitting portion 11' and the light-transmitting portion 3' for marking the zero position on the two radii of the code wheel 1', resulting in application in some special cases.
- the invention provides a position detecting device, method and rotating system.
- a position detecting device for detecting a rotational position of a rotating member, the position detecting device comprising a code wheel having an opening and at least one optical switch, the opening being used for a socket a rotating member; a plurality of light-transmissive regions and a plurality of non-transmissive regions alternately distributed along the same circumference; wherein the plurality of light-transmitting regions include a plurality of first light-transmitting regions having the same width And a second light transmissive region having a width different from a width of the first light transmissive region; or the plurality of non-transparent regions includes a plurality of first non-transparent regions having the same width, and a width different from a second non-transmissive region of a width of the first non-transmissive region; wherein the width is a circumferential width along the circumference; at least one of the optical switch and the transparent region and the non- The light transmissive area is matched for outputting
- a rotating system includes a rotating member and a position detecting device for detecting a rotational position of the rotating member, wherein a code wheel in the position detecting device and the rotating member are fixed to each other,
- the position detecting device includes a code wheel having an opening and at least one optical switch, wherein the opening is for arranging the rotating member;
- the code wheel is provided with a plurality of light-transmissive regions and an alternating distribution along the same circumference a plurality of light-transmissive regions; wherein the plurality of light-transmissive regions comprise a plurality of first light-transmissive regions having the same width, and a second light-transmissive region having a width different from a width of the first light-transmitting region; or
- the plurality of non-transmissive regions include a plurality of first non-transmissive regions of the same width, and a second non-transparent region having a width different from a width of the first non-transmissive region; wherein the width is
- a position detecting method for detecting a rotational position of a rotating member in the rotating system comprising: acquiring at least one optical switch in a position detecting device in the rotating system An output pulse sequence; determining a rotational position of the rotating member based on the pulse sequence.
- the present invention provides a plurality of transparent areas and a plurality of non-transparent areas alternately arranged along the same circumference on the code wheel, and one of the plurality of transparent areas
- the width of the light transmitting region is set to be different from the width of the other light transmitting regions, or the width of one of the plurality of non-light transmitting regions is set to be different from the width of the other non-light transmitting regions, thereby
- the light-transmitting area with different widths of the light-transmitting area or the non-light-transmitting area different from the width of the other non-light-transmitting areas is used as the zero mark of the code wheel, and the zero position of the code wheel can be accurately detected by the pulse sequence, without A zero hole is formed on a circumference (ie, the circumference of the light transmission area) to determine the zero position of the rotating member, and the absolute rotational position of the rotating member is finally determined according to the relative rotational position detected by the code wheel and
- FIG. 1 is a perspective view of a position detecting device in the prior art
- FIG. 2 is a perspective view of another position detecting device in the prior art
- FIG. 3 is a pulse sequence diagram of an optical switch of another position detecting device in the prior art
- Figure 4 is a perspective view of a position detecting device in an embodiment of the present invention.
- Figure 5 is a pulse sequence diagram of an optical switch of the position detecting device in the embodiment of the present invention.
- Figure 6 is a perspective view of another position detecting device in the embodiment of the present invention.
- FIG. 7 is a pulse sequence diagram of an optical switch of another position detecting device in an embodiment of the present invention.
- Figure 8 is a perspective view of a rotating system in accordance with an embodiment of the present invention.
- Figure 9 is a perspective view of a rotating member in an embodiment of the present invention.
- Figure 10 is a perspective view of a code wheel in an embodiment of the present invention.
- Figure 11 is a perspective view of another rotation system in the embodiment of the present invention.
- Figure 12 is a perspective view of another rotating system in another direction in an embodiment of the present invention.
- FIG. 13 is a flowchart of a position detecting method in an embodiment of the present invention.
- Figure 14 is a block diagram showing the structure of a position detecting device in an embodiment of the present invention.
- 200 position detecting device
- 201 processor
- optical switch 20: first optical switch group; 20': second optical switch group;
- 6 a first magnetic member
- 6' a second magnetic member
- a position detecting device 200 may include a code wheel 1 and at least one optical switch 2.
- the code wheel 1 has an opening 11, and the opening 11 is sleeved on the rotating member 3, and the rotating plate 3 drives the code wheel 1 to rotate together, so that the rotating plate 3 is rotated by the code wheel 1.
- the rotational position is detected.
- a plurality of light transmissive regions 12 and a plurality of non-transparent regions 13 are alternately arranged on the code wheel 1 along the same circumference.
- the plurality of transparent regions 12 include a plurality of first transparent regions 121 having the same width, and a second transparent region 122 having a width different from the width of the first transparent regions 121. It should be noted that, in the present embodiment, the width refers to the circumferential width on the circumference.
- At least one of the optical switches 2 cooperates with the light transmissive region 12 and the non-transmissive region 13 for outputting a pulse sequence.
- a plurality of transparent regions 12 and a plurality of non-transmissive regions 13 alternately arranged along the same circumference are disposed on the code wheel 1, and one of the plurality of transparent regions 12 is provided.
- the width is set to be different from the width of the other light-transmissive regions 12, so that the light-transmissive region 12 different from the width of the other light-transmitting regions 12 is used as the zero mark of the code wheel 1, and the code wheel 1 can be accurately detected by the pulse sequence.
- the zero position of the rotating member 3 can be determined without opening a zero hole on the other circumference (ie, the circumference of the light transmitting area 12), and the relative rotation detected according to the code wheel 1 and the zero position and the code wheel 1 The position finally determines the absolute rotational position of the rotating member 3, and the structure is simple and the use range is wider.
- the code wheel 1 when the rotational position of the rotating member 3 is detected using the code wheel 1, the code wheel 1 is sleeved on the rotating member 3, and the zero position of the code wheel 1 and the designated position of the rotating member 3 (ie, rotation) The zero position of the piece 3 is only aligned, and then the rotating piece 3 drives the code wheel 1 to rotate.
- the rotating member 3 of the present embodiment and the code wheel 1 are relatively stationary, so that the zero position of the rotating member 3 is accurately detected.
- the at least one optical switch 2 is respectively connected to a processor, so that the rotating component is calculated by the processor according to the pulse sequence output by the at least one optical switch 2 3 real-time rotational position (ie absolute rotational position).
- the number of the light transmitting regions 12 and the non-light transmitting regions 13 can be determined according to factors such as the size of the code wheel 1, the detection accuracy, and the data processing amount of the processor.
- the light transmitting region 12 and the non-light transmitting region 13 are each of 17, 35 or 71, and the like.
- the number of the light-transmissive regions 12 and the non-transmissive regions 13 that are alternately disposed is higher, the detection accuracy is higher, but the increase in the number of the light-transmitting regions 12 and the non-transmissive regions 13 is bound to cause an increase in the size of the code wheel 1 and processing.
- the burden of the device is increased, and the processing process of the code wheel 1 is more complicated.
- the number of the light-transmitting region 12 and the non-light-transmitting region 13 it is necessary to balance the size of the code wheel 1, the detection accuracy, and the data processing amount of the processor. And other factors.
- the number of the light transmitting area 12 and the non-light transmitting area 13 disposed on the code wheel 1 is 35. One.
- the light transmissive region 12 includes at least one of a through hole and a region formed of a light transmissive material.
- the plurality of light transmissive regions 12 are both through holes for ease of processing.
- the plurality of light transmissive regions 12 are regions formed of a light transmissive material (eg, light transmissive glass) for ease of processing.
- the width of the second light-transmissive region 122 is multiplied by the width of the first light-transmitting region 121, for example, the second light-transmitting region 122 is obtained.
- the width is twice, three times or other multiples of the width of the first light transmitting region 121.
- the width of the second transparent region 122 is three times the width of the first transparent region 121, that is, the second transparent region 122 is equivalent to three first The light transmissive area 121 is composed.
- the pulse detected by the optical switch 2 in the second transparent area 122 is different from the pulse detected by the optical switch 2 in the first transparent area 121 (for example, the duration of two pulses) The number of pulses included in the two pulses, etc., thereby realizing the calibration of the zero position of the code wheel 1, and finally obtaining the absolute position of the rotating member 3.
- the width of the first light-transmitting region 121 is equal to the width of the non-light-transmitting region 13, so that the sandwich between the intermediate axes of the adjacent two first light-transmitting regions 121
- the angle is 10°
- the angle between the intermediate axes of the adjacent two non-light transmitting regions 13 is also 10°
- the code wheel 1 rotates from the edge of the current first light transmitting region 121 to the next first light transmission.
- the same side edge of the area 121, the angle at which the code wheel 1 is rotated is 10°, thereby realizing the detection of the position.
- the optical switch 2 is a slotted photoelectric switch that includes a base (not shown), a launch tube (not shown), and a receiving tube (not shown).
- the launch tube and the receiving tube are respectively disposed at two ends of the base.
- the transmitting tube and the receiving tube are symmetrically disposed on two sides of the code wheel 1, and the centers of the transmitting tube and the receiving tube are located on the circumference of the light transmitting area 12 and the non-light transmitting area 13 to The cooperation with the light transmitting region 12 and the non-light transmitting region 13 is achieved.
- the base is disposed at a predetermined interval of the outer circumference of the code wheel 1, thereby preventing the outer circumferential surface from colliding with the base when the code wheel 1 is rotated.
- the optical switch 2 can also select other photoelectric switches having a transmitting tube and a receiving tube.
- the optical switch 2 When the rotating member 3 drives the code wheel 1 to rotate, the optical switch 2 is stationary, and the transmitting tube of the optical switch 2 emits a light signal.
- the transmitting tube and the receiving tube are located at the position of the light transmitting area 12, the receiving tube can receive
- the transmitting tube and the receiving tube are located in the non-transmissive region 13, the receiving tube cannot receive the light signal emitted by the transmitting tube, thereby rotating the light transmitting region 12 and the non-light transmitting region 13 of the code wheel 1.
- the optical switch 2 When the position of the optical switch 2 is reached, the optical switch 2 outputs different level signals.
- the optical switch 2 when the light transmissive region 12 of the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a high level; accordingly, the non-transmissive region 13 of the code wheel 1 is rotated to the position of the optical switch 2.
- the optical switch 2 When the optical switch 2 outputs a low level.
- the light transmission area of the code wheel may also be rotated to the light opening.
- the optical switch When the position is off, the optical switch outputs a low level, and when the non-transparent area of the code wheel is rotated to the position of the optical switch, the optical switch outputs a high level.
- the width of the second light transmitting region 122 is three times the width of the first light transmitting region 121, and the width of the first light transmitting region 121 is equal to the width of the non-light transmitting region 13.
- the number of optical switches 2 is one.
- the rotating member 3 drives the code wheel 1 to rotate
- the optical switch 2 outputs a high level
- the non-disc on the code wheel 1 When the light transmitting region 13 is rotated to the position of the optical switch 2, the optical switch 2 outputs a low level.
- There is a zero position ie, a specific area in the second light transmitting area, for example, an intermediate shaft, an edge, etc.
- every one rotation of the code wheel 1 is due to the second light transmitting area.
- the width of the first light-transmissive region 121 is different from the width of the first light-transmitting region 121. Therefore, the pulse corresponding to the second light-transmitting region 122 in the pulse sequence outputted by the optical switch 2 is different from the pulse corresponding to the first light-transmitting region 121, thereby marking the code wheel 1 Zero.
- the rotating member 3 drives the code wheel 1 to rotate at a constant speed
- the length of the high level output by the optical switch 2 (for example, the time length of the high level) when the second light transmitting area 122 is rotated to the position of the optical switch 2
- the counting amount is larger than the length of the high level output by the optical switch 2 when the first light transmitting area 121 is rotated to the position of the optical switch 2, so the length of the high level is determined by the processor, and the length is long.
- the rising edge or the falling edge of the high level or the intermediate position may be the zero position of the code wheel 1.
- an optical switch 2 can only be used to detect the zero position of the rotating member 3 that rotates at a constant speed, which is due to the length of the pulse sequence detected by the optical switch 2 and the rotational speed of the code wheel 1.
- the rotation speed of the code wheel 1 is determined by the rotation speed of the rotating member 3.
- the number of the optical switches 2 is two, and the zero position information of the code wheel 1 and the relative rotational position of the code wheel 1 are determined by the pulse sequence outputted by the two optical switches 2, thereby The absolute rotational position of the rotating member 3 is obtained.
- the two optical switches 2 are not only suitable for the zero position detection of the rotating member 3 which is rotated at a constant speed, but also for the zero position detection of the rotating member 3 for the variable speed rotation, which is due to The pulse sequence detected by the optical switch 2 is processed to obtain a unique zero pulse, thereby uniquely determining the zero position of the rotating member 3.
- the positions of the two optical switches 2 are staggered, that is, two optical switches 2 are respectively placed on the code wheel. At different positions in the 1 circumferential direction, and respectively matched with the light transmitting region 12 and the non-light transmitting region 13.
- the positions of the two optical switches 2 can be such that the pulse sequences generated by the two optical switches 2 respectively comprise pulses with the same rising edge time, that is, the two optical switches 2 will be in a certain Simultaneously output pulses of the same rising edge at the same time.
- the positions of the two optical switches 2 can be such that the two optical switches are respectively opposite to the edges of the two first transparent areas 121, so that the The pulse sequence generated by the two optical switches 2 respectively includes a pulse sequence having the same rising edge time, thereby facilitating calculation.
- the two optical switches are respectively opposite to the edges of two adjacent first light transmitting regions 121.
- S1 and S2 are pulse sequences output by the two optical switches 2, respectively.
- S1 and S2 are pulse sequences output by the two optical switches 2, respectively.
- S1 and S2 are pulse sequences output by the two optical switches 2, respectively.
- the positions of the two optical switches 2 can be such that the pulse sequences generated by the two optical switches 2 respectively comprise a phase error of 1/2 cycle or a phase error of 1/4 cycle.
- Period of the pulse wherein, one period includes a time when the first light transmitting region 121 and one non-light transmitting region 13 pass through the optical switch 2.
- the positions of the two optical switches 2 can be such that one of the two optical switches 2 is opposite to an edge of a first light transmitting area 121, At the same time, the other optical switch 2 is opposite to the intermediate axis of the other first light transmitting region 121, so that the pulse sequence generated by the two optical switches 2 respectively contains pulses of 1/2 cycle of phase error.
- the positions of the two optical switches 2 can be such that one of the two optical switches 2 is opposite to an edge of a first light transmitting area 121, At the same time, the other optical switch 2 is opposite to the 1/4 position of the other first light transmitting region 121, so that the pulse sequence generated by the two optical switches 2 respectively contains pulses of 1/4 cycle of phase error.
- a position detecting device 200 may include a code wheel 1 and at least one optical switch 2.
- the code wheel 1 has an opening 11, and the opening 11 is sleeved on the rotating member 3, and the rotating plate 3 drives the code wheel 1 to rotate together, so that the rotating plate 3 is rotated by the code wheel 1.
- the rotational position is detected.
- a plurality of light transmissive regions 12 and a plurality of non-transparent regions 13 are alternately arranged on the code wheel 1 along the same circumference.
- the plurality of non-transmissive regions 13 include a plurality of first non-transmissive regions 131 having the same width, and a second non-transparent region 132 having a width different from the width of the first non-transmissive regions 131.
- the width refers to the circumferential width on the circumference.
- At least one of the optical switches 2 cooperates with the light transmissive region 12 and the non-transmissive region 13 for outputting a pulse sequence.
- a plurality of transparent regions 12 and a plurality of non-transmissive regions 13 alternately arranged along the same circumference are disposed on the code wheel 1, and one of the plurality of non-transmissive regions 13 is non-transparent.
- District 13 The width is set to be different from the width of the other non-transmissive regions 13, so that the non-transmissive region 13 different from the width of the other non-transmissive regions 13 is used as the zero mark of the code wheel 1, and can be accurately detected by the pulse sequence.
- the zero position of the code wheel 1 can determine the zero position of the rotating member 3 without opening a zero hole on the other circumference (ie, the circumference of the light transmitting area 12), and is detected according to the code wheel 1 and the zero position and the code wheel 1.
- the relative rotational position of the rotating member 3 is finally determined, and the structure is simple and the use range is wider.
- the code wheel 1 when the rotational position of the rotating member 3 is detected using the code wheel 1, the code wheel 1 is sleeved on the rotating member 3, and the zero position of the code wheel 1 and the designated position of the rotating member 3 (ie, rotation) The zero position of the piece 3 is only aligned, and then the rotating piece 3 drives the code wheel 1 to rotate.
- the rotating member 3 of the present embodiment and the code wheel 1 are relatively stationary, so that the zero position of the rotating member 3 is accurately detected.
- the at least one optical switch 2 is respectively connected to a processor, so that the rotating component is calculated by the processor according to the pulse sequence output by the at least one optical switch 2 3 real-time rotational position (ie absolute rotational position).
- the number of the light transmitting regions 12 and the non-light transmitting regions 13 can be determined according to factors such as the size of the code wheel 1, the detection accuracy, and the data processing amount of the processor.
- the light transmitting region 12 and the non-light transmitting region 13 are each of 17, 35 or 71, and the like.
- the number of the light-transmissive regions 12 and the non-transmissive regions 13 that are alternately disposed is higher, the detection accuracy is higher, but the increase in the number of the light-transmitting regions 12 and the non-transmissive regions 13 is bound to cause an increase in the size of the code wheel 1 and processing.
- the burden of the device is increased, and the processing process of the code wheel 1 is more complicated.
- the number of the light-transmitting region 12 and the non-light-transmitting region 13 it is necessary to balance the size of the code wheel 1, the detection accuracy, and the data processing amount of the processor. And other factors.
- the number of the light transmitting area 12 and the non-light transmitting area 13 disposed on the code wheel 1 is 35. One.
- the light transmissive region 12 includes at least one of a through hole and a region formed of a light transmissive material.
- the plurality of light transmissive regions 12 are both through holes for ease of processing.
- the plurality of light transmissive regions 12 are formed of a light transmissive material (eg, a light transmissive glass) for ease of processing. region.
- the width of the second non-transmissive region 132 is multiplied by the width of the first non-transmissive region 131, for example, the second non-transparent.
- the width of the light region 132 is twice, three times or other multiples of the width of the first non-light transmitting region 131.
- the width of the second non-transmissive region 132 is three times the width of the first non-transmissive region 131, that is, the second non-transparent region 132 is equivalent to three
- the first non-transmissive regions 131 are composed.
- the pulse detected by the optical switch 2 in the second non-transmissive region 132 is different from the pulse detected by the optical switch 2 in the first non-transmissive region 131 (for example, the duration of two pulses) The length of time, the number of pulses included in the two pulses, and the like, thereby realizing the calibration of the zero position of the code wheel 1, and finally obtaining the absolute position of the rotating member 3.
- the width of the first non-transmissive region 131 is equal to the width of the light transmissive region 12 such that between the intermediate axes of the adjacent two first non-transmissive regions 131
- the angle is 10°
- the angle between the intermediate axes of the adjacent two transparent regions 12 is also 10°
- the code wheel 1 is rotated from the edge of the current first non-light transmitting region 131 to the next first non- The same side edge of the light transmitting area 131, the angle at which the code wheel 1 is rotated is 10°, thereby realizing the detection of the position.
- the optical switch 2 is a slotted photoelectric switch that includes a base, a launch tube, and a receiving tube.
- the launch tube and the receiving tube are respectively disposed at two ends of the base.
- the transmitting tube and the receiving tube are symmetrically disposed on two sides of the code wheel 1, and the centers of the transmitting tube and the receiving tube are located on the circumference of the light transmitting area 12 and the non-light transmitting area 13 to The cooperation with the light transmitting region 12 and the non-light transmitting region 13 is achieved.
- the base is disposed at a predetermined interval of the outer circumference of the code wheel 1, thereby preventing the outer circumferential surface from colliding with the base when the code wheel 1 is rotated.
- the optical switch 2 can also select other photoelectric switches having a transmitting tube and a receiving tube.
- the optical switch 2 When the rotating member 3 drives the code wheel 1 to rotate, the optical switch 2 is stationary, and the transmitting tube of the optical switch 2 emits a light signal.
- the transmitting tube and the receiving tube are located at the position of the light transmitting area 12, the receiving tube can receive When the light signal emitted from the launch tube is located in the non-transmissive region 13, When the receiving tube cannot receive the light signal emitted by the transmitting tube, so that the light transmitting area 12 and the non-light transmitting area 13 of the code wheel 1 are rotated to the position of the optical switch 2, the optical switch 2 outputs different pulse sequences respectively.
- the optical switch 2 when the light transmissive region 12 of the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a high level; accordingly, the non-transmissive region 13 of the code wheel 1 is rotated to the position of the optical switch 2. When the optical switch 2 outputs a low level. In some embodiments, when the light transmissive area 12 of the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a low level, and the non-transmissive area 13 of the code wheel 1 is rotated to the position of the optical switch 2. At the time, the optical switch 2 outputs a high level.
- the width of the second non-transmissive region 132 is three times the width of the first non-transmissive region 131, and the width of the first non-transmissive region 131 and the transparent region 12 are The width is equal.
- the number of optical switches 2 is one. In this embodiment, after the rotating member 3 drives the code wheel 1 to rotate, when the light transmitting area 12 on the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a high level, and the non-disc on the code wheel 1 When the light transmitting region 13 is rotated to the position of the optical switch 2, the optical switch 2 outputs a low level.
- the rotating member 3 drives the code wheel 1 to rotate at a constant speed
- the length of the high level output by the optical switch 2 (for example, the time of the high level) when the second non-transmissive region 132 is rotated to the position of the optical switch 2
- the length or the count amount is greater than the length of the high level output by the optical switch 2 when the first non-transmissive area 131 is rotated to the position of the optical switch 2, so the length of the high level is determined by the processor, and the length is compared.
- the rising edge, the falling edge, or the intermediate position corresponding to the long high level may be used as the zero position of the code wheel 1.
- an optical switch 2 can only be used to detect the zero position of the rotating member 3 which is rotated at a constant speed, which is due to the length and the code wheel of the pulse sequence detected by the optical switch 2.
- the rotation speed of the encoder 1 is determined by the rotation speed of the rotary member 3.
- the second non-transmissive region 132 detected by the optical switch 2 corresponds to the first non-transmissive region 131. There is uncertainty in the length of the pulse so that the zero pulse cannot be determined.
- the number of the optical switches 2 is two, and the zero position information of the code wheel 1 and the relative rotational position of the code wheel 1 are determined by the pulse sequence outputted by the two optical switches 2, thereby obtaining the rotating member 3. Absolute rotation position.
- the two optical switches 2 are not only suitable for the zero position detection of the rotating member 3 which is rotated at a constant speed, but also for the zero position detection of the rotating member 3 for the variable speed rotation, which is due to The pulse sequence detected by the optical switch 2 is processed to obtain a unique zero pulse, thereby uniquely determining the zero position of the rotating member 3.
- the positions of the two optical switches 2 are staggered, that is, two optical switches 2 are respectively placed on the code wheel. At different positions in the 1 circumferential direction, and respectively matched with the light transmitting region 12 and the non-light transmitting region 13.
- the positions of the two optical switches 2 can be such that the pulse sequences generated by the two optical switches 2 respectively comprise pulses with the same rising edge time, that is, the two optical switches 2 will be in a certain Simultaneously output pulses of the same rising edge at the same time.
- the positions of the two optical switches 2 are such that the two optical switches are respectively opposite to the edges of the two first non-light transmitting regions 131, so that The pulse sequence generated by the two optical switches 2 respectively includes the same pulse with the rising edge time, which is convenient for calculation.
- the two optical switches are respectively opposite to the edges of two adjacent first non-transmissive regions 131. Referring to Fig.
- S1 and S2 are the pulse sequences output by the two optical switches 2, respectively.
- the S1 and S2 OR operations are first performed to obtain a continuous pulse sequence S3, if the code wheel is 1
- the second non-transmissive region 132 is rotated to zero position at the position of the optical switch 2 corresponding to S1
- the zero pulse S4 can be obtained by XOR operation by S1 and S3, that is, If the second non-transmissive region 132 of the code wheel 1 is rotated to zero position at the position of the optical switch 2 corresponding to S2, the zero pulse S4' can be obtained by X2 operation between S2 and S3, that is,
- S1 and S2 may be subjected to other operations (eg, a combination of multiples with, or, none, the same, or XOR) to determine the null of code wheel 1.
- the positions of the two optical switches 2 can be such that the pulse sequences generated by the two optical switches 2 respectively comprise pulses of 1/2 cycle phase error or 1/4 cycle phase error.
- one cycle includes a time when the light transmitting region 12 and a first non-light transmitting region 131 pass through the optical switch 2.
- the positions of the two optical switches 2 can be such that one of the two optical switches 2 is opposite to an edge of a first non-transmissive region 131.
- the other optical switch 2 is opposite to the intermediate axis of the other first non-transmissive region 131, so that the pulse sequences generated by the two optical switches 2 respectively comprise pulses of 1/2 cycle of phase error.
- the positions of the two optical switches 2 can be such that one of the two optical switches 2 is opposite to an edge of a first non-transmissive region 121.
- the other optical switch 2 is opposite to the 1/4 position of the other first non-transmissive region 121, so that the pulse sequences generated by the two optical switches 2 respectively comprise pulses of 1/4 cycle of phase error.
- the process of determining the zero pulse of the code wheel 1 and the above-mentioned two optical switches are respectively opposite to the edges of the two first non-transmissive regions 131, respectively, determining the zero pulse of the code wheel 1. The process is similar.
- a rotation system provided by an embodiment of the present invention includes a rotating member 3 and a position detecting device 200 for detecting a rotational position of the rotating member 3.
- the position detecting device 200 is the position detecting device 200 described in the first embodiment. In some embodiments, the position detecting device 200 is the position detecting device 200 described in the second embodiment. In some embodiments, the rotating system can simultaneously include the position detecting device 200 described in the first embodiment and the second embodiment.
- the code wheel 1 in the position detecting device 100 is in phase with the rotating member 3.
- the fixing is fixed to each other so that the code wheel 1 is rotated by the rotating member 3.
- the code wheel 1 in the position detecting device 200 is sleeved on the outer side of the rotating member 3, so that the rotating plate 3 drives the code wheel 1 to rotate synchronously.
- the rotating member 3 is a rotor of an electric machine.
- the rotating member 3 is an element that rotates in synchronism with the rotor of the motor, and in some embodiments, the rotating member 3 is integrally formed with the rotor of the motor.
- the rotating member 3 and the code wheel 1 are oriented such that the zero position of the rotating member 3 is aligned with the zero position of the code wheel 1, on the rotating member 3
- the portion connected to the code wheel 1 is disposed on at least one of the platform faces 31, and the inner side wall of the opening 11 of the code wheel 1 is provided with at least one mounting surface 14 that cooperates with the at least one platform surface 31, respectively.
- the code wheel 1 is engaged with the platform surface 31 of the rotating member 3 by the mounting surface 14 such that the second transparent area 122 or the second non-transparent on the code wheel 1
- the light zone 132 is uniquely aligned with a specific position on the rotating member 3 (i.e., the zero position of the rotating member 3).
- a specific area for example, an intermediate shaft, an edge, and the like in the second light transmitting area 122 or the second non-light transmitting area 132, which is the zero position of the code wheel 1, is aligned with the zero position of the rotating member 3, and passes the detection code.
- the zero position of the disk 1 is used to obtain the zero position of the rotating member 3.
- the zero position of the rotating member 3 can be selected to be any position on one of the at least one platform face 31.
- the zero position of the rotating member 3 can also be selected to be other positions on the rotating member 3 (i.e., at the position of the non-platform surface 31).
- the number of the platform faces 31 is one, the number of the mounting faces 14 is also one, and the platform face 31 and the mounting face 14 are correspondingly engaged to realize the rotating member 3 and the code.
- the disc 1 is oriented.
- the provision of a deck surface 31 causes the rotating member 3 to be in an unbalanced state, that is, the center of gravity of the rotating member 3 is not on its rotating shaft, resulting in poor stability when the rotating member 3 is rotated.
- the stability of the rotating member 3 during rotation is increased, and the number of the deck faces 31 is two.
- the center of gravity of the rotating member 3 is located on its rotating shaft, thereby ensuring that the rotating member 3 is in a dynamic equilibrium state.
- the number of the mounting faces 14 is also two.
- the two platform faces 31 respectively cooperate with the two mounting faces 14 to orient the rotating member 3 and the code wheel 1.
- the two platform faces 31 and the two mounting faces 14 may cause the code wheel 1 to be oriented with the rotating member 3 from two directions, resulting in inaccurate position mounting, thereby causing the zero position of the code wheel 1 to be related to the rotating member 3.
- the zero position is not aligned, and the absolute rotational position of the rotating member 3 cannot be detected by the code wheel 1.
- the stability of the rotating member 3 during rotation is improved, and the position between the code wheel 1 and the rotating member 3 is prevented from being inaccurately installed.
- At least three by adjusting the height and distribution position of the at least three platform faces 31, the center of gravity of the rotating member 3 is located on its rotating shaft, thereby ensuring that the rotating member 3 is in a dynamic balance state.
- the number of the mounting faces 14 is also at least three, and at least three platform faces 31 respectively cooperate with at least three mounting faces 14 to orient the rotating member 3 and the code wheel 1.
- the platform surface 31 is three, the structure is simple, and the rotating member 3 can be kept in a dynamic balance state, the stability of the rotating member 3 is improved, and the installation between the code wheel 1 and the rotating member 3 can be prevented. The location is wrong. In order to keep the center of gravity of the rotating member 3 on its rotating shaft, the position of the code wheel 1 and the rotating member 3 is prevented from being inaccurately installed.
- the three deck faces 31 are identical (i.e., shape, size, etc.) and are non-uniformly distributed along the same circumferential direction of the rotating member 3.
- one of the three deck faces 31 is different in size from the other two deck faces 31.
- the three deck faces 31 are different in size.
- the rotating member 3 further includes a receiving space 32 for receiving the load 4.
- the load 4 is fixed in the accommodating space 32, that is, the load 4 and the rotating member 3 are synchronously rotated, that is, the rotating member 3 is in any state, and the load 4 and the rotating member 3 are both Relatively static.
- the inner side wall of the rotating member 3 is provided with a mounting portion on which the load 4 is mounted.
- the mounting portion is engaged with the slot, and the load 4 is latched in the latching slot.
- the load 4 is bonded to the inner side wall of the rotating member 3.
- the circumference of the load 4 is mounted on the inner side wall of the rotating member 3.
- the load 4 is an optical element
- the rotating member 3 drives the optical element to rotate synchronously such that the optical element forms a designated optical path.
- the optical element is a prism or a lens.
- the prisms have different thicknesses in the radial direction, and the second transparent region 122 or the second non-transmissive region 132 on the code wheel 1 is used with the rotating member 3
- the position at the minimum radial thickness of the mounting prism is uniquely aligned, that is, the position at which the radial minimum thickness of the prism is mounted on the rotating member 3 is the zero position of the rotating member 3, and the zero position of the code wheel 1 is utilized.
- the zero position of the rotating member 3 is calibrated to indirectly calibrate the radial minimum thickness of the prism such that the prism forms a designated optical path.
- the optical element has an asymmetrical shape to increase the richness of the optical path to meet user needs.
- the rotating member 3 includes two.
- the two rotating members 3 are disposed coaxially adjacent to each other, and the two rotating members 3 are respectively sleeved with a first code wheel 10 and a second code wheel 10', the first code wheel 10 and the second
- the code wheel 10' is used to detect the rotational positions of the two rotating members 3, respectively.
- the first code wheel 10 and the second code wheel 10' are disposed in parallel, and the first code wheel 10 and the second code wheel 10' are respectively provided with corresponding first optical switch groups. 20 and a second optical switch group 20'.
- the rotational positions of the two rotating members 3 are detected by the first code wheel 10 and the second code wheel 10', respectively, to meet specific needs.
- the transmitting tube or the receiving tube of each optical switch 2 is sequentially arranged in the same straight line between the first code wheel 10 and the second code wheel 10'.
- the cloth, that is, one of the transmitting tube and the receiving tube of each optical switch 2 is located at the first code wheel 10 and the second code wheel 10' Therefore, the center of the transmitting tube or the receiving tube between the first code wheel 10 and the second code wheel 10' in the optical switch 2 is located on the same straight line A-A.
- the center line AA of the transmitting tube or the receiving tube of each optical switch 2 is parallel to the first code wheel 10 and the second code wheel 10' to further reduce the first code wheel 10 and the second code wheel arranged in parallel.
- the transmitting tubes of all the optical switches 2 are located between the first code wheel 10 and the second code wheel 10', and all of the optical switches 2
- the receiving tubes are located outside of the first code wheel 10 and the second code wheel 10'.
- the receiving tubes of all the optical switches 2 are located between the first code wheel 10 and the second code wheel 10', and the transmitting tubes of all the optical switches 2 are located at the first code wheel 10 and the second code wheel 10' between.
- a portion of the transmitting tubes of all the optical switches 2 is located between the first code wheel 10 and the second code wheel 10', and the other portion is located. The first code wheel 10 and the second code wheel 10' are outside.
- the first optical switch group 20 and the second optical switch group 20' respectively include two optical switches 2, and two of the second optical switch groups 20' are respectively disposed on The two sides of the two optical switches 2 in the first optical switch group 20 reduce the distance between the first code wheel 10 and the second code wheel 10' disposed in parallel to reduce the size of the system.
- the rotating system further includes a first fixing member 5 and a second fixing member 5 which are respectively fixed to the two rotating members 3.
- the first code wheel 10 and the second code wheel 10' further include a first fixing portion 15 and a second fixing portion 15', respectively.
- the first fixing portion 15 is a partial region of the first code wheel 10 between the plurality of transparent regions 12 and the opening 11
- the second fixing portion 15' is the second code wheel 10 A portion of the upper portion between the plurality of light transmissive regions 12 and the opening 11. That is, the first fixing portion 15 and the second fixing portion 15' are a circle region between the corresponding opening 11 on the code wheel and the circumference for arranging the light transmitting region 12 and the non-light transmitting region 13.
- the first fixing portion 15 is fixed on the first fixing member 5, and the second fixing portion 15' is fixed on the second fixing member 5', so as to further the first code
- the disk 10 and the second code wheel 10' are fixed to prevent the first code wheel 10 and the second code wheel 10' from being shaken The measurement is not accurate.
- the second fixing The portion 15' and the second fixing member 5' are respectively provided with an adhesive layer.
- the area of the bonding layer connecting the first fixing portion 15 to the first fixing member 5 is equal to the area of the first fixing portion 15, thereby increasing the bonding area of the first fixing portion 15, so that The first code wheel 10 is more stable.
- the area of the bonding layer connecting the second fixing portion 15' to the second fixing member 5' is equal to the area of the second fixing portion 15', thereby increasing the viscosity of the second fixing portion 15'. The area of the connection makes the second code wheel 10' more stable.
- the area of the bonding layer may not be equal to the area of the first fixing portion 15 and the second fixing portion 15'.
- the adhesive layer connected to the first fixing portion 15 includes a plurality of bonding regions, and the plurality of bonding regions are evenly distributed on the first fixing portion.
- the bonding layer connected to the second fixing portion 15' includes a plurality of bonding regions, and the plurality of bonding regions are evenly distributed on the first fixing portion.
- the rotating system further includes a first magnetic member 6 and a second magnetic member 6'.
- first magnetic member 6 and the second magnetic member 6' are respectively engaged with the first fixing member 5 and the second fixing member 5'.
- the first fixing portion 15 is interposed between the first fixing member 5 and the first magnetic member 6, and the first fixing member 5 is attracted to the first magnetic member 6 to be The first fixing portion 15 abuts on the first fixing member 5 .
- the first fixing portion 15 of the first code wheel 10 is fixed to the first fixing member 5 by the gravitational force between the first magnetic member 6 and the first fixing member 5 to maintain the stability of the first code wheel 10. .
- the second fixing portion 15' is sandwiched between the second fixing member 5' and the second magnetic member 6', and the second fixing member 5' is attracted to the second magnetic member 6'.
- the second fixing portion 15' is abutted on the second fixing member 5'.
- the second fixing portion 15' of the second code wheel 10' is fixed to the second fixing member 5' by the gravitational force between the second magnetic member 6' and the second fixing member 5' to maintain the second code.
- the stability of the disc 10' is the stability of the disc 10'.
- the first fixing member 5, the second fixing member 5', the first magnetic member 6, and the second magnetic member 6' is respectively sleeved on the corresponding rotating member 3.
- the area of the first fixing member 5 and the first magnetic member 6 is slightly smaller than or equal to the area of the first fixing portion 15, so that the stability of the first code wheel 10 is better.
- the area of the second fixing member 5' and the second magnetic member 6' is slightly smaller than or equal to the area of the second fixing portion 15', thereby stabilizing the second code wheel 10'. Better sex.
- the first magnetic member 6 and the second magnetic member 6' are disposed adjacent to each other, and the first magnetic member 6 and the second magnetic member 6' are repelled, thereby making the first
- the magnetic member 6 can more firmly adsorb the first fixing portion 15 on the first fixing member 5, and enables the second magnetic member 6' to more firmly adsorb the second fixing portion 15'
- the stability of the first code wheel 10 and the second code wheel 10' is further maintained on the second fixing member 5'.
- the first bearing 7 and the second bearing 7' are respectively sleeved on the two rotating members 3, and the first fixing member 5 and the second fixing member 5' are located at the first bearing 7 and the Between the second bearings 7', the two rotating members 3 are respectively fixed by the first bearing 7 and the second bearing 7' such that the centers of rotation of the two rotating members 3 are respectively located on the respective rotating shafts.
- the rotating member is a motor rotor
- the motor includes a rotor assembly and a stator assembly that cooperate with each other.
- the stator assembly is used to drive the rotor assembly such that the rotor assembly rotates about the motor axis of rotation.
- the rotor assembly has a hollow cylindrical shape as a whole, and has an accommodating space 31 formed by an annular inner wall for accommodating a load. It will be appreciated that the stator assembly is fixed (i.e., stationary) relative to the axis of rotation of the motor without movement relative to the axis of rotation, while the rotor assembly is movable relative to the stator assembly.
- the stator assembly includes at least two stators that are axially symmetric with each other in position or rotationally symmetric about the rotational axis, and are disposed around the outer side of the rotor, that is, the frame of the inner rotor of the present embodiment. Structure.
- the positioning assembly is located outside the accommodating space 31 for restricting the position of the rotor assembly in the direction of the rotation axis, that is, restricting the movement of the rotation axis direction when the rotor assembly is rotated about the rotation axis.
- the rotating shaft is not an element that exists physically, but a virtual concept of the center of rotation of the rotor assembly.
- the positioning assembly has at least two positioning members that are axially symmetric with each other in position or rotationally symmetrically disposed about the rotational axis.
- the rotating system further includes a processor (not shown), wherein the processor is configured to: acquire a pulse sequence output by the at least one optical switch 2 in the position detecting device 100; A pulse sequence is used to determine the rotational position of the code wheel 1.
- the rotating system further includes a circuit board (not shown), and the first optical switch group 20 and the second optical switch group 20' are respectively fixed to the circuit board, for example, the first The optical switches 2 of the optical switch group 20 and the second optical switch group 20' are soldered to the circuit board.
- the processor is also disposed on the circuit board, and each of the first optical switch group 20 and the second optical switch group 20' is electrically connected to the processor, so that the respective outputs are Sending a pulse sequence to the processor, and determining, by the processor, the first code wheel 10 and the pulse according to a pulse sequence output by each optical switch 2 in the first optical switch group 20 and the second optical switch group 20' Determining the zero position of the second code wheel 10' and the absolute rotational position of the first code wheel 10 and the second code wheel 10', thereby determining the corresponding correspondence between the first rotating member 3 and the second rotating member 3 The zero position and the respective absolute rotational position ultimately cause the first rotating member 3 and the second rotating member 3 to rotate in accordance with the desired rotational strategy.
- the rotating system can be a laser measuring device, such as a laser radar.
- the laser measurement also includes a laser emitter and a light receiver. Wherein, after the light emitted by the laser emitter passes through the prism, the prism rotates due to the rotation of the rotating member 3, and the lithography emitted by the prism is emitted to the target from different angle directions, and the optical receiver receives the light reflected from the target, thereby obtaining The position of the target (such as distance, angle, etc.).
- the laser measuring device includes a rotating member 3 and a prism housed in the rotating member 3, and by rotating the rotating speed of the rotating member 3, the prism is rotated to a desired position to form a specific The light path.
- the laser measuring device includes two rotating members 3 and prisms respectively accommodated in the two rotating members 3, and by controlling the rotational speed of the two rotating members 3, the corresponding prisms are rotated. Go to the desired location to form a specific light path. In some examples, the rotational speeds of the two rotating members 3 are different.
- the laser measuring device of the embodiment of the present invention can be applied to a mobile platform, which can be mounted on a platform body of a mobile platform.
- a mobile platform with a laser measuring device can measure the external environment, for example, measuring the distance between the mobile platform and the obstacle for obstacle avoidance, and performing two-dimensional or three-dimensional mapping of the external environment.
- the mobile platform includes at least one of an unmanned aerial vehicle, a car, and a remote control car.
- the platform body is the body of the unmanned aerial vehicle.
- the platform body is the body of the car.
- the platform body is the body of the car.
- the laser measuring device is applied to a remote control car
- the platform body is the body of the remote control car.
- an embodiment of the present invention provides a position detecting method for detecting a rotational position of a rotating member 3 in a rotating system according to the third embodiment.
- the method may include:
- Step S101 Acquire a pulse sequence output by at least one of the position detecting devices in the rotating system
- the optical switch 2 outputs a pulse sequence with alternating high and low levels.
- the duration of each high level in the pulse sequence is determined by the rotational speed of the rotating member 3 and the width of the transparent region 12, and the duration of each low level in the pulse sequence is determined by the rotational speed of the rotating member 3 and is impervious.
- the width of the light zone 13 is determined in common.
- the duration of each low level in the pulse sequence is determined by the rotational speed of the rotating member 3 and the width of the light transmitting region 12, and the duration of each high level in the pulse sequence is determined by the rotational speed of the rotating member 3 and is impervious.
- the width of the light zone 13 is determined in common.
- Step S102 determining a rotational position of the rotating member 3 according to the pulse sequence.
- the zero position of the rotating member 3 is detected according to the code disc 1 of a specific structure, and the rotational speed of the rotating member is determined according to the pulse sequence to determine the rotational position, thereby enabling the zero position and the distance zero position.
- the rotational position determines the absolute rotational position of the rotating member 3, and the structure is simple and the use range is wider.
- determining the rotational position of the code wheel 1 according to a pulse sequence output by the optical switch 2 in the position detecting device includes: according to a pulse sequence output by the optical switch 2, and or an operation, The rotational position of the code wheel 1 is determined by at least one of an operation, an exclusive OR operation, and a non-operation.
- the optical switch 2 is two. Referring to FIG. 5, the pulse sequences of the two two switches output are S1 and S2, respectively. 5, the process of determining the rotational position of the code wheel 1 is: first, S1 and S2 are ORed to obtain a continuous pulse sequence S3, and if the second light transmission area 122 of the code wheel 1 is rotated to the position of the optical switch 2 corresponding to S1.
- the zero pulse S4 can be obtained by X2 operation between S2 and S3, ie If the second light transmitting area 122 of the code wheel 1 is rotated to zero position at the position of the optical switch 2 corresponding to S2, the zero pulse S4' can be obtained by XOR operation by S1 and S3, that is,
- the plurality of light transmissive regions 12 include a plurality of first light transmissive regions 121 having the same width, and a second light transmissive region 122 having a width different from the width of the first light transmissive regions 121.
- a specific area of the second transparent area 122 corresponds to the zero position of the rotating member 3
- a specific area of the second transparent area 122 on the code wheel 1 is used as the zero position of the code wheel 1, and the optical switch 2 detects To a specific area in the second light transmitting area 122, that is, the current rotational position of the rotating member 3 is the zero position of the rotating member 3.
- a specific one of the second transparent regions 122 is an intermediate axis or an edge of the second transparent region 122, so that the intermediate axis or edge of the second transparent region 122 is used as the zero of the code wheel 1. Bit, the zero position of the rotating member 3 is calibrated.
- the plurality of non-transmissive regions 13 include a plurality of first non-transmissive regions 131 having the same width, and a second non-width different from the width of the first non-transmissive regions 131.
- a light-transmitting region 132 a specific region of the second non-light-transmitting region 132 corresponding to the zero position of the rotating member 3,
- a specific area in the second non-transparent area 132 on the code wheel 1 is taken as a zero position of the code wheel 1
- the optical switch 2 detects a specific area in the second non-light transmissive area 132, that is,
- the current rotational position of the rotating member 3 is the zero position of the rotating member 3.
- a specific one of the second non-transmissive regions 132 is an intermediate axis or an edge of the second non-transmissive region 132.
- determining the rotational position of the rotating member 3 according to at least one of the pulse sequence, and or the operation, the AND operation, the exclusive OR operation, and the non-operation including: according to the pulse a sequence, and/or an operation, an AND operation, an exclusive OR operation, and a non-operation, determining a specific time, wherein the specific time is one of the optical switches 2 of the at least one optical switch 2 detected last time The time of the specific area; the rotational position of the rotating member 3 is determined according to the specific time.
- the specific area is set to the zero position of the rotating member 3, and one of the optical switches 2 obtains the zero time of the rotating member 3 according to the time when the specific area is detected last time, so that the rotating part can be obtained according to the rotating part
- the zero time of 3 determines the absolute rotational position of the rotating member 3. Specifically, the angle at which the rotating member 3 rotates during the period from the zero time to the current time is calculated according to the zero time of the rotating member 3. Since the position of the zero position of the rotary member 3 is known, the current rotational position of the rotary member 3 can be determined based on the position of the zero position and the angle at which the rotary member 3 is rotated during this period.
- the determining the rotational position of the rotating member 3 according to the specific time comprises: determining a number of complete signal periods that occur in the pulse sequence in the pulse sequence at a current time; a target rotation angle, the angle of rotation of the code wheel 1 between the rising edge/falling edge time of the pulse currently detected by the optical switch 2 at the current distance; according to the complete signal period The angle at which the code wheel 1 rotates determines the rotational position of the rotating member 3.
- the angle corresponding to the current period (non-complete signal period) passed by the code wheel 1 is the angle of rotation of the rotating member 3 in the number of complete signal periods plus the target rotation angle, that is, the last time the rotating member 3 is from the optical switch 2 The angle at which the rotating member 3 rotates during the period from the zero position to the current time.
- a complete signal period refers to the length of time between the rising edge/falling edge of the pulse corresponding to two adjacent first light transmitting regions 121 on the code wheel 1.
- a complete signal period is the length of time between the rising edge/falling edge of the pulse corresponding to two adjacent first non-transmissive regions 131 on the code wheel 1. Which complete signal period is used depends on the position of the zero position of the code wheel.
- the number of complete signal periods that occur at the specific time from the current time is n
- the angles corresponding to each signal period in the n signal periods are A1, A2, ..., An, respectively, and n signal periods
- the corresponding rotation angle A0 A1+A2+...+An.
- the acquiring the target rotation angle comprises: acquiring a first duration, where the first duration is between a rising edge/falling edge time of a pulse that is detected last time by the optical switch 2 The length of time; the rotation speed of the current period of the rotating member 3 is obtained; and the target rotation angle is determined according to the first duration and the rotation speed of the current period of the rotating member 3.
- the first duration is the rising edge or the falling edge of the pulse detected by the optical switch 2 last time, depending on whether the complete signal period used in the calculation starts from a rising edge or a falling edge, if the complete signal period is rising from At the beginning, the first duration is the rising edge. If the complete signal period starts from the falling edge, the first duration is the falling edge.
- the rotation angle corresponding to the number of complete signal periods occurring at the current time is A0
- the rising edge/falling edge time of the last detected pulse of the optical switch 2 is T0
- the current time For t is (t-T0)
- the rotational speed of the current period of the rotating member 3 is W
- the angle A(t) of the rotational position of the code wheel 1 is calculated as follows:
- the rotational speed of the current period of the rotating member 3 is a preset rotational speed, in which case the rotating member 3 is rotated at a constant speed.
- the rotating member 3 as an example of a motor, when the motor rotates at a high speed, there is a strong rotational inertia, and the time constant of the motor rotation is long (usually on the order of 100 ms or more), and the driving force is short without changing the driving force.
- the rotational speed W of the motor is relatively stable, and the position of the code wheel 1 is calculated by the rotational speed W of the motor, so that the rotational position of the code wheel 1 can be obtained more accurately.
- the rotational speed W of the motor may change due to external factors such as wear of the motor shaft.
- the obtaining the rotation speed of the current period of the rotating member 3 comprises: determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the at least one optical switch 2 before the current time The rotational speed of the current period of the rotating member 3.
- a complete signal period refers to the length of time between the rising edge/falling edge of the pulse corresponding to two adjacent first light transmitting regions 121 on the code wheel 1.
- a complete signal period means that the duration between the rising/falling edges of the pulses corresponding to the adjacent two first non-transmissive regions 131 represents a complete signal period.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the optical switch 2 before the current time determining a rotational speed of the current period of the rotating member 3, including: calculating An angle and a duration corresponding to each of the plurality of signal periods; calculating a sum of an angle of the plurality of signal periods and a duration; determining the rotation according to a sum of the angles and the duration
- the number of the plurality of signal periods is n
- the angles of each of the n signal periods are A1, A2, ..., An
- the duration of each signal period is T1, T2, ..., respectively.
- the rotational speed of the rotating member 3 corresponding to each signal period in the plurality of signal periods before the current time is directly directly directly.
- the averaging is performed to obtain a more accurate real-time rotational speed of the rotating member 3 to obtain a more precise rotational position of the rotating member 3, which is suitable for a scene in which the rotating member 3 rotates at a constant speed.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the optical switch 2 before the current time determining a rotational speed of the current period of the rotating member 3, including: calculating An angle and a duration corresponding to each of the plurality of signal periods; a weighting coefficient is set for each signal period; and an angle corresponding to the signal period is weighted according to a weighting coefficient corresponding to each signal period; The sum of the durations of the plurality of signal periods and the sum of the angles of the plurality of signal periods after the weighting process; determining the rotational speed of the current period of the rotating member 3 based on the sum of the durations and the sum of the angles.
- the number of the plurality of signal periods is n
- the angles of each of the n signal periods are A1, A2, ..., An
- the weighting coefficient can be determined according to the rotation speed of the rotating member 3 in each signal period, thereby obtaining a more accurate real-time rotation speed of the rotating member 3, so as to obtain a more precise rotational position of the rotating member 3, which is suitable for The rotating member 3 shifts the rotating scene in accordance with the regular rotational speed.
- determining a rotational speed of the current period of the rotating member 3 according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the optical switch 2 before the current time including: When the rotating members 3 are respectively rotated at different rotational speeds, respectively acquiring pulse sequences of the plurality of signal periods of the code wheel 1 at different rotational speeds, and predicting the rotation at the current rotational speed according to the pulse sequence of the plurality of signal periods The rotational speed of the current cycle of piece 3.
- the acquiring the target rotation angle comprises: acquiring a first duration, where the first duration is between a rising edge/falling edge time of a pulse that is detected last time by the optical switch 2
- the second duration is the estimated total duration of the current period, wherein one period continues from the rising edge/falling edge of one pulse in the pulse sequence to the rising edge/falling edge of the next pulse
- the target rotation angle obtains a more accurate rotational position of the rotating member 3.
- the central angle of the code wheel 1 corresponding to each cycle is fixed, for example, 35 transparent areas 12, 35 non-transmissive areas 13, and the width of the second transparent area 122 is the first transparent area.
- the width of the first light-transmitting region 121 is equal to the width of the non-light-transmitting region 13 or the width of the second non-light-transmitting region 132 is three times the width of the first non-light-transmitting region 131, and the light-transmitting region 12 is three times.
- the width of the first non-transmissive region 131 is equal to the width of the first non-transmissive region 131, and it can be determined that the central angle of the code wheel 1 corresponding to each complete signal period is 20°.
- the estimated total length of each signal period is a fixed period of time, but after the long-term rotation of the rotating member 3, the rotational speed W of the motor may change due to external factors (such as wear of the motor shaft, etc.), thereby This can result in changes in the rotation time of each cycle.
- the obtaining the estimated total duration of the current period includes: determining an estimated total of the current period according to a pulse sequence of the plurality of signal periods output by the one of the at least one optical switch 2 of the optical switch 2 before the current period. duration.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the at least one optical switch 2 before the current period determining an estimated total duration of the current period, including: calculating the plurality of Calculating a total duration of each signal period in each signal period, calculating a sum of total durations of the plurality of signal periods; determining an estimated total duration of the current period based on the sum of the total durations and the number of signal periods.
- the number of the plurality of signal periods is n
- the total duration of each signal period in the n signal periods is T1, T2, ..., Tn
- the sum of the total durations of the plurality of signal periods T (T1 +T2+...+Tn)
- the estimated total duration T(t) of the current period of the rotating member 3 is T/n, where t represents the current time.
- the total duration corresponding to each signal period in the plurality of signal periods before the current time is directly averaged, thereby obtaining a more accurate estimated total duration of the current period, so as to obtain a more precise rotational position of the rotating member 3, which is suitable for The scene in which the rotating member 3 rotates at a constant speed.
- the total duration of each signal period can be counted, for example, from the rising edge of the current signal period to the rising edge of the next signal period, and the total number of counts can be used as the total duration of the current signal period.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the at least one optical switch 2 before the current period determining an estimated total duration of the current period, including: calculating the plurality of The total duration of each signal period in each signal period; a weighting coefficient is set for each signal period; the total duration corresponding to the signal period is weighted according to the weighting coefficient corresponding to each signal period; and the weighting process is calculated The sum of the total durations of the subsequent plurality of signal periods; determining the estimated total duration of the current period based on the sum of the total durations of the plurality of signal periods after the weighting process and the number of the signal periods.
- the number of the plurality of signal periods is n
- the total duration of each signal period in the n signal periods is T1, T2, ..., Tn
- T (W1 * T1 + W2 * T2 + ... + Wn * Tn)
- the estimated total duration T(t) of the current period of the rotating member 3 is T / n, where t represents the current time.
- the weighting coefficient can be based on the rotating member 3 at each signal week
- the rotation time of the period is determined by the ratio of the length of time required for the code wheel 1 to rotate the full turn, thereby obtaining a more precise rotational position of the rotary member 3, and is suitable for a scene in which the rotary member 3 is rotationally rotated at a regular rotational speed.
- the total duration of each signal period can be counted, for example, from the rising edge of the current signal period to the rising edge of the next signal period, and the total number of counts can be used as the total duration of the current signal period.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one optical switch 2 of the optical switch 2 before the current period determining an estimated total duration of the current period, including: in the rotating When the pieces 3 are respectively rotated at different rotation speeds, respectively acquire pulse sequences of the plurality of signal periods of the code wheel 1 at different rotation speeds, and predict the current period prediction at the current rotation speed according to the pulse sequence of the plurality of signal periods Total length.
- T ( t) (T1...Ti...Tn,n), where Ti is the total duration corresponding to the ith signal period, 1 ⁇ i ⁇ n, and n is a natural number.
- the total duration of each signal period can be counted, for example, from the rising edge of the current signal period to the rising edge of the next signal period, and the total number of counts can be used as the total duration of the current signal period.
- the position detecting method corresponding to the above-described fourth embodiment, referring to FIG. 14, further provides a position detecting device 200 for detecting the rotational position of the rotating member in the rotating system of the third embodiment.
- the position detecting device comprises a processor 201.
- the processor 201 is configured to:
- a rotational position of the rotating member is determined based on the pulse sequence.
- determining the rotational position of the rotating component according to the pulse sequence comprises:
- the rotational position of the rotating member is determined according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation.
- the plurality of light transmissive regions include a plurality of first light transmissive regions having the same width, and a second light transmissive region having a width different from a width of the first light transmissive region, the second light transmissive region a specific area corresponding to the zero position of the rotating member; or, the plurality of non-light transmitting regions includes a plurality of first non-transmissive regions of the same width, and a width different from the first non-transmissive region a second non-transmissive region of the width, the specific region of the second non-transmissive region corresponding to the zero position of the rotating member;
- Determining a rotational position of the rotating member according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation including:
- the rotational position of the rotating member is determined according to the specific time.
- determining the rotational position of the rotating member according to the specific time comprises:
- Determining, in the pulse sequence, the number of complete signal periods occurring between the current distances from the particular region, wherein between the rising edge/falling edge of the pulse corresponding to the adjacent two first light transmitting regions on the code wheel The duration, or the length between the rising edge/falling edge of the pulse corresponding to the two adjacent first non-transmissive regions, represents a complete signal period
- the target rotation angle is the current distance at the current distance of the optical switch
- the acquiring the target rotation angle includes:
- the first duration is a duration between a rising edge/falling edge time of a pulse detected by the optical switch last time
- the target rotation angle is determined according to the first duration and the rotational speed of the current period of the rotating member.
- the obtaining the rotation speed of the current period of the rotating member includes:
- determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current time determining a rotational speed of the current period of the rotating member, including:
- the rotational speed of the current period of the rotating member is determined according to the sum of the angles and the duration.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current time determining a rotational speed of the current period of the rotating member, including:
- the rotational speed of the current period of the rotating member is determined according to the sum of the durations and the sum of the angles.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current time determining a rotational speed of the current period of the rotating member, including:
- the acquiring the target rotation angle includes:
- the first duration is a duration between a rising edge/falling edge time of a pulse detected by the optical switch last time
- the second duration is an estimated total duration of the current period, wherein one period continues from a rising edge/falling edge of one pulse in the pulse sequence to a rising edge/falling edge of the next pulse;
- the obtaining the estimated total duration of the current period includes:
- determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one optical switch before the current period, determining an estimated total duration of the current period including:
- the estimated total duration of the current period is determined based on the sum of the total durations and the number of signal periods.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one optical switch before the current period, determining an estimated total duration of the current period including:
- the estimated total duration of the current period is determined according to the sum of the total durations of the plurality of signal periods after the weighting process and the number of the signal periods.
- determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one optical switch before the current period, determining an estimated total duration of the current period including:
- the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
- the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
- an embodiment of the present invention further provides a computer storage medium having program instructions stored therein, wherein the computer storage medium stores program instructions, and the program executes the position detecting method described in the fourth embodiment.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Optical Transform (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Provided is a position detecting device (200), comprising a coded disc (1) having an opening (11), and at least one optical switch (2), with the opening (11) being used to hold a rotating member (3); a plurality of light-transmitting regions (12) and a plurality of non-light-transmitting regions (13) are alternately distributed along the same circumference on the coded disc (1); the plurality of light-transmitting regions (12) include a plurality of first light-transmitting regions (121) having the same width, and a second light-transmitting region (122) having a width different from the width of the first light-transmitting region (121); or, the plurality of non-light-transmitting regions (13) include a plurality of first non-light-transmitting regions (131) having the same width, and a second non-light-transmitting region (132) having a width different from the width of the first non-light-transmitting region (131), wherein the width is the circumferential width along the circumference thereof. At least one optical switch (2) cooperates with the light-transmitting region (12) and the non-light-transmitting region (13) to output a pulse sequence. A light-transmitting region with a width different from that of other light-transmitting regions or a non-light-transmitting region with a width different from that of other non-light-transmitting regions serves as a zero position mark of the coded disc (1), and the absolute rotation position of the rotating member (3) is thus determined. The structure is simple and the range of application thereof is wider. A position detecting method and a rotating system are also provided.
Description
本发明涉及运动检测领域,尤其涉及一种位置检测装置、方法及转动系统。The invention relates to the field of motion detection, and in particular to a position detecting device, a method and a rotating system.
目前,利用码盘和光开关配合的方式检测转动件的转动位置较为常规。参见图1,在转动件上套设码盘1’,码盘1’上沿同一圆周交替排布的多个透光区11’和多个非透光区12’,同时设置一个光开关2’与透光区11’和非透光区12’进行配合。转动件转动带动码盘1’同速转动,光开关2’检测出高、低电平交替的脉冲序列,其中,高电平对应透光区11’,低电平对应非透光区12’。以具有36个透光区11’的码盘1’为例,相邻两个透光区11’之间的圆心角为10°,在光开关2’输出脉冲序列的每个上升沿对角度累加10°,即得到转动件的相对转动位置。At present, it is more conventional to detect the rotational position of the rotating member by means of the combination of the code wheel and the optical switch. Referring to FIG. 1, a code wheel 1' is disposed on the rotating member, and a plurality of light transmitting regions 11' and a plurality of non-light transmitting regions 12' alternately arranged along the same circumference on the code wheel 1', and an optical switch 2 is disposed at the same time. 'Cooperating with the light transmitting region 11' and the non-light transmitting region 12'. The rotation of the rotating member drives the code wheel 1' to rotate at the same speed, and the optical switch 2' detects a pulse sequence of alternating high and low levels, wherein the high level corresponds to the light transmitting area 11' and the low level corresponds to the non-light transmitting area 12' . Taking the code wheel 1' having 36 light-transmissive areas 11' as an example, the central angle between two adjacent light-transmissive areas 11' is 10°, and the angle of each rising edge of the output pulse sequence of the optical switch 2' is opposite. By adding 10°, the relative rotational position of the rotating member is obtained.
但上述码盘1’的多个透光区11’是均匀分布的,且码盘1’上无零位标记,因而无法得知转动件的绝对转动位置。参见图2,为了获得转动件的零位,通常是在码盘1’的另外一个圆周上再开设一个用于标记零位的透光区3’,并另外设置一个与该用于标记零位的透光区3’配合的光开关4’。其中用于标记零位的透光区3’与多个透光区11’中的一个对齐。在上述方案中,与用于标记零位的透光区3’配合的光开关4’的脉冲序列的上升沿即为码盘1’的零位。参见图3,与透光区11’配合的光开关2’、与用于标记零位的透光区3’配合的光开关4’检测到的脉冲序列分别为S3和S4,每次在S4上升沿对角度进行清零,重新计数,并在S3的每一个上升沿对角度累加10°,即可获得转动件的绝对位置。上述方案中,由于用于标记零位的透光区3’所在圆周的半径与透光区11’所在圆
周的半径不同,故需要设置两种不同高度的光开关2’,与用于标记零位的透光区3’相配合的光开关4’一般需要重新定制,成本较高。另外,上述方案需要在码盘1’的两个半径上分别开设透光区11’和用于标记零位的透光区3’,导致在某些特殊的场合不适用。However, the plurality of light transmitting regions 11' of the above code wheel 1' are uniformly distributed, and there is no zero mark on the code wheel 1', so that the absolute rotational position of the rotating member cannot be known. Referring to Fig. 2, in order to obtain the zero position of the rotating member, a light transmitting portion 3' for marking the zero position is usually opened on the other circumference of the code wheel 1', and another one is used for marking the zero position. The light transmissive area 3' is fitted with an optical switch 4'. The light transmitting region 3' for marking the zero position is aligned with one of the plurality of light transmitting regions 11'. In the above arrangement, the rising edge of the pulse sequence of the optical switch 4' mated with the light-transmitting region 3' for marking the zero position is the zero position of the code wheel 1'. Referring to FIG. 3, the optical switch 2' mated with the light transmitting portion 11' and the optical switch 4' matched with the light transmitting portion 3' for marking the zero position respectively detect the pulse sequences S3 and S4, respectively, at S4. The rising edge clears the angle, recounts, and adds 10° to the angle at each rising edge of S3 to obtain the absolute position of the rotating member. In the above solution, the radius of the circumference of the light-transmitting region 3' for marking the zero position and the circle of the light-transmitting region 11'
The radius of the circumference is different, so it is necessary to provide two different heights of the optical switch 2', and the optical switch 4' that cooperates with the light-transmitting area 3' for marking the zero position generally needs to be re-customized, and the cost is high. Further, the above solution requires opening the light-transmitting portion 11' and the light-transmitting portion 3' for marking the zero position on the two radii of the code wheel 1', resulting in application in some special cases.
发明内容Summary of the invention
本发明提供一种位置检测装置、方法及转动系统。The invention provides a position detecting device, method and rotating system.
根据本发明的第一方面,提供一种位置检测装置,用于检测转动件的转动位置,所述位置检测装置包括具有一开口的码盘以及至少一光开关,所述开口用于套设所述转动件;所述码盘上沿同一圆周设有交替分布的多个透光区和多个非透光区;其中,所述多个透光区包括多个宽度相同的第一透光区,以及一个宽度异于所述第一透光区的宽度的第二透光区;或者,所述多个非透光区包括多个宽度相同的第一非透光区,以及一个宽度异于所述第一非透光区的宽度的第二非透光区;其中,所述宽度为沿所述圆周上的周向宽度;至少一所述光开关与所述透光区和所述非透光区配合,用于输出脉冲序列。According to a first aspect of the present invention, there is provided a position detecting device for detecting a rotational position of a rotating member, the position detecting device comprising a code wheel having an opening and at least one optical switch, the opening being used for a socket a rotating member; a plurality of light-transmissive regions and a plurality of non-transmissive regions alternately distributed along the same circumference; wherein the plurality of light-transmitting regions include a plurality of first light-transmitting regions having the same width And a second light transmissive region having a width different from a width of the first light transmissive region; or the plurality of non-transparent regions includes a plurality of first non-transparent regions having the same width, and a width different from a second non-transmissive region of a width of the first non-transmissive region; wherein the width is a circumferential width along the circumference; at least one of the optical switch and the transparent region and the non- The light transmissive area is matched for outputting a pulse sequence.
根据本发明的第二方面,提供一种转动系统,包括转动件以及用于检测所述转动件的转动位置的位置检测装置,所述位置检测装置中的码盘与所述转动件相互固定,所述位置检测装置包括具有一开口的码盘以及至少一光开关,所述开口用于套设所述转动件;所述码盘上沿同一圆周设有交替分布的多个透光区和多个非透光区;其中,所述多个透光区包括多个宽度相同的第一透光区,以及一个宽度异于所述第一透光区的宽度的第二透光区;或者,所述多个非透光区包括多个宽度相同的第一非透光区,以及一个宽度异于所述第一非透光区的宽度的第二非透光区;其中,所述宽度为沿所述圆周上的周向宽度;至少一所述光开关与所述透光区和所述非透光区配合,用于输出脉冲序列。
According to a second aspect of the present invention, a rotating system includes a rotating member and a position detecting device for detecting a rotational position of the rotating member, wherein a code wheel in the position detecting device and the rotating member are fixed to each other, The position detecting device includes a code wheel having an opening and at least one optical switch, wherein the opening is for arranging the rotating member; the code wheel is provided with a plurality of light-transmissive regions and an alternating distribution along the same circumference a plurality of light-transmissive regions; wherein the plurality of light-transmissive regions comprise a plurality of first light-transmissive regions having the same width, and a second light-transmissive region having a width different from a width of the first light-transmitting region; or The plurality of non-transmissive regions include a plurality of first non-transmissive regions of the same width, and a second non-transparent region having a width different from a width of the first non-transmissive region; wherein the width is a circumferential width along the circumference; at least one of the optical switches mates with the light transmissive region and the non-transmissive region for outputting a pulse sequence.
根据本发明的第三方面,提供一种位置检测方法,用于检测上述转动系统中的转动件的转动位置,所述方法包括:获取所述转动系统中的位置检测装置中的至少一个光开关输出的脉冲序列;根据所述脉冲序列来确定所述转动件的转动位置。According to a third aspect of the present invention, a position detecting method for detecting a rotational position of a rotating member in the rotating system is provided, the method comprising: acquiring at least one optical switch in a position detecting device in the rotating system An output pulse sequence; determining a rotational position of the rotating member based on the pulse sequence.
由以上本发明实施例提供的技术方案可见,本发明通过在码盘上设置沿同一圆周交替排布的多个透光区和多个非透光区,并将多个透光区中的一个透光区的宽度设置成与其它透光区的宽度不同,或者,将多个非透光区中的一个非透光区的宽度设置成与其它非透光区的宽度不同,从而将与其它透光区的宽度不同的透光区或者与其它非透光区的宽度不同的非透光区作为码盘的零位标记,通过脉冲序列即可准确检测出码盘的零位,无需在另一圆周(即透光区所在圆周)上再开设零位孔即可确定转动件的零位,根据码盘和零位和码盘检测到的相对转动位置,最终确定转动件的绝对转动位置,结构简单且使用范围更广。It can be seen from the technical solutions provided by the embodiments of the present invention that the present invention provides a plurality of transparent areas and a plurality of non-transparent areas alternately arranged along the same circumference on the code wheel, and one of the plurality of transparent areas The width of the light transmitting region is set to be different from the width of the other light transmitting regions, or the width of one of the plurality of non-light transmitting regions is set to be different from the width of the other non-light transmitting regions, thereby The light-transmitting area with different widths of the light-transmitting area or the non-light-transmitting area different from the width of the other non-light-transmitting areas is used as the zero mark of the code wheel, and the zero position of the code wheel can be accurately detected by the pulse sequence, without A zero hole is formed on a circumference (ie, the circumference of the light transmission area) to determine the zero position of the rotating member, and the absolute rotational position of the rotating member is finally determined according to the relative rotational position detected by the code wheel and the zero position and the code wheel. The structure is simple and the range of use is wider.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图1是现有技术中一种位置检测装置的立体图;1 is a perspective view of a position detecting device in the prior art;
图2是现有技术中另一种位置检测装置的立体图;2 is a perspective view of another position detecting device in the prior art;
图3是现有技术中另一种位置检测装置的光开关的脉冲序列图;3 is a pulse sequence diagram of an optical switch of another position detecting device in the prior art;
图4是本发明实施例中位置检测装置的立体图;Figure 4 is a perspective view of a position detecting device in an embodiment of the present invention;
图5是本发明实施例中位置检测装置的光开关的脉冲序列图;Figure 5 is a pulse sequence diagram of an optical switch of the position detecting device in the embodiment of the present invention;
图6是本发明实施例中另一种位置检测装置的立体图;
Figure 6 is a perspective view of another position detecting device in the embodiment of the present invention;
图7是本发明实施例中另一种位置检测装置的光开关的脉冲序列图;7 is a pulse sequence diagram of an optical switch of another position detecting device in an embodiment of the present invention;
图8是本发明实施例中转动系统的立体图;Figure 8 is a perspective view of a rotating system in accordance with an embodiment of the present invention;
图9是本发明实施例中转动件的立体图;Figure 9 is a perspective view of a rotating member in an embodiment of the present invention;
图10是本发明实施例中码盘的立体图;Figure 10 is a perspective view of a code wheel in an embodiment of the present invention;
图11是本发明实施例中另一种转动系统的立体图;Figure 11 is a perspective view of another rotation system in the embodiment of the present invention;
图12是本发明实施例中另一种转动系统在另一方向上的立体图;Figure 12 is a perspective view of another rotating system in another direction in an embodiment of the present invention;
图13是本发明实施例中位置检测方法的流程图;13 is a flowchart of a position detecting method in an embodiment of the present invention;
图14是本发明实施例中位置检测装置的结构示意图。Figure 14 is a block diagram showing the structure of a position detecting device in an embodiment of the present invention.
附图标记:Reference mark:
200:位置检测装置;201:处理器;200: position detecting device; 201: processor;
1:码盘;10:第一码盘;10’:第二码盘;11:开口;12:透光区;121:第一透光区;122:第二透光区;13:非透光区;131:第一非透光区;132:第二非透光区;14:安装面;15:第一固定部;15’:第二固定部;1: code wheel; 10: first code wheel; 10': second code wheel; 11: opening; 12: light transmitting area; 121: first light transmitting area; 122: second light transmitting area; Light zone; 131: first non-transmissive zone; 132: second non-transmissive zone; 14: mounting surface; 15: first fixing portion; 15': second fixing portion;
2:光开关;20:第一光开关组;20’:第二光开关组;2: optical switch; 20: first optical switch group; 20': second optical switch group;
3:转动件;31:平台面;32:收容空间;3: rotating member; 31: platform surface; 32: receiving space;
4:负载;4: load;
5:第一固定件;5’:第二固定件;5: first fixing member; 5': second fixing member;
6:第一磁性件;6’:第二磁性件;6: a first magnetic member; 6': a second magnetic member;
7:第一轴承;7’:第二轴承。7: first bearing; 7': second bearing.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案
进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solution in the embodiment of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
The present invention is described in a clear and complete manner, and it is obvious that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
下面结合附图,对本发明的位置检测装置200、方法及转动系统进行详细说明。在不冲突的情况下,下述的实施例及实施方式中的特征可以相互组合。The position detecting device 200, method and turning system of the present invention will be described in detail below with reference to the accompanying drawings. The features of the embodiments and embodiments described below may be combined with each other without conflict.
实施例一 Embodiment 1
参见图4,本发明实施例提供的一种位置检测装置200,所述位置检测装置200可包括码盘1以及至少一光开关2。其中,所述码盘1具有一开口11,所述开口11用于套设在转动件3上,由所述转动件3带动所述码盘1一起转动,从而利用码盘1对转动件3的转动位置进行检测。Referring to FIG. 4, a position detecting device 200 according to an embodiment of the present invention may include a code wheel 1 and at least one optical switch 2. The code wheel 1 has an opening 11, and the opening 11 is sleeved on the rotating member 3, and the rotating plate 3 drives the code wheel 1 to rotate together, so that the rotating plate 3 is rotated by the code wheel 1. The rotational position is detected.
所述码盘1上沿同一圆周设有交替分布的多个透光区12和多个非透光区13。其中,所述多个透光区12包括多个宽度相同的第一透光区121,以及一个宽度异于所述第一透光区121的宽度的第二透光区122。需要说明的是,本实施例中,所述宽度是指所述圆周上的周向宽度。A plurality of light transmissive regions 12 and a plurality of non-transparent regions 13 are alternately arranged on the code wheel 1 along the same circumference. The plurality of transparent regions 12 include a plurality of first transparent regions 121 having the same width, and a second transparent region 122 having a width different from the width of the first transparent regions 121. It should be noted that, in the present embodiment, the width refers to the circumferential width on the circumference.
至少一个所述光开关2与所述透光区12和所述非透光区13配合,用于输出脉冲序列。At least one of the optical switches 2 cooperates with the light transmissive region 12 and the non-transmissive region 13 for outputting a pulse sequence.
本发明实施例中,通过在码盘1上设置沿同一圆周交替排布的多个透光区12和多个非透光区13,并将多个透光区12中的一个透光区12的宽度设置成与其它透光区12的宽度不同,从而将与其它透光区12的宽度不同的透光区12作为码盘1的零位标记,通过脉冲序列即可准确检测出码盘1的零位,无需在另一圆周(即透光区12所在圆周)上再开设零位孔即可确定转动件3的零位,根据码盘1和零位和码盘1检测到的相对转动位置,最终确定转动件3的绝对转动位置,结构简单且使用范围更广。
In the embodiment of the present invention, a plurality of transparent regions 12 and a plurality of non-transmissive regions 13 alternately arranged along the same circumference are disposed on the code wheel 1, and one of the plurality of transparent regions 12 is provided. The width is set to be different from the width of the other light-transmissive regions 12, so that the light-transmissive region 12 different from the width of the other light-transmitting regions 12 is used as the zero mark of the code wheel 1, and the code wheel 1 can be accurately detected by the pulse sequence. Zero position, the zero position of the rotating member 3 can be determined without opening a zero hole on the other circumference (ie, the circumference of the light transmitting area 12), and the relative rotation detected according to the code wheel 1 and the zero position and the code wheel 1 The position finally determines the absolute rotational position of the rotating member 3, and the structure is simple and the use range is wider.
本实施例中,在使用码盘1检测转动件3的转动位置时,码盘1套设在所述转动件3上,所述码盘1的零位与转动件3的指定位置(即转动件3的零位)唯一对准,再由转动件3带动码盘1转动。需要说明的是,本实施例的转动件3与码盘1之间是相对静止的,从而对转动件3的零位进行精确检测。In the present embodiment, when the rotational position of the rotating member 3 is detected using the code wheel 1, the code wheel 1 is sleeved on the rotating member 3, and the zero position of the code wheel 1 and the designated position of the rotating member 3 (ie, rotation) The zero position of the piece 3 is only aligned, and then the rotating piece 3 drives the code wheel 1 to rotate. It should be noted that the rotating member 3 of the present embodiment and the code wheel 1 are relatively stationary, so that the zero position of the rotating member 3 is accurately detected.
可选地,为获得转动件3的实时转动位置,至少一个光开关2分别连接至一处理器,从而由所述处理器根据至少一个所述光开关2输出的脉冲序列来计算所述转动件3的实时转动位置(即绝对转动位置)。Optionally, in order to obtain the real-time rotational position of the rotating member 3, the at least one optical switch 2 is respectively connected to a processor, so that the rotating component is calculated by the processor according to the pulse sequence output by the at least one optical switch 2 3 real-time rotational position (ie absolute rotational position).
所述透光区12和非透光区13的数量可根据码盘1的尺寸、检测精度以及处理器的数据处理量等因素来确定。例如,所述透光区12和非透光区13均为17个、35个或71个等等。虽然,交替设置的透光区12和非透光区13的数量越多,检测精度越高,但透光区12和非透光区13的数量增多势必会造成码盘1尺寸的增加、处理器的负担加重,且码盘1加工工艺更加复杂,故在确定所述透光区12和非透光区13的数量时,需要平衡码盘1的尺寸、检测精度以及处理器的数据处理量等因素。优选地,考虑到码盘1的尺寸不宜过大,且不增加处理器负担,并能够满足精度要求,所述码盘1上设置的透光区12和非透光区13的数量均为35个。The number of the light transmitting regions 12 and the non-light transmitting regions 13 can be determined according to factors such as the size of the code wheel 1, the detection accuracy, and the data processing amount of the processor. For example, the light transmitting region 12 and the non-light transmitting region 13 are each of 17, 35 or 71, and the like. Although the number of the light-transmissive regions 12 and the non-transmissive regions 13 that are alternately disposed is higher, the detection accuracy is higher, but the increase in the number of the light-transmitting regions 12 and the non-transmissive regions 13 is bound to cause an increase in the size of the code wheel 1 and processing. The burden of the device is increased, and the processing process of the code wheel 1 is more complicated. Therefore, when determining the number of the light-transmitting region 12 and the non-light-transmitting region 13, it is necessary to balance the size of the code wheel 1, the detection accuracy, and the data processing amount of the processor. And other factors. Preferably, considering that the size of the code wheel 1 is not excessively large, and the burden on the processor is not increased, and the accuracy requirement can be met, the number of the light transmitting area 12 and the non-light transmitting area 13 disposed on the code wheel 1 is 35. One.
所述透光区12包括通孔、由透光材质形成的区域中的至少一种。在一些例子中,为方便加工,所述多个透光区12均为通孔。在一些例子中,为方便加工,所述多个透光区12均是由透光材质(例如透光玻璃)形成的区域。The light transmissive region 12 includes at least one of a through hole and a region formed of a light transmissive material. In some examples, the plurality of light transmissive regions 12 are both through holes for ease of processing. In some examples, the plurality of light transmissive regions 12 are regions formed of a light transmissive material (eg, light transmissive glass) for ease of processing.
为了获得码盘1的零位,本实施例中,所述第二透光区122的宽度与所述第一透光区121的宽度成倍数关系,例如,所述第二透光区122的宽度为所述第一透光区121的宽度两倍、三倍或者其他倍数大小。为了方便计算,在某些实施例中,所述第二透光区122的宽度为所述第一透光区121的宽度的三倍,即第二透光区122相当于由三个第一透光区121组成。
转动件3带动码盘1转动后,光开关2在第二透光区122检测到的脉冲与光开关2在第一透光区121检测到的脉冲不同(例如,两个脉冲的持续时间长短、两个脉冲所包含的脉冲个数等等),从而实现对码盘1零位的标定,最终获得转动件3的绝对位置。进一步地,为简化输出的计算,所述第一透光区121的宽度与所述非透光区13的宽度相等,使得相邻的两个第一透光区121的中间轴之间的夹角为10°,且相邻的两个非透光区13的中间轴之间的夹角也为10°,码盘1从当前第一透光区121的边缘转动至下一第一透光区121的同一侧边缘,码盘1所转动的角度为10°,从而实现位置的检测。In the present embodiment, the width of the second light-transmissive region 122 is multiplied by the width of the first light-transmitting region 121, for example, the second light-transmitting region 122 is obtained. The width is twice, three times or other multiples of the width of the first light transmitting region 121. In order to facilitate the calculation, in some embodiments, the width of the second transparent region 122 is three times the width of the first transparent region 121, that is, the second transparent region 122 is equivalent to three first The light transmissive area 121 is composed.
After the rotating member 3 drives the code wheel 1 to rotate, the pulse detected by the optical switch 2 in the second transparent area 122 is different from the pulse detected by the optical switch 2 in the first transparent area 121 (for example, the duration of two pulses) The number of pulses included in the two pulses, etc., thereby realizing the calibration of the zero position of the code wheel 1, and finally obtaining the absolute position of the rotating member 3. Further, in order to simplify the calculation of the output, the width of the first light-transmitting region 121 is equal to the width of the non-light-transmitting region 13, so that the sandwich between the intermediate axes of the adjacent two first light-transmitting regions 121 The angle is 10°, and the angle between the intermediate axes of the adjacent two non-light transmitting regions 13 is also 10°, and the code wheel 1 rotates from the edge of the current first light transmitting region 121 to the next first light transmission. The same side edge of the area 121, the angle at which the code wheel 1 is rotated is 10°, thereby realizing the detection of the position.
在某些实施例中,所述光开关2为槽式光电开关,其包括底座(图中未标出)、发射管(图中未标出)和接收管(图中未标出)。其中,所述发射管和所述接收管分别设于所述底座的两端。所述发射管和所述接收管对称设于所述码盘1的两侧,且所述发射管和所述接收管的中心位于所述透光区12和非透光区13所在圆周,以实现与述透光区12和非透光区13的配合。所述底座位于所述码盘1外圆周预设间距处设置,从而防止码盘1转动时其外圆周面与底座的碰撞。In some embodiments, the optical switch 2 is a slotted photoelectric switch that includes a base (not shown), a launch tube (not shown), and a receiving tube (not shown). The launch tube and the receiving tube are respectively disposed at two ends of the base. The transmitting tube and the receiving tube are symmetrically disposed on two sides of the code wheel 1, and the centers of the transmitting tube and the receiving tube are located on the circumference of the light transmitting area 12 and the non-light transmitting area 13 to The cooperation with the light transmitting region 12 and the non-light transmitting region 13 is achieved. The base is disposed at a predetermined interval of the outer circumference of the code wheel 1, thereby preventing the outer circumferential surface from colliding with the base when the code wheel 1 is rotated.
在某些实施例中,所述光开关2也可选择其他具有发射管和接收管的光电开关。In some embodiments, the optical switch 2 can also select other photoelectric switches having a transmitting tube and a receiving tube.
所述转动件3带动码盘1转动的过程中,光开关2是静止的,光开关2的发射管发射光信号,发射管和接收管位于透光区12的位置时,接收管即可接收到发射管发射的光信号,发射管和接收管位于非透光区13时,接收管无法接收到发射管发射的光信号,从而使得码盘1的透光区12和非透光区13转动至光开关2的位置时,光开关2分别输出不同的电平信号。在一些实施例中,码盘1的透光区12转动至光开关2的位置时,光开关2输出高电平;相应地,码盘1的非透光区13转动至光开关2的位置时,光开关2输出低电平。在一些实施例中,也可以是码盘的透光区转动至光开
关的位置时,光开关输出低电平,码盘的非透光区转动至光开关的位置时,光开关输出高电平。When the rotating member 3 drives the code wheel 1 to rotate, the optical switch 2 is stationary, and the transmitting tube of the optical switch 2 emits a light signal. When the transmitting tube and the receiving tube are located at the position of the light transmitting area 12, the receiving tube can receive When the transmitting tube and the receiving tube are located in the non-transmissive region 13, the receiving tube cannot receive the light signal emitted by the transmitting tube, thereby rotating the light transmitting region 12 and the non-light transmitting region 13 of the code wheel 1. When the position of the optical switch 2 is reached, the optical switch 2 outputs different level signals. In some embodiments, when the light transmissive region 12 of the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a high level; accordingly, the non-transmissive region 13 of the code wheel 1 is rotated to the position of the optical switch 2. When the optical switch 2 outputs a low level. In some embodiments, the light transmission area of the code wheel may also be rotated to the light opening.
When the position is off, the optical switch outputs a low level, and when the non-transparent area of the code wheel is rotated to the position of the optical switch, the optical switch outputs a high level.
以下将以所述第二透光区122的宽度为所述第一透光区121的宽度的三倍,且所述第一透光区121的宽度与所述非透光区13的宽度相等,码盘1的透光区12转动至光开关2时光开关2输出高电平,码盘1的非透光区13转动至光开关2时光开关2输出低电平为例进一步说明。Hereinafter, the width of the second light transmitting region 122 is three times the width of the first light transmitting region 121, and the width of the first light transmitting region 121 is equal to the width of the non-light transmitting region 13. When the light transmissive area 12 of the code wheel 1 is rotated to the optical switch 2, the optical switch 2 outputs a high level, and the non-transmissive area 13 of the code wheel 1 is rotated to the optical switch 2, and the optical switch 2 outputs a low level as an example for further explanation.
在某些实施例中,所述光开关2的数量为一个。本实施例中,转动件3带动码盘1转动后,码盘1上的透光区12转动到所述光开关2的位置时,光开关2输出高电平,而码盘1上的非透光区13转动到所述光开关2的位置时,光开关2则会输出低电平。码盘1每转动一圈存在一个零位(即第二透光区中的特定区域,例如,中间轴、边缘等等),相应地,码盘1每转动一圈,由于第二透光区122的宽度异于第一透光区121的宽度,故光开关2输出的脉冲序列中第二透光区122对应的脉冲与第一透光区121对应的脉冲不同,从而标记出码盘1的零位。在一些例子中,转动件3带动码盘1匀速转动时,由于第二透光区122转动至光开关2的位置时,光开关2输出的高电平的长度(例如高电平的时间长度或者计数量)要大于第一透光区121转动至光开关2的位置时,光开关2输出的高电平的长度,故通过处理器判断所述高电平的长度,将长度较长的高电平对应的上升沿或者下降沿或者中间位置处作为码盘1的零位即可。需要说明的是,本发明实施例中,利用一个光开关2只能用于检测匀速转动的转动件3的零位,这是由于光开关2检测到的脉冲序列的长度与码盘1的转速相关,而码盘1的转速是由转动件3的转速决定的,转动件3变速转动时,光开关2检测到的第一透光区121和第二透光区122对应的脉冲的长度存在不确定性,从而无法确定码盘1的零位。In some embodiments, the number of optical switches 2 is one. In this embodiment, after the rotating member 3 drives the code wheel 1 to rotate, when the light transmitting area 12 on the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a high level, and the non-disc on the code wheel 1 When the light transmitting region 13 is rotated to the position of the optical switch 2, the optical switch 2 outputs a low level. There is a zero position (ie, a specific area in the second light transmitting area, for example, an intermediate shaft, an edge, etc.) every one rotation of the code wheel 1, and accordingly, each rotation of the code wheel 1 is due to the second light transmitting area. The width of the first light-transmissive region 121 is different from the width of the first light-transmitting region 121. Therefore, the pulse corresponding to the second light-transmitting region 122 in the pulse sequence outputted by the optical switch 2 is different from the pulse corresponding to the first light-transmitting region 121, thereby marking the code wheel 1 Zero. In some examples, when the rotating member 3 drives the code wheel 1 to rotate at a constant speed, the length of the high level output by the optical switch 2 (for example, the time length of the high level) when the second light transmitting area 122 is rotated to the position of the optical switch 2 Or the counting amount is larger than the length of the high level output by the optical switch 2 when the first light transmitting area 121 is rotated to the position of the optical switch 2, so the length of the high level is determined by the processor, and the length is long. The rising edge or the falling edge of the high level or the intermediate position may be the zero position of the code wheel 1. It should be noted that, in the embodiment of the present invention, an optical switch 2 can only be used to detect the zero position of the rotating member 3 that rotates at a constant speed, which is due to the length of the pulse sequence detected by the optical switch 2 and the rotational speed of the code wheel 1. Correspondingly, the rotation speed of the code wheel 1 is determined by the rotation speed of the rotating member 3. When the rotating member 3 is rotated, the length of the pulse corresponding to the first light transmitting area 121 and the second light transmitting area 122 detected by the optical switch 2 exists. Uncertainty, so that the zero position of the code wheel 1 cannot be determined.
在某些实施例中,所述光开关2的数量为两个,通过两个光开关2输出的脉冲序列来确定码盘1的零位信息以及码盘1相对转动位置,从而
获得转动件3的绝对转动位置。需要说明的是,本发明实施例中,利用两个光开关2不仅适用于匀速转动的转动件3的零位检测,还适用于变速转动的转动件3的零位检测,这是由于通过两个光开关2检测到的脉冲序列进行处理,可得到唯一的零位脉冲,从而唯一确定转动件3的零位。In some embodiments, the number of the optical switches 2 is two, and the zero position information of the code wheel 1 and the relative rotational position of the code wheel 1 are determined by the pulse sequence outputted by the two optical switches 2, thereby
The absolute rotational position of the rotating member 3 is obtained. It should be noted that, in the embodiment of the present invention, the two optical switches 2 are not only suitable for the zero position detection of the rotating member 3 which is rotated at a constant speed, but also for the zero position detection of the rotating member 3 for the variable speed rotation, which is due to The pulse sequence detected by the optical switch 2 is processed to obtain a unique zero pulse, thereby uniquely determining the zero position of the rotating member 3.
在某些实施例中,为获取零位脉冲,所述位置检测装置200不工作时,所述两个光开关2的位置是错开放置的,即两个光开关2分别放置在所述码盘1周向的不同位置处,且分别与透光区12和非透光区13配合。In some embodiments, to obtain a zero pulse, when the position detecting device 200 is not in operation, the positions of the two optical switches 2 are staggered, that is, two optical switches 2 are respectively placed on the code wheel. At different positions in the 1 circumferential direction, and respectively matched with the light transmitting region 12 and the non-light transmitting region 13.
在一些例子中,为方便计算,所述两个光开关2的位置能够使得所述两个光开关2分别产生的脉冲序列中包含上升沿时间相同的脉冲,即两个光开关2会在某一时刻同时输出同为上升沿的脉冲。可选地,所述位置检测装置200不工作时,所述两个光开关2的位置能够使得所述两个光开关分别与两个第一透光区121的边缘同时相对,以使得所述两个光开关2分别产生的脉冲序列中包含上升沿时间相同的脉冲序列,从而方便计算。可选地,所述两个光开关分别与两个相邻的第一透光区121的边缘同时相对。In some examples, for the convenience of calculation, the positions of the two optical switches 2 can be such that the pulse sequences generated by the two optical switches 2 respectively comprise pulses with the same rising edge time, that is, the two optical switches 2 will be in a certain Simultaneously output pulses of the same rising edge at the same time. Optionally, when the position detecting device 200 is not in operation, the positions of the two optical switches 2 can be such that the two optical switches are respectively opposite to the edges of the two first transparent areas 121, so that the The pulse sequence generated by the two optical switches 2 respectively includes a pulse sequence having the same rising edge time, thereby facilitating calculation. Optionally, the two optical switches are respectively opposite to the edges of two adjacent first light transmitting regions 121.
参见图5,转动件3带动码盘1转动时,S1和S2分别为所述两个光开关2输出的脉冲序列。在需要确定码盘1的零位脉冲(具有一个脉冲的脉冲序列)时,在某些实施例中,参见5,首先将S1和S2或运算,得到连续的脉冲序列S3,若以码盘1第二透光区122转动到S1对应的光开关2位置处为零位,则零位脉冲S4可通过S2和S3进行异或运算获得,即若以码盘1第二透光区122转动到S2对应的光开关2位置处为零位,则零位脉冲S4’可通过S1和S3进行异或运算获得,即在某些实施例中,可将S1和S2进行其他运算(例如与、或、非、同或和异或等中至少一个或多个的结合),从而确定码盘1的零位。Referring to FIG. 5, when the rotating member 3 drives the code wheel 1 to rotate, S1 and S2 are pulse sequences output by the two optical switches 2, respectively. When it is desired to determine the zero pulse of the code wheel 1 (a pulse sequence with one pulse), in some embodiments, see 5, first the S1 and S2 OR operations, resulting in a continuous pulse sequence S3, if the code wheel 1 The second transparent region 122 is rotated to zero position at the position of the optical switch 2 corresponding to S1, and the zero pulse S4 can be obtained by X2 operation between S2 and S3, that is, If the second light transmitting area 122 of the code wheel 1 is rotated to zero position at the position of the optical switch 2 corresponding to S2, the zero pulse S4' can be obtained by XOR operation by S1 and S3, that is, In some embodiments, S1 and S2 may be subjected to other operations (eg, a combination of at least one or more of, or,,,, or, and XOR) to determine the null of code wheel 1.
在一些例子中,为方便计算,所述两个光开关2的位置能够使得所述两个光开关2分别产生的脉冲序列中包含相错1/2周期或者相错1/4周
期的脉冲。其中,一个周期包括一个第一透光区121和一个非透光区13经过所述光开关2的时间。可选地,所述位置检测装置200不工作时,所述两个光开关2的位置能够使得所述两个光开关2中的一个光开关2与一个第一透光区121的边缘相对,同时另一个光开关2与另一个第一透光区121的中间轴相对,使得两个光开关2分别产生的脉冲序列中包含相错1/2周期的脉冲。可选地,所述位置检测装置200不工作时,所述两个光开关2的位置能够使得所述两个光开关2中的一个光开关2与一个第一透光区121的边缘相对,同时另一个光开关2与另一个第一透光区121的1/4位置处相对,使得两个光开关2分别产生的脉冲序列中包含相错1/4周期的脉冲。本实施例中确定码盘1的零位脉冲的过程与上述将所述两个光开关分别与两个第一透光区121的边缘同时相对的实施例中确定码盘1的零位脉冲的过程相类似。In some examples, for convenience of calculation, the positions of the two optical switches 2 can be such that the pulse sequences generated by the two optical switches 2 respectively comprise a phase error of 1/2 cycle or a phase error of 1/4 cycle.
Period of the pulse. Wherein, one period includes a time when the first light transmitting region 121 and one non-light transmitting region 13 pass through the optical switch 2. Optionally, when the position detecting device 200 is not in operation, the positions of the two optical switches 2 can be such that one of the two optical switches 2 is opposite to an edge of a first light transmitting area 121, At the same time, the other optical switch 2 is opposite to the intermediate axis of the other first light transmitting region 121, so that the pulse sequence generated by the two optical switches 2 respectively contains pulses of 1/2 cycle of phase error. Optionally, when the position detecting device 200 is not in operation, the positions of the two optical switches 2 can be such that one of the two optical switches 2 is opposite to an edge of a first light transmitting area 121, At the same time, the other optical switch 2 is opposite to the 1/4 position of the other first light transmitting region 121, so that the pulse sequence generated by the two optical switches 2 respectively contains pulses of 1/4 cycle of phase error. The process of determining the zero pulse of the code wheel 1 in the embodiment and the zero pulse of the code wheel 1 in the embodiment in which the two optical switches are respectively opposite to the edges of the two first light transmission areas 121 respectively The process is similar.
实施例二 Embodiment 2
参见图6,本发明实施例提供的一种位置检测装置200,所述位置检测装置200可包括码盘1以及至少一光开关2。其中,所述码盘1具有一开口11,所述开口11用于套设在转动件3上,由所述转动件3带动所述码盘1一起转动,从而利用码盘1对转动件3的转动位置进行检测。Referring to FIG. 6, a position detecting device 200 according to an embodiment of the present invention may include a code wheel 1 and at least one optical switch 2. The code wheel 1 has an opening 11, and the opening 11 is sleeved on the rotating member 3, and the rotating plate 3 drives the code wheel 1 to rotate together, so that the rotating plate 3 is rotated by the code wheel 1. The rotational position is detected.
所述码盘1上沿同一圆周设有交替分布的多个透光区12和多个非透光区13。其中,所述多个非透光区13包括多个宽度相同的第一非透光区131,以及一个宽度异于所述第一非透光区131的宽度的第二非透光区132。需要说明的是,本实施例中,所述宽度是指所述圆周上的周向宽度。A plurality of light transmissive regions 12 and a plurality of non-transparent regions 13 are alternately arranged on the code wheel 1 along the same circumference. The plurality of non-transmissive regions 13 include a plurality of first non-transmissive regions 131 having the same width, and a second non-transparent region 132 having a width different from the width of the first non-transmissive regions 131. It should be noted that, in the present embodiment, the width refers to the circumferential width on the circumference.
至少一个所述光开关2与所述透光区12和所述非透光区13配合,用于输出脉冲序列。At least one of the optical switches 2 cooperates with the light transmissive region 12 and the non-transmissive region 13 for outputting a pulse sequence.
本发明实施例中,通过在码盘1上设置沿同一圆周交替排布的多个透光区12和多个非透光区13,并将多个非透光区13中的一个非透光区13
的宽度设置成与其它非透光区13的宽度不同,从而将与其它非透光区13的宽度不同的非透光区13作为码盘1的零位标记,通过脉冲序列即可准确检测出码盘1的零位,无需在另一圆周(即透光区12所在圆周)上再开设零位孔即可确定转动件3的零位,根据码盘1和零位和码盘1检测到的相对转动位置,最终确定转动件3的绝对转动位置,结构简单且使用范围更广。In the embodiment of the present invention, a plurality of transparent regions 12 and a plurality of non-transmissive regions 13 alternately arranged along the same circumference are disposed on the code wheel 1, and one of the plurality of non-transmissive regions 13 is non-transparent. District 13
The width is set to be different from the width of the other non-transmissive regions 13, so that the non-transmissive region 13 different from the width of the other non-transmissive regions 13 is used as the zero mark of the code wheel 1, and can be accurately detected by the pulse sequence. The zero position of the code wheel 1 can determine the zero position of the rotating member 3 without opening a zero hole on the other circumference (ie, the circumference of the light transmitting area 12), and is detected according to the code wheel 1 and the zero position and the code wheel 1. The relative rotational position of the rotating member 3 is finally determined, and the structure is simple and the use range is wider.
本实施例中,在使用码盘1检测转动件3的转动位置时,码盘1套设在所述转动件3上,所述码盘1的零位与转动件3的指定位置(即转动件3的零位)唯一对准,再由转动件3带动码盘1转动。需要说明的是,本实施例的转动件3与码盘1之间是相对静止的,从而对转动件3的零位进行精确检测。In the present embodiment, when the rotational position of the rotating member 3 is detected using the code wheel 1, the code wheel 1 is sleeved on the rotating member 3, and the zero position of the code wheel 1 and the designated position of the rotating member 3 (ie, rotation) The zero position of the piece 3 is only aligned, and then the rotating piece 3 drives the code wheel 1 to rotate. It should be noted that the rotating member 3 of the present embodiment and the code wheel 1 are relatively stationary, so that the zero position of the rotating member 3 is accurately detected.
可选地,为获得转动件3的实时转动位置,至少一个光开关2分别连接至一处理器,从而由所述处理器根据至少一个所述光开关2输出的脉冲序列来计算所述转动件3的实时转动位置(即绝对转动位置)。Optionally, in order to obtain the real-time rotational position of the rotating member 3, the at least one optical switch 2 is respectively connected to a processor, so that the rotating component is calculated by the processor according to the pulse sequence output by the at least one optical switch 2 3 real-time rotational position (ie absolute rotational position).
所述透光区12和非透光区13的数量可根据码盘1的尺寸、检测精度以及处理器的数据处理量等因素来确定。例如,所述透光区12和非透光区13均为17个、35个或71个等等。虽然,交替设置的透光区12和非透光区13的数量越多,检测精度越高,但透光区12和非透光区13的数量增多势必会造成码盘1尺寸的增加、处理器的负担加重,且码盘1加工工艺更加复杂,故在确定所述透光区12和非透光区13的数量时,需要平衡码盘1的尺寸、检测精度以及处理器的数据处理量等因素。优选地,考虑到码盘1的尺寸不宜过大,且不增加处理器负担,并能够满足精度要求,所述码盘1上设置的透光区12和非透光区13的数量均为35个。The number of the light transmitting regions 12 and the non-light transmitting regions 13 can be determined according to factors such as the size of the code wheel 1, the detection accuracy, and the data processing amount of the processor. For example, the light transmitting region 12 and the non-light transmitting region 13 are each of 17, 35 or 71, and the like. Although the number of the light-transmissive regions 12 and the non-transmissive regions 13 that are alternately disposed is higher, the detection accuracy is higher, but the increase in the number of the light-transmitting regions 12 and the non-transmissive regions 13 is bound to cause an increase in the size of the code wheel 1 and processing. The burden of the device is increased, and the processing process of the code wheel 1 is more complicated. Therefore, when determining the number of the light-transmitting region 12 and the non-light-transmitting region 13, it is necessary to balance the size of the code wheel 1, the detection accuracy, and the data processing amount of the processor. And other factors. Preferably, considering that the size of the code wheel 1 is not excessively large, and the burden on the processor is not increased, and the accuracy requirement can be met, the number of the light transmitting area 12 and the non-light transmitting area 13 disposed on the code wheel 1 is 35. One.
所述透光区12包括通孔、由透光材质形成的区域中的至少一种。在一些例子中,为方便加工,所述多个透光区12均为通孔。在一些例子中,为方便加工,所述多个透光区12均是由透光材质(例如透光玻璃)形成的
区域。The light transmissive region 12 includes at least one of a through hole and a region formed of a light transmissive material. In some examples, the plurality of light transmissive regions 12 are both through holes for ease of processing. In some examples, the plurality of light transmissive regions 12 are formed of a light transmissive material (eg, a light transmissive glass) for ease of processing.
region.
为了获得码盘1的零位脉冲,本实施例中,所述第二非透光区132的宽度与所述第一非透光区131的宽度成倍数关系,例如,所述第二非透光区132的宽度为所述第一非透光区131的宽度两倍、三倍或者其他倍数大小。为了方便计算,在某些实施例中,所述第二非透光区132的宽度为所述第一非透光区131的宽度的三倍,即第二非透光区132相当于由三个第一非透光区131组成。转动件3带动码盘1转动后,光开关2在第二非透光区132检测到的脉冲与光开关2在第一非透光区131检测到的脉冲不同(例如,两个脉冲的持续时间长短、两个脉冲所包含的脉冲个数等等),从而实现对码盘1零位的标定,最终获得转动件3的绝对位置。进一步地,为简化输出的计算,所述第一非透光区131的宽度与所述透光区12的宽度相等,使得相邻的两个第一非透光区131的中间轴之间的夹角为10°,且相邻的两个透光区12的中间轴之间的夹角也为10°,码盘1从当前第一非透光区131的边缘转动至下一第一非透光区131的同一侧边缘,码盘1所转动的角度为10°,从而实现位置的检测。In the embodiment, the width of the second non-transmissive region 132 is multiplied by the width of the first non-transmissive region 131, for example, the second non-transparent. The width of the light region 132 is twice, three times or other multiples of the width of the first non-light transmitting region 131. In order to facilitate the calculation, in some embodiments, the width of the second non-transmissive region 132 is three times the width of the first non-transmissive region 131, that is, the second non-transparent region 132 is equivalent to three The first non-transmissive regions 131 are composed. After the rotating member 3 drives the code wheel 1 to rotate, the pulse detected by the optical switch 2 in the second non-transmissive region 132 is different from the pulse detected by the optical switch 2 in the first non-transmissive region 131 (for example, the duration of two pulses) The length of time, the number of pulses included in the two pulses, and the like, thereby realizing the calibration of the zero position of the code wheel 1, and finally obtaining the absolute position of the rotating member 3. Further, to simplify the calculation of the output, the width of the first non-transmissive region 131 is equal to the width of the light transmissive region 12 such that between the intermediate axes of the adjacent two first non-transmissive regions 131 The angle is 10°, and the angle between the intermediate axes of the adjacent two transparent regions 12 is also 10°, and the code wheel 1 is rotated from the edge of the current first non-light transmitting region 131 to the next first non- The same side edge of the light transmitting area 131, the angle at which the code wheel 1 is rotated is 10°, thereby realizing the detection of the position.
在某些实施例中,所述光开关2为槽式光电开关,其包括底座、发射管和接收管。其中,所述发射管和所述接收管分别设于所述底座的两端。所述发射管和所述接收管对称设于所述码盘1的两侧,且所述发射管和所述接收管的中心位于所述透光区12和非透光区13所在圆周,以实现与述透光区12和非透光区13的配合。所述底座位于所述码盘1外圆周预设间距处设置,从而防止码盘1转动时其外圆周面与底座的碰撞。In some embodiments, the optical switch 2 is a slotted photoelectric switch that includes a base, a launch tube, and a receiving tube. The launch tube and the receiving tube are respectively disposed at two ends of the base. The transmitting tube and the receiving tube are symmetrically disposed on two sides of the code wheel 1, and the centers of the transmitting tube and the receiving tube are located on the circumference of the light transmitting area 12 and the non-light transmitting area 13 to The cooperation with the light transmitting region 12 and the non-light transmitting region 13 is achieved. The base is disposed at a predetermined interval of the outer circumference of the code wheel 1, thereby preventing the outer circumferential surface from colliding with the base when the code wheel 1 is rotated.
在某些实施例中,所述光开关2也可选择其他具有发射管和接收管的光电开关。In some embodiments, the optical switch 2 can also select other photoelectric switches having a transmitting tube and a receiving tube.
所述转动件3带动码盘1转动的过程中,光开关2是静止的,光开关2的发射管发射光信号,发射管和接收管位于透光区12的位置时,接收管即可接收到发射管发射的光信号,发射管和接收管位于非透光区13时,
接收管无法接收到发射管发射的光信号,从而使得码盘1的透光区12和非透光区13转动至光开关2的位置时,光开关2分别输出不同的脉冲序列。在一些实施例中,码盘1的透光区12转动至光开关2的位置时,光开关2输出高电平;相应地,码盘1的非透光区13转动至光开关2的位置时,光开关2输出低电平。在一些实施例中,也可以是码盘1的透光区12转动至光开关2的位置时,光开关2输出低电平,码盘1的非透光区13转动至光开关2的位置时,光开关2输出高电平。When the rotating member 3 drives the code wheel 1 to rotate, the optical switch 2 is stationary, and the transmitting tube of the optical switch 2 emits a light signal. When the transmitting tube and the receiving tube are located at the position of the light transmitting area 12, the receiving tube can receive When the light signal emitted from the launch tube is located in the non-transmissive region 13,
When the receiving tube cannot receive the light signal emitted by the transmitting tube, so that the light transmitting area 12 and the non-light transmitting area 13 of the code wheel 1 are rotated to the position of the optical switch 2, the optical switch 2 outputs different pulse sequences respectively. In some embodiments, when the light transmissive region 12 of the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a high level; accordingly, the non-transmissive region 13 of the code wheel 1 is rotated to the position of the optical switch 2. When the optical switch 2 outputs a low level. In some embodiments, when the light transmissive area 12 of the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a low level, and the non-transmissive area 13 of the code wheel 1 is rotated to the position of the optical switch 2. At the time, the optical switch 2 outputs a high level.
以下将以所述第二非透光区132的宽度为所述第一非透光区131的宽度的三倍,且所述第一非透光区131的宽度与所述透光区12的宽度相等,码盘1的透光区12转动至光开关2时光开关2输出高电平,码盘1的非透光区13转动至光开关2时光开关2输出低电平为例进一步说明。The width of the second non-transmissive region 132 is three times the width of the first non-transmissive region 131, and the width of the first non-transmissive region 131 and the transparent region 12 are The width is equal. When the light transmissive area 12 of the code wheel 1 is rotated to the optical switch 2, the optical switch 2 outputs a high level, and the non-transmissive area 13 of the code wheel 1 is rotated to the optical switch 2, and the optical switch 2 outputs a low level as an example for further explanation.
在某些实施例中,所述光开关2的数量为一个。本实施例中,转动件3带动码盘1转动后,码盘1上的透光区12转动到所述光开关2的位置时,光开关2输出高电平,而码盘1上的非透光区13转动到所述光开关2的位置时,光开关2则会输出低电平。码盘1每转动一圈存在一个零位(即第二非透光区132中的特定区域,例如,中间轴、边缘等等),相应地,码盘1每转动一圈,由于第二非透光区132的宽度异于第一非透光区131的宽度,故光开关2输出的脉冲序列中第二非透光区132对应的脉冲与第一非透光区131对应的脉冲不同,从而标记出码盘1的零位。在一些例子中,转动件3带动码盘1匀速转动时,由于第二非透光区132转动至光开关2的位置时,光开关2输出的高电平的长度(例如高电平的时间长度或者计数量)要大于第一非透光区131转动至光开关2的位置时,光开关2输出的高电平的长度,故通过处理器判断所述高电平的长度,将长度较长的高电平对应的上升沿、下降沿或者中间位置处等作为码盘1的零位即可。需要说明的是,本发明实施例中,利用一个光开关2只能用于检测匀速转动的转动件3的零位,这是由于光开关2检测到的脉冲序列的长度与码盘
1的转速相关,而码盘1的转速是由转动件3的转速决定的,转动件3变速转动时,光开关2检测到的第二非透光区132和第一非透光区131对应的脉冲的长度存在不确定性,从而无法确定零位脉冲。In some embodiments, the number of optical switches 2 is one. In this embodiment, after the rotating member 3 drives the code wheel 1 to rotate, when the light transmitting area 12 on the code wheel 1 is rotated to the position of the optical switch 2, the optical switch 2 outputs a high level, and the non-disc on the code wheel 1 When the light transmitting region 13 is rotated to the position of the optical switch 2, the optical switch 2 outputs a low level. There is a zero position (ie, a specific area in the second non-transmissive area 132, for example, an intermediate shaft, an edge, etc.) every one rotation of the code wheel 1, and accordingly, each rotation of the code wheel 1 is due to the second non- The width of the transparent region 132 is different from the width of the first non-transmissive region 131. Therefore, the pulse corresponding to the second non-transmissive region 132 in the pulse sequence outputted by the optical switch 2 is different from the pulse corresponding to the first non-transmissive region 131. Thus, the zero position of the code wheel 1 is marked. In some examples, when the rotating member 3 drives the code wheel 1 to rotate at a constant speed, the length of the high level output by the optical switch 2 (for example, the time of the high level) when the second non-transmissive region 132 is rotated to the position of the optical switch 2 The length or the count amount is greater than the length of the high level output by the optical switch 2 when the first non-transmissive area 131 is rotated to the position of the optical switch 2, so the length of the high level is determined by the processor, and the length is compared. The rising edge, the falling edge, or the intermediate position corresponding to the long high level may be used as the zero position of the code wheel 1. It should be noted that, in the embodiment of the present invention, an optical switch 2 can only be used to detect the zero position of the rotating member 3 which is rotated at a constant speed, which is due to the length and the code wheel of the pulse sequence detected by the optical switch 2.
The rotation speed of the encoder 1 is determined by the rotation speed of the rotary member 3. When the rotary member 3 is rotated, the second non-transmissive region 132 detected by the optical switch 2 corresponds to the first non-transmissive region 131. There is uncertainty in the length of the pulse so that the zero pulse cannot be determined.
在某些实施例中,所述光开关2的数量为两个,通过两个光开关2输出的脉冲序列来确定码盘1的零位信息以及码盘1相对转动位置,从而获得转动件3的绝对转动位置。需要说明的是,本发明实施例中,利用两个光开关2不仅适用于匀速转动的转动件3的零位检测,还适用于变速转动的转动件3的零位检测,这是由于通过两个光开关2检测到的脉冲序列进行处理,可得到唯一的零位脉冲,从而唯一确定转动件3的零位。在某些实施例中,为获取零位脉冲,所述位置检测装置200不工作时,所述两个光开关2的位置是错开放置的,即两个光开关2分别放置在所述码盘1周向的不同位置处,且分别与透光区12和非透光区13配合。In some embodiments, the number of the optical switches 2 is two, and the zero position information of the code wheel 1 and the relative rotational position of the code wheel 1 are determined by the pulse sequence outputted by the two optical switches 2, thereby obtaining the rotating member 3. Absolute rotation position. It should be noted that, in the embodiment of the present invention, the two optical switches 2 are not only suitable for the zero position detection of the rotating member 3 which is rotated at a constant speed, but also for the zero position detection of the rotating member 3 for the variable speed rotation, which is due to The pulse sequence detected by the optical switch 2 is processed to obtain a unique zero pulse, thereby uniquely determining the zero position of the rotating member 3. In some embodiments, to obtain a zero pulse, when the position detecting device 200 is not in operation, the positions of the two optical switches 2 are staggered, that is, two optical switches 2 are respectively placed on the code wheel. At different positions in the 1 circumferential direction, and respectively matched with the light transmitting region 12 and the non-light transmitting region 13.
在一些例子中,为方便计算,所述两个光开关2的位置能够使得所述两个光开关2分别产生的脉冲序列中包含上升沿时间相同的脉冲,即两个光开关2会在某一时刻同时输出同为上升沿的脉冲。可选地,所述位置检测装置200不工作时,所述两个光开关2的位置能够使得所述两个光开关分别与两个第一非透光区131的边缘同时相对,以使得所述两个光开关2分别产生的脉冲序列中包含上升沿时间相同的脉冲,从而方便计算。可选地,所述两个光开关分别与两个相邻的第一非透光区131的边缘同时相对。参见图7,转动件3带动码盘1转动时,S1和S2分别为所述两个光开关2输出的脉冲序列。在需要确定码盘1的零位脉冲(具有一个脉冲的脉冲序列)时,在某些实施例中,参见图7,首先将S1和S2或运算,得到连续的脉冲序列S3,若以码盘1第二非透光区132转动到S1对应的光开关2位置处为零位,则零位脉冲S4可通过S1和S3进行异或运算获得,即若以码盘1第二非透光区132转动到S2对应的光开关2位置处为零位,则零位脉冲S4’可通过S2和S3进行异或运算获得,即
在某些实施例中,可将S1和S2进行其他运算(例如与、或、非、同或和异或等中的多个的结合),从而确定码盘1的零位。In some examples, for the convenience of calculation, the positions of the two optical switches 2 can be such that the pulse sequences generated by the two optical switches 2 respectively comprise pulses with the same rising edge time, that is, the two optical switches 2 will be in a certain Simultaneously output pulses of the same rising edge at the same time. Optionally, when the position detecting device 200 is not in operation, the positions of the two optical switches 2 are such that the two optical switches are respectively opposite to the edges of the two first non-light transmitting regions 131, so that The pulse sequence generated by the two optical switches 2 respectively includes the same pulse with the rising edge time, which is convenient for calculation. Optionally, the two optical switches are respectively opposite to the edges of two adjacent first non-transmissive regions 131. Referring to Fig. 7, when the rotating member 3 drives the code wheel 1 to rotate, S1 and S2 are the pulse sequences output by the two optical switches 2, respectively. When it is desired to determine the zero pulse of the code wheel 1 (a pulse sequence with one pulse), in some embodiments, referring to Figure 7, the S1 and S2 OR operations are first performed to obtain a continuous pulse sequence S3, if the code wheel is 1 The second non-transmissive region 132 is rotated to zero position at the position of the optical switch 2 corresponding to S1, and the zero pulse S4 can be obtained by XOR operation by S1 and S3, that is, If the second non-transmissive region 132 of the code wheel 1 is rotated to zero position at the position of the optical switch 2 corresponding to S2, the zero pulse S4' can be obtained by X2 operation between S2 and S3, that is, In some embodiments, S1 and S2 may be subjected to other operations (eg, a combination of multiples with, or, none, the same, or XOR) to determine the null of code wheel 1.
在一些例子中,为方便计算,所述两个光开关2的位置能够使得所述两个光开关2分别产生的脉冲序列中包含相错1/2周期或者相错1/4周期的脉冲。其中,一个周期包括一个透光区12和一个第一非透光区131经过所述光开关2的时间。可选地,所述位置检测装置200不工作时,所述两个光开关2的位置能够使得所述两个光开关2中的一个光开关2与一个第一非透光区131的边缘相对,同时另一个光开关2与另一个第一非透光区131的中间轴相对,使得两个光开关2分别产生的脉冲序列中包含相错1/2周期的脉冲。可选地,所述位置检测装置200不工作时,所述两个光开关2的位置能够使得所述两个光开关2中的一个光开关2与一个第一非透光区121的边缘相对,同时另一个光开关2与另一个第一非透光区121的1/4位置处相对,使得两个光开关2分别产生的脉冲序列中包含相错1/4周期的脉冲。本实施例中确定码盘1的零位脉冲的过程与上述将所述两个光开关分别与两个第一非透光区131的边缘同时相对的实施例中确定码盘1的零位脉冲的过程相类似。In some examples, for ease of calculation, the positions of the two optical switches 2 can be such that the pulse sequences generated by the two optical switches 2 respectively comprise pulses of 1/2 cycle phase error or 1/4 cycle phase error. Wherein, one cycle includes a time when the light transmitting region 12 and a first non-light transmitting region 131 pass through the optical switch 2. Optionally, when the position detecting device 200 is not in operation, the positions of the two optical switches 2 can be such that one of the two optical switches 2 is opposite to an edge of a first non-transmissive region 131. At the same time, the other optical switch 2 is opposite to the intermediate axis of the other first non-transmissive region 131, so that the pulse sequences generated by the two optical switches 2 respectively comprise pulses of 1/2 cycle of phase error. Optionally, when the position detecting device 200 is not in operation, the positions of the two optical switches 2 can be such that one of the two optical switches 2 is opposite to an edge of a first non-transmissive region 121. At the same time, the other optical switch 2 is opposite to the 1/4 position of the other first non-transmissive region 121, so that the pulse sequences generated by the two optical switches 2 respectively comprise pulses of 1/4 cycle of phase error. In the embodiment, the process of determining the zero pulse of the code wheel 1 and the above-mentioned two optical switches are respectively opposite to the edges of the two first non-transmissive regions 131, respectively, determining the zero pulse of the code wheel 1. The process is similar.
实施例三 Embodiment 3
参见图8,本发明实施例提供的一种转动系统,所述转动系统包括转动件3和位置检测装置200,所述位置检测装置200用于检测所述转动件3的转动位置。Referring to FIG. 8, a rotation system provided by an embodiment of the present invention includes a rotating member 3 and a position detecting device 200 for detecting a rotational position of the rotating member 3.
在某些实施例中,所述位置检测装置200为上述实施例一所述的位置检测装置200。在某些实施例中,所述位置检测装置200为上述实施例二所述的位置检测装置200。在某些实施例中,所述转动系统可同时包括上述实施例一和实施例二所述的位置检测装置200。In some embodiments, the position detecting device 200 is the position detecting device 200 described in the first embodiment. In some embodiments, the position detecting device 200 is the position detecting device 200 described in the second embodiment. In some embodiments, the rotating system can simultaneously include the position detecting device 200 described in the first embodiment and the second embodiment.
本实施例中,所述位置检测装置100中的码盘1与所述转动件3相
互固定,使得码盘1在转动件3带动下进行转动。具体地,所述位置检测装置200中的码盘1套设在所述转动件3的外侧,从而由转动件3带动码盘1同步转动。在某些实施例中,所述转动件3为电机的转子。或者,转动件3为与电机的转子同步转动的元件,在一些实施例中,转动件3与电机的转子一体成型。In this embodiment, the code wheel 1 in the position detecting device 100 is in phase with the rotating member 3.
The fixing is fixed to each other so that the code wheel 1 is rotated by the rotating member 3. Specifically, the code wheel 1 in the position detecting device 200 is sleeved on the outer side of the rotating member 3, so that the rotating plate 3 drives the code wheel 1 to rotate synchronously. In some embodiments, the rotating member 3 is a rotor of an electric machine. Alternatively, the rotating member 3 is an element that rotates in synchronism with the rotor of the motor, and in some embodiments, the rotating member 3 is integrally formed with the rotor of the motor.
结合图9和图10,在某些实施例中,为对转动件3和码盘1定向,使得转动件3的零位与所述码盘1的零位对准,所述转动件3上与所述码盘1连接的部分设于至少一个平台面31,所述码盘1的开口11内侧壁上设有与所述至少一个平台面31分别配合的至少一个安装面14。具体地,所述码盘1通过所述安装面14与所述转动件3的平台面31的配合,使得所述码盘1上的所述第二透光区122或所述第二非透光区132与所述转动件3上的特定位置(即转动件3的零位)唯一对准。具体地,将作为码盘1零位的第二透光区122或者第二非透光区132中的特定区域(例如中间轴、边缘等等)与转动件3零位对准,通过检测码盘1的零位来获得转动件3的零位。在一些例子中,所述转动件3的零位可选择为至少一个平台面31中的一个平台面31上任意一位置。在一些例子中,所述转动件3的零位也可选择为所述转动件3上其他位置(即非平台面31位置处)。In conjunction with Figures 9 and 10, in some embodiments, the rotating member 3 and the code wheel 1 are oriented such that the zero position of the rotating member 3 is aligned with the zero position of the code wheel 1, on the rotating member 3 The portion connected to the code wheel 1 is disposed on at least one of the platform faces 31, and the inner side wall of the opening 11 of the code wheel 1 is provided with at least one mounting surface 14 that cooperates with the at least one platform surface 31, respectively. Specifically, the code wheel 1 is engaged with the platform surface 31 of the rotating member 3 by the mounting surface 14 such that the second transparent area 122 or the second non-transparent on the code wheel 1 The light zone 132 is uniquely aligned with a specific position on the rotating member 3 (i.e., the zero position of the rotating member 3). Specifically, a specific area (for example, an intermediate shaft, an edge, and the like) in the second light transmitting area 122 or the second non-light transmitting area 132, which is the zero position of the code wheel 1, is aligned with the zero position of the rotating member 3, and passes the detection code. The zero position of the disk 1 is used to obtain the zero position of the rotating member 3. In some examples, the zero position of the rotating member 3 can be selected to be any position on one of the at least one platform face 31. In some examples, the zero position of the rotating member 3 can also be selected to be other positions on the rotating member 3 (i.e., at the position of the non-platform surface 31).
在某些实施例中,所述平台面31的数量为一个,所述安装面14的数量也为一个,且平台面31和安装面14对应配合,实现对所述转动件3和所述码盘1进行定向。但设置一个平台面31会造成转动件3处于不平衡的状态,即转动件3的重心不处于其转动轴上,导致转动件3转动时的稳定性差。In some embodiments, the number of the platform faces 31 is one, the number of the mounting faces 14 is also one, and the platform face 31 and the mounting face 14 are correspondingly engaged to realize the rotating member 3 and the code. The disc 1 is oriented. However, the provision of a deck surface 31 causes the rotating member 3 to be in an unbalanced state, that is, the center of gravity of the rotating member 3 is not on its rotating shaft, resulting in poor stability when the rotating member 3 is rotated.
在某些实施例中,为了保持转动件3处于动平衡状态,提高转动件3转动时的稳定性,所述平台面31的数量为两个。通过对两个平台面31的高度和分布位置调节,使得转动件3的重心位于其转动轴上,从而保证所述转动件3处于动平衡状态。相应地,所述安装面14的数量也为两个,
两个平台面31分别与两个安装面14对应配合,从而将所述转动件3与所述码盘1进行定向。但两个平台面31与两个安装面14可能会造成码盘1从两个方向实现与转动件3的定向,导致位置安装的不准确,从而导致码盘1的零位可能与转动件3的零位没有对准,无法利用码盘1检测转动件3的绝对转动位置。In some embodiments, in order to keep the rotating member 3 in a dynamic equilibrium state, the stability of the rotating member 3 during rotation is increased, and the number of the deck faces 31 is two. By adjusting the height and the distribution position of the two platform faces 31, the center of gravity of the rotating member 3 is located on its rotating shaft, thereby ensuring that the rotating member 3 is in a dynamic equilibrium state. Correspondingly, the number of the mounting faces 14 is also two.
The two platform faces 31 respectively cooperate with the two mounting faces 14 to orient the rotating member 3 and the code wheel 1. However, the two platform faces 31 and the two mounting faces 14 may cause the code wheel 1 to be oriented with the rotating member 3 from two directions, resulting in inaccurate position mounting, thereby causing the zero position of the code wheel 1 to be related to the rotating member 3. The zero position is not aligned, and the absolute rotational position of the rotating member 3 cannot be detected by the code wheel 1.
在某些实施例中,为了保持转动件3处于动平衡状态,提高转动件3转动时的稳定性,并且防止码盘1与转动件3之间的位置安装不准确,所述平台面31为至少三个,通过对至少三个平台面31的高度和分布位置进行调节,使得转动件3的重心位于其转动轴上,从而保证所述转动件3处于动平衡状态。相应地,所述安装面14的数量也为至少三个,至少三个平台面31分别与至少三个安装面14对应配合,从而将所述转动件3与所述码盘1进行定向。优选地,所述平台面31为三个,结构简单,且能够保持转动件3处于动平衡状态,提高转动件3转动时的稳定性,并且能够防止码盘1与转动件3之间的安装位置错误。而为保持所述转动件3的重心位于其转动轴上,并防止码盘1与转动件3的位置安装不准确。在一些例子中,三个所述平台面31完全相同(即形状、大小等),且沿着所述转动件3的同一周向非均匀分布。在一些例子中,三个平台面31中的一个平台面31与其他两个平台面31的大小不同。在一些例子中,三个平台面31的大小均不同。In some embodiments, in order to keep the rotating member 3 in a dynamic balance state, the stability of the rotating member 3 during rotation is improved, and the position between the code wheel 1 and the rotating member 3 is prevented from being inaccurately installed. At least three, by adjusting the height and distribution position of the at least three platform faces 31, the center of gravity of the rotating member 3 is located on its rotating shaft, thereby ensuring that the rotating member 3 is in a dynamic balance state. Correspondingly, the number of the mounting faces 14 is also at least three, and at least three platform faces 31 respectively cooperate with at least three mounting faces 14 to orient the rotating member 3 and the code wheel 1. Preferably, the platform surface 31 is three, the structure is simple, and the rotating member 3 can be kept in a dynamic balance state, the stability of the rotating member 3 is improved, and the installation between the code wheel 1 and the rotating member 3 can be prevented. The location is wrong. In order to keep the center of gravity of the rotating member 3 on its rotating shaft, the position of the code wheel 1 and the rotating member 3 is prevented from being inaccurately installed. In some examples, the three deck faces 31 are identical (i.e., shape, size, etc.) and are non-uniformly distributed along the same circumferential direction of the rotating member 3. In some examples, one of the three deck faces 31 is different in size from the other two deck faces 31. In some examples, the three deck faces 31 are different in size.
又参见图9,所述转动件3还包括一用于收容负载4的收容空间32。本实施例中,所述负载4固定在所述收容空间32内,即负载4与转动件3之间是同步转动的,也即转动件3处于任何状态,负载4与转动件3之间均相对静止。Referring also to FIG. 9, the rotating member 3 further includes a receiving space 32 for receiving the load 4. In this embodiment, the load 4 is fixed in the accommodating space 32, that is, the load 4 and the rotating member 3 are synchronously rotated, that is, the rotating member 3 is in any state, and the load 4 and the rotating member 3 are both Relatively static.
在一些例子中,所述转动件3的内侧壁上设有安装所述负载4的安装部。可选地,所述安装部位卡接槽,所述负载4卡接在所述卡接槽中。在一些例子中,所述负载4是粘接在所述转动件3的内侧壁上的。
In some examples, the inner side wall of the rotating member 3 is provided with a mounting portion on which the load 4 is mounted. Optionally, the mounting portion is engaged with the slot, and the load 4 is latched in the latching slot. In some examples, the load 4 is bonded to the inner side wall of the rotating member 3.
在某些实施例中,为了保持所述负载4的稳定性,所述负载4的四周均安装在所述转动件3的内侧壁。In some embodiments, in order to maintain the stability of the load 4, the circumference of the load 4 is mounted on the inner side wall of the rotating member 3.
在某些实施例中,所述负载4为光学元件,所述转动件3带动所述光学元件同步转动,从而使得所述光学元件形成指定光路。其中,所述光学元件为棱镜或透镜。In some embodiments, the load 4 is an optical element, and the rotating member 3 drives the optical element to rotate synchronously such that the optical element forms a designated optical path. Wherein the optical element is a prism or a lens.
在某些实施例中,所述棱镜沿径向上的厚度不同,所述码盘1上的所述第二透光区122或所述第二非透光区132与所述转动件3上用于安装棱镜径向最小厚度处的位置唯一对准,即所述转动件3上安装棱镜径向最小厚度处的位置为所述转动件3的零位,利用所述码盘1的零位对所述转动件3的零位进行标定,从而间接标定出所述棱镜径向最小厚度处,以使得所述棱镜形成指定光路。In some embodiments, the prisms have different thicknesses in the radial direction, and the second transparent region 122 or the second non-transmissive region 132 on the code wheel 1 is used with the rotating member 3 The position at the minimum radial thickness of the mounting prism is uniquely aligned, that is, the position at which the radial minimum thickness of the prism is mounted on the rotating member 3 is the zero position of the rotating member 3, and the zero position of the code wheel 1 is utilized. The zero position of the rotating member 3 is calibrated to indirectly calibrate the radial minimum thickness of the prism such that the prism forms a designated optical path.
在某些实施例中,所述光学元件具有不对称形状,从而增加光路的丰富性,满足用户需求。In some embodiments, the optical element has an asymmetrical shape to increase the richness of the optical path to meet user needs.
参见图11,在某些实施例中,所述转动件3包括两个。其中,两个转动件3同轴相邻设置且所述两个转动件3上分别套设有第一码盘10和第二码盘10’,所述第一码盘10和所述第二码盘10’分别用于检测两个转动件3的转动位置。具体地,所述第一码盘10和所述第二码盘10’平行设置,且所述第一码盘10和所述第二码盘10’分别设有对应配合的第一光开关组20和第二光开关组20’。通过第一码盘10和第二码盘10’分别对两个转动件3的转动位置进行检测,从而满足特定需求。Referring to Figure 11, in some embodiments, the rotating member 3 includes two. The two rotating members 3 are disposed coaxially adjacent to each other, and the two rotating members 3 are respectively sleeved with a first code wheel 10 and a second code wheel 10', the first code wheel 10 and the second The code wheel 10' is used to detect the rotational positions of the two rotating members 3, respectively. Specifically, the first code wheel 10 and the second code wheel 10' are disposed in parallel, and the first code wheel 10 and the second code wheel 10' are respectively provided with corresponding first optical switch groups. 20 and a second optical switch group 20'. The rotational positions of the two rotating members 3 are detected by the first code wheel 10 and the second code wheel 10', respectively, to meet specific needs.
在某些实施例中,参见图12,为减小平行设置的第一码盘10和第二码盘10’之间的距离,进而减小转动系统沿轴向上的长度,所述第一光开关组20和所述第二光开关组20’中,各光开关2的发射管或接收管依次在所述第一码盘10和所述第二码盘10’之间沿同一直线排布,即各光开关2的发射管和接收管中的一个是位于第一码盘10和第二码盘10’之
间的,所以光开关2中的位于第一码盘10和第二码盘10’之间的发射管或接收管的中心均位于同一直线A-A上。优选地,各光开关2的发射管或接收管的中心连线A-A平行于第一码盘10和第二码盘10’,以进一步减小平行设置的第一码盘10和第二码盘10’之间的距离,从而减小转动系统沿轴向上的长度。在一些例子中,第一光开关组20和第二光开关组20’中,所有光开关2的发射管均位于第一码盘10和第二码盘10’之间,所有光开关2的接收管均位于第一码盘10和第二码盘10’之外。在一些例子中,所有光开关2的接收管均位于第一码盘10和第二码盘10’之间,所有光开关2的发射管均位于第一码盘10和第二码盘10’之间。在一些例子中,第一光开关组20和第二光开关组20’中,所有光开关2的发射管中的部分位于第一码盘10和第二码盘10’之间,另一部分位于第一码盘10和第二码盘10’之外。在一些例子中,所述第一光开关组20和所述第二光开关组20’分别包括两个光开关2,所述第二光开关组20’中的两个光开关2分别设于所述第一光开关组20中的两个光开关2的两侧,从而减小平行设置的第一码盘10和第二码盘10’之间的距离,以减小系统的尺寸。In some embodiments, referring to FIG. 12, in order to reduce the distance between the first code wheel 10 and the second code wheel 10' disposed in parallel, thereby reducing the length of the rotating system in the axial direction, the first In the optical switch group 20 and the second optical switch group 20', the transmitting tube or the receiving tube of each optical switch 2 is sequentially arranged in the same straight line between the first code wheel 10 and the second code wheel 10'. The cloth, that is, one of the transmitting tube and the receiving tube of each optical switch 2 is located at the first code wheel 10 and the second code wheel 10'
Therefore, the center of the transmitting tube or the receiving tube between the first code wheel 10 and the second code wheel 10' in the optical switch 2 is located on the same straight line A-A. Preferably, the center line AA of the transmitting tube or the receiving tube of each optical switch 2 is parallel to the first code wheel 10 and the second code wheel 10' to further reduce the first code wheel 10 and the second code wheel arranged in parallel. The distance between 10', thereby reducing the length of the rotating system in the axial direction. In some examples, in the first optical switch group 20 and the second optical switch group 20', the transmitting tubes of all the optical switches 2 are located between the first code wheel 10 and the second code wheel 10', and all of the optical switches 2 The receiving tubes are located outside of the first code wheel 10 and the second code wheel 10'. In some examples, the receiving tubes of all the optical switches 2 are located between the first code wheel 10 and the second code wheel 10', and the transmitting tubes of all the optical switches 2 are located at the first code wheel 10 and the second code wheel 10' between. In some examples, in the first optical switch group 20 and the second optical switch group 20', a portion of the transmitting tubes of all the optical switches 2 is located between the first code wheel 10 and the second code wheel 10', and the other portion is located. The first code wheel 10 and the second code wheel 10' are outside. In some examples, the first optical switch group 20 and the second optical switch group 20' respectively include two optical switches 2, and two of the second optical switch groups 20' are respectively disposed on The two sides of the two optical switches 2 in the first optical switch group 20 reduce the distance between the first code wheel 10 and the second code wheel 10' disposed in parallel to reduce the size of the system.
又参见图11,所述转动系统还包括分别固定在两个转动件3上的第一固定件5和第二固定件5。结合图10和图11,所述第一码盘10、所述第二码盘10’还分别包括第一固定部15和第二固定部15’。其中,所述第一固定部15为所述第一码盘10上位于多个透光区12与开口11之间的部分区域,所述第二固定部15’为所述第二码盘10’上位于多个透光区12与开口11之间的部分区域。即第一固定部15、第二固定部15’为对应的码盘上开口11与用于排布透光区12和非透光区13的圆周之间的一圈区域。本实施例中,所述第一固定部15固定在所述第一固定件5上,所述第二固定部15’固定在所述第二固定件5’上,从而从进一步对第一码盘10和第二码盘10’进行固定,防止因第一码盘10和第二码盘10’晃动造成
测量不准确。Referring also to Fig. 11, the rotating system further includes a first fixing member 5 and a second fixing member 5 which are respectively fixed to the two rotating members 3. Referring to Figures 10 and 11, the first code wheel 10 and the second code wheel 10' further include a first fixing portion 15 and a second fixing portion 15', respectively. The first fixing portion 15 is a partial region of the first code wheel 10 between the plurality of transparent regions 12 and the opening 11, and the second fixing portion 15' is the second code wheel 10 A portion of the upper portion between the plurality of light transmissive regions 12 and the opening 11. That is, the first fixing portion 15 and the second fixing portion 15' are a circle region between the corresponding opening 11 on the code wheel and the circumference for arranging the light transmitting region 12 and the non-light transmitting region 13. In this embodiment, the first fixing portion 15 is fixed on the first fixing member 5, and the second fixing portion 15' is fixed on the second fixing member 5', so as to further the first code The disk 10 and the second code wheel 10' are fixed to prevent the first code wheel 10 and the second code wheel 10' from being shaken
The measurement is not accurate.
在某些实施例中,为进一步固定所述第一码盘10和所述第二码盘10’,所述第一固定部15和所述第一固定件5之间、所述第二固定部15’和所述第二固定件5’分别设有粘接层。可选地,将第一固定部15连接至第一固定件5的粘接层的面积与所述第一固定部15的面积大小相等,从而增大第一固定部15的粘接面积,使得第一码盘10更加稳定。可选地,将第二固定部15’连接至第二固定件5’的粘接层的面积与所述第二固定部15’的面积大小相等,从而增大第二固定部15’的粘接面积,使得第二码盘10’更加稳定。In some embodiments, to further fix the first code wheel 10 and the second code wheel 10', between the first fixing portion 15 and the first fixing member 5, the second fixing The portion 15' and the second fixing member 5' are respectively provided with an adhesive layer. Optionally, the area of the bonding layer connecting the first fixing portion 15 to the first fixing member 5 is equal to the area of the first fixing portion 15, thereby increasing the bonding area of the first fixing portion 15, so that The first code wheel 10 is more stable. Optionally, the area of the bonding layer connecting the second fixing portion 15' to the second fixing member 5' is equal to the area of the second fixing portion 15', thereby increasing the viscosity of the second fixing portion 15'. The area of the connection makes the second code wheel 10' more stable.
在某些实施例中,所述粘接层的面积与所述第一固定部15、第二固定部15’的面积也可不相等。在一实施例中,与第一固定部15连接的粘接层包括多个粘接区域,多个粘接区域均匀分布在第一固定部上。在一实施例中,与第二固定部15’连接的粘接层包括多个粘接区域,多个粘接区域均匀分布在第一固定部上。In some embodiments, the area of the bonding layer may not be equal to the area of the first fixing portion 15 and the second fixing portion 15'. In an embodiment, the adhesive layer connected to the first fixing portion 15 includes a plurality of bonding regions, and the plurality of bonding regions are evenly distributed on the first fixing portion. In one embodiment, the bonding layer connected to the second fixing portion 15' includes a plurality of bonding regions, and the plurality of bonding regions are evenly distributed on the first fixing portion.
又参见图11,在某些实施例中,为进一步固定所述码盘1,所述转动系统还包括第一磁性件6和第二磁性件6’。其中,所述第一磁性件6和所述第二磁性件6’分别与第一固定件5和第二固定件5’配合。具体地,所述第一固定部15夹设在所述第一固定件5和所述第一磁性件6之间,所述第一固定件5与所述第一磁性件6相吸以将所述第一固定部15抵接在所述第一固定件5上。通过第一磁性件6和第一固定件5之间的引力作用,从而将第一码盘10的第一固定部15固定在第一固定件5上,以维持第一码盘10的稳定性。所述第二固定部15’夹设在所述第二固定件5’和所述第二磁性件6’之间,所述第二固定件5’与所述第二磁性件6’相吸以将所述第二固定部15’抵接在所述第二固定件5’上。通过第二磁性件6’和第二固定件5’之间的引力作用,从而将第二码盘10’的第二固定部15’固定在第二固定件5’上,以维持第二码盘10’的稳定性。
Referring again to Figure 11, in some embodiments, to further secure the code wheel 1, the rotating system further includes a first magnetic member 6 and a second magnetic member 6'. Wherein the first magnetic member 6 and the second magnetic member 6' are respectively engaged with the first fixing member 5 and the second fixing member 5'. Specifically, the first fixing portion 15 is interposed between the first fixing member 5 and the first magnetic member 6, and the first fixing member 5 is attracted to the first magnetic member 6 to be The first fixing portion 15 abuts on the first fixing member 5 . The first fixing portion 15 of the first code wheel 10 is fixed to the first fixing member 5 by the gravitational force between the first magnetic member 6 and the first fixing member 5 to maintain the stability of the first code wheel 10. . The second fixing portion 15' is sandwiched between the second fixing member 5' and the second magnetic member 6', and the second fixing member 5' is attracted to the second magnetic member 6'. The second fixing portion 15' is abutted on the second fixing member 5'. The second fixing portion 15' of the second code wheel 10' is fixed to the second fixing member 5' by the gravitational force between the second magnetic member 6' and the second fixing member 5' to maintain the second code. The stability of the disc 10'.
为进一步稳定第一码盘10和第二码盘10’的稳定性,所述第一固定件5、所述第二固定件5’、所述第一磁性件6以及所述第二磁性件6’分别套设在对应的转动件3上。在一些例子中,所述第一固定件5和所述第一磁性件6的面积稍小于或者等于所述第一固定部15的面积大小,从而使得第一码盘10的稳定性更好。在一些例子中,所述第二固定件5’和所述第二磁性件6’的面积稍小于或者等于所述第二固定部15’的面积大小,从而使得第二码盘10’的稳定性更好。To further stabilize the stability of the first code wheel 10 and the second code wheel 10', the first fixing member 5, the second fixing member 5', the first magnetic member 6, and the second magnetic member 6' is respectively sleeved on the corresponding rotating member 3. In some examples, the area of the first fixing member 5 and the first magnetic member 6 is slightly smaller than or equal to the area of the first fixing portion 15, so that the stability of the first code wheel 10 is better. In some examples, the area of the second fixing member 5' and the second magnetic member 6' is slightly smaller than or equal to the area of the second fixing portion 15', thereby stabilizing the second code wheel 10'. Better sex.
又参见图11,所述第一磁性件6和所述第二磁性件6’相邻而设,且所述第一磁性件6和所述第二磁性件6’相斥,从而使得第一磁性件6能够更牢固地将所述第一固定部15吸附在所述第一固定件5上,并使得第二磁性件6’能够更牢固地将所述第二固定部15’吸附在所述第二固定件5’上,进一步维持第一码盘10和第二码盘10’的稳定性。Referring again to FIG. 11, the first magnetic member 6 and the second magnetic member 6' are disposed adjacent to each other, and the first magnetic member 6 and the second magnetic member 6' are repelled, thereby making the first The magnetic member 6 can more firmly adsorb the first fixing portion 15 on the first fixing member 5, and enables the second magnetic member 6' to more firmly adsorb the second fixing portion 15' The stability of the first code wheel 10 and the second code wheel 10' is further maintained on the second fixing member 5'.
又参见图11,两个转动件3上还分别套设有第一轴承7和第二轴承7’,所述第一固定件5、第二固定件5’位于所述第一轴承7和所述第二轴承7’之间,通过第一轴承7和第二轴承7’分别固定两个转动件3,使得两个转动件3的转动中心分别位于各自的转动轴上。Referring also to FIG. 11, the first bearing 7 and the second bearing 7' are respectively sleeved on the two rotating members 3, and the first fixing member 5 and the second fixing member 5' are located at the first bearing 7 and the Between the second bearings 7', the two rotating members 3 are respectively fixed by the first bearing 7 and the second bearing 7' such that the centers of rotation of the two rotating members 3 are respectively located on the respective rotating shafts.
在一实施例中,所述转动件为电机转子,电机包括相互配合的转子组件和定子组件。定子组件用于驱动转子组件,以使得转子组件围绕电机转动轴转动。In an embodiment, the rotating member is a motor rotor, and the motor includes a rotor assembly and a stator assembly that cooperate with each other. The stator assembly is used to drive the rotor assembly such that the rotor assembly rotates about the motor axis of rotation.
本实施例中,转子组件整体呈中空圆筒形状,具有环形内壁构成的容纳空间31,所述容纳空间31用于容置负载。可以理解,定子组件相对电机的转动轴固定(即静止状态),不会产生相对转动轴的运动,而转子组件则能够相对于定子组件运动。In this embodiment, the rotor assembly has a hollow cylindrical shape as a whole, and has an accommodating space 31 formed by an annular inner wall for accommodating a load. It will be appreciated that the stator assembly is fixed (i.e., stationary) relative to the axis of rotation of the motor without movement relative to the axis of rotation, while the rotor assembly is movable relative to the stator assembly.
定子组件包括至少两个在位置上相互轴对称或者围绕转动轴旋转对称的定子,且环绕设置在转子的外侧,也即是本实施例电机为内转子的架
构。The stator assembly includes at least two stators that are axially symmetric with each other in position or rotationally symmetric about the rotational axis, and are disposed around the outer side of the rotor, that is, the frame of the inner rotor of the present embodiment.
Structure.
定位组件位于容纳空间31的外侧,用于限制转子组件在转动轴方向的位置,也即是限制转子组件围绕转动轴旋转时不会发生转动轴方向运动。需要说明的是,所述转动轴并不是实体存在的元件,而是以转子组件旋转中心虚拟概念。其中,定位组件具有至少两个在位置上相互轴对称或者围绕转动轴旋转对称设置的定位件。The positioning assembly is located outside the accommodating space 31 for restricting the position of the rotor assembly in the direction of the rotation axis, that is, restricting the movement of the rotation axis direction when the rotor assembly is rotated about the rotation axis. It should be noted that the rotating shaft is not an element that exists physically, but a virtual concept of the center of rotation of the rotor assembly. Therein, the positioning assembly has at least two positioning members that are axially symmetric with each other in position or rotationally symmetrically disposed about the rotational axis.
本实施例中,所述转动系统还包括处理器(图中未显示),其中所述处理器用于:获取所述位置检测装置100中的至少一个光开关2输出的脉冲序列;并根据所述脉冲序列来确定所述码盘1的转动位置。In this embodiment, the rotating system further includes a processor (not shown), wherein the processor is configured to: acquire a pulse sequence output by the at least one optical switch 2 in the position detecting device 100; A pulse sequence is used to determine the rotational position of the code wheel 1.
又参见图11,所述转动系统还包括电路板(图中未显示),所述第一光开关组20和第二光开关组20’分别固定在所述电路板,例如,所述第一光开关组20和第二光开关组20’中的各光开关2焊接在所述电路板上。所述处理器也设于所述电路板上,且所述第一光开关组20和第二光开关组20’中的各光开关2分别与所述处理器电连接,从而将各自输出的脉冲序列发送至所述处理器,由处理器根据述第一光开关组20和第二光开关组20’中的各光开关2输出的脉冲序列来确定出所述第一码盘10和所述第二码盘10’的零位以及所述第一码盘10和第二码盘10’的绝对转动位置,进而确定出所述第一转动件3和所述第二转动件3对应的零位和各自的绝对转动位置,最终使得第一转动件3和第二转动件3按照所需的转动策略转动。Referring also to FIG. 11, the rotating system further includes a circuit board (not shown), and the first optical switch group 20 and the second optical switch group 20' are respectively fixed to the circuit board, for example, the first The optical switches 2 of the optical switch group 20 and the second optical switch group 20' are soldered to the circuit board. The processor is also disposed on the circuit board, and each of the first optical switch group 20 and the second optical switch group 20' is electrically connected to the processor, so that the respective outputs are Sending a pulse sequence to the processor, and determining, by the processor, the first code wheel 10 and the pulse according to a pulse sequence output by each optical switch 2 in the first optical switch group 20 and the second optical switch group 20' Determining the zero position of the second code wheel 10' and the absolute rotational position of the first code wheel 10 and the second code wheel 10', thereby determining the corresponding correspondence between the first rotating member 3 and the second rotating member 3 The zero position and the respective absolute rotational position ultimately cause the first rotating member 3 and the second rotating member 3 to rotate in accordance with the desired rotational strategy.
在一些实施例中,所述转动系统可以是激光测量装置,例如激光雷达。所述激光测量还包括激光发射器和光接收器。其中,激光发射器出射的光经过棱镜后,由于转动件3的转动带动棱镜转动,棱镜出射的光刻从不同的角度方向出射至目标物,光接收机接收从目标物反射的光,从而获得目标物的位置(例如距离、角度等)。
In some embodiments, the rotating system can be a laser measuring device, such as a laser radar. The laser measurement also includes a laser emitter and a light receiver. Wherein, after the light emitted by the laser emitter passes through the prism, the prism rotates due to the rotation of the rotating member 3, and the lithography emitted by the prism is emitted to the target from different angle directions, and the optical receiver receives the light reflected from the target, thereby obtaining The position of the target (such as distance, angle, etc.).
在一些例子中,所述激光测量装置包括一个转动件3和一个容纳在转动件3内的棱镜,通过控制所述转动件3的转动速度,从而将棱镜转动至所需的位置,从而形成特定的光路。In some examples, the laser measuring device includes a rotating member 3 and a prism housed in the rotating member 3, and by rotating the rotating speed of the rotating member 3, the prism is rotated to a desired position to form a specific The light path.
在一些例子中,所述激光测量装置包括两个转动件3和分别容纳在所述两个转动件3内的棱镜,通过控制所述两个转动件3的转动速度,从而使得对应的棱镜转动到所需的位置,从而形成特定的光路。在一些例子中,该两个转动件3的转动速度不同。In some examples, the laser measuring device includes two rotating members 3 and prisms respectively accommodated in the two rotating members 3, and by controlling the rotational speed of the two rotating members 3, the corresponding prisms are rotated. Go to the desired location to form a specific light path. In some examples, the rotational speeds of the two rotating members 3 are different.
本发明实施方式的激光测量装置可应用于移动平台,所述激光测量装置可安装在移动平台的平台本体。具有激光测量装置的移动平台可对外部环境进行测量,例如,测量移动平台与障碍物的距离用于避障等用途,和对外部环境进行二维或三维的测绘。在某些实施方式中,移动平台包括无人飞行器、汽车和遥控车中的至少一种。当激光测量装置应用于无人飞行器时,平台本体为无人飞行器的机身。当激光测量装置应用于汽车时,平台本体为汽车的车身。当激光测量装置应用于遥控车时,平台本体为遥控车的车身。The laser measuring device of the embodiment of the present invention can be applied to a mobile platform, which can be mounted on a platform body of a mobile platform. A mobile platform with a laser measuring device can measure the external environment, for example, measuring the distance between the mobile platform and the obstacle for obstacle avoidance, and performing two-dimensional or three-dimensional mapping of the external environment. In certain embodiments, the mobile platform includes at least one of an unmanned aerial vehicle, a car, and a remote control car. When the laser measuring device is applied to an unmanned aerial vehicle, the platform body is the body of the unmanned aerial vehicle. When the laser measuring device is applied to a car, the platform body is the body of the car. When the laser measuring device is applied to a remote control car, the platform body is the body of the remote control car.
实施例四Embodiment 4
参见图13,本发明实施例提供一种位置检测方法,用于检测上述实施例三所述的转动系统中的转动件3的转动位置,所述方法可以包括:Referring to FIG. 13, an embodiment of the present invention provides a position detecting method for detecting a rotational position of a rotating member 3 in a rotating system according to the third embodiment. The method may include:
步骤S101:获取所述转动系统中的位置检测装置中的至少一个光开关2输出的脉冲序列;Step S101: Acquire a pulse sequence output by at least one of the position detecting devices in the rotating system;
本实施例中,所述光开关2件输出高、低电平交替的脉冲序列。在一些例子中,脉冲序列中每个高电平的时长由转动件3的转速以及透光区12的宽度共同确定,脉冲序列中每个低电平的时长由转动件3的转速以及非透光区13的宽度共同确定。在一些例子中,脉冲序列中每个低电平的时长由转动件3的转速以及透光区12的宽度共同确定,脉冲序列中每个高电平的时长由转动件3的转速以及非透光区13的宽度共同确定。
In this embodiment, the optical switch 2 outputs a pulse sequence with alternating high and low levels. In some examples, the duration of each high level in the pulse sequence is determined by the rotational speed of the rotating member 3 and the width of the transparent region 12, and the duration of each low level in the pulse sequence is determined by the rotational speed of the rotating member 3 and is impervious. The width of the light zone 13 is determined in common. In some examples, the duration of each low level in the pulse sequence is determined by the rotational speed of the rotating member 3 and the width of the light transmitting region 12, and the duration of each high level in the pulse sequence is determined by the rotational speed of the rotating member 3 and is impervious. The width of the light zone 13 is determined in common.
步骤S102:根据所述脉冲序列来确定所述转动件3的转动位置。Step S102: determining a rotational position of the rotating member 3 according to the pulse sequence.
本发明实施例中,根据特定结构的码盘1来对转动件3的零位进行检测,并根据脉冲序列确定转动件的转动速度,来确定转动位置,从而能够零位位置和距离零位位置的转动位置确定转动件3的绝对转动位置,结构简单且使用范围更广。In the embodiment of the present invention, the zero position of the rotating member 3 is detected according to the code disc 1 of a specific structure, and the rotational speed of the rotating member is determined according to the pulse sequence to determine the rotational position, thereby enabling the zero position and the distance zero position. The rotational position determines the absolute rotational position of the rotating member 3, and the structure is simple and the use range is wider.
在某些实施例中,根据所述位置检测装置中的光开关2输出的脉冲序列来确定所述码盘1的转动位置,包括:根据所述光开关2输出的脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定所述码盘1的转动位置。在一实施例中,光开关2为两个,参见图5,两个两开关输出的脉冲序列分别为S1和S2。图5,确定所述码盘1转动位置的过程为:首先将S1和S2或运算,得到连续的脉冲序列S3,若以码盘1第二透光区122转动到S1对应的光开关2位置处为零位,则零位脉冲S4可通过S2和S3进行异或运算获得,即若以码盘1第二透光区122转动到S2对应的光开关2位置处为零位,则零位脉冲S4’可通过S1和S3进行异或运算获得,即
In some embodiments, determining the rotational position of the code wheel 1 according to a pulse sequence output by the optical switch 2 in the position detecting device includes: according to a pulse sequence output by the optical switch 2, and or an operation, The rotational position of the code wheel 1 is determined by at least one of an operation, an exclusive OR operation, and a non-operation. In an embodiment, the optical switch 2 is two. Referring to FIG. 5, the pulse sequences of the two two switches output are S1 and S2, respectively. 5, the process of determining the rotational position of the code wheel 1 is: first, S1 and S2 are ORed to obtain a continuous pulse sequence S3, and if the second light transmission area 122 of the code wheel 1 is rotated to the position of the optical switch 2 corresponding to S1. At zero position, the zero pulse S4 can be obtained by X2 operation between S2 and S3, ie If the second light transmitting area 122 of the code wheel 1 is rotated to zero position at the position of the optical switch 2 corresponding to S2, the zero pulse S4' can be obtained by XOR operation by S1 and S3, that is,
在某些实施例中,所述多个透光区12包括多个宽度相同的第一透光区121,以及一个宽度异于所述第一透光区121的宽度的第二透光区122,所述第二透光区122中的特定区域对应所述转动件3的零位,将码盘1上第二透光区122中的特定区域作为码盘1的零位,光开关2检测到所述第二透光区122中的特定区域,即表示所述转动件3的当前转动位置为所述转动件3的零位。可选地,所述第二透光区122中的特定区域为所述第二透光区122的中间轴或者边缘,从而将第二透光区122的中间轴或者边缘作为码盘1的零位,对转动件3的零位进行标定。In some embodiments, the plurality of light transmissive regions 12 include a plurality of first light transmissive regions 121 having the same width, and a second light transmissive region 122 having a width different from the width of the first light transmissive regions 121. a specific area of the second transparent area 122 corresponds to the zero position of the rotating member 3, and a specific area of the second transparent area 122 on the code wheel 1 is used as the zero position of the code wheel 1, and the optical switch 2 detects To a specific area in the second light transmitting area 122, that is, the current rotational position of the rotating member 3 is the zero position of the rotating member 3. Optionally, a specific one of the second transparent regions 122 is an intermediate axis or an edge of the second transparent region 122, so that the intermediate axis or edge of the second transparent region 122 is used as the zero of the code wheel 1. Bit, the zero position of the rotating member 3 is calibrated.
在某些实施例中,所述多个非透光区13包括多个宽度相同的第一非透光区131,以及一个宽度异于所述第一非透光区131的宽度的第二非透光区132,所述第二非透光区132中的特定区域对应所述转动件3的零位,
将码盘1上所述第二非透光区132中的特定区域作为所述码盘1的零位,光开关2检测到所述第二非透光区132中的特定区域,即表示所述转动件3的当前转动位置为所述转动件3的零位。可选地,所述第二非透光区132中的特定区域为所述第二非透光区132的中间轴或者边缘。In some embodiments, the plurality of non-transmissive regions 13 include a plurality of first non-transmissive regions 131 having the same width, and a second non-width different from the width of the first non-transmissive regions 131. a light-transmitting region 132, a specific region of the second non-light-transmitting region 132 corresponding to the zero position of the rotating member 3,
A specific area in the second non-transparent area 132 on the code wheel 1 is taken as a zero position of the code wheel 1, and the optical switch 2 detects a specific area in the second non-light transmissive area 132, that is, The current rotational position of the rotating member 3 is the zero position of the rotating member 3. Optionally, a specific one of the second non-transmissive regions 132 is an intermediate axis or an edge of the second non-transmissive region 132.
在一实施例中,所述根据所述脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定所述转动件3的转动位置,包括:根据所述脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定特定时间,所述特定时间为所述至少一个光开关2中的其中一个光开关2最近一次检测到所述特定区域的时间;根据所述特定时间确定所述转动件3的转动位置。本实施例通过将特定区域设定为转动件3的零位,并其中一个光开关2根据最近一次检测到所述特定区域的时间,从而获得转动件3的零位时间,从而可根据转动件3的零位时间来确定转动件3的绝对转动位置。具体的,根据转动件3的零位时间计算在该零位时间到当前时间这段期间内,转动件3所转动的角度。由于转动件3的零位的位置已知,那么根据该零位的位置和转动件3在这段期间内所转动的角度即可确定转动件3的当前转动位置。In an embodiment, determining the rotational position of the rotating member 3 according to at least one of the pulse sequence, and or the operation, the AND operation, the exclusive OR operation, and the non-operation, including: according to the pulse a sequence, and/or an operation, an AND operation, an exclusive OR operation, and a non-operation, determining a specific time, wherein the specific time is one of the optical switches 2 of the at least one optical switch 2 detected last time The time of the specific area; the rotational position of the rotating member 3 is determined according to the specific time. In this embodiment, the specific area is set to the zero position of the rotating member 3, and one of the optical switches 2 obtains the zero time of the rotating member 3 according to the time when the specific area is detected last time, so that the rotating part can be obtained according to the rotating part The zero time of 3 determines the absolute rotational position of the rotating member 3. Specifically, the angle at which the rotating member 3 rotates during the period from the zero time to the current time is calculated according to the zero time of the rotating member 3. Since the position of the zero position of the rotary member 3 is known, the current rotational position of the rotary member 3 can be determined based on the position of the zero position and the angle at which the rotary member 3 is rotated during this period.
在某些实施例中,所述根据所述特定时间确定所述转动件3的转动位置,包括:确定在所述脉冲序列中,所述特定时间距离当前时间所出现的完整信号周期数;获取目标转动角度,所述目标转动角度为在当前距离所述光开关2最近一次检测到的脉冲的上升沿/下降沿时间之间,所述码盘1所转动的角度;根据所述完整信号周期、所述码盘1所转动的角度确定所述转动件3的转动位置。通过获得光开关2最近一次检测到零位至当前位置之间的所经过的完整的透光区12和非透光区13的数量,由于一个完整的透光区12和一个完整的非透光区所对应的码盘1圆心角是确定的,进而根据透光区12和非透光区13所对应的码盘1圆心角来计算所述转动件3在该完整信号周期数中所转动的角度。并通过获得目标转动角度,获得
码盘1经过的当前周期(非完整信号周期)对应的角度,将转动件3在该完整信号周期数中所转动的角度加上目标转动角度,即是转动件3在从光开关2最近一次检测到零位到当前时间的这段时长内,转动件3所转动的角度。在一实施例中,一个完整信号周期是指码盘1上相邻两个第一透光区121对应的脉冲的上升沿/下降沿之间的时长。在一实施例中,一个完整信号周期是指码盘1上相邻两个第一非透光区131对应的脉冲的上升沿/下降沿之间的时长。具体采用哪种完整信号周期,这取决于码盘的零位的位置。In some embodiments, the determining the rotational position of the rotating member 3 according to the specific time comprises: determining a number of complete signal periods that occur in the pulse sequence in the pulse sequence at a current time; a target rotation angle, the angle of rotation of the code wheel 1 between the rising edge/falling edge time of the pulse currently detected by the optical switch 2 at the current distance; according to the complete signal period The angle at which the code wheel 1 rotates determines the rotational position of the rotating member 3. By obtaining the number of complete transparent regions 12 and non-transmissive regions 13 that have been detected by the optical switch 2 from the last time to the current position, due to a complete transparent region 12 and a complete non-transparent region The central angle of the code wheel 1 corresponding to the area is determined, and the rotation of the rotating member 3 in the complete signal period is calculated according to the central angle of the code wheel 1 corresponding to the transparent area 12 and the non-transmissive area 13. angle. And by obtaining the target rotation angle,
The angle corresponding to the current period (non-complete signal period) passed by the code wheel 1 is the angle of rotation of the rotating member 3 in the number of complete signal periods plus the target rotation angle, that is, the last time the rotating member 3 is from the optical switch 2 The angle at which the rotating member 3 rotates during the period from the zero position to the current time. In one embodiment, a complete signal period refers to the length of time between the rising edge/falling edge of the pulse corresponding to two adjacent first light transmitting regions 121 on the code wheel 1. In one embodiment, a complete signal period is the length of time between the rising edge/falling edge of the pulse corresponding to two adjacent first non-transmissive regions 131 on the code wheel 1. Which complete signal period is used depends on the position of the zero position of the code wheel.
在一实施例中,所述特定时间距离当前时间所出现的完整信号周期数为n,n个信号周期中每个信号周期对应的角度分别为A1、A2、…、An,则n个信号周期对应的转动角度A0=A1+A2+…+An。In an embodiment, the number of complete signal periods that occur at the specific time from the current time is n, and the angles corresponding to each signal period in the n signal periods are A1, A2, ..., An, respectively, and n signal periods The corresponding rotation angle A0=A1+A2+...+An.
在某些实施例中,所述获取目标转动角度,包括:获取第一时长,所述第一时长是当前距离所述光开关2最近一次检测到的脉冲的上升沿/下降沿时间之间的时长;获取所述转动件3当前周期的转动速度;根据所述第一时长、所述转动件3当前周期的转动速度确定目标转动角度。其中,第一时长是采用光开关2最近一次检测到的脉冲的上升沿还是下降沿,取决于在计算时所用的完整信号周期是从上升沿还是从下降沿开始,若完整信号周期是从上升沿开始,则第一时长是采用上升沿,若完整信号周期是从下降沿开始,则第一时长是采用下降沿。In some embodiments, the acquiring the target rotation angle comprises: acquiring a first duration, where the first duration is between a rising edge/falling edge time of a pulse that is detected last time by the optical switch 2 The length of time; the rotation speed of the current period of the rotating member 3 is obtained; and the target rotation angle is determined according to the first duration and the rotation speed of the current period of the rotating member 3. Wherein, the first duration is the rising edge or the falling edge of the pulse detected by the optical switch 2 last time, depending on whether the complete signal period used in the calculation starts from a rising edge or a falling edge, if the complete signal period is rising from At the beginning, the first duration is the rising edge. If the complete signal period starts from the falling edge, the first duration is the falling edge.
在一实施例中,所述特定时间距离当前时间所出现的完整信号周期数对应的转动角度为A0,所述光开关2最近一次检测到的脉冲的上升沿/下降沿时间为T0,当前时刻为t,所述第一时长为(t-T0),所述转动件3当前周期的转动速度为W,则所述码盘1的转动位置的角度A(t)的计算公式如下:In an embodiment, the rotation angle corresponding to the number of complete signal periods occurring at the current time is A0, and the rising edge/falling edge time of the last detected pulse of the optical switch 2 is T0, the current time For t, the first duration is (t-T0), and the rotational speed of the current period of the rotating member 3 is W, and the angle A(t) of the rotational position of the code wheel 1 is calculated as follows:
A(t)=A0+(t-T0)*W。
A(t)=A0+(t-T0)*W.
在某些实施例中,所述转动件3当前周期的转动速度为预设转动速度,这种情况下,转动件3是匀速转动的。以转动件3是电机为例,电机高速旋转时,其本身存在很强的旋转惯性,电机转动的时间常数较长(通常在100ms量级或者以上),在不改变驱动力的情况下,短时间内,电机的转动速度W较为稳定,以该电机的旋转速度W对码盘1的位置进行计算,即可较为精确地获得码盘1的转动位置。但是在长期转动后,由于外界因素(例如电机轴的磨损等)导致电机的转动速度W可能会发生变化。In some embodiments, the rotational speed of the current period of the rotating member 3 is a preset rotational speed, in which case the rotating member 3 is rotated at a constant speed. Taking the rotating member 3 as an example of a motor, when the motor rotates at a high speed, there is a strong rotational inertia, and the time constant of the motor rotation is long (usually on the order of 100 ms or more), and the driving force is short without changing the driving force. During the time, the rotational speed W of the motor is relatively stable, and the position of the code wheel 1 is calculated by the rotational speed W of the motor, so that the rotational position of the code wheel 1 can be obtained more accurately. However, after long-term rotation, the rotational speed W of the motor may change due to external factors such as wear of the motor shaft.
在某些实施例中,为了克服由于外界因素导致的电机的转动速度W产生变化,从而更精确地获得码盘1的转动位置,需要计算转动件3当前周期的转动速度。可选地,所述获取所述转动件3当前周期的转动速度包括:根据当前时刻之前至少一个所述光开关2中的其中一个光开关2输出的多个信号周期的脉冲序列,确定所述转动件3当前周期的转动速度。在一实施例中,一个完整信号周期是指码盘1上相邻两个第一透光区121对应的脉冲的上升沿/下降沿之间的时长。在一实施例中,一个完整信号周期是指相邻两个第一非透光区131对应的脉冲的上升沿/下降沿之间的时长表示一个完整信号周期。In some embodiments, in order to overcome the change in the rotational speed W of the motor due to external factors, thereby obtaining the rotational position of the code wheel 1 more accurately, it is necessary to calculate the rotational speed of the current period of the rotary member 3. Optionally, the obtaining the rotation speed of the current period of the rotating member 3 comprises: determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the at least one optical switch 2 before the current time The rotational speed of the current period of the rotating member 3. In one embodiment, a complete signal period refers to the length of time between the rising edge/falling edge of the pulse corresponding to two adjacent first light transmitting regions 121 on the code wheel 1. In one embodiment, a complete signal period means that the duration between the rising/falling edges of the pulses corresponding to the adjacent two first non-transmissive regions 131 represents a complete signal period.
在一些例子中,所述根据当前时刻之前至少一个所述光开关2中的其中一个光开关2输出的多个信号周期的脉冲序列,确定所述转动件3当前周期的转动速度,包括:计算所述多个信号周期中每个信号周期对应的角度以及时长;计算所述多个信号周期的角度之和与时长之和;根据所述角度之和与所述时长之和,确定所述转动件3当前周期的转动速度。具体地,所述多个信号周期的个数为n,n个信号周期中每个信号周期的角度分别为A1、A2、…、An,每个信号周期的时长分别为T1、T2、…、Tn;则多个信号周期的角度之和A=(A1+A2+…+An),时长之和T=(T1+T2+…+Tn),转动件3当前时刻t的转动速度W=A/T。本实施例直接对当前时刻之前多个信号周期中每个信号周期对应的转动件3的转动速
度进行平均,从而获得较为精确的转动件3的实时转动速度,以获得较为精确的转动件3的转动位置,适用于转动件3匀速转动的场景。In some examples, determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the optical switch 2 before the current time, determining a rotational speed of the current period of the rotating member 3, including: calculating An angle and a duration corresponding to each of the plurality of signal periods; calculating a sum of an angle of the plurality of signal periods and a duration; determining the rotation according to a sum of the angles and the duration The rotational speed of the current cycle of piece 3. Specifically, the number of the plurality of signal periods is n, and the angles of each of the n signal periods are A1, A2, ..., An, and the duration of each signal period is T1, T2, ..., respectively. Tn; the sum of the angles of the plurality of signal periods A=(A1+A2+...+An), the sum of the durations T=(T1+T2+...+Tn), the rotational speed of the current moment t of the rotating member 3 W=A/T . In this embodiment, the rotational speed of the rotating member 3 corresponding to each signal period in the plurality of signal periods before the current time is directly directly
The averaging is performed to obtain a more accurate real-time rotational speed of the rotating member 3 to obtain a more precise rotational position of the rotating member 3, which is suitable for a scene in which the rotating member 3 rotates at a constant speed.
在一些例子中,所述根据当前时刻之前至少一个所述光开关2中的其中一个光开关2输出的多个信号周期的脉冲序列,确定所述转动件3当前周期的转动速度,包括:计算所述多个信号周期中每个信号周期对应的角度以及时长;对每个信号周期设置一加权系数;根据每个信号周期对应的加权系数,对该信号周期对应的角度进行加权处理;计算所述多个信号周期的时长之和以及加权处理后的多个信号周期的角度之和;根据所述时长之和以及所述角度之和,确定所述转动件3当前周期的转动速度。具体地,所述多个信号周期的个数为n,n个信号周期中每个信号周期的角度分别为A1、A2、…、An,每个信号周期的加权系数为W1、W2、…、Wn,其中W1+W2+…+Wn=1,每个信号周期的时长分别为T1、T2、…、Tn;则对每个信号周期的角度分别进行加权处理W1*A1、W2*A2、…、Wn*An,加权后的多个信号周期的角度之和A=(W1*A1+W2*A2+…+Wn*An),时长之和T=(T1+T2+…+Tn),转动件3当前时刻t的转动速度为W=A/T。其中,所述加权系数可根据转动件3在每个信号周期的转动速度大小来确定,从而获得较为精确的转动件3的实时转动速度,以获得较为精确的转动件3的转动位置,适用于转动件3按照规则的转动速度变速转动的场景。In some examples, determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the optical switch 2 before the current time, determining a rotational speed of the current period of the rotating member 3, including: calculating An angle and a duration corresponding to each of the plurality of signal periods; a weighting coefficient is set for each signal period; and an angle corresponding to the signal period is weighted according to a weighting coefficient corresponding to each signal period; The sum of the durations of the plurality of signal periods and the sum of the angles of the plurality of signal periods after the weighting process; determining the rotational speed of the current period of the rotating member 3 based on the sum of the durations and the sum of the angles. Specifically, the number of the plurality of signal periods is n, and the angles of each of the n signal periods are A1, A2, ..., An, and the weighting coefficients of each signal period are W1, W2, ..., Wn, where W1+W2+...+Wn=1, the duration of each signal period is T1, T2, ..., Tn, respectively; then the weighting process for each signal period is separately performed W1*A1, W2*A2, ..., Wn*An, the sum of the angles of the weighted multiple signal periods A=(W1*A1+W2*A2+...+Wn*An), the sum of the durations T=(T1+T2+...+Tn), the rotating member 3 is currently The rotational speed at time t is W=A/T. Wherein, the weighting coefficient can be determined according to the rotation speed of the rotating member 3 in each signal period, thereby obtaining a more accurate real-time rotation speed of the rotating member 3, so as to obtain a more precise rotational position of the rotating member 3, which is suitable for The rotating member 3 shifts the rotating scene in accordance with the regular rotational speed.
在一些例子中,所述根据当前时刻之前至少一个所述光开关2中的其中一个光开关2输出的多个信号周期的脉冲序列,确定所述转动件3当前周期的转动速度,包括:在所述转动件3分别以不同转速转动时,分别获取所述码盘1在不同转速下的多个信号周期的脉冲序列,根据所述多个信号周期的脉冲序列预测在当前转速下所述转动件3当前周期的转动速度。具体地,对转动件3的某个转速进行预先分析,建立预测模型n=f(R),用于确定信号周期的个数n与转动件3当前周期的转动速度W之间的关系,其中,R为目标转速,n为转速R下预测当前周期的转动速度需要的
信号周期的个数。具体地,在R转速下,对大量信号周期的数据进行分析(例如,训练、学习、拟合等),确定n个信号周期与W的计算模型:W=(A1…Ai…An,T1…Ti…Tn),其中,Ai为第i个信号周期对应的角度,Ti为第i个信号周期对应的时长,1≤i≤n,n为自然数。In some examples, determining a rotational speed of the current period of the rotating member 3 according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the optical switch 2 before the current time, including: When the rotating members 3 are respectively rotated at different rotational speeds, respectively acquiring pulse sequences of the plurality of signal periods of the code wheel 1 at different rotational speeds, and predicting the rotation at the current rotational speed according to the pulse sequence of the plurality of signal periods The rotational speed of the current cycle of piece 3. Specifically, a certain rotation speed of the rotating member 3 is pre-analyzed to establish a prediction model n=f(R) for determining the relationship between the number n of signal periods and the rotational speed W of the current period of the rotating member 3, wherein , R is the target speed, and n is the speed required to predict the rotation speed of the current period.
The number of signal cycles. Specifically, at R speed, data of a large number of signal periods is analyzed (eg, training, learning, fitting, etc.), and a calculation model of n signal periods and W is determined: W=(A1...Ai...An, T1... Ti...Tn), where Ai is the angle corresponding to the ith signal period, Ti is the duration corresponding to the ith signal period, 1 ≤ i ≤ n, and n is a natural number.
在某些实施例中,所述获取目标转动角度,包括:获取第一时长,所述第一时长是当前距离所述光开关2最近一次检测到的脉冲的上升沿/下降沿时间之间的时长;获取第二时长,所述第二时长是当前周期的预计总时长,其中,一个周期从所述脉冲序列中的一个脉冲的上升沿/下降沿持续到下一个脉冲的上升沿/下降沿;根据所述第一时长和所述第二时长,以及所述周期对应的码盘1圆心角确定目标转动角度。在当前时刻所在完整信号周期中,确定所述当前时刻占当前时刻所在完整信号周期的预计总时长的占比,从而可根据所述占比与一个完整信号周期对应的码盘1圆心角来驱动所述目标转动角度,获得更加准确地转动件3的转动位置。可选地,每个周期对应的码盘1圆心角是固定的,例如,35个透光区12,35个非透光区13,且第二透光区122的宽度为第一透光区121的三倍,第一透光区121的宽度等于非透光区13的宽度,或者第二非透光区132的宽度为第一非透光区131的宽度的三倍,透光区12的宽度等于第一非透光区131的宽度,则可确定出每个完整的信号周期所对应的码盘1的圆心角为20°。In some embodiments, the acquiring the target rotation angle comprises: acquiring a first duration, where the first duration is between a rising edge/falling edge time of a pulse that is detected last time by the optical switch 2 The second duration is the estimated total duration of the current period, wherein one period continues from the rising edge/falling edge of one pulse in the pulse sequence to the rising edge/falling edge of the next pulse And determining a target rotation angle according to the first duration and the second duration, and a central angle of the code wheel 1 corresponding to the cycle. Determining, in the complete signal period of the current time, the proportion of the current time to the estimated total duration of the complete signal period of the current time, so that the percentage of the code wheel 1 corresponding to a complete signal period can be driven according to the ratio The target rotation angle obtains a more accurate rotational position of the rotating member 3. Optionally, the central angle of the code wheel 1 corresponding to each cycle is fixed, for example, 35 transparent areas 12, 35 non-transmissive areas 13, and the width of the second transparent area 122 is the first transparent area. The width of the first light-transmitting region 121 is equal to the width of the non-light-transmitting region 13 or the width of the second non-light-transmitting region 132 is three times the width of the first non-light-transmitting region 131, and the light-transmitting region 12 is three times. The width of the first non-transmissive region 131 is equal to the width of the first non-transmissive region 131, and it can be determined that the central angle of the code wheel 1 corresponding to each complete signal period is 20°.
在一些例子中,每个信号周期的预计总时长为一固定时长,但是转动件3在长期转动后,由于外界因素(例如电机轴的磨损等)导致电机的转动速度W可能会发生变化,从而导致每个周期的转动时间可能产生变化。In some examples, the estimated total length of each signal period is a fixed period of time, but after the long-term rotation of the rotating member 3, the rotational speed W of the motor may change due to external factors (such as wear of the motor shaft, etc.), thereby This can result in changes in the rotation time of each cycle.
为了更精确地获得当前周期的预计总时长。在一些例子中,所述获取当前周期的预计总时长,包括:根据当前周期之前至少一个所述光开关2中的一个光开关2输出的多个信号周期的脉冲序列,确定当前周期的预计总时长。
In order to obtain the estimated total duration of the current cycle more accurately. In some examples, the obtaining the estimated total duration of the current period includes: determining an estimated total of the current period according to a pulse sequence of the plurality of signal periods output by the one of the at least one optical switch 2 of the optical switch 2 before the current period. duration.
在某些实施例中,所述根据当前周期之前至少一个所述光开关2中的一个光开关2输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:计算所述多个信号周期中每个信号周期对应的总时长,计算所述多个信号周期的总时长之和;根据所述总时长之和以及所述信号周期的个数,确定当前周期的预计总时长。具体地,所述多个信号周期的个数为n,n个信号周期中每个信号周期的总时长分别为T1、T2、…、Tn,多个信号周期的总时长之和T=(T1+T2+…+Tn),转动件3当前周期的预计总时长T(t)=T/n,其中t表示当前时刻。本实施例直接对当前时刻之前多个信号周期中每个信号周期对应的总时长进行平均,从而获得较为精确的当前周期的预计总时长,以获得较为精确的转动件3的转动位置,适用于转动件3匀速转动的场景。其中,每个信号周期的总时长可通过计数的方式,例如,从当前信号周期的上升沿开始计数,至下一信号周期的上升沿,计数的总数可作为当前信号周期的总时长。In some embodiments, determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the at least one optical switch 2 before the current period, determining an estimated total duration of the current period, including: calculating the plurality of Calculating a total duration of each signal period in each signal period, calculating a sum of total durations of the plurality of signal periods; determining an estimated total duration of the current period based on the sum of the total durations and the number of signal periods. Specifically, the number of the plurality of signal periods is n, and the total duration of each signal period in the n signal periods is T1, T2, ..., Tn, and the sum of the total durations of the plurality of signal periods T = (T1 +T2+...+Tn), the estimated total duration T(t) of the current period of the rotating member 3 is T/n, where t represents the current time. In this embodiment, the total duration corresponding to each signal period in the plurality of signal periods before the current time is directly averaged, thereby obtaining a more accurate estimated total duration of the current period, so as to obtain a more precise rotational position of the rotating member 3, which is suitable for The scene in which the rotating member 3 rotates at a constant speed. The total duration of each signal period can be counted, for example, from the rising edge of the current signal period to the rising edge of the next signal period, and the total number of counts can be used as the total duration of the current signal period.
在某些实施例中,所述根据当前周期之前至少一个所述光开关2中的一个光开关2输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:计算所述多个信号周期中每个信号周期对应的总时长;对每个信号周期设置一加权系数;根据每个信号周期对应的加权系数,对该信号周期对应的总时长进行加权处理;计算所述加权处理后的多个信号周期的总时长之和;根据所述加权处理后的多个信号周期的总时长之和以及所述信号周期的个数,确定当前周期的预计总时长。具体地,所述多个信号周期的个数为n,n个信号周期中每个信号周期的总时长分别为T1、T2、…、Tn,每个信号周期的加权系数为W1、W2、…、Wn,其中W1+W2+…+Wn=1,则对每个信号周期的总时长分别进行加权处理W1*T1、W2*T2、…、Wn*Tn,加权后的多个信号周期的角度之和T=(W1*T1+W2*T2+…+Wn*Tn),转动件3当前周期的预计总时长T(t)=T/n,其中t表示当前时刻。其中,所述加权系数可根据转动件3在每个信号周
期的转动时长占码盘1转动整圈所需的时长的比值来确定,从而获得较为精确的转动件3的转动位置,适用于转动件3按照规则的转动速度变速转动的场景。其中,每个信号周期的总时长可通过计数的方式,例如,从当前信号周期的上升沿开始计数,至下一信号周期的上升沿,计数的总数可作为当前信号周期的总时长。In some embodiments, determining, according to a pulse sequence of a plurality of signal periods output by one of the optical switches 2 of the at least one optical switch 2 before the current period, determining an estimated total duration of the current period, including: calculating the plurality of The total duration of each signal period in each signal period; a weighting coefficient is set for each signal period; the total duration corresponding to the signal period is weighted according to the weighting coefficient corresponding to each signal period; and the weighting process is calculated The sum of the total durations of the subsequent plurality of signal periods; determining the estimated total duration of the current period based on the sum of the total durations of the plurality of signal periods after the weighting process and the number of the signal periods. Specifically, the number of the plurality of signal periods is n, and the total duration of each signal period in the n signal periods is T1, T2, ..., Tn, and the weighting coefficients of each signal period are W1, W2, ... And Wn, where W1+W2+...+Wn=1, respectively weighting the total duration of each signal period by W1*T1, W2*T2, ..., Wn*Tn, and the angles of the plurality of weighted signal periods And T = (W1 * T1 + W2 * T2 + ... + Wn * Tn), the estimated total duration T(t) of the current period of the rotating member 3 is T / n, where t represents the current time. Wherein the weighting coefficient can be based on the rotating member 3 at each signal week
The rotation time of the period is determined by the ratio of the length of time required for the code wheel 1 to rotate the full turn, thereby obtaining a more precise rotational position of the rotary member 3, and is suitable for a scene in which the rotary member 3 is rotationally rotated at a regular rotational speed. The total duration of each signal period can be counted, for example, from the rising edge of the current signal period to the rising edge of the next signal period, and the total number of counts can be used as the total duration of the current signal period.
在某些实施例中,所述根据当前周期之前至少一个所述光开关2中的一个光开关2输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:在所述转动件3分别以不同转速转动时,分别获取所述码盘1在不同转速下的多个信号周期的脉冲序列,根据所述多个信号周期的脉冲序列预测在当前转速下所述当前周期的预计总时长。具体地,对转动件3的某个转速进行预先分析,建立预测模型n=f(R),用于确定信号周期的个数n与转动件3当前周期的预计总时长之间的关系,其中,R为目标转速,n为转速R下预测当前周期的预计总时长需要的信号周期的个数。具体地,在R转速下,对大量信号周期的数据进行分析(例如,训练、学习、拟合等),确定n个信号周期与当前周期的预计总时长T(t)的计算模型:T(t)=(T1…Ti…Tn,n),其中,Ti为第i个信号周期对应的总时长,1≤i≤n,n为自然数。其中,每个信号周期的总时长可通过计数的方式,例如,从当前信号周期的上升沿开始计数,至下一信号周期的上升沿,计数的总数可作为当前信号周期的总时长。In some embodiments, determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one optical switch 2 of the optical switch 2 before the current period, determining an estimated total duration of the current period, including: in the rotating When the pieces 3 are respectively rotated at different rotation speeds, respectively acquire pulse sequences of the plurality of signal periods of the code wheel 1 at different rotation speeds, and predict the current period prediction at the current rotation speed according to the pulse sequence of the plurality of signal periods Total length. Specifically, a certain rotation speed of the rotating member 3 is pre-analyzed to establish a prediction model n=f(R) for determining the relationship between the number n of signal periods and the estimated total duration of the current period of the rotating member 3, wherein , R is the target rotational speed, and n is the number of signal cycles required to predict the estimated total duration of the current cycle at the rotational speed R. Specifically, at R rotational speed, data of a large number of signal periods is analyzed (eg, training, learning, fitting, etc.), and a calculation model of the estimated total duration T(t) of the n signal periods and the current period is determined: T ( t)=(T1...Ti...Tn,n), where Ti is the total duration corresponding to the ith signal period, 1≤i≤n, and n is a natural number. The total duration of each signal period can be counted, for example, from the rising edge of the current signal period to the rising edge of the next signal period, and the total number of counts can be used as the total duration of the current signal period.
实施例五Embodiment 5
对应于上述实施例四的位置检测方法,参见图14,本发明实施例还提供一种位置检测装置200,用于检测上述实施例三的转动系统中的转动件的转动位置。其中,所述位置检测装置包括处理器201。The position detecting method corresponding to the above-described fourth embodiment, referring to FIG. 14, further provides a position detecting device 200 for detecting the rotational position of the rotating member in the rotating system of the third embodiment. Wherein, the position detecting device comprises a processor 201.
所述处理器201被配置为:The processor 201 is configured to:
获取所述转动系统中的位置检测装置中的至少一个光开关输出的脉
冲序列;Acquiring a pulse outputted by at least one of the position detecting devices in the rotating system
Punch sequence
根据所述脉冲序列来确定所述转动件的转动位置。A rotational position of the rotating member is determined based on the pulse sequence.
进一步地,所述根据所述脉冲序列来确定所述转动件的转动位置,包括:Further, determining the rotational position of the rotating component according to the pulse sequence comprises:
根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定所述转动件的转动位置。The rotational position of the rotating member is determined according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation.
进一步地,所述多个透光区包括多个宽度相同的第一透光区,以及一个宽度异于所述第一透光区的宽度的第二透光区,所述第二透光区中的特定区域对应所述转动件的零位;或者,所述多个非透光区包括多个宽度相同的第一非透光区,以及一个宽度异于所述第一非透光区的宽度的第二非透光区,所述第二非透光区中的特定区域对应所述转动件的零位;Further, the plurality of light transmissive regions include a plurality of first light transmissive regions having the same width, and a second light transmissive region having a width different from a width of the first light transmissive region, the second light transmissive region a specific area corresponding to the zero position of the rotating member; or, the plurality of non-light transmitting regions includes a plurality of first non-transmissive regions of the same width, and a width different from the first non-transmissive region a second non-transmissive region of the width, the specific region of the second non-transmissive region corresponding to the zero position of the rotating member;
所述根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定所述转动件的转动位置,包括:Determining a rotational position of the rotating member according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation, including:
根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定特定时间,所述特定时间为所述至少一个光开关中的其中一个光开关最近一次检测到所述特定区域的时间;Determining a specific time according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation, the specific time being the last time one of the at least one optical switches is detected The time of a particular area;
根据所述特定时间确定所述转动件的转动位置。The rotational position of the rotating member is determined according to the specific time.
进一步地,所述根据所述特定时间确定所述转动件的转动位置,包括:Further, determining the rotational position of the rotating member according to the specific time comprises:
确定在所述脉冲序列中,当前距离所述特定区域的时间之间所出现的完整信号周期数,其中码盘上相邻两个第一透光区对应的脉冲的上升沿/下降沿之间的时长,或者相邻两个第一非透光区对应的脉冲的上升沿/下降沿之间的时长表示一个完整信号周期;Determining, in the pulse sequence, the number of complete signal periods occurring between the current distances from the particular region, wherein between the rising edge/falling edge of the pulse corresponding to the adjacent two first light transmitting regions on the code wheel The duration, or the length between the rising edge/falling edge of the pulse corresponding to the two adjacent first non-transmissive regions, represents a complete signal period;
获取目标转动角度,所述目标转动角度为在当前距离所述光开关最
近一次检测到的脉冲的上升沿/下降沿时间之间,所述码盘所转动的角度;Obtaining a target rotation angle, wherein the target rotation angle is the current distance at the current distance of the optical switch
The angle at which the code wheel rotates between the rising edge/falling edge time of the pulse detected nearly once;
根据所述完整信号周期、所述码盘所转动的角度确定所述转动件的转动位置。Determining a rotational position of the rotating member according to the complete signal period and an angle at which the code wheel rotates.
进一步地,所述获取目标转动角度,包括:Further, the acquiring the target rotation angle includes:
获取第一时长,所述第一时长是当前距离所述光开关最近一次检测到的脉冲的上升沿/下降沿时间之间的时长;Obtaining a first duration, wherein the first duration is a duration between a rising edge/falling edge time of a pulse detected by the optical switch last time;
获取所述转动件当前周期的转动速度;Obtaining a rotation speed of the current period of the rotating member;
根据所述第一时长、所述转动件当前周期的转动速度确定目标转动角度。The target rotation angle is determined according to the first duration and the rotational speed of the current period of the rotating member.
进一步地,所述获取所述转动件当前周期的转动速度包括:Further, the obtaining the rotation speed of the current period of the rotating member includes:
根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度。Determining a rotational speed of the current period of the rotating member according to a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current time.
进一步地,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括:Further, determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current time, determining a rotational speed of the current period of the rotating member, including:
计算所述多个信号周期中每个信号周期对应的角度以及时长;Calculating an angle and a duration corresponding to each of the plurality of signal periods;
计算所述多个信号周期的角度之和与时长之和;Calculating a sum of an angle of the plurality of signal periods and a duration;
根据所述角度之和与所述时长之和,确定所述转动件当前周期的转动速度。The rotational speed of the current period of the rotating member is determined according to the sum of the angles and the duration.
进一步地,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括:Further, determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current time, determining a rotational speed of the current period of the rotating member, including:
计算所述多个信号周期中每个信号周期对应的角度以及时长;
Calculating an angle and a duration corresponding to each of the plurality of signal periods;
对每个信号周期设置一加权系数;Setting a weighting coefficient for each signal period;
根据每个信号周期对应的加权系数,对该信号周期对应的角度进行加权处理;Weighting the angle corresponding to the signal period according to a weighting coefficient corresponding to each signal period;
计算所述多个信号周期的时长之和以及加权处理后的多个信号周期的角度之和;Calculating a sum of durations of the plurality of signal periods and a sum of angles of the plurality of signal periods after the weighting process;
根据所述时长之和以及所述角度之和,确定所述转动件当前周期的转动速度。The rotational speed of the current period of the rotating member is determined according to the sum of the durations and the sum of the angles.
进一步地,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括:Further, determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current time, determining a rotational speed of the current period of the rotating member, including:
在所述转动件分别以不同转速转动时,分别获取所述码盘在不同转速下的多个信号周期的脉冲序列,根据所述多个信号周期的脉冲序列预测在当前转速下所述转动件当前周期的转动速度。When the rotating members are respectively rotated at different rotational speeds, respectively acquiring pulse sequences of the plurality of signal periods of the code wheel at different rotational speeds, and predicting the rotating parts at the current rotational speed according to the pulse sequence of the plurality of signal periods The rotational speed of the current cycle.
进一步地,所述获取目标转动角度,包括:Further, the acquiring the target rotation angle includes:
获取第一时长,所述第一时长是当前距离所述光开关最近一次检测到的脉冲的上升沿/下降沿时间之间的时长;Obtaining a first duration, wherein the first duration is a duration between a rising edge/falling edge time of a pulse detected by the optical switch last time;
获取第二时长,所述第二时长是当前周期的预计总时长,其中,一个周期从所述脉冲序列中的一个脉冲的上升沿/下降沿持续到下一个脉冲的上升沿/下降沿;Obtaining a second duration, wherein the second duration is an estimated total duration of the current period, wherein one period continues from a rising edge/falling edge of one pulse in the pulse sequence to a rising edge/falling edge of the next pulse;
根据所述第一时长和所述第二时长,以及所述周期对应的码盘圆心角确定目标转动角度。Determining a target rotation angle according to the first duration and the second duration, and a center angle of the code wheel corresponding to the period.
进一步地,所述获取当前周期的预计总时长,包括:Further, the obtaining the estimated total duration of the current period includes:
根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长。
Determining an estimated total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches prior to the current period.
进一步地,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:Further, determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one optical switch before the current period, determining an estimated total duration of the current period, including:
计算所述多个信号周期中每个信号周期对应的总时长,Calculating a total duration corresponding to each of the plurality of signal periods,
计算所述多个信号周期的总时长之和;Calculating a sum of total durations of the plurality of signal periods;
根据所述总时长之和以及所述信号周期的个数,确定当前周期的预计总时长。The estimated total duration of the current period is determined based on the sum of the total durations and the number of signal periods.
进一步地,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:Further, determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one optical switch before the current period, determining an estimated total duration of the current period, including:
计算所述多个信号周期中每个信号周期对应的总时长;Calculating a total duration corresponding to each of the plurality of signal periods;
对每个信号周期设置一加权系数;Setting a weighting coefficient for each signal period;
根据每个信号周期对应的加权系数,对该信号周期对应的总时长进行加权处理;Weighting the total duration corresponding to the signal period according to a weighting coefficient corresponding to each signal period;
计算所述加权处理后的多个信号周期的总时长之和;Calculating a sum of total durations of the plurality of signal periods after the weighting process;
根据所述加权处理后的多个信号周期的总时长之和以及所述信号周期的个数,确定当前周期的预计总时长。The estimated total duration of the current period is determined according to the sum of the total durations of the plurality of signal periods after the weighting process and the number of the signal periods.
进一步地,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:Further, determining, according to a pulse sequence of a plurality of signal periods output by one of the at least one optical switch before the current period, determining an estimated total duration of the current period, including:
在所述转动件分别以不同转速转动时,分别获取所述码盘在不同转速下的多个信号周期的脉冲序列,根据所述多个信号周期的脉冲序列预测在当前转速下所述当前周期的预计总时长。When the rotating members are respectively rotated at different rotational speeds, respectively acquiring pulse sequences of the plurality of signal periods of the code wheel at different rotational speeds, and predicting the current period at the current rotational speed according to the pulse sequence of the plurality of signal periods Estimated total duration.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于
一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located
A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
另外,本发明的实施例还提供了一种计算机存储介质,该计算机存储介质中存储有程序指令,该计算机存储介质中存储有程序指令,所述程序执行上述实施四所述的位置检测方法。In addition, an embodiment of the present invention further provides a computer storage medium having program instructions stored therein, wherein the computer storage medium stores program instructions, and the program executes the position detecting method described in the fourth embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. The terms "including", "comprising" or "comprising" or "comprising" are intended to include a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also other items not specifically listed Elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上对本发明实施例所提供的位置检测装置、方法及转动系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。
The position detecting device, the method and the rotating system provided by the embodiments of the present invention are described in detail. The principles and embodiments of the present invention are described in the following. The description of the above embodiments is only used to help understand the present invention. The method of the invention and its core idea; at the same time, for the person of ordinary skill in the art, according to the idea of the present invention, there are some changes in the specific embodiment and the scope of application. In summary, the content of the specification should not be understood. To limit the invention.
Claims (58)
- 一种位置检测装置,用于检测转动件的转动位置,其特征在于,包括具有一开口的码盘以及至少一光开关,所述开口用于套设所述转动件;a position detecting device for detecting a rotating position of a rotating member, comprising: a code wheel having an opening and at least one optical switch, wherein the opening is for arranging the rotating member;所述码盘上沿同一圆周设有交替分布的多个透光区和多个非透光区;A plurality of light transmissive regions and a plurality of non-transparent regions alternately distributed along the same circumference are disposed on the code wheel;其中,所述多个透光区包括多个宽度相同的第一透光区,以及一个宽度异于所述第一透光区的宽度的第二透光区;或者,所述多个非透光区包括多个宽度相同的第一非透光区,以及一个宽度异于所述第一非透光区的宽度的第二非透光区;The plurality of light transmissive regions include a plurality of first light transmissive regions having the same width, and a second light transmissive region having a width different from a width of the first light transmissive region; or the plurality of non-transparent regions The light region includes a plurality of first non-transmissive regions of the same width, and a second non-transparent region having a width different from a width of the first non-transmissive region;其中,所述宽度为沿所述圆周上的周向宽度;Wherein the width is a circumferential width along the circumference;至少一所述光开关与所述透光区和所述非透光区配合,用于输出脉冲序列输出的脉冲序列。At least one of the optical switches cooperates with the light transmissive region and the non-transmissive region for outputting a pulse sequence of pulse sequence output.
- 根据权利要求1所述的位置检测装置,其特征在于,所述第二透光区的宽度为所述第一透光区的宽度的三倍,或者,所述第二非透光区的宽度为所述第一非透光区的宽度的三倍。The position detecting device according to claim 1, wherein a width of the second light transmitting region is three times a width of the first light transmitting region, or a width of the second light transmitting region It is three times the width of the first non-light transmitting region.
- 根据权利要求1所述的位置检测装置,其特征在于,所述透光区为通孔。The position detecting device according to claim 1, wherein the light transmitting region is a through hole.
- 根据权利要求1所述的位置检测装置,其特征在于,所述光开关的数量为一个。The position detecting device according to claim 1, wherein the number of the optical switches is one.
- 根据权利要求1所述的位置检测装置,其特征在于,所述光开关的数量为两个。The position detecting device according to claim 1, wherein the number of the optical switches is two.
- 根据权利要求5所述的位置检测装置,其特征在于,所述两个光开关的位置能够使得所述两个光开关分别产生的脉冲序列中包含上升沿时间相同的脉冲。The position detecting device according to claim 5, wherein the positions of the two optical switches are such that the pulse sequences respectively generated by the two optical switches include pulses having the same rising edge time.
- 根据权利要求5所述的位置检测装置,其特征在于,所述两个光开关的位置能够使得所述光开关分别产生的脉冲序列中包含相错1/2周期或者相错1/4周期的脉冲。 The position detecting device according to claim 5, wherein the positions of the two optical switches are such that the pulse sequence respectively generated by the optical switch includes a phase error of 1/2 cycle or a phase error of 1/4 cycle pulse.
- 根据权利要求1所述的位置检测装置,其特征在于,所述光开关为槽式光电开关。The position detecting device according to claim 1, wherein said optical switch is a slot type photoelectric switch.
- 根据权利要求1所述的位置检测装置,其特征在于,所述多个透光区为35个,或者,所述多个非透光区为35个。The position detecting device according to claim 1, wherein the plurality of light transmitting regions are 35, or the plurality of non-light transmitting regions are 35.
- 一种转动系统,包括转动件,其特征在于,还包括如权利要求1至9任一项所述的位置检测装置,所述位置检测装置中的码盘与所述转动件相互固定,所述位置检测装置用于检测所述转动件的转动位置。A rotating system, comprising a rotating member, characterized by further comprising the position detecting device according to any one of claims 1 to 9, wherein a code wheel in the position detecting device and the rotating member are fixed to each other, The position detecting device is for detecting a rotational position of the rotating member.
- 根据权利要求10所述的系统,其特征在于,所述转动件上与所述码盘连接的部分设有至少一个平台面,The system according to claim 10, wherein the portion of the rotating member that is coupled to the code wheel is provided with at least one deck surface.所述码盘的开口内侧壁上设有与所述至少一个平台面分别配合的至少一个安装面。The inner side wall of the opening of the code wheel is provided with at least one mounting surface that cooperates with the at least one platform surface.
- 根据权利要求11所述的系统,其特征在于,所述码盘通过所述安装面与所述转动件的平台面的配合,使得所述码盘上的所述第二透光区或所述第二非透光区与所述转动件上的特定位置唯一对准。The system of claim 11 wherein said code wheel engages said platform surface of said rotating member by said mounting surface such that said second light transmissive region or said said disc The second non-transmissive region is uniquely aligned with a particular location on the rotating member.
- 根据权利要求11所述的系统,其特征在于,至少一个所述平台面为三个。The system of claim 11 wherein at least one of said deck faces is three.
- 根据权利要求13所述的系统,其特征在于,The system of claim 13 wherein:三个所述平台面完全相同,且沿着所述转动件的同一周向非均匀分布;The three deck surfaces are identical and non-uniformly distributed along the same circumferential direction of the rotating member;或者,三个平台面中的一个平台面与其他两个平台面的大小不同;Or, one of the three platform faces is different in size from the other two platform faces;或者,三个平台面的大小均不同。Or, the size of the three platform faces is different.
- 根据权利要求10所述的系统,其特征在于,所述转动件包括两个,两个转动件同轴相邻设置且所述两个转动件上分别套设有第一码盘和第二码盘,分别检测两个转动件的转动位置;The system according to claim 10, wherein said rotating member comprises two, two rotating members are disposed coaxially adjacent to each other, and said two rotating members are respectively provided with a first code wheel and a second code a disc, respectively detecting a rotational position of the two rotating members;所述第一码盘和所述第二码盘平行设置,且所述第一码盘和所述第二码盘分别设有对应配合的第一光开关组和第二光开关组。The first code disc and the second code disc are disposed in parallel, and the first code disc and the second code disc are respectively provided with a corresponding first optical switch group and a second optical switch group.
- 根据权利要求15所述的系统,其特征在于,所述第一光开关组和所述第二光开关组中,各光开关的发射管或接收管依次在所述第一码盘和 所述第二码盘之间沿同一直线排布。The system according to claim 15, wherein in the first optical switch group and the second optical switch group, a transmitting tube or a receiving tube of each optical switch is sequentially in the first code wheel and The second code disks are arranged along the same straight line.
- 根据权利要求16所述的系统,其特征在于,所述第一光开关组和所述第二光开关组分别包括两个光开关,The system according to claim 16, wherein the first optical switch group and the second optical switch group respectively comprise two optical switches,所述第二光开关组中的两个光开关分别设于所述第一光开关组中的两个光开关的两侧。Two optical switches in the second optical switch group are respectively disposed on two sides of the two optical switches in the first optical switch group.
- 根据权利要求15所述的系统,其特征在于,还包括分别固定在两个转动件上的第一固定件和第二固定件,The system according to claim 15, further comprising first and second fixing members respectively fixed to the two rotating members.所述第一码盘、所述第二码盘还分别包括位于多个透光区与所述开口之间的第一固定部和第二固定部,The first code wheel and the second code wheel further include a first fixing portion and a second fixing portion between the plurality of light transmitting regions and the opening, respectively.所述第一固定部固定在所述第一固定件上,The first fixing portion is fixed on the first fixing member,所述第二固定部固定在所述第二固定件上。The second fixing portion is fixed to the second fixing member.
- 根据权利要求18所述的系统,其特征在于,还包括分别与第一固定件和第二固定件配合的第一磁性件和第二磁性件,The system according to claim 18, further comprising first and second magnetic members respectively mated with the first and second fixing members,所述第一固定部夹设在所述第一固定件和所述第一磁性件之间,所述第一固定件与所述第一磁性件相吸以将所述第一固定部抵接在所述第一固定件上;The first fixing portion is interposed between the first fixing member and the first magnetic member, and the first fixing member is attracted to the first magnetic member to abut the first fixing portion On the first fixing member;所述第二固定部夹设在所述第二固定件和所述第二磁性件之间,所述第二固定件与所述第二磁性件相吸以将所述第二固定部抵接在所述第二固定件上。The second fixing portion is interposed between the second fixing member and the second magnetic member, and the second fixing member is attracted to the second magnetic member to abut the second fixing portion On the second fixing member.
- 根据权利要求19所述的系统,其特征在于,所述第一固定件、所述第二固定件、所述第一磁性件以及所述第二磁性件分别套设在对应的转动件上。The system according to claim 19, wherein the first fixing member, the second fixing member, the first magnetic member, and the second magnetic member are respectively sleeved on the corresponding rotating members.
- 根据权利要求19所述的系统,其特征在于,所述第一磁性件和所述第二磁性件相邻而设,且所述第一磁性件和所述第二磁性件相斥。The system according to claim 19, wherein said first magnetic member and said second magnetic member are disposed adjacent to each other, and said first magnetic member and said second magnetic member are repelled.
- 根据权利要求21所述的系统,其特征在于,两个转动件上还分别套设有第一轴承和第二轴承,所述第一固定件、第二固定件位于所述第一轴承和所述第二轴承之间。 The system according to claim 21, wherein the two rotating members are respectively sleeved with a first bearing and a second bearing, and the first fixing member and the second fixing member are located at the first bearing and the Between the second bearing.
- 根据权利要求18所述的系统,其特征在于,所述第一固定部和所述第一固定件之间、所述第二固定部和所述第二固定件分别设有粘接层。The system according to claim 18, wherein the first fixing portion and the first fixing member, the second fixing portion and the second fixing member are respectively provided with an adhesive layer.
- 根据权利要求10所述的系统,其特征在于,所述转动件为电机的转子。The system of claim 10 wherein said rotating member is a rotor of an electric machine.
- 根据权利要求10所述的系统,其特征在于,所述转动件还包括一用于收容负载的收容空间。The system of claim 10 wherein said rotating member further comprises a receiving space for receiving a load.
- 根据权利要求25所述的系统,其特征在于,所述负载为光学元件。The system of claim 25 wherein said load is an optical component.
- 根据权利要求26所述的系统,其特征在于,所述光学元件为棱镜或透镜。The system of claim 26 wherein said optical element is a prism or a lens.
- 根据权利要求27所述的系统,其特征在于,所述棱镜沿径向上的厚度不同,所述码盘上的所述第二透光区或所述第二非透光区与所述转动件上用于安装棱镜径向最小厚度处的位置唯一对准。The system according to claim 27, wherein said prism has a thickness in a radial direction, said second light transmitting region or said second non-light transmitting region on said code wheel and said rotating member The position is uniquely aligned at the location where the radial minimum thickness of the prism is mounted.
- 根据权利要求26所述的系统,其特征在于,所述光学元件具有不对称形状。The system of claim 26 wherein said optical element has an asymmetrical shape.
- 根据权利要求10至29任一项所述的系统,其特征在于,所述转动系统还包括处理器,所述处理器用于:A system according to any one of claims 10 to 29, wherein the rotating system further comprises a processor, the processor for:获取所述位置检测装置中的至少一个光开关输出的脉冲序列;Acquiring a pulse sequence output by at least one of the position detecting devices;根据所述脉冲序列来确定所述转动件的转动位置。A rotational position of the rotating member is determined based on the pulse sequence.
- 一种位置检测方法,用于检测如权利要求10至30所述的转动系统中的转动件的转动位置,其特征在于,所述方法包括:A position detecting method for detecting a rotational position of a rotating member in a rotating system according to any one of claims 10 to 30, characterized in that the method comprises:获取所述转动系统中的位置检测装置中的至少一个光开关输出的脉冲序列;Acquiring a pulse sequence of at least one optical switch output in the position detecting device in the rotating system;根据所述脉冲序列来确定所述转动件的转动位置。A rotational position of the rotating member is determined based on the pulse sequence.
- 根据权利要求31所述的方法,其特征在于,所述根据所述脉冲序列来确定所述转动件的转动位置,包括:The method according to claim 31, wherein said determining a rotational position of said rotating member based on said sequence of pulses comprises:根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定所述转动件的转动位置。 The rotational position of the rotating member is determined according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation.
- 根据权利要求32所述的方法,其特征在于,所述多个透光区包括多个宽度相同的第一透光区,以及一个宽度异于所述第一透光区的宽度的第二透光区,所述第二透光区中的特定区域对应所述转动件的零位;或者,所述多个非透光区包括多个宽度相同的第一非透光区,以及一个宽度异于所述第一非透光区的宽度的第二非透光区,所述第二非透光区中的特定区域对应所述转动件的零位;The method according to claim 32, wherein the plurality of light transmissive regions comprise a plurality of first light transmissive regions of the same width, and a second transmissive width different from a width of the first light transmissive region a light region, a specific one of the second light transmitting regions corresponds to a zero position of the rotating member; or, the plurality of non-light transmitting regions includes a plurality of first non-light transmitting regions having the same width, and a width difference a second non-transmissive region of the width of the first non-transmissive region, a specific region of the second non-transmissive region corresponding to a zero position of the rotating member;所述根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定所述转动件的转动位置,包括:Determining a rotational position of the rotating member according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation, including:根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定特定时间,所述特定时间为所述至少一个光开关中的其中一个光开关最近一次检测到所述特定区域的时间;Determining a specific time according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation, the specific time being the last time one of the at least one optical switches is detected The time of a particular area;根据所述特定时间确定所述转动件的转动位置。The rotational position of the rotating member is determined according to the specific time.
- 根据权利要求33所述的方法,其特征在于,所述根据所述特定时间确定所述转动件的转动位置,包括:The method according to claim 33, wherein the determining the rotational position of the rotating member according to the specific time comprises:确定在所述脉冲序列中,当前距离所述特定区域的时间之间所出现的完整信号周期数,其中码盘上相邻两个第一透光区对应的脉冲的上升沿/下降沿之间的时长,或者相邻两个第一非透光区对应的脉冲的上升沿/下降沿之间的时长表示一个完整信号周期;Determining, in the pulse sequence, the number of complete signal periods occurring between the current distances from the particular region, wherein between the rising edge/falling edge of the pulse corresponding to the adjacent two first light transmitting regions on the code wheel The duration, or the length between the rising edge/falling edge of the pulse corresponding to the two adjacent first non-transmissive regions, represents a complete signal period;获取目标转动角度,所述目标转动角度为在当前距离所述光开关最近一次检测到的脉冲的上升沿/下降沿时间之间,所述码盘所转动的角度;Obtaining a target rotation angle, the angle of rotation of the code wheel between a rising edge/falling edge time of a pulse currently detected by the optical switch at a current distance;根据所述完整信号周期、所述码盘所转动的角度确定所述转动件的转动位置。Determining a rotational position of the rotating member according to the complete signal period and an angle at which the code wheel rotates.
- 根据权利要求34所述的方法,其特征在于,所述获取目标转动角度,包括:The method according to claim 34, wherein said obtaining a target rotation angle comprises:获取第一时长,所述第一时长是当前距离所述光开关最近一次检测到的脉冲的上升沿/下降沿时间之间的时长;Obtaining a first duration, wherein the first duration is a duration between a rising edge/falling edge time of a pulse detected by the optical switch last time;获取所述转动件当前周期的转动速度; Obtaining a rotation speed of the current period of the rotating member;根据所述第一时长、所述转动件当前周期的转动速度确定目标转动角度。The target rotation angle is determined according to the first duration and the rotational speed of the current period of the rotating member.
- 根据权利要求35所述的方法,其特征在于,所述获取所述转动件当前周期的转动速度包括:The method of claim 35, wherein the obtaining the rotational speed of the current period of the rotating member comprises:根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度。Determining a rotational speed of the current period of the rotating member according to a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current time.
- 根据权利要求36所述的方法,其特征在于,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括:The method according to claim 36, wherein said determining a rotation of said current period of said rotating member based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current time Speed, including:计算所述多个信号周期中每个信号周期对应的角度以及时长;Calculating an angle and a duration corresponding to each of the plurality of signal periods;计算所述多个信号周期的角度之和与时长之和;Calculating a sum of an angle of the plurality of signal periods and a duration;根据所述角度之和与所述时长之和,确定所述转动件当前周期的转动速度。The rotational speed of the current period of the rotating member is determined according to the sum of the angles and the duration.
- 根据权利要求36所述的方法,其特征在于,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括:The method according to claim 36, wherein said determining a rotation of said current period of said rotating member based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current time Speed, including:计算所述多个信号周期中每个信号周期对应的角度以及时长;Calculating an angle and a duration corresponding to each of the plurality of signal periods;对每个信号周期设置一加权系数;Setting a weighting coefficient for each signal period;根据每个信号周期对应的加权系数,对该信号周期对应的角度进行加权处理;Weighting the angle corresponding to the signal period according to a weighting coefficient corresponding to each signal period;计算所述多个信号周期的时长之和以及加权处理后的多个信号周期的角度之和;Calculating a sum of durations of the plurality of signal periods and a sum of angles of the plurality of signal periods after the weighting process;根据所述时长之和以及所述角度之和,确定所述转动件当前周期的转动速度。The rotational speed of the current period of the rotating member is determined according to the sum of the durations and the sum of the angles.
- 根据权利要求36所述的方法,其特征在于,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括: The method according to claim 36, wherein said determining a rotation of said current period of said rotating member based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current time Speed, including:在所述转动件分别以不同转速转动时,分别获取所述码盘在不同转速下的多个信号周期的脉冲序列,根据所述多个信号周期的脉冲序列预测在当前转速下所述转动件当前周期的转动速度。When the rotating members are respectively rotated at different rotational speeds, respectively acquiring pulse sequences of the plurality of signal periods of the code wheel at different rotational speeds, and predicting the rotating parts at the current rotational speed according to the pulse sequence of the plurality of signal periods The rotational speed of the current cycle.
- 根据权利要求34所述的方法,其特征在于,所述获取目标转动角度,包括:The method according to claim 34, wherein said obtaining a target rotation angle comprises:获取第一时长,所述第一时长是当前距离所述光开关最近一次检测到的脉冲的上升沿/下降沿时间之间的时长;Obtaining a first duration, wherein the first duration is a duration between a rising edge/falling edge time of a pulse detected by the optical switch last time;获取第二时长,所述第二时长是当前周期的预计总时长,其中,一个周期从所述脉冲序列中的一个脉冲的上升沿/下降沿持续到下一个脉冲的上升沿/下降沿;Obtaining a second duration, wherein the second duration is an estimated total duration of the current period, wherein one period continues from a rising edge/falling edge of one pulse in the pulse sequence to a rising edge/falling edge of the next pulse;根据所述第一时长和所述第二时长,以及所述周期对应的码盘圆心角确定目标转动角度。Determining a target rotation angle according to the first duration and the second duration, and a center angle of the code wheel corresponding to the period.
- 根据权利要求40所述的方法,其特征在于,所述获取当前周期的预计总时长,包括:The method according to claim 40, wherein the obtaining the estimated total duration of the current period comprises:根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长。Determining an estimated total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches prior to the current period.
- 根据权利要求41所述的方法,其特征在于,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:The method according to claim 41, wherein the determining a total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current period comprises:计算所述多个信号周期中每个信号周期对应的总时长,Calculating a total duration corresponding to each of the plurality of signal periods,计算所述多个信号周期的总时长之和;Calculating a sum of total durations of the plurality of signal periods;根据所述总时长之和以及所述信号周期的个数,确定当前周期的预计总时长。The estimated total duration of the current period is determined based on the sum of the total durations and the number of signal periods.
- 根据权利要求41所述的方法,其特征在于,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:The method according to claim 41, wherein the determining a total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current period comprises:计算所述多个信号周期中每个信号周期对应的总时长; Calculating a total duration corresponding to each of the plurality of signal periods;对每个信号周期设置一加权系数;Setting a weighting coefficient for each signal period;根据每个信号周期对应的加权系数,对该信号周期对应的总时长进行加权处理;Weighting the total duration corresponding to the signal period according to a weighting coefficient corresponding to each signal period;计算所述加权处理后的多个信号周期的总时长之和;Calculating a sum of total durations of the plurality of signal periods after the weighting process;根据所述加权处理后的多个信号周期的总时长之和以及所述信号周期的个数,确定当前周期的预计总时长。The estimated total duration of the current period is determined according to the sum of the total durations of the plurality of signal periods after the weighting process and the number of the signal periods.
- 根据权利要求41所述的方法,其特征在于,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:The method according to claim 41, wherein the determining a total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches before the current period comprises:在所述转动件分别以不同转速转动时,分别获取所述码盘在不同转速下的多个信号周期的脉冲序列,根据所述多个信号周期的脉冲序列预测在当前转速下所述当前周期的预计总时长。When the rotating members are respectively rotated at different rotational speeds, respectively acquiring pulse sequences of the plurality of signal periods of the code wheel at different rotational speeds, and predicting the current period at the current rotational speed according to the pulse sequence of the plurality of signal periods Estimated total duration.
- 一种位置检测装置,用于检测如权利要求10至30所述的转动系统中的转动件的转动位置,其特征在于,所述装置包括处理器,A position detecting device for detecting a rotational position of a rotating member in a rotating system according to claims 10 to 30, characterized in that the device comprises a processor,所述处理器被配置为:The processor is configured to:获取所述转动系统中的位置检测装置中的至少一个光开关输出的脉冲序列;Acquiring a pulse sequence of at least one optical switch output in the position detecting device in the rotating system;根据所述脉冲序列来确定所述转动件的转动位置。A rotational position of the rotating member is determined based on the pulse sequence.
- 根据权利要求45所述的装置,其特征在于,所述根据所述脉冲序列来确定所述转动件的转动位置,包括:The apparatus according to claim 45, wherein said determining a rotational position of said rotating member based on said sequence of pulses comprises:根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定所述转动件的转动位置。The rotational position of the rotating member is determined according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation.
- 根据权利要求46所述的装置,其特征在于,所述多个透光区包括多个宽度相同的第一透光区,以及一个宽度异于所述第一透光区的宽度的第二透光区,所述第二透光区中的特定区域对应所述转动件的零位;或者,所述多个非透光区包括多个宽度相同的第一非透光区,以及一个宽度异于所述第一非透光区的宽度的第二非透光区,所述第二非透光区中的特定区 域对应所述转动件的零位;The device according to claim 46, wherein said plurality of light transmissive regions comprise a plurality of first light transmissive regions of the same width, and a second transmissive width different from a width of said first light transmissive region a light region, a specific one of the second light transmitting regions corresponds to a zero position of the rotating member; or, the plurality of non-light transmitting regions includes a plurality of first non-light transmitting regions having the same width, and a width difference a second non-transmissive region of a width of the first non-transmissive region, a specific region of the second non-transparent region The field corresponds to the zero position of the rotating member;所述根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定所述转动件的转动位置,包括:Determining a rotational position of the rotating member according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation, including:根据脉冲序列,以及或运算、与运算、异或运算和非运算之间的至少一种,确定特定时间,所述特定时间为所述至少一个光开关中的其中一个光开关最近一次检测到所述特定区域的时间;Determining a specific time according to at least one of a pulse sequence, and an OR operation, an AND operation, an exclusive OR operation, and a non-operation, the specific time being the last time one of the at least one optical switches is detected The time of a particular area;根据所述特定时间确定所述转动件的转动位置。The rotational position of the rotating member is determined according to the specific time.
- 根据权利要求47所述的装置,其特征在于,所述根据所述特定时间确定所述转动件的转动位置,包括:The device according to claim 47, wherein the determining the rotational position of the rotating member according to the specific time comprises:确定在所述脉冲序列中,当前距离所述特定区域的时间之间所出现的完整信号周期数,其中码盘上相邻两个第一透光区对应的脉冲的上升沿/下降沿之间的时长,或者相邻两个第一非透光区对应的脉冲的上升沿/下降沿之间的时长表示一个完整信号周期;Determining, in the pulse sequence, the number of complete signal periods occurring between the current distances from the particular region, wherein between the rising edge/falling edge of the pulse corresponding to the adjacent two first light transmitting regions on the code wheel The duration, or the length between the rising edge/falling edge of the pulse corresponding to the two adjacent first non-transmissive regions, represents a complete signal period;获取目标转动角度,所述目标转动角度为在当前距离所述光开关最近一次检测到的脉冲的上升沿/下降沿时间之间,所述码盘所转动的角度;Obtaining a target rotation angle, the angle of rotation of the code wheel between a rising edge/falling edge time of a pulse currently detected by the optical switch at a current distance;根据所述完整信号周期、所述码盘所转动的角度确定所述转动件的转动位置。Determining a rotational position of the rotating member according to the complete signal period and an angle at which the code wheel rotates.
- 根据权利要求48所述的装置,其特征在于,所述获取目标转动角度,包括:The apparatus according to claim 48, wherein said obtaining a target rotation angle comprises:获取第一时长,所述第一时长是当前距离所述光开关最近一次检测到的脉冲的上升沿/下降沿时间之间的时长;Obtaining a first duration, wherein the first duration is a duration between a rising edge/falling edge time of a pulse detected by the optical switch last time;获取所述转动件当前周期的转动速度;Obtaining a rotation speed of the current period of the rotating member;根据所述第一时长、所述转动件当前周期的转动速度确定目标转动角度。The target rotation angle is determined according to the first duration and the rotational speed of the current period of the rotating member.
- 根据权利要求49所述的装置,其特征在于,所述获取所述转动件当前周期的转动速度包括:The device according to claim 49, wherein the obtaining the rotational speed of the current period of the rotating member comprises:根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多 个信号周期的脉冲序列,确定所述转动件当前周期的转动速度。According to at least one of the optical switches before the current time, the output of one of the optical switches is A pulse sequence of signal periods determining the rotational speed of the current period of the rotating member.
- 根据权利要求50所述的装置,其特征在于,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括:The apparatus according to claim 50, wherein said determining a rotation of said current period of said rotating member based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current time Speed, including:计算所述多个信号周期中每个信号周期对应的角度以及时长;Calculating an angle and a duration corresponding to each of the plurality of signal periods;计算所述多个信号周期的角度之和与时长之和;Calculating a sum of an angle of the plurality of signal periods and a duration;根据所述角度之和与所述时长之和,确定所述转动件当前周期的转动速度。The rotational speed of the current period of the rotating member is determined according to the sum of the angles and the duration.
- 根据权利要求50所述的装置,其特征在于,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括:The apparatus according to claim 50, wherein said determining a rotation of said current period of said rotating member based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current time Speed, including:计算所述多个信号周期中每个信号周期对应的角度以及时长;Calculating an angle and a duration corresponding to each of the plurality of signal periods;对每个信号周期设置一加权系数;Setting a weighting coefficient for each signal period;根据每个信号周期对应的加权系数,对该信号周期对应的角度进行加权处理;Weighting the angle corresponding to the signal period according to a weighting coefficient corresponding to each signal period;计算所述多个信号周期的时长之和以及加权处理后的多个信号周期的角度之和;Calculating a sum of durations of the plurality of signal periods and a sum of angles of the plurality of signal periods after the weighting process;根据所述时长之和以及所述角度之和,确定所述转动件当前周期的转动速度。The rotational speed of the current period of the rotating member is determined according to the sum of the durations and the sum of the angles.
- 根据权利要求50所述的装置,其特征在于,所述根据当前时刻之前至少一个所述光开关中的其中一个光开关输出的多个信号周期的脉冲序列,确定所述转动件当前周期的转动速度,包括:The apparatus according to claim 50, wherein said determining a rotation of said current period of said rotating member based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current time Speed, including:在所述转动件分别以不同转速转动时,分别获取所述码盘在不同转速下的多个信号周期的脉冲序列,根据所述多个信号周期的脉冲序列预测在当前转速下所述转动件当前周期的转动速度。When the rotating members are respectively rotated at different rotational speeds, respectively acquiring pulse sequences of the plurality of signal periods of the code wheel at different rotational speeds, and predicting the rotating parts at the current rotational speed according to the pulse sequence of the plurality of signal periods The rotational speed of the current cycle.
- 根据权利要求48所述的装置,其特征在于,所述获取目标转动角度,包括: The apparatus according to claim 48, wherein said obtaining a target rotation angle comprises:获取第一时长,所述第一时长是当前距离所述光开关最近一次检测到的脉冲的上升沿/下降沿时间之间的时长;Obtaining a first duration, wherein the first duration is a duration between a rising edge/falling edge time of a pulse detected by the optical switch last time;获取第二时长,所述第二时长是当前周期的预计总时长,其中,一个周期从所述脉冲序列中的一个脉冲的上升沿/下降沿持续到下一个脉冲的上升沿/下降沿;Obtaining a second duration, wherein the second duration is an estimated total duration of the current period, wherein one period continues from a rising edge/falling edge of one pulse in the pulse sequence to a rising edge/falling edge of the next pulse;根据所述第一时长和所述第二时长,以及所述周期对应的码盘圆心角确定目标转动角度。Determining a target rotation angle according to the first duration and the second duration, and a center angle of the code wheel corresponding to the period.
- 根据权利要求54所述的装置,其特征在于,所述获取当前周期的预计总时长,包括:The apparatus according to claim 54, wherein said obtaining an estimated total duration of the current period comprises:根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长。Determining an estimated total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of the at least one of the optical switches prior to the current period.
- 根据权利要求55所述的装置,其特征在于,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:The apparatus according to claim 55, wherein said determining a total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current period comprises:计算所述多个信号周期中每个信号周期对应的总时长,Calculating a total duration corresponding to each of the plurality of signal periods,计算所述多个信号周期的总时长之和;Calculating a sum of total durations of the plurality of signal periods;根据所述总时长之和以及所述信号周期的个数,确定当前周期的预计总时长。The estimated total duration of the current period is determined based on the sum of the total durations and the number of signal periods.
- 根据权利要求55所述的装置,其特征在于,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:The apparatus according to claim 55, wherein said determining a total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current period comprises:计算所述多个信号周期中每个信号周期对应的总时长;Calculating a total duration corresponding to each of the plurality of signal periods;对每个信号周期设置一加权系数;Setting a weighting coefficient for each signal period;根据每个信号周期对应的加权系数,对该信号周期对应的总时长进行加权处理;Weighting the total duration corresponding to the signal period according to a weighting coefficient corresponding to each signal period;计算所述加权处理后的多个信号周期的总时长之和;Calculating a sum of total durations of the plurality of signal periods after the weighting process;根据所述加权处理后的多个信号周期的总时长之和以及所述信号周期 的个数,确定当前周期的预计总时长。a sum of total durations of the plurality of signal periods after the weighting process and the signal period The number of times to determine the estimated total duration of the current cycle.
- 根据权利要求55所述的装置,其特征在于,所述根据当前周期之前至少一个所述光开关中的一个光开关输出的多个信号周期的脉冲序列,确定当前周期的预计总时长,包括:The apparatus according to claim 55, wherein said determining a total duration of the current period based on a pulse sequence of a plurality of signal periods output by one of said at least one of said optical switches before said current period comprises:在所述转动件分别以不同转速转动时,分别获取所述码盘在不同转速下的多个信号周期的脉冲序列,根据所述多个信号周期的脉冲序列预测在当前转速下所述当前周期的预计总时长。 When the rotating members are respectively rotated at different rotational speeds, respectively acquiring pulse sequences of the plurality of signal periods of the code wheel at different rotational speeds, and predicting the current period at the current rotational speed according to the pulse sequence of the plurality of signal periods Estimated total duration.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/082521 WO2018195966A1 (en) | 2017-04-28 | 2017-04-28 | Position detecting device, method, and rotating system |
CN201780004601.1A CN108700410B (en) | 2017-04-28 | 2017-04-28 | Position detection device, method and rotation system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/082521 WO2018195966A1 (en) | 2017-04-28 | 2017-04-28 | Position detecting device, method, and rotating system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018195966A1 true WO2018195966A1 (en) | 2018-11-01 |
Family
ID=63844073
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/082521 WO2018195966A1 (en) | 2017-04-28 | 2017-04-28 | Position detecting device, method, and rotating system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108700410B (en) |
WO (1) | WO2018195966A1 (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2020101287A (en) * | 2018-12-24 | 2020-07-02 | ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツングRobert Bosch Gmbh | Method and apparatus for examining drive belt for continuously variable transmission |
CN109507662B (en) * | 2018-12-25 | 2021-07-27 | 无锡格跃科技有限公司 | Low-cost high-precision radar azimuth measurement method |
WO2020142961A1 (en) * | 2019-01-09 | 2020-07-16 | 深圳市大疆创新科技有限公司 | Measurement method, measurement device, and laser radar |
CN110568751B (en) * | 2019-08-30 | 2021-03-30 | 歌尔股份有限公司 | Watch, time calibration method thereof and readable storage medium |
CN110702038A (en) * | 2019-10-15 | 2020-01-17 | 中国航空工业集团公司洛阳电光设备研究所 | System for measuring platform absolute angle in pod product and data processing method |
CN110794383A (en) * | 2019-11-07 | 2020-02-14 | 上海禾赛光电科技有限公司 | Code disc, photoelectric encoder and laser radar |
CN111332504B (en) * | 2020-03-12 | 2021-08-27 | 北京理工大学 | Low-speed driving device of satellite and quick positioning method using same |
CN111821173A (en) * | 2020-07-01 | 2020-10-27 | 艾力斯特健康科技有限公司 | Foot bottom massage device and control mode thereof |
CN113589258A (en) * | 2021-07-09 | 2021-11-02 | 佛山华国光学器材有限公司 | Radar system capable of monitoring motor rotation speed, implementation method thereof and radar equipment |
WO2023165389A1 (en) * | 2022-03-04 | 2023-09-07 | 深圳市精锋医疗科技股份有限公司 | Power apparatus, surgical robot and joint method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0895062A1 (en) * | 1997-07-31 | 1999-02-03 | Robert Bosch Gmbh | Optical incremental encoder |
CN1293349A (en) * | 1999-10-13 | 2001-05-02 | 均景中国有限公司 | Opparatus and method for determining the absolute position of object by using index type coder |
DE4436784B4 (en) * | 1993-10-26 | 2005-08-18 | Carl Zeiss | Absolute position measuring system |
CN101153808A (en) * | 2007-09-19 | 2008-04-02 | 苏州一光仪器有限公司 | Single-code track absolute angle coded circle and encoder using the same |
CN102322882A (en) * | 2011-06-02 | 2012-01-18 | 浙江大学 | Absolute shaft angle encoding system based on array detector |
CN205766191U (en) * | 2016-05-19 | 2016-12-07 | 深圳市越疆科技有限公司 | Code-disc and rotary encoder and robot |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE2357061C2 (en) * | 1973-11-15 | 1985-02-14 | Robert Bosch Gmbh, 7000 Stuttgart | Device for the delivery of uniform pulses at certain angular positions of a rotatable shaft and for the formation of at least one reference signal |
FR2410826A1 (en) * | 1977-12-02 | 1979-06-29 | Renault | METHOD OF MARKING THE ANGULAR POSITION OF A PART ANIMATED BY A ROTATIONAL MOVEMENT AND APPARATUS BY APPLYING |
DE3035012C2 (en) * | 1980-09-17 | 1982-08-12 | Fa. Carl Zeiss, 7920 Heidenheim | Device for angle measurement |
US4644157A (en) * | 1982-03-08 | 1987-02-17 | Matsushita Electric Industrial Co., Ltd. | Optical rotation detecting apparatus |
JP3460351B2 (en) * | 1994-02-08 | 2003-10-27 | セイコーエプソン株式会社 | Position detecting device and position detecting method |
US6043483A (en) * | 1997-12-29 | 2000-03-28 | Radica China Limited | Apparatus and method using an indexed-encoder to sense the absolute position of an object with a single set of optics |
JP4950713B2 (en) * | 2007-03-20 | 2012-06-13 | オークマ株式会社 | Absolute encoder |
CN102322887A (en) * | 2011-06-28 | 2012-01-18 | 奇瑞汽车股份有限公司 | Rotary angle sensor for steering wheel |
JP2014020904A (en) * | 2012-07-18 | 2014-02-03 | Nakatani Sangyo Co Ltd | Encoder and slit plate to be used in the encoder |
US20140260522A1 (en) * | 2013-03-14 | 2014-09-18 | The Raymond Corporation | Home position indicator, encoder position measurement system including a home position indicator, and a method of detecting a home position |
CN105675029B (en) * | 2016-01-07 | 2018-03-20 | 三一重型能源装备有限公司 | A kind of wind generator system and speed-position detection device and method |
CN106324582A (en) * | 2016-10-28 | 2017-01-11 | 深圳市镭神智能系统有限公司 | Laser radar system based on time of flight |
-
2017
- 2017-04-28 WO PCT/CN2017/082521 patent/WO2018195966A1/en active Application Filing
- 2017-04-28 CN CN201780004601.1A patent/CN108700410B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4436784B4 (en) * | 1993-10-26 | 2005-08-18 | Carl Zeiss | Absolute position measuring system |
EP0895062A1 (en) * | 1997-07-31 | 1999-02-03 | Robert Bosch Gmbh | Optical incremental encoder |
CN1293349A (en) * | 1999-10-13 | 2001-05-02 | 均景中国有限公司 | Opparatus and method for determining the absolute position of object by using index type coder |
CN101153808A (en) * | 2007-09-19 | 2008-04-02 | 苏州一光仪器有限公司 | Single-code track absolute angle coded circle and encoder using the same |
CN102322882A (en) * | 2011-06-02 | 2012-01-18 | 浙江大学 | Absolute shaft angle encoding system based on array detector |
CN205766191U (en) * | 2016-05-19 | 2016-12-07 | 深圳市越疆科技有限公司 | Code-disc and rotary encoder and robot |
Also Published As
Publication number | Publication date |
---|---|
CN108700410A (en) | 2018-10-23 |
CN108700410B (en) | 2021-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018195966A1 (en) | Position detecting device, method, and rotating system | |
US5138154A (en) | Shaft angle encoder with rotating off-axis interference pattern | |
CN111587382A (en) | Laser measuring device and unmanned vehicles | |
US8887587B2 (en) | Measurement device | |
TW201015054A (en) | Encoder system, signal processing method, and transmission signal generation output device | |
EP3004511B1 (en) | Detection of the position of a winding drum coupled to a motor via a damping flexible element | |
US20030141466A1 (en) | Position measuring instrument | |
JP2006119082A (en) | Steering angle detecting device | |
Platt | Encyclopedia of Electronic Components Volume 3: Sensors for Location, Presence, Proximity, Orientation, Oscillation, Force, Load, Human Input, Liquid and Gas Properties, Light, Heat, Sound, and Electricity | |
CN209148867U (en) | Optical detector installation error detection device | |
JPH08178700A (en) | Incremental encoder | |
JP5200778B2 (en) | Linear motion rotary motor position detection device and linear motion rotary motor | |
US20170160104A1 (en) | Reflective encoder | |
JP4932343B2 (en) | Angle detection apparatus and method | |
JP2015031648A (en) | Laser tracker | |
CN110988895A (en) | Measuring device, system and method | |
CN211786100U (en) | Measuring device and system | |
JP2508829Y2 (en) | Reflective mirror device for coordinate reading | |
JP2000046554A (en) | Laser measuring instrument | |
JP3168067B2 (en) | Omnidirectional sensor | |
JPS6089703A (en) | Original position detecting mechanism | |
JPS631357A (en) | Detector for number of revolutions of motor | |
JP2578842B2 (en) | Azimuth measuring method by optical azimuth measuring device and apparatus used for the azimuth measuring method | |
JP2766721B2 (en) | Displacement detector | |
RU2609275C1 (en) | Scanning laser range-finder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17907431 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17907431 Country of ref document: EP Kind code of ref document: A1 |