Transmission part position detection method, device and system and storage medium
By applying a driving voltage to the actuating winding to generate an excitation magnetic field, driving the magnet to rotate and obtaining an induced electromotive force, the problems of wear and motion direction recognition in the position detection of transmission components are solved, and non-contact, reliable position data generation is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-03-13
AI Technical Summary
Existing contact-type transmission component position detection solutions suffer from mechanical wear, short lifespan, and inability to sense the direction of motion.
An excitation magnetic field is generated by applying a driving voltage of the target polarity to the actuating winding, which drives the magnet and its connected transmission components to rotate. An induced electromotive force is obtained by using the induction winding, and the position data of the transmission components is generated according to the timing of the polarity change of the induced electromotive force.
It achieves contactless and wear-free detection of the rotation direction of transmission components, reliably identifies the direction of motion and generates position data, and avoids wear and signal jitter problems caused by mechanical contact.
Smart Images

Figure CN121655366A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of position detection technology, and more specifically, to a position detection method, apparatus, system, and storage medium for a transmission component. Background Technology
[0002] In industrial automation, precision control, and motion feedback systems, reliable detection of the real-time position and direction of motion of mechanical components is crucial for achieving precise control.
[0003] Currently, common detection methods mainly rely on mechanical limit switches or micro switches. Their working principle is simple: when a moving part physically touches the switch's trigger lever, the internal contacts of the switch connect or disconnect, thereby generating an on / off signal to indicate "arrival" or "departure" from a certain position.
[0004] However, this type of contact solution suffers from problems such as mechanical wear, short lifespan, signal jitter, and inability to detect the direction of movement.
[0005] Therefore, a solution is needed. Summary of the Invention
[0006] In view of this, embodiments of this application provide a method, apparatus, system, and storage medium for detecting the position of a transmission component, in order to solve the problems of mechanical wear, short lifespan, and inability to sense the direction of movement in existing contact-based detection schemes.
[0007] In a first aspect, embodiments of this application provide a method for detecting the position of a transmission component. The method is applied to the control module of a system for detecting the position of a transmission component. The system includes the control module, an actuation winding, a rotatable magnet, a transmission component mechanically connected to the magnet, and an induction winding. The method includes: During the target time period, a driving voltage of the target polarity is applied to the actuating winding to generate an excitation magnetic field in the target direction, and the magnet and its connected transmission components are driven to rotate in the target direction based on the excitation magnetic field. The induced electromotive force generated by the induction winding during the target time period is obtained; the induced electromotive force is generated by the change in magnetic flux passing through the induction winding caused by the rotation of the magnet in the target direction; The position data of the transmission component is generated based on the timing of the polarity change of the induced electromotive force.
[0008] In one feasible implementation, applying a driving voltage of target polarity to the actuating winding during a target time period to generate an excitation magnetic field in a target direction, and driving the magnet and its connected transmission component to rotate in the target direction based on the excitation magnetic field, includes: During the target time period, driving voltages of different polarities are applied to the actuating winding to generate excitation magnetic fields in different directions; the excitation magnetic fields in different directions are used to drive the magnet and its connected transmission components to rotate bidirectionally.
[0009] In one feasible implementation, the target time period includes a first time period and a second time period; The step of applying a driving voltage of target polarity to the actuating winding during a target time period, causing the actuating winding to generate an excitation magnetic field in a target direction, and driving the magnet and its connected transmission component to rotate in the target direction based on the excitation magnetic field, includes: During the first time period, a first polarity voltage is applied to the actuating winding to generate a first excitation magnetic field; the first excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a first electromagnetic force, which drives the magnet to rotate the transmission component along a first rotation direction; During the second time period, a second polarity voltage is applied to the actuating winding to generate a second excitation magnetic field; the second excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a second electromagnetic force, which drives the magnet to rotate the transmission component along the second rotation direction; Wherein, the first polar voltage and the second polar voltage are in opposite directions, so that the first excitation magnetic field and the second excitation magnetic field are in opposite directions, thereby driving the transmission component to rotate along the first rotation direction and the second rotation direction in opposite directions.
[0010] In one feasible implementation, prior to generating the position data of the transmission component, the method further includes: The induced electromotive force is amplified and filtered.
[0011] In one feasible implementation, generating the position data of the transmission component based on the timing of the polarity change of the induced electromotive force includes: The induced electromotive force is compared with the reference voltage, and the corresponding digital pulse signal is output. The rotation direction and position state of the transmission component are determined based on the timing relationship between the rising and falling edges of the digital pulse signal.
[0012] In one feasible implementation, the method further includes: The target direction of rotation of the transmission component is obtained; the target direction is determined by the target polarity of the driving voltage. Determine the actual rotation direction corresponding to the position data; If the actual rotation direction is consistent with the target direction, the action is considered to have been successfully executed; otherwise, the action is considered to have failed and an exception is triggered.
[0013] Secondly, embodiments of this application also provide a position detection device for a transmission component. The device is mounted on the control module of a position detection system for the transmission component. The system includes the control module, an actuation winding, a rotatable magnet, a transmission component mechanically connected to the magnet, and an induction winding. The device includes: The drive submodule is used to apply a drive voltage of target polarity to the actuating winding during the target time period, so that the actuating winding generates an excitation magnetic field in the target direction, and drives the magnet and its connected transmission components to rotate in the target direction based on the excitation magnetic field. The acquisition submodule is used to acquire the induced electromotive force generated by the induction winding during the target time period; the induced electromotive force is generated by the change in magnetic flux passing through the induction winding caused by the rotation of the magnet in the target direction; A generation submodule is used to generate the position data of the transmission component based on the timing of the polarity change of the induced electromotive force.
[0014] In an optional implementation, the drive submodule is configured to apply a drive voltage of target polarity to the actuating winding during a target time period, causing the actuating winding to generate an excitation magnetic field in a target direction, and to drive the magnet and its connected transmission components to rotate in the target direction based on the excitation magnetic field, comprising: During the target time period, driving voltages of different polarities are applied to the actuating winding to generate excitation magnetic fields in different directions; the excitation magnetic fields in different directions are used to drive the magnet and its connected transmission components to rotate bidirectionally.
[0015] In one optional implementation, the target time period includes a first time period and a second time period; The drive submodule is used to apply a drive voltage of target polarity to the actuating winding during a target time period, causing the actuating winding to generate an excitation magnetic field in a target direction, and driving the magnet and its connected transmission components to rotate in the target direction based on the excitation magnetic field, including: During the first time period, a first polarity voltage is applied to the actuating winding to generate a first excitation magnetic field; the first excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a first electromagnetic force, which drives the magnet to rotate the transmission component along a first rotation direction; During the second time period, a second polarity voltage is applied to the actuating winding to generate a second excitation magnetic field; the second excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a second electromagnetic force, which drives the magnet to rotate the transmission component along the second rotation direction; Wherein, the first polar voltage and the second polar voltage are in opposite directions, so that the first excitation magnetic field and the second excitation magnetic field are in opposite directions, thereby driving the transmission component to rotate along the first rotation direction and the second rotation direction in opposite directions.
[0016] In an optional embodiment, the device further includes: The processing submodule is used to amplify and filter the induced electromotive force before generating the position data of the transmission component.
[0017] In an optional implementation, the generation submodule is used to generate position data of the transmission component based on the timing of the polarity change of the induced electromotive force, including: The induced electromotive force is compared with the reference voltage, and the corresponding digital pulse signal is output. The rotation direction and position state of the transmission component are determined based on the timing relationship between the rising and falling edges of the digital pulse signal.
[0018] In an optional implementation, the device further includes: The direction acquisition submodule is used to acquire the target direction of rotation of the transmission component; the target direction is determined by the target polarity of the driving voltage. The direction determination submodule is used to determine the actual rotation direction corresponding to the position data; The determination submodule is used to determine that the action was successfully executed if the actual rotation direction is consistent with the target direction; otherwise, it is determined that the action failed and an exception is triggered.
[0019] Thirdly, embodiments of this application also provide a position detection system for a transmission component, the system comprising: The control module comprises an actuation winding, a rotatable magnet, a transmission component mechanically connected to the magnet, and an induction winding; the control module is used to perform the steps of the method described in any of the first aspects. The control module is electrically connected to the actuating winding and is used to output the driving voltage; The control module is electrically connected to the induction winding and is used to receive and process the induced electromotive force.
[0020] In one feasible implementation, the magnet is a radially magnetized toroidal magnet or a bar magnet, and the magnetic poles of the magnet are parallel to the plane of rotation of the transmission component.
[0021] In one feasible implementation, the magnet is a radially magnetized toroidal magnet or bar magnet, and the magnetic poles of the magnet are parallel to the plane of rotation of the transmission component.
[0022] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the method as described in any one of the first aspects.
[0023] This application provides a method, apparatus, system, and storage medium for detecting the position of a transmission component. By applying a driving voltage of a target polarity to the actuating winding to generate an excitation magnetic field, a magnet mechanically connected to the transmission component is driven to rotate in a target direction. Simultaneously, the induced electromotive force generated by the change in magnetic flux of the induction winding due to the rotation of the magnet is acquired, and the position data of the transmission component is generated according to the polarity change sequence of the induced electromotive force.
[0024] Compared with existing detection technologies that rely on physical contact, this solution uses the principle of electromagnetic induction to achieve non-contact and wear-free detection of the rotation direction of transmission components. It can reliably identify the direction of motion and generate position data, fundamentally avoiding the problems of wear, lifespan and signal jitter caused by mechanical contact.
[0025] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0026] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 A schematic diagram of the structure of a position detection system for a transmission component provided in an embodiment of this application is shown.
[0028] Figure 2 A schematic diagram of magnet rotation is shown in an embodiment of this application of a position detection system for a transmission component.
[0029] Figure 3 A schematic diagram of magnet rotation is shown in an embodiment of this application of a position detection system for a transmission component.
[0030] Figure 4 A flowchart of a position detection method for a transmission component provided in an embodiment of this application is shown.
[0031] Figure 5 A schematic diagram of the structure of a position detection device for a transmission component provided in an embodiment of this application is shown. Detailed Implementation
[0032] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0033] In industrial automation, precision control, and motion feedback systems, reliable detection of the real-time position and direction of motion of mechanical components is crucial for achieving precise control.
[0034] Currently, common detection methods mainly rely on mechanical limit switches or micro switches. Their working principle is simple: when a moving part physically touches the switch's trigger lever, the internal contacts of the switch connect or disconnect, thereby generating an on / off signal to indicate "arrival" or "departure" from a certain position.
[0035] However, this type of contact solution suffers from problems such as mechanical wear, short lifespan, signal jitter, and inability to detect the direction of movement.
[0036] Based on this, embodiments of this application provide a method, apparatus, system, and storage medium for detecting the position of a transmission component, which are described below through embodiments.
[0037] To facilitate understanding of this embodiment, a method for detecting the position of a transmission component disclosed in this application will first be described in detail. The method is applied to the control module of a transmission component position detection system. Before introducing the method for detecting the position of the transmission component, the transmission component position detection system involved in this solution will be introduced first.
[0038] like Figure 1 As shown, the system includes: a control module, an actuation winding, a rotatable magnet 101, a transmission component 102 mechanically connected to the magnet, and an induction winding. The magnet 101, driven by the excitation magnetic field generated by the actuation winding, can drive the transmission component 102 to rotate in the direction of the arrow, thereby achieving the following: Figure 2 or Figure 3 The diagram is shown below. For easier understanding, the transmission component can be set as a paddle.
[0039] Figure 4A flowchart of a position detection method for a transmission component provided in an embodiment of this application is shown, including the following steps: Step 401: Apply a driving voltage of target polarity to the actuating winding during the target time period to generate an excitation magnetic field in the target direction in the actuating winding, and drive the magnet and its connected transmission components to rotate in the target direction based on the excitation magnetic field.
[0040] The "target time period" here can be a preset time window for initiating one or more complete actions, or it can be a time period dynamically determined in response to an external trigger signal. Its core purpose is to supply power to the actuating winding, enabling it to generate a magnetic field capable of driving the movement of the transmission components.
[0041] The control module (such as an MCU or a dedicated driver chip) generates a level signal with specific polarity and pulse width on one or more of its output pins according to preset program logic or received control commands. This signal, after possible power amplification, is applied to both ends of the operating winding. The operating winding is essentially an inductor coil. When current (generated by the drive voltage) flows through it, a stable magnetic field, i.e., the "excitation magnetic field," is established inside the coil and in the surrounding space.
[0042] The "target polarity" determines the direction of the excitation magnetic field. For example, when the driving voltage is positive, the coil current flows in a certain direction, and the generated magnetic field has its N and S poles pointing in one direction; when the driving voltage is reversed, the current direction is opposite, and the polarity of the magnetic field also reverses. This characteristic is the physical basis for realizing bidirectional driving.
[0043] The generated excitation magnetic field interacts with the magnetic field of the permanent magnet fixed to the transmission component. According to the principle that opposite magnetic poles attract and like magnetic poles repel, this interaction is converted into an electromagnetic force (attractive or repulsive force) acting on the magnet. Since the magnet and the transmission component are rigidly connected, this electromagnetic force is converted into torque that drives the transmission component to rotate around its axis, thus achieving "rotation in the target direction." This target direction can be a unidirectional, one-time action (such as unlocking or ejecting) or a specific direction in a bidirectional action (such as opening or closing). The polarity, timing, and duration of the driving voltage jointly determine the initiation, direction, and amplitude of the transmission component's movement.
[0044] Step 402: Obtain the induced electromotive force generated by the induction winding during the target time period; the induced electromotive force is generated by the change in magnetic flux passing through the induction winding caused by the rotation of the magnet in the target direction.
[0045] This step involves sensing and acquiring signals of the motion state of the transmission component, based on Faraday's law of electromagnetic induction. The induction winding is strategically positioned at a fixed location near the trajectory of the transmission component; it is not energized itself but serves only as a highly sensitive magnetic flux change detector.
[0046] As the transmission component moves with the magnet, the spatial magnetic field distribution generated by the magnet changes accordingly. This change is reflected in the continuous variation in the number of magnetic field lines (i.e., magnetic flux) passing through the area enclosed by the induction winding.
[0047] For example, if a magnet is rotating in a certain direction and approaches the induction winding, the magnetic flux through the winding will increase; as the magnet moves away from the winding, the magnetic flux will decrease. According to Lenz's law, the induction winding will generate an induced electromotive force (EMF) whose direction always attempts to "oppose" the change in magnetic flux that caused it. Therefore, during a complete motion of the magnet "approaching" and "moving away" from the induction winding, the polarity of the induced EMF will undergo a reversal.
[0048] In this scheme, the "target time period" covers the complete or main stage of the driving action in step 401. Therefore, the induced electromotive force signal picked up by the induction winding fully or partially includes the voltage waveform generated by the continuous change of magnetic flux during the process of the transmission component moving from the start of movement to reaching the target position (or passing the detection point). This signal is usually a weak analog voltage and may contain positive and negative polarities.
[0049] The induced electromotive force can be obtained in hardware by directly connecting the two ends of the induction winding to the analog signal acquisition pin (such as the ADC port) of the control module, or by connecting it to the analog signal acquisition pin (such as the ADC port) of the control module via a signal conditioning circuit (such as an amplifier or filter). In this embodiment, the method further includes: The induced electromotive force is amplified and filtered.
[0050] The control module samples or monitors the terminal voltage of the induction winding during the target time period, thereby capturing the original electrical signal reflecting the change in magnetic flux. This signal is the direct basis for subsequent position and direction determination.
[0051] It is worth noting that the induced electromotive force is generated purely from the movement of the magnet and is unrelated to whether the actuating winding is continuously energized. This means that even after the drive pulse ends, if the transmission component continues to move due to inertia, the induction winding can still detect the corresponding change in electromotive force, thus providing the possibility of monitoring the entire motion process.
[0052] Step 403: Generate the position data of the transmission component based on the polarity change sequence of the induced electromotive force.
[0053] The core of this step is to convert the continuous analog voltage waveform (i.e., induced electromotive force) output by the induction winding into positional information that can clearly describe the motion state and direction of the transmission component. This conversion relies on the accurate interpretation of the sequence of signal polarity changes over time.
[0054] Assume the induced electromotive force is a complex analog signal with oscillating decay characteristics. The process of generating position data typically involves the following processing layers: First, there is the signal normalization process. The original induced electromotive force (EMF) signal usually has a small amplitude and may contain high-frequency oscillations caused by resonance or electromagnetic interference. After acquiring this induced EMF signal, if it has been appropriately amplified and filtered, the signal-to-noise ratio can be improved and the waveform smoothed, preparing for subsequent threshold determination. However, this step is not always necessary.
[0055] Secondly, the extraction of key temporal features is crucial. This is the direct basis for generating position data. In a feasible implementation, generating the position data of the transmission component based on the polarity change timing of the induced electromotive force includes: The induced electromotive force is compared with the reference voltage, and a corresponding digital pulse signal is output; the rotation direction and position state of the transmission component are determined according to the timing relationship between the rising and falling edges of the digital pulse signal.
[0056] That is, (for example, through a voltage comparator circuit) the processed induced electromotive force is compared in real time with a preset reference voltage (such as zero volts or a small bias voltage close to the baseline). When the signal voltage is higher than the reference voltage, it is determined to be a "positive polarity" state; when it is lower than the reference voltage, it is determined to be a "negative polarity" state. Thus, the continuous analog waveform is converted into a series of logical sequences consisting of "positive polarity periods" and "negative polarity periods".
[0057] Finally, the mapping and generation of location data is crucial. Mechanical motion is inferred by analyzing the temporal structure of the aforementioned logical sequence. For example: Determination of the start of motion: When the signal is detected to cross the reference voltage for the first time from a long-term baseline steady state (corresponding to the stationary position of the transmission component), position data indicating that the transmission component has started can be generated.
[0058] Determining the direction of movement: The direction of the first crossing is crucial. If the first crossing is from low to high (creating a "positive polarity" interval), then it is mapped to the first direction (e.g., ...). Figures 1 to 2 The direction of movement; conversely, if the first crossing is from high to low, it is mapped to the opposite direction ( Figures 1 to 3 (Direction) movement. This achieves the most basic directional interpretation of the "polarity change sequence".
[0059] Determining the movement phase and stopping point: Observe the end of the first major polarity interval (i.e., the signal crosses the reference voltage again and returns to near the baseline). This usually corresponds to the transmission component completing a major stroke or a significant decrease in speed. At this point, data indicating "the transmission component has moved to the target area or stopped" can be generated.
[0060] For more complex motions (such as damped oscillations), the sequence, duration, and number of multiple alternating positive and negative intervals can be further analyzed. By matching these time-series patterns using preset rules, more refined position data can be generated, such as "in motion," "stable in position," and "with jitter."
[0061] Therefore, this step transforms the voltage-time relationship of the induced electromotive force waveform on the time axis into a logical polarity-time relationship. Then, according to pre-calibrated or designed mapping rules, this logical timing sequence is translated into an understanding and report of the physical position and motion state of the transmission component. The advantage of this method is that it perceives the time characteristics of the motion vector in principle, rather than the existence of a single node, thus providing directional and process information that traditional switches cannot provide.
[0062] In summary, the position detection method, apparatus, system, and storage medium of the transmission component provided in this application apply a driving voltage of a target polarity to the actuating winding to generate an excitation magnetic field, thereby driving a magnet mechanically connected to the transmission component to rotate in a target direction. At the same time, the induced electromotive force generated by the change in magnetic flux of the induction winding due to the rotation of the magnet is acquired, and the position data of the transmission component is generated according to the polarity change sequence of the induced electromotive force.
[0063] Compared with existing detection technologies that rely on physical contact, this solution uses the principle of electromagnetic induction to achieve non-contact and wear-free detection of the rotation direction of transmission components. It can reliably identify the direction of motion and generate position data, fundamentally avoiding the problems of wear, lifespan and signal jitter caused by mechanical contact.
[0064] In one feasible implementation, step 403 includes: During the target time period, driving voltages of different polarities are applied to the actuating winding to generate excitation magnetic fields in different directions; the excitation magnetic fields in different directions are used to drive the magnet and its connected transmission components to rotate bidirectionally.
[0065] That is, during the target time period, the control module applies drive voltages of different polarities to the actuating winding in a time-sharing manner. The following description uses an example where the target time period includes two drive phases: a first time period and a second time period. In the first driving phase, a first polarity voltage is applied to the actuating winding to generate a first excitation magnetic field. The first excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a first electromagnetic force, which drives the magnet to rotate the transmission component along the first rotation direction.
[0066] This stage is the initial action of the bidirectional drive process, and its purpose is to move the transmission components from their initial position (e.g., Figure 1 Starting from the position shown, proceed in a preset first direction (such as...). Figure 2 The control module outputs a voltage signal with a specific polarity within a specified first time period, denoted as the first polarity voltage. This voltage is applied to both ends of the operating winding via the drive circuit, causing current to flow through the coil in a certain direction. According to the magnetic effect of the current, this current establishes a stable and directional magnetic field inside and around the operating winding, namely the first excitation magnetic field. At this time, the permanent magnet (magnet) fixed on the transmission component is within the range of action of this excitation magnetic field. The two magnetic fields follow the basic principle of magnetic pole interaction: unlike magnetic poles attract, and like magnetic poles repel. This interaction force, namely the first electromagnetic force, is effectively transmitted to the transmission component rigidly connected to the magnet and converted into torque that drives it to rotate around the axis. Thus, the transmission component begins to rotate in the set first direction (e.g., the first direction of rotation). Figure 2 The direction of the angular displacement is generated. The mechanical motion generated in this stage is the direct physical source of the subsequent generation of the first induced electromotive force signal.
[0067] In the second driving phase, a second polarity voltage is applied to the actuating winding to generate a second excitation magnetic field. The second excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a second electromagnetic force, which drives the magnet to rotate the transmission component along a second rotation direction. The first polarity voltage and the second polarity voltage are opposite in direction, so that the first excitation magnetic field and the second excitation magnetic field are opposite in direction, thereby driving the transmission component to rotate along a first rotation direction and a second rotation direction that are opposite in direction.
[0068] This stage is the return or reverse action of the drive process, the purpose of which is to move the transmission component from the position after the first stage ends to another position or back to the initial position (along...). Figure 3(Directional movement). That is, when the direction of movement needs to be changed, the control module switches its output and applies a level signal opposite to the first polarity voltage during the subsequent second time period, i.e., a second polarity voltage. This polarity reversal causes the direction of the current flowing through the actuating winding to change. According to Ampere's law, the change in the current direction directly causes the polarity of the magnetic field generated by the actuating winding to reverse, thereby generating a second excitation magnetic field opposite to the direction of the first excitation magnetic field. At this time, the same permanent magnet on the transmission component is in this excitation magnetic field after the direction is reversed. The change in the direction of the magnetic field causes the direction of the interaction force between the permanent magnet and the excitation magnetic field to also reverse, generating a second electromagnetic force opposite to the direction of the first electromagnetic force. Driven by this reverse electromagnetic force, the magnet drives the transmission component to begin rotating in a second rotation direction completely opposite to the first rotation direction (towards). Figure 3 (In the direction shown) rotation. This reverse motion is the physical basis for generating the second segment of induced electromotive force signal with opposite polarity. The two driving stages are executed continuously, together constituting a complete reciprocating motion cycle of the transmission component, providing a complete bidirectional motion sample with clear directional characteristics for accurate direction and position detection based on the polarity timing of the induced electromotive force.
[0069] This application embodiment enables the transmission component to perform a complete, clearly directional reciprocating motion in both directions by actively controlling the polarity switching of the driving voltage. This generates electromotive force signals with distinct positive and negative polarity characteristics and a defined timing in the induction winding, providing a clear and reliable physical basis for subsequent non-contact and accurate determination of motion direction and position changes.
[0070] In one feasible implementation, the method further includes: Obtain the target direction of rotation of the transmission component; the target direction is determined by the target polarity of the driving voltage; determine the actual rotation direction corresponding to the position data; if the actual rotation direction is consistent with the target direction, the action is determined to be successful; otherwise, the action is determined to be unsuccessful and an exception is triggered.
[0071] This step is executed after the position data is generated. Its core purpose is to achieve closed-loop verification of drive and feedback, thereby improving the reliability of system control. First, the control module obtains the expected result of this action, i.e., the "target direction," from its own control logic. This target direction is directly determined by the "target polarity" of the currently (or just applied) drive voltage. For example, applying a positive voltage corresponds to the target direction of the "first rotation direction," or applying a negative voltage corresponds to the target direction of the "second rotation direction." This correspondence is a preset control logic.
[0072] Next, the "actual rotation direction" of the transmission component will be extracted from the position data generated in step 403. This actual direction is an objective result directly determined based on the timing of the polarity change of the induced electromotive force.
[0073] The system then compares the aforementioned "target direction" with the "actual rotation direction" for consistency: If both are consistent, it indicates that the issued drive command has been accurately translated into the expected mechanical movement, and therefore the action is judged to have been "executed successfully". This is the logical exit under normal circumstances.
[0074] If the two are inconsistent, or if no valid actual rotation direction is detected within a reasonable time after the drive voltage is applied, an anomaly is indicated. Possible causes include, but are not limited to: mechanical jamming of transmission components, magnet detachment, open or short circuit in windings, drive circuit failure, etc. In this case, it will be judged as "action failure" and the "abnormal handling" process will be triggered immediately. The specific measures for abnormal handling can be determined according to the system design, such as: immediately stopping the drive and alarming, recording the fault log, attempting to restore the action, or switching to a safe state.
[0075] This closed-loop verification step upgrades this solution from an open-loop position detection method to a reliable solution with self-diagnostic capabilities. It can not only "see" the movement, but also "judge" whether the movement is correct, thereby proactively detecting faults and avoiding a series of subsequent problems (such as process errors, equipment damage, or safety accidents) that may be caused by actuator failure, greatly enhancing the robustness and security of the system.
[0076] Based on the same technical concept, this application embodiment also provides a position detection device for a transmission component. The device is mounted on the control module of a position detection system for the transmission component. The system includes the control module, an actuation winding, a rotatable magnet, a transmission component mechanically connected to the magnet, and an induction winding.
[0077] like Figure 5 As shown, the device includes: The drive submodule 501 is used to apply a drive voltage of target polarity to the actuating winding during the target time period, so that the actuating winding generates an excitation magnetic field in the target direction, and drives the magnet and its connected transmission components to rotate in the target direction based on the excitation magnetic field.
[0078] The acquisition submodule 502 is used to acquire the induced electromotive force generated by the induction winding during the target time period; the induced electromotive force is generated by the change in magnetic flux passing through the induction winding caused by the rotation of the magnet in the target direction.
[0079] The generation submodule 503 is used to generate the position data of the transmission component according to the polarity change sequence of the induced electromotive force.
[0080] In one feasible implementation, the drive submodule is configured to apply a drive voltage of target polarity to the actuating winding during a target time period, causing the actuating winding to generate an excitation magnetic field in a target direction, and driving the magnet and its connected transmission component to rotate in the target direction based on the excitation magnetic field, comprising: During the target time period, driving voltages of different polarities are applied to the actuating winding to generate excitation magnetic fields in different directions; the excitation magnetic fields in different directions are used to drive the magnet and its connected transmission components to rotate bidirectionally.
[0081] In one alternative implementation, the target time period includes a first time period and a second time period.
[0082] The drive submodule is used to apply a drive voltage of target polarity to the actuating winding during a target time period, causing the actuating winding to generate an excitation magnetic field in a target direction, and driving the magnet and its connected transmission components to rotate in the target direction based on the excitation magnetic field, including: During the first time period, a first polarity voltage is applied to the actuating winding to generate a first excitation magnetic field; the first excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a first electromagnetic force, which drives the magnet to rotate the transmission component along the first rotation direction.
[0083] During the second time period, a second polarity voltage is applied to the actuating winding to generate a second excitation magnetic field; the second excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a second electromagnetic force, which drives the magnet to rotate the transmission component along the second rotation direction.
[0084] Wherein, the first polar voltage and the second polar voltage are in opposite directions, so that the first excitation magnetic field and the second excitation magnetic field are in opposite directions, thereby driving the transmission component to rotate along the first rotation direction and the second rotation direction in opposite directions.
[0085] In an optional implementation, the device further includes: The processing submodule is used to amplify and filter the induced electromotive force before generating the position data of the transmission component.
[0086] In an optional implementation, the generation submodule is used to generate position data of the transmission component based on the timing of the polarity change of the induced electromotive force, including: The induced electromotive force is compared with the reference voltage, and the corresponding digital pulse signal is output.
[0087] The rotation direction and position state of the transmission component are determined based on the timing relationship between the rising and falling edges of the digital pulse signal.
[0088] In an optional implementation, the device further includes: The direction acquisition submodule is used to acquire the target direction of rotation of the transmission component; the target direction is determined by the target polarity of the driving voltage.
[0089] The direction determination submodule is used to determine the actual rotation direction corresponding to the position data.
[0090] The determination submodule is used to determine that the action was successfully executed if the actual rotation direction is consistent with the target direction; otherwise, it is determined that the action failed and an exception is triggered.
[0091] This application embodiment also provides a position detection system for a transmission component, the system comprising: The control module comprises an actuation winding, a rotatable magnet, a transmission component mechanically connected to the magnet, and an induction winding; the control module is used to perform the steps of any of the methods described in the above embodiments.
[0092] The control module is electrically connected to the actuating winding and is used to output the driving voltage.
[0093] The control module is electrically connected to the induction winding and is used to receive and process the induced electromotive force.
[0094] In one feasible implementation, the magnet is a radially magnetized toroidal magnet or bar magnet, and the magnetic poles of the magnet are parallel to the plane of rotation of the transmission component.
[0095] In one feasible implementation, the magnet is a radially magnetized toroidal magnet or bar magnet, and the magnetic poles of the magnet are parallel to the plane of rotation of the transmission component.
[0096] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to perform the steps as described in the embodiments.
[0097] In this embodiment, the computer program, when run by the processor, can also execute other machine-readable instructions to perform other methods as described in the embodiments. For details on the specific execution steps and principles, please refer to the description of the embodiments, which will not be repeated here.
[0098] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interface; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0099] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0100] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0101] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0102] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for detecting the position of a transmission component, characterized in that, The method is applied to the control module of a position detection system for a transmission component. The system includes the control module, an actuation winding, a rotatable magnet, a transmission component mechanically connected to the magnet, and an induction winding. The method includes: During the target time period, a driving voltage of the target polarity is applied to the actuating winding to generate an excitation magnetic field in the target direction, and the magnet and its connected transmission components are driven to rotate in the target direction based on the excitation magnetic field. The induced electromotive force generated by the induction winding during the target time period is obtained; the induced electromotive force is generated by the change in magnetic flux passing through the induction winding caused by the rotation of the magnet in the target direction; The position data of the transmission component is generated based on the timing of the polarity change of the induced electromotive force.
2. The method according to claim 1, characterized in that, The step of applying a driving voltage of target polarity to the actuating winding during a target time period, causing the actuating winding to generate an excitation magnetic field in a target direction, and driving the magnet and its connected transmission component to rotate in the target direction based on the excitation magnetic field, includes: During the target time period, driving voltages of different polarities are applied to the actuating winding to generate excitation magnetic fields in different directions; the excitation magnetic fields in different directions are used to drive the magnet and its connected transmission components to rotate bidirectionally.
3. The method according to claim 2, characterized in that, The target time period includes a first time period and a second time period; The step of applying a driving voltage of target polarity to the actuating winding during a target time period, causing the actuating winding to generate an excitation magnetic field in a target direction, and driving the magnet and its connected transmission component to rotate in the target direction based on the excitation magnetic field, includes: During the first time period, a first polarity voltage is applied to the actuating winding to generate a first excitation magnetic field; the first excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a first electromagnetic force, which drives the magnet to rotate the transmission component along a first rotation direction; During the second time period, a second polarity voltage is applied to the actuating winding to generate a second excitation magnetic field; the second excitation magnetic field interacts with the permanent magnetic field of the magnet to generate a second electromagnetic force, which drives the magnet to rotate the transmission component along the second rotation direction; Wherein, the first polar voltage and the second polar voltage are in opposite directions, so that the first excitation magnetic field and the second excitation magnetic field are in opposite directions, thereby driving the transmission component to rotate along the first rotation direction and the second rotation direction in opposite directions.
4. The method according to claim 1, characterized in that, Before generating the position data of the transmission component, the method further includes: The induced electromotive force is amplified and filtered.
5. The method according to claim 1, characterized in that, The step of generating position data for the transmission component based on the timing of the polarity change of the induced electromotive force includes: The induced electromotive force is compared with the reference voltage, and the corresponding digital pulse signal is output. The rotation direction and position state of the transmission component are determined based on the timing relationship between the rising and falling edges of the digital pulse signal.
6. The method according to claim 3, characterized in that, The method further includes: The target direction of rotation of the transmission component is obtained; the target direction is determined by the target polarity of the driving voltage. Determine the actual rotation direction corresponding to the position data; If the actual rotation direction is consistent with the target direction, the action is considered to have been successfully executed; otherwise, the action is considered to have failed and an exception is triggered.
7. A position detection device for a transmission component, characterized in that, The device is mounted on the control module of the position detection system of the transmission component. The system includes the control module, the actuation winding, the rotatable magnet, the transmission component mechanically connected to the magnet, and the induction winding. The device includes: The drive submodule is used to apply a drive voltage of target polarity to the actuating winding during the target time period, so that the actuating winding generates an excitation magnetic field in the target direction, and drives the magnet and its connected transmission components to rotate in the target direction based on the excitation magnetic field. The acquisition submodule is used to acquire the induced electromotive force generated by the induction winding during the target time period; the induced electromotive force is generated by the change in magnetic flux passing through the induction winding caused by the rotation of the magnet in the target direction; A generation submodule is used to generate the position data of the transmission component based on the timing of the polarity change of the induced electromotive force.
8. A position detection system for a transmission component, characterized in that, The system includes: The control module comprises an actuation winding, a rotatable magnet, a transmission component mechanically connected to the magnet, and an induction winding; the control module is used to perform the method as described in any one of claims 1-6. The control module is electrically connected to the actuating winding and is used to output the driving voltage; The control module is electrically connected to the induction winding and is used to receive and process the induced electromotive force.
9. The position detection system according to claim 8, characterized in that, The magnet is a radially magnetized ring magnet or bar magnet, and the magnetic pole direction of the magnet is parallel to the rotation plane of the transmission component.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the position detection method for the transmission component as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Holder, holder control method and shooting device
CN115373432A
Angular position sensor
CN120252482A