CN114740416A - Hall current sensor testing method and device, computer equipment and storage medium - Google Patents

Hall current sensor testing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114740416A
CN114740416A CN202210443548.8A CN202210443548A CN114740416A CN 114740416 A CN114740416 A CN 114740416A CN 202210443548 A CN202210443548 A CN 202210443548A CN 114740416 A CN114740416 A CN 114740416A
Authority
CN
China
Prior art keywords
sensor
current
signal
hall
output
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.)
Pending
Application number
CN202210443548.8A
Other languages
Chinese (zh)
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.)
Guangdong Yuxinhe New Energy Technology Co.,Ltd.
Original Assignee
Shenzhen Yuxinhe 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 Shenzhen Yuxinhe Technology Co ltd filed Critical Shenzhen Yuxinhe Technology Co ltd
Priority to CN202210443548.8A priority Critical patent/CN114740416A/en
Publication of CN114740416A publication Critical patent/CN114740416A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Magnetic Variables (AREA)

Abstract

The invention belongs to the technical field of Hall current sensor testing, and particularly relates to a Hall current sensor testing method, a Hall current sensor testing device, computer equipment and a storage medium, wherein the method comprises the steps of sending a current calibration standard signal to a Hall current sensor according to a preset current calibration table, and each set of sensor current calibration data comprises a current calibration standard signal and a sensor output standard signal; acquiring a sensor actual output signal output by the Hall current sensor according to the current calibration standard signal; judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor; if the judgment result is yes, generating a current test qualification indication; if not, generating a current test unqualified instruction. The invention realizes the efficient and rapid test of the Hall sensor, greatly improves the precision and the detection efficiency of the detection of the Hall sensor, improves the test efficiency and improves the productivity.

Description

Hall current sensor testing method and device, computer equipment and storage medium
Technical Field
The invention belongs to the technical field of Hall current sensor testing, and particularly relates to a Hall current sensor testing method and device, computer equipment and a storage medium.
Background
The Hall current sensor is based on a magnetic balance type Hall principle, according to the Hall effect principle, current is introduced from a control current end of a Hall element, a magnetic field with magnetic induction intensity is applied in the normal direction of the plane of the Hall element, a Hall potential is generated in the direction vertical to the current and the magnetic field, and the size of the Hall potential is in direct proportion to the product of the control current and the magnetic induction intensity. Since the magnetic field and the output of the hall element have a good linear relationship, the voltage signal output by the hall element can reflect the magnitude of the north-side current, and therefore, the hall element is often used for current testing.
With the continuous development of industrial automation, more and more intelligent devices need to adopt sensors to collect data, and the collected data is subjected to data analysis to predict some possible things, so that the fault shutdown loss is reduced, and the production efficiency is improved. The Hall current sensor is a magnetic field sensor manufactured according to Hall effect, has the advantages of sensitivity to magnetic field, simple structure, small volume, wide frequency response, large output voltage change, long service life and the like, and is widely applied to the aspects of current measurement, monitoring and protection, electric energy management, electric power, communication, meteorology, railways, oil fields, construction, metering, electrolysis, industrial automation technology, detection technology, information processing and the like of alternating current and direct current electric lines and equipment.
At present, the market demand of the hall current sensor is also increasing, so higher requirements are put forward on the production and detection efficiency of the hall current sensor. At present, most of Hall current sensors are manually operated during calibration and detection, and when the Hall current sensors work for a long time, workers are easy to fatigue, so that the test efficiency is reduced, the test precision is reduced, the condition of missed detection is easy to occur, and the personal emotion and mental state of the workers can also cause small influence on the product detection precision and the detection efficiency.
Therefore, it is necessary to design a hall current sensor testing method, device, computer device and storage medium.
Disclosure of Invention
The invention aims to provide a Hall current sensor testing method, a Hall current sensor testing device, computer equipment and a storage medium, and aims to solve the technical problems of low testing precision and low testing efficiency in the Hall current sensor testing in the prior art.
In order to achieve the above object, an embodiment of the present invention provides a hall current sensor testing method, including:
sending a current calibration standard signal to a Hall current sensor according to a preset current calibration table, wherein a plurality of groups of sensor current calibration data are arranged in the current calibration table, and each group of sensor current calibration data comprises a current calibration standard signal and a sensor output standard signal;
acquiring a sensor actual output signal output by the Hall current sensor according to the current calibration standard signal;
judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor;
if the judgment result is yes, generating a current test qualification indication; if not, generating a current test unqualified instruction.
Optionally, the method further includes sending a current calibration standard signal to the hall current sensor according to a preset current calibration table, where:
sequentially sending a plurality of current calibration standard signals to the Hall current sensor;
acquiring sensor output standard signals respectively generated by the Hall current sensor according to each current calibration standard signal, wherein one current calibration standard signal and the corresponding sensor output standard signal form a group of sensor current calibration data;
and generating a current calibration table according to the current calibration data of each sensor.
Optionally, the obtaining of the actual sensor output signal output by the hall current sensor according to the current calibration standard signal further includes:
calculating the error between the current calibration standard signal and the sensor output standard signal according to the preset current calibration table;
and generating an error correction instruction, correcting the error and improving the test precision of the Hall sensor.
Optionally, the current calibration standard signal includes a current calibration standard positive signal and a current calibration standard negative signal;
sending a plurality of current calibration standard signals to the Hall current sensor in sequence, and specifically comprising the following steps:
sequentially sending a plurality of current calibration standard positive signals to the Hall current sensor, and outputting a corresponding sensor output standard signal by the Hall current sensor according to the current calibration standard positive signals after the current calibration standard positive signals are sent to the Hall current sensor;
and sequentially sending a plurality of current calibration standard negative signals to the Hall current sensor, and outputting a corresponding sensor output standard signal by the Hall current sensor according to the current calibration standard negative signals after the current calibration standard negative signals are sent to the Hall current sensor.
Optionally, the sensor actual output signal comprises a sensor actual positive output signal and a sensor actual negative output signal;
acquiring a sensor actual output signal output by the hall current sensor according to the current calibration standard signal, specifically comprising:
acquiring an actual positive output signal of the sensor, which is output by the Hall current sensor according to the current calibration standard positive signal;
and acquiring the actual negative output signal of the sensor, which is output by the Hall current sensor according to the current calibration standard negative signal.
Optionally, judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor; the method specifically comprises the following steps:
judging whether the actual positive output signal of the sensor is matched with the output standard signal direction of the sensor corresponding to the actual positive output signal of the sensor;
and judging whether the actual negative output signal of the sensor is matched with the corresponding output standard signal direction of the sensor.
Optionally, if yes, generating a current test qualification indication; if not, generating a current which is unqualified in the current test, and then:
acquiring an image signal of a Hall current sensor;
judging whether the image data is qualified or not;
if the Hall current sensor is judged to be qualified, a Hall current sensor qualification indication is generated; if not, generating an unqualified Hall current sensor indication.
In order to achieve the above object, an embodiment of the present invention further provides a hall current sensor testing apparatus, where the hall current sensor testing apparatus includes:
the signal sending module is used for sending a current calibration standard signal to the Hall current sensor according to a preset current calibration table, wherein a plurality of groups of sensor current calibration data are arranged in the current calibration table, and each group of sensor current calibration data comprises a current calibration standard signal and a sensor output standard signal;
the signal acquisition module is used for acquiring the actual sensor output signal output by the Hall current sensor according to the current calibration standard signal;
the signal judgment module is used for judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor;
the indication generating module is used for generating a current test qualified indication if the judgment result is yes; if not, generating a current test unqualified instruction.
In order to achieve the above object, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the hall current sensor testing method when executing the computer program.
To achieve the above object, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the hall current sensor testing method.
One or more technical solutions in the hall current sensor testing method, the hall current sensor testing device, the computer device and the storage medium provided by the embodiment of the invention at least have one of the following technical effects:
the invention firstly sends a current calibration standard signal to a Hall current sensor according to a preset current calibration table, when the Hall current sensor receives the current calibration standard signal, an actual output signal is output according to the current calibration standard signal, namely a sensor actual output signal, so the sensor actual output signal is obtained, if the sensor actual output signal is matched with the sensor output standard signal, the Hall current sensor is qualified in test function, so a current test qualified indication is generated, if the sensor actual output signal is not matched with the sensor output standard signal, the actual output signal of the Hall current sensor and the current calibration standard signal received by the Hall current sensor have a certain error, and a current test unqualified indication is generated, so the unqualified Hall current sensor is screened and removed through the current test unqualified indication, in the process of testing the Hall sensor, the current calibration table is arranged in advance, so that the current calibration standard signal is only required to be sent according to the current calibration table, the actual output signal of the sensor is obtained, the actual output signal of the sensor is judged, the Hall sensor can be tested efficiently and quickly, the detection accuracy and detection efficiency of the Hall sensor are improved to a great extent, the test efficiency is improved, and the productivity is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is an application scenario diagram of a hall current sensor testing method according to an embodiment of the present invention;
FIG. 2 is a block diagram of an electronic test apparatus according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a hall current sensor testing method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of generating a current calibration table according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of error correction according to an embodiment of the present invention;
fig. 6 is a schematic flow chart of transmitting a current calibration standard signal according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a process for obtaining an actual output signal according to an embodiment of the present invention;
fig. 8 is a schematic flow chart illustrating a process of determining whether an actual output signal matches an output standard signal according to an embodiment of the present invention;
fig. 9 is a schematic flowchart of zero current value detection according to an embodiment of the present invention;
FIG. 10 is a schematic flow chart of image data acquisition according to an embodiment of the present invention;
fig. 11 is a block diagram of a hall current sensor testing apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram of a hall current sensor testing device according to another embodiment of the present invention;
fig. 13 is a block diagram of a hall current sensor testing device according to a third embodiment of the present invention;
fig. 14 is a block diagram of a hall current sensor testing device according to a fourth embodiment of the present invention;
fig. 15 is a block diagram of a hall current sensor testing apparatus according to another embodiment of the present invention;
fig. 16 is a block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing a relative importance or importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In an embodiment of the present invention, as shown in fig. 1, the hall current sensor testing method according to the present invention may be applied to an application scenario shown in fig. 1, where an electronic testing device 101 sends a current calibration standard signal to a hall current sensor 102 according to a preset current calibration table, where the current calibration table is provided with a plurality of sets of sensor current calibration data, and each set of sensor current calibration data includes a current calibration standard signal and a sensor output standard signal. And acquiring the actual sensor output signal output by the Hall current sensor 102 according to the current calibration standard signal. And judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor. If the judgment result is yes, a current test passing indication is generated. If not, generating a current test unqualified instruction.
The electronic test device 101 is an electronic device for measuring the hall current sensor, and may specifically be a computer device, or a test device having functions of signal transmission, signal reception, signal analysis, and information indication.
In an embodiment of the present invention, the electronic test device 101 has a structure as shown in fig. 2, and the electronic test device 101 includes an upper computer module, a programmable constant-current and constant-voltage source module, a program-controlled current source module, a CAN communication module, a high-definition camera module, and a USB communication module. The programmable constant-current and constant-voltage source module provides a stable working power supply for the Hall circuit sensor. And the upper computer module controls the program control current source module to send a current calibration standard signal to the Hall current sensor. The CAN communication module is connected with the upper computer module and the Hall current sensor, the CAN communication module downloads relevant instructions from the upper computer module and transmits the relevant instructions to the Hall current sensor, and the CAN communication module CAN also acquire relevant data from the Hall current sensor and transmit the relevant data to the upper computer module. The high-definition camera module is connected with the USB communication module so as to establish communication with the upper computer module, and the high-definition camera module acquires an image signal of the Hall sensor and transmits the image signal to the upper computer module through the USB communication module.
When the Hall current sensor is tested, the upper computer module firstly downloads a bootstrap program of the Hall circuit sensor into the micro control unit inside the Hall circuit sensor in an off-line programming mode, and for the Hall current sensor with the bootstrap program being programmed, the upper computer module can directly update the program, modify internal parameters and send the preset current calibration table into the micro control unit of the Hall current sensor. And then, the upper computer can endow each Hall current sensor with a specific ID number by modifying the internal parameters of the Hall current sensors, so that the follow-up management and quick search of the plurality of Hall current sensors are facilitated. In addition, after each Hall current sensor is endowed with a specific ID number, the upper computer module is convenient for recording and storing the Hall current sensors through image signals and problems occurring in the testing process, so that an information base is established, and the follow-up tracking investigation is convenient.
In this embodiment, the upper computer module specifically performs fast parameter setting on the hall current sensor by selecting and using an appropriate baud rate.
In this embodiment, the specific output current range of the program-controlled current source module is 0A to 540A, which can meet the test requirement of the hall current sensor.
After the current calibration table is generated, in order to prevent residual invalid data in the upper computer module and the CAN communication module from influencing subsequent Hall current sensor tests, the upper computer module CAN suspend data transmission of the CAN communication module and clear the invalid data, so that the situation that the subsequent tests are influenced by continuously sending the invalid data between the upper computer module and the CAN communication module is avoided. And after the upper computer module completely sends the current calibration meter to a control unit of the Hall current sensor, the upper computer module CAN restore the communication function with the CAN communication module.
In one embodiment of the present invention, as shown in fig. 3, there is provided a hall current sensor testing method, including:
step S100: sending a current calibration standard signal to a Hall current sensor according to a preset current calibration table, wherein a plurality of groups of sensor current calibration data are arranged in the current calibration table, and each group of sensor current calibration data comprises a current calibration standard signal and a sensor output standard signal.
Specifically, in this step, the preset current calibration table is preset, and a plurality of sets of sensor current calibration data are set in the current calibration table, and each set of sensor current calibration data includes a current calibration standard signal and a sensor output standard signal, so that when data is sent to the hall current sensor, data support is provided, that is, the current calibration standard signal is sent according to the current calibration table, and compared with the case of sending a current signal randomly, more accurate and more efficient signal sending can be realized in this step. In addition, the sensor output standard signal in the current calibration table is preset to provide data support for subsequent test comparison, and test efficiency and accuracy are indirectly improved.
Further, the current calibration standard signal is provided by the program-controlled current source module.
Step S200: and acquiring the actual sensor output signal output by the Hall current sensor according to the current calibration standard signal.
Specifically, the hall current sensor functions as a test current, and when an electrical signal is sent to the hall current sensor, the hall current sensor measures and outputs a current value of the electrical signal. In this step, after the hall current sensor receives the current calibration standard signal, the measurement is performed, and an electrical signal including an actual measurement current value actually measured by the hall current sensor is output, that is, an actual output signal of the sensor.
Step S300: and judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor.
Specifically, in this step, a certain error exists between the actual output signal and the output standard signal, and the criterion for determining whether the actual output signal of the sensor matches the output standard signal of the sensor is to determine whether the error between the actual output signal and the output standard signal is within a predetermined error allowable value, and take a numerical value of five thousandths of the output standard signal as the error allowable value.
Step S400: if the current test result is judged to be yes, a current test pass indication is generated. If not, generating a current test unqualified instruction.
Specifically, if the actual output signal of the sensor matches the sensor output standard signal, the determination is made.
If not, the actual output signal of the sensor is judged to be not matched with the output standard signal of the sensor.
Specifically, the current test passing indication and the current test failing indication can be indicated by means of indicator light flashing, buzzer long ringing or display screen display.
The invention firstly sends a current calibration standard signal to a Hall current sensor according to a preset current calibration table, when the Hall current sensor receives the current calibration standard signal, an actual output signal is output according to the current calibration standard signal, namely a sensor actual output signal, so the sensor actual output signal is obtained, if the sensor actual output signal is matched with the sensor output standard signal, the Hall current sensor is qualified in test function, so a current test qualified indication is generated, if the sensor actual output signal is not matched with the sensor output standard signal, the actual output signal of the Hall current sensor and the current calibration standard signal received by the Hall current sensor have a certain error, and a current test unqualified indication is generated, so the unqualified Hall current sensor is screened and removed through the current test unqualified indication, in the process of testing the Hall sensor, the current calibration table is set in advance, so that the current calibration standard signal is only needed to be sent according to the current calibration table, the actual output signal of the sensor is obtained, the actual output signal of the sensor is judged, the Hall sensor is tested efficiently and quickly, the precision and the detection efficiency of detecting the Hall sensor are improved to a great extent, the testing efficiency is improved, and the productivity is improved.
In another embodiment of the present invention, as shown in fig. 4, step S100: sending a current calibration standard signal to the Hall current sensor according to a preset current calibration table, wherein the method comprises the following steps:
step S010: and sequentially sending a plurality of current calibration standard signals to the Hall current sensor.
Step S020: and acquiring sensor output standard signals respectively generated by the Hall current sensor according to each current calibration standard signal, wherein one current calibration standard signal and the corresponding sensor output standard signal form a group of sensor current calibration data.
In this step, each time a current calibration standard signal is sent to the hall current sensor, the hall current sensor automatically generates one output standard signal according to the current calibration standard signal.
Step S030: and generating a current calibration table according to the current calibration data of each sensor.
In this embodiment, the steps S010 to S030 are specific steps of the preset circuit calibration table, and the preset current calibration table can perform the functions of current calibration and current test on the hall current sensor.
In another embodiment of the present invention, as shown in fig. 5, before the obtaining the actual sensor output signal output by the hall current sensor according to the current calibration standard signal, the method further includes:
step S110: and calculating the error between the current calibration standard signal and the sensor output standard signal according to the preset current calibration table.
Step S120: and generating an error correction instruction, correcting the error and improving the testing precision of the Hall sensor.
Due to the influence of factors such as temperature and humidity during testing, the testing result of each testing of the Hall current sensor has a certain error, and therefore error correction needs to be carried out on the Hall current sensor before testing so as to improve the testing accuracy of the Hall current sensor. In this step, after the preset current calibration table is sent to the hall current sensor, the hall current sensor calculates an error between the current calibration standard signal and the sensor output standard signal according to the sensor calibration data of the current calibration table through a specific algorithm, and corrects the error. Since the specific algorithm is previously provided inside the hall current sensor when the hall current sensor is produced and the specific algorithm should be well known to those skilled in the art, the detailed description of the present application is omitted.
Within the test range, after error correction is carried out on the Hall sensor, the measurement precision of the Hall sensor can be improved, and therefore an accurate output signal is output.
In another embodiment of the present invention, as shown in fig. 6, the current calibration standard signal includes a current calibration standard positive signal and a current calibration standard negative signal.
Step S010: sending a plurality of current calibration standard signals to the Hall current sensor in sequence, and specifically comprising the following steps:
step S011: and sequentially sending a plurality of current calibration standard positive signals to the Hall current sensor, and after the current calibration standard positive signals are sent to the Hall current sensor, the Hall current sensor outputs a corresponding sensor output standard signal according to the current calibration standard positive signals.
Specifically, in this step, when the hall current sensor sequentially receives a plurality of current calibration standard positive signals, the hall current sensor sequentially and automatically generates a plurality of output standard signals corresponding to the current calibration standard positive signals.
Step S012: and sequentially sending a plurality of current calibration standard negative signals to the Hall current sensor, and after the current calibration standard negative signals are sent to the Hall current sensor, the Hall current sensor outputs a corresponding sensor output standard signal according to the current calibration standard negative signals.
Specifically, in this step, when the hall current sensor sequentially receives a plurality of current calibration standard negative signals, the hall current sensor sequentially and automatically generates a plurality of output standard signals corresponding to the current calibration standard negative signals.
In this embodiment, the plurality of current calibration standard positive signals and the plurality of current calibration standard negative signals are sent by the program-controlled current source module, and the upper computer module controls the program-controlled current source module to perform mutual switching between the current calibration standard credit completion and the current calibration standard negative signal.
In another embodiment of the present invention, as shown in fig. 7, the sensor actual output signal includes a sensor actual positive output signal and a sensor actual negative output signal.
Step S200: acquiring a sensor actual output signal output by the hall current sensor according to the current calibration standard signal, specifically comprising:
step S210: and acquiring the actual positive output signal of the sensor, which is output by the Hall current sensor according to the current calibration standard positive signal.
In this step, when the hall current sensor sends the current calibration standard positive signal, the hall current sensor automatically detects the current calibration standard positive signal and generates a detection result, that is, the actual positive output signal.
Step S220: and acquiring an actual negative output signal of the sensor, which is output by the Hall current sensor according to the current calibration standard negative signal.
In this step, when sending a current calibration standard positive signal to the hall current sensor, the hall current sensor automatically detects the current calibration standard positive signal and generates a detection result, that is, the actual positive output signal.
In another embodiment of the present invention, as shown in fig. 8, step S300: and judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor. The method specifically comprises the following steps:
step S310: and judging whether the actual positive output signal of the sensor is matched with the corresponding output standard signal direction of the sensor.
Step S320: and judging whether the actual negative output signal of the sensor is matched with the corresponding output standard signal direction of the sensor.
Further, in this embodiment, the method of determining whether the actual positive output signal of the sensor matches the corresponding output standard signal of the sensor in the matching direction is to determine whether the current values of the two are the same, and if the current values of the two are the same, the current values are matched.
In another embodiment of the present invention, as shown in fig. 9, step S030: generating a current calibration table according to the current calibration data of each sensor, and then:
step S031: the zero-point current value of the hall current sensor is detected.
In this step, the zero current value is the actual output signal output by the hall current sensor when the current calibration standard signal is not obtained, and under a normal condition, the zero current value is close to 0.
Step S032: and judging whether the zero current value is larger than or equal to a preset standard demagnetizing current value or not.
In this step, the standard demagnetizing current value defines a maximum allowable offset range between the actual output signal and a zero point obtained by the hall current sensor on the premise that the current calibration standard signal is not input. Therefore, if the zero current value is greater than the standard demagnetization current value, it indicates that the hall current sensor still outputs the actual output signal that cannot be ignored when the current calibration standard signal is not input, and thus an error may be caused in the test.
Specifically, in the present embodiment, the specific value of the zero point current value is set to 100 mA.
Step S033: if the current sensor is judged to be the Hall current sensor, a demagnetization instruction is generated and sent to the Hall current sensor, and the demagnetization instruction is used for demagnetizing the Hall current sensor.
Specifically, in this step, if yes, it is determined that the zero current value is greater than or equal to the preset standard demagnetizing current value.
If not, the zero current value is judged to be smaller than the preset standard demagnetizing current value.
Further, the demagnetization processing is carried out on the Hall current sensor, namely, the actual output signal of the Hall current sensor and the offset of the zero point can be eliminated, even if the zero point current value is close to 0, the accurate measurement is further realized, and compared with a measuring method which is generally adopted in the prior art and directly measures and omits the demagnetization step, the measurement efficiency and accuracy are greatly improved.
In another embodiment of the present invention, as shown in fig. 10, step S400: if the judgment result is yes, a current test passing indication is generated. If not, generating a current which is unqualified in the current test, and then:
step S500: and acquiring image data of the Hall current sensor.
Specifically, in this step, the image data of the hall current sensor may be obtained by photographing, recording, or the like.
Step S600: and judging whether the image data is qualified or not.
In this step, the image data can clearly show the overall appearance of the hall current sensor, and if the defects of damage, scratches and the like in the appearance of the hall current sensor are found from the image data, the hall current sensor is judged to be unqualified.
Step S700: if the Hall current sensor is judged to be qualified, a Hall current sensor qualified indication is generated. If not, generating an unqualified Hall current sensor indication.
Specifically, if the determination result is yes, that is, it is determined that there is no defect in the appearance of the hall current sensor, and the image data is qualified.
If not, the image data is unqualified because the appearance of the Hall current sensor has defects.
The generated unqualified indication can prompt that the image data of the Hall current sensor is unqualified, so that the unqualified Hall current sensor can be conveniently screened out in a follow-up mode.
Therefore, the invention realizes integrated test by performing current test and image appearance test, has strong compatibility, and realizes high-efficiency test by closely connecting the two tests.
In the embodiment, the picture information reflecting that the Hall current sensor is unqualified in appearance is recorded and stored, and can be remotely transmitted through an external limited network, so that local storage or cloud storage is realized, and later searching is facilitated.
In another embodiment of the present invention, as shown in fig. 11, there is provided a hall current sensor testing apparatus, which includes a signal transmitting module 10, a signal acquiring module 20, a signal judging module 30, and an indication generating module 40.
The signal sending module 10 is configured to send a current calibration standard signal to the hall current sensor according to a preset current calibration table, where the current calibration table is provided with multiple sets of sensor current calibration data, and each set of sensor current calibration data includes a current calibration standard signal and a sensor output standard signal.
The signal obtaining module 20 is configured to obtain an actual sensor output signal output by the hall current sensor according to the current calibration standard signal.
The signal determining module 30 is configured to determine whether the actual output signal of the sensor matches the standard output signal of the sensor.
And the indication generating module 40 is configured to generate a current test passing indication if the determination result is yes. If not, generating a current test unqualified instruction.
In another embodiment of the present invention, as shown in fig. 12, the hall current sensor testing apparatus further includes a calibration signal sending module 50, a standard signal acquiring module 60, and a calibration data generating module 70.
The calibration signal sending module 50 is configured to send a plurality of current calibration standard signals to the hall current sensor in sequence.
The standard signal obtaining module 60 is configured to obtain sensor output standard signals generated by the hall current sensor according to each of the current calibration standard signals, where one current calibration standard signal and the corresponding sensor output standard signal form a set of sensor current calibration data.
The calibration data generating module 70 is configured to generate a current calibration table according to the current calibration data of each sensor.
In another embodiment of the present invention, as shown in fig. 13, the hall current sensor testing apparatus further includes:
an error calculating module 300, configured to calculate an error between the current calibration standard signal and the sensor output standard signal according to the preset current calibration table;
and the error correction module 400 is configured to generate an error correction instruction and correct the error, so as to improve the test accuracy of the hall sensor.
In another embodiment of the present invention, the calibration signal sending module 50 is further configured to: and sequentially sending a plurality of current calibration standard positive signals to the Hall current sensor, and after the current calibration standard positive signals are sent to the Hall current sensor, the Hall current sensor outputs a corresponding sensor output standard signal according to the current calibration standard positive signals. And sequentially sending a plurality of current calibration standard negative signals to the Hall current sensor, and after the current calibration standard negative signals are sent to the Hall current sensor, the Hall current sensor outputs a corresponding sensor output standard signal according to the current calibration standard negative signals.
In another embodiment of the present invention, the signal obtaining module 20 is further configured to: and acquiring the actual positive output signal of the sensor, which is output by the Hall current sensor according to the current calibration standard positive signal. And acquiring the actual negative output signal of the sensor, which is output by the Hall current sensor according to the current calibration standard negative signal.
In another embodiment of the present invention, the signal determining module 30 is further configured to: and judging whether the actual positive output signal of the sensor is matched with the corresponding output standard signal direction of the sensor. And judging whether the actual negative output signal of the sensor is matched with the corresponding output standard signal direction of the sensor.
In another embodiment of the present invention, as shown in fig. 14, the hall current sensor testing device further includes a zero-point current value detecting module 80 and a zero-point current value determining module 90.
The zero current value detection module 80 is configured to detect a zero current value of the hall current sensor.
The zero current value determining module 90 is configured to determine whether the zero current value is greater than or equal to a preset standard demagnetizing current value.
In another embodiment of the present invention, the indication generating module 40 is further configured to: if the current sensor is judged to be the Hall current sensor, generating a demagnetization instruction, and sending the demagnetization instruction to the Hall current sensor, wherein the demagnetization instruction is used for demagnetizing the Hall current sensor.
In another embodiment of the present invention, as shown in fig. 15, the hall current sensor testing apparatus includes an image signal acquiring module 100 and an image data judging module 110.
The image signal acquiring module 100 is configured to acquire an image signal of the hall current sensor.
The image data determining module 110 is configured to determine whether the image data is qualified.
In another embodiment of the present invention, the indication generating module 40 is configured to generate a hall current sensor qualification indication if the determination result is yes. If not, generating an unqualified Hall current sensor indication.
In another embodiment of the present invention, as shown in fig. 16, a computer device comprises a memory and a processor, the memory stores a computer program, and the processor realizes the steps of the hall current sensor test method when executing the computer program.
In another embodiment of the invention, a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the hall current sensor testing method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile storage, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A Hall current sensor testing method is characterized by comprising the following steps:
sending a current calibration standard signal to a Hall current sensor according to a preset current calibration table, wherein a plurality of groups of sensor current calibration data are arranged in the current calibration table, and each group of sensor current calibration data comprises a current calibration standard signal and a sensor output standard signal;
acquiring a sensor actual output signal output by the Hall current sensor according to the current calibration standard signal;
judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor;
if the judgment result is yes, generating a current test qualification indication; if not, generating a current test unqualified instruction.
2. The hall current sensor test method of claim 1, wherein a current calibration standard signal is sent to the hall current sensor according to a preset current calibration table, and the method further comprises the following steps:
sequentially sending a plurality of current calibration standard signals to the Hall current sensor;
acquiring sensor output standard signals respectively generated by the Hall current sensor according to each current calibration standard signal, wherein one current calibration standard signal and the corresponding sensor output standard signal form a group of sensor current calibration data;
and generating a current calibration table according to the current calibration data of each sensor.
3. The hall current sensor test method of claim 2, wherein obtaining the actual sensor output signal of the hall current sensor output according to the current calibration standard signal further comprises:
calculating the error between the current calibration standard signal and the sensor output standard signal according to the preset current calibration table;
and generating an error correction instruction, correcting the error and improving the test precision of the Hall sensor.
4. The hall current sensor test method of claim 1, wherein the current calibration standard signal comprises a current calibration standard positive signal and a current calibration standard negative signal;
sending a plurality of current calibration standard signals to the Hall current sensor in sequence, specifically comprising:
sequentially sending a plurality of current calibration standard positive signals to the Hall current sensor, and outputting a corresponding sensor output standard signal by the Hall current sensor according to the current calibration standard positive signals after the current calibration standard positive signals are sent to the Hall current sensor;
and sequentially sending a plurality of current calibration standard negative signals to the Hall current sensor, and after the current calibration standard negative signals are sent to the Hall current sensor, the Hall current sensor outputs a corresponding sensor output standard signal according to the current calibration standard negative signals.
5. The hall current sensor testing method of claim 3 wherein said sensor actual output signal comprises a sensor actual positive output signal and a sensor actual negative output signal;
acquiring a sensor actual output signal output by the hall current sensor according to the current calibration standard signal, specifically comprising:
acquiring an actual positive output signal of the sensor, which is output by the Hall current sensor according to the current calibration standard positive signal;
and acquiring the actual negative output signal of the sensor, which is output by the Hall current sensor according to the current calibration standard negative signal.
6. The Hall current sensor testing method according to claim 4, wherein it is determined whether the actual output signal of the sensor matches the standard output signal of the sensor; the method specifically comprises the following steps:
judging whether the actual positive output signal of the sensor is matched with the corresponding output standard signal direction of the sensor;
and judging whether the actual negative output signal of the sensor is matched with the corresponding output standard signal direction of the sensor.
7. The Hall current sensor testing method according to any one of claims 1-6, wherein if a decision is positive, a current test pass indication is generated; if not, generating a current which is unqualified in the current test, and then:
acquiring an image signal of a Hall current sensor;
judging whether the image data is qualified or not;
if the Hall current sensor is judged to be qualified, a Hall current sensor qualification indication is generated; if not, generating an unqualified Hall current sensor indication.
8. A hall current sensor testing apparatus, comprising:
the signal sending module is used for sending a current calibration standard signal to the Hall current sensor according to a preset current calibration table, wherein a plurality of groups of sensor current calibration data are arranged in the current calibration table, and each group of sensor current calibration data comprises a current calibration standard signal and a sensor output standard signal;
the signal acquisition module is used for acquiring the actual sensor output signal output by the Hall current sensor according to the current calibration standard signal;
the signal judgment module is used for judging whether the actual output signal of the sensor is matched with the output standard signal of the sensor;
the indication generating module is used for generating a current test qualified indication if the judgment result is yes; if not, generating a current test unqualified instruction.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of the method according to any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202210443548.8A 2022-04-25 2022-04-25 Hall current sensor testing method and device, computer equipment and storage medium Pending CN114740416A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210443548.8A CN114740416A (en) 2022-04-25 2022-04-25 Hall current sensor testing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210443548.8A CN114740416A (en) 2022-04-25 2022-04-25 Hall current sensor testing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114740416A true CN114740416A (en) 2022-07-12

Family

ID=82283865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210443548.8A Pending CN114740416A (en) 2022-04-25 2022-04-25 Hall current sensor testing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114740416A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115308664A (en) * 2022-10-10 2022-11-08 苏州矩阵光电有限公司 Calibration device and method of Hall current sensor
CN116893384A (en) * 2023-09-11 2023-10-17 南京中旭电子科技有限公司 Digital Hall sensor monitoring method and platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115308664A (en) * 2022-10-10 2022-11-08 苏州矩阵光电有限公司 Calibration device and method of Hall current sensor
CN116893384A (en) * 2023-09-11 2023-10-17 南京中旭电子科技有限公司 Digital Hall sensor monitoring method and platform
CN116893384B (en) * 2023-09-11 2023-12-01 南京中旭电子科技有限公司 Digital Hall sensor monitoring method and platform

Similar Documents

Publication Publication Date Title
CN114740416A (en) Hall current sensor testing method and device, computer equipment and storage medium
CN104535278A (en) Detecting method and device for work-piece air tightness
CN103487210A (en) Full-automatic calibrating and debugging method and apparatus for intelligent pressure meter
CN111751049A (en) Automatic detection device and detection method for mechanical pointer instrument
CN116342599B (en) Point inspection method, point inspection device, point inspection equipment and point inspection equipment for defect detection equipment and storage medium
US20230271325A1 (en) Industrial internet of things systems for monitoring collaborative robots with dual identification, control methods and storage media thereof
CN116124006A (en) Automatic spot inspection method of battery pole piece visual inspection system
CN112924087A (en) Automatic detection system of pressure transmitter
CN113065538A (en) Pressure sensor detection method, device and equipment based on image recognition
CN114460439A (en) Digital integrated circuit test system
CN108375426A (en) A kind of temperature checking method and system
CN114485760A (en) Sensor calibration method, electronic device, medium, and system
CN105136819A (en) Method for detecting appearance contour of air conditioner
CN103090899A (en) Test device and test method for sensor
CN116105604A (en) Steel pipe quality detection system and detection method
CN109186940B (en) Monitoring method and monitoring device for testing precision
CN116046161A (en) Detection method and device of light sensing equipment
WO2022083579A1 (en) Test method for refrigerator, and refrigerator
CN115639392A (en) Electric power instrument with rated secondary current lower than 1A
CN115103289A (en) Earphone aging monitoring method and device, computer equipment and storage medium
CN114821025A (en) Meter identification method and system based on deep learning
CN113989477A (en) Infrared temperature measurement method, device, system, computer equipment and storage medium
CN113125835A (en) Current precision detection system and detection method and BMS (battery management system)
CN112378032A (en) Air conditioner test monitoring device, method and equipment
CN212513464U (en) Automatic detection device for mechanical pointer instrument

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
TA01 Transfer of patent application right

Effective date of registration: 20230424

Address after: Unit 3-B-6, 3rd Floor, Building 4, No.1 Keji 7th Road, Tangjiawan Town, High tech Zone, Zhuhai City, Guangdong Province, 519000

Applicant after: Guangdong Yuxinhe New Energy Technology Co.,Ltd.

Address before: 518000 innovation Plaza a1002, No. 2007, Pingshan Avenue, Liulian community, Pingshan street, Pingshan District, Shenzhen, Guangdong

Applicant before: Shenzhen yuxinhe Technology Co.,Ltd.

TA01 Transfer of patent application right