CN117110952B - Signal processing method and signal processing device for Hall sensor - Google Patents

Signal processing method and signal processing device for Hall sensor Download PDF

Info

Publication number
CN117110952B
CN117110952B CN202311045576.5A CN202311045576A CN117110952B CN 117110952 B CN117110952 B CN 117110952B CN 202311045576 A CN202311045576 A CN 202311045576A CN 117110952 B CN117110952 B CN 117110952B
Authority
CN
China
Prior art keywords
signal
monitoring
separation point
separation
hall sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311045576.5A
Other languages
Chinese (zh)
Other versions
CN117110952A (en
Inventor
沈娟
王君
陈杰
张佳伟
严雨宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NANJING ZHONGXU ELECTRONICS SCIENCE AND TECHNOLOGY CO LTD
Original Assignee
NANJING ZHONGXU ELECTRONICS SCIENCE AND TECHNOLOGY CO LTD
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NANJING ZHONGXU ELECTRONICS SCIENCE AND TECHNOLOGY CO LTD filed Critical NANJING ZHONGXU ELECTRONICS SCIENCE AND TECHNOLOGY CO LTD
Priority to CN202311045576.5A priority Critical patent/CN117110952B/en
Publication of CN117110952A publication Critical patent/CN117110952A/en
Application granted granted Critical
Publication of CN117110952B publication Critical patent/CN117110952B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/0023Electronic aspects, e.g. circuits for stimulation, evaluation, control; Treating the measured signals; calibration
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/02Measuring direction or magnitude of magnetic fields or magnetic flux
    • G01R33/06Measuring direction or magnitude of magnetic fields or magnetic flux using galvano-magnetic devices
    • G01R33/07Hall effect devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/02Measuring direction or magnitude of magnetic fields or magnetic flux
    • G01R33/10Plotting field distribution ; Measuring field distribution

Landscapes

  • Physics & Mathematics (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The invention provides a signal processing method and a signal processing device for a Hall sensor, wherein the signal processing method and the signal processing device comprise the following steps: controlling a monitoring target of the analog Hall sensor to move according to a preset action track of the monitoring target, acquiring an output signal of the analog Hall sensor by using signal acquisition configuration equipment to generate a corresponding signal monitoring graph, and generating a signal separation point corresponding to the signal monitoring graph by interaction between a user and the signal acquisition configuration equipment; after judging that the monitoring target is moved according to the preset times, the signal acquisition configuration equipment obtains a plurality of signal monitoring graphs corresponding to the preset action tracks of the monitoring target, and segments and fuses the plurality of signal monitoring graphs according to the recorded signal separation points to obtain a plurality of signal segments; the signal acquisition configuration equipment receives and correspondingly stores the output interface and control information of the processing equipment configured by the user for each signal segment to obtain configuration data of the processing equipment.

Description

Signal processing method and signal processing device for Hall sensor
Technical Field
The present invention relates to data processing technologies, and in particular, to a signal processing method and a signal processing device for a hall sensor.
Background
The hall sensor is a magnetic field sensor made according to the hall effect. The hall sensor is divided into a digital hall sensor and an analog hall sensor according to whether the output quantity is digital quantity or analog quantity. The analog Hall sensor can output a corresponding signal detection diagram by combining detected data.
In the prior art, a linear analog hall sensor is available for monitoring the moving process of a mobile device, when the moving process of a mobile device is monitored, the closer the distance of the mobile device is, the larger the output signal is, and then a signal monitoring diagram is generated, and then the control of the mobile device is performed in combination with the signal monitoring diagram, for example, when a signal intensity is reached, the speed of the mobile device is controlled to be changed, or the mobile device is controlled to stop moving, etc. However, in the prior art, the data for controlling the mobile device in combination with the signal monitoring chart is uniformly configured by the manufacturer, and cannot be adaptively changed in combination with the actual requirement of the user, so that the user cannot control the mobile device better in some situations.
Therefore, how to obtain the interactive data of the user according to the user requirements automatically generates the configuration data of the signal monitoring graph by utilizing the interactive data so as to meet the control requirements of the user on the mobile equipment becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a signal processing method and a signal processing device for a Hall sensor, which can acquire interactive data of a user in combination with the requirement of the user, and automatically generate configuration data of a signal monitoring diagram by utilizing the interactive data so as to meet the control requirement of the user on mobile equipment.
In a first aspect of an embodiment of the present invention, there is provided a signal processing method for a hall sensor, including:
installing a linear analog Hall sensor at a specific position for monitoring a monitoring target, connecting a signal output end of the linear analog Hall sensor with signal acquisition configuration equipment, and connecting the signal acquisition configuration equipment with processing equipment to be configured;
controlling a monitoring target of the analog Hall sensor to move according to a preset action track of the monitoring target, acquiring an output signal of the analog Hall sensor by using signal acquisition configuration equipment to generate a corresponding signal monitoring graph, and generating a signal separation point corresponding to the signal monitoring graph by interaction between a user and the signal acquisition configuration equipment;
after judging that the monitoring target is moved according to the preset times, the signal acquisition configuration equipment obtains a plurality of signal monitoring graphs corresponding to the preset action tracks of the monitoring target, and segments and fuses the plurality of signal monitoring graphs according to the recorded signal separation points to obtain a plurality of signal segments;
the signal acquisition configuration equipment receives and correspondingly stores a processing equipment output interface and control information configured by a user for each signal segment to obtain configuration data of the processing equipment;
and configuring the processing equipment based on the configuration data, and controlling the corresponding output interface to output corresponding control information when judging that the acquisition signal of the analog Hall sensor reaches the corresponding signal section after the processing equipment is directly connected with the analog Hall sensor.
Optionally, in one possible implementation manner of the first aspect, the controlling the monitoring target of the analog hall sensor to move according to a preset action track of the monitoring target, the signal acquisition configuration device generates a corresponding signal monitoring graph for output signal acquisition of the analog hall sensor, and the signal acquisition configuration device includes:
after the initial trigger button of the signal acquisition configuration equipment is triggered, starting the monitoring of the trigger state of the action trigger button, and obtaining the initial moment when the initial trigger button is triggered;
generating an initial monitoring coordinate system at the starting moment, wherein the transverse axis of the monitoring coordinate system is a time axis, and the vertical axis of the monitoring coordinate system is a signal intensity axis;
and taking the starting moment as the origin time of the transverse axis of the monitoring coordinate system, determining signal points corresponding to the corresponding signal intensity axes according to the output signals of the analog Hall sensors at each moment, and generating corresponding signal monitoring graphs according to the signal points at all moments.
Optionally, in a possible implementation manner of the first aspect, the generating, by interaction between the user and the signal acquisition configuration device, a signal separation point corresponding to the signal monitoring graph includes:
triggering an action trigger button of the signal acquisition configuration equipment when the user judges that the moving track of the monitoring target reaches a preset point position, obtaining the trigger moment when the action trigger button is triggered, and recording the trigger moment on a time axis;
after the termination trigger button of the signal acquisition configuration equipment is triggered, stopping monitoring the trigger state of the action trigger button, obtaining the termination time when the termination trigger button is triggered, taking the time of a time axis corresponding to the termination time as the termination time, and stopping receiving the output signal of the analog Hall sensor;
and generating signal separation points corresponding to the signal monitoring graphs according to the trigger time recorded on the time axis.
Optionally, in one possible implementation manner of the first aspect, the generating, according to the trigger time recorded on the time axis, a signal separation point corresponding to the signal monitoring graph includes:
determining corresponding signal points in a signal monitoring graph according to the triggering time recorded on the time axis, and taking the determined signal points as signal separation points;
and generating a corresponding separation point sequence according to the directions of the starting time and the ending time of all the signal separation points.
Optionally, in a possible implementation manner of the first aspect, the signal acquisition configuration device segments and fuses the plurality of signal monitoring graphs according to the recorded signal separation points to obtain a plurality of signal segments, which includes:
counting a separation point sequence corresponding to each signal monitoring graph, and taking a signal point corresponding to a time period spaced by two adjacent separation points in the separation point sequence as a signal segment;
and counting the number of the signal segments corresponding to each separation point sequence, and if the number of the signal segments of all the signal segments is corresponding, carrying out fusion processing according to the corresponding signal segments in each signal monitoring graph to obtain the signal segments after the fusion processing.
Optionally, in one possible implementation manner of the first aspect, the performing a fusion process according to the corresponding signal segment in each signal monitoring graph to obtain a fused signal segment includes:
counting the signal separation points of the same sequence in the respective separation point sequences of all the signal monitoring graphs to obtain corresponding separation point sets;
if the discrete judgment of the separation point set is passed, taking the average signal value of all the signal separation points in the separation point set as the signal separation points after fusion;
and obtaining the fused signal segments according to the signal separation points of the adjacent sequences after fusion.
Optionally, in one possible implementation manner of the first aspect, the method further includes:
if the number of the signal segments of all the signal segments is not corresponding, outputting and displaying a signal monitoring graph with the number of the signal segments which is not corresponding;
based on the manual addition and/or deletion of signal separation points in the signal monitoring graphs by users, the signal segments and the number of the signal segments corresponding to the corresponding signal monitoring graphs are obtained again according to the manually determined signal separation points; and/or the number of the groups of groups,
based on a user manually merging adjacent signal segments into one signal segment, it is determined that signal separation points common to the merged adjacent signal segments are deleted.
Optionally, in one possible implementation manner of the first aspect, the determining the discreteness of the set of separation points includes:
determining a separation point of the maximum signal value in the separation point set as a first separation point, determining a separation point of the minimum signal value in the separation point set as a second separation point, and calculating average signal values of all signal separation points in the separation point set;
calculating a first difference value between the first separation point and the average signal value and a second difference value between the second separation point and the average signal value, and judging that the separation point set is discrete and judged if the absolute values of the first difference value and the second difference value are smaller than the preset difference value;
if any one of the absolute values of the first difference value and the second difference value is larger than the preset difference value, judging that the discreteness judgment of the separation point set is failed, outputting and displaying the corresponding separation point set according to a preset strategy, and adjusting the signal value of the corresponding separation point in the separation point set manually based on a user.
Optionally, in a possible implementation manner of the first aspect, the outputting, by a preset policy, the display of the set of corresponding separation points and adjusting, based on a signal value of the corresponding separation point in the set of separation points manually by a user, includes:
if the absolute value of the first difference value and/or the second difference value is larger than the preset difference value, calculating a third difference value between all signal values and average signal values except the first separation point and the second separation point in all separation point sets;
determining a separation point with the absolute value of the third difference value larger than the preset difference value as a separation point to be displayed, and determining a first separation point and/or a second separation point with the absolute value of the first difference value and/or the second difference value larger than the preset difference value as a separation point to be displayed;
if the third difference value corresponding to the separation point to be displayed is smaller than 0 or the second separation point is the separation point to be displayed, adding an upward adjustment label at the corresponding signal monitoring graph of the separation point to be displayed;
if the third difference value corresponding to the separation point to be displayed is greater than 0 or the first separation point is the separation point to be displayed, adding a downward adjustment label to the separation point to be displayed at the corresponding signal monitoring graph;
the user adjusts the signal values of the respective separation points within the set of separation points based on the upward adjustment tab and the downward adjustment tab of the separation point.
In a second aspect of an embodiment of the present invention, there is provided a signal processing system for a hall sensor, including:
the connection module is used for installing the linear analog Hall sensor at a specific position for monitoring a monitoring target, connecting the signal output end of the linear analog Hall sensor with signal acquisition configuration equipment, and connecting the signal acquisition configuration equipment with processing equipment to be configured;
the acquisition module is used for controlling a monitoring target of the analog Hall sensor to move according to a preset action track of the monitoring target, the signal acquisition configuration equipment acquires output signals of the analog Hall sensor to generate a corresponding signal monitoring graph, and a user and the signal acquisition configuration equipment mutually generate signal separation points corresponding to the signal monitoring graph;
the processing module is used for obtaining a plurality of signal monitoring graphs corresponding to a preset action track of the monitoring target by the signal acquisition configuration equipment after judging that the monitoring target is moved for a preset number of times, and segmenting and fusing the plurality of signal monitoring graphs according to the recorded signal separation points by the signal acquisition configuration equipment to obtain a plurality of signal segments;
the storage module is used for enabling the signal acquisition configuration equipment to receive and correspondingly store the output interface and the level information of the processing equipment configured by the user for each signal segment, and obtaining configuration data of the processing equipment;
the configuration module is used for configuring the processing equipment based on the configuration data, and controlling the corresponding output interface to output corresponding level information when judging that the acquisition signal of the analog Hall sensor reaches the corresponding signal section after the processing equipment is directly connected with the analog Hall sensor.
The signal processing method and the signal processing device for the Hall sensor are provided with signal acquisition configuration equipment and processing equipment to be configured, the signal acquisition configuration equipment is used for acquiring monitoring data of the linear analog Hall sensor on a monitoring target, and then configuration data of the processing equipment are obtained, so that the monitoring target is configured by the configuration data. In the process of obtaining the monitoring data, the scheme can obtain the interaction data by combining the interaction process of the user, so as to obtain a plurality of signal monitoring graphs and a plurality of signal separation points, obtain the interaction data of the user by combining the user requirements, and automatically generate configuration data of the signal monitoring graphs by utilizing the interaction data so as to meet the control requirements of the user on the mobile equipment.
When the signal monitoring graph is obtained, the method can be used for calculating the starting moment by combining the starting trigger button of the signal acquisition configuration equipment, and then the corresponding signal monitoring graph is obtained by combining the time axis and the signal intensity axis. Then, the scheme can record the triggering time by combining the action triggering key to obtain a plurality of signal separation points, and can record the ending time by combining the action triggering key to stop receiving the control signal. After the signal separation points are obtained, the method can judge the number dimension and the aggregate discrete dimension of the plurality of signal monitoring graphs, so that the signal separation points are better, interactive data of users are obtained by combining the user requirements, and configuration data of the signal monitoring graphs are automatically generated by utilizing the interactive data, so that the control requirements of the users on the mobile equipment are met.
Drawings
Fig. 1 is a schematic flow chart of a signal processing method for a hall sensor according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a signal processing device for a hall sensor according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The technical scheme of the invention is described in detail below by specific examples. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Referring to fig. 1, a flow chart of a signal processing method for a hall sensor according to an embodiment of the present invention includes S1-S5:
s1, installing a linear analog Hall sensor at a specific position for monitoring a monitoring target, connecting a signal output end of the linear analog Hall sensor with signal acquisition configuration equipment, and connecting the signal acquisition configuration equipment with processing equipment to be configured.
It can be understood that, in order to perform the data correspondence configuration, first, the present solution needs to install a linear analog hall sensor at a specific position for monitoring the monitoring target. The monitoring target can be mobile equipment, and the mobile equipment moves according to the corresponding movement track; the specific position for monitoring the monitoring target can be the moving end point of the mobile device, and it can be understood that the closer the mobile device is to the moving end point, the closer the mobile device is to the linear analog hall sensor, and the greater the signal intensity output by the linear analog hall sensor.
It should be noted that, in this scheme, the signal output end of the linear analog hall sensor is connected with the signal acquisition configuration device, and then the signal acquisition configuration device is connected with the processing device to be configured. The signal acquisition configuration equipment is used for acquiring signals output by the linear analog Hall sensor; the processing device may be a controller that controls the movement of the mobile device, for example, a control motor or the like.
S2, controlling a monitoring target of the analog Hall sensor to move according to a preset action track of the monitoring target, acquiring output signals of the analog Hall sensor by the signal acquisition configuration equipment to generate a corresponding signal monitoring graph, and generating signal separation points corresponding to the signal monitoring graph by interaction of a user and the signal acquisition configuration equipment.
After hardware setting is finished, the scheme can control the monitoring target of the analog Hall sensor to move according to the preset action track of the monitoring target, then output signals of the analog Hall sensor are acquired in real time by utilizing the signal acquisition configuration equipment, and corresponding signal monitoring graphs are synchronously generated.
Meanwhile, the user needs to interact with the signal acquisition configuration device to generate a signal separation point corresponding to the signal monitoring graph, and a specific mode is described below.
In some embodiments, in S2 (the controlling the monitoring target of the analog hall sensor to move according to the preset action track thereof, and the signal acquisition configuration device generates a corresponding signal monitoring chart for the output signal acquisition of the analog hall sensor) includes S21-S23:
s21, after the initial trigger button of the signal acquisition configuration equipment is triggered, starting monitoring of the trigger state of the action trigger button, and obtaining the initial moment when the initial trigger button is triggered.
The signal acquisition configuration equipment of the scheme is provided with the initial trigger button and the action trigger button, a user can control the initial trigger button to trigger, after the initial trigger button is triggered, the monitoring of the trigger state of the action trigger button can be started, the initial moment when the initial trigger button is triggered is obtained, and the interaction process is monitored and acquired in real time.
S22, generating an initial monitoring coordinate system at the starting moment, wherein the transverse axis of the monitoring coordinate system is a time axis, and the vertical axis of the monitoring coordinate system is a signal intensity axis.
First, the present solution generates an initial monitoring coordinate system at a starting time, where a horizontal axis of the monitoring coordinate system is a time axis and a vertical axis of the monitoring coordinate system is a signal intensity axis.
S23, taking the starting moment as the origin time of the transverse axis of the monitoring coordinate system, determining signal points corresponding to corresponding signal intensity axes according to output signals of the analog Hall sensors at each moment, and generating corresponding signal monitoring graphs according to the signal points at all moments.
The method comprises the steps of taking the starting moment as the origin time of a transverse axis of a monitoring coordinate system, simulating output signals of a Hall sensor according to each moment to determine signal points corresponding to corresponding signal intensity axes, and finally counting the signal points at all moments to generate corresponding signal monitoring graphs.
In some embodiments, in S2 (where the user interacts with the signal acquisition configuration device to generate a signal separation point corresponding to the signal monitoring graph) includes S24-S26:
and S24, triggering the action trigger button of the signal acquisition configuration equipment when the user judges that the moving track of the monitoring target reaches the preset point position, obtaining the trigger moment when the action trigger button is triggered, and recording the trigger moment on a time axis.
When the user judges that the moving track of the monitoring target reaches the preset point position, the action trigger button of the signal acquisition configuration equipment is triggered to interact, the trigger time when the action trigger button is triggered is obtained, and the trigger time is recorded on a time axis.
And S25, after the termination trigger button of the signal acquisition configuration equipment is triggered, stopping monitoring the trigger state of the action trigger button, obtaining the termination time when the termination trigger button is triggered, taking the time of a time axis corresponding to the termination time as termination time, and stopping receiving the output signal of the analog Hall sensor.
The signal acquisition configuration equipment of the scheme is further provided with a termination trigger button, and after the termination trigger button is triggered, the monitoring of the trigger state of the action trigger button can be stopped.
Meanwhile, the scheme can obtain the termination time when the termination trigger button is triggered, the time of the time axis corresponding to the termination time is taken as the termination time, the output signal of the analog Hall sensor is stopped being received, the initial interaction process is completed, and corresponding data is obtained by combining the requirements of a user.
S26, generating signal separation points corresponding to the signal monitoring graphs according to the trigger time recorded on the time axis.
The scheme can combine the triggering time recorded on the time axis to generate the signal separation point corresponding to the signal monitoring graph. It will be appreciated that a signal break may be formed between two adjacent signal separation points.
Wherein S26 (generating signal separation points corresponding to the signal monitoring graphs according to the trigger time recorded on the time axis) includes S261-S262:
and S261, determining corresponding signal points in the signal monitoring graph according to the triggering time recorded on the time axis, and taking the determined signal points as signal separation points.
The scheme can be used for determining corresponding signal points in the signal monitoring graph by combining trigger moments recorded on a time axis, and then taking the determined signal points as signal separation points.
S262, generating a corresponding separation point sequence according to the directions of the starting time and the ending time of all the signal separation points.
After the signal separation points are obtained, the scheme can generate corresponding separation point sequences according to the directions of the starting time and the ending time of all the signal separation points. That is, the signal separation points are sequenced from front to back according to the acquisition time.
And S3, after judging that the monitoring target is moved for a preset number of times, the signal acquisition configuration equipment obtains a plurality of signal monitoring graphs corresponding to a preset action track corresponding to the monitoring target, and segments and fuses the plurality of signal monitoring graphs according to the recorded signal separation points to obtain a plurality of signal segments.
In order to improve the accuracy of configuration data, the above operation can be repeated for a plurality of times, after judging that the monitoring target is moved for a preset number of times, the signal acquisition configuration device obtains a plurality of signal monitoring graphs corresponding to a preset action track corresponding to the monitoring target, and then processes the plurality of signal monitoring graphs.
The signal acquisition configuration equipment segments and fuses the plurality of signal monitoring graphs according to the recorded signal separation points to obtain a plurality of signal segments.
It is worth mentioning that obtaining a plurality of signal segments can satisfy the control requirement of the user. For example, in a first signal segment, the user wants to monitor the target to run at a greater speed, in a second signal segment, the user wants to monitor the target to run at a medium speed, and so on, with the speed getting smaller and smaller until stopped. The foregoing is by way of example only.
The signal acquisition configuration device segments and fuses the plurality of signal monitoring graphs according to the recorded signal separation points to obtain a plurality of signal segments, and the signal acquisition configuration device comprises S31-S32:
s31, counting a separation point sequence corresponding to each signal monitoring graph, and taking a signal point corresponding to a time period spaced by two adjacent separation points in the separation point sequence as a signal segment.
Firstly, the scheme can obtain a separation point sequence corresponding to each signal monitoring graph, and then a signal point corresponding to a time period separated by two adjacent separation points in the separation point sequence is used as a signal segment.
S32, counting the number of signal segments of the signal segments corresponding to each separation point sequence, and if the number of signal segments of all the signal segments is corresponding, carrying out fusion processing according to the corresponding signal segments in each signal monitoring graph to obtain the fused signal segments.
After the signal segments are obtained, the method can verify the number dimension of the signal segments, firstly, the number of the signal segments corresponding to each separation point sequence is counted, and if the number of the signal segments of all the signal segments corresponds, the number dimension of the signal segments is indicated to be corresponding. The scheme needs to perform fusion processing according to the corresponding signal segments in each signal monitoring graph to obtain the signal segments after the fusion processing.
The step of performing fusion processing according to the corresponding signal segments in each signal monitoring graph to obtain the signal segments after the fusion processing comprises S321-S323:
s321, counting the signal separation points of the same sequence in the respective separation point sequences of all the signal monitoring graphs to obtain corresponding separation point sets.
When fusion processing is carried out, the method can count signal separation points with the same sequence in the respective separation point sequences of all the signal monitoring graphs to obtain corresponding separation point sets. For example, at the same time, the first category is ordered to a set of points of separation, while the second category is ordered to a set of points of separation.
S322, if the judgment of the discreteness of the separation point set is passed, taking the average signal value of all the signal separation points in the separation point set as the signal separation points after fusion.
After the separation point set is obtained, the scheme can carry out the discreteness judgment on the separation point set, and after the discreteness judgment is passed, the scheme can take the average signal value of all the signal separation points in the separation point set as the fused signal separation point.
In some embodiments, the discrete decision for a set of separation points by:
and determining a separation point of the maximum signal value in the separation point set as a first separation point, determining a separation point of the minimum signal value in the separation point set as a second separation point, and calculating the average signal value of all the signal separation points in the separation point set.
When discrete judgment is carried out, the scheme can determine the separation point of the maximum signal value in the separation point set as a first separation point, then determine the separation point of the minimum signal value in the separation point set as a second separation point, and then calculate the average signal value of all the signal separation points in the separation point set.
And calculating a first difference value between the first separation point and the average signal value and a second difference value between the second separation point and the average signal value, and judging that the separation point set discreteness judgment passes if the absolute values of the first difference value and the second difference value are smaller than the preset difference value.
The method calculates a first difference value between the first separation point and the average signal value and a second difference value between the second separation point and the average signal value, and if absolute values of the first difference value and the second difference value are smaller than a preset difference value, the discrete value is smaller, and then the separation point set discrete value judgment is judged to pass.
If any one of the absolute values of the first difference value and the second difference value is larger than the preset difference value, judging that the discreteness judgment of the separation point set is failed, outputting and displaying the corresponding separation point set according to a preset strategy, and adjusting the signal value of the corresponding separation point in the separation point set manually based on a user.
If any one of the absolute values of the first difference value and the second difference value is larger than a preset difference value, and the data discreteness is larger, judging that the discreteness of the separation point set is not judged, outputting and displaying the corresponding separation point set according to a preset strategy, and adjusting the signal value of the corresponding separation point in the separation point set based on the manual operation of a user. I.e. the user can actively make adjustments to the data.
On the basis of the above embodiment, the outputting, by a preset policy, the display of the set of corresponding separation points and the adjustment of the signal values of the corresponding separation points in the set of separation points based on the manual operation of the user include:
if the absolute value of the first difference value and/or the second difference value is larger than the preset difference value, calculating a third difference value between all signal values and average signal values except the first separation point and the second separation point in all the separation point sets.
If the absolute value of the first difference value and/or the second difference value is greater than the preset difference value, the scheme needs to calculate a third difference value between all signal values and average signal values except the first separation point and the second separation point in all separation point sets. It is understood that there are a plurality of third differences.
Determining a separation point with the absolute value of the third difference value larger than the preset difference value as a separation point to be displayed, and determining a first separation point and/or a second separation point with the absolute value of the first difference value and/or the second difference value larger than the preset difference value as a separation point to be displayed.
After obtaining a plurality of third differences, the scheme can determine that the separation point with the absolute value of the third difference being larger than the preset difference is used as the separation point to be displayed, and simultaneously determine that the first separation point and/or the second separation point with the absolute value of the first difference and/or the second difference being larger than the preset difference is used as the separation point to be displayed.
If the third difference value corresponding to the separation point to be displayed is smaller than 0 or the second separation point is the separation point to be displayed, adding an upward adjustment label at the corresponding signal monitoring diagram of the separation point to be displayed.
If the third difference value corresponding to the separation point to be displayed is smaller than 0 or the second separation point is the separation point to be displayed, the signal value is small, and an upward adjustment label is added to the separation point to be displayed at the corresponding signal monitoring diagram according to the scheme.
If the third difference value corresponding to the to-be-displayed separation point is greater than 0 or the first separation point is the to-be-displayed separation point, the explanation signal is greater, and the downward adjustment label is added to the to-be-displayed separation point at the corresponding signal monitoring diagram according to the scheme.
The user adjusts the signal values of the respective separation points within the set of separation points based on the upward adjustment tab and the downward adjustment tab of the separation point.
Finally, the user may combine the upward adjustment tab of a partition point and the downward adjustment tab to adjust the signal value of the corresponding partition point within the set of partition points.
S323, obtaining the fused signal segments according to the signal separation points of the adjacent sequences after fusion.
The scheme can combine the signal separation points of adjacent sequences after fusion to obtain the fused signal segments.
On the basis of the above embodiment, S33 to S35 are further included:
and S33, if the number of the signal segments of all the signal segments is not corresponding, outputting and displaying the signal monitoring graph with the number of the signal segments which is not corresponding.
If the number of the signal segments does not correspond to the number of the signal segments, the scheme can output and display the signal monitoring graph with the number of the signal segments not corresponding to the number of the signal segments so as to instruct a user to adjust data.
S34, based on the fact that the user manually adds and/or deletes the signal separation points in the signal monitoring diagram, the signal segments and the number of the signal segments corresponding to the corresponding signal monitoring diagram are obtained again according to the manually determined signal separation points.
After the signal monitoring graphs are displayed, a user can manually add and/or delete the signal separation points, and then the signal segments and the number of the signal segments corresponding to the corresponding signal monitoring graphs are obtained again by combining the manually determined signal separation points.
S35 and/or determining, based on the user manually merging the adjacent plurality of signal segments into one signal segment, that the signal separation points shared by the merged adjacent signal segments are deleted.
The user may also combine adjacent signal segments into one signal segment and determine that the signal separation points shared by the combined adjacent signal segments are deleted.
And S4, the signal acquisition configuration equipment receives and correspondingly stores the output interface and control information of the processing equipment configured by the user for each signal segment to obtain configuration data of the processing equipment.
After the data processing is finished, the signal acquisition configuration equipment can receive and correspondingly store the output interface and control information of the processing equipment configured by the user for each signal segment to obtain the configuration data of the processing equipment. The control information may be, for example, a movement speed of the monitoring target controlled by each signal segment.
S5, configuring the processing equipment based on the configuration data, and controlling the corresponding output interface to output corresponding control information when judging that the acquisition signal of the analog Hall sensor reaches the corresponding signal section after the processing equipment is directly connected with the analog Hall sensor.
The scheme can be combined with configuration data to configure the processing equipment, and after the processing equipment is directly connected with the analog Hall sensor, corresponding output interfaces are controlled to output corresponding control information when the acquisition signals of the analog Hall sensor are judged to reach corresponding signal segments, and the monitoring target is controlled to act.
Referring to fig. 2, a schematic structural diagram of a signal processing system for a hall sensor according to an embodiment of the present invention includes:
the connection module is used for installing the linear analog Hall sensor at a specific position for monitoring a monitoring target, connecting the signal output end of the linear analog Hall sensor with signal acquisition configuration equipment, and connecting the signal acquisition configuration equipment with processing equipment to be configured;
the acquisition module is used for controlling a monitoring target of the analog Hall sensor to move according to a preset action track of the monitoring target, the signal acquisition configuration equipment acquires output signals of the analog Hall sensor to generate a corresponding signal monitoring graph, and a user and the signal acquisition configuration equipment mutually generate signal separation points corresponding to the signal monitoring graph;
the processing module is used for obtaining a plurality of signal monitoring graphs corresponding to a preset action track of the monitoring target by the signal acquisition configuration equipment after judging that the monitoring target is moved for a preset number of times, and segmenting and fusing the plurality of signal monitoring graphs according to the recorded signal separation points by the signal acquisition configuration equipment to obtain a plurality of signal segments;
the storage module is used for enabling the signal acquisition configuration equipment to receive and correspondingly store the output interface and the level information of the processing equipment configured by the user for each signal segment, and obtaining configuration data of the processing equipment;
the configuration module is used for configuring the processing equipment based on the configuration data, and controlling the corresponding output interface to output corresponding level information when judging that the acquisition signal of the analog Hall sensor reaches the corresponding signal section after the processing equipment is directly connected with the analog Hall sensor.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (9)

1. A signal processing method for a hall sensor, comprising:
installing a linear analog Hall sensor at a specific position for monitoring a monitoring target, connecting a signal output end of the linear analog Hall sensor with signal acquisition configuration equipment, and connecting the signal acquisition configuration equipment with processing equipment to be configured;
controlling a monitoring target of the analog Hall sensor to move according to a preset action track of the monitoring target, acquiring an output signal of the analog Hall sensor by using signal acquisition configuration equipment to generate a corresponding signal monitoring graph, and generating a signal separation point corresponding to the signal monitoring graph by interaction between a user and the signal acquisition configuration equipment;
after judging that the monitoring target is moved according to the preset times, the signal acquisition configuration equipment obtains a plurality of signal monitoring graphs corresponding to the preset action tracks of the monitoring target, and segments and fuses the plurality of signal monitoring graphs according to the recorded signal separation points to obtain a plurality of signal segments;
the signal acquisition configuration equipment receives and correspondingly stores a processing equipment output interface and control information configured by a user for each signal segment to obtain configuration data of the processing equipment;
configuring the processing equipment based on the configuration data, and controlling the corresponding output interface to output corresponding control information when judging that the acquisition signal of the analog Hall sensor reaches a corresponding signal segment after the processing equipment is directly connected with the analog Hall sensor;
the user and the signal acquisition configuration equipment are interacted to generate a signal separation point corresponding to the signal monitoring graph, and the signal separation point comprises:
triggering an action trigger button of the signal acquisition configuration equipment when the user judges that the moving track of the monitoring target reaches a preset point position, obtaining the trigger moment when the action trigger button is triggered, and recording the trigger moment on a time axis;
after the termination trigger button of the signal acquisition configuration equipment is triggered, stopping monitoring the trigger state of the action trigger button, obtaining the termination time when the termination trigger button is triggered, taking the time of a time axis corresponding to the termination time as the termination time, and stopping receiving the output signal of the analog Hall sensor;
and generating signal separation points corresponding to the signal monitoring graphs according to the trigger time recorded on the time axis.
2. The signal processing method for a hall sensor according to claim 1, wherein,
the signal acquisition configuration equipment acquires output signals of the analog Hall sensor to generate a corresponding signal monitoring diagram, and the signal monitoring diagram comprises the following components:
after the initial trigger button of the signal acquisition configuration equipment is triggered, starting the monitoring of the trigger state of the action trigger button, and obtaining the initial moment when the initial trigger button is triggered;
generating an initial monitoring coordinate system at the starting moment, wherein the transverse axis of the monitoring coordinate system is a time axis, and the vertical axis of the monitoring coordinate system is a signal intensity axis;
and taking the starting moment as the origin time of the transverse axis of the monitoring coordinate system, determining signal points corresponding to the corresponding signal intensity axes according to the output signals of the analog Hall sensors at each moment, and generating corresponding signal monitoring graphs according to the signal points at all moments.
3. The signal processing method for a hall sensor according to claim 1, wherein,
the generating signal separation points corresponding to the signal monitoring graphs according to the triggering time recorded on the time axis comprises the following steps:
determining corresponding signal points in a signal monitoring graph according to the triggering time recorded on the time axis, and taking the determined signal points as signal separation points;
and generating a corresponding separation point sequence according to the directions of the starting time and the ending time of all the signal separation points.
4. A signal processing method for a Hall sensor according to claim 3, wherein,
the signal acquisition configuration equipment segments and fuses the plurality of signal monitoring graphs according to the recorded signal separation points to obtain a plurality of signal segments, and the signal acquisition configuration equipment comprises:
counting a separation point sequence corresponding to each signal monitoring graph, and taking a signal point corresponding to a time period spaced by two adjacent separation points in the separation point sequence as a signal segment;
and counting the number of the signal segments corresponding to each separation point sequence, and if the number of the signal segments of all the signal segments is corresponding, carrying out fusion processing according to the corresponding signal segments in each signal monitoring graph to obtain the signal segments after the fusion processing.
5. The signal processing method for a hall sensor according to claim 4, wherein the performing fusion processing according to the corresponding signal segments in each signal monitoring graph to obtain the fused signal segments includes:
counting the signal separation points of the same sequence in the respective separation point sequences of all the signal monitoring graphs to obtain corresponding separation point sets;
if the discrete judgment of the separation point set is passed, taking the average signal value of all the signal separation points in the separation point set as the signal separation points after fusion;
and obtaining the fused signal segments according to the signal separation points of the adjacent sequences after fusion.
6. The signal processing method for a hall sensor according to claim 4, further comprising:
if the number of the signal segments of all the signal segments is not corresponding, outputting and displaying a signal monitoring graph with the number of the signal segments which is not corresponding;
based on the manual addition and/or deletion of signal separation points in the signal monitoring graphs by users, the signal segments and the number of the signal segments corresponding to the corresponding signal monitoring graphs are obtained again according to the manually determined signal separation points; and/or the number of the groups of groups,
based on a user manually merging adjacent signal segments into one signal segment, it is determined that signal separation points common to the merged adjacent signal segments are deleted.
7. The signal processing method for a hall sensor according to claim 4, wherein,
the discrete judgment of the set of separation points comprises the following steps:
determining a separation point of the maximum signal value in the separation point set as a first separation point, determining a separation point of the minimum signal value in the separation point set as a second separation point, and calculating average signal values of all signal separation points in the separation point set;
calculating a first difference value between the first separation point and the average signal value and a second difference value between the second separation point and the average signal value, and judging that the separation point set is discrete and judged if the absolute values of the first difference value and the second difference value are smaller than the preset difference value;
if any one of the absolute values of the first difference value and the second difference value is larger than the preset difference value, judging that the discreteness judgment of the separation point set is failed, outputting and displaying the corresponding separation point set according to a preset strategy, and adjusting the signal value of the corresponding separation point in the separation point set manually based on a user.
8. The signal processing method for a hall sensor according to claim 7, wherein,
the outputting and displaying the corresponding separation point set according to a preset strategy and adjusting the signal value of the corresponding separation point in the separation point set based on the manual operation of a user comprises the following steps:
if the absolute value of the first difference value and/or the second difference value is larger than the preset difference value, calculating a third difference value between all signal values and average signal values except the first separation point and the second separation point in all separation point sets;
determining a separation point with the absolute value of the third difference value larger than the preset difference value as a separation point to be displayed, and determining a first separation point and/or a second separation point with the absolute value of the first difference value and/or the second difference value larger than the preset difference value as a separation point to be displayed;
if the third difference value corresponding to the separation point to be displayed is smaller than 0 or the second separation point is the separation point to be displayed, adding an upward adjustment label at the corresponding signal monitoring graph of the separation point to be displayed;
if the third difference value corresponding to the separation point to be displayed is greater than 0 or the first separation point is the separation point to be displayed, adding a downward adjustment label to the separation point to be displayed at the corresponding signal monitoring graph;
the user adjusts the signal values of the respective separation points within the set of separation points based on the upward adjustment tab and the downward adjustment tab of the separation point.
9. A signal processing system for a hall sensor, comprising:
the connection module is used for installing the linear analog Hall sensor at a specific position for monitoring a monitoring target, connecting the signal output end of the linear analog Hall sensor with signal acquisition configuration equipment, and connecting the signal acquisition configuration equipment with processing equipment to be configured;
the acquisition module is used for controlling a monitoring target of the analog Hall sensor to move according to a preset action track of the monitoring target, the signal acquisition configuration equipment acquires output signals of the analog Hall sensor to generate a corresponding signal monitoring graph, and a user and the signal acquisition configuration equipment mutually generate signal separation points corresponding to the signal monitoring graph;
the processing module is used for obtaining a plurality of signal monitoring graphs corresponding to a preset action track of the monitoring target by the signal acquisition configuration equipment after judging that the monitoring target is moved for a preset number of times, and segmenting and fusing the plurality of signal monitoring graphs according to the recorded signal separation points by the signal acquisition configuration equipment to obtain a plurality of signal segments;
the storage module is used for enabling the signal acquisition configuration equipment to receive and correspondingly store the output interface and the level information of the processing equipment configured by the user for each signal segment, and obtaining configuration data of the processing equipment;
the configuration module is used for configuring the processing equipment based on the configuration data, and controlling the corresponding output interface to output corresponding level information when judging that the acquisition signal of the analog Hall sensor reaches the corresponding signal section after the processing equipment is directly connected with the analog Hall sensor;
the user and the signal acquisition configuration equipment are interacted to generate a signal separation point corresponding to the signal monitoring graph, and the signal separation point comprises:
triggering an action trigger button of the signal acquisition configuration equipment when the user judges that the moving track of the monitoring target reaches a preset point position, obtaining the trigger moment when the action trigger button is triggered, and recording the trigger moment on a time axis;
after the termination trigger button of the signal acquisition configuration equipment is triggered, stopping monitoring the trigger state of the action trigger button, obtaining the termination time when the termination trigger button is triggered, taking the time of a time axis corresponding to the termination time as the termination time, and stopping receiving the output signal of the analog Hall sensor;
and generating signal separation points corresponding to the signal monitoring graphs according to the trigger time recorded on the time axis.
CN202311045576.5A 2023-08-18 2023-08-18 Signal processing method and signal processing device for Hall sensor Active CN117110952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311045576.5A CN117110952B (en) 2023-08-18 2023-08-18 Signal processing method and signal processing device for Hall sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311045576.5A CN117110952B (en) 2023-08-18 2023-08-18 Signal processing method and signal processing device for Hall sensor

Publications (2)

Publication Number Publication Date
CN117110952A CN117110952A (en) 2023-11-24
CN117110952B true CN117110952B (en) 2024-02-02

Family

ID=88803254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311045576.5A Active CN117110952B (en) 2023-08-18 2023-08-18 Signal processing method and signal processing device for Hall sensor

Country Status (1)

Country Link
CN (1) CN117110952B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0505372A1 (en) * 1989-12-15 1992-09-30 Bosch Gmbh Robert Process and device for testing a hall sensor system.
KR20110027972A (en) * 2009-09-11 2011-03-17 성균관대학교산학협력단 Method for estimating and correcting position error of mobile robot with hall sensor
JP2011125148A (en) * 2009-12-11 2011-06-23 Ricoh Co Ltd Drive control device, image forming apparatus, paper carrier and image reading device
KR20130065411A (en) * 2011-12-09 2013-06-19 현대자동차주식회사 Method for hall sensor error detection of motor
CN108833623A (en) * 2018-06-08 2018-11-16 Oppo广东移动通信有限公司 Control method by sliding, device and the electronic device of slide assemblies
CN113132633A (en) * 2021-04-07 2021-07-16 腾讯科技(深圳)有限公司 Image processing method, device, equipment and computer readable storage medium
CN114337388A (en) * 2021-12-24 2022-04-12 广东麦珂威尔健康科技有限公司 Dual-motor fitness equipment driving device based on linear Hall and control method thereof
CN114483948A (en) * 2022-04-01 2022-05-13 南京中旭电子科技有限公司 Hall sensor based control method and device and storage medium
CN115208247A (en) * 2022-09-14 2022-10-18 江苏大中技术股份有限公司 Method and device for measuring rotor position of motor
CN115541229A (en) * 2022-09-29 2022-12-30 东风商用车有限公司 Position calibration system of long-stroke automobile clutch
CN116067273A (en) * 2023-02-22 2023-05-05 苏州壹心汽车科技有限公司 Semi-automatic zero calibration method for accelerator pedal of driving simulator

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116963807A (en) * 2021-03-19 2023-10-27 深圳市韶音科技有限公司 Motion data display method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0505372A1 (en) * 1989-12-15 1992-09-30 Bosch Gmbh Robert Process and device for testing a hall sensor system.
KR20110027972A (en) * 2009-09-11 2011-03-17 성균관대학교산학협력단 Method for estimating and correcting position error of mobile robot with hall sensor
JP2011125148A (en) * 2009-12-11 2011-06-23 Ricoh Co Ltd Drive control device, image forming apparatus, paper carrier and image reading device
KR20130065411A (en) * 2011-12-09 2013-06-19 현대자동차주식회사 Method for hall sensor error detection of motor
CN108833623A (en) * 2018-06-08 2018-11-16 Oppo广东移动通信有限公司 Control method by sliding, device and the electronic device of slide assemblies
CN113132633A (en) * 2021-04-07 2021-07-16 腾讯科技(深圳)有限公司 Image processing method, device, equipment and computer readable storage medium
CN114337388A (en) * 2021-12-24 2022-04-12 广东麦珂威尔健康科技有限公司 Dual-motor fitness equipment driving device based on linear Hall and control method thereof
CN114483948A (en) * 2022-04-01 2022-05-13 南京中旭电子科技有限公司 Hall sensor based control method and device and storage medium
CN115208247A (en) * 2022-09-14 2022-10-18 江苏大中技术股份有限公司 Method and device for measuring rotor position of motor
CN115541229A (en) * 2022-09-29 2022-12-30 东风商用车有限公司 Position calibration system of long-stroke automobile clutch
CN116067273A (en) * 2023-02-22 2023-05-05 苏州壹心汽车科技有限公司 Semi-automatic zero calibration method for accelerator pedal of driving simulator

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Android手机的联合收获机主要部件工况监测***;陈进 等;农业机械学报;第47卷(第S1期);208-212 *
电力拖动设备三相电信号实时监测***开发;雷杨 等;机械科学与技术;第32卷(第08期);63-66 *

Also Published As

Publication number Publication date
CN117110952A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
US10423164B2 (en) Object position measurement with automotive camera using vehicle motion data
US10719946B2 (en) Information processing apparatus, method thereof, and computer-readable storage medium
US6867799B2 (en) Method and apparatus for object surveillance with a movable camera
US7613321B2 (en) Moving object tracking method using occlusion detection of the tracked object, and image processing apparatus
CN109887281A (en) A kind of method and system monitoring traffic events
US20190035091A1 (en) Systems and methods for video processing
CN110216674B (en) Visual servo obstacle avoidance system of redundant degree of freedom mechanical arm
US20180295428A1 (en) Systems and methods for video processing
CN102405483A (en) Object tracking device, object tracking method, and object tracking program
CN117110952B (en) Signal processing method and signal processing device for Hall sensor
CN101179725A (en) Motion detecting method and apparatus
JP6270488B2 (en) Operator monitoring control device and operator monitoring control method
KR102128319B1 (en) Method and Apparatus for Playing Video by Using Pan-Tilt-Zoom Camera
CN107027041B (en) Scene display method and device
US8319865B2 (en) Camera adjusting system and method
CN110089110B (en) Display and display method
KR102427158B1 (en) Apparatus for measuring continuous latency of touch controller connected to touch screen display and method therof
CN107578595A (en) Liquid analytical equipment
CN111382599A (en) Image processing method and device and electronic equipment
CN112783707A (en) Method and system for measuring click response time of touch screen
CA3095002A1 (en) Imaging systems with multiple angles of view
WO2018058312A1 (en) Control method, control device, and electronic device
CN103716543A (en) Mobile terminal and shooting device control method thereof
US7738009B2 (en) Method for following at least one object in a scene
CN107667522A (en) Adjust the length of live image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant